/* ===================================================================
   Mãe Dalva de Iemanjá — estilos
   Paleta: azul-marinho / azul / branco / pérola / prata / dourado sutil
=================================================================== */

:root{
  --azul-marinho: #0B3D5C;
  --azul-marinho-2: #082C43;
  --azul-royal: #14618f;
  --azul-medio: #2E86AB;
  --azul-claro: #BFE3EF;
  --azul-nevoa: #E7F3F8;
  --perola: #F4EFE6;
  --perola-2: #EDE6D8;
  --branco: #FFFFFF;
  --prata: #C9CFD6;
  --dourado: #C9A227;
  --dourado-claro: #E7CB6B;
  --texto: #1B2A38;
  --texto-suave: #4C5C6B;
  --whatsapp: #25D366;
  --whatsapp-escuro: #1DA851;

  --fonte-titulo: 'Cormorant Garamond', 'Georgia', serif;
  --fonte-corpo: 'Jost', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 16px;
  --sombra: 0 14px 40px -12px rgba(11,61,92,.22);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3{ font-family: var(--fonte-titulo); font-weight: 700; line-height: 1.15; letter-spacing: .002em; margin: 0 0 .5em; color: var(--azul-marinho); }
h1{ font-size: clamp(2.4rem, 5vw, 3.4rem); }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
h3{ font-size: 1.3rem; }
p{ margin: 0 0 1em; }
button{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--azul-marinho); color:#fff;
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

.eyebrow{
  font-family: var(--fonte-corpo);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--azul-medio);
  margin: 0 0 .8em;
}
.eyebrow-light{ color: var(--dourado-claro); }
.section-title-light{ color: var(--branco); }
.section-lead{
  max-width: 620px;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.4rem;
}
.section-lead-left{ color: var(--texto-suave); max-width: 480px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 500;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-whatsapp{ background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px -8px rgba(37,211,102,.55); }
.btn-whatsapp:hover{ background: var(--whatsapp-escuro); }
.btn-sm{ padding: .55em 1.1em; font-size: .88rem; }
.btn-ghost{ background: transparent; color: var(--branco); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); }
.btn-gold{ background: linear-gradient(135deg, var(--dourado-claro), var(--dourado) 60%, var(--dourado-claro)); background-size: 200% 200%; color: var(--azul-marinho-2); font-weight: 600; }
.btn-gold:hover{ background-position: 100% 0; }
.btn-block{ width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(11,61,92,.08);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  gap: 12px;
}
.brand{ display: flex; align-items: center; gap: .6em; }
.brand-mark{ flex-shrink: 0; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong{ font-family: var(--fonte-titulo); font-size: 1.3rem; color: var(--azul-marinho); font-weight: 700; }
.brand-text em{ font-style: normal; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dourado); }

.main-nav ul{ display: flex; gap: 1.9rem; }
.main-nav a{ font-size: .95rem; font-weight: 500; color: var(--texto); position: relative; padding: 4px 0; }
.main-nav a::after{
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--dourado); transition: width .25s ease;
}
.main-nav a:hover::after{ width: 100%; }

.header-actions{ display: flex; align-items: center; gap: .8rem; }

.nav-toggle{
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
  position: relative; z-index: 410;
}
.nav-toggle span{ display:block; width: 24px; height: 2px; background: var(--azul-marinho); margin: 0 auto; transition: all .25s ease; }

@media (max-width: 860px){
  .main-nav{
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--branco); box-shadow: -10px 0 30px rgba(0,0,0,.12);
    transform: translateX(100%); transition: transform .3s ease;
    padding: 90px 28px 28px; z-index: 400;
    isolation: isolate;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav ul{ flex-direction: column; gap: 1.6rem; }
  .main-nav a{ font-size: 1.1rem; }
  .header-actions .btn-sm span{ display: none; }
  .nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2){ opacity: 0; }
  .nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}
@media (min-width: 861px){
  .nav-toggle{ display: none; }
}
@media (max-width: 480px){
  .header-actions .btn-whatsapp.btn-sm{ padding: .55em .8em; }
}

.nav-scrim{
  position: fixed; inset: 0; background: rgba(11,20,30,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 390;
}
.nav-scrim.is-visible{ opacity: 1; pointer-events: auto; }

/* ===================== HERO ===================== */
.hero{
  position: relative;
  overflow: hidden;
  min-height: 122svh;
  background: radial-gradient(120% 100% at 15% 0%, #12547d 0%, var(--azul-marinho) 45%, var(--azul-marinho-2) 100%);
  color: var(--branco);
}
.hero-ocean{ position: absolute; inset: 0; overflow: hidden; z-index: 0; }

.hero-mobile-photo{ display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; line-height: 0; }
.hero-mobile-photo img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-mobile-photo::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,16,27,.96) 0%, rgba(6,16,27,.88) 22%, rgba(6,16,27,.5) 42%, rgba(6,16,27,0) 62%);
}

@media (min-width: 1000px){
  .hero{
    min-height: 92svh;
    display: flex; align-items: center; justify-content: flex-start;
  }
  .hero-mobile-photo{ display: none; }
  .hero-ocean{
    background-image: url("../img/hero-desktop-sm.jpg");
    background-image: image-set(url("../img/hero-desktop-sm.webp") type("image/webp"), url("../img/hero-desktop-sm.jpg") type("image/jpeg"));
    background-size: cover;
    background-position: 62% 22%;
    background-repeat: no-repeat;
  }
  .hero-ocean::before{
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(8,32,50,.92) 0%, rgba(8,32,50,.72) 30%, rgba(8,32,50,.28) 55%, rgba(8,32,50,0) 72%);
  }
  .spark{ display: block; }
}
@media (min-width: 1600px){
  .hero-ocean{
    background-image: url("../img/hero-desktop.jpg");
    background-image: image-set(url("../img/hero-desktop.webp") type("image/webp"), url("../img/hero-desktop.jpg") type("image/jpeg"));
  }
}

.hero-glow{
  display: none;
  position: absolute; top: -10%; right: -5%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(231,203,107,.35) 0%, rgba(231,203,107,0) 65%);
  animation: glow-float 10s ease-in-out infinite;
}
@keyframes glow-float{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-4%, 4%) scale(1.08); }
}
.spark{
  display: none;
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--dourado-claro); opacity: 0; animation: twinkle 5s ease-in-out infinite;
}
.spark.s1{ top: 18%; left: 12%; animation-delay: .2s; }
.spark.s2{ top: 30%; left: 78%; animation-delay: 1.4s; }
.spark.s3{ top: 55%; left: 42%; animation-delay: 2.4s; }
.spark.s4{ top: 65%; left: 88%; animation-delay: .8s; }
.spark.s5{ top: 12%; left: 55%; animation-delay: 3s; }
.spark.s6{ top: 42%; left: 22%; animation-delay: 1.9s; }
@keyframes twinkle{
  0%,100%{ opacity: 0; transform: scale(.6); }
  50%{ opacity: .9; transform: scale(1.3); }
}

.hero-content{ position: relative; z-index: 2; padding: 16px 20px 32px; }
@media (max-width: 999px){
  .hero-content{ position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 28px; }
  .hero h1{ margin-bottom: .25em; }
  .hero-subtitle{ margin-bottom: 1em; font-size: .96rem; }
  .hero-actions{ gap: .6rem; }
  .hero-actions .btn{ padding: .68em 1.3em; font-size: .92rem; }
  .hero-trust{ margin-top: .7em; gap: .9em 1.1em; font-size: .76rem; }
  .eyebrow{ margin-bottom: .5em; }
}
@media (min-width: 1000px){
  .hero-content{ padding: 140px 20px 160px; }
}
.hero h1{
  color: var(--branco);
  font-size: clamp(1.9rem, 7.4vw, 4.4rem);
  max-width: 14ch;
  margin-bottom: .4em;
}
.hero h1 em{ font-style: italic; color: var(--dourado-claro); }
.hero-break-desktop{ display: none; }

@media (min-width: 1100px){
  .hero-break-desktop{ display: block; }
  .hero h1{ max-width: 22ch; }
}
.hero-subtitle{ max-width: 46ch; font-size: 1.08rem; color: rgba(255,255,255,.86); margin-bottom: 2em; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust{
  display: flex; flex-wrap: wrap; gap: 1.4em; margin-top: 1.6em;
  font-size: .84rem; color: rgba(255,255,255,.72); letter-spacing: .01em;
}
.hero-trust li{ display: flex; align-items: center; gap: .5em; }
.hero-trust li::before{
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--dourado-claro); flex-shrink: 0;
}

.scroll-cue{
  display: none;
  position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%);
  color: rgba(255,255,255,.75); z-index: 2;
}
@media (min-width: 1000px){
  .scroll-cue{ display: block; }
}
.scroll-dot{ animation: scroll-bounce 1.8s ease-in-out infinite; }
@keyframes scroll-bounce{
  0%,100%{ transform: translateY(0); opacity: 1; }
  50%{ transform: translateY(10px); opacity: .4; }
}



/* ===================== SECTIONS (generic) ===================== */
.section{ padding: 96px 0; }
.section-pearl{ background: var(--perola); }
.section-white{ background: var(--branco); }
.section-navy{ background: linear-gradient(180deg, var(--azul-marinho) 0%, var(--azul-marinho-2) 100%); color: var(--branco); }
.section-navy h2, .section-navy h3{ color: var(--branco); }

@media (max-width: 600px){
  .section{ padding: 68px 0; }
}

/* ===================== SOBRE ===================== */
.about-grid{
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: 64px;
}
.about-media{ position: relative; justify-self: center; max-width: 340px; width: 100%; }
.about-media img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  border: 6px solid var(--branco);
  outline: 1px solid rgba(201,162,39,.4);
  outline-offset: -1px;
}
.about-media-charm{
  position: absolute; left: -22px; bottom: -22px;
  width: 64px; height: 64px;
  filter: drop-shadow(0 6px 14px rgba(11,61,92,.35));
}
.about-media-charm svg{ width: 100%; height: 100%; }

@media (max-width: 480px){
  .about-media-charm{ width: 52px; height: 52px; left: -14px; bottom: -14px; }
}
.about-text h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 16ch; }
.about-text p{ color: var(--texto-suave); max-width: 56ch; }
.about-badges{ display: flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; }
.about-badges li{ display: flex; align-items: center; gap: .7em; font-weight: 500; color: var(--azul-marinho); }

.ambient-strip{
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
.ambient-strip figure{ margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--sombra); }
.ambient-strip img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.ambient-strip figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(11,61,92,.82) 0%, rgba(11,61,92,0) 100%);
  color: #fff; font-size: .88rem; font-weight: 500; letter-spacing: .02em;
}

@media (min-width: 720px){
  .about-grid{ grid-template-columns: 340px 1fr; }
  .about-media{ justify-self: start; }
  .ambient-strip{ grid-template-columns: repeat(3, 1fr); }
}

/* ===================== SERVIÇOS ===================== */
.service-featured{
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: linear-gradient(150deg, #16496b 0%, #0c2f47 60%, #0a2740 100%);
  border: 1px solid rgba(201,162,39,.4);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.55);
}
.service-featured::before{
  content: '';
  position: absolute; top: -30%; right: -10%; width: 55%; padding-bottom: 55%;
  background: radial-gradient(circle, rgba(201,162,39,.22) 0%, rgba(201,162,39,0) 70%);
  pointer-events: none;
}
.service-featured-media{ position: relative; }
.service-featured-media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.service-featured-media::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,32,50,.55) 0%, rgba(9,32,50,0) 35%);
}
.service-featured-text{ position: relative; z-index: 1; padding: 34px 28px 38px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.service-featured-text h3{ color: var(--branco); font-size: 2.1rem; margin-bottom: .5em; }
.service-featured-text p{ color: rgba(255,255,255,.85); margin-bottom: 1.4em; max-width: 68ch; }
.service-featured-chips{ display: flex; flex-wrap: wrap; gap: .6em; margin-bottom: 1.8em; }
.service-featured-chips li{
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.92);
  border: 1px solid rgba(201,162,39,.5);
  background: rgba(201,162,39,.08);
  padding: .5em 1em; border-radius: 999px;
}

.services-grid{
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.service-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.service-card:hover{ transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(201,162,39,.5); }
.service-icon{ display: inline-flex; margin-bottom: 14px; }
.service-icon svg{ width: 40px; height: 40px; }
.service-card h3{ color: var(--branco); font-size: 1.4rem; margin-bottom: .4em; }
.service-card p{ color: rgba(255,255,255,.75); font-size: .93rem; margin-bottom: 1em; }
.service-card > a{ color: var(--dourado-claro); font-weight: 500; font-size: .9rem; }
.service-card > a:hover{ text-decoration: underline; }

@media (min-width: 620px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px){
  .service-featured{ grid-template-columns: 360px 1fr; align-items: stretch; }
  .service-featured-media img{ min-height: 100%; }
  .services-grid{ grid-template-columns: repeat(4, 1fr); }
}

/* ===================== COMO FUNCIONA ===================== */
.steps{
  display: grid; grid-template-columns: 1fr; gap: 34px;
  margin-top: 3rem;
  position: relative;
}
.step{ text-align: left; position: relative; padding-left: 66px; }
.step-number{
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--azul-marinho); color: var(--dourado-claro);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fonte-titulo); font-size: 1.3rem; font-weight: 700;
}
.step h3{ font-size: 1.35rem; margin-bottom: .3em; }
.step p{ color: var(--texto-suave); max-width: 34ch; }

@media (min-width: 820px){
  .steps{ grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ===================== DEPOIMENTOS ===================== */
.testimonials-wrap{ position: relative; display: flex; align-items: center; gap: 10px; }
.testimonials{
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 24px;
  scrollbar-width: none;
}
.testimonials::-webkit-scrollbar{ display: none; }
.testimonial{
  scroll-snap-align: start;
  flex: 0 0 min(340px, 82vw);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 30px 26px 24px;
}
.quote-mark{ font-family: var(--fonte-titulo); font-size: 2.6rem; color: var(--dourado); line-height: 0; display: block; margin-bottom: 12px; }
.testimonial p{ color: rgba(255,255,255,.9); font-size: 1.02rem; min-height: 4.6em; }
.testimonial cite{ font-style: normal; font-weight: 600; color: var(--dourado-claro); font-size: .9rem; }

.test-nav{
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--branco);
  font-size: 1.4rem; cursor: pointer; display: none; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.test-nav:hover{ background: rgba(255,255,255,.12); }
.test-dots{ display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
.test-dots button{
  width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.3); padding: 0; cursor: pointer;
}
.test-dots button.is-active{ background: var(--dourado); width: 22px; border-radius: 5px; transition: width .2s ease; }

@media (min-width: 760px){
  .test-nav{ display: flex; }
}

/* ===================== GALERIA (mosaico) ===================== */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 92px;
  grid-auto-flow: dense;
  gap: 8px;
  margin-top: 2.4rem;
}
.gallery-item{
  display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: none;
  border-radius: 10px; overflow: hidden; cursor: pointer;
  position: relative; background: var(--prata);
  box-shadow: 0 6px 16px -10px rgba(11,61,92,.3);
  grid-column: span 1; grid-row: span 1;
}
.gallery-item picture, .gallery-item img{ display: block; width: 100%; height: 100%; }
.gallery-item img{
  object-fit: cover; transition: transform .35s ease, opacity .4s ease;
  opacity: 0;
}
.gallery-item img.is-loaded{ opacity: 1; }
.gallery-item::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,61,92,0) 55%, rgba(11,61,92,.55) 100%);
  opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img{ transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:focus-visible::after{ opacity: 1; }
.gallery-item:focus-visible{ outline: 2px solid var(--dourado); outline-offset: 2px; }

.gallery-item--wide{ grid-column: span 2; }
.gallery-item--tall{ grid-row: span 2; }
.gallery-item--big{ grid-column: span 2; grid-row: span 2; }

@media (min-width: 560px){
  .gallery-grid{ grid-template-columns: repeat(5, 1fr); grid-auto-rows: 100px; gap: 10px; }
  .gallery-item{ border-radius: 12px; }
}
@media (min-width: 900px){
  .gallery-grid{ grid-template-columns: repeat(7, 1fr); grid-auto-rows: 110px; gap: 12px; }
}
@media (min-width: 1200px){
  .gallery-grid{ grid-template-columns: repeat(8, 1fr); grid-auto-rows: 120px; }
}

@media (prefers-reduced-motion: reduce){
  .gallery-item img{ transition: none; }
}

/* ---------- lightbox ---------- */
.lightbox{
  position: fixed; inset: 0; z-index: 800;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,26,40,.94);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  padding: 60px 16px;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox-figure{ margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-figure picture{ display: block; max-height: 78vh; }
.lightbox-figure img{
  max-width: min(88vw, 900px); max-height: 78vh;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
#lightboxCounter{ color: rgba(255,255,255,.75); font-size: .88rem; letter-spacing: .04em; }
.lightbox-close, .lightbox-nav{
  position: absolute; background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover{ background: rgba(255,255,255,.2); }
.lightbox-close{ top: 18px; right: 18px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox-nav{ top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox-prev{ left: 10px; }
.lightbox-next{ right: 10px; }

@media (max-width: 600px){
  .lightbox{ padding: 90px 8px 60px; }
  .lightbox-nav{ width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-close{ top: 10px; right: 10px; }
  .lightbox-prev{ left: 4px; }
  .lightbox-next{ right: 4px; }
}

/* ---------- modal pré-whatsapp ---------- */
.modal-overlay{
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,26,40,.72);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  padding: 20px;
  overflow-y: auto;
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }
.modal-box{
  position: relative;
  width: 100%; max-width: 420px;
  max-height: 90vh; max-height: 90dvh;
  overflow-y: auto;
  margin: auto;
  background: var(--branco);
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
  transform: translateY(10px);
  transition: transform .2s ease;
}
.modal-overlay.is-open .modal-box{ transform: translateY(0); }
.modal-box h3{ font-size: 1.5rem; margin-bottom: .4em; }
.modal-lead{ color: var(--texto-suave); font-size: .94rem; margin-bottom: 1.4em; }
.modal-close{
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--perola); color: var(--azul-marinho);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.modal-close:hover{ background: var(--prata); }
.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 480px){
  .modal-overlay{ align-items: flex-start; padding: 12px; }
  .modal-box{ padding: 24px 18px 18px; max-height: 96vh; max-height: 96dvh; }
  .modal-box h3{ font-size: 1.3rem; }
  .modal-lead{ font-size: .88rem; margin-bottom: 1.1em; }
  .modal-box .contact-form{ gap: 12px; }
  .modal-box .form-note{ font-size: .76rem; }
}

/* ===================== CONTATO ===================== */
.contact-grid{
  display: grid; grid-template-columns: 1fr; gap: 50px;
}
.contact-form{ display: flex; flex-direction: column; gap: 16px; margin-top: 1.6rem; }
.form-row{ display: flex; flex-direction: column; gap: 6px; }
.form-row label{ font-size: .88rem; font-weight: 600; color: var(--azul-marinho); }
.form-row input, .form-row select, .form-row textarea{
  border: 1.5px solid var(--prata);
  border-radius: 10px;
  padding: .8em .9em;
  font-family: inherit;
  font-size: 1rem;
  background: var(--branco);
  color: var(--texto);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: none; border-color: var(--azul-medio); box-shadow: 0 0 0 3px rgba(46,134,171,.18);
}
.form-row textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size: .82rem; color: var(--texto-suave); text-align: center; margin: .4em 0 0; }

.contact-info-wrap{ display: flex; flex-direction: column; gap: 24px; }
.contact-info-card{
  background: var(--branco); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--sombra); border: 1px solid rgba(11,61,92,.08);
}
.contact-info-card h3{ font-size: 1.2rem; margin-bottom: 1em; }
.contact-list{ display: flex; flex-direction: column; gap: 16px; }
.contact-list li{ display: flex; align-items: flex-start; gap: .8em; font-size: .96rem; color: var(--texto-suave); }
.contact-list li svg{ flex-shrink: 0; margin-top: 2px; }
.contact-list a:hover{ text-decoration: underline; color: var(--azul-marinho); }

.map-wrap{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--sombra); border: 1px solid rgba(11,61,92,.08); line-height: 0; }

@media (min-width: 880px){
  .contact-grid{ grid-template-columns: 1.1fr .9fr; }
}

/* ===================== FOOTER ===================== */
.site-footer{ background: var(--azul-marinho-2); color: rgba(255,255,255,.82); }
.footer-grid{
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding: 64px 20px 40px;
}
.footer-brand p{ color: rgba(255,255,255,.65); max-width: 34ch; margin-top: 1em; }
.brand-footer .brand-text strong{ color: var(--branco); }
.footer-links h4, .footer-contact h4{ color: var(--branco); font-family: var(--fonte-titulo); font-weight: 600; margin-bottom: 1em; }
.footer-links ul, .footer-contact ul{ display: flex; flex-direction: column; gap: .7em; font-size: .94rem; }
.footer-links a:hover, .footer-contact a:hover{ color: var(--dourado-claro); }

.footer-bottom{ border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner{
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px 20px; font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer-disclaimer{ margin: 0; }

@media (min-width: 720px){
  .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-bottom-inner{ flex-direction: row; justify-content: space-between; }
}

/* ===================== WHATSAPP FLUTUANTE ===================== */
.whatsapp-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 600;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(0,0,0,.4);
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.07); }
.whatsapp-ring{
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: ring-pulse 2.2s ease-out infinite;
}
@keyframes ring-pulse{
  0%{ transform: scale(1); opacity: .7; }
  100%{ transform: scale(1.7); opacity: 0; }
}

@media (max-width: 480px){
  .whatsapp-float{ right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

/* ===================== A11Y / MOTION ===================== */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .spark, .hero-glow, .scroll-dot, .whatsapp-ring{ animation: none !important; }
}
