/* ── MAANAIM TOKENS ───────────────────────────────────────── */
:root {
  --surface-bg:    #ffffff;
  --surface-100:   #f5f5f7;
  --surface-200:   #e8e8ed;
  --line:          #d2d2d7;
  --ink:           #1d1d1f;
  --ink-2:         #424245;
  --muted:         #6e6e73;
  --subtle:        #86868b;
  --accent:        #0071e3;
  --warm:          #bf4800;
  --live:          #30d158;
  --solid:         #000000;
  --solid-hover:   #262626;
  --night-ink:     #f5f5f7;
  --night-muted:   #86868b;

  --radius-xs:   8px;
  --radius-sm:   14px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-pill: 999px;

  --shadow-soft:  0 2px 10px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.04);
  --shadow-lift:  0 24px 48px -18px rgba(0,0,0,.22);
  --shadow-float: 0 30px 80px -24px rgba(0,0,0,.35);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Legacy vars mapped to Maanaim (used by script.js applyTheme) ── */
  --red:        var(--accent);
  --red-hover:  var(--accent);
  --bg:         var(--surface-bg);
  --text:       var(--ink);
  --text-muted: var(--muted);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: var(--surface-bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-100); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ── FLOATING NAV PILL ───────────────────────────────────── */
.navbar {
  position: fixed;
  top: 16px;
  left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}
.navbar-inner {
  background: var(--solid);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-float);
  pointer-events: all;
  width: 100%;
  max-width: 640px;
  transition: box-shadow .3s var(--ease-standard);
}
.nav-logo {
  font-size: 16px;
  font-weight: 900;
  color: var(--night-ink);
  letter-spacing: -.01em;
  cursor: default;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--night-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: color .15s var(--ease-standard), background .15s var(--ease-standard);
}
.nav-links a:hover { color: var(--night-ink); background: rgba(255,255,255,.08); }
.btn-contact {
  background: var(--night-ink) !important;
  color: var(--solid) !important;
  font-weight: 700 !important;
  padding: 7px 16px !important;
}
.btn-contact:hover { opacity: .88; background: var(--night-ink) !important; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--surface-bg);
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg { display: none; }   /* video bg removed for Maanaim clean style */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 32px 80px;
  text-align: left;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--warm);
  color: var(--warm);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--warm);
  flex-shrink: 0;
}
.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.0;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}
.hero-highlight { color: var(--ink); }
.hero-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--line), transparent);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--solid);
  color: var(--night-ink);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.01em;
  transition: background .15s var(--ease-standard);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--solid-hover); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s var(--ease-standard), background .15s var(--ease-standard);
}
.btn-secondary:hover { border-color: var(--ink); background: var(--surface-100); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-whatsapp:hover { opacity: .88; }

/* ── SECTION SHARED ─────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 8px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
  padding: 0 8px;
}
.row-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* ── FEATURED CAROUSEL (16:9) ───────────────────────────── */
.carousel-section {
  padding: 72px 40px 56px;
  background: var(--surface-bg);
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-100);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.carousel-slide:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.carousel-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.carousel-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  transition: background .15s, transform .2s;
}
.carousel-slide:hover .carousel-yt-play { background: var(--solid); transform: translate(-50%,-50%) scale(1.08); }
.carousel-info {
  padding: 14px 16px 16px;
}
.carousel-badge {
  display: inline-flex;
  align-items: center;
  background: var(--surface-200);
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  margin-bottom: 6px;
}
.carousel-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.carousel-btn {
  background: var(--surface-bg);
  border: 1.5px solid var(--line);
  color: var(--ink);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  transition: border-color .15s, background .15s;
  user-select: none;
}
.carousel-btn:hover { border-color: var(--ink); background: var(--surface-100); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

/* ── SECTION ROWS (portrait 9×16) ───────────────────────── */
.rows-container { background: var(--surface-bg); }
.row {
  padding: 56px 40px;
}
.row:nth-child(even) { background: var(--surface-100); }
.sec-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec-carousel-viewport {
  overflow: hidden;
  flex: 1;
}
.sec-carousel-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}
.sec-carousel-btn {
  background: var(--surface-bg);
  border: 1.5px solid var(--line);
  color: var(--ink);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-soft);
  transition: border-color .15s, background .15s;
  user-select: none;
}
.sec-carousel-btn:hover { border-color: var(--ink); background: var(--surface-100); }
.sec-carousel-btn:disabled { opacity: .35; cursor: default; }

/* ── PORTRAIT CARD ──────────────────────────────────────── */
.card-portrait {
  flex: 0 0 155px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
  position: relative;
}
.card-portrait:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card-portrait-media {
  width: 100%;
  aspect-ratio: 9/16;
  position: relative;
  overflow: hidden;
  background: var(--surface-200);
}
.card-portrait-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-out-expo);
}
.card-portrait:hover .card-portrait-media img { transform: scale(1.04); }
.card-preview-iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  display: none;
}
.card-portrait.preview-active .card-portrait-media img { display: none; }
.card-portrait.preview-active .card-preview-iframe { display: block; }
.card-portrait.preview-active .card-portrait-info { opacity: 0; }
.card-portrait-info {
  padding: 12px;
  transition: opacity .2s;
}
.card-portrait-info h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.match {
  font-size: 11px;
  font-weight: 700;
  color: var(--live);
}
.year {
  font-size: 11px;
  color: var(--muted);
}
.duration {
  font-size: 11px;
  background: var(--surface-200);
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  padding: 2px 7px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.card-tags span {
  background: var(--surface-100);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
}
.card-actions { display: flex; gap: 6px; margin-top: 8px; }
.btn-play {
  background: var(--solid);
  color: var(--night-ink);
  border: none;
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.btn-play:hover { background: var(--solid-hover); }

/* ── EMPTY CARD ─────────────────────────────────────────── */
.sec-empty-card {
  flex: 0 0 155px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  border: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  background: var(--surface-100);
}

/* ── ENSAIOS FOTOGRÁFICOS ───────────────────────────────── */
.ensaios-section {
  padding: 56px 40px;
  background: var(--surface-100);
}
.ensaios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.ensaio-card {
  background: var(--surface-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.ensaio-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.ensaio-cover {
  aspect-ratio: 4/3;
  background: var(--surface-200) center/cover;
  position: relative;
}
.ensaio-cover-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.ensaio-cover-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
}
.ensaio-count {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.ensaio-info { padding: 14px 16px; }
.ensaio-info h3 { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.ensaio-date { font-size: 12px; color: var(--muted); margin-top: 3px; display: block; }

/* ── ABOUT ───────────────────────────────────────────────── */
.about {
  padding: 80px 40px;
  background: var(--surface-100);
}
.about-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}
.about-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
}
.stat {
  background: var(--surface-bg);
  padding: 18px 14px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.stat-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-skills span {
  background: var(--surface-bg);
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/5;
  background: var(--surface-200);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact {
  background: var(--solid);
  padding: 96px 40px;
}
.contact-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--night-ink);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.contact-content p {
  font-size: 17px;
  color: var(--night-muted);
  line-height: 1.55;
  margin-bottom: 40px;
}
.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-links .btn-primary {
  background: var(--night-ink);
  color: var(--solid);
}
.contact-links .btn-primary:hover { background: var(--surface-200); }
.contact-links .btn-secondary {
  background: transparent;
  color: var(--night-ink);
  border-color: rgba(255,255,255,.25);
}
.contact-links .btn-secondary:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--solid);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: var(--night-ink);
  letter-spacing: -.01em;
}
.footer p {
  font-size: 12px;
  color: var(--night-muted);
}
.admin-link {
  font-size: 16px;
  color: rgba(255,255,255,.2);
  transition: color .15s;
}
.admin-link:hover { color: var(--night-muted); }

/* ── MODALS ──────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-float);
  animation: modal-in .35s var(--ease-out-expo);
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(.96) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-wide    { max-width: 860px; }
.modal-vertical { max-width: 400px; }
.modal-yt-container { aspect-ratio: 16/9; background: #000; }
.modal-yt-vertical  { aspect-ratio: 9/16; }
.modal-yt-iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}
.modal-body { padding: 20px 24px 24px; }
.modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.modal-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.modal-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .15s;
}
.modal-close:hover { background: rgba(0,0,0,.8); }

/* ── ALBUM LIGHTBOX ─────────────────────────────────────── */
.album-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.album-backdrop.open { display: flex; }
.album-modal {
  background: var(--surface-bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-float);
  animation: modal-in .35s var(--ease-out-expo);
}
.album-modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.album-modal-title { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.album-modal-date  { font-size: 13px; color: var(--muted); }
.album-modal-close {
  width: 32px; height: 32px;
  background: var(--surface-100);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.album-modal-close:hover { background: var(--surface-200); }
.album-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  padding: 16px;
}
.album-photo-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-200);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .2s, transform .2s;
}
.album-photo-item:hover { box-shadow: var(--shadow-lift); transform: scale(1.02); }
.album-photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-viewer {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.viewer-img-wrap {
  max-width: 90%;
  max-height: 90vh;
}
.viewer-img-wrap img { max-height: 85vh; width: auto; max-width: 100%; border-radius: var(--radius-md); }
.viewer-btn {
  position: absolute;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.viewer-btn:hover { background: rgba(255,255,255,.25); }
.viewer-close-btn { top: 16px; right: 16px; }
.viewer-prev-btn  { left: 16px; top: 50%; transform: translateY(-50%); }
.viewer-next-btn  { right: 16px; top: 50%; transform: translateY(-50%); }
.viewer-counter   { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }

/* ── FLOATING CONTACT BTNS ───────────────────────────────── */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-contact-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lift);
  transition: transform .2s var(--ease-out-expo), box-shadow .2s;
}
.float-contact-btn:hover { transform: scale(1.12); box-shadow: var(--shadow-float); }
.float-contact-btn.wa { background: #25D366; }
.float-contact-btn.ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 340px; }
  .carousel-slide { flex: 0 0 calc((100% - 16px) / 2); }
  .navbar-inner { gap: 16px; }
  .nav-links a { padding: 5px 9px; font-size: 12px; }
}
@media (max-width: 680px) {
  .hero-content { padding: 48px 24px 64px; }
  .carousel-section, .row, .ensaios-section, .about, .contact { padding-left: 20px; padding-right: 20px; }
  .footer { padding-left: 20px; padding-right: 20px; }
  .carousel-slide { flex: 0 0 calc(100% - 0px); }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
}
