/* ==========================================================================
   Mariah Filippini — estilos
   Paleta quente editorial: creme / blush / terracota / marrom profundo.
   Este arquivo cuida SO da aparencia. Textos e links ficam em content.js.
   ========================================================================== */

:root {
  /* Cores */
  --cream:      #FBF6F0;
  --cream-2:    #F6EDE3;
  --blush:      #F3DCD2;
  --sand:       #E9D3C4;
  --terra:      #B85C38;
  --terra-dk:   #9A4826;
  --brown:      #141414;
  --brown-2:    #333333;
  --muted:      #666666;
  --line:       #E3D3C7;
  --white:      #FFFFFF;

  /* Tipografia */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --wrap: 1180px;
  --gutter: 20px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --pill: 999px;

  --shadow-sm: 0 2px 10px rgba(20, 20, 20, .06);
  --shadow-md: 0 14px 40px -18px rgba(20, 20, 20, .28);
  --shadow-lg: 0 40px 80px -40px rgba(20, 20, 20, .45);

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--brown-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brown); color: var(--cream); padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: 72px 0; }
.section__head { max-width: 62ch; margin-bottom: 36px; }
.section__lead { color: var(--muted); font-size: 1.0625rem; margin-top: 14px; }

/* ---------- tipografia ---------- */
.h2, .h3, .hero__title {
  font-family: var(--display);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 120, "SOFT" 0;
}
.h2 { font-size: clamp(1.85rem, 5.6vw, 3rem); }
.h3 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--sand); }
.prose p + p { margin-top: 14px; }
.prose p { color: var(--muted); }
.micro { font-size: .8rem; color: var(--muted); line-height: 1.5; }
em.hl { font-style: italic; color: var(--terra); font-variation-settings: "opsz" 144; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 15px 24px; border-radius: var(--pill);
  border: 1.5px solid transparent;
  min-height: 48px;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  text-align: center;
}
.btn .ico { width: 19px; height: 19px; flex: none; }
.btn--lg { padding: 18px 30px; font-size: 1rem; min-height: 56px; }
.btn--sm { padding: 11px 18px; font-size: .875rem; min-height: 42px; }
.btn--primary { background: var(--terra); color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn--outline { background: transparent; color: var(--terra); border-color: var(--terra); }
.btn--white { background: var(--cream); color: var(--brown); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { background: var(--terra-dk); }
  .btn--ghost:hover { background: var(--brown); color: var(--cream); }
  .btn--outline:hover { background: var(--terra); color: #fff; }
  .btn--white:hover { background: #fff; }
}
.btn:active { transform: translateY(0); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 240, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 18px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__mark {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: var(--terra); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
}
.nav__name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--brown); letter-spacing: -.01em; }
.nav__links { display: none; gap: 26px; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--brown-2); position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--terra); transition: width .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__links a.is-active { color: var(--terra); }
.nav__cta { display: none; }

.nav__toggle {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; flex: none;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--brown); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  display: grid; overflow: hidden;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
  border-top: 1px solid transparent;
}
.nav__mobile.is-open { grid-template-rows: 1fr; border-top-color: var(--line); }
/* O padding vertical so entra quando o menu abre: com o menu fechado a linha
   `grid-template-rows: 0fr` zera a altura do conteudo, mas o padding do <ul>
   continuaria valendo e sobrava uma faixa vazia de ~27px embaixo do cabecalho
   (altura preciosa na primeira dobra do celular). */
.nav__mobile > ul { min-height: 0; padding: 0 var(--gutter); }
.nav__mobile.is-open > ul { padding: 8px var(--gutter) 18px; }
.nav__mobile a {
  display: block; padding: 14px 4px; font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav__mobile li:last-child a { border-bottom: 0; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding: 30px 0 64px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 88% 12%, var(--blush) 0%, rgba(243,220,210,0) 62%),
    radial-gradient(55% 45% at 4% 82%, var(--cream-2) 0%, rgba(246,237,227,0) 60%),
    var(--cream);
}
.hero__inner { position: relative; display: grid; gap: 42px; }
.hero__title {
  font-size: clamp(2.25rem, 9vw, 3.6rem);
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero__title span { display: block; }
.hero__lead { color: var(--muted); font-size: 1.05rem; max-width: 48ch; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.hero__tags li {
  font-size: .78rem; font-weight: 500; color: var(--brown-2);
  padding: 7px 13px; border-radius: var(--pill);
  background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 auto; min-width: 190px; }

/* foto em moldura organica
   ------------------------------------------------------------------
   Ordem de empilhamento dentro de .hero__media (todos posicionados):
     0  ::before  -> halo estatico (fallback quando nao ha WebGL)
     0  .hero__canvas -> cena 3D (Three.js), atras da foto
     1  .blob     -> foto
     2  .dot      -> pontinhos decorativos
     3  .chip     -> cartao de seguidores  << precisa ficar por cima
   Sem os z-index explicitos o .blob (z-index:1) cobria o .chip,
   que ficava com z-index:auto. Nao remover os valores abaixo.
   ------------------------------------------------------------------ */
.hero__media {
  position: relative; justify-self: center;
  /* 88% e nao 100%: sobra respiro lateral no celular para o halo (estatico
     ou 3D) aparecer em volta da foto em vez de encostar na borda da tela */
  width: min(88%, 420px);
  z-index: 1; isolation: isolate;
}
.blob {
  position: relative; z-index: 1;
  aspect-ratio: 5 / 6;
  border-radius: 48% 52% 44% 56% / 40% 38% 62% 60%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sand), var(--terra));
  box-shadow: var(--shadow-lg);
  animation: morph 16s ease-in-out infinite;
}
.blob img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
@keyframes morph {
  0%, 100% { border-radius: 48% 52% 44% 56% / 40% 38% 62% 60%; }
  50%      { border-radius: 56% 44% 58% 42% / 48% 56% 44% 52%; }
}
.hero__media::before {
  content: ""; position: absolute; inset: -6% -8% -10% -6%;
  border-radius: 50%;
  background: var(--blush);
  opacity: .55;
  z-index: 0;
  transition: opacity .8s var(--ease);
}
/* com a cena 3D ativa o halo estatico sai de cena suavemente */
.hero__media.is-3d::before { opacity: 0; }

/* palco da cena WebGL do hero (ver hero-3d.js)
   O <canvas> e um elemento substituido: com "inset" sozinho ele mantem o
   tamanho intrinseco (300x150). Por isso o palco e uma div normal e o canvas
   preenche 100% dela. */
.hero__stage {
  position: absolute; inset: -14% -11%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__stage.is-ready { opacity: 1; }
.hero__stage canvas { display: block; width: 100%; height: 100%; }

.chip {
  position: absolute; left: -6px; bottom: 12%; z-index: 3;
  background: var(--white); border-radius: var(--r-md);
  padding: 13px 17px; box-shadow: var(--shadow-md);
  display: grid; gap: 1px; max-width: 172px;
}
.chip__num { font-family: var(--display); font-size: 1.4rem; color: var(--terra); line-height: 1; }
.chip__txt { font-size: .72rem; color: var(--muted); line-height: 1.35; }
.dot { position: absolute; z-index: 2; border-radius: 50%; }
.dot--a { width: 14px; height: 14px; background: var(--terra); top: 6%; right: 8%; }
.dot--b { width: 26px; height: 26px; border: 2px solid var(--terra); opacity: .35; bottom: 4%; right: 16%; }
/* a cena 3D ja traz o anel orbitando; os pontinhos virariam ruido */
.hero__media.is-3d .dot { opacity: 0; transition: opacity .6s var(--ease); }

/* --------------------------------------------------------------------------
   HERO NO CELULAR — foto junto do texto na primeira dobra
   --------------------------------------------------------------------------
   Antes: .hero__text (selo + titulo + paragrafo + tags + botoes) ficava
   INTEIRO acima de .hero__media, entao no celular era preciso rolar uma tela
   quase inteira ate ver a foto e o cartao de 61K.

   Tecnica: no celular .hero__text vira `display: contents` — a caixa dele
   some e os filhos (selo, titulo, paragrafo, tags, botoes) passam a ser
   itens diretos do grid .hero__inner. Com isso da para usar `order` e
   encaixar a foto logo DEPOIS do titulo, sem mexer no HTML e sem tocar no
   layout de duas colunas do desktop (@media min-width: 860px).

   Ordem no celular:  selo -> titulo -> FOTO (+ chip 61K) -> paragrafo ->
                      tags -> botoes
   Obs: com `display: contents` o .hero__text nao gera caixa, entao a animacao
   .reveal dele nao roda no celular (a foto continua com a dela). Isso e de
   proposito: o texto do hero aparece na hora, sem esperar animacao.
   -------------------------------------------------------------------------- */
@media (max-width: 859.98px) {
  .hero { padding: 16px 0 44px; }

  .hero__text { display: contents; }
  .hero__inner { gap: 0; }

  .hero__inner > .eyebrow { order: 1; margin-bottom: 9px; font-size: .7rem; }
  .hero__title {
    order: 1;
    font-size: clamp(1.9rem, 7.9vw, 2.75rem);
    margin-bottom: 16px;
  }

  .hero__media {
    order: 2;
    width: min(68%, 300px);
    margin: 0 auto 20px;
  }
  /* quadrada no celular: ocupa menos altura que 5/6 e ainda cabe a moldura */
  .blob { aspect-ratio: 1 / 1; }
  /* foto pequena pede enquadramento mais fechado no rosto */
  .blob img { transform: scale(1.22); transform-origin: 54% 26%; }
  .hero__stage { inset: -12% -10%; }

  .chip {
    left: -16px; bottom: 5%;
    padding: 9px 12px; max-width: 136px; border-radius: 16px;
  }
  .chip__num { font-size: 1.15rem; }
  .chip__txt { font-size: .66rem; }

  .hero__lead { order: 3; font-size: 1rem; }
  .hero__tags { order: 3; margin: 15px 0 18px; }
  .hero__tags li { font-size: .75rem; padding: 6px 12px; }
  .hero__actions { order: 3; }
  .hero__actions .btn { min-height: 50px; padding: 15px 22px; }
}

/* ==========================================================================
   NUMEROS
   ========================================================================== */
.stats { background: var(--brown); color: var(--cream); padding: 48px 0 42px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
.stat { text-align: center; }
.stat__num {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2rem, 8vw, 3.1rem); line-height: 1;
  color: var(--cream); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__lab {
  display: block; margin-top: 9px;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sand); opacity: .82;
}
.stats__note { text-align: center; margin-top: 34px; font-size: .76rem; color: var(--sand); opacity: .6; }

/* ==========================================================================
   SOBRE
   ========================================================================== */
.sobre { background: var(--cream); }
.sobre__inner { display: grid; gap: 40px; }
.frame {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 24px 24px;
  background: linear-gradient(160deg, var(--blush), var(--sand));
  box-shadow: var(--shadow-md);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.sobre__media { position: relative; }
.sobre__media::after {
  content: ""; position: absolute; right: -12px; bottom: -12px;
  width: 96px; height: 96px; border-radius: 50%;
  border: 1.5px solid var(--terra); opacity: .35; pointer-events: none;
}
.quote {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--terra);
  background: var(--cream-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--brown);
}
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pills li {
  font-size: .82rem; font-weight: 500;
  padding: 9px 16px; border-radius: var(--pill);
  background: var(--blush); color: var(--brown-2);
}

/* ==========================================================================
   PUBLICO
   ========================================================================== */
.publico { background: var(--cream-2); }
.publico__grid { display: grid; gap: 18px; }
.card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.card--soft { background: var(--brown); color: var(--cream); border-color: transparent; }
.card__title {
  font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  color: var(--brown); margin-bottom: 20px;
}
.card--soft .card__title { color: var(--cream); }

.donut { position: relative; width: 190px; margin: 0 auto 18px; }
.donut svg { width: 100%; transform: rotate(-90deg); }
.donut__track { fill: none; stroke: var(--blush); stroke-width: 15; }
.donut__arc {
  fill: none; stroke: var(--terra); stroke-width: 15; stroke-linecap: round;
  stroke-dasharray: 301.6; stroke-dashoffset: 301.6;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.donut__center {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.donut__center strong {
  font-family: var(--display); font-size: 1.9rem; color: var(--brown); line-height: 1;
}
.donut__center span { font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.legend { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.legend li { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.legend i { width: 11px; height: 11px; border-radius: 50%; flex: none; }

.bars { display: grid; gap: 18px; margin-bottom: 18px; }
.bar__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 12px; }
.bar__lab { font-size: .95rem; font-weight: 500; color: var(--brown); }
.bar__pos { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra); flex: none; }
.bar__track { height: 11px; border-radius: var(--pill); background: var(--blush); overflow: hidden; }
.bar__fill {
  height: 100%; width: 0; border-radius: var(--pill);
  background: linear-gradient(90deg, var(--terra), #D9835C);
  transition: width 1.2s var(--ease);
}

.hi { display: grid; gap: 22px; }
.hi__num { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--sand); }
.hi__lab { display: block; margin-top: 6px; font-size: .85rem; color: rgba(251,246,240,.72); }
.card--soft .micro { color: rgba(251,246,240,.55); margin-top: 4px; }

/* ==========================================================================
   SERVICOS
   ========================================================================== */
.servicos { background: var(--cream); }
.servicos__grid { display: grid; gap: 18px; }
.svc {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
@media (hover: hover) {
  .svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand); }
}
.svc__ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blush); color: var(--terra); margin-bottom: 18px; flex: none;
}
.svc__ico svg { width: 25px; height: 25px; }
.svc__name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--brown); margin-bottom: 10px; }
.svc__resumo { color: var(--muted); font-size: .95rem; }
.svc__list { margin: 16px 0 22px; display: grid; gap: 9px; }
.svc__list li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--brown-2); }
.svc__list li::before {
  content: ""; position: absolute; left: 4px; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--terra); opacity: .55;
}
.svc__cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--terra);
  min-height: 44px;
}
.svc__cta .ico { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.svc__cta:hover .ico { transform: translateX(4px); }

/* ==========================================================================
   PROCESSO
   ========================================================================== */
.processo { background: var(--cream-2); }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  counter-increment: step;
  position: relative; padding: 22px 24px 22px 68px;
  background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 22px; top: 22px;
  font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--terra);
}
.step h3 { font-size: 1.02rem; font-weight: 600; color: var(--brown); margin-bottom: 4px; }
.step p { font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   MOTIVOS
   ========================================================================== */
.motivos { background: var(--cream); }
.motivos__grid { display: grid; gap: 18px; }
.motivo {
  background: linear-gradient(170deg, var(--white), var(--cream-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px;
}
.motivo__ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--terra); color: #fff; margin-bottom: 16px;
}
.motivo__ico svg { width: 22px; height: 22px; }
.motivo h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--brown); margin-bottom: 8px; }
.motivo p { font-size: .93rem; color: var(--muted); }

/* ==========================================================================
   GALERIA
   ========================================================================== */
.galeria { background: var(--cream-2); }
.galeria__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.galeria__grid figure {
  aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md);
  background: var(--blush); box-shadow: var(--shadow-sm);
}
.galeria__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .galeria__grid figure:hover img { transform: scale(1.06); } }

/* ==========================================================================
   REELS (embed oficial do Instagram)
   --------------------------------------------------------------------------
   O <blockquote class="instagram-media"> e trocado pelo embed.js do Instagram
   por um <iframe class="instagram-media instagram-media-rendered">. As regras
   abaixo valem para os dois estados: o bloco antes de carregar (cartao vazio
   com link) e o player ja montado.
   ========================================================================== */
.reels { background: var(--cream); }
.reels__grid { display: grid; gap: 20px; justify-items: center; }
.reels__item { width: 100%; max-width: 400px; }

.reels__item .instagram-media {
  /* a largura vem do style inline do bloco (o mesmo do codigo oficial), que o
     embed.js copia para o iframe. Aqui so ajustamos a moldura e garantimos
     que nada estoure a largura da tela. */
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  border-radius: var(--r-md) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-md) !important;
  background: var(--white) !important;
}
/* estado antes do player carregar (ou com o script bloqueado) */
.reels__item blockquote.instagram-media {
  display: grid; place-items: center;
  min-height: 200px; padding: 24px !important;
}
.reels__fallback {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .95rem; color: var(--terra);
}
.reels__fallback .ico { width: 19px; height: 19px; }

@media (min-width: 720px) {
  .reels__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reels__item { max-width: 420px; }
}

/* ==========================================================================
   COMO CONTRATAR
   ========================================================================== */
.contratar { background: var(--cream); }
.contratar__inner { display: grid; gap: 34px; }
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 13px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; font-size: .95rem; color: var(--brown-2);
}
.checklist .ico {
  width: 20px; height: 20px; flex: none; color: var(--terra); margin-top: 2px;
}

/* ==========================================================================
   ATELIE
   ========================================================================== */
.atelie { background: var(--cream); padding-top: 0; }
.atelie__card {
  display: grid; overflow: hidden;
  border-radius: var(--r-lg); background: var(--blush);
  box-shadow: var(--shadow-md);
}
.atelie__media { aspect-ratio: 16 / 10; }
.atelie__media img { width: 100%; height: 100%; object-fit: cover; }
.atelie__body { padding: 30px 26px 34px; }
.atelie__body p { color: var(--brown-2); margin-bottom: 22px; }
.atelie__body .h3 { margin-bottom: 12px; }

/* ==========================================================================
   CONTATO + RODAPE
   ========================================================================== */
.contato { background: var(--brown); color: var(--cream); text-align: center; }
.contato__inner { max-width: 640px; }
.contato__title { color: var(--cream); }
.contato__lead { color: rgba(251,246,240,.72); margin: 16px 0 30px; }
.social { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; min-height: 48px;
  border: 1px solid rgba(251,246,240,.25); border-radius: var(--pill);
  font-size: .9rem; font-weight: 500;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.social a:hover { background: rgba(251,246,240,.1); border-color: rgba(251,246,240,.5); }
.social .ico { width: 18px; height: 18px; }

.footer { background: var(--brown); color: rgba(251,246,240,.5); padding: 0 0 30px; }
.footer__inner {
  border-top: 1px solid rgba(251,246,240,.12); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  font-size: .8rem;
}

/* ==========================================================================
   BARRA FIXA MOBILE
   ========================================================================== */
.wabar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,246,240,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.wabar.is-visible { transform: translateY(0); }
.wabar__txt { font-size: .86rem; font-weight: 500; color: var(--brown); line-height: 1.25; }
.wabar .btn { flex: none; }
@media (min-width: 860px) { .wabar { display: none !important; } }

/* ==========================================================================
   ANIMACOES DE ENTRADA
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal--delay.is-in { transition-delay: .12s; }
[data-stagger].is-in > * { animation: rise .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */
@media (min-width: 620px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .servicos__grid, .motivos__grid { grid-template-columns: repeat(2, 1fr); }
  .galeria__grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { flex: 0 1 auto; }
}

@media (min-width: 860px) {
  :root { --gutter: 32px; }
  .section { padding: 104px 0; }
  .section__head { margin-bottom: 48px; }

  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none; }

  .hero { padding: 56px 0 96px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero__media { width: 100%; max-width: 460px; justify-self: end; }
  .hero__stage { inset: -16% -18%; }   /* no desktop sobra espaco: halo maior */
  .chip { left: -28px; }

  .sobre__inner { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; }
  .publico__grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .servicos__grid, .motivos__grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }

  .contratar__inner { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .checklist { grid-template-columns: 1fr; }

  .atelie__card { grid-template-columns: 1fr 1fr; align-items: center; }
  .atelie__media { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .atelie__body { padding: 48px 52px; }
}

@media (min-width: 1100px) {
  .motivos__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   ACESSIBILIDADE — movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .wabar { transition: none; }
}
