/* Osti & Baroni Comunicação — design system + página */
/* Fontes hospedadas no próprio site (licença OFL — ver assets/fonts). Cormorant estática: a versão variável desloca os acentos no peso 500. */
@font-face{ font-family:"Cormorant Garamond"; font-style:normal; font-weight:300; font-display:swap; src:url("../assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face{ font-family:"Cormorant Garamond"; font-style:normal; font-weight:500; font-display:swap; src:url("../assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face{ font-family:"Cormorant Garamond"; font-style:italic; font-weight:300; font-display:swap; src:url("../assets/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); }
@font-face{ font-family:"Archivo"; font-style:normal; font-weight:300; font-display:swap; src:url("../assets/fonts/archivo-latin-300-normal.woff2") format("woff2"); }
@font-face{ font-family:"Archivo"; font-style:normal; font-weight:400; font-display:swap; src:url("../assets/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face{ font-family:"Archivo"; font-style:normal; font-weight:500; font-display:swap; src:url("../assets/fonts/archivo-latin-500-normal.woff2") format("woff2"); }

/* colors */
:root {
  /* ---- Brand ---- */
  --brand-orange: #F39200;        /* the "&" — signature accent, use sparingly */
  --brand-orange-strong: #D97E00; /* hover / pressed */
  --brand-orange-soft: #FBEFDD;   /* tint fill, backgrounds */
  --brand-orange-line: #F3D8AE;   /* subtle orange border */

  /* ---- Ink (black base) ---- */
  --ink-900: #0E0E0E;   /* near-black, logo contexts */
  --ink-800: #1A1A1A;   /* primary text on light */
  --ink-700: #2A2A2A;   /* graphite */
  --ink-600: #3D3D3D;

  /* ---- Neutrals (warm graphite / off-white) ---- */
  --neutral-500: #6B6864;  /* muted text */
  --neutral-400: #8C8880;  /* captions, meta */
  --neutral-300: #B7B2AA;  /* disabled */
  --neutral-200: #DAD6CF;  /* borders */
  --neutral-150: #E7E3DC;  /* hairlines */
  --neutral-100: #F1EEE8;  /* subtle surface */
  --off-white:   #F7F5F1;  /* page respiro */
  --off-white-2: #FBFAF7;  /* card / raised surface */
  --white: #FFFFFF;

  /* ---- Semantic aliases ---- */
  --text-strong: var(--ink-800);
  --text-body: var(--ink-700);
  --text-muted: var(--neutral-500);
  --text-caption: var(--neutral-400);
  --text-on-dark: #F4F1EC;
  --text-on-dark-muted: #A8A39A;

  --surface-page: var(--white);
  --surface-alt: var(--off-white);
  --surface-card: var(--off-white-2);
  --surface-dark: var(--ink-900);
  --surface-dark-2: #171717;

  --accent: var(--brand-orange);
  --accent-hover: var(--brand-orange-strong);
  --accent-tint: var(--brand-orange-soft);

  --border-default: var(--neutral-200);
  --border-hairline: var(--neutral-150);
  --border-strong: var(--ink-800);
  --border-on-dark: rgba(255,255,255,0.14);

  --focus-ring: rgba(243,146,0,0.45);
}

/* typography */
:root {
  /* ---- Families ---- */
  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- Weights ---- */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ---- Fluid display scale (serif) ---- */
  --text-display: clamp(2.75rem, 1.6rem + 5vw, 5.5rem); /* @kind other */   /* hero */
  --text-h1: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); /* @kind other */
  --text-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); /* @kind other */
  --text-h3: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); /* @kind other */

  /* ---- Body scale (sans) ---- */
  --text-lead: 1.25rem;   /* intros */
  --text-base: 1.0625rem; /* 17px body */
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;

  /* ---- Overline / category label (thin, wide-tracked sans) ---- */
  --text-overline: 0.78rem;

  /* ---- Line heights ---- */
  --leading-tight: 1.08;
  --leading-snug: 1.22;
  --leading-normal: 1.5;
  --leading-relaxed: 1.68;

  /* ---- Tracking ---- */
  --tracking-display: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-overline: 0.34em;  /* "COMUNICAÇÃO" spacing */
}

/* spacing */
:root {
  /* 4px base rhythm */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Section vertical rhythm */
  --section-pad-y: clamp(4rem, 2.5rem + 6vw, 8.5rem);
  --content-max: 1200px;
  --content-narrow: 760px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 4rem); /* @kind spacing */
}

/* radius-shadow */
:root {
  /* Corners — restrained, editorial. Nothing pill-shaped except deliberate CTAs. */
  --radius-none: 0px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  /* Shadows — soft, low, never glowy */
  --shadow-xs: 0 1px 2px rgba(14,14,14,0.05);
  --shadow-sm: 0 2px 8px rgba(14,14,14,0.06);
  --shadow-md: 0 8px 28px rgba(14,14,14,0.08);
  --shadow-lg: 0 20px 56px rgba(14,14,14,0.12);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* Motion */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 140ms; /* @kind other */
  --dur-base: 240ms; /* @kind other */
  --dur-slow: 420ms; /* @kind other */
}

/* Tokens complementares (acessibilidade) */
:root{
  --accent-ink: #9A5200;          /* laranja para TEXTO sobre fundos claros (≥ 6:1) */
  --on-accent: var(--ink-900);    /* texto sobre o laranja (≈ 8:1) */
  --text-on-dark-muted: #ADA89F;  /* ≥ 7:1 sobre o preto */
  --placeholder-on-dark: #8F8A82; /* ≥ 5:1 sobre o preto */
  --field-line-on-dark: rgba(255,255,255,0.42);
  --leading-snug: 1.3;
  --focus: var(--ink-800);        /* anel de foco em seções claras */
  --header-h: 78px;
  --wrap: 1240px;
  --pad-x: clamp(20px, 5vw, 52px);
}
.on-dark{ --focus: var(--brand-orange); }

/* ---------- Base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 12px); -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--surface-page); color:var(--text-body); font-family:var(--font-sans); font-weight:var(--weight-light); font-size:var(--text-base); line-height:var(--leading-relaxed); -webkit-font-smoothing:antialiased; font-feature-settings:"locl" 0; }
/* "locl" 0: com lang="pt-BR", as formas locais de português da Cormorant soltam os acentos (ê, á, é, í) — desligadas de propósito. */
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,p,figure,blockquote{ margin:0; }
ul, ol{ margin:0; padding:0; list-style:none; }
::selection{ background:var(--brand-orange); color:var(--ink-900); }
:focus-visible{ outline:2px solid var(--focus); outline-offset:3px; }
.sr-only{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link{ position:fixed; top:12px; left:12px; z-index:100; padding:12px 18px; background:var(--brand-orange); color:var(--on-accent); font-weight:var(--weight-medium); transform:translateY(-200%); transition:transform var(--dur-base) var(--ease-out); }
.skip-link:focus{ transform:none; outline:2px solid var(--ink-900); }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 var(--pad-x); }
.sec{ padding:clamp(80px,10vw,140px) 0; }
.sec--alt{ background:var(--surface-alt); }
.sec--page{ background:var(--surface-page); }
.sec--dark{ background:var(--surface-dark); color:var(--text-on-dark); }

.h2{ font-family:var(--font-serif); font-weight:var(--weight-medium); font-size:var(--text-h1); line-height:1.14; letter-spacing:var(--tracking-display); color:var(--text-strong); text-wrap:balance; max-width:22ch; }
.on-dark .h2{ color:var(--text-on-dark); }
.h2 em, .display em{ font-style:italic; font-weight:var(--weight-light); color:var(--accent-ink); }
.on-dark .h2 em, .on-dark .display em{ color:var(--accent); }
.lead{ font-size:var(--text-lead); line-height:var(--leading-relaxed); color:var(--text-body); text-wrap:pretty; }
.muted{ color:var(--text-muted); }
.sec-head{ margin-bottom:clamp(40px,5vw,72px); }

/* ---------- Botões ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:52px; padding:0 30px; font-family:var(--font-sans); font-size:0.9375rem; font-weight:var(--weight-medium); letter-spacing:0.06em; text-transform:uppercase; white-space:nowrap; border:1px solid transparent; border-radius:var(--radius-sm); cursor:pointer; transition:background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard); }
.btn svg{ flex-shrink:0; transition:transform var(--dur-base) var(--ease-out); }
.btn:hover svg.arrow{ transform:translateX(4px); }
.btn-primary{ background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.btn-primary:hover{ background:var(--accent-hover); border-color:var(--accent-hover); color:var(--on-accent); }
.btn-ghost{ background:transparent; border-color:rgba(255,255,255,0.32); color:var(--text-on-dark); }
.btn-ghost:hover{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.6); }
.btn-sm{ min-height:44px; padding:0 18px; font-size:0.8125rem; gap:8px; }
button.btn[disabled]{ opacity:0.6; cursor:progress; }

/* ---------- Cabeçalho ---------- */
.site-header{ position:fixed; top:0; left:0; right:0; z-index:50; background:rgba(14,14,14,0.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid var(--border-on-dark); }
.site-header .wrap{ height:var(--header-h); display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; flex-shrink:0; min-height:44px; }
.brand img{ height:34px; width:auto; }
.nav{ display:flex; align-items:center; gap:clamp(18px,2.2vw,34px); }
.nav a{ position:relative; display:inline-flex; align-items:center; min-height:44px; font-size:0.8rem; font-weight:var(--weight-medium); letter-spacing:0.12em; text-transform:uppercase; white-space:nowrap; color:var(--text-on-dark-muted); transition:color var(--dur-base) var(--ease-standard); }
.nav a::after{ content:""; position:absolute; left:0; right:0; bottom:8px; height:1px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform var(--dur-slow) var(--ease-out); }
.nav a:hover, .nav a[aria-current="true"]{ color:var(--text-on-dark); }
.nav a[aria-current="true"]::after{ transform:scaleX(1); }
.header-actions{ display:flex; align-items:center; gap:12px; }
.mnav{ display:none; }
.mnav > summary{ list-style:none; cursor:pointer; width:44px; height:44px; display:flex; align-items:center; justify-content:center; color:var(--text-on-dark); border:1px solid var(--border-on-dark); border-radius:var(--radius-sm); }
.mnav > summary::-webkit-details-marker{ display:none; }
.mnav > summary .i-close{ display:none; }
.mnav[open] > summary{ border-color:var(--accent); color:var(--accent); }
.mnav[open] > summary .i-open{ display:none; }
.mnav[open] > summary .i-close{ display:block; }
.mnav-panel{ position:absolute; top:100%; left:0; right:0; display:flex; flex-direction:column; padding:8px var(--pad-x) 24px; background:rgba(14,14,14,0.98); border-bottom:1px solid var(--border-on-dark); max-height:calc(100dvh - var(--header-h)); overflow-y:auto; }
.mnav-panel a{ display:flex; align-items:center; min-height:52px; border-bottom:1px solid var(--border-on-dark); color:var(--text-on-dark); font-size:0.9rem; font-weight:var(--weight-medium); letter-spacing:0.1em; text-transform:uppercase; }
.mnav-panel a:last-child{ border-bottom:0; }
.mnav-panel a:hover, .mnav-panel a[aria-current="true"]{ color:var(--accent); }
@media (max-width:1100px){ .nav{ display:none; } .mnav{ display:block; } }
@media (max-width:480px){
  .header-actions .btn-sm{ width:44px; padding:0; }
  .header-actions .btn-sm span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
}

/* ---------- Hero ---------- */
.hero{ background:var(--surface-dark); color:var(--text-on-dark); }
.hero .wrap{ padding-top:calc(var(--header-h) + clamp(56px,8vw,112px)); padding-bottom:clamp(72px,8vw,112px); }
.hero-grid{ display:grid; grid-template-columns:1.12fr 0.88fr; gap:clamp(40px,6vw,88px); align-items:center; }
.display{ font-family:var(--font-serif); font-weight:var(--weight-light); font-size:var(--text-display); line-height:var(--leading-tight); letter-spacing:var(--tracking-display); color:var(--text-on-dark); text-wrap:balance; }
.hero-sub{ margin-top:1.75rem; max-width:48ch; font-size:var(--text-lead); line-height:var(--leading-relaxed); color:var(--text-on-dark-muted); text-wrap:pretty; }
.hero-sub strong{ font-weight:var(--weight-regular); color:var(--text-on-dark); }
.hero-ctas{ margin-top:2.5rem; display:flex; flex-wrap:wrap; gap:14px; }
.hero-note{ margin-top:3rem; display:flex; align-items:center; gap:1rem; font-size:var(--text-sm); color:var(--text-on-dark-muted); }
.hero-note::before{ content:""; width:34px; height:1px; flex-shrink:0; background:var(--accent); }
.duo{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(12px,1.6vw,20px); }
.duo figure:last-child{ margin-top:clamp(28px,4vw,56px); }
.duo .ph{ aspect-ratio:3/4; background:var(--surface-dark-2); overflow:hidden; }
.duo img{ width:100%; height:100%; object-fit:cover; object-position:50% 15%; }
.duo figcaption{ margin-top:0.9rem; padding-top:0.9rem; border-top:1px solid var(--accent); }
.duo .name{ display:block; font-family:var(--font-serif); font-weight:var(--weight-medium); font-size:var(--text-h3); line-height:1.15; color:var(--text-on-dark); }
.duo .role{ display:block; margin-top:0.35rem; font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:var(--tracking-wide); text-transform:uppercase; color:var(--accent); }

/* ---------- Quem somos ---------- */
.split{ display:grid; grid-template-columns:0.82fr 1.18fr; gap:clamp(40px,6vw,90px); align-items:start; }
.split .sticky{ position:sticky; top:calc(var(--header-h) + 32px); }
.about{ display:flex; flex-direction:column; gap:1.5rem; max-width:62ch; }
.statement{ margin-top:1rem; padding-top:1.75rem; border-top:1px solid var(--border-default); font-family:var(--font-serif); font-style:italic; font-weight:var(--weight-light); font-size:var(--text-h3); line-height:1.3; color:var(--text-strong); text-wrap:balance; }
.about-img{ margin-top:1rem; aspect-ratio:3/2; background:var(--neutral-100); overflow:hidden; }
.about-img img{ width:100%; height:100%; object-fit:cover; }
.about-cap{ margin-top:0.8rem; font-size:var(--text-sm); font-style:italic; color:var(--text-muted); }

/* ---------- Sócios ---------- */
.partners{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px,5vw,80px); }
.partner{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:clamp(20px,2.4vw,32px); align-items:start; padding-top:1.75rem; border-top:1px solid var(--border-default); }
.partner .ph{ aspect-ratio:4/5; background:var(--neutral-100); overflow:hidden; }
.partner img{ width:100%; height:100%; object-fit:cover; object-position:50% 12%; transform:scale(1.28); transform-origin:50% 8%; }
.partner h3{ font-family:var(--font-serif); font-weight:var(--weight-medium); font-size:var(--text-h2); line-height:1.15; color:var(--text-strong); }
.partner .role{ display:block; margin-top:0.5rem; font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:var(--tracking-wide); text-transform:uppercase; color:var(--accent-ink); }
.partner p{ margin-top:1.1rem; color:var(--text-body); text-wrap:pretty; }

/* ---------- Serviços ---------- */
.services{ border-bottom:1px solid var(--border-default); }
.svc{ display:grid; grid-template-columns:minmax(220px,0.9fr) 1.6fr; gap:0.75rem clamp(24px,5vw,80px); align-items:baseline; padding:clamp(28px,3.4vw,44px) 0; border-top:1px solid var(--border-default); }
.svc h3{ font-family:var(--font-serif); font-weight:var(--weight-medium); font-size:var(--text-h3); line-height:var(--leading-snug); color:var(--text-strong); text-wrap:balance; transition:color var(--dur-base) var(--ease-standard); }
.svc:hover h3, .svc:focus-within h3{ color:var(--accent-ink); }
.svc-body{ display:flex; flex-direction:column; gap:1.1rem; }
.svc-body > p{ max-width:58ch; color:var(--text-muted); text-wrap:pretty; }
.chips{ display:flex; flex-wrap:wrap; gap:0.5rem 1.5rem; }
.chips li{ display:flex; align-items:center; gap:0.6rem; font-size:var(--text-sm); font-weight:var(--weight-regular); color:var(--text-body); }
.chips li::before{ content:""; width:5px; height:5px; border-radius:50%; background:var(--accent); flex-shrink:0; }
.svc-link{ align-self:flex-start; display:inline-flex; align-items:center; gap:0.6em; min-height:44px; font-size:var(--text-sm); font-weight:var(--weight-medium); color:var(--ink-800); text-decoration:underline; text-decoration-color:var(--border-default); text-underline-offset:6px; transition:color var(--dur-base) var(--ease-standard), text-decoration-color var(--dur-base) var(--ease-standard); }
.svc-link svg{ transition:transform var(--dur-base) var(--ease-out); }
.svc-link:hover{ color:var(--accent-ink); text-decoration-color:currentColor; }
.svc-link:hover svg{ transform:translateX(6px); }

/* ---------- Faixa de chamada ---------- */
.sec-cta{ padding-bottom:clamp(70px,8vw,110px); }
.cta-band{ display:grid; grid-template-columns:1fr auto; gap:2rem; align-items:center; padding:clamp(32px,4vw,52px); background:var(--surface-dark); color:var(--text-on-dark); }
.cta-band h2{ font-family:var(--font-serif); font-weight:var(--weight-light); font-size:var(--text-h2); line-height:1.2; color:var(--text-on-dark); text-wrap:balance; }
.cta-band h2 em{ color:var(--accent); }
.cta-band p{ margin-top:0.9rem; max-width:52ch; line-height:var(--leading-relaxed); color:var(--text-on-dark-muted); }

/* ---------- Diferenciais ---------- */
.dif-note{ margin-top:2rem; display:flex; align-items:baseline; gap:1rem; max-width:30ch; color:var(--text-on-dark-muted); }
.dif-note span{ font-family:var(--font-serif); font-weight:var(--weight-light); font-size:clamp(3rem,6vw,4.5rem); line-height:0.9; color:var(--accent); }
.diff{ display:grid; grid-template-columns:1fr 1fr; column-gap:clamp(32px,4vw,56px); }
.diff li{ display:flex; align-items:flex-start; gap:0.9rem; padding:1.1rem 0; border-bottom:1px solid var(--border-on-dark); font-weight:var(--weight-regular); line-height:var(--leading-normal); color:var(--text-on-dark); text-wrap:pretty; }
.diff svg{ flex-shrink:0; margin-top:1px; color:var(--accent); }
.diff-close{ margin-top:clamp(32px,4vw,48px); padding-top:clamp(28px,3vw,40px); border-top:1px solid var(--border-on-dark); display:flex; flex-wrap:wrap; gap:1.5rem; align-items:center; justify-content:space-between; }
.diff-close p{ font-family:var(--font-serif); font-style:italic; font-weight:var(--weight-light); font-size:var(--text-h3); line-height:1.3; color:var(--text-on-dark); }

/* ---------- Método ---------- */
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(24px,2.5vw,40px); counter-reset:step; }
.step{ display:flex; flex-direction:column; gap:1rem; }
.step-n{ display:flex; align-items:center; gap:0.9rem; font-family:var(--font-serif); font-style:italic; font-weight:var(--weight-medium); font-size:2.4rem; line-height:1; color:var(--accent-ink); }
.step-n::after{ content:""; flex:1; height:1px; background:var(--border-default); }
.step:last-child .step-n::after{ display:none; }
.step h3{ font-family:var(--font-serif); font-weight:var(--weight-medium); font-size:1.45rem; line-height:1.2; color:var(--text-strong); }
.step p{ font-size:var(--text-sm); color:var(--text-muted); text-wrap:pretty; }
.band-img{ margin-top:clamp(48px,6vw,80px); aspect-ratio:32/9; background:var(--neutral-100); overflow:hidden; }
.band-img img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Clientes ---------- */
.logos{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border-hairline); border:1px solid var(--border-hairline); }
.logos > li{ display:flex; align-items:center; justify-content:center; aspect-ratio:3/2; padding:clamp(18px,2.4vw,32px); background:#fff; }
.logos img{ width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; mix-blend-mode:multiply; }
.logos .more{ background:var(--surface-page); justify-content:flex-start; padding:1.25rem 1.5rem; font-family:var(--font-serif); font-style:italic; font-weight:var(--weight-light); font-size:var(--text-h3); line-height:1.3; color:var(--text-muted); }

/* ---------- Contato ---------- */
.contact{ display:grid; grid-template-columns:1.25fr 0.75fr; gap:clamp(40px,6vw,88px); }
.contact .display{ font-size:var(--text-h1); font-weight:var(--weight-medium); }
.contact-intro{ margin-top:1.5rem; max-width:50ch; font-size:var(--text-lead); color:var(--text-on-dark-muted); text-wrap:pretty; }
.form{ margin-top:2.75rem; display:flex; flex-direction:column; gap:1.75rem; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.75rem 2rem; }
.fld{ display:flex; flex-direction:column; gap:0.35rem; }
.fld label{ font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:var(--tracking-wide); text-transform:uppercase; color:var(--text-on-dark-muted); }
.fld label .req{ color:var(--accent); }
.fld .hint{ font-size:var(--text-xs); color:var(--text-on-dark-muted); }
.field{ appearance:none; -webkit-appearance:none; width:100%; min-height:48px; padding:0.7rem 0; background:transparent; border:0; border-bottom:1px solid var(--field-line-on-dark); border-radius:0; color:var(--text-on-dark); font-family:var(--font-sans); font-weight:var(--weight-regular); font-size:var(--text-base); line-height:var(--leading-normal); transition:border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
.field::placeholder{ color:var(--placeholder-on-dark); opacity:1; }
.field:hover{ border-bottom-color:rgba(255,255,255,0.7); }
.field:focus{ outline:none; border-bottom-color:var(--accent); box-shadow:0 1px 0 0 var(--accent); }
.field:focus-visible{ outline:none; }
.field:user-invalid{ border-bottom-color:#F08A70; box-shadow:0 1px 0 0 #F08A70; }
textarea.field{ resize:vertical; min-height:120px; }
select.field{ cursor:pointer; padding-right:2rem; 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='%23F39200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 4px center; }
select.field option{ background:var(--surface-dark-2); color:var(--text-on-dark); }
select.field:invalid{ color:var(--placeholder-on-dark); }
.form-consent{ font-size:var(--text-sm); line-height:var(--leading-normal); color:var(--text-on-dark-muted); }
.form-consent a{ color:var(--text-on-dark); text-decoration:underline; text-underline-offset:3px; }
.form-consent a:hover{ color:var(--accent); }
.form-status{ padding:14px 16px; border:1px solid var(--border-on-dark); font-size:var(--text-sm); line-height:var(--leading-normal); color:var(--text-on-dark); background:rgba(255,255,255,0.04); }
.form-status[hidden]{ display:none; }
.form-status a{ color:var(--accent); text-decoration:underline; }
.form-status--success{ border-color:#5FB37C; background:rgba(95,179,124,0.1); }
.form-status--error{ border-color:#F08A70; background:rgba(240,138,112,0.1); }
.aside{ display:flex; flex-direction:column; gap:2rem; }
.quick{ padding:1.9rem; border:1px solid var(--border-on-dark); background:var(--surface-dark-2); }
.quick-label{ display:block; font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:var(--tracking-wide); text-transform:uppercase; color:var(--accent); }
.quick-q{ margin:0.9rem 0 1.5rem;  font-family:var(--font-serif); font-style:italic; font-weight:var(--weight-light); font-size:var(--text-h3); line-height:1.3; color:var(--text-on-dark); }
.info{ display:flex; flex-direction:column; }
.info > div{ display:flex; flex-direction:column; gap:0.25rem; padding:1.2rem 0; border-bottom:1px solid var(--border-on-dark); }
.info > div:first-child{ padding-top:0; }
.info > div:last-child{ border-bottom:0; }
.info dt{ font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:var(--tracking-wide); text-transform:uppercase; color:var(--text-on-dark-muted); }
.info dd{ margin:0; color:var(--text-on-dark); overflow-wrap:anywhere; }
.info a{ display:inline-flex; align-items:center; min-height:44px; text-decoration:underline; text-decoration-color:var(--border-on-dark); text-underline-offset:4px; transition:color var(--dur-base) var(--ease-standard), text-decoration-color var(--dur-base) var(--ease-standard); }
.info a:hover{ color:var(--accent); text-decoration-color:var(--accent); }

/* ---------- Rodapé ---------- */
.site-footer{ background:var(--ink-900); color:var(--text-on-dark); border-top:1px solid var(--border-on-dark); }
.site-footer .wrap{ padding-top:clamp(56px,7vw,88px); padding-bottom:clamp(28px,3vw,40px); }
.foot{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:clamp(36px,5vw,64px); }
.foot-brand img{ width:190px; height:auto; }
.foot-brand p{ margin-top:1.75rem; max-width:24ch; font-family:var(--font-serif); font-style:italic; font-weight:var(--weight-light); font-size:var(--text-h3); line-height:1.3; color:var(--text-on-dark); }
.foot-h{ margin:0;  font-family:var(--font-sans); font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:var(--tracking-wide); text-transform:uppercase; color:var(--text-on-dark-muted); }
.foot ul{ margin-top:1rem; display:flex; flex-direction:column; }
.foot-link{ display:inline-flex; align-items:center; min-height:40px; font-size:var(--text-sm); color:var(--text-on-dark-muted); transition:color var(--dur-base) var(--ease-standard); }
.foot-link:hover{ color:var(--accent); }
.foot-bottom{ margin-top:clamp(40px,5vw,64px); padding-top:1.25rem; border-top:1px solid var(--border-on-dark); display:flex; flex-wrap:wrap; gap:0.25rem 1.5rem; justify-content:space-between; align-items:center; font-size:var(--text-xs); color:var(--text-on-dark-muted); }
.foot-bottom .foot-link{ font-size:var(--text-xs); }
.foot-legal{ display:flex; flex-wrap:wrap; gap:0 1.5rem; }
.foot-legal button{ padding:0; background:none; border:0; cursor:pointer; font:inherit; }

/* WhatsApp flutuante */
.wa-float{ position:fixed; right:clamp(16px,2.5vw,28px); bottom:clamp(16px,2.5vw,28px); z-index:60; width:60px; height:60px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--accent); color:var(--on-accent); box-shadow:0 10px 28px rgba(0,0,0,0.3); transition:background var(--dur-base) ease, transform var(--dur-base) var(--ease-out); }
.wa-float:hover{ background:var(--accent-hover); transform:translateY(-3px); }
.wa-float:focus-visible{ outline:2px solid var(--text-on-dark); outline-offset:3px; box-shadow:0 0 0 5px var(--ink-900); }

/* ---------- Responsivo ---------- */
@media (max-width:1024px){
  .steps{ grid-template-columns:repeat(3,1fr); row-gap:clamp(36px,5vw,48px); }
  .step:nth-child(3) .step-n::after{ display:none; }
}
@media (max-width:860px){
  .hero-grid, .split, .contact, .partners{ grid-template-columns:1fr; }
  .hero-grid .duo{ max-width:560px; }
  .split .sticky{ position:static; }
  .cta-band{ grid-template-columns:1fr; gap:1.5rem; }
  .foot{ grid-template-columns:1fr 1fr; }
  .foot-brand{ grid-column:1 / -1; }
  .logos{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:1fr 1fr; }
  .step:nth-child(3) .step-n::after{ display:block; }
  .step:nth-child(2n) .step-n::after{ display:none; }
}
@media (max-width:720px){
  .svc{ grid-template-columns:1fr; gap:0.9rem; }
}
@media (max-width:560px){
  .diff{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .step:nth-child(n) .step-n::after{ display:block; }
  .step:nth-child(n):last-child .step-n::after{ display:none; }
  .foot{ grid-template-columns:1fr; }
  .cta-band{ padding-left:20px; padding-right:20px; }
  .cta-band .btn{ width:100%; white-space:normal; }
  .hero-ctas .btn{ flex:1 1 100%; }
  .logos .more{ font-size:var(--text-base); padding:1rem; }
  .partner{ grid-template-columns:1fr; }
  .partner .ph{ max-width:320px; aspect-ratio:1/1; }
  .contact{ display:flex; flex-direction:column; gap:2.5rem; }
  .contact-main{ display:contents; }
  .contact-main .display, .contact-main .contact-intro{ order:0; }
  .contact-intro{ margin-top:-1.5rem; }
  .contact .aside{ order:1; }
  .contact .form{ order:2; margin-top:0; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ transition-duration:0.01ms !important; animation-duration:0.01ms !important; }
}

/* ---------- Aviso de cookies (canto inferior esquerdo) ---------- */
.cookie-banner{ position:fixed; left:clamp(16px,3vw,32px); bottom:clamp(16px,3vw,32px); z-index:70; width:min(380px, calc(100vw - 32px)); padding:20px 22px; background:var(--surface-dark-2); color:var(--text-on-dark); border:1px solid var(--border-on-dark); border-top:2px solid var(--accent); box-shadow:0 12px 32px rgba(0,0,0,0.35); animation:cookie-in 280ms var(--ease-out) both; --focus: var(--brand-orange); }
.cookie-banner[hidden]{ display:none; }
@keyframes cookie-in{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
.cookie-banner__title{ margin:0; font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:var(--tracking-wide); text-transform:uppercase; color:var(--accent); }
.cookie-banner__text{ margin:10px 0 0; font-size:var(--text-sm); line-height:var(--leading-normal); color:var(--text-on-dark-muted); }
.cookie-banner__text a{ color:var(--text-on-dark); text-decoration:underline; text-underline-offset:3px; }
.cookie-banner__text a:hover{ color:var(--accent); }
.cookie-banner__actions{ margin-top:16px; display:flex; gap:10px; justify-content:flex-end; }
.cookie-btn{ min-height:44px; padding:0 18px; font-family:var(--font-sans); font-size:var(--text-xs); font-weight:var(--weight-medium); letter-spacing:0.06em; text-transform:uppercase; border:1px solid; border-radius:var(--radius-sm); cursor:pointer; transition:background 200ms ease, color 200ms ease, border-color 200ms ease; }
.cookie-btn--primary{ background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.cookie-btn--primary:hover{ background:var(--accent-hover); border-color:var(--accent-hover); }
.cookie-btn--ghost{ background:transparent; border-color:rgba(255,255,255,0.32); color:var(--text-on-dark); }
.cookie-btn--ghost:hover{ background:rgba(255,255,255,0.08); }
@media (max-width:560px){
  /* no celular fica acima do botão flutuante do WhatsApp */
  .cookie-banner{ left:16px; right:16px; width:auto; bottom:92px; padding:16px 18px; }
}

/* ---------- Política de privacidade (modal) ---------- */
html.modal-open{ overflow:hidden; }
.privacy{ width:min(760px, calc(100vw - 32px)); max-height:min(86vh, 900px); padding:0; border:0; border-top:2px solid var(--accent); background:var(--surface-page); color:var(--text-body); box-shadow:0 24px 64px rgba(0,0,0,0.35); overflow:hidden; }
.privacy[open]{ display:flex; flex-direction:column; }
.privacy::backdrop{ background:rgba(14,14,14,0.72); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); }
.privacy__head{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px clamp(20px,4vw,40px); border-bottom:1px solid var(--border-hairline); }
.privacy__head h2{ margin:0; font-family:var(--font-serif); font-weight:var(--weight-medium); font-size:var(--text-h3); line-height:1.3; color:var(--text-strong); }
.privacy__close{ flex-shrink:0; width:44px; height:44px; display:flex; align-items:center; justify-content:center; background:transparent; border:1px solid var(--border-default); color:var(--text-strong); cursor:pointer; transition:border-color 200ms ease, color 200ms ease; }
.privacy__close:hover{ border-color:var(--accent-ink); color:var(--accent-ink); }
.privacy__body{ overflow-y:auto; padding:clamp(20px,3vw,32px) clamp(20px,4vw,40px) clamp(28px,4vw,40px); font-size:var(--text-sm); font-weight:var(--weight-regular); line-height:var(--leading-relaxed); color:var(--text-body); }
.privacy__body h3{ margin:1.75rem 0 0.5rem; font-family:var(--font-sans); font-size:var(--text-base); font-weight:var(--weight-medium); color:var(--text-strong); }
.privacy__body p, .privacy__body ul{ margin:0 0 0.75rem; }
.privacy__body ul{ padding-left:1.2rem; list-style:disc; }
.privacy__body li{ margin-bottom:0.35rem; }
.privacy__body strong{ font-weight:var(--weight-medium); color:var(--text-strong); }
.privacy__body a{ color:var(--accent-ink); text-decoration:underline; text-underline-offset:3px; }
.privacy__meta{ color:var(--text-muted); }
.privacy__foot{ margin-top:1.75rem; padding-top:1.25rem; border-top:1px solid var(--border-hairline); display:flex; flex-wrap:wrap; gap:12px; }
.privacy__foot .cookie-btn--ghost{ border-color:var(--border-default); color:var(--text-strong); }
.privacy__foot .cookie-btn--ghost:hover{ background:var(--neutral-100); }
