/* =========================================================
   Amanda Barreto · Advocacia
   Paleta tirada das fotos: fundo grafite do estúdio,
   azul-marinho do terno, dourado dos botões e joias.
   ========================================================= */

/* ---------- Fontes (arquivos locais, faixa latina com acentos do português) ---------- */
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --graphite-900: #16191b;
  --graphite-800: #1c2022;
  --graphite-700: #262b2e;
  --graphite-600: #2f3437;
  --graphite-500: #3d4347;
  --navy: #151b29;

  --gold: #c9a96e;
  --gold-600: #b08f55;
  --gold-700: #7d6233; /* dourado escuro para texto em fundo claro (contraste AA) */
  --gold-200: #e6d4ae;

  --ivory: #f6f2ea;
  --sand: #ece5d8;
  --paper: #fbf9f5;

  --ink: #1d2124;
  --ink-soft: #4c5257;
  --mist: #a9aeb2;
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: rgba(29, 33, 36, .12);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* fundo escuro como o topo e o rodapé: no iPhone o Safari mostra essa cor atrás das barras
   e ao puxar além do fim da página (cada seção já tem o próprio fundo) */
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: #111315; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #111315;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--graphite-900);
  padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.eyebrow-dark { color: var(--gold-700); }

.lead { font-size: 1.125rem; line-height: 1.75; }
.nowrap { white-space: nowrap; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 600 14px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 12px; }

.btn-gold { background: var(--gold); color: var(--graphite-900); }
.btn-gold:hover { background: var(--gold-200); }

.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark { background: var(--graphite-800); color: #fff; }
.btn-dark:hover { background: var(--gold); color: var(--graphite-900); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(22, 25, 27, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.brand-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--gold); color: var(--gold);
  font: 600 19px/1 var(--serif); letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font: 500 22px/1.1 var(--serif); letter-spacing: .01em; }
.brand-text small { font-size: 10.5px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--mist); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a:not(.btn) {
  position: relative;
  font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .82);
  transition: color .3s;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:not(.btn):hover { color: #fff; }
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line-dark); border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff;
  background: linear-gradient(90deg, var(--graphite-800) 0%, #23282a 55%, #2a2f32 100%);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: end; gap: 40px;
}
.hero-copy { position: relative; z-index: 1; padding-block: 80px 110px; }
.hero h1 {
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--gold-200); }
.hero-lead { max-width: 33rem; font-size: 1.125rem; color: rgba(255, 255, 255, .74); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-points {
  list-style: none; margin: 0; padding: 28px 0 0;
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px; color: rgba(255, 255, 255, .72);
}
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points svg { width: 20px; height: 20px; color: var(--gold); }

/* foto encostada na borda direita, altura total; só a borda esquerda é esfumada */
.hero-photo {
  position: absolute; z-index: 0; top: 0; right: 0; bottom: 0;
  aspect-ratio: 4 / 5; max-width: 62vw; margin: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 45%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--gold); border-radius: 2px;
  animation: cue 2s var(--ease) 4s 3 both; /* poucas repetições: animação infinita piora o Speed Index */
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(88px, 11vw, 150px); }
.section h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); margin-bottom: 26px; }

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head > p:last-child { color: var(--ink-soft); font-size: 1.0625rem; }
.section-head-left { text-align: left; margin: 0; }
.section-head-left .eyebrow { justify-content: flex-start; }
.section-head-left p { color: var(--ink-soft); }

/* ---------- Sobre ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }

.about-photo { position: relative; }
.about-photo::before { /* moldura dourada deslocada */
  content: ""; position: absolute; inset: 28px -28px -28px 28px;
  border: 1px solid var(--gold); z-index: 0;
}
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.about-photo figcaption {
  position: absolute; z-index: 2; left: -1px; bottom: 36px;
  background: var(--graphite-800); color: var(--gold-200);
  padding: 14px 22px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}

.years-badge {
  position: absolute; z-index: 2; right: -28px; top: 48px;
  display: flex; align-items: center; gap: 14px;
  background: var(--gold); color: var(--graphite-900);
  padding: 18px 24px;
  box-shadow: 0 20px 40px -20px rgba(22, 25, 27, .5);
}
.years-badge strong { font: 500 3.4rem/1 var(--serif); }
.years-badge span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; }

.about-copy p { color: var(--ink-soft); }
.about-copy .lead { color: var(--ink); }

.values { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.values li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.value-num { font: 500 1.6rem/1 var(--serif); color: var(--gold-700); min-width: 36px; padding-top: 2px; }
.values strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.2; margin-bottom: 2px; }
.values p { margin: 0; font-size: 15px; }

/* ---------- Frase ---------- */
.quote-band {
  background: var(--graphite-800); color: #fff;
  padding-block: clamp(72px, 9vw, 120px);
  text-align: center;
  position: relative;
}
.quote-band blockquote {
  margin: 0 auto; max-width: 900px;
  font: italic 500 clamp(1.7rem, 3.4vw, 2.7rem)/1.35 var(--serif);
}
.quote-band cite {
  display: block; margin-top: 28px;
  font: 600 12px/1 var(--sans); font-style: normal; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Áreas ---------- */
.areas { background: var(--ivory); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  position: relative;
  background: #fff;
  padding: 48px 40px 44px;
  border: 1px solid var(--line-light);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(22, 25, 27, .35); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-featured { background: var(--graphite-800); color: #fff; border-color: var(--graphite-800); }
.card-featured p, .card-featured li { color: rgba(255, 255, 255, .72) !important; }
.card-featured ul { border-color: var(--line-dark) !important; }

.card-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 30px;
  border: 1px solid var(--gold); color: var(--gold-600);
}
.card-featured .card-icon { color: var(--gold); }
.card-icon svg { width: 28px; height: 28px; }

.card h3 { font-size: 2rem; margin-bottom: 14px; }
.card > p { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }
.card ul { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 11px; }
.card li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--gold); }

/* ---------- Atendimento ---------- */
.service {
  background: linear-gradient(180deg, var(--graphite-700) 0%, var(--graphite-800) 100%);
  color: #fff;
  overflow: hidden;
}
.service-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 7vw, 100px); align-items: center; }
.service .lead { color: rgba(255, 255, 255, .74); max-width: 34rem; }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: flex; gap: 24px; padding: 20px 0; position: relative; }
.steps li:not(:last-child)::after { /* linha do tempo */
  content: ""; position: absolute; left: 21px; top: 66px; bottom: -6px; width: 1px; background: var(--line-dark);
}
.step-num {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  font: 600 1.3rem/1 var(--serif);
}
.steps strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.steps p { margin: 0; color: rgba(255, 255, 255, .64); font-size: 15px; }

.service-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; }
.service-photo { position: relative; }
.service-photo::after {
  content: ""; position: absolute; inset: auto -28px -28px auto; width: 55%; height: 55%;
  border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); pointer-events: none;
}

/* ---------- Avaliações ---------- */
.reviews { background: var(--ivory); }
.reviews .section-head { margin-bottom: 56px; }

.rating {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 14px 26px 14px 22px;
  background: #fff; border: 1px solid var(--line-light);
  transition: border-color .3s, transform .3s var(--ease);
}
.rating:hover { border-color: var(--gold); transform: translateY(-2px); }
.rating-score { font: 500 2.8rem/1 var(--serif); color: var(--ink); }
.rating-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13.5px; color: var(--ink-soft); }
.stars { /* 5 estrelas desenhadas em SVG */
  display: inline-block; width: 85px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9a96e' d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3 6.1 20.6l1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") left center / 17px 15px repeat-x;
}

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-light);
  padding: 34px 32px 28px;
}
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.review-top svg { width: 20px; height: 20px; }
.review blockquote {
  margin: 0 0 26px; flex: 1;
  font: italic 500 1.3rem/1.45 var(--serif); color: var(--ink);
}
.review figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--line-light);
  font-size: 14px; font-weight: 600;
}
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--graphite-800); color: var(--gold-200);
  font: 600 1rem/1 var(--serif);
}
.reviews-more { text-align: center; margin: 52px 0 0; }

/* ---------- Dúvidas ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.faq .section-head-left { position: sticky; top: calc(var(--header-h) + 40px); }
.faq .section-head-left .btn { margin-top: 12px; }

.accordion { border-top: 1px solid var(--line-light); }
.accordion details { border-bottom: 1px solid var(--line-light); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0;
  font: 500 1.45rem/1.3 var(--serif);
  transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-light);
  background:
    linear-gradient(var(--gold-600), var(--gold-600)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold-600), var(--gold-600)) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--gold-600); }
.accordion details p { color: var(--ink-soft); padding: 0 60px 28px 0; margin: 0; }

/* ---------- Contato ---------- */
.contact { background: var(--graphite-900); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 100px); align-items: start; }

.contact-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; }

.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 4px; }
.contact-list small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.contact-list a, .contact-list span { font-size: 15.5px; color: #fff; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); }

.contact .lead { color: rgba(255, 255, 255, .7); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 16px/1.5 var(--sans); color: #fff;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color .3s, background-color .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background-color: rgba(255, 255, 255, .07); }
.field .is-invalid { border-color: #d98c7a; }
.form-note { margin: 0; font-size: 13px; color: var(--mist); }
.form-error { margin: 0; font-size: 14px; color: #e9a493; }
.contact-form .btn { justify-self: start; }

/* ---------- Rodapé ---------- */
.site-footer { background: #111315; color: var(--mist); padding-top: 72px; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin: 18px 0 0; }
.footer-brand .oab { margin-top: 6px; color: var(--gold); letter-spacing: .14em; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 32px; align-content: flex-start; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-block: 28px 36px; font-size: 12.5px; }
.footer-bottom p { margin: 0; max-width: 560px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease), opacity .4s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { /* pulso */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: pulse 2.6s ease-out 4s 2 both;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: 90ms; }
.js .reveal:nth-child(3) { transition-delay: 180ms; }
.js .reveal:nth-child(4) { transition-delay: 270ms; }
.js .reveal:nth-child(5) { transition-delay: 360ms; }
.js .reveal:nth-child(n+6) { transition-delay: 450ms; }

/* seções abaixo da dobra só são desenhadas quando chegam perto da tela (carregamento mais leve) */
.about, .quote-band, .areas, .service, .reviews, .faq, .contact, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 24px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .review-grid { grid-template-columns: 1fr 1fr; }
}

/* menu ☰ a partir de 1100px: abaixo disso os 6 links + botão não cabem numa linha */
@media (max-width: 1100px) {
  /* backdrop-filter prenderia o menu fixo dentro do cabeçalho */
  .site-header.is-scrolled { background: var(--graphite-900); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--graphite-900);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .main-nav a:not(.btn) { font: 500 2rem/1 var(--serif); color: #fff; }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  /* no celular a foto fica no topo e o texto sobe por cima da parte escura */
  .hero { min-height: auto; align-items: stretch; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: min(32svh, 90vw) 56px; }
  .hero-photo {
    top: var(--header-h); left: 0; right: 0; bottom: auto; width: auto; aspect-ratio: auto; max-width: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
    mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
  }
  .hero-photo img { width: 100%; height: min(54svh, 130vw); max-height: none; object-fit: cover; object-position: center 12%; }
  .scroll-cue { display: none; }

  .about-grid, .service-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; margin-right: 28px; }
  .service-photo { order: -1; max-width: 460px; margin-right: 28px; }
  .faq .section-head-left { position: static; }
  .contact-info { order: 2; }
  .contact-photo { max-width: 360px; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .brand-text strong { font-size: 19px; }
  .brand-mark { width: 40px; height: 40px; font-size: 17px; }
  .hero h1 { font-size: 2.8rem; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .14em; gap: 10px; }
  .hero .eyebrow::before { width: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { gap: 12px 22px; }
  .card { padding: 40px 28px 36px; }
  .years-badge { right: -16px; top: 24px; padding: 12px 16px; gap: 10px; }
  .years-badge strong { font-size: 2.6rem; }
  .review-grid { grid-template-columns: 1fr; }
  .review { padding: 30px 26px 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .accordion summary { font-size: 1.3rem; }
  .accordion details p { padding-right: 0; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
