/* ==========================================================================
   ACF Advocacia — Almeida, Cardoso e Fornazieri
   Identidade: marinho + dourado, arco do monograma como motivo visual.
   ========================================================================== */

:root {
  --navy-950: #10152a;
  --navy-900: #161c33;
  --navy: #1e253f;
  --navy-700: #2b3355;
  --navy-500: #4a5378;
  --gold: #c9b272;
  --gold-soft: #e2d3a6;
  --gold-text: #7a6230; /* dourado com contraste para texto sobre fundo claro */
  --ivory: #f7f3ec;
  --paper: #fffdf9;
  --sand: #ece5d8;
  --ink: #1b2030;
  --muted: #5a6072;
  --on-navy: #ece8df;
  --on-navy-muted: #a9aec2;
  --line: rgba(30, 37, 63, 0.14);
  --line-light: rgba(236, 232, 223, 0.16);

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

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --arch: 999px 999px var(--radius) var(--radius);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--gold-text); font-weight: 500; }
.on-navy h1 em, .on-navy h2 em, .on-navy h3 em { color: var(--gold); }
::selection { background: var(--gold); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--navy-950); font-weight: 700; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-navy .eyebrow { color: var(--gold); }
.display { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.on-navy .lead { color: var(--on-navy-muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-gold { background: var(--gold); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.on-navy .btn-ghost:hover { background: var(--on-navy); border-color: var(--on-navy); color: var(--navy); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header: cápsula flutuante ---------- */
.site-header {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  color: var(--on-navy);
  transition: color .4s var(--ease), transform .45s var(--ease);
}
/* Some ao rolar para baixo, volta ao rolar para cima */
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
body.menu-open .site-header.is-hidden { transform: none; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: color .4s var(--ease); } }
.header-inner {
  position: relative; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 8px 0 22px;
}
/* o vidro fica num pseudo-elemento para não prender o menu mobile (position: fixed) */
.header-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px;
  background: rgba(17, 22, 42, 0.38);
  border: 1px solid rgba(236, 232, 223, 0.12);
  -webkit-backdrop-filter: saturate(150%) blur(18px); backdrop-filter: saturate(150%) blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), opacity .3s;
}
.site-header.is-scrolled { color: var(--navy); }
.site-header.is-scrolled .header-inner::before {
  background: rgba(250, 247, 241, 0.86);
  border-color: rgba(30, 37, 63, 0.08);
  box-shadow: 0 18px 40px -24px rgba(16, 21, 42, 0.45);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 22px; height: auto; }
.brand-mark-dark { display: none; }
.site-header.is-scrolled .brand-mark-light { display: none; }
.site-header.is-scrolled .brand-mark-dark { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; letter-spacing: 0.04em; }
.brand-text small { font-size: 0.56rem; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; opacity: .7; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  font-size: 0.84rem; font-weight: 500; padding: 9px 16px; border-radius: 999px;
  opacity: .82; transition: background .3s var(--ease), opacity .3s var(--ease), color .3s var(--ease);
}
.main-nav a:not(.btn):hover { opacity: 1; background: rgba(236, 232, 223, 0.08); }
.main-nav a[aria-current="page"] { opacity: 1; background: rgba(201, 178, 114, 0.16); color: var(--gold-soft); }
.site-header.is-scrolled .main-nav a:not(.btn):hover { background: rgba(30, 37, 63, 0.06); }
.site-header.is-scrolled .main-nav a[aria-current="page"] { background: rgba(30, 37, 63, 0.08); color: var(--navy); }
.main-nav .btn { min-height: 48px; padding: 0 22px; margin-left: 12px; letter-spacing: 0.12em; font-size: 0.74rem; }
.site-header.is-scrolled .main-nav .btn-gold { background: var(--navy); color: var(--on-navy); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(236, 232, 223, 0.1); cursor: pointer; position: relative; }
.site-header.is-scrolled .menu-toggle { background: rgba(30, 37, 63, 0.08); }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

/* ---------- Hero (home): foto em palco, arco dourado e luz ---------- */
.on-navy { background: var(--navy); color: var(--on-navy); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 40px; }

.hero {
  --stage-bg: #11162a;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 70px 0 clamp(70px, 9vw, 120px);
  background: linear-gradient(180deg, var(--stage-bg) 0%, var(--stage-bg) 55%, var(--navy) 100%);
  text-align: center;
}
/* foco de luz vindo de cima */
.hero::before {
  content: ""; position: absolute; z-index: 3; left: 50%; top: -10%; width: 70%; height: 75%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(236, 222, 180, 0.13), transparent 70%);
  mix-blend-mode: screen;
}
/* granulado fino, acabamento de foto impressa */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage {
  position: relative; isolation: isolate;
  width: min(1280px, 100%); aspect-ratio: 16 / 9.4; margin: 0 auto;
  background: var(--stage-bg);
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 93%);
  mask-image: linear-gradient(180deg, #000 50%, transparent 93%);
}
.stage::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 18%; width: 62%; height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 178, 114, 0.14), transparent 75%);
}
.stage-arch {
  position: absolute; z-index: 1; left: 50%; top: 5%; width: 54%; aspect-ratio: 4 / 5;
  transform: translateX(-50%); overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 38%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 38%);
}
.stage-arch path { fill: none; vector-effect: non-scaling-stroke; }
.stage-arch .arch-main { stroke: var(--gold); stroke-width: 1.2; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-arch 2.8s .3s var(--ease) forwards; }
.stage-arch .arch-outer { stroke: var(--gold); stroke-width: 1; opacity: .25; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-arch 2.8s .7s var(--ease) forwards; }
/* feixe de luz que percorre o arco, devagar */
.stage-arch .arch-glint {
  stroke: #fff4d6; stroke-width: 2.4; stroke-linecap: round; opacity: 0;
  stroke-dasharray: 0.06 1.2; stroke-dashoffset: 0.06;
  filter: drop-shadow(0 0 6px rgba(255, 236, 190, .9)) drop-shadow(0 0 16px rgba(201, 178, 114, .6));
  animation: glint 9s 3.2s cubic-bezier(.45, 0, .25, 1) infinite;
}
@keyframes draw-arch { to { stroke-dashoffset: 0; } }
@keyframes glint {
  0% { stroke-dashoffset: 0.06; opacity: 0; }
  8% { opacity: 1; }
  55% { opacity: 1; }
  62%, 100% { stroke-dashoffset: -1; opacity: 0; }
}

.stage-photo {
  position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  mix-blend-mode: lighten;
  animation: stage-in 1.8s var(--ease) both;
}
@keyframes stage-in { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

.stage-copy { position: relative; z-index: 4; margin-top: clamp(-190px, -13vw, -60px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border: 1px solid rgba(201, 178, 114, 0.35); border-radius: 999px;
  background: rgba(17, 22, 42, 0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft);
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 178, 114, 0.18); }
.stage-copy h1 { margin: 24px auto 24px; font-size: clamp(2.5rem, 5.8vw, 5.4rem); line-height: 1.02; text-shadow: 0 2px 30px rgba(17, 22, 42, .6); }
.stage-copy h1 em { display: block; }
.stage-copy .lead { margin: 0 auto; max-width: 60ch; }
.stage-copy .hero-actions { justify-content: center; margin-top: 36px; }
.stage-names {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0;
  margin: clamp(44px, 6vw, 72px) auto 0; padding: 0; list-style: none;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-muted);
}
.stage-names li { padding: 0 22px; }
.stage-names li + li { border-left: 1px solid var(--line-light); }
.stage-names strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.01em; text-transform: none; color: var(--on-navy); }

.arch-figure { position: relative; margin: 0; }
.arch-figure::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px;
  border: 1px solid var(--gold); border-radius: var(--arch); opacity: .55; pointer-events: none;
}
.arch-figure img { position: relative; width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; border-radius: var(--arch); }

/* ---------- Faixa de valores ---------- */
.values-strip { background: var(--navy-950); color: var(--gold); border-top: 1px solid var(--line-light); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 0; margin: 0; padding: 22px 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); font-style: italic; white-space: nowrap; }
.marquee li::after { content: ""; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tight { padding: clamp(60px, 8vw, 100px) 0; }
.section-sand { background: var(--sand); }
.section-paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head h2 { margin-top: 20px; }
.section-head .lead { justify-self: end; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .lead { justify-self: center; }

/* ---------- Áreas (home + atuação) ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.area-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 30px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.area-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(22, 28, 51, .35); border-color: transparent; }
.area-card-img { overflow: hidden; border-radius: var(--arch); aspect-ratio: 4 / 4.4; }
.area-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease); }
.area-card:hover .area-card-img img { transform: scale(1.05); }
.area-card-body { padding: 28px 12px 0; display: flex; flex-direction: column; flex: 1; }
.area-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; color: var(--gold-text); }
.area-card h3 { font-size: clamp(1.8rem, 2.4vw, 2.2rem); margin: 10px 0 14px; }
.area-card p { color: var(--muted); font-size: 0.95rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.tag-list li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.76rem; color: var(--navy-700); }
.area-card .link-arrow { margin-top: auto; align-self: flex-start; color: var(--navy); }
.area-card .stretched::after { content: ""; position: absolute; inset: 0; }
.area-index { display: flex; flex-direction: column; padding-top: 28px; border-top: 2px solid var(--gold); }
.area-index h2 { font-size: clamp(1.8rem, 2.4vw, 2.2rem); margin: 10px 0 10px; }
.area-index > p { color: var(--muted); font-size: 0.95rem; }
.area-index ul { margin: 24px 0 32px; padding: 0; list-style: none; }
.area-index li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy); transition: color .3s var(--ease), padding .3s var(--ease); }
.area-index li a svg { flex: none; width: 14px; height: 14px; color: var(--gold-text); }
.area-index li a:hover { color: var(--gold-text); padding-left: 6px; }
.area-index .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Sócias ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.member { display: flex; flex-direction: column; }
.member-photo { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--navy); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.member-photo .alt { position: absolute; inset: 0; opacity: 0; }
.member:hover .member-photo .alt { opacity: 1; }
.member:hover .member-photo img { transform: scale(1.03); }
.member-info { padding-top: 24px; }
.member-role { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.member h3 { font-size: clamp(1.7rem, 2.3vw, 2.1rem); margin: 8px 0 10px; }
.member p { color: var(--muted); font-size: 0.95rem; }
.member-ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.86rem; font-weight: 600; color: var(--navy); }
.member-ig svg { width: 16px; height: 16px; }
.member-ig:hover { color: var(--gold-text); }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.manifesto-img { position: relative; }
.manifesto-img > img:first-child { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.manifesto-img .mono { position: absolute; right: -26px; bottom: -34px; width: 96px; padding: 22px 26px; background: var(--navy); border-radius: var(--arch); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.manifesto blockquote { margin: 28px 0 32px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.2; font-style: italic; }
.manifesto blockquote::before { content: "“"; display: block; height: .5em; font-size: 2.6em; line-height: 1; color: var(--gold); font-style: normal; }
.manifesto cite { display: block; font-style: normal; font-size: 0.85rem; color: var(--on-navy-muted); letter-spacing: 0.04em; }

/* ---------- Passos do atendimento ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 36px 28px 8px 0; counter-increment: step; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 20px; }
.steps h3 { font-size: 1.5rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Conteúdo / Instagram ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--on-navy); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card-img { overflow: hidden; aspect-ratio: 4 / 4.2; }
.post-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(22, 28, 51, .55); }
.post-card:hover img { transform: scale(1.05); }
.post-card-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; border-top: 2px solid var(--gold); }
.post-card-body span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.post-card-body h3 { font-size: 1.3rem; line-height: 1.18; }
.post-card-body small { margin-top: auto; padding-top: 10px; font-size: 0.74rem; color: var(--on-navy-muted); }
.posts-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; }
.posts-foot p { color: var(--muted); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-grid .sticky { position: sticky; top: 110px; }
.faq-grid .sticky h2 { margin: 20px 0 22px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--sans); font-size: 1.1rem; color: var(--gold-text); transition: transform .4s var(--ease), background .4s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: var(--gold); border-color: var(--navy); }
.faq details p { padding: 0 60px 28px 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: 40px; width: min(560px, 80vw); height: 120%;
  transform: translateX(-50%); border: 1px solid var(--gold); border-bottom: 0; border-radius: var(--arch); opacity: .22; pointer-events: none;
}
.cta .wrap { position: relative; }
.cta img.mono { width: 44px; margin: 0 auto 26px; }
.cta h2 { max-width: 16ch; margin: 18px auto 22px; }
.cta .lead { margin: 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }

/* ---------- Page hero (internas) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px); background: linear-gradient(180deg, var(--navy-950), var(--navy)); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin: 22px 0 26px; }
.page-hero .arch-figure { max-width: 420px; margin-left: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; font-size: 0.8rem; color: var(--on-navy-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a:hover { color: var(--gold); }
.page-hero .hero-actions { margin-top: 36px; }

/* ---------- Área: tópicos ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.topic { background: var(--paper); padding: clamp(28px, 3vw, 40px); transition: background .4s var(--ease); }
.topic:hover { background: var(--ivory); }
.topic-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 999px 999px 4px 4px; color: var(--gold-text); margin-bottom: 26px; }
.topic-icon svg { width: 20px; height: 20px; }
.topic h3 { font-size: 1.55rem; margin-bottom: 12px; }
.topic p { color: var(--muted); font-size: 0.95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 12px; height: 7px; border-left: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(-45deg); }
.on-navy .check-list li { border-color: var(--line-light); }
.on-navy .check-list li::before { border-color: var(--gold); }
.docs-card { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: clamp(32px, 4vw, 52px); }
.docs-card h3 { font-size: 2rem; margin: 16px 0 10px; }
.docs-card > p { color: var(--on-navy-muted); font-size: 0.95rem; }

/* sócia responsável */
.lead-card { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.lead-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--arch); }
.lead-card h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 10px 0 14px; }
.lead-card p { color: var(--muted); max-width: 52ch; }
.lead-card .hero-actions { margin-top: 26px; }

.notice { display: flex; gap: 18px; align-items: flex-start; padding: 22px 26px; border-left: 2px solid var(--gold); background: var(--paper); color: var(--muted); font-size: 0.88rem; }
.notice strong { color: var(--ink); }

/* outras áreas */
.other-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.other-area { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: background .4s var(--ease), color .4s var(--ease); }
.other-area span { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-text); }
.other-area strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.other-area svg { width: 22px; height: 22px; flex: none; transition: transform .4s var(--ease); }
.other-area:hover { background: var(--navy); color: var(--on-navy); }
.other-area:hover span { color: var(--gold); }
.other-area:hover svg { transform: translate(4px, -4px); }

/* ---------- Escritório ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.story-text p + p { margin-top: 18px; }
.story-text p { color: var(--muted); }
.story-text h2 { margin: 20px 0 28px; }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.story-photos img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.story-photos img:first-child { aspect-ratio: 3 / 4.4; border-radius: var(--arch); }
.story-photos img:last-child { aspect-ratio: 3 / 3.6; margin-bottom: 48px; }
.date-badge { display: inline-flex; align-items: center; gap: 14px; margin-top: 32px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; }
.date-badge strong { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-text); }

.profile { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.profile + .profile { margin-top: clamp(80px, 10vw, 140px); }
.profile:nth-child(even) .profile-photo { order: 2; }
.profile-photo { position: relative; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--arch); }
.profile-photo .num { position: absolute; top: 24px; right: -14px; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold); font-style: italic; }
.profile h2 { margin: 16px 0 24px; }
.profile p { color: var(--muted); }
.profile p + p { margin-top: 16px; }
.profile .tag-list { margin: 28px 0 32px; }

.values-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.value { padding-top: 32px; border-top: 1px solid var(--line-light); }
.value strong { display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.value h3 { font-size: 2rem; margin-bottom: 14px; }
.value p { color: var(--on-navy-muted); }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery img:first-child { grid-row: span 2; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.channel { display: flex; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.channel:first-of-type { border-top: 1px solid var(--line); }
a.channel:hover { padding-left: 10px; }
.channel-icon { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold); }
.channel-icon svg { width: 20px; height: 20px; }
.channel div span { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }
.channel strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; word-break: break-word; }
.channel .go { margin-left: auto; width: 18px; height: 18px; color: var(--muted); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.form-card h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 14px 0 10px; }
.form-card > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, background .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-text); background: var(--paper); }
.form-note { margin-top: 16px; font-size: 0.8rem; color: var(--muted); }
.form-card .btn { width: 100%; justify-content: center; }

.map-wrap { position: relative; margin-top: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.35) contrast(1.05); }
.address-block { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 24px; }
.address-block address { font-style: normal; font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); padding: clamp(64px, 8vw, 100px) 0 0; font-size: 0.92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer-brand img { width: 44px; margin-bottom: 22px; }
.footer-brand p.sig { font-family: var(--serif); font-size: 1.5rem; line-height: 1.25; color: var(--on-navy); }
.footer-brand p.sig em { color: var(--gold); }
.footer-col h4 { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li + li { margin-top: 10px; }
.footer-col a:hover { color: var(--on-navy); }
.footer-col address { font-style: normal; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 26px 0 30px; border-top: 1px solid var(--line-light); font-size: 0.78rem; }
.footer-legal { padding: 0 0 22px; font-size: 0.78rem; max-width: 90ch; }
.footer-bottom { align-items: center; }
.credit { display: inline-flex; align-items: center; gap: 12px; letter-spacing: 0.04em; color: inherit; text-decoration: none; }
.credit img { height: 24px; width: auto; filter: grayscale(1) brightness(1.6); opacity: .55; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.credit:hover img { filter: none; opacity: 1; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .stage-arch .arch-main, .stage-arch .arch-outer { stroke-dashoffset: 0; }
  .stage-arch .arch-glint { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .areas-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .areas-grid > :last-child, .team-grid > :last-child { grid-column: span 2; max-width: calc(50% - 18px); justify-self: center; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .topics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 100px var(--gutter) 40px; background: var(--navy-950); color: var(--on-navy);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 2.4rem; }
  .main-nav .btn { margin-top: 24px; }
  .site-header.is-scrolled .main-nav .btn-gold { background: var(--gold); color: var(--navy-950); }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--on-navy); }
  body.menu-open .header-inner::before { opacity: 0; }
  .site-header { inset: 10px 0 auto; }
  .header-inner { height: 60px; padding: 0 7px 0 18px; }
  .main-nav a:not(.btn) { padding: 4px 0; opacity: 1; background: none !important; }
  .main-nav a[aria-current="page"] { color: var(--gold); }
  .main-nav .btn { margin-left: 0; }
  .hero { padding-top: 64px; }
  body.menu-open .site-header .brand-mark-light { display: block; }
  body.menu-open .site-header .brand-mark-dark { display: none; }
  .brand { position: relative; z-index: 2; }

  .page-hero-grid, .manifesto-grid, .faq-grid, .split, .story-grid, .profile, .contact-grid { grid-template-columns: 1fr; }
  .page-hero .arch-figure { max-width: 420px; margin: 24px auto 0; width: calc(100% - 20px); }
  .stage { aspect-ratio: 4 / 3.6; }
  .stage-photo { object-position: 50% 30%; }
  .stage-arch { width: 74%; top: 3%; }
  .stage::before { width: 90%; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .faq-grid .sticky { position: static; }
  .profile:nth-child(even) .profile-photo { order: 0; }
  .profile-photo { max-width: 460px; }
  .manifesto-img .mono { right: 12px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 200px 200px; }
  .gallery img:first-child { grid-row: auto; grid-column: span 2; }
  .lead-card { grid-template-columns: 160px 1fr; }
  .other-areas { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .areas-grid, .team-grid, .topics, .steps { grid-template-columns: 1fr; }
  .areas-grid > :last-child, .team-grid > :last-child { grid-column: auto; max-width: none; }
  .steps li, .steps li + li { padding: 28px 0 8px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .posts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .post-card-body { padding: 14px 14px 18px; }
  .post-card-body h3 { font-size: 1.05rem; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .lead-card { grid-template-columns: 1fr; }
  .lead-card img { max-width: 240px; }
  .address-block { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .stage { aspect-ratio: 1 / 0.98; }
  .hero-badge { font-size: 0.6rem; letter-spacing: 0.1em; padding: 7px 12px 7px 10px; }
  .stage-photo { object-position: 50% 0%; }
  .stage-arch { width: 96%; top: 2%; }
  .stage-copy { margin-top: -84px; }
  .stage-names { gap: 16px 0; }
  .stage-names li { padding: 0 14px; }
  .stage-names li + li { border-left: 0; }
  .stage-names strong { font-size: 1.05rem; }
  .brand-text strong { font-size: 1rem; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery img { aspect-ratio: 4 / 3; }
  .gallery img:first-child { grid-column: auto; }
  .btn { padding: 0 22px; }
}
