/* ============================================================
   MARTINS, CABRAL & DUARTE — ADVOCACIA
   Design System · v1.0
   Brand: Verde-petróleo / Taupe / Areia / Off-white
   Type:  Cormorant Garamond (display) + Inter (body/UI)
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- TOKENS ---------- */
:root {
  --petrol:        #103f45;
  --petrol-dark:   #0a2a2e;
  --petrol-deep:   #06191c;
  --petrol-light:  #1a5a62;
  --taupe:         #8e7e71;
  --taupe-dark:    #6f6157;
  --sand:          #cabeae;
  --sand-light:    #ddd4c8;
  --cream:         #f9f7f6;
  --cream-2:       #f1ede9;
  --white:         #ffffff;
  --gold:          #c5a77d;
  --gold-deep:     #b08f5f;

  --ink:           #1a1f1f;
  --ink-soft:      #4a5350;
  --muted:         #7d8682;
  --line:          rgba(16,63,69,.12);
  --line-light:    rgba(249,247,246,.10);

  --ff-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --gutter: clamp(22px, 5vw, 80px);
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  --shadow-sm: 0 1px 3px rgba(10,42,46,.06), 0 1px 2px rgba(10,42,46,.04);
  --shadow-md: 0 12px 40px -12px rgba(10,42,46,.18);
  --shadow-lg: 0 30px 80px -24px rgba(10,42,46,.28);

  --font-scale: 1;        /* a11y font scaling */
}

/* ---------- ACCESSIBILITY STATES ---------- */
html { font-size: calc(100% * var(--font-scale)); }

body.a11y-contrast {
  --cream: #ffffff; --cream-2: #ffffff; --white: #ffffff;
  --ink: #000000; --ink-soft: #000000; --muted: #1a1a1a;
  --petrol: #002b30; --petrol-dark: #000000; --petrol-deep: #000000;
  --sand: #6b5d4d; --taupe: #4a3f33; --gold: #8a6d2e;
  --line: rgba(0,0,0,.5); --line-light: rgba(255,255,255,.45);
}
body.a11y-contrast img:not(.keep) { filter: contrast(1.15) grayscale(.1); }
body.a11y-links a:not(.btn):not(.nav__brand) {
  text-decoration: underline !important;
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
body.a11y-readable, body.a11y-readable * { font-family: var(--ff-body) !important; letter-spacing: .01em !important; }
body.a11y-readable .u-serif, body.a11y-readable [class*="display"] { font-weight: 600 !important; }

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

/* ---------- BASE TYPE ---------- */
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
.u-serif { font-family: var(--ff-display); }
em, .it { font-style: italic; }

h1,h2,h3,h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.12; color: var(--petrol); letter-spacing: -.005em; }

.display-xl { font-size: clamp(2.35rem, 5.4vw, 4.35rem); font-weight: 300; line-height: 1.08; }
.display-lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 300; }
.display-md { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 400; }
.display-sm { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 500; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--taupe);
}
.lead { font-size: clamp(1rem, 1.4vw, 1.12rem); font-weight: 300; line-height: 1.75; color: var(--ink-soft); }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vh, 140px); }
.section--tight { padding-block: clamp(54px, 8vh, 96px); }
.bg-petrol { background: var(--petrol); color: var(--cream); }
.bg-petrol-dark { background: var(--petrol-dark); color: var(--cream); }
.bg-cream { background: var(--cream); }
.bg-cream-2 { background: var(--cream-2); }
.bg-petrol h1,.bg-petrol h2,.bg-petrol h3,.bg-petrol h4,
.bg-petrol-dark h1,.bg-petrol-dark h2,.bg-petrol-dark h3,.bg-petrol-dark h4 { color: var(--cream); }
.bg-petrol .eyebrow,.bg-petrol-dark .eyebrow { color: var(--sand); }
.bg-petrol .lead,.bg-petrol-dark .lead { color: rgba(249,247,246,.62); }

.grid { display: grid; gap: var(--gutter); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--petrol); color: var(--cream);
  padding: 10px 18px; border-radius: var(--radius);
  font-size: .8rem; font-weight: 600; transition: top .3s;
}
.skip-link:focus { top: 12px; }

/* ---------- SCROLL PROGRESS ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--gold); z-index: 1200; transition: width .1s linear; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding-inline: var(--gutter);
  transition: background .5s var(--ease-soft), box-shadow .5s, padding .4s;
}
.nav::before { content:''; position:absolute; inset:0 0 auto 0; height:128px; background:linear-gradient(180deg, rgba(6,25,28,.5), transparent); pointer-events:none; z-index:-1; opacity:1; transition:opacity .45s var(--ease-soft); }
.nav.is-solid::before { opacity:0; }
.nav.is-solid { background: rgba(249,247,246,.92); backdrop-filter: saturate(140%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { max-width: var(--container); margin: 0 auto; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 38px; width: auto; transition: opacity .4s; }
.nav__brand .logo-dark { display: none; }
.nav.is-solid .nav__brand .logo-light { display: none; }
.nav.is-solid .nav__brand .logo-dark { display: block; }

.nav__menu { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.nav__link {
  position: relative; font-size: .76rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(249,247,246,.72); padding: 6px 0; transition: color .3s;
}
.nav.is-solid .nav__link { color: var(--ink-soft); }
.nav__link::after { content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px; background: var(--gold); transition: width .35s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--cream); }
.nav.is-solid .nav__link:hover, .nav.is-solid .nav__link[aria-current="page"] { color: var(--petrol); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.nav__cta {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 22px; border: 1px solid rgba(249,247,246,.4); color: var(--cream);
  border-radius: var(--radius); transition: all .35s var(--ease);
}
.nav.is-solid .nav__cta { border-color: var(--petrol); color: var(--petrol); }
.nav__cta:hover { background: var(--cream); color: var(--petrol); border-color: var(--cream); }
.nav.is-solid .nav__cta:hover { background: var(--petrol); color: var(--cream); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { width: 26px; height: 1.6px; background: var(--cream); transition: .35s var(--ease); }
.nav.is-solid .nav__burger span { background: var(--petrol); }

.drawer { position: fixed; inset: 0; z-index: 1100; background: var(--petrol-dark); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-soft); }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer__close { position: absolute; top: 26px; right: var(--gutter); background: none; border: 0; color: var(--cream); font-size: 2rem; cursor: pointer; line-height: 1; }
.drawer__list { display: flex; flex-direction: column; gap: 6px; }
.drawer__list a { font-family: var(--ff-display); font-size: clamp(1.8rem,7vw,2.6rem); font-weight: 300; color: var(--cream); padding: 8px 0; transition: color .3s, padding-left .3s; }
.drawer__list a:hover { color: var(--sand); padding-left: 12px; }
.drawer__meta { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 22px; }
.drawer__meta a { font-size: .85rem; color: rgba(249,247,246,.6); }
.drawer__meta a:hover { color: var(--cream); }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-body); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 15px 30px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; transition: all .35s var(--ease); }
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--primary { background: var(--petrol); color: var(--cream); }
.btn--primary:hover { background: var(--petrol-light); }
.btn--light { background: var(--cream); color: var(--petrol); }
.btn--light:hover { background: var(--sand); }
.btn--gold { background: var(--gold); color: var(--petrol-dark); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--ghost { background: transparent; color: var(--petrol); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--petrol); background: var(--petrol); color: var(--cream); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(249,247,246,.35); }
.btn--ghost-light:hover { border-color: var(--sand); color: var(--sand); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); transition: gap .3s; }
.bg-petrol .link-arrow, .bg-petrol-dark .link-arrow { color: var(--sand); }
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6,25,28,.58) 0%, rgba(6,25,28,.32) 38%, rgba(6,25,28,.82) 100%); }
.hero__grain { position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E"); }
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(64px, 11vh, 130px); max-width: 1000px; }
.hero__eyebrow { color: var(--sand); margin-bottom: 22px; opacity: 0; transform: translateY(18px); animation: rise .9s .3s var(--ease) forwards; }
.hero__title { color: var(--cream); margin-bottom: 26px; opacity: 0; transform: translateY(26px); animation: rise 1s .5s var(--ease) forwards; }
.hero__title em { color: var(--sand); }
.hero__sub { color: rgba(249,247,246,.74); max-width: 580px; margin-bottom: 38px; opacity: 0; transform: translateY(18px); animation: rise .9s .72s var(--ease) forwards; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(18px); animation: rise .9s .9s var(--ease) forwards; }
.hero__down { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: rise .8s 1.2s var(--ease) forwards; }
.hero__down span { font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(249,247,246,.45); }
.hero__down .ln { width: 1px; height: 42px; background: rgba(249,247,246,.2); position: relative; overflow: hidden; }
.hero__down .ln::after { content:''; position:absolute; inset:-100% 0 auto 0; height:100%; background: var(--sand); animation: scrolldot 2.2s infinite; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes scrolldot { 0%{top:-100%} 55%{top:100%} 100%{top:100%} }

/* page hero (interior) */
.phero { position: relative; padding-top: clamp(140px,18vh,200px); padding-bottom: clamp(48px,8vh,90px); overflow: hidden; }
.phero--media { color: var(--cream); }
.phero--media .phero__bg { position: absolute; inset: 0; z-index: 0; }
.phero--media .phero__bg img { width:100%; height:100%; object-fit: cover; }
.phero--media .phero__bg::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(6,25,28,.74), rgba(6,25,28,.86)); }
.phero__inner { position: relative; z-index: 1; max-width: 820px; }
.phero--media h1 { color: var(--cream); }
.phero--media .eyebrow { color: var(--sand); }
.phero__title { margin: 16px 0 18px; }
.phero__lead { max-width: 640px; }
.phero--media .phero__lead { color: rgba(249,247,246,.7); }

/* breadcrumb */
.crumb { display: flex; gap: 8px; align-items: center; font-size: .72rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.phero--media .crumb { color: rgba(249,247,246,.55); }
.crumb a:hover { color: var(--petrol); }
.phero--media .crumb a:hover { color: var(--cream); }
.crumb span { opacity: .5; }

/* ---------- TICKER ---------- */
.ticker { background: var(--sand); padding: 14px 0; overflow: hidden; border-block: 1px solid rgba(16,63,69,.08); }
.ticker__track { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__track span { font-family: var(--ff-display); font-size: 1.05rem; color: var(--petrol); padding-inline: 30px; display: inline-flex; align-items: center; }
.ticker__track span::after { content:'·'; margin-left: 30px; color: var(--taupe-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTION HEADER ---------- */
.s-head { max-width: 720px; }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head .eyebrow { display: block; margin-bottom: 16px; }
.s-head h2 { margin-bottom: 16px; }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--cream); padding: clamp(22px,2.4vw,34px); }
.bg-petrol .stats, .bg-petrol-dark .stats { background: var(--line-light); border-color: var(--line-light); }
.bg-petrol .stat, .bg-petrol-dark .stat { background: var(--petrol); }
.stat__num { font-family: var(--ff-display); font-size: clamp(2.2rem,3.6vw,3rem); font-weight: 300; line-height: 1; color: var(--petrol); }
.bg-petrol .stat__num, .bg-petrol-dark .stat__num { color: var(--sand); }
.stat__num sup { font-size: .5em; vertical-align: super; color: var(--gold); }
.stat__label { font-size: .78rem; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.bg-petrol .stat__label, .bg-petrol-dark .stat__label { color: rgba(249,247,246,.6); }

/* ---------- SPLIT (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,92px); align-items: center; }
.split--media-first .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(12%) contrast(1.02); }
.split__media .frame { position: absolute; inset: auto -18px -18px auto; width: 130px; height: 130px; border: 1px solid var(--sand); opacity: .55; z-index: -1; }
.split__media .badge { position: absolute; left: 22px; bottom: 22px; background: rgba(6,25,28,.78); backdrop-filter: blur(6px); color: var(--cream); padding: 14px 20px; max-width: 70%; }
.split__media .badge .u-serif { font-size: 1.2rem; line-height: 1.2; }
.split__media .badge small { display:block; font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; color: var(--sand); margin-bottom: 4px; }

/* ---------- PILLARS ---------- */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.pillar { background: var(--petrol); padding: clamp(26px,2.6vw,40px); display: flex; flex-direction: column; transition: background .45s var(--ease); }
.pillar:hover { background: var(--petrol-light); }
.pillar__n { font-family: var(--ff-display); font-size: 2.6rem; font-weight: 300; color: rgba(249,247,246,.1); line-height: 1; margin-bottom: 22px; }
.pillar__ico { width: 34px; height: 34px; color: var(--sand); margin-bottom: 20px; }
.pillar h3 { color: var(--cream); font-size: 1.32rem; margin-bottom: 14px; }
.pillar p { font-size: .82rem; font-weight: 300; line-height: 1.7; color: rgba(249,247,246,.56); flex: 1; }
.pillar .link-arrow { margin-top: 24px; }

/* ---------- PROCESS / TIMELINE ---------- */
.flow { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; margin-top: clamp(40px,6vh,72px); }
.flow::before { content:''; position:absolute; top: 7px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--sand), transparent); }
.bg-petrol .flow::before, .bg-petrol-dark .flow::before { background: linear-gradient(90deg, transparent, rgba(202,190,174,.5), transparent); }
.flow__step { padding-inline: 12px; position: relative; }
.flow__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 3px solid var(--sand); margin-bottom: 26px; position: relative; z-index: 1; }
.bg-petrol .flow__dot, .bg-petrol-dark .flow__dot { background: var(--petrol); }
.flow__n { font-family: var(--ff-display); font-size: 2rem; font-weight: 300; color: rgba(16,63,69,.16); margin-bottom: 8px; }
.bg-petrol .flow__n, .bg-petrol-dark .flow__n { color: rgba(249,247,246,.18); }
.flow h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.flow p { font-size: .8rem; font-weight: 300; line-height: 1.6; color: var(--muted); }
.bg-petrol .flow p, .bg-petrol-dark .flow p { color: rgba(249,247,246,.58); }

/* ---------- TEAM ---------- */
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,3vw,46px); }
.member { }
.member__photo { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--sand); margin-bottom: 22px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(18%) contrast(1.04); transition: transform .7s var(--ease), filter .6s; }
.member:hover .member__photo img { transform: scale(1.04); filter: grayscale(0) contrast(1); }
.member__tag { position: absolute; top: 16px; left: 16px; background: rgba(6,25,28,.66); backdrop-filter: blur(6px); color: var(--sand); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; }
.member__ov { position: absolute; inset: auto 0 0 0; padding: 40px 22px 20px; background: linear-gradient(transparent, rgba(6,25,28,.9)); opacity: 0; transform: translateY(8px); transition: .45s var(--ease); }
.member:hover .member__ov { opacity: 1; transform: translateY(0); }
.member__ov p { font-size: .78rem; font-weight: 300; line-height: 1.6; color: rgba(249,247,246,.85); }
.member h3 { font-size: 1.5rem; margin-bottom: 4px; }
.member__role { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.member__creds { border-top: 1px solid var(--line); padding-top: 14px; }
.member__creds li { font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--ink-soft); padding: 4px 0 4px 16px; position: relative; }
.member__creds li::before { content:'·'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- QUOTE ---------- */
.quote { text-align: center; }
.quote__mark { font-family: var(--ff-display); font-size: 5rem; line-height: .5; color: var(--gold); opacity: .5; }
.quote blockquote { font-family: var(--ff-display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem,3.4vw,2.7rem); line-height: 1.4; color: var(--cream); max-width: 900px; margin: 14px auto 22px; }
.quote cite { font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }

/* ---------- CTA BLOCK ---------- */
.cta-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px,6vw,96px); align-items: start; }
.steps { margin-top: 38px; display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step__n { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 300; color: rgba(16,63,69,.18); min-width: 40px; line-height: 1; }
.bg-petrol .step__n, .bg-petrol-dark .step__n { color: rgba(249,247,246,.22); }
.step h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 3px; }
.step p { font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.6; }
.bg-petrol .step p, .bg-petrol-dark .step p { color: rgba(249,247,246,.6); }

/* ---------- FORM CARD ---------- */
.formcard { background: var(--white); padding: clamp(28px,4vw,52px); box-shadow: var(--shadow-md); border-radius: var(--radius); }
.formcard h3 { font-size: 1.5rem; margin-bottom: 8px; }
.formcard__sub { font-size: .84rem; font-weight: 300; color: var(--muted); margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; background: var(--cream); border: 1px solid var(--line);
  font-size: .9rem; font-weight: 300; color: var(--ink); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(16,63,69,.08); }
.field textarea { resize: vertical; min-height: 110px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237d8682' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; }
.consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--petrol); }
.consent label { font-size: .72rem; font-weight: 300; color: var(--muted); line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .chk { width: 56px; height: 56px; border-radius: 50%; background: rgba(16,63,69,.08); display: grid; place-items: center; margin: 0 auto 18px; color: var(--petrol); }
.form-success h3 { margin-bottom: 10px; }
.form-success p { font-size: .9rem; font-weight: 300; color: var(--muted); line-height: 1.6; }

/* ---------- CONTACT METHODS ---------- */
.contact-rows { display: flex; flex-direction: column; gap: 2px; }
.contact-row { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(249,247,246,.2); color: var(--sand); }
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row small { display: block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 3px; }
.contact-row a, .contact-row p { font-size: 1.02rem; font-weight: 300; color: var(--cream); }
.contact-row a:hover { color: var(--sand); }

/* ============== INSIGHTS / CONTENT HUB ============== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(34px,5vh,56px); }
.filter { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); background: transparent; cursor: pointer; transition: all .3s; }
.filter:hover { border-color: var(--petrol); color: var(--petrol); }
.filter.is-active { background: var(--petrol); color: var(--cream); border-color: var(--petrol); }

.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,2.6vw,38px); }
.post { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--petrol); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__cat { position: absolute; top: 14px; left: 14px; font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--cream); color: var(--petrol); padding: 6px 11px; border-radius: 2px; }
.post__cat--video { background: var(--gold); color: var(--petrol-dark); }
.post__play { position: absolute; inset: 0; display: grid; place-items: center; }
.post__play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(249,247,246,.9); display: grid; place-items: center; transition: transform .35s var(--ease), background .35s; }
.post__play span svg { width: 20px; height: 20px; color: var(--petrol); margin-left: 3px; }
.post:hover .post__play span { transform: scale(1.1); background: var(--cream); }
.post__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: .68rem; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.post__meta span { width: 3px; height: 3px; border-radius: 50%; background: var(--sand); }
.post h3 { font-size: 1.32rem; line-height: 1.2; margin-bottom: 10px; }
.post p { font-size: .85rem; font-weight: 300; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.post__foot { margin-top: 18px; }
.post.is-hidden { display: none; }

/* featured post */
.featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--petrol); border-radius: var(--radius); overflow: hidden; margin-bottom: clamp(32px,5vh,56px); }
.featured__media { position: relative; min-height: 340px; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: clamp(30px,4vw,56px); display: flex; flex-direction: column; justify-content: center; }
.featured__body .post__cat { position: static; display: inline-block; align-self: flex-start; margin-bottom: 18px; }
.featured__body h2 { color: var(--cream); font-size: clamp(1.6rem,2.6vw,2.3rem); margin-bottom: 14px; }
.featured__body p { color: rgba(249,247,246,.66); font-weight: 300; font-size: .95rem; line-height: 1.7; margin-bottom: 22px; }
.featured__body .post__meta { color: rgba(249,247,246,.55); }

/* newsletter band */
.news-band { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.news-band form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-band input { padding: 14px 18px; min-width: 260px; background: rgba(249,247,246,.08); border: 1px solid rgba(249,247,246,.2); color: var(--cream); border-radius: var(--radius); font-size: .9rem; }
.news-band input::placeholder { color: rgba(249,247,246,.45); }
.news-band input:focus { outline: none; border-color: var(--sand); }

/* ---------- ARTICLE ---------- */
.article { max-width: 720px; margin-inline: auto; }
.article__hero-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .78rem; color: var(--muted); margin-top: 18px; }
.article__hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sand); }
.prose { font-size: 1.06rem; line-height: 1.85; color: var(--ink-soft); font-weight: 300; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.5rem,2.4vw,2rem); margin-top: 1.8em; color: var(--petrol); }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; color: var(--petrol); }
.prose p { margin-top: 1.2em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin-left: 1.2em; }
.prose ul li { list-style: none; position: relative; padding-left: 1.2em; margin-top: .5em; }
.prose ul li::before { content:''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.prose ol { list-style: decimal; }
.prose ol li { margin-top: .5em; padding-left: .3em; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; font-family: var(--ff-display); font-style: italic; font-size: 1.4rem; line-height: 1.45; color: var(--petrol); }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.share span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.share a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--petrol); transition: all .3s; }
.share a:hover { background: var(--petrol); color: var(--cream); border-color: var(--petrol); }
.share a svg { width: 16px; height: 16px; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 24px; background: var(--cream-2); border-radius: var(--radius); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; }
.author-box h4 { font-size: 1.1rem; margin-bottom: 2px; }
.author-box small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }
.author-box p { font-size: .84rem; font-weight: 300; color: var(--muted); margin-top: 6px; line-height: 1.55; }

/* ---------- VIDEO MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 24px; background: rgba(6,25,28,.92); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__inner { width: min(960px, 100%); }
.modal__frame { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: var(--cream); font-size: 1.6rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.modal__close span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- VALUE / FEATURE GRID ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat { background: var(--cream); padding: clamp(26px,3vw,40px); }
.feat__ico { width: 40px; height: 40px; color: var(--petrol); margin-bottom: 20px; }
.feat h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feat p { font-size: .86rem; font-weight: 300; line-height: 1.65; color: var(--ink-soft); }

/* frentes list (practice detail) */
.frentes { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,2.4vw,32px); }
.frente { background: var(--cream); border: 1px solid var(--line); border-left: 2px solid var(--gold); padding: clamp(22px,2.4vw,30px); border-radius: var(--radius); }
.frente .glyph { font-family: var(--ff-display); font-size: 1.6rem; color: var(--petrol); margin-bottom: 12px; }
.frente h4 { font-size: 1.12rem; margin-bottom: 10px; }
.frente p { font-size: .84rem; font-weight: 300; line-height: 1.6; color: var(--ink-soft); }
.area-block { padding-block: clamp(54px,8vh,90px); border-bottom: 1px solid var(--line); }
.area-block:last-child { border-bottom: 0; }
.area-block__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,4vw,56px); align-items: start; margin-bottom: clamp(30px,4vh,48px); }
.area-block__num { font-family: var(--ff-display); font-size: clamp(3rem,6vw,5rem); font-weight: 300; color: var(--sand); line-height: .9; }
.area-block__head h2 { font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: 12px; }
.area-pull { font-family: var(--ff-display); font-style: italic; font-size: clamp(1.2rem,2vw,1.5rem); color: var(--petrol); line-height: 1.4; max-width: 760px; margin-top: clamp(28px,4vh,40px); padding-left: 20px; border-left: 2px solid var(--gold); }

/* ---------- FOOTER ---------- */
.footer { background: var(--petrol-deep); color: rgba(249,247,246,.6); padding-top: clamp(56px,8vh,84px); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 64px; margin-bottom: 18px; }
.footer__brand p { font-size: .84rem; font-weight: 300; line-height: 1.7; max-width: 320px; }
.footer__col h4 { font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 18px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: .86rem; font-weight: 300; transition: color .3s; }
.footer__col a:hover { color: var(--cream); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--line-light); border-radius: 50%; display: grid; place-items: center; transition: all .3s; }
.footer__social a:hover { background: var(--petrol); border-color: var(--petrol); color: var(--cream); }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom { border-top: 1px solid var(--line-light); padding-block: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer__bottom p, .footer__bottom a { font-size: .74rem; font-weight: 300; color: rgba(249,247,246,.35); }
.footer__bottom a:hover { color: var(--cream); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- FLOATING WIDGETS ---------- */
.fab { position: fixed; right: 22px; z-index: 900; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: var(--shadow-md); transition: transform .3s var(--ease); cursor: pointer; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab--wa { bottom: 22px; width: 58px; height: 58px; background: #25D366; color: #fff; }
.fab--wa svg { width: 30px; height: 30px; }
.fab--wa::after { content: attr(data-label); position: absolute; right: 70px; white-space: nowrap; background: var(--petrol-dark); color: var(--cream); font-size: .72rem; font-weight: 500; padding: 8px 14px; border-radius: 4px; opacity: 0; transform: translateX(8px); pointer-events: none; transition: .3s; }
.fab--wa:hover::after { opacity: 1; transform: translateX(0); }
.fab--wa .pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.9);opacity:0} }

/* a11y toolbar */
.a11y-btn { bottom: 92px; width: 52px; height: 52px; background: var(--petrol); color: var(--cream); border: 0; }
.a11y-btn svg { width: 26px; height: 26px; }
.a11y-panel { position: fixed; right: 22px; bottom: 154px; z-index: 950; width: 300px; max-width: calc(100vw - 44px); background: var(--white); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 22px; transform: translateY(12px) scale(.98); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.a11y-panel.is-open { transform: none; opacity: 1; pointer-events: auto; }
.a11y-panel h4 { font-family: var(--ff-body); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.a11y-panel h4 button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.2rem; line-height: 1; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.a11y-row:last-of-type { border-bottom: 0; }
.a11y-row span { font-size: .82rem; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.a11y-row span svg { width: 17px; height: 17px; color: var(--petrol); flex: none; }
.a11y-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.a11y-stepper button { width: 30px; height: 30px; background: var(--cream); border: 0; cursor: pointer; color: var(--petrol); font-size: 1rem; font-weight: 600; }
.a11y-stepper button:hover { background: var(--sand-light); }
.a11y-stepper b { min-width: 34px; text-align: center; font-size: .74rem; font-variant-numeric: tabular-nums; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; background: var(--line); border-radius: 100px; transition: background .3s; }
.switch i::after { content:''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .3s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + i { background: var(--petrol); }
.switch input:checked + i::after { transform: translateX(18px); }
.a11y-reset { width: 100%; margin-top: 14px; padding: 11px; background: var(--cream-2); border: 1px solid var(--line); border-radius: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); cursor: pointer; transition: background .3s; }
.a11y-reset:hover { background: var(--sand-light); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1 !important; transform: none !important; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .pillars, .feat-grid, .stats { grid-template-columns: repeat(2,1fr); }
  .posts, .team, .frentes { grid-template-columns: repeat(2,1fr); }
  .flow { grid-template-columns: repeat(3,1fr); gap: 28px 16px; }
  .flow::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 240px; }
}
@media (max-width: 760px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .split, .cta-split, .news-band { grid-template-columns: 1fr; }
  .split--media-first .split__media { order: 0; }
  .pillars, .feat-grid, .stats, .posts, .team, .frentes { grid-template-columns: 1fr; }
  .team { max-width: 420px; margin-inline: auto; }
  .flow { grid-template-columns: 1fr 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .area-block__head { grid-template-columns: 1fr; gap: 8px; }
  .news-band { text-align: left; }
  .news-band input { min-width: 0; width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .flow { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
