/* Arnone Advogados — static design system (converted from Tailwind v4 tokens) */

/* ---------- Fonts (Google Fonts CDN — swap to self-hosted if desired) ---------- */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&display=swap");

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --radius: 0.5rem;
  --ink: oklch(0.17 0.012 260);
  --ink-2: oklch(0.22 0.014 260);
  --ink-soft: oklch(0.28 0.016 260);
  --paper: oklch(0.965 0.008 85);
  --paper-2: oklch(0.935 0.010 85);
  --steel: oklch(0.88 0.014 250);
  --brand: oklch(0.60 0.10 255);
  --brand-deep: oklch(0.42 0.10 255);
  --brand-glow: oklch(0.72 0.08 255);
  --amber: oklch(0.78 0.14 68);
  --leaf: oklch(0.70 0.14 155);
  --violet: oklch(0.66 0.16 300);
  --background: var(--paper);
  --foreground: var(--ink);
  --muted-fg: oklch(0.46 0.014 260);
  --border: oklch(0.86 0.010 250);
  --destructive: oklch(0.55 0.22 27);
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
}

/* ---------- Typography helpers ---------- */
.font-serif, .font-display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-fg);
  font-weight: 500;
}
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* ---------- Layout utilities ---------- */
.container-x { max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.stack > * + * { margin-top: var(--stack, 1rem); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; transition: all 200ms ease; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-glow); }
.btn-invert-dark { background: #fff; color: var(--ink); }
.btn-invert-dark:hover { background: rgba(255,255,255,.92); }
.btn-invert-light { background: var(--ink); color: var(--paper); }
.btn-invert-light:hover { opacity: .9; }
.btn-ghost-dark { border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.06); }
.btn-ghost-light { border: 1px solid var(--border); color: var(--ink); }
.btn-ghost-light:hover { background: rgba(0,0,0,.03); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 500ms ease, backdrop-filter 500ms ease, border-color 500ms ease; }
.site-header .inner { max-width: 80rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: .9rem; padding: .7rem 1rem; }
.site-header .center-block { flex: 1; display: flex; align-items: center; justify-content: flex-start; gap: .75rem; }
.site-header .side { display: flex; align-items: center; gap: .6rem; }
.site-header .side.side-right { display: none; }
.site-header nav { display: none; align-items: center; gap: 2rem; }
.site-header nav a { font-size: 13px; letter-spacing: .02em; transition: color 200ms; }
.site-header .logo { height: 24px; width: auto; transition: height 200ms ease; }
.site-header .icon { width: 15px; height: 15px; opacity: .7; transition: opacity 200ms; }
.site-header a:hover .icon, .site-header .icon:hover { opacity: 1; }
.site-header .mobile-toggle { display: inline-flex; padding: .4rem; border-radius: .5rem; }
.mobile-menu { display: none; padding: 1.25rem; border-top: 1px solid; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .5rem 0; font-size: 1rem; }
.mobile-menu .btn { display: flex; justify-content: center; width: 100%; margin-top: 1rem; }

/* Variants */
.site-header.variant-dark { color: #fff; }
.site-header.variant-dark nav a { color: rgba(255,255,255,.7); }
.site-header.variant-dark nav a:hover, .site-header.variant-dark nav a.active { color: #fff; }
.site-header.variant-light { color: var(--ink); }
.site-header.variant-light nav a { color: rgba(23,20,30,.7); }
.site-header.variant-light nav a:hover, .site-header.variant-light nav a.active { color: var(--ink); }
.site-header.scrolled.variant-dark { backdrop-filter: blur(20px) saturate(140%); background: oklch(0.17 0.012 260 / 0.72); border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header.scrolled.variant-light { backdrop-filter: blur(20px) saturate(140%); background: oklch(0.965 0.008 85 / 0.82); border-bottom: 1px solid rgba(0,0,0,.05); }
.site-header.variant-dark .mobile-menu { background: var(--ink); border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.site-header.variant-light .mobile-menu { background: var(--paper); border-color: rgba(0,0,0,.05); color: var(--ink); }

@media (min-width: 768px) {
  .site-header .inner { padding: .95rem 1.5rem; gap: 1.25rem; }
  .site-header .center-block { justify-content: center; gap: 2.5rem; }
  .site-header .logo { height: 30px; }
  .site-header .icon { width: 16px; height: 16px; }
  .site-header .side.side-right { display: flex; }
  .site-header nav { display: flex; }
  .site-header .mobile-toggle { display: none; }
}

/* ---------- Hero (Home) ---------- */
.home-hero { position: relative; isolate: isolate; min-height: 88svh; overflow: hidden; background: var(--ink); color: #fff; }
@media (min-width: 768px) { .home-hero { min-height: 100svh; max-height: 880px; } }
.home-hero .bg-layer { position: absolute; inset: 0; }
.home-hero .bg-layer .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1400ms cubic-bezier(0.22, 1, 0.36, 1); }
.home-hero .bg-layer .slide.active { opacity: 1; }
.home-hero .bg-layer img,
.home-hero .bg-layer video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: kenburns 24s ease-in-out infinite alternate; transform-origin: center; }
.home-hero .bg-layer video { pointer-events: none; }
.home-hero .overlay-grad { position: absolute; inset: 0; background: linear-gradient(105deg, oklch(0.14 0.014 260 / 0.92) 0%, oklch(0.14 0.014 260 / 0.72) 45%, oklch(0.14 0.014 260 / 0.4) 100%); }
.home-hero .overlay-accent { position: absolute; inset: 0; opacity: .4; mix-blend-mode: screen; transition: background 1000ms ease; }
.home-hero .overlay-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 78%, var(--ink) 100%); }
.home-hero .content { position: relative; z-index: 10; max-width: 80rem; margin: 0 auto; min-height: 88svh; display: flex; flex-direction: column; justify-content: center; padding: 5.5rem 1.5rem 1.75rem; gap: 1.25rem; }
@media (min-width: 768px) { .home-hero .content { min-height: 100svh; max-height: 880px; padding: 5.5rem 1.5rem 2rem; gap: 1.5rem; } }

.home-hero h1 { font-size: clamp(2rem, 8.5vw, 5.6rem); line-height: 1; letter-spacing: -0.02em; }
.home-hero .lead { max-width: 42rem; margin-top: 1.25rem; font-size: 1.05rem; color: rgba(255,255,255,.7); }
@media (min-width: 768px) { .home-hero .lead { margin-top: 1.5rem; font-size: 1.25rem; } }
.home-hero .hero-copy { width: 100%; }
@media (min-width: 768px) { .home-hero .hero-copy { transform: translateY(-2.25rem); } }
@media (min-width: 1200px) { .home-hero .hero-copy { transform: translateY(-3rem); } }
.home-hero .cta-row { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .home-hero .cta-row { flex-direction: row; flex-wrap: wrap; margin-top: 2rem; } }
.home-hero .cta-row .btn { width: 100%; justify-content: center; }
@media (min-width: 640px) { .home-hero .cta-row .btn { width: auto; } }
.home-hero .accent-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; transition: background 500ms, box-shadow 500ms; }

/* Market switcher */
/* Três frentes conectadas — linha cinza contínua, iluminação por segmento */
.hero-frentes { margin-top: 1.25rem; }
@media (min-width: 768px) { .hero-frentes { margin-top: 1.75rem; } }
.hero-frentes .hf-title { color: rgba(255,255,255,.35); margin-bottom: .85rem; }
.hero-frentes .hf-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
@media (min-width: 720px) { .hero-frentes .hf-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; } }
.hf-item {
  position: relative;
  display: flex; flex-direction: column; gap: .35rem;
  padding: .85rem 0 1rem;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.16);
  transition: color 400ms ease, border-color 500ms ease;
  --hf-color: rgba(255,255,255,.9);
  isolation: isolate;
}
.hf-item::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--hf-color); opacity: 0; transform: scaleX(.2); transform-origin: left center;
  transition: opacity 500ms ease, transform 600ms cubic-bezier(0.22,1,0.36,1), box-shadow 500ms ease;
}
.hf-item::after {
  content: ""; position: absolute; left: 50%; top: 55%;
  width: 70%; height: 60%; transform: translate(-50%,-50%) scale(.7);
  background: radial-gradient(ellipse at center, var(--hf-color) 0%, transparent 65%);
  filter: blur(22px); opacity: 0; pointer-events: none;
  transition: opacity 500ms ease, transform 600ms cubic-bezier(0.22,1,0.36,1);
  z-index: -1;
}
.hf-item .hf-num { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); transition: color 400ms; }
.hf-item .hf-label { font-family: var(--font-display, "Instrument Serif", serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.1; color: rgba(255,255,255,.85); transition: color 400ms, text-shadow 400ms; }
.hf-item .hf-sep { color: rgba(255,255,255,.35); font-weight: 300; }
.hf-item .hf-sub { font-size: .82rem; color: rgba(255,255,255,.5); transition: color 400ms; letter-spacing: .01em; }
.hf-item:hover, .hf-item.active { color: #fff; }
.hf-item:hover .hf-num, .hf-item.active .hf-num { color: var(--hf-color); }
.hf-item:hover .hf-label, .hf-item.active .hf-label { color: #fff; text-shadow: 0 0 24px var(--hf-color); }
.hf-item:hover .hf-sub, .hf-item.active .hf-sub { color: rgba(255,255,255,.85); }
.hf-item:hover::before, .hf-item.active::before {
  opacity: 1; transform: scaleX(1);
  box-shadow: 0 0 14px var(--hf-color), 0 0 28px var(--hf-color);
}
.hf-item:hover::after, .hf-item.active::after {
  opacity: .38; transform: translate(-50%,-50%) scale(1);
}
@media (max-width: 719px) {
  .hf-item { padding: .7rem 0 .85rem; }
  .hf-item + .hf-item { border-top: 1px solid rgba(255,255,255,.10); }
}

/* Mobile framing per video — object-position overrides */
.home-hero .bg-layer .slide { overflow: hidden; }
@media (max-width: 768px) {
  /* Arnone: menos crop para capturar a cena dinâmica inteira */
  .home-hero .bg-layer .hero-video--arnone {
    object-fit: cover;
    object-position: center;
    width: 116%;
    height: 116%;
    transform: translate(-7%, -7%);
  }
  .home-hero .bg-layer .hero-video--justica { object-position: 65% center; }
  .home-hero .bg-layer .hero-video--comercio { object-position: center; }
  .home-hero .bg-layer .hero-video--agro { object-position: center; }
  .home-hero .bg-layer .hero-video--tech { object-position: center; }
  .home-hero .bg-layer .hero-video--logistica { object-position: center; }
  .home-hero .bg-layer .hero-video--saude { object-position: center; }
}


/* ---------- Sections ---------- */
.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
.section-dark { background: var(--ink); color: #fff; }
.section-light { background: var(--paper); color: var(--ink); }
.section-alt { background: var(--paper-2); color: var(--ink); }

/* Service focus cards */
.service-focus-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .service-focus-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); padding: 2rem; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; transition: all 500ms ease; box-shadow: 0 20px 60px -40px oklch(0 0 0 / 0.8); }
@media (min-width: 768px) { .service-card { padding: 2.25rem; } }
.service-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.25); }
.service-card .accent-line { position: absolute; inset: 0 0 auto 0; height: 1px; transition: height 500ms; }
.service-card:hover .accent-line { height: 2px; }
.service-card .glow { pointer-events: none; position: absolute; top: -6rem; right: -6rem; width: 16rem; height: 16rem; border-radius: 999px; opacity: 0; filter: blur(60px); transition: opacity 700ms; }
.service-card:hover .glow { opacity: .6; }
.service-card .row { display: flex; align-items: center; justify-content: space-between; }
.service-card .kicker { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 500; }
.service-card .dot { width: 8px; height: 8px; border-radius: 999px; transition: transform 500ms; }
.service-card:hover .dot { transform: scale(1.5); }
.service-card h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: .75rem; }
@media (min-width: 768px) { .service-card h3 { font-size: 1.875rem; } }
.service-card p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.5; }
.service-card .arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.8); transition: color 300ms; }
.service-card:hover .arrow-link { color: #fff; }

/* Thesis pillars */
.thesis-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 0 0 #fff inset, 0 24px 60px -30px oklch(0.2 0.02 260 / 0.35), 0 0 0 1px oklch(0.86 0.01 250 / 0.7); }
@media (min-width: 768px) { .thesis-grid { grid-template-columns: repeat(3, 1fr); } }
.thesis-cell { position: relative; background: #fff; padding: 2rem; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
@media (min-width: 768px) { .thesis-cell { padding: 2.5rem; } }
.thesis-cell .stroke { position: absolute; inset: 0 0 auto 0; height: 2px; transform: scaleX(0); transform-origin: left; transition: transform 700ms; }
.thesis-cell:hover .stroke { transform: scaleX(1); }
.thesis-cell .word { font-family: var(--font-serif); font-size: clamp(3rem, 7vw, 6rem); line-height: .9; letter-spacing: -.02em; }
.thesis-cell .subline { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(23,20,30,.4); font-weight: 500; }
.thesis-cell p { margin-top: .75rem; font-size: .875rem; color: rgba(23,20,30,.6); max-width: 20rem; }

/* ---------- Service page hero ---------- */
.service-hero { position: relative; min-height: 92svh; overflow: hidden; background: var(--ink); color: #fff; isolate: isolate; }
.service-hero .bg { position: absolute; inset: 0; }
.service-hero .bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.service-hero .veil { position: absolute; inset: 0; background: linear-gradient(115deg, oklch(0.14 0.014 260 / 0.95) 0%, oklch(0.14 0.014 260 / 0.75) 50%, oklch(0.14 0.014 260 / 0.5) 100%); }
.service-hero .grid { position: relative; z-index: 10; max-width: 80rem; margin: 0 auto; padding: 8rem 1.5rem 5rem; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; min-height: 92svh; }
@media (min-width: 1024px) { .service-hero .grid { grid-template-columns: 1.05fr 1fr; padding-top: 10rem; } }
.service-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.02; }
.service-hero .lead { margin-top: 1.5rem; max-width: 34rem; color: rgba(255,255,255,.72); font-size: 1.125rem; }
.service-hero .visual { position: relative; min-height: 380px; }

/* ---------- How-it-works ---------- */
.how-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .how-grid { grid-template-columns: repeat(5, 1fr); } }
.how-step { border-radius: 1rem; padding: 1.75rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); min-height: 200px; display: flex; flex-direction: column; gap: .75rem; transition: all 300ms; }
.section-light .how-step, .section-alt .how-step { background: #fff; border-color: var(--border); }
.how-step:hover { transform: translateY(-3px); }
.how-step .num { font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--brand); }
.how-step h4 { font-family: var(--font-serif); font-size: 1.35rem; }
.how-step p { font-size: .875rem; opacity: .7; line-height: 1.55; }

/* Prospection questions */
.q-list { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .q-list { grid-template-columns: repeat(2, 1fr); } }
.q-item { padding: 1.5rem 1.75rem; border-radius: .85rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); font-size: 1.05rem; line-height: 1.45; }
.section-light .q-item, .section-alt .q-item { border-color: var(--border); background: #fff; }

/* Impact quote */
.impact-quote { max-width: 52rem; font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; }
.impact-quote em { font-style: italic; color: var(--brand-glow); }
.section-light .impact-quote em, .section-alt .impact-quote em { color: var(--brand-deep); }

/* Scenario cards */
.scenario-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .scenario-grid { grid-template-columns: repeat(3, 1fr); } }
.scenario-card { padding: 1.75rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); }
.section-light .scenario-card, .section-alt .scenario-card { border-color: var(--border); background: #fff; }
.scenario-card .tag { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; opacity: .5; margin-bottom: .5rem; }
.scenario-card h4 { font-family: var(--font-serif); font-size: 1.4rem; margin-bottom: .5rem; }
.scenario-card p { font-size: .9rem; opacity: .72; line-height: 1.55; }

/* Section headings */
.section-eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .5; margin-bottom: .75rem; }
.section-h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.05; max-width: 40rem; letter-spacing: -.02em; }
.section-lead { margin-top: 1rem; max-width: 36rem; opacity: .7; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.7); }
.site-footer .halo { pointer-events: none; position: absolute; top: -10rem; left: 50%; transform: translateX(-50%); width: 45rem; height: 33rem; border-radius: 999px; background: oklch(0.60 0.10 255 / 0.1); filter: blur(60px); }
.site-footer .wrap { position: relative; max-width: 80rem; margin: 0 auto; padding: 5rem 1.5rem 2.5rem; }
.site-footer .cta-row { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: end; margin-bottom: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .site-footer .cta-row { grid-template-columns: 1.4fr 1fr; } }
.site-footer .cta-row h3 { font-family: var(--font-serif); font-size: 2.25rem; line-height: 1.05; color: #fff; max-width: 30rem; }
@media (min-width: 768px) { .site-footer .cta-row h3 { font-size: 3rem; } }
.site-footer .cols { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 4fr 3fr 3fr 2fr; } }
.site-footer ul li { margin-bottom: .65rem; font-size: .875rem; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: .75rem; font-size: .75rem; color: rgba(255,255,255,.4); }
@media (min-width: 768px) { .site-footer .bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- WhatsApp FAB ---------- */
.wa-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 56px; height: 56px; border-radius: 999px; background: #22c55e; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -10px rgba(34,197,94,.55); transition: transform 200ms; }
.wa-fab:hover { transform: scale(1.06); }

/* ---------- Lead form ---------- */
.lead-form { border-radius: 1rem; padding: 2rem; border: 1px solid var(--border); background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.02); }
@media (min-width: 768px) { .lead-form { padding: 2.5rem; } }
.lead-form.dark { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); color: #fff; }
.lead-form h3 { font-family: var(--font-serif); font-size: 1.9rem; margin-bottom: .75rem; }
@media (min-width: 768px) { .lead-form h3 { font-size: 2.25rem; } }
.lead-form .fields { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .lead-form .fields { grid-template-columns: 1fr 1fr; } }
.lead-form .col-full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: .72rem; opacity: .7; margin-bottom: .35rem; }
.lead-form label .req { color: var(--destructive); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; background: #fff; border: 1px solid var(--border); border-radius: .5rem;
  padding: .65rem .75rem; font-size: .875rem; color: var(--ink); transition: border-color 200ms;
}
.lead-form.dark input, .lead-form.dark select, .lead-form.dark textarea {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: #fff;
}
.lead-form.dark input::placeholder, .lead-form.dark textarea::placeholder { color: rgba(255,255,255,.4); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: rgba(0,0,0,.4); }
.lead-form.dark input:focus, .lead-form.dark select:focus, .lead-form.dark textarea:focus { border-color: rgba(255,255,255,.4); }
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form .err { margin-top: .3rem; font-size: .75rem; color: var(--destructive); }
.lead-form .lgpd { margin-top: 1.5rem; display: flex; align-items: flex-start; gap: .75rem; font-size: .75rem; opacity: .75; }
.lead-form .lgpd a { text-decoration: underline; }
.lead-form .lgpd input { width: 16px; height: 16px; margin-top: 2px; }
.lead-form .actions { margin-top: 1.75rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lead-form .submit-btn { padding: .8rem 1.5rem; border-radius: 9999px; background: var(--ink); color: var(--paper); font-size: .875rem; font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; }
.lead-form.dark .submit-btn { background: #fff; color: #000; }
.lead-form .submit-btn[disabled] { opacity: .6; cursor: not-allowed; }
.lead-form .status-error { font-size: .75rem; color: var(--destructive); }
.lead-form .success { padding: 2rem 0; }
.lead-form .success h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: .5rem; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes kenburns { 0% { transform: scale(1.02) translate3d(0,0,0); } 100% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@keyframes float-y { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }
@keyframes pulse-ring { 0% { transform: scale(0.9); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }

.fade-up { animation: fadeUp .9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.fade-in { animation: fadeIn .9s ease-out both; }
.kenburns { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: center; }
.float-y { animation: float-y 6s ease-in-out infinite; }

/* CORRECTED shimmer — solid white with a soft blue wave, never transparent */
.text-shimmer {
  color: #ffffff;
  background: linear-gradient(90deg,
    #ffffff 0%,
    #ffffff 35%,
    var(--brand-glow) 50%,
    #ffffff 65%,
    #ffffff 100%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Home: logo levemente maior no header para reforçar identidade Arnone */
body[data-page="home"] .site-header .logo { height: 30px; }
@media (min-width: 768px) {
  body[data-page="home"] .site-header .logo { height: 40px; }
}

/* ---------- Hero copy centering (v8_3) ---------- */
.home-hero .hero-copy { max-width: 60rem; width: 100%; }
@media (min-width: 768px) {
  .home-hero .content { align-items: stretch; }
  .home-hero .hero-copy { margin-inline: auto; text-align: center; }
  .home-hero .hero-copy .eyebrow-row { justify-content: center; }
  .home-hero .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .home-hero .hero-copy .cta-row { justify-content: center; }
}

/* ---------- Hero vertical centering + frentes bottom (v8_5) ---------- */
.home-hero .content {
  justify-content: center;
  position: relative;
}
.home-hero .hero-copy {
  /* pull the copy toward optical center accounting for fixed header */
  margin-top: auto;
  margin-bottom: auto;
  transform: translateY(-0.75rem);
}
/* Mobile: keep frentes in normal flow below the copy */
.hero-frentes { position: static; }
/* Desktop: anchor frentes to the bottom of the hero */
@media (min-width: 768px) {
  .home-hero .content { padding-bottom: 3rem; }
  .home-hero .hero-copy { transform: translateY(-1.75rem); }
  .home-hero .hero-frentes {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 2rem;
    margin: 0;
  }
}
@media (min-width: 1200px) {
  .home-hero .hero-copy { transform: translateY(-2.25rem); }
}

/* ---------- Logo bump (v8_4) ---------- */
.site-header .logo { height: 28px; }
@media (min-width: 768px) {
  .site-header .logo { height: 34px; }
}
body[data-page="home"] .site-header .logo { height: 34px; }
@media (min-width: 768px) {
  body[data-page="home"] .site-header .logo { height: 46px; }
}
