/* ==========================================================================
   Aline Sampaio Advocacia — folha de estilos
   Paleta: branco/off-white predominantes, marrom #39210D nos detalhes.
   ========================================================================== */

/* ---------- Fontes (hospedadas no próprio site: mais rápido e sem rastreio de terceiros) ---------- */
@font-face {
  font-family: "Questrial";
  src: url("../fonts/questrial-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Questrial";
  src: url("../fonts/questrial-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --ivory: #faf8f5;
  --sand: #f2ece4;
  --sand-2: #e8dfd3;
  --caramel: #b48a62;      /* decorativo (filetes, ornamentos) */
  --caramel-ink: #8a6440;  /* caramelo com contraste para texto pequeno */
  --brown: #39210d;        /* marca */
  --brown-2: #4f3320;
  --ink: #2e241c;          /* texto principal */
  --muted: #65584d;        /* texto secundário (contraste AA sobre branco) */
  --line: rgba(57, 33, 13, .14);
  --line-strong: rgba(57, 33, 13, .28);

  --font-sans: "Century Gothic", CenturyGothic, "Questrial", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font-sans);
  --display-weight: 400;
  --display-tracking: -0.015em;

  --fs-body: clamp(1.0625rem, 1rem + .22vw, 1.125rem);     /* 17 → 18px */
  --fs-small: clamp(.875rem, .85rem + .1vw, .9375rem);
  --fs-eyebrow: .78rem;
  --fs-h1: clamp(2.3rem, 1.45rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 1.9vw, 3rem);
  --fs-h3: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --fs-lead: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(57, 33, 13, .05), 0 4px 14px rgba(57, 33, 13, .05);
  --shadow: 0 2px 6px rgba(57, 33, 13, .04), 0 18px 40px -12px rgba(57, 33, 13, .16);
  --shadow-lg: 0 30px 70px -24px rgba(57, 33, 13, .32);

  --container: 1200px;
  --gutter: clamp(1.25rem, .8rem + 2.2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  color: var(--brown);
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brown); color: var(--white); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.measure { max-width: 66ch; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--brown); color: var(--white); padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }
.nw { white-space: nowrap; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Palavra de destaque nos títulos */
.accent { color: var(--brown); position: relative; white-space: nowrap; font-style: normal; }
.accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: 1px;
  background: linear-gradient(90deg, var(--caramel), transparent);
}

/* Eyebrow / rótulo */
.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow); letter-spacing: .26em; text-transform: uppercase;
  color: var(--caramel-ink); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--caramel); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: var(--caramel); }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }

/* Ornamento: losango + filetes */
.ornament { display: flex; align-items: center; gap: .75rem; color: var(--caramel); }
.ornament::before, .ornament::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: .55; }
.ornament span { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }

/* Texto justificado (com hifenização para evitar espaços largos) */
.lead, .section-head--split p, .situations-intro .lead,
.about-text p:not(.about-role), .step p, .partner-body p:not(.eyebrow), .cta-box p:not(.eyebrow),
.form-card > p {
  text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto;
}
/* No celular, colunas estreitas: alinhado à esquerda para evitar espaços largos entre palavras */
@media (max-width: 640px) {
  .lead, .section-head--split p, .service-card p:not(.service-sub), .situations-intro .lead,
  .about-text p:not(.about-role), .step p, .partner-body p:not(.eyebrow), .cta-box p:not(.eyebrow),
  .form-card > p { text-align: left; }
}

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--brown); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 52px; padding: .9rem 1.6rem;
  font: inherit; font-size: .98rem; letter-spacing: .02em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bg); border-radius: 999px; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brown-2); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(57, 33, 13, .6); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--brown); border-color: var(--line-strong); }
.btn--ghost::before { background: var(--brown); }
.btn--ghost:hover { color: var(--white); border-color: var(--brown); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--brown); }
.btn--light::before { background: var(--sand); }
.btn--sm { min-height: 44px; padding: .6rem 1.2rem; font-size: .92rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; color: var(--brown);
  font-size: .98rem; letter-spacing: .02em; padding-block: .35rem;
  background: linear-gradient(var(--brown), var(--brown)) left bottom / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Ícones (traço fino) ---------- */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 1.25rem;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: .7rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(190px, 14vw + 90px, 250px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
.nav a:not(.btn) {
  position: relative; font-size: .95rem; letter-spacing: .03em; color: var(--ink); padding-block: .4rem;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--brown);
  transition: left .35s var(--ease), right .35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--brown); }
.nav a:not(.btn):hover::after { left: 0; right: 0; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 1px; background: var(--brown);
  transform: translate(-50%, -4px); transition: transform .35s var(--ease);
}
.nav-toggle span::before { content: ""; transform: translate(-50%, 8px); left: 50%; top: 0; }
.nav-open .nav-toggle span { transform: translate(-50%, 0) rotate(45deg); }
.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(-90deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(7.5rem, 6rem + 6vw, 11rem);
  padding-bottom: clamp(4rem, 3rem + 4vw, 7rem);
  background:
    radial-gradient(1100px 600px at 85% 10%, rgba(232, 223, 211, .55), transparent 60%),
    linear-gradient(180deg, var(--ivory), var(--white) 85%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2.5rem, 5vw, 6rem); align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { max-width: 54ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: var(--fs-small); color: var(--muted);
}
.hero-meta strong { font-weight: 400; color: var(--brown); }
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--caramel); }

.hero-figure { position: relative; justify-self: end; width: min(100%, 470px); }
.hero-figure .frame-photo {
  position: relative; z-index: 2; border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--sand);
}
.hero-figure .frame-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.hero-figure:hover .frame-photo img { transform: scale(1.03); }
.hero-figure .frame-line {
  position: absolute; z-index: 1; inset: -18px 18px 18px -18px;
  border: 1px solid var(--caramel); border-radius: 240px 240px var(--radius) var(--radius); opacity: .75;
}
.hero-figure .frame-shape {
  position: absolute; z-index: 0; width: 72%; aspect-ratio: 1; right: -16%; bottom: -10%;
  background: var(--sand); border-radius: 50%;
}
.hero-figure .frame-mono {
  position: absolute; z-index: 1; width: 50%; right: -28%; top: 1%;
  opacity: .5; pointer-events: none; user-select: none;
}
.hero-badge {
  position: absolute; z-index: 4; left: clamp(-2.5rem, -3vw, -1rem); bottom: 9%;
  display: flex; align-items: center; gap: .9rem;
  padding: .95rem 1.25rem .95rem 1rem; max-width: 270px;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: .88rem; line-height: 1.4; color: var(--ink);
}
.hero-badge .badge-icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ivory); color: var(--brown); border: 1px solid var(--line);
}
.hero-badge strong { display: block; font-weight: 400; color: var(--brown); }

/* Faixa de pilares */
.pillars { border-block: 1px solid var(--line); background: var(--white); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar {
  display: flex; align-items: center; gap: 1rem; padding: 1.6rem clamp(1rem, 2vw, 2rem);
  font-size: .98rem; color: var(--ink);
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar .icon { width: 28px; height: 28px; color: var(--brown); flex: none; }

/* ---------- Seções ---------- */
.section { padding-block: var(--section); position: relative; }
.section--ivory { background: var(--ivory); }
.section-head { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head--split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end;
}
.section-head--split p { margin: 0; color: var(--muted); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head h2 { margin-bottom: 0; }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 1.6vw, 1.5rem); }
.service-card {
  grid-column: span 3; position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2.3rem); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 2.2rem; right: 2.2rem; top: 0; height: 2px;
  background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -90px; top: -90px;
  border-radius: 50%; background: var(--ivory); transition: transform .7s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { transform: scale(1.25); }
.service-card--featured { grid-column: span 4; min-height: 100%; }
.services-grid .service-card:nth-child(-n+3) { padding-bottom: clamp(2rem, 3vw, 2.8rem); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.8rem; }
.service-icon {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--brown); background: var(--white);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--brown); color: var(--white); border-color: var(--brown); }
.service-num {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .12em; color: var(--caramel-ink);
}
.service-card h3 { margin-bottom: .35rem; }
.service-sub { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--caramel-ink); margin-bottom: .9rem; }
.service-card p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-bottom: 1.6rem; }
.service-card .link-arrow { margin-top: auto; align-self: flex-start; }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-tag {
  display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--brown);
}

/* ---------- Situações (perguntas frequentes do dia a dia) ---------- */
.situations { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.situations-intro { position: sticky; top: 120px; }
.situations-list { list-style: none; margin: 0; padding: 0; counter-reset: sit; }
.situations-list li { border-top: 1px solid var(--line); }
.situations-list li:last-child { border-bottom: 1px solid var(--line); }
.situations-list a {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; align-items: center;
  padding: 1.35rem .25rem; transition: padding .4s var(--ease), background-color .4s var(--ease);
}
.situations-list a::before {
  counter-increment: sit; content: counter(sit, decimal-leading-zero);
  font-family: var(--font-display); color: var(--caramel-ink); font-size: 1rem; letter-spacing: .08em;
}
.situations-list .q { color: var(--ink); line-height: 1.5; }
.situations-list .svc { display: block; margin-top: .25rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--caramel-ink); }
.situations-list .go {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brown);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.situations-list .go svg { width: 18px; height: 18px; }
.situations-list a:hover { padding-left: 1rem; background: linear-gradient(90deg, var(--ivory), transparent); }
.situations-list a:hover .go { background: var(--brown); color: var(--white); transform: rotate(-45deg); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 7vw, 7.5rem); align-items: center; }
.about-figure { position: relative; width: min(100%, 480px); }
.about-figure .photo {
  position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
}
.about-figure .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-figure .block {
  position: absolute; z-index: 1; inset: 12% -12% -8% 14%; background: var(--sand); border-radius: var(--radius-lg);
}
.about-figure .mono-mark {
  position: absolute; z-index: 3; right: -8%; bottom: 6%;
  width: 150px; padding: 1.1rem 1.2rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.about-figure .mono-mark img { width: 100%; }
.about-figure .mono-mark small { white-space: nowrap; display: block; margin-top: .55rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-align: center; }
.about-role { font-size: .95rem; letter-spacing: .04em; color: var(--caramel-ink); margin: -.2rem 0 1.8rem; }
.about-text p { color: var(--ink); }
.about-statement {
  position: relative; margin: 2rem 0; padding: 1.4rem 0 1.4rem 1.6rem;
  border-left: 1px solid var(--caramel);
  font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.45; color: var(--brown);
}
.credentials { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.credentials li {
  display: grid; grid-template-columns: 34px 1fr; gap: 1rem; align-items: start;
  padding: 1rem 0; border-top: 1px solid var(--line); font-size: 1rem; color: var(--ink);
}
.credentials li:last-child { border-bottom: 1px solid var(--line); }
.credentials .icon { color: var(--brown); width: 24px; height: 24px; margin-top: .1rem; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2vw, 2rem); position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.step { position: relative; padding-right: 1rem; }
.step-num {
  position: relative; z-index: 1; width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 1.6rem;
  border-radius: 50%; background: var(--white); border: 1px solid var(--brown); color: var(--brown);
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .04em;
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.step:hover .step-num { background: var(--brown); color: var(--white); }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Faixa de foto + contadores */
.partner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.partner-media { position: relative; min-height: 320px; }
.partner-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner-body { padding: clamp(2rem, 4vw, 3.6rem); }
.partner-body p { color: var(--muted); }
.partner-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .65rem; }
.partner-list li { display: flex; gap: .8rem; align-items: center; color: var(--ink); font-size: 1rem; }
.partner-list li::before { content: ""; width: 7px; height: 7px; flex: none; transform: rotate(45deg); border: 1px solid var(--brown); }

/* ---------- Chamada (faixa marrom) ---------- */
.cta-band { padding-block: clamp(1rem, 2vw, 2rem) var(--section); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem 3rem; align-items: center;
  padding: clamp(2.4rem, 5vw, 4.5rem);
  background: var(--brown); color: rgba(255, 255, 255, .82); border-radius: var(--radius-lg);
}
.cta-box h2 { color: var(--white); margin-bottom: .6rem; }
.cta-box p { margin: 0; max-width: 56ch; }
.cta-box .cta-mono { position: absolute; z-index: -1; right: 4%; bottom: -26%; width: 440px; opacity: .07; }
.cta-box .cta-lines {
  position: absolute; z-index: -1; inset: 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: calc(var(--radius-lg) - 8px);
}
.cta-box .eyebrow { color: #d8bfa3; }
.cta-box .eyebrow::before { background: #d8bfa3; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: .2rem; }
.contact-list li { border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list div {
  display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; padding: 1.05rem 0;
}
.contact-list .ci {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--brown); border: 1px solid var(--line-strong);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.contact-list a:hover .ci { background: var(--brown); color: var(--white); }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--caramel-ink); }
.contact-list span { color: var(--ink); overflow-wrap: anywhere; }
.area { margin-top: 2.2rem; }
.area h3 { font-size: 1.1rem; font-family: var(--font-sans); letter-spacing: .02em; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li {
  font-size: .88rem; padding: .4rem .85rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink);
}
.chips li.is-strong { background: var(--brown); color: var(--white); border-color: var(--brown); }

.form-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 3rem); box-shadow: var(--shadow);
}
.form-card::before {
  content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--brown), transparent);
}
.form-card h3 { margin-bottom: .4rem; }
.form-card > p { color: var(--muted); font-size: 1rem; margin-bottom: 1.8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; letter-spacing: .04em; color: var(--ink); }
.field label .opt { color: var(--muted); font-size: .8rem; }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2339210D' stroke-width='1.4' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:not([type=checkbox]):focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brown); background: var(--white); box-shadow: 0 0 0 4px rgba(57, 33, 13, .08);
}
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.consent input {
  width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--brown); cursor: pointer;
}
.consent a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .4rem; }
.form-foot small { color: var(--muted); font-size: .82rem; }
.hidden-field { display: none; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--brown); color: rgba(255, 255, 255, .74); padding-top: clamp(3.5rem, 6vw, 5.5rem); font-size: .95rem; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 191, 163, .5), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 230px; margin-bottom: 1.4rem; }
.footer-brand p { max-width: 34ch; margin: 0; }
.site-footer .footer-title {
  font-family: var(--font-sans); font-weight: 400; font-style: normal; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: #d8bfa3; margin: 0 0 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { transition: color .3s var(--ease), padding .3s var(--ease); }
.footer-links a:hover { color: var(--white); padding-left: .3rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
  padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .62);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }
.footer-note { font-size: .8rem; color: rgba(255, 255, 255, .55); max-width: 80ch; padding-bottom: 1.6rem; margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 60;
  display: flex; align-items: center; gap: .7rem;
  height: 60px; padding: 0 .5rem 0 .5rem; border-radius: 999px;
  background: var(--brown); color: var(--white); box-shadow: 0 16px 34px -12px rgba(57, 33, 13, .55);
  transition: transform .4s var(--ease), padding .4s var(--ease);
}
.wa-float .wa-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.wa-float .wa-ico svg { width: 22px; height: 22px; }
.wa-float .wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .92rem; transition: max-width .5s var(--ease), padding .5s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float:hover .wa-label { max-width: 220px; padding-right: .9rem; }
.wa-float::after {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid var(--brown); opacity: 0;
  animation: wa-ring 3.2s var(--ease) 2s infinite;
}
@keyframes wa-ring { 0% { opacity: .5; transform: scale(.94); } 70%, 100% { opacity: 0; transform: scale(1.12); } }

/* ---------- Animações ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(8% 8% 8% 8% round var(--radius-lg)); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.is-visible { clip-path: inset(0 0 0 0 round 0); }


/* ==========================================================================
   Páginas internas (serviços, política, 404, agradecimento)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(8rem, 6.5rem + 5vw, 11rem); padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(232, 223, 211, .6), transparent 62%),
    linear-gradient(180deg, var(--ivory), var(--white));
  border-bottom: 1px solid var(--line);
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 3rem; align-items: center; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .4rem .6rem; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .6rem; color: var(--caramel); }
.breadcrumb a { color: var(--muted); transition: color .3s var(--ease); }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb [aria-current] { color: var(--brown); }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.7rem); margin-bottom: 1rem; }
.page-sub { font-size: .85rem; letter-spacing: .26em; text-transform: uppercase; color: var(--caramel-ink); margin: -.2rem 0 1.4rem; }
.page-hero .lead { max-width: 58ch; margin: 0; }
.page-emblem { position: relative; justify-self: end; width: min(100%, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.page-emblem .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong); }
.page-emblem .ring:nth-child(2) { inset: 13%; border-color: var(--caramel); opacity: .6; }
.page-emblem .ring:nth-child(3) { inset: 26%; background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.page-emblem .emblem-icon { position: relative; color: var(--brown); }
.page-emblem .emblem-icon .icon { width: 64px; height: 64px; stroke-width: 1; }
.page-emblem .emblem-mono {
  position: absolute; right: -6%; top: 8%; width: 112px; color: var(--brown);
}
.page-emblem .emblem-mono img { width: 100%; height: auto; }
.page-emblem .dot-orbit { position: absolute; width: 9px; height: 9px; left: 50%; top: -4px; margin-left: -4px; transform: rotate(45deg); background: var(--brown); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.article h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.25rem); display: flex; align-items: center; gap: 1rem;
  position: relative; padding-bottom: 1rem; margin-bottom: 1.6rem;
}
.article h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(100%, 220px); height: 1px;
  background: linear-gradient(90deg, var(--caramel), rgba(180, 138, 98, .15) 70%, transparent);
}
.article h2 .h-num { font-size: .95rem; letter-spacing: .14em; color: var(--caramel-ink); }
.article p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.article section + section { margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--line); position: relative; }
.article section + section::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; transform: rotate(45deg); background: var(--white); border: 1px solid var(--caramel);
}
.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.benefit-list li {
  position: relative; display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; align-items: start;
  padding: 1.1rem 1.3rem; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .4s var(--ease);
}
.benefit-list li:hover { border-color: var(--line-strong); background: var(--white); transform: translateX(4px); }
.benefit-list .b-num { font-size: .9rem; letter-spacing: .1em; color: var(--caramel-ink); padding-top: .15rem; }

.aside-card {
  position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.aside-card .aside-photo { aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--sand); }
.aside-card .aside-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.aside-card .aside-body { padding: 1.5rem 1.6rem 1.7rem; }
.aside-card .aside-name { font-size: 1.15rem; color: var(--brown); margin: 0; }
.aside-card .aside-role { font-size: .85rem; color: var(--muted); margin: .2rem 0 1.2rem; }
.aside-card .btn { width: 100%; }
.aside-card small { display: block; margin-top: .9rem; font-size: .8rem; color: var(--muted); text-align: center; }

.page-cta { padding-block: 0 var(--section); }
.legal-text { max-width: 74ch; }
.legal-text h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); margin-top: 2.6rem; }
.legal-text ul { padding-left: 1.2rem; }
.legal-text li { margin-bottom: .5rem; }
.legal-text p, .legal-text li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.legal-text a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

.simple-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 8rem var(--gutter) 5rem;
  background: radial-gradient(800px 500px at 50% 0%, rgba(232, 223, 211, .55), transparent 65%), var(--ivory); }
.simple-page .big { font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--caramel); margin-bottom: 1rem; letter-spacing: .04em; }
.simple-page p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.simple-page .eyebrow { max-width: none; }
.simple-page .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.simple-page .mono { width: 110px; margin: 0 auto 2rem; }

@media (max-width: 920px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-emblem { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; display: grid; grid-template-columns: 140px 1fr; align-items: center; }
  .aside-card .aside-photo { aspect-ratio: auto; height: 100%; }
}
@media (max-width: 640px) {
  .article p, .legal-text p, .legal-text li { text-align: left; }
  .aside-card { grid-template-columns: 1fr; }
  .aside-card .aside-photo { aspect-ratio: 4 / 3; }
  .benefit-list li { grid-template-columns: 2rem 1fr; padding: 1rem; }
}


/* ---------- Artigos ---------- */
.article-head { max-width: 860px; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; color: var(--muted); font-size: .92rem; margin: .4rem 0 0; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--caramel); }
.prose { max-width: 70ch; margin-inline: auto; }
.prose p, .prose li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose > p:first-child { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); }
.prose h2 {
  font-size: clamp(1.45rem, 1.25rem + .8vw, 1.95rem); margin: 2.6rem 0 1.1rem; padding-bottom: .9rem; position: relative;
}
.prose h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 160px; height: 1px; background: linear-gradient(90deg, var(--caramel), transparent); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .7rem; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .65em; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--brown); }
.prose strong { font-weight: 600; color: var(--brown); }
.prose-note { margin-top: 2.6rem; padding: 1rem 1.2rem; background: var(--ivory); border-left: 1px solid var(--caramel); font-size: .92rem; color: var(--muted); }
.prose-author { display: flex; align-items: center; gap: 1.2rem; margin: 2.2rem 0 1.6rem; padding: 1.3rem 0; border-block: 1px solid var(--line); }
.prose-author img { width: 64px; }
.prose-author p { margin: 0; font-size: .95rem; color: var(--muted); text-align: left; }
.prose-author strong { color: var(--brown); font-weight: 400; }
.icon-flip { transform: scaleX(-1); }
.link-arrow:hover .icon-flip { transform: scaleX(-1) translateX(4px); }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.post-card {
  position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 2.6vw, 2.2rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--caramel-ink); margin-bottom: 1.2rem; }
.post-meta time::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--caramel); margin-right: .9rem; vertical-align: middle; }
.post-card h2 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.25; margin-bottom: .8rem; }
.post-card p:not(.post-meta) { color: var(--muted); font-size: 1rem; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }
.stretched-link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 640px) { .prose p, .prose li { text-align: left; }  }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .service-card, .service-card--featured { grid-column: span 6; }
  .services-grid .service-card:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: 2.5rem;
    background: var(--white); box-shadow: -30px 0 60px -30px rgba(57, 33, 13, .35);
    transform: translateX(105%); transition: transform .5s var(--ease); visibility: hidden;
  }
  .nav a:not(.btn) { font-size: 1.25rem; font-family: var(--font-display); color: var(--brown); }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-toggle { position: relative; z-index: 60; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 54; background: rgba(46, 36, 28, .28); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { justify-self: center; width: min(88%, 420px); margin-top: 1.5rem; }
  .hero-figure .frame-mono { width: 46%; right: -11%; top: 0; }
  .hero-badge { left: -6%; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar { padding-inline: 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .situations { grid-template-columns: 1fr; }
  .situations-intro { position: static; }
  .about { grid-template-columns: 1fr; }
  .about-figure { width: min(86%, 420px); margin-inline: auto 14%; }
  .partner { grid-template-columns: 1fr; }
  .partner-media { min-height: 240px; }
  .cta-box { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .service-card, .service-card--featured { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { left: -4%; bottom: 6%; max-width: 230px; font-size: .82rem; }
  .about-figure .mono-mark { right: -10%; width: 120px; }
  .wa-float { height: 56px; }
  .eyebrow { letter-spacing: .18em; font-size: .72rem; gap: .65rem; }
  .eyebrow::before, .eyebrow--center::after { width: 22px; }
  .situations-list a { grid-template-columns: 2.2rem 1fr; padding-block: 1.15rem; }
  .situations-list .go { display: none; }
  .situations-list .svc { letter-spacing: .1em; font-size: .72rem; }
  .cta-box .btn { width: 100%; white-space: nowrap; padding-inline: 1.1rem; }
  .cta-box { padding: 2rem 1.5rem; }
  .cta-box .cta-lines { inset: 10px; }
  .about-figure .mono-mark small { letter-spacing: .14em; }
  .brand img { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
}
