/* =========================================================================
   Iza Rossiter Advocacia — sistema visual
   Tokens derivados de branding/BRANDING_CANONICO.md §7 (HG-0).
   Ouro #967652→#E6D4B4 · Ink #222222 · Off-white #F3F3F3.
   Display: Bodoni Moda (Didone, ecoa o wordmark) · Texto: Hanken Grotesk.
   ========================================================================= */

/* ---- Reset enxuto ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 2px; }

/* Skip link — visible on keyboard focus */
.skip-link {
  position: fixed; top: 0; left: 1rem; z-index: var(--z-menu);
  background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; font-weight: 600; font-size: 0.95rem;
  border-radius: 0 0 var(--radius) var(--radius); text-decoration: none;
  transform: translateY(-120%); transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); outline-color: var(--gold-light); }

/* =========================================================================
   Tokens
   ========================================================================= */
:root {
  /* Marca */
  --gold-dark:  #967652;
  --gold-light: #e6d4b4;
  --gold-mid:   #b8986b;
  --gold-ink:   #836237;             /* gold escuro p/ TEXTO pequeno sobre claro — ~5:1 AA */
  --ink:        #222222;
  --ink-soft:   #3a3733;
  --paper:      #f3f3f3;
  --white:      #ffffff;

  /* Papéis semânticos (claro) */
  --bg:          var(--paper);
  --surface:     var(--white);
  --text:        #1d1c1a;            /* corpo: ~14:1 sobre paper */
  --text-muted:  #5c5852;            /* ~6:1 sobre paper — passa AA */
  --line:        #e0ddd6;            /* hairline neutra */
  --line-strong: #cfcabf;

  --gold-grad:   linear-gradient(120deg, var(--gold-light) 0%, var(--gold-dark) 55%, #7d603f 100%);
  --gold-hair:   linear-gradient(90deg, transparent, var(--gold-mid) 18%, var(--gold-light) 50%, var(--gold-mid) 82%, transparent);

  /* Tipografia */
  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-small:   0.9rem;
  --fs-body:    1.0625rem;           /* 17px */
  --fs-lead:    clamp(1.125rem, 0.9rem + 0.9vw, 1.375rem);
  --fs-h3:      clamp(1.3rem, 1.05rem + 1.1vw, 1.7rem);
  --fs-h2:      clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
  --fs-display: clamp(2.5rem, 1.6rem + 3.9vw, 4.25rem);

  /* Espaço & ritmo */
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --container: 1180px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --radius: 4px;
  --radius-lg: 10px;

  /* Sombra (definida, nunca borda+sombra juntas) */
  --shadow-soft: 0 18px 50px -28px rgba(34, 28, 18, 0.45);
  --shadow-card: 0 22px 60px -34px rgba(34, 28, 18, 0.5);

  /* Movimento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* ease-out-expo-ish */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur-press: 130ms;
  --dur-1: 180ms;
  --dur-2: 420ms;
  --dur-3: 640ms;

  /* Camadas */
  --z-base: 1;
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-menu: 400;
}

/* =========================================================================
   Base
   ========================================================================= */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html { overflow-x: clip; color-scheme: light; }
/* Lenis smooth-scroll base */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
a, button, .btn, summary, label, input, select, textarea { touch-action: manipulation; }
section[id], [id] { scroll-margin-top: 96px; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}
/* Texto nunca estoura o container; itens de grid/flex podem encolher */
h1, h2, h3, h4, p, li, dd, a, strong { overflow-wrap: break-word; }
.hero-copy, .sobre-body, .contato-methods, .contato-form,
.area-card, .step, .blog-card, .section-head, .contato-row__txt { min-width: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); }

/* Seleção */
::selection { background: var(--gold-light); color: var(--ink); }

/* Hairline dourada reutilizável */
.goldline { height: 1px; border: 0; background: var(--gold-hair); opacity: 0.9; }

/* Eyebrow — usado com parcimônia, NÃO em toda seção */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-grad); }

/* =========================================================================
   Botões
   ========================================================================= */
.btn {
  --pad-y: 0.95rem; --pad-x: 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-body);
  font-size: 0.97rem; font-weight: 600; letter-spacing: 0.01em;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur-1) var(--ease-out),
              background-color var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #f7f4ee; }
.btn-primary:hover { background: #100f0d; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-primary .sheen { display: none; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold-dark); color: var(--gold-ink); transform: translateY(-2px); }

.btn-gold { background: var(--gold-grad); color: #2a1f10; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -22px rgba(150,118,82,0.8); }

.btn-lg { --pad-y: 1.1rem; --pad-x: 2rem; font-size: 1.02rem; }

/* Press feedback (Emil): instant, fast, snappy release */
.btn { transition: transform var(--dur-press) var(--ease-out),
              background-color var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out),
              border-color var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out); }
.btn:active { transform: scale(0.965); }
.btn-primary:active, .btn-ghost:active, .btn-gold:active { transform: scale(0.965); }

/* Link com sublinhado dourado animado */
.ulink { position: relative; text-decoration: none; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ulink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.ulink:hover::after, .ulink:focus-visible::after { transform: scaleX(1); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: background-color var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(243, 243, 243, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
/* Emil: gold hairline draws across the header once scrolled */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: center;
  transition: transform 600ms var(--ease-out); opacity: 0.85;
}
.site-header.scrolled::after { transform: scaleX(1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__mono { width: 38px; height: 38px; object-fit: contain; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); line-height: 1;
  padding-left: 0.1em;
}
.brand__name small { display: block; font-family: var(--font-body); font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.24em; color: var(--gold-dark); margin-top: 0.32rem; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; position: relative; transition: color var(--dur-1) var(--ease-out); }
.nav a::after { content:""; position:absolute; left:0; bottom:-6px; height:1.5px; width:100%; background: var(--gold-grad); transform: scaleX(0); transform-origin:left; transition: transform var(--dur-2) var(--ease-out); }
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { margin-left: 0.4rem; }

.nav-toggle { display: none; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding-top: clamp(7rem, 6rem + 6vw, 10rem); padding-bottom: var(--space-section); overflow: hidden; }
.hero::before { /* halo dourado sutil, atrás do retrato */
  content: ""; position: absolute; right: -10%; top: 8%; width: 50vw; height: 50vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at center, rgba(230,212,180,0.5), rgba(230,212,180,0) 62%);
  filter: blur(10px); z-index: 0; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero-copy { max-width: 38rem; }
.hero-label { margin-bottom: 1.6rem; }
.hero h1 {
  font-size: var(--fs-display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1;
  padding-bottom: 0.08em;
}
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero-lead { margin-top: 1.6rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 33rem; }
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
/* Faixa de credenciais — dentro do hero (abaixo dos CTAs) */
.hero-trust { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.hero-trust li { list-style: none; font-size: var(--fs-small); color: var(--text-muted); display: flex; align-items: center; gap: 0.55rem; }
.hero-trust li::before { content:""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-dark); flex: none; }

.hero-figure { position: relative; justify-self: center; }
.hero-figure__frame { position: relative; width: min(100%, 430px); aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.hero-figure__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero-figure__rule { position: absolute; inset: auto -14px -14px -14px; height: 2px; background: var(--gold-grad); border-radius: 2px; opacity: 0.85; }
.hero-figure__badge {
  position: absolute; left: -22px; bottom: 34px; background: var(--ink); color: #f4efe6;
  padding: 1rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow-soft); max-width: 200px;
}
.hero-figure__badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); display:block; line-height:1; font-variant-numeric: tabular-nums; }
.hero-figure__badge span { font-size: 0.78rem; color: #cbc4b8; letter-spacing: 0.02em; }

/* =========================================================================
   Seções genéricas
   ========================================================================= */
.section { padding-block: var(--space-section); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.section-head h2 { font-size: var(--fs-h2); margin-top: 0; }
.section-head p { margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--ink-soft); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }

/* ---- Áreas ---- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.area-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 2.5vw, 2.6rem);
  overflow: hidden; transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.area-card::after { content:""; position:absolute; left:0; top:0; right:0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease-out); }
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }
.area-card:hover::after { transform: scaleX(1); }
.area-card h3 { font-size: var(--fs-h3); margin: 0 0 1rem; }
.area-card__lead { color: var(--ink-soft); }
.area-card__list { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.area-card__list li { position: relative; padding-left: 1.6rem; font-size: 0.97rem; color: var(--text); }
.area-card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px;
  border: 1.5px solid var(--gold-dark); border-radius: 50%;
}

/* =========================================================================
   Manifesto (faixa escura)
   ========================================================================= */
.manifesto { background: var(--ink); color: #efe9df; position: relative; overflow: hidden; }
.manifesto::before { content:""; position:absolute; inset:0; background:
  radial-gradient(60% 80% at 80% 20%, rgba(150,118,82,0.22), transparent 60%),
  radial-gradient(50% 70% at 10% 90%, rgba(150,118,82,0.14), transparent 60%); pointer-events:none; }
.manifesto .container { position: relative; }
.manifesto blockquote { max-width: 20ch; margin-inline: auto; text-align: center; }
@media (min-width: 760px) { .manifesto blockquote { max-width: 30ch; } }
.manifesto q { quotes: none; }
.manifesto p.q {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(1.7rem, 1rem + 3.4vw, 3.2rem); line-height: 1.22; letter-spacing: -0.01em;
  color: #f5efe4;
}
.manifesto p.q b { font-style: normal; font-weight: 600; color: var(--gold-light); }
.manifesto .attr { margin-top: 2rem; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: #b6ab98; }
.manifesto .attr span { color: var(--gold-light); }

/* =========================================================================
   Sobre
   ========================================================================= */
.sobre-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sobre-figure { position: relative; position: sticky; top: 110px; }
.sobre-figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); object-fit: cover; aspect-ratio: 4/5; object-position: 50% 20%; }
.sobre-body h2 { font-size: var(--fs-h2); margin-top: 1.1rem; }
.sobre-body .lead { font-size: var(--fs-lead); color: var(--ink-soft); margin-top: 1.4rem; }
.sobre-body p + p { margin-top: 1.15rem; }
.sobre-body .prose { margin-top: 1.4rem; max-width: 60ch; }
.sobre-body .prose strong { color: var(--ink); font-weight: 600; }

.creds { margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1.8rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem 1.8rem; }
.cred { }
.cred dt { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.cred dd { font-size: 0.98rem; margin-top: 0.3rem; color: var(--text); }

/* Valores — faixa discreta */
.values { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.values span { font-size: 0.82rem; color: var(--text-muted); border: 1px solid var(--line); border-radius: 100px; padding: 0.4rem 0.9rem; }

/* =========================================================================
   Como funciona
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.2rem, 2.5vw, 1.8rem); counter-reset: step; }
.step { position: relative; padding-top: 2.2rem; }
.step::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--line); }
.step::after { content: ""; position: absolute; left: 0; top: 0; width: 38px; height: 2px; background: var(--gold-grad); }
.step__n { counter-increment: step; font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-ink); }
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 1.18rem; margin: 0.7rem 0 0.6rem; }
.step p { font-size: 0.97rem; color: var(--ink-soft); }

/* =========================================================================
   Contato
   ========================================================================= */
.contato { background: var(--ink); color: #efe9df; }
.contato .container { position: relative; }
.contato-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contato h2 { color: #f6f1e8; font-size: var(--fs-h2); }
.contato .lead { color: #cdc5b6; font-size: var(--fs-lead); margin-top: 1.3rem; max-width: 40ch; }
.contato-list { list-style: none; margin-top: 2.2rem; display: grid; gap: 0.4rem; }
.contato-row { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); text-decoration: none; color: #efe9df; transition: transform var(--dur-2) var(--ease-out); }
.contato-row:hover { transform: translateX(8px); }
.contato-row__ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(230,212,180,0.4); color: var(--gold-light); transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.contato-row:hover .contato-row__ico { background: var(--gold-grad); color: #2a1f10; border-color: transparent; }
.contato-row__ico svg { width: 19px; height: 19px; }
.contato-row__txt small { display: block; font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: #ab9f8b; }
.contato-row__txt strong { font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.contato-figure img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4/5; object-position: 50% 18%; box-shadow: var(--shadow-card); }
.contato-cta { margin-top: 2rem; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: #161513; color: #b8b1a4; padding-block: clamp(3rem, 5vw, 4.5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand img { width: 46px; height: 46px; object-fit: contain; }
.footer-brand .fb-name { font-family: var(--font-display); letter-spacing: 0.18em; text-transform: uppercase; color: #f3eee4; font-size: 1.05rem; }
.footer-brand .fb-sub { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-mid); margin-top: 0.3rem; }
.footer-mission { font-size: 0.94rem; max-width: 46ch; line-height: 1.6; color: #9b9486; }
.footer-meta { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.88rem; }
.footer-meta a { text-decoration: none; color: #cbc4b6; }
.footer-meta a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between; font-size: 0.8rem; color: #837c70; }

/* =========================================================================
   Reveal (motion base — refinado depois por Taste/Emil)
   ========================================================================= */
/* Hidden state só quando JS está ativo — sem JS / crawlers veem tudo (SEO + a11y) */
.js [data-reveal] { opacity: 0; transform: translateY(20px); filter: blur(8px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), filter var(--dur-3) var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Emil: portrait "curtain" reveal — the image rises into frame (clip-path + settle).
   Figures keep opacity from data-reveal but their motion is carried by the clip-path. */
.js .hero-figure, .js .sobre-figure { transform: none; filter: none; }
.js .hero-figure__frame, .js .sobre-figure img, .js .contato-figure img {
  clip-path: inset(0 0 100% 0); transform: scale(1.05);
  transition: clip-path 1000ms var(--ease-out), transform 1200ms var(--ease-out);
  will-change: clip-path, transform;
}
.js .hero-figure.is-in .hero-figure__frame,
.js .sobre-figure.is-in img,
.js .contato-methods.is-in .contato-figure img { clip-path: inset(0 0 0 0); transform: scale(1); }

[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

/* =========================================================================
   Proposta de valor (faixa)
   ========================================================================= */
.valueprop { background: var(--paper); border-bottom: 1px solid var(--line); }
.valueprop .container { padding-block: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.valueprop-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.9rem clamp(1.5rem, 0.5rem + 3vw, 3.2rem); }
.valueprop-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.vp-ico { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(150,118,82,0.12); color: var(--gold-dark); }
.vp-ico svg { width: 15px; height: 15px; }

/* =========================================================================
   Blog
   ========================================================================= */
.blog-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.blog-card {
  position: relative; display: flex; flex-direction: column; gap: 0.9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; min-height: 184px;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; }
.blog-card__tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.18; color: var(--ink); }
.blog-card__soon { margin-top: auto; font-size: 0.78rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.45rem; }
.blog-card__soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-mid); }

/* =========================================================================
   Contato — grid, métodos, formulário
   ========================================================================= */
.contato-head { max-width: 44rem; }
.contato-head .lead { color: #cdc5b6; }
.contato-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contato-figure { margin-top: 1.5rem; }
.contato-figure img { width: 100%; max-width: 320px; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4/5; object-position: 50% 16%; box-shadow: var(--shadow-card); }

.contato-form {
  background: #211f1c; border: 1px solid rgba(230,212,180,0.16); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.5vw, 2.4rem); display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contato-form label { font-size: 0.82rem; letter-spacing: 0.04em; color: #d8d0c2; font-weight: 500; }
.contato-form label .opt { color: #968d7d; font-weight: 400; }
.contato-form input, .contato-form select, .contato-form textarea {
  width: 100%; background: #16140f; border: 1px solid rgba(230,212,180,0.2); border-radius: var(--radius);
  padding: 0.85rem 0.95rem; color: #f3eee4; font-size: 0.98rem; font-family: inherit;
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out);
}
.contato-form textarea { resize: vertical; min-height: 110px; }
.contato-form select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b8986b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.contato-form input::placeholder, .contato-form textarea::placeholder { color: #8a8170; }
.contato-form input:focus, .contato-form select:focus, .contato-form textarea:focus {
  outline: none; border-color: var(--gold-mid); box-shadow: 0 0 0 3px rgba(184,152,107,0.22);
}
.contato-form .field.invalid input, .contato-form .field.invalid textarea { border-color: #d98a78; }
.contato-form .err { font-size: 0.76rem; color: #f0b8aa; min-height: 0; }
.contato-form button { margin-top: 0.3rem; justify-self: start; }
.form-note { font-size: 0.84rem; color: #a99f8e; line-height: 1.5; }
.form-note.ok { color: var(--gold-light); }

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-figure { order: -1; }
  .hero-figure__frame { width: min(100%, 360px); }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-figure { position: relative; top: 0; max-width: 380px; }
  .contato-grid { grid-template-columns: 1fr; }
  .contato-figure { max-width: 360px; }
  .footer-top { grid-template-columns: 1fr; gap: 2.4rem; }
}

@media (max-width: 680px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem;
    position: absolute; inset: 76px 0 auto 0; background: var(--paper);
    padding: 1.8rem var(--gutter) 2.2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft);
  }
  .nav.open a { font-size: 1.1rem; padding: 0.5rem 0; min-height: 44px; display: flex; align-items: center; }
  .header-cta { display: none; }
  .nav.open .header-cta { display: inline-flex; margin-left: 0; margin-top: 0.4rem; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent;
    border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1) var(--ease-out);
  }
  .nav-toggle span::before { transform: translateY(-6px); } .nav-toggle span::after { transform: translateY(4.4px); }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

  .hero-figure__badge { left: 12px; }
  .creds { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .valueprop-list { gap: 0.8rem 1.2rem; }
  .valueprop-list li { font-size: 0.9rem; }
}

/* =========================================================================
   Hover gating (Emil): no sticky hover transforms on touch devices
   ========================================================================= */
@media (hover: none) {
  .btn-primary:hover, .btn-ghost:hover, .btn-gold:hover { transform: none; box-shadow: none; }
  .area-card:hover, .blog-card:hover { transform: none; box-shadow: none; }
  .area-card:hover::after { transform: scaleX(0); }
  .contato-row:hover { transform: none; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .hero-figure__frame, .js .sobre-figure img, .js .contato-figure img { clip-path: none !important; transform: none !important; }
}
