/* ========================================================================== 
   ONRA — SISTEMA VISUAL V5 (PRODUÇÃO)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS E VARIÁVEIS
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --navy: #172638;
  --navy-900: #0d1823;
  --navy-800: #112131;
  --navy-700: #1d3146;
  --blue: #375984;
  --accent: #6aacff;
  --mist: #eff0f2;
  --mist-2: #f6f7f8;
  --white: #ffffff;
  --ink: #18283a;
  --ink-soft: #607083;
  --ink-faint: #8290a0;
  
  /* Semi-transparent text & lines */
  --dark-text: rgba(255,255,255,.96);
  --dark-muted: rgba(255,255,255,.67);
  --dark-faint: rgba(255,255,255,.42);
  --line-dark: rgba(255,255,255,.14);
  --line-light: rgba(23,38,56,.14);
  --line-light-strong: rgba(23,38,56,.22);

  /* Typography */
  --font-display: "Lato", sans-serif;
  --font-sans: "Lato", sans-serif;
  
  /* Type Scales */
  --text-hero: clamp(2.25rem, 4vw, 3.8rem);
  --text-h2: clamp(1.8rem, 3.2vw, 3rem);
  --text-h3: clamp(1.4rem, 2vw, 1.8rem);
  --text-quote: clamp(1.5rem, 2.8vw, 2.6rem);
  --text-lead: clamp(1.1rem, 1.5vw, 1.45rem);
  --text-body: clamp(1rem, 1.1vw, 1.15rem);
  --text-sm: clamp(0.85rem, 0.9vw, 0.95rem);

  /* Layout */
  --gutter: clamp(1.25rem, 4.2vw, 4.75rem);
  --shell-max: 90rem;
  --shell: min(var(--shell-max), calc(100vw - (var(--gutter) * 2)));
  --header-h: 4.8rem;
  --section-y: clamp(4.75rem, 6vw, 6.25rem);
  --section-y-sm: clamp(3.75rem, 4.8vw, 4.75rem);
  
  /* Animation */
  --ease: cubic-bezier(.2,.75,.25,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

.view-consulting {
  --bg-deep-blue: #0b1521;
  --bg-deep-blue-alt: #09121c;
  --text-muted-dark: rgba(255, 255, 255, 0.7);
  --text-faint-dark: rgba(255, 255, 255, 0.4);
  --line-subtle-dark: rgba(255, 255, 255, 0.08);
  --line-subtle-light: rgba(23, 38, 56, 0.08);
  --section-y: clamp(4.5rem, 6vw, 6.5rem);
  --section-y-sm: clamp(3.5rem, 4.5vw, 4.5rem);
}

/* --------------------------------------------------------------------------
   2. RESET E BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--navy); }
body {
  margin: 0; min-width: 20rem; width: 100%; max-width: 100%; overflow-x: hidden;
  background: var(--mist); color: var(--ink);
  font-family: var(--font-sans); font-size: var(--text-body); line-height: 1.75;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, picture { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3, blockquote { overflow-wrap: normal; word-break: normal; text-wrap: pretty; }
p { overflow-wrap: break-word; text-wrap: pretty; }
::selection { background: var(--accent); color: var(--navy-900); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 4px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   3. UTILITIES
   -------------------------------------------------------------------------- */
.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; }
.shell { width: var(--shell); max-width: 100%; margin-inline: auto; }
.shell > *, [class$="-grid"] > *, [class*="-grid "] > *, .portal > * { min-width: 0; }

.skip-link { position: fixed; z-index: 9999; top: 1rem; left: 1rem; padding: .75rem 1rem; background: #fff; color: var(--ink); transform: translateY(-180%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.eyebrow, .section-number { margin: 0; font-size: .67rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { color: inherit; }
.section-number { color: var(--ink-faint); }

.view { width: 100%; max-width: 100%; min-height: 100svh; overflow-x: hidden; }
.view-home, .view-consulting { background: var(--navy); }
.view-education { background: var(--mist); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s var(--ease-out) var(--delay, 0ms), transform .75s var(--ease-out) var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

.text-highlight { position: relative; display: inline-block; white-space: nowrap; z-index: 1; }
.text-highlight::before { content: ""; position: absolute; top: 2%; bottom: 2%; left: -1%; width: 0; background-color: #81B8FF; opacity: 0.45; z-index: -1; border-radius: 2px; transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: 0.25s; }
.reveal.is-visible .text-highlight::before { width: 102%; }

.text-link, .cta-arrow { display: inline-flex; align-items: center; gap: 1.5rem; padding: .95rem 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: inherit; cursor: pointer; font-size: .66rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.text-link span, .cta-arrow span { font-size: var(--text-body); transition: transform .3s var(--ease); }
.text-link:hover span, .cta-arrow:hover span { transform: translate(.2rem, -.2rem); }

/* --------------------------------------------------------------------------
   4. COMPONENTES GLOBAIS
   -------------------------------------------------------------------------- */
/* Page Transition */
.page-transition { position: fixed; z-index: 9000; inset: 0; pointer-events: none; background: var(--ink); transform: translateY(100%); display: flex; align-items: center; justify-content: center; }
.page-transition.is-entering { animation: cover .46s var(--ease-out) forwards; }
.page-transition.is-leaving { animation: uncover .58s var(--ease-out) forwards; }
@keyframes cover { to { transform: translateY(0); } }
@keyframes uncover { from { transform: translateY(0); } to { transform: translateY(-100%); } }

@keyframes spinAndPulse {
  0% { transform: rotate(0deg); opacity: 0.15; filter: brightness(0.7); }
  50% { opacity: 0.85; filter: brightness(1.3); }
  100% { transform: rotate(180deg); opacity: 0.15; filter: brightness(0.7); }
}
.page-transition-logo { width: clamp(5rem, 9vw, 8rem); opacity: 0; transform: rotate(0deg); }
.page-transition.is-entering .page-transition-logo, .page-transition.is-leaving .page-transition-logo { animation: spinAndPulse 1.2s infinite cubic-bezier(0.4, 0, 0.2, 1); }

/* Header */
.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: var(--header-h); color: var(--dark-text); transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), backdrop-filter .35s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(13,24,35,.84); border-color: var(--line-dark); backdrop-filter: blur(18px) saturate(125%); }

.brand-img-light { display: block; width: 120px; height: auto; }
.brand-img-dark { display: none; width: 120px; height: auto; }
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.brand, .desktop-nav a, .menu-toggle, .mobile-menu a, .mobile-menu button, .footer-brand { border: 0; background: none; cursor: pointer; }
.brand { display: inline-flex; align-items: center; gap: .62rem; padding: .75rem 0; }

.desktop-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2vw, 2.8rem); }
.desktop-nav a { position: relative; padding: .8rem 0; font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .58; transition: opacity .2s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .4rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.desktop-nav a:hover, .desktop-nav a.is-active, .desktop-nav a[aria-current="page"] { opacity: 1; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; width: 2.25rem; height: 2.25rem; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: .28rem; right: .28rem; height: 1px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.menu-toggle span:first-child { top: .82rem; }
.menu-toggle span:last-child { top: 1.38rem; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 1.1rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 1.1rem; transform: rotate(-45deg); }

.mobile-menu { position: fixed; z-index: 990; inset: 0; background: var(--navy-900); color: var(--dark-text); padding: calc(var(--header-h) + 3rem) var(--gutter) 2.5rem; }
.mobile-menu nav { display: grid; border-top: 1px solid var(--line-dark); }
.mobile-menu a, .mobile-menu button { display: flex; justify-content: space-between; padding: 1.15rem 0; border-bottom: 1px solid var(--line-dark); color: inherit; text-align: left; font-size: var(--text-h3); font-weight: 400; text-decoration: none; }
.mobile-menu p { position: absolute; left: var(--gutter); bottom: 2.5rem; margin: 0; color: var(--dark-muted); font-size: var(--text-sm); }

/* Footer */
.site-footer { padding: 2rem 0; }
.home-footer, .footer-dark { background: var(--navy-900); color: var(--dark-muted); border-top: 1px solid var(--line-dark); }
.footer-light { background: var(--white); color: var(--ink-soft); border-top: 1px solid var(--line-light); }
.footer-minimal, .footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-minimal span:nth-child(2), .footer-grid > p { text-align: center; }
.footer-minimal button, .footer-grid button { border: 0; background: none; color: inherit; cursor: pointer; font-size: inherit; letter-spacing: inherit; text-transform: uppercase; }
.footer-minimal button { justify-self: end; }
.footer-brand { justify-self: start; padding: 0; font-size: var(--text-sm); font-weight: 600; letter-spacing: .28em; }
.footer-brand-img { width: 5.5rem; vertical-align: middle; }
.footer-grid > div { display: flex; justify-self: end; gap: 1.5rem; }

/* --------------------------------------------------------------------------
   5. MODALS & FORMS
   -------------------------------------------------------------------------- */
.contact-dialog, .legal-dialog { width: min(46rem, 100vw); height: 100vh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--mist); color: var(--ink); box-shadow: -2rem 0 5rem rgba(6,14,22,.25); }
.contact-dialog::backdrop, .legal-dialog::backdrop { background: rgba(6,14,22,.62); backdrop-filter: blur(4px); }
.dialog-shell { position: relative; min-height: 100%; padding: clamp(2rem, 5vw, 5rem); }
.dialog-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-light); background: none; cursor: pointer; font-size: 1.6rem; font-weight: 300; line-height: 1; }
.dialog-intro { padding-right: 3rem; margin-bottom: 3rem; }
.dialog-intro h2, .legal-copy h2 { max-width: 20ch; margin: 1rem 0 1rem; font-family: var(--font-sans); font-size: var(--text-h2); font-weight: 300; line-height: 1; letter-spacing: -.05em; }
.dialog-intro > p:last-child { max-width: 34rem; color: var(--ink-soft); line-height: 1.75; }

#contact-form { display: grid; gap: 1.25rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
#contact-form label { display: grid; gap: .5rem; }
#contact-form label > span { font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
#contact-form input, #contact-form textarea, #contact-form select.form-input { width: 100%; border: 0; border-bottom: 1px solid var(--line-light-strong); border-radius: 0; background: transparent; padding: .85rem 0; color: var(--ink); outline: none; font-family: inherit; font-size: 1rem; }
#contact-form input:focus, #contact-form textarea:focus, #contact-form select:focus { border-color: var(--blue); }
#contact-form select.form-input { padding: .85rem .5rem .85rem 0; }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: .8rem; }
.consent input { width: auto; margin-top: .25rem; }
.consent span { font-size: .75rem; line-height: 1.5; text-transform: none; letter-spacing: 0; }
.submit-button { display: flex; justify-content: space-between; align-items: center; margin-top: .7rem; padding: 1rem 0; border: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.form-status { min-height: 1.4rem; margin: 0; color: var(--ink-soft); font-size: .75rem; }
.legal-copy { line-height: 1.75; }
.legal-copy p { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   6. PÁGINA: HOME
   -------------------------------------------------------------------------- */
.home-hero { position: relative; width: 100%; max-width: 100%; height: 100svh; min-height: 40rem; background: var(--navy); color: var(--dark-text); overflow: hidden; display: grid; grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--shell-max) * 0.56)) minmax(0, calc(var(--shell-max) * 0.44)) minmax(var(--gutter), 1fr); align-items: stretch; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 38%, rgba(55,89,132,.28), transparent 32%), linear-gradient(90deg, rgba(13,24,35,.18), transparent 55%); pointer-events: none; }
.home-hero-content { grid-column: 2 / 3; align-self: center; position: relative; z-index: 2; width: 100%; margin: 0; padding-top: var(--header-h); padding-bottom: 0; }
.home-copy { max-width: 36rem; }
.home-copy .eyebrow { margin-bottom: 1.4rem; color: rgba(255,255,255,.72); }
.home-copy h1 { margin: 0; font-family: var(--font-sans); font-size: var(--text-hero); font-weight: 400; line-height: 1.02; letter-spacing: -.03em; }
.home-copy .lead { max-width: 34rem; margin: 1.75rem 0 0; color: var(--dark-muted); font-size: var(--text-lead); line-height: 1.75; }

.founder-line { display: flex; flex-wrap: wrap; gap: .65rem 1.7rem; margin-top: 2.25rem; color: var(--dark-faint); font-size: .64rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.founder-line span { position: relative; }
.founder-line span + span::before { content: ""; position: absolute; left: -.88rem; top: 50%; width: .18rem; height: .18rem; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }

.portrait-stage { grid-column: 3 / 5; position: relative; width: 100%; min-height: 100%; height: 100%; margin: 0; overflow: hidden; background: var(--navy-800); }
.portrait-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13,24,35,.4)); pointer-events: none; }
.portrait-stage picture, .portrait-stage img { width: 100%; height: 100%; }
.portrait-stage img { object-fit: cover; object-position: center 24%; filter: saturate(.88) contrast(1.02); }
.portrait-stage figcaption { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.3rem; display: flex; justify-content: space-between; margin: 0; color: rgba(255,255,255,.75); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }

.home-scroll-cue { position: absolute; z-index: 2; left: var(--gutter); bottom: 1.75rem; display: flex; align-items: center; gap: 1rem; color: var(--dark-faint); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-line { width: 3.5rem; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.12)); }

/* Portals */
.portals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 90rem; margin: 0 auto; min-height: 0; background: var(--white); overflow: hidden; }
.portal { 
  --portal-pad: clamp(4rem, 6vw, 6.5rem); 
  appearance: none; position: relative; display: flex; flex-direction: column; align-items: flex-start; 
  width: 100%; max-width: 100%; min-width: 0; min-height: 28rem; 
  margin: 0; padding: var(--portal-pad); overflow: hidden; 
  border: 0; border-radius: 0; text-align: left; cursor: pointer; isolation: isolate; 
  transition: transform .4s cubic-bezier(0.2, 0.8, 0.2, 1); 
  text-decoration: none; 
  background: var(--mist); 
  color: var(--ink); 
  --btn-bg: var(--ink); 
  --btn-text: var(--white); 
  --btn-border: rgba(24,40,58,0.22); 
}
.portal-education { border-right: 1px solid rgba(0,0,0,0.06); }
.portal-consulting { background: var(--white); }

.portal::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.02) 100%); opacity: 0; transition: opacity .4s ease; }
.portal:hover::before { opacity: 1; }

.portal-index { position: absolute; top: var(--portal-pad); right: var(--portal-pad); font-size: .65rem; font-weight: 500; letter-spacing: .15em; opacity: .4; }
.portal-kicker { margin-bottom: 2.5rem; font-size: .65rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .5; }
.portal strong { display: block; width: 100%; max-width: 25rem; margin: 0; font-family: var(--font-sans); font-size: var(--text-h2); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; }
.portal-description { display: block; width: 100%; max-width: 26rem; margin-top: 1.5rem; margin-bottom: 4rem; font-size: var(--text-body); line-height: 1.7; opacity: .65; }
.portal-action { display: inline-flex; justify-content: center; align-items: center; width: auto; margin-top: auto; padding: 1.15rem 2.25rem; border: 1px solid var(--btn-border); border-radius: 3rem; font-size: .62rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; transition: all .35s var(--ease); }
.portal-action .action-text { color: var(--ink); transition: color .35s var(--ease); }
.portal-action i { flex: 0 0 auto; margin-left: 1rem; font-style: normal; font-size: var(--text-body); color: var(--ink); transition: transform .3s var(--ease), color .35s var(--ease); }

.portal:hover .portal-action, .portal:focus-visible .portal-action { background-color: var(--btn-bg); border-color: transparent; padding-left: 2.5rem; padding-right: 2rem; }
.portal:hover .portal-action .action-text, .portal:focus-visible .portal-action .action-text { color: var(--btn-text); }
.portal:hover .portal-action i, .portal:focus-visible .portal-action i { color: var(--btn-text); transform: translateX(.25rem); }


/* --------------------------------------------------------------------------
   7. BLOCOS COMPARTILHADOS (EDU & CONS)
   -------------------------------------------------------------------------- */
.section-light { background: var(--mist); color: var(--ink); }
.section-paper { background: var(--white); color: var(--ink); }
.section-ink { background: var(--navy-900); color: var(--dark-text); }

.statement { padding: var(--section-y-sm) 0; }
.statement-grid { display: grid; grid-template-columns: minmax(18rem, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.statement-grid blockquote { margin: 0; font-family: var(--font-display); font-size: var(--text-quote); line-height: 1.02; letter-spacing: -.02em; }
.statement-grid > p:last-child { grid-column: 2; max-width: 42rem; margin: 0; padding-top: .35rem; font-size: var(--text-lead); line-height: 1.75; opacity: .64; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; margin-bottom: clamp(3.5rem, 5.5vw, 5.75rem); }
.split-heading h2 { max-width: 22ch; margin: .8rem 0 0; font-family: var(--font-sans); font-size: var(--text-h2); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }
.split-heading > p { font-size: var(--text-lead); max-width: 32rem; margin: 0; margin-top: .6rem; line-height: 1.75; color: var(--ink-soft); }

.founder { padding: var(--section-y) 0; }
.founder-grid { display: grid; grid-template-columns: minmax(20rem, 1fr) minmax(0, 1.5fr); gap: clamp(4rem, 5vw, 6rem); align-items: start; }
.founder figure { margin: 0; overflow: hidden; background: var(--mist); }
.founder figure img { width: 100%; height: auto; display: block; filter: saturate(.9); }
.founder-copy h2 { max-width: 32ch; margin: 0 0 1rem; font-family: var(--font-sans); font-size: clamp(1.75rem, 2.5vw, 2.25rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.founder-copy > p { max-width: 42rem; color: var(--ink-soft); line-height: 1.85; }
.credentials { margin: 3rem 0 0; border-top: 1px solid var(--line-light); }
.credentials > div { display: grid; grid-template-columns: 6rem 1fr; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line-light); }
.credentials dt { margin-top: .15rem; font-size: .65rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-faint); }
.credentials dd { margin: 0; font-size: var(--text-body); }


/* --------------------------------------------------------------------------
   8. PÁGINA: EDUCAÇÃO
   -------------------------------------------------------------------------- */
.edu-hero { position: relative; display: flex; align-items: center; padding: calc(var(--header-h) + 5rem) 0 7rem; overflow: hidden; min-height: 60svh; }
.edu-hero::after { content: ""; position: absolute; right: -12vw; bottom: -15vw; width: 40vw; height: 40vw; background-image: url('../assets/images/logos/transition-logo.png'); background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0.03; pointer-events: none; animation: slow-spin 60s linear infinite; transform-origin: center; }
@keyframes slow-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.edu-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 5vw, 6rem); align-items: center; z-index: 1; position: relative; }
.edu-title h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.05; margin-bottom: 0; max-width: 24ch; letter-spacing: -0.04em; font-weight: 300; }
.edu-intro .lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--text-muted-dark); max-width: 28rem; margin: 0 0 2rem; line-height: 1.6; }
.edu-intro .founder-line { color: var(--text-faint-dark); flex-direction: row; flex-wrap: wrap; gap: 0.8rem 1.4rem; font-size: 0.8rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 2rem; margin-bottom: 2rem; }
.edu-intro .founder-line span+span::before { display: block; content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* Formatos */
.edu-formas { padding: var(--section-y) 0; }
.edu-formas h2 { font-weight: 300; font-size: var(--text-h2); letter-spacing: -0.035em; max-width: 22ch; }
.edu-editorial-list { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 4rem; border-top: none; }
.editorial-row { display: flex; flex-direction: column; gap: 1.5rem; padding: 3rem 3rem 4.5rem 3rem; border: 1px solid var(--line-light); border-radius: 12px; background: var(--mist); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.editorial-row:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.04); }

.ed-meta { display: flex; align-items: center; }
.ed-meta span:first-child { font-family: var(--font-display); font-size: 0.9rem; color: var(--ink-faint); margin-right: 0.5rem; }
.ed-meta span:last-child { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; }
.ed-content { display: flex; flex-direction: column; flex-grow: 1; align-items: flex-start; }
.ed-content h3 { font-size: 1.5rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; font-weight: 400; color: var(--ink); width: 100%; }
.ed-content p { color: var(--ink-soft); line-height: 1.7; font-size: 1rem; max-width: 36rem; width: 100%; }
.ed-content .text-link, .ed-content a.text-link { margin-top: auto; align-self: flex-start; margin-bottom: 0.75rem; }
.card-social-links { margin-top: auto; align-self: flex-start; margin-bottom: 0.75rem; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.card-social-links a { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line-light); transition: border-color 0.2s var(--ease); padding-bottom: 0.1rem; }
.card-social-links a:hover { border-color: var(--navy); }
.ed-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; margin-bottom: 2rem; width: 100%; }
.ed-tags span { display: inline-block; padding: 0.4rem 0.8rem; background: rgba(0,0,0,0.04); border-radius: 4px; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.badge-soon { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.6rem; background: rgba(23,38,56,0.06); color: var(--ink-soft); border-radius: 4px; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; width: fit-content; }

/* Highlight Row Specificity Fixes */
.highlight-row { background: var(--navy-900) !important; margin: 0 !important; border: none !important; }
.highlight-row .ed-content h3 { color: var(--dark-text) !important; }
.highlight-row .ed-content p, .highlight-row .sub-h3, .highlight-row .ed-note { color: rgba(255, 255, 255, 0.75) !important; }
.highlight-row .text-link { color: var(--white) !important; }
.highlight-row .ed-meta span:first-child { color: rgba(255,255,255,0.5) !important; }
.highlight-row .ed-meta span:last-child { color: rgba(255,255,255,0.5) !important; }
.highlight-row .badge-soon { background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) !important; color: var(--white) !important; border: 1px solid rgba(255,255,255,0.12) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.05) !important; font-weight: 500 !important; letter-spacing: 0.12em !important; padding: 0.35rem 0.85rem !important; border-radius: 6px !important; }

/* Filosofia */
.edu-philosophy { padding: var(--section-y) 0; }
.edu-philosophy h2 { font-weight: 300; font-size: var(--text-h2); letter-spacing: -0.035em; }
.edu-philosophy .split-heading { margin-bottom: 2rem; }
.principles-grid { display: grid; grid-template-columns: 1fr; margin-top: 1.5rem; border-top: 1px solid var(--line-light); }
.principle-item { padding: 2.5rem 0; border-bottom: 1px solid var(--line-light); }
.principle-item h4 { font-size: 1.25rem; margin-bottom: 0.75rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.principle-item p { opacity: 0.85; font-size: 1.05rem; line-height: 1.6; margin: 0; color: var(--ink); max-width: 20rem; }

/* Leo em Ação */
.edu-action { padding: var(--section-y) 0; }
.edu-action-text-col { max-width: 24rem; }
.credentials-text { font-size: 0.6875rem; opacity: 0.45; line-height: 1.6; margin-bottom: 2.5rem; max-width: 26rem; text-transform: uppercase; letter-spacing: 0.05em; }
.action-links { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.8125rem; }
.action-links a, .action-links span { opacity: 0.6; text-decoration: none; transition: all 0.2s ease; display: flex; align-items: center; color: inherit; }
.action-links a:hover { opacity: 1; color: var(--accent); }
.action-photo-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.photo-main, .photo-sub { width: 100%; object-fit: cover; }
.photo-main { aspect-ratio: 16/10; }
.photo-sub { aspect-ratio: 4/3; }
.photo-secondary-wrap { display: flex; flex-direction: column; gap: 0.35rem; }
.photo-caption { font-size: 0.625rem; opacity: 0.35; text-align: right; text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }

/* Final CTA */
.edu-final-cta { padding: clamp(6rem, 8vw, 8rem) 0; text-align: left; background: var(--navy-800); color: var(--dark-text); }
.edu-final-cta h2 { font-weight: 300; font-size: var(--text-h2); letter-spacing: -0.02em; margin-bottom: 3.5rem; max-width: 25ch; }
.split-cta-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.split-cta-card { display: flex; flex-direction: column; align-items: flex-start; padding: 0; }
.split-cta-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 400; letter-spacing: -0.01em; color: var(--white); }
.split-cta-card p { opacity: 0.85; margin-bottom: 2.5rem; max-width: 24rem; font-size: 1.05rem; line-height: 1.6; }
.split-cta-divider { width: 100%; height: 1px; background: var(--line-dark); }

/* --------------------------------------------------------------------------
   9. PÁGINA: CONSULTORIA
   -------------------------------------------------------------------------- */
.consulting-hero { background: var(--bg-deep-blue); min-height: auto; padding: calc(var(--header-h) + 6rem) 0 8rem; color: var(--dark-text); overflow: hidden; position: relative; }
.consulting-hero::after { content: ""; position: absolute; right: -12vw; bottom: -15vw; width: 40vw; height: 40vw; background-image: url('../assets/images/logos/transition-logo.png'); background-size: contain; background-repeat: no-repeat; background-position: center; opacity: 0.03; pointer-events: none; animation: slow-spin 60s linear infinite; transform-origin: center; }
.consulting-hero .journey-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 5vw, 6rem); align-items: center; position: relative; z-index: 1; }
.consulting-hero .journey-title h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: 24ch; line-height: 1.05; font-weight: 300; letter-spacing: -0.04em; margin: 0; }
.consulting-hero .journey-intro p { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--text-muted-dark); line-height: 1.6; max-width: 28rem; margin: 0 0 2rem; }
.consulting-hero .founder-line { color: var(--text-faint-dark); font-weight: 400; letter-spacing: 0.14em; gap: 0.8rem 1.4rem; margin-top: 2rem; flex-direction: row; flex-wrap: wrap; }
.consulting-hero .founder-line span+span::before { background: var(--text-faint-dark); }
.consulting-hero .back-link { display: inline-flex; margin: 0 0 2rem; padding: 0; border: 0; background: none; color: inherit; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; opacity: .5; cursor: pointer; transition: opacity .2s ease, transform .2s ease; text-decoration: none; }
.consulting-hero .back-link:hover { opacity: 1; transform: translateX(-.25rem); }

/* Manifesto Editorial Grid */
.view-consulting .statement .split-heading { display: block; margin-bottom: 4rem; }
.view-consulting .statement .split-heading h2 { max-width: none; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; }
.view-consulting .statement .split-heading p { max-width: 54rem; margin-top: 1.5rem; font-size: var(--text-lead); color: var(--ink-soft); }

.vision-editorial-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1rem; }
.vision-editorial-grid article { padding-top: 1.5rem; border-top: 1px solid var(--line-subtle-light); }
.vision-editorial-grid h4 { margin: 0 0 0.8rem; font-size: var(--text-h3); font-weight: 400; color: var(--ink); letter-spacing: -0.025em; }
.vision-editorial-grid p { margin: 0; font-size: var(--text-body); color: #3b4859; line-height: 1.75; max-width: 26rem; }

/* Vision List */
.vision-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-direction: column; }
.vision-list li { position: relative; padding: 1.5rem 0 1.5rem 2.5rem; border-top: 1px solid var(--line-light); font-size: 1.15rem; color: var(--ink-soft); }
.vision-list li:last-child { border-bottom: 1px solid var(--line-light); }
.vision-list li::before { content: "—"; position: absolute; left: 0; top: 1.5rem; color: var(--blue); font-weight: 700; opacity: 0.6; }

/* Situations */
.situations { padding: var(--section-y) 0; }
.situation-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
.situation-list p { margin: 0; padding: 2.5rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1.45rem; font-weight: 300; letter-spacing: -0.01em; color: var(--ink-soft); transition: color 0.3s ease; }
.situation-list p:hover { color: var(--ink); }

/* Method */
.method { padding: var(--section-y) 0; }
.method-line { list-style: none; margin: 0 auto; padding: 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 1fr; counter-reset: method-counter; }
.method-line li { position: relative; padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); }
.method-line li h3 { font-size: 1.5rem; margin-bottom: 1rem; letter-spacing: -0.02em; font-weight: 400; color: var(--ink); }
.method-line li::before { counter-increment: method-counter; content: "0" counter(method-counter); display: block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 400; color: var(--ink-faint); margin-bottom: 1rem; }
.method-line p { margin: 0; color: var(--ink-soft); font-size: var(--text-body); line-height: 1.75; }

/* Solutions / Tabs */
.solutions { padding: clamp(6.5rem, 8vw, 8.5rem) 0; }
.view-consulting .solution-selector { display: flex; flex-direction: column; }
.view-consulting .solution-item { border-bottom: 1px solid var(--line-subtle-dark); }
.view-consulting .solution-item:first-child { border-top: 1px solid var(--line-subtle-dark); }

.view-consulting .solution-tab { display: block; width: 100%; position: relative; border: none; background: transparent; color: rgba(255, 255, 255, 0.65); font-size: var(--text-body); padding: 1.5rem 2.5rem 1.5rem 0; text-align: left; cursor: pointer; transition: color .2s ease; font-weight: 400; }
.view-consulting .solution-tab[aria-selected="true"] { color: var(--white); padding-left: 0; font-weight: 500; }
.view-consulting .solution-tab::after { content: "↓"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); opacity: 0; transition: opacity .2s ease; }
.view-consulting .solution-tab[aria-selected="true"]::after { color: var(--accent); opacity: 1; }

.view-consulting .solution-panel { padding: 1rem 0 2.5rem; opacity: 1; pointer-events: auto; transform: none; grid-column: auto; grid-row: auto; }
.view-consulting .solution-panel h3 { font-size: var(--text-h3); font-weight: 300; color: var(--white); margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -0.025em; }
.view-consulting .solution-panel > p { color: rgba(255, 255, 255, 0.8); font-size: var(--text-body); line-height: 1.75; max-width: 40rem; margin: 0 0 2rem; }
.view-consulting .solution-panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-subtle-dark); }
.view-consulting .solution-panel li { border-bottom: 1px solid var(--line-subtle-dark); color: rgba(255, 255, 255, 0.8); padding: 1rem 0; font-size: var(--text-body); }
.view-consulting .solution-panel.is-active { animation: panelFadeIn 0.4s var(--ease); }
@keyframes panelFadeIn { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }

/* Founder */
.view-consulting .founder.section-paper { background: var(--mist); }
.view-consulting .founder-copy h2 { font-weight: 300; letter-spacing: -0.04em; }
.founder-bio { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 0; color: var(--ink); line-height: 1.6; }
.founder-bio p { opacity: 0.85; font-size: var(--text-body); line-height: 1.8; margin: 0; }
.founder-bio strong { font-weight: 600; color: var(--ink); }

/* Start Steps */
.view-consulting .start-steps { counter-reset: steps-counter; border-top: 1px solid var(--line-subtle-light); display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.view-consulting .start-steps li { border-bottom: 1px solid var(--line-subtle-light); padding: 2.5rem 0; }
.view-consulting .start-steps li:last-child { border-bottom: none; }
.view-consulting .start-steps li::before { counter-increment: steps-counter; content: "0" counter(steps-counter); display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; color: var(--ink-faint); margin-bottom: 1.5rem; }
.view-consulting .start-steps h3 { font-size: var(--text-h3); font-weight: 500; margin: 0 0 0.8rem; }
.view-consulting .start-steps p { font-size: var(--text-body); color: var(--ink-soft); margin: 0; line-height: 1.75; }

/* FAQ */
.faq { padding: clamp(6.5rem, 8vw, 8.5rem) 0; }
.faq-editorial-shell h2 { font-weight: 300; font-size: var(--text-h2); letter-spacing: -0.035em; margin-bottom: 4rem; }
.faq-editorial-list { border-top: 1px solid var(--line-light); }
.faq-editorial-list details { border-bottom: 1px solid var(--line-light); padding: 2.5rem 0; cursor: pointer; }
.faq-editorial-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.25rem; font-weight: 400; color: var(--ink); letter-spacing: -0.015em; outline: none; transition: color 0.3s ease; }
.faq-editorial-list summary::-webkit-details-marker { display: none; }
.faq-editorial-list details:hover summary { color: var(--accent); }
.faq-editorial-list summary span { font-weight: 300; opacity: 0.4; font-size: 1.75rem; line-height: 1; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease, color 0.3s ease; }
.faq-editorial-list details:hover summary span { opacity: 1; color: var(--accent); }
.faq-editorial-list details[open] summary span { transform: rotate(45deg); opacity: 1; color: var(--accent); }
.faq-editorial-list p { margin: 1.75rem 0 0; max-width: 48rem; color: var(--ink-soft); line-height: 1.85; font-size: 1rem; animation: faqReveal 0.4s ease forwards; }

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA Consulting */
.cta-editorial-shell { padding: clamp(4rem, 6vw, 6rem) 0; text-align: center; }
.consulting-cta { background: var(--ink); color: var(--dark-text); }
.cta-editorial-shell h2 { font-weight: 300; line-height: 1.1; max-width: 24ch; margin: 0 auto 2rem; font-size: var(--text-h2); letter-spacing: -.035em; }
.cta-editorial-shell .eyebrow { opacity: .62; margin-bottom: 1.2rem; }
.cta-editorial-shell .regulatory-note { margin-top: 3.5rem; font-size: 0.7rem; color: var(--ink-faint); max-width: 38rem; margin-inline: auto; line-height: 1.65; }

/* --------------------------------------------------------------------------
   10. MEDIA QUERIES & RESPONSIVIDADE
   -------------------------------------------------------------------------- */
/* Large Desktop */
@media (min-width: 1440px) {
  .edu-hero { padding: calc(var(--header-h) + 6rem) 0 8rem; }
  .edu-hero-grid { gap: 8rem; }
  .edu-formas, .edu-philosophy, .edu-action, .edu-final-cta { padding: 8rem 0; }
}

/* Landscape / Small Laptop adjustments */
@media (min-width: 1025px) and (max-width: 1440px) {
  :root { --gutter: clamp(1.5rem, 3vw, 3rem); --section-y: 5rem; --section-y-sm: 4rem; }
}
@media (min-width: 1025px) and (max-height: 820px) {
  .home-hero, .home-hero-content { min-height: 43rem; }
  .home-copy .lead { margin-top: 1.5rem; }
  .founder-line { margin-top: 1.5rem; }
  .edu-hero { padding: calc(var(--header-h) + 2rem) 0 4rem; }
  .edu-hero-grid { gap: 4rem; }
  .edu-title h1 { font-size: clamp(2.2rem, 3.5vw, 3rem); }
  .edu-formas, .edu-philosophy, .edu-action, .edu-final-cta { padding: 4.5rem 0; }
  .action-photo-grid { margin-top: 2.5rem; }
  .edu-editorial-list { margin-top: 1.5rem; }
}
@media (min-width: 1025px) and (max-height: 740px) {
  .home-hero, .home-hero-content { min-height: 38rem; }
}

/* Tablet Landscape & Below */
@media (max-width: 1180px) {
  :root { --gutter: clamp(1.5rem, 4vw, 3rem); }
  .home-hero { grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, calc(var(--shell-max) * 0.60)) minmax(0, calc(var(--shell-max) * 0.40)) minmax(var(--gutter), 1fr); }
  .statement-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.75rem); }
  .founder-grid { gap: clamp(3rem, 5vw, 5rem); }
}

/* Breakpoint Principal (1024px) */
@media (max-width: 1024px) {
  .portals { grid-template-columns: 1fr; }
  .portal { padding: clamp(3rem, 6vw, 4rem) var(--gutter); min-height: 22rem; }
  .portal-education { border-right: none; border-bottom: 1px solid rgba(0,0,0,.06); }
  .portal strong { margin-top: clamp(1rem, 4vw, 1.5rem); }
  .portal-description { max-width: 38rem; }
  .portal-action { margin-top: 1.5rem; }
}
@media (min-width: 1024px) {
  .edu-editorial-list { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .edu-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 7rem; }
  .edu-action .split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
  .action-photo-grid { grid-template-columns: 1.7fr 1fr; align-items: end; gap: 2rem; margin-top: 4rem; }
  
  .consulting-hero .journey-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 7rem; }
  
  .vision-editorial-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .situation-list { grid-template-columns: 1fr 1fr; gap: 0 4rem; border-top: none; }
  .situation-list p { border-top: 1px solid var(--line-dark); }
  
  .method-line { grid-template-columns: repeat(4, 1fr); }
  .method-line li { padding: 1.5rem clamp(1rem, 2.2vw, 2rem) 0 0; border-bottom: none; border-right: 1px solid var(--line-light); }
  .method-line li:not(:first-child) { padding-left: clamp(1rem, 2.2vw, 2rem); }
  .method-line li:last-child { border-right: 0; }
  
  .view-consulting .start-steps { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-subtle-light); }
  .view-consulting .start-steps li { padding: 2.5rem clamp(1rem, 2.2vw, 2rem) 0 0; border-bottom: none; border-right: 1px solid var(--line-subtle-light); }
  .view-consulting .start-steps li:not(:first-child) { padding-left: clamp(1rem, 2.2vw, 2rem); }
  .view-consulting .start-steps li:last-child { border-right: none; }
  
  .view-consulting .solution-tab::after { content: "→"; }
  .view-consulting .solution-selector { display: grid; grid-template-columns: minmax(18rem, 2fr) minmax(0, 3.2fr); gap: 0 7rem; }
  .view-consulting .solution-item { display: contents; }
  .view-consulting .solution-tab { grid-column: 1; border-bottom: 1px solid var(--line-subtle-dark); }
  .view-consulting .solution-item:first-child .solution-tab { border-top: 1px solid var(--line-subtle-dark); }
  .view-consulting .solution-panel { grid-column: 2; grid-row: 1 / 5; padding: 2rem 0 0 0; border-top: 1px solid var(--line-subtle-dark); }
  
  .view-consulting .solution-item:nth-child(1) .solution-tab { grid-row: 1; }
  .view-consulting .solution-item:nth-child(2) .solution-tab { grid-row: 2; }
  .view-consulting .solution-item:nth-child(3) .solution-tab { grid-row: 3; }
  .view-consulting .solution-item:nth-child(4) .solution-tab { grid-row: 4; }
  
  .faq-editorial-shell { max-width: 58rem; margin: 0 auto; }
}

@media (min-width: 768px) {
  .principles-grid { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-light); }
  .principle-item { border-bottom: none; border-right: 1px solid rgba(23,38,56,0.05); padding: 3rem 2rem 3rem 0; }
  .principle-item:last-child { border-right: none; padding-right: 0; }
  .principle-item:not(:first-child) { padding-left: 2rem; }
  
  .split-cta-grid { grid-template-columns: 1fr 1px 1fr; gap: 5rem; }
  .split-cta-divider { width: 1px; height: 100%; align-self: stretch; }
}

/* Tablet Portrait & Mobile */
@media (max-width: 900px) {
  .statement-grid > p:last-child { grid-column: 1; max-width: none; }
  :root { --header-h: 4.5rem; --section-y: 5.25rem; --section-y-sm: 4rem; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }

  .home-hero { display: flex; flex-direction: column; height: auto; min-height: auto; padding-top: calc(var(--header-h) + 4rem); gap: 3.25rem; }
  .home-hero-content { width: 100%; padding: 0 var(--gutter); margin: 0; }
  .home-copy { max-width: 43rem; padding-bottom: 2rem; }

  .portrait-stage { min-height: 32rem; height: 32rem; width: calc(100% + (var(--gutter) * 2)); max-width: none; margin-left: calc(var(--gutter) * -1); }
  .home-scroll-cue { display: none; }

  .statement-grid, .split-heading, .founder-grid { grid-template-columns: 1fr; }
  .statement-grid { gap: 1.75rem; }
  .split-heading { gap: 1.75rem; }

  .founder figure { max-width: 34rem; }
  
  .method-line { grid-template-columns: 1fr 1fr; }
  .method-line li:nth-child(2) { border-right: 0; }
  .method-line li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}

@media (max-width: 760px) {
  .footer-minimal, .footer-grid { grid-template-columns: 1fr; gap: .85rem; text-align: left; }
  .footer-minimal span:nth-child(2), .footer-grid > p { text-align: left; }
  .footer-minimal button, .footer-grid > div { justify-self: start; }
}

/* Mobile */
@media (max-width: 620px) {
  :root { --gutter: 1.2rem; --section-y: 4.75rem; --section-y-sm: 3.75rem; }
  .site-header { height: 4.2rem; }
  .brand-img-light, .brand-img-dark { width: 6rem; }

  .home-hero { padding-top: calc(var(--header-h) + 2.8rem); gap: 2.5rem; }
  .home-copy .eyebrow { margin-bottom: 1rem; }
  .home-copy h1 { font-size: var(--text-hero); line-height: 1.15; letter-spacing: -.03em; margin-bottom: 1.5rem; }
  .home-copy .lead { margin-top: 1.5rem; font-size: var(--text-body); line-height: 1.65; color: var(--dark-muted); }
  .founder-line { display: grid; gap: .85rem; margin-top: 2.5rem; font-size: .68rem; color: var(--dark-muted); }
  .founder-line span+span::before { display: none; }
  .portrait-stage { min-height: 29rem; }

  .portal { min-height: 24rem; padding: 2rem var(--gutter); }
  .portal-index { top: 2rem; right: var(--gutter); }
  .portal strong { margin-top: 3.25rem; line-height: 1.06; }
  .portal-description { font-size: var(--text-body); line-height: 1.75; }
  .portal-action { margin-top: 2rem; font-size: .62rem; letter-spacing: .1em; }

  .method-line { grid-template-columns: 1fr; }
  .method-line li { min-height: 0; padding: 1.5rem 0; border-right: 0; border-top: 1px solid var(--line-light); }
  .method-line li:first-child { border-top: 0; }
  
  .view-consulting .start-steps { grid-template-columns: 1fr; }
  .view-consulting .start-steps li { border-right: none !important; border-bottom: 1px solid var(--line-subtle-light); padding: 1.5rem 0; }
  .view-consulting .start-steps li:last-child { border-bottom: none; }

  .founder-grid { gap: 2.5rem; }
  .founder figure { max-width: none; }
  .credentials > div { grid-template-columns: 1fr; gap: .35rem; }

  .field-grid { grid-template-columns: 1fr; }
  .contact-dialog, .legal-dialog { width: 100%; max-width: 100%; height: 100dvh; }
  .dialog-shell { padding: 4.5rem 1.25rem 2rem; }
}

@media (max-width: 390px) {
  :root { --gutter: 1rem; }
  body { min-width: 0; }
  .portrait-stage { min-height: 25rem; }
  .portal { min-height: 22.5rem; padding-inline: 1rem; }
  .portal-action { letter-spacing: .075em; }
  .situation-list p { font-size: var(--text-h3); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
