/* ==========================================================================
   Isaque Guedes Advocacia — Landing page
   --------------------------------------------------------------------------
   1. Tokens (cores, fontes, espaçamentos)  ← EDITAR aqui para mudar o visual
   2. Base
   3. Componentes (botões, títulos, ícones)
   4. Header
   5. Hero
   6. Sobre
   7. Áreas de atuação
   8. Diferenciais
   9. Como funciona
   10. CTA
   11. FAQ
   12. Contato / formulário
   13. Footer, modal, WhatsApp flutuante
   14. Animações
   15. Responsivo
   ========================================================================== */

/* Fontes hospedadas localmente (subconjunto latin, inclui acentos do português) */
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Cores */
  --black: #0a0a0a;
  --black-2: #101010;
  --surface: #151515;
  --surface-2: #1b1b1b;
  --ivory: #f6f3ee;
  --ivory-2: #ede8df;
  --white: #ffffff;
  --text: #f3efe8;
  --text-muted: #a8a299;
  --ink: #141414;
  --ink-muted: #5d5850;

  --gold: #c9a45c;
  --gold-light: #e3c98d;
  --gold-dark: #9c7a3c;
  --gold-line: rgba(201, 164, 92, 0.24);
  --gold-soft: rgba(201, 164, 92, 0.08);
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: rgba(20, 20, 20, 0.1);

  /* Tipografia */
  --font-brand: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 140px);
  --header-h: 84px;
  --radius: 2px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

::selection { background: var(--gold); color: var(--black); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--black);
  padding: 10px 16px; font-weight: 600; font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--ivory); color: var(--ink); }

/* 3. COMPONENTES ----------------------------------------------------------- */
.icon { width: 18px; height: 18px; flex-shrink: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--dark { color: var(--gold-dark); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
}

.section-head { margin-bottom: clamp(48px, 6vw, 72px); max-width: 640px; }
.section-head .section-title { max-width: none; }

.section-sub {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 54ch;
}
.section-sub--dark { color: var(--ink-muted); }

/* Botões */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover > .icon:last-child:not(:first-child) { transform: translateX(4px); }

.btn--lg { min-height: 56px; padding: 16px 30px; }
.btn--block { width: 100%; }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--black);
  --btn-bd: var(--gold);
}
.btn--gold::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover { --btn-bg: var(--gold-light); --btn-bd: var(--gold-light); }
.btn--gold:hover::before { transform: translateX(120%); }

.btn--outline { --btn-fg: var(--gold-light); --btn-bd: var(--gold-line); }
.btn--outline:hover { --btn-bd: var(--gold); --btn-bg: var(--gold-soft); }

.btn--ghost { --btn-fg: var(--text); --btn-bd: rgba(255,255,255,.18); }
.btn--ghost:hover { --btn-bd: var(--gold); --btn-fg: var(--gold-light); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: #000; --btn-fg: var(--gold-light); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow:hover { gap: 16px; color: var(--ink); }

/* 4. HEADER ---------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease), backdrop-filter .4s;
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(10, 10, 10, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand__mark { width: auto; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.brand__tag {
  margin-top: 6px;
  font-family: var(--font-brand);
  font-size: 9.5px;
  letter-spacing: .42em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(243, 239, 232, .78);
  padding-block: 8px;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--white); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta-mobile { display: none; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  position: relative;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1px;
  background: var(--gold-light);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* 5. HERO ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 40px) 90px;
  background:
    radial-gradient(ellipse 60% 55% at 72% 48%, rgba(201,164,92,.10), transparent 70%),
    #030303;
  overflow: hidden;
}
/* textura sutil de linhas verticais (arquitetura/colunas) */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 120px);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__lead {
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 44ch;
}

.hero__actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta li::before {
  content: "";
  width: 5px; height: 5px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.hero__halo {
  position: absolute;
  inset: 12% 8% 22%;
  border: 1px solid var(--gold-line);
  border-radius: 50% 50% 0 0 / 38% 38% 0 0;  /* arco de colunata */
  opacity: .8;
}
.hero__halo::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(201,164,92,.1);
  border-radius: inherit;
}
.hero__video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
  /* funde as bordas do vídeo com o fundo preto */
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, #000 55%, transparent 100%);
  mix-blend-mode: lighten;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 22px; height: 36px;
  margin-left: -11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 1px; height: 8px;
  background: var(--gold);
  animation: scroll-dot 2.2s var(--ease) infinite;
}

/* 6. SOBRE ----------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.about__media {
  position: relative;
  margin: 0 0 64px;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid var(--gold);
  opacity: .45;
  pointer-events: none;
}
.about__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 9; /* foto de corpo inteiro */
  object-fit: cover;
  object-position: center bottom;
}
.about__badge {
  position: absolute;
  right: -24px;
  top: 100%;
  transform: translateY(-24px); /* fica abaixo da foto, sem cobrir os pés */
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 26px;
  background: var(--black);
  color: var(--text);
  border-left: 2px solid var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.about__badge strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
}
.about__badge span {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.about__text {
  margin-top: 30px;
  display: grid;
  gap: 18px;
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 58ch;
}

.about__pillars {
  margin-block: 40px 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}
.about__pillars li {
  padding: 22px 20px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}
.about__pillars li + li { padding-left: 20px; border-left: 1px solid var(--line-light); }
.about__pillars span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

/* 7. ÁREAS ----------------------------------------------------------------- */
.areas { background: var(--black); }

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px 34px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  transition: background-color .5s var(--ease);
  overflow: hidden;
}
/* linha dourada que “desenha” no hover */
.area-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.area-card:hover { background: var(--surface); }
.area-card:hover::before { transform: scaleX(1); }

.area-card__icon {
  width: 38px; height: 38px;
  color: var(--gold);
  margin-bottom: 30px;
  transition: transform .5s var(--ease);
}
.area-card:hover .area-card__icon { transform: translateY(-4px); }

.area-card h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}
.area-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.area-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .75;
  transition: opacity .3s, gap .3s var(--ease);
}
.area-card__link .icon { width: 15px; height: 15px; }
.area-card:hover .area-card__link { opacity: 1; gap: 14px; }
/* card inteiro clicável */
.area-card__link::after { content: ""; position: absolute; inset: 0; }

/* 8. DIFERENCIAIS ---------------------------------------------------------- */
.values { overflow: hidden; }
.values__watermark {
  position: absolute;
  right: -60px;
  top: 50%;
  width: auto;
  height: 118%;
  transform: translateY(-50%);
  opacity: .06;
  filter: grayscale(1) brightness(.2);
  pointer-events: none;
  user-select: none;
}
.values__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.values__head { position: sticky; top: calc(var(--header-h) + 40px); }

.values__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.value {
  background: var(--ivory);
  padding: 40px 34px;
  display: grid;
  gap: 24px;
  transition: background-color .4s var(--ease);
}
.value:hover { background: var(--white); }
.value__icon {
  width: 44px; height: 44px;
  padding: 10px;
  color: var(--gold-dark);
  border: 1px solid rgba(156,122,60,.35);
  border-radius: 50%;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.value:hover .value__icon { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.value h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
.value p { color: var(--ink-muted); font-size: 15px; }

/* 9. COMO FUNCIONA --------------------------------------------------------- */
.process { background: var(--black-2); }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
/* linha conectando as etapas (desktop) */
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) , var(--gold-line) 80%, transparent);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  transition: transform 1.6s var(--ease);
}
.steps.is-visible::before { --progress: 1; }

.step { position: relative; padding-right: 12px; }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 30px;
  font-family: var(--font-brand);
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--gold-light);
  background: var(--black-2);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.step:hover .step__num { background: var(--gold); color: var(--black); }
.step h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.step p { color: var(--text-muted); font-size: 15px; max-width: 28ch; }

/* 10. CTA ------------------------------------------------------------------ */
.cta {
  padding-block: clamp(70px, 9vw, 120px);
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(201,164,92,.09), transparent 70%),
    var(--black);
}
.cta__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 7vw, 88px) clamp(24px, 5vw, 72px);
  border: 1px solid var(--gold-line);
}
/* cantoneiras douradas */
.cta__box::before,
.cta__box::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
}
.cta__box::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.cta__box::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.cta__mark { width: auto; height: 64px; margin-bottom: 28px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  color: var(--white);
}
.cta__text {
  margin: 18px 0 38px;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 46ch;
}
.cta__note { margin-top: 20px; font-size: 14px; color: var(--text-muted); }
.cta__note a { color: var(--gold-light); border-bottom: 1px solid var(--gold-line); transition: border-color .3s; }
.cta__note a:hover { border-color: var(--gold); }

/* 11. FAQ ------------------------------------------------------------------ */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.faq__head .btn { margin-top: 34px; }

.accordion { border-top: 1px solid var(--line-light); }
.accordion__item { border-bottom: 1px solid var(--line-light); }
.accordion__item h3 { font: inherit; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  transition: color .3s;
}
.accordion__trigger:hover { color: var(--gold-dark); }
.accordion__trigger .icon {
  width: 34px; height: 34px;
  padding: 8px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--gold-dark);
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.accordion__trigger[aria-expanded="true"] .icon {
  transform: rotate(45deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-light);
}
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  padding: 0 60px 30px 0;
  color: var(--ink-muted);
  font-size: 16px;
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }

/* 12. CONTATO -------------------------------------------------------------- */
.contact { background: var(--black); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.contact__list { margin-top: 44px; display: grid; }
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}
.contact__list li:first-child { border-top: 1px solid var(--line-dark); }
.contact__list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--gold); }
.contact__list span {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__list a,
.contact__list address,
.contact__list p { font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
.contact__list a { transition: color .3s; }
.contact__list a:hover { color: var(--gold-light); }

.form {
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-top: 1px solid var(--gold);
}
.form__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 28px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 20px; }
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* evita zoom no iOS */
  color: var(--text);
  background: var(--black-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color .3s, background-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field select:invalid { color: #6f6a62; }
.field select option { color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: #6f6a62; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(255,255,255,.18); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); background: #0c0c0c; }

.field__error { display: none; margin-top: 6px; font-size: 12.5px; color: #e59a86; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b8664f; }
.field.has-error .field__error { display: block; }

.form .btn--block { margin-top: 8px; }
.form__legal { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: #7d776e; }
.form__status { margin-top: 10px; font-size: 14px; color: var(--gold-light); min-height: 1em; }
.form__status:empty { display: none; }

/* 13. FOOTER --------------------------------------------------------------- */
.footer {
  background: #050505;
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(64px, 8vw, 96px);
  font-size: 14.5px;
  color: var(--text-muted);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand p { margin-top: 22px; max-width: 34ch; }
.footer__brand .footer__oab { margin-top: 10px; font-size: 13px; color: var(--gold); letter-spacing: .04em; }
.footer__col h4 {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--white); }
.footer__contact li { overflow-wrap: anywhere; }

.social { display: flex; gap: 10px; margin-top: 26px; }
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--text-muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.social a:hover { color: var(--black); background: var(--gold); border-color: var(--gold); }
.social .icon { width: 16px; height: 16px; }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 28px 32px;
  display: grid;
  gap: 14px;
}
.footer__disclaimer { font-size: 13px; color: #8a847b; font-style: italic; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: #6f6a62;
}
.footer__privacy {
  font-size: 13px;
  color: #8a847b;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.footer__privacy:hover { color: var(--gold-light); border-color: var(--gold-line); }

/* Modal de privacidade */
.modal {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--gold-line);
  border-top: 1px solid var(--gold);
  background: var(--surface);
  color: var(--text);
}
.modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.modal__inner { padding: 40px 36px; display: grid; gap: 16px; }
.modal h2 { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--white); }
.modal p { color: var(--text-muted); font-size: 15px; }
.modal a { color: var(--gold-light); }
.modal .btn { justify-self: start; margin-top: 10px; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  height: 58px;
  padding: 0 17px;
  gap: 12px;
  background: var(--gold);
  color: var(--black);
  border-radius: 29px;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 0 rgba(201,164,92,.5);
  transform: translateY(120px);
  transition: transform .5s var(--ease), background-color .3s;
  animation: wa-pulse 3.2s ease-out 3s infinite;
}
.wa-float.is-visible { transform: translateY(0); }
.wa-float:hover { background: var(--gold-light); }
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: max-width .5s var(--ease);
}
.wa-float:hover .wa-float__label { max-width: 200px; }

/* 14. ANIMAÇÕES ------------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 0 rgba(201,164,92,.45); }
  70%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 16px rgba(201,164,92,0); }
}

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

/* 15. RESPONSIVO ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__list { gap: 24px; }
  .header__inner { gap: 28px; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  /* com número ímpar de áreas, o último card ocupa a linha inteira */
  .area-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

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

  /* Menu mobile */
  .header__cta { display: none; }
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 100px var(--gutter) 40px;
    background: #080808;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-dark); }
  .nav__link {
    display: block;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    color: var(--text);
    transform: translateY(12px);
    opacity: 0;
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .05s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .1s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .15s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: .2s; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--gold-light); }
  .nav__cta-mobile { display: inline-flex; min-height: 56px; }
  .brand { position: relative; z-index: 2; }

  /* Hero: emblema acima, texto centralizado — como na peça de referência */
  .hero { padding-top: calc(var(--header-h) + 8px); align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .hero__visual { order: -1; max-width: 300px; margin-bottom: -40px; }
  .hero__halo { display: none; }
  .hero .eyebrow { display: none; }
  body.menu-open .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-color: transparent; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__title { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__meta { justify-content: center; }
  .hero__scroll { display: none; }

  .about__grid,
  .values__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .values__head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .steps::before { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .brand__mark { height: 38px; }
  .brand__name { font-size: 15px; }
  .brand__tag { font-size: 8.5px; }

  /* emblema acompanha a altura da tela, para o botão principal caber na primeira dobra */
  .hero__visual { max-width: min(250px, 25svh); margin-bottom: calc(min(250px, 25svh) * -0.145); }
  .hero__title { font-size: clamp(34px, 9.4vw, 44px); }
  .hero__actions { flex-direction: column; width: 100%; margin-top: 34px; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; }
  .hero__meta { margin-top: 32px; flex-direction: column; align-items: center; gap: 8px; }

  .about__media::before { inset: -10px 10px 10px -10px; }
  .about__badge { right: 12px; padding: 14px 18px; }
  .about__badge strong { font-size: 19px; }
  .about__pillars { grid-template-columns: 1fr; border-top: 0; margin-top: 32px; }
  .about__pillars li,
  .about__pillars li + li { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line-light); }

  .areas__grid { grid-template-columns: 1fr; }
  .area-card { padding: 32px 24px 28px; }
  .area-card__icon { margin-bottom: 22px; }

  .values__list { grid-template-columns: 1fr; }
  .value { padding: 30px 24px; grid-template-columns: auto 1fr; gap: 20px; }

  /* Etapas em linha vertical no mobile */
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 22px;
    padding: 0 0 40px;
  }
  .step::before {
    content: "";
    position: absolute;
    left: 28px; top: 56px; bottom: 0;
    width: 1px;
    background: var(--gold-line);
  }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before { display: none; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .step h3 { font-size: 23px; margin: 12px 0 6px; }

  .cta__box .btn { width: 100%; white-space: normal; }
  .faq__head .btn { width: 100%; }
  .accordion__trigger { padding: 22px 0; }
  .accordion__panel p { padding-right: 0; }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__col ul { gap: 2px; }
  .footer__col a { display: inline-block; padding-block: 6px; } /* área de toque maior */
  .footer__legal { flex-direction: column; align-items: flex-start; }

  .wa-float { right: 16px; bottom: 16px; height: 54px; padding: 0 15px; }
  .modal__inner { padding: 32px 24px; }
}

/* Celulares de tela baixa (ex.: iPhone SE) */
@media (max-width: 640px) and (max-height: 700px) {
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 24px; }
}
