/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  /* Brand — extraído do logo, refinado */
  --navy-950:   #0A1628;
  --navy-900:   #0F2140;
  --navy-800:   #163059;
  --navy-700:   #1E4180;
  --navy-600:   #2B5CAD;
  --blue-500:   #3A82D0;
  --blue-400:   #5BA8DD;
  --blue-300:   #8BC5E8;
  --blue-50:    #EEF5FB;

  /* Neutros refinados (warm paper) */
  --paper:      #FBFAF7;
  --paper-2:    #F4F1EA;
  --line:       #E6E0D5;
  --line-soft:  #EFEAE0;
  --ink:        #0A1628;
  --ink-2:      #2C3A50;
  --ink-3:      #5A6879;
  --ink-4:      #8D98A8;

  /* Acento sutil */
  --gold:       #B8924A;
  --gold-soft:  #D4B87B;

  /* Gradientes */
  --grad-brand: linear-gradient(135deg, var(--navy-700) 0%, var(--blue-500) 55%, var(--blue-300) 100%);
  --grad-deep:  radial-gradient(ellipse at 30% 20%, #18335F 0%, #0A1628 55%, #050D1C 100%);
  --grad-hero:  linear-gradient(160deg, #14305E 0%, #1E4180 45%, #2B5CAD 85%, #3A82D0 100%);
  --grad-sobre: linear-gradient(175deg, #0F2140 0%, #163059 55%, #1E4180 100%);

  /* Type */
  --f-serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --f-sans:  'Inter', system-ui, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 2px;
  --radius-md: 4px;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--navy-700); color: #fff; }
:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 3px; border-radius: 2px; }
[data-nav-theme="dark"] :focus-visible, .mobile-menu :focus-visible, .nav:not(.scrolled) :focus-visible, .nav.nav--dark :focus-visible { outline-color: var(--blue-300); }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 300;
  padding: 0.75rem 1.25rem; background: var(--ink); color: #fff;
  font-size: 0.9rem; font-weight: 600; border-radius: 999px;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.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;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(10,22,40,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(10,22,40,0.4); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ═══════════════════════════════════════════
   TYPOGRAPHIC SYSTEM
═══════════════════════════════════════════ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--f-sans);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy-700);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--navy-700);
}
.eyebrow--light { color: var(--blue-400); }
.eyebrow--light::before { background: var(--blue-400); }

.h-display {
  font-family: var(--f-serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 96, 'SOFT' 50;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.h-display em {
  font-style: italic; font-weight: 400;
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
}

.h-section {
  font-family: var(--f-serif);
  font-weight: 350;
  font-variation-settings: 'opsz' 72;
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h-section em {
  font-style: italic; font-weight: 400;
  color: var(--navy-700);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* Text split reveal */
.split-line { overflow: hidden; display: block; }
.split-line > span { display: inline-block; }
.js .split-line > span {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-expo);
}
.js .split-line.in > span { transform: none; }
.split-line.d1 > span { transition-delay: .08s; }
.split-line.d2 > span { transition-delay: .18s; }
.split-line.d3 > span { transition-delay: .28s; }
.split-line.d4 > span { transition-delay: .38s; }

/* ═══════════════════════════════════════════
   SCROLL PROGRESS
═══════════════════════════════════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--grad-brand);
  z-index: 200;
  opacity: 0;
  transition: width .08s linear, opacity .3s;
}
.scroll-progress.is-visible { opacity: 1; }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.25rem 0;
  transition: padding .35s var(--ease-out), background .35s, box-shadow .35s;
}
.nav.scrolled {
  padding: 0.65rem 0;
  background: rgba(251,250,247,0.92);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  box-shadow: 0 1px 0 rgba(10,22,40,0.08);
}
.nav.scrolled.nav--dark {
  background: rgba(15,33,64,0.82);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav__brand-text img { filter: brightness(0) invert(1); transition: filter .35s; }
.nav.scrolled .nav__brand-text img { filter: none; }
.nav.scrolled.nav--dark .nav__brand-text img { filter: brightness(0) invert(1); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.nav__brand { display: flex; align-items: center; gap: 0.85rem; }
.nav__mark {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease-expo);
  position: relative;
}
.nav__mark img { width: 100%; height: 100%; object-fit: contain; }
.nav__brand:hover .nav__mark { transform: rotate(-4deg) scale(1.04); }
.nav__brand-text { display: flex; align-items: center; }
.nav__brand-text img { height: 26px; width: auto; display: block; }

.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a {
  position: relative;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.88);
  padding: 0.5rem 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--blue-300);
  transition: width .4s var(--ease-expo);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: #fff; }
.nav__links a[aria-current="true"]::after { width: 100%; }
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--ink-2); }
.nav.scrolled .nav__links a::after { background: var(--navy-700); }
.nav.scrolled .nav__links a:hover, .nav.scrolled .nav__links a[aria-current="true"] { color: var(--navy-700); }
.nav.scrolled.nav--dark .nav__links a { color: rgba(255,255,255,0.82); }
.nav.scrolled.nav--dark .nav__links a::after { background: var(--blue-300); }
.nav.scrolled.nav--dark .nav__links a:hover, .nav.scrolled.nav--dark .nav__links a[aria-current="true"] { color: #fff; }

.btn-cta-nav {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.35rem; min-height: 44px;
  background: transparent;
  color: #fff;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.btn-cta-nav:hover { background: #fff; color: var(--navy-900, #0A1628); transform: translateY(-1px); }
.nav.scrolled .btn-cta-nav { color: var(--navy-900, #0A1628); border-color: var(--navy-900, #0A1628); }
.nav.scrolled .btn-cta-nav:hover { background: var(--navy-900, #0A1628); color: #fff; }
.nav.scrolled.nav--dark .btn-cta-nav { color: #fff; border-color: rgba(255,255,255,0.85); }
.nav.scrolled.nav--dark .btn-cta-nav:hover { background: #fff; color: var(--navy-900, #0A1628); }
.btn-cta-nav svg { transition: transform .3s var(--ease-out); }
.btn-cta-nav:hover svg { transform: translateX(2px); }

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center;
}
.nav__hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: #fff; transition: all .3s;
}
.nav.scrolled .nav__hamburger span { background: var(--ink); }
.nav.scrolled.nav--dark .nav__hamburger span { background: #fff; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s, visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.mobile-menu a {
  font-family: var(--f-serif); font-size: 2rem; font-weight: 300;
  color: #fff; transition: color .25s;
}
.mobile-menu a:hover { color: var(--blue-400); }
.mobile-close {
  position: absolute; top: 1rem; right: calc(var(--gutter) - 10px);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
}
.mobile-close:hover { color: #fff; }

@media (max-width: 860px) {
  .nav__links, .btn-cta-nav { display: none; }
  .nav__hamburger { display: flex; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(100px + 2rem) 0 8rem;
  display: flex; align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  color: #fff;
}
.hero__glow {
  position: absolute;
  top: 15%; right: 10%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139,197,232,0.18) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero__watermark {
  position: absolute;
  right: -6%; top: 50%;
  transform: translateY(-50%);
  width: clamp(360px, 46vw, 640px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  filter: drop-shadow(0 0 60px rgba(91,168,221,0.35));
}
.hero__watermark img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 860px) { .hero__watermark { opacity: 0.1; right: -20%; } }

/* Corner frame — editorial */
.hero__frame {
  position: absolute; inset: 100px var(--gutter) 2rem;
  border-left: 1px solid rgba(255,255,255,0.14);
  border-right: 1px solid rgba(255,255,255,0.14);
  pointer-events: none;
}
.hero__frame::before, .hero__frame::after {
  content: ''; position: absolute;
  width: 14px; height: 14px;
  border: 1px solid rgba(255,255,255,0.4);
}
.hero__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero__frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
@media (max-width: 860px) { .hero__frame { display: none; } }

.hero__meta {
  position: absolute; top: 120px; right: var(--gutter);
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem;
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3);
  z-index: 1;
}
.hero__meta span:first-child { color: var(--navy-700); }
@media (max-width: 860px) { .hero__meta { display: none; } }

.hero__content {
  position: relative; z-index: 2;
  max-width: 880px;
  padding-top: 2rem;
}

.hero__tag {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 2rem;
}
.hero__tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-300);
  position: relative;
}
.hero__tag .dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--blue-300); opacity: 0.5;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.6); opacity: 0; } }

.hero__title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 2rem;
}
.hero__title em {
  font-style: italic; font-weight: 400;
  color: var(--blue-300);
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.hero__title .amp {
  font-family: var(--f-serif);
  font-style: italic; font-weight: 300;
  color: var(--gold);
  margin: 0 0.05em;
}

.hero__lede {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 820px;
  margin-bottom: 3rem;
  align-items: start;
}
@media (max-width: 720px) { .hero__lede { grid-template-columns: 1fr; gap: 1.5rem; } }

.hero__lede-num {
  font-family: var(--f-serif); font-style: italic;
  font-size: 0.95rem; color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 0.6rem;
}
.hero__lede-num strong { color: #fff; font-weight: 500; font-style: normal; }

.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem); font-weight: 400;
  line-height: 1.6; color: rgba(255,255,255,0.86);
  max-width: 520px;
}

.hero__btns { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 4rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.75rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-brand);
  transform: translateY(105%);
  transition: transform .5s var(--ease-expo);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary svg { transition: transform .3s var(--ease-out); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 0.5rem 1rem 1.5rem;
  color: var(--ink);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}
.btn-ghost::after {
  content: ''; position: absolute; left: 1.5rem; right: 0.5rem; bottom: 0.7rem;
  height: 1px; background: var(--ink);
  transform-origin: left; transform: scaleX(0);
  transition: transform .4s var(--ease-expo);
}
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-ghost svg { transition: transform .3s var(--ease-out); }
.btn-ghost:hover svg { transform: translate(2px, -2px); }

/* Hero feature strip */
.hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
@media (max-width: 720px) {
  .hero__features { grid-template-columns: 1fr; }
  .hero__features .feat { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.9rem 1rem; }
  .hero__features .feat__val { font-size: 1.1rem; }
  .hero__features .feat__label { margin-top: 0; }
}
.feat {
  padding: 1.5rem 1.25rem;
  background: rgba(10,22,40,0.22);
  display: flex; flex-direction: column; gap: 0.35rem;
  transition: background .3s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.feat:hover { background: rgba(10,22,40,0.38); }
.feat__num {
  font-family: var(--f-serif); font-style: italic;
  font-size: 0.75rem; color: var(--gold-soft); font-weight: 400;
}
.feat__val {
  font-family: var(--f-serif);
  font-size: 1.35rem; font-weight: 400;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.feat__label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
}

  /* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 760px) { .scroll-cue { display: none; } }
.scroll-cue__line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  overflow: hidden;
  position: relative;
}
.scroll-cue__line::after {
  content: ''; position: absolute; left: 0; top: -40px;
  width: 100%; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--blue-300));
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); }
  100% { transform: translateY(80px); }
}

/* ═══════════════════════════════════════════
   SECTION — ÁREAS
═══════════════════════════════════════════ */
.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; gap: 1.5rem; } }

.section-head__eyebrow { margin-bottom: 1rem; }

.section-head__note {
  font-size: 0.95rem; font-weight: 400;
  line-height: 1.6; color: var(--ink-2);
  max-width: 520px;
}

.areas {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: transparent;
  border: none;
}
@media (max-width: 860px) { .areas__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas__grid { grid-template-columns: 1fr; } }

.area {
  position: relative;
  background: var(--grad-hero);
  padding: 1.75rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  min-height: 0;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 8px 24px rgba(15,33,64,0.12);
  transition: background .5s var(--ease-out), box-shadow .4s, border-color .4s;
  overflow: hidden;
  isolation: isolate;
}
.area:hover {
  border-color: var(--line);
  box-shadow: 0 14px 30px rgba(15,33,64,0.08);
}
.area::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--paper);
  transform: translate(var(--ox, 0%), var(--oy, -100%));
  transition: transform .55s var(--ease-expo);
  z-index: -1;
}
.area.is-hover::before { transform: translate(0, 0); }
.area.no-anim::before { transition: none; }
.area__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 2rem;
}
.area__num {
  font-family: var(--f-serif); font-style: italic;
  font-size: 0.85rem; font-weight: 400;
  color: var(--blue-300);
  transition: color .4s;
}
.area__arrow {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-3);
  transition: border-color .4s, color .4s, transform .5s var(--ease-expo);
}
.area__title {
  font-family: var(--f-serif);
  font-size: 1.4rem; font-weight: 400;
  color: var(--blue-300);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
  transition: color .4s;
}
.area__desc {
  font-size: 0.925rem; font-weight: 400;
  line-height: 1.6; color: rgba(255,255,255,0.86);
  transition: color .4s;
  margin-top: 0;
}

.area:hover .area__num { color: var(--navy-700); }
.area:hover .area__title { color: var(--navy-900); }
.area:hover .area__desc { color: var(--ink-2); }

/* ═══════════════════════════════════════════
   SOBRE (Leonardo)
═══════════════════════════════════════════ */
.sobre {
  background: var(--grad-sobre);
  position: relative;
  color: #fff;
}
.sobre::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 10%, rgba(91,168,221,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.sobre .container { position: relative; z-index: 1; }
.sobre__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
@media (max-width: 860px) { .sobre__grid { grid-template-columns: 1fr; } }

.sobre__photo {
  position: relative;
  position: sticky; top: 120px;
}
@media (max-width: 860px) { .sobre__photo { position: relative; top: auto; max-width: 360px; margin: 0 auto 1rem; } }
.sobre__photo-box {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 360px;
  margin: 0 auto;
  background: transparent;
  overflow: visible;
  outline: 1px solid rgba(200,212,224,0.28);
  outline-offset: 4px;
  border-radius: 50%;
}
.sobre__photo-box img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 1.2s var(--ease-expo);
  border-radius: 50%;
}
.sobre__photo-box::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, transparent 72%, rgba(15,33,64,0.45) 92%, rgba(15,33,64,0.85) 100%);
  pointer-events: none;
}
.sobre__photo-box:hover img { transform: scale(1.04); }

/* OAB badge overlap */
.oab-badge {
  position: absolute;
  bottom: -1.5rem; right: -1rem;
  background: var(--ink);
  color: #fff;
  padding: 1.1rem 1.35rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  border: 1px solid rgba(139,197,232,0.25);
  box-shadow: 0 18px 40px rgba(5,13,28,0.45);
}
@media (max-width: 560px) { .oab-badge { right: 0; bottom: -1rem; } }
.oab-badge__label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 0.15rem;
}
.oab-badge__num {
  font-family: var(--f-serif);
  font-size: 1.05rem; font-weight: 400;
  line-height: 1.3;
}
.oab-badge__num--sub { color: var(--blue-300); font-size: 0.9rem; }

.sobre__photo-caption {
  margin-top: 2.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
.sobre__photo-caption::before {
  content: ''; width: 24px; height: 1px; background: var(--ink-3);
}

/* Content side */
.sobre__content .eyebrow { margin-bottom: 1.25rem; color: var(--blue-300); }
.sobre__content .eyebrow::before { background: var(--blue-300); }
.sobre__heading {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 2rem;
}
.sobre__heading em { font-style: italic; font-weight: 400; color: var(--blue-300); }

.sobre__bio {
  display: flex; flex-direction: column; gap: 1.1rem;
  margin-bottom: 2.5rem;
}
.sobre__bio p {
  font-size: 1rem; font-weight: 400;
  line-height: 1.72; color: rgba(255,255,255,0.86);
}
.sobre__bio p:first-child::first-letter {
  font-family: var(--f-serif);
  font-size: 3.6rem;
  font-weight: 400;
  float: left;
  line-height: 0.8;
  margin: 0.35rem 0.4rem 0 -0.05em;
  color: var(--blue-300);
}
.sobre__bio strong { color: #fff; font-weight: 600; }

/* Credentials — editorial list */
.creds {
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.creds__title {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.25rem;
}
.creds__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  list-style: none;
}
@media (max-width: 560px) { .creds__list { grid-template-columns: 1fr; } }
.cred {
  display: flex; align-items: baseline; gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem; color: rgba(255,255,255,0.86);
  line-height: 1.45;
}
.cred__n {
  font-family: var(--f-serif); font-style: italic;
  font-size: 0.75rem; color: var(--gold-soft); min-width: 1.5rem;
  flex-shrink: 0;
}
.cred a { color: var(--blue-300); border-bottom: 1px solid rgba(139,197,232,0.5); }
.cred a:hover { color: #fff; border-bottom-color: #fff; }

/* ═══════════════════════════════════════════
   EQUIPE
═══════════════════════════════════════════ */
.equipe { background: var(--paper); border-top: 1px solid var(--line); }

.equipe__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 1.25rem;
}
@media (max-width: 520px) { .equipe__grid { grid-template-columns: minmax(0, 340px); } }

.member {
  position: relative;
  padding: 2.5rem 1.75rem 2rem;
  background: var(--grad-hero);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  text-align: center;
  transition: transform .5s var(--ease-expo), border-color .4s, box-shadow .4s;
  overflow: hidden;
}
.member::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-expo);
}
.member:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 22px 50px rgba(5,13,28,0.35);
}
.member:hover::before { transform: scaleX(1); }

.member__avatar {
  width: 112px; height: 112px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-style: italic;
  font-size: 2.25rem; font-weight: 400;
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  outline: 1px solid rgba(255,255,255,0.35);
  outline-offset: 3px;
  transition: outline-width .35s var(--ease-out), outline-offset .35s var(--ease-out), outline-color .35s;
}
.member__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  display: block;
}
.member:hover .member__avatar {
  outline-width: 2px;
  outline-offset: 6px;
  outline-color: #fff;
}
.member--more {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}
.member--more .member__avatar {
  background: transparent;
  color: var(--navy-700);
  outline-color: var(--line);
  font-style: normal; font-weight: 300; font-size: 2.6rem;
  letter-spacing: -0.03em;
}
.member--more .member__role { color: var(--navy-700); }
.member--more .member__name { color: var(--ink); font-style: italic; }
.member--more .member__oab { color: var(--ink-3); border-top-color: var(--line); letter-spacing: 0; line-height: 1.5; }
.member--more:hover { border-color: var(--navy-700); box-shadow: 0 22px 50px -20px rgba(10,22,40,0.25); }
.member--more:hover .member__avatar { outline-color: var(--navy-700); }
.member__role {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 0.75rem;
}
.member__name {
  font-family: var(--f-serif);
  font-size: 1.35rem; font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
.member__oab {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.86);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   MUNICÍPIOS
═══════════════════════════════════════════ */
.municipios {
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.municipios::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(139,197,232,0.18), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(91,168,221,0.15), transparent 50%);
  pointer-events: none;
}
.municipios .eyebrow { color: var(--blue-300); }
.municipios .eyebrow::before { background: var(--blue-300); }
.municipios .h-section { color: #fff; }
.municipios .h-section em { color: var(--blue-300); }
.municipios .section-head__note { color: rgba(255,255,255,0.72); }

.municipios__body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  position: relative;
}
@media (max-width: 860px) { .municipios__body { grid-template-columns: 1fr; } }

.mun-list {
  border-top: 1px solid rgba(255,255,255,0.16);
}
.mun {
  position: relative;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: padding .4s var(--ease-out);
  cursor: default;
}
.mun::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(43,92,173,0.1), transparent 80%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.mun:hover { padding-left: 1rem; }
.mun:hover::after { opacity: 1; }

.mun__n {
  font-family: var(--f-serif); font-style: italic;
  font-size: 0.85rem; color: var(--blue-300);
}
.mun__name {
  font-family: var(--f-serif);
  font-size: 1.35rem; font-weight: 400;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.mun__state {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-align: right;
  justify-self: end;
}
.mun__tag {
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-300);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--blue-300);
  border-radius: 999px;
}
.mun:not(.has-tag) .mun__tag { visibility: hidden; }
@media (max-width: 560px) {
  .mun { grid-template-columns: 1fr auto; gap: 1rem; }
  .mun__state { grid-column: auto; }
  .mun__state { margin-top: 0.2rem; }
}

/* Map aside */
.mun-aside {
  position: sticky; top: 120px;
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.16);
}
@media (max-width: 860px) { .mun-aside { position: static; } }
.mun-aside__title {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 1rem;
}
.mun-aside__map {
  display: flex; justify-content: center;
  margin-bottom: 1.5rem;
}
.mun-aside__map img {
  width: 100%; max-width: 340px; height: auto;
  display: block;
}

/* TABS */
.mun-tabs {
  display: flex; gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.mun-tab {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 0.85rem;
  padding: 1.1rem 1.75rem 1.1rem 0;
  margin-right: 2.5rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: var(--f-sans);
  font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer; min-height: 44px;
  transition: color .3s;
}
.mun-tab:hover { color: rgba(255,255,255,0.95); }
.mun-tab.is-active { color: #fff; }
.mun-tab::after {
  content: ''; position: absolute;
  left: 0; right: 2.5rem; bottom: -1px; height: 2px;
  background: var(--blue-300);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-expo);
}
.mun-tab.is-active::after { transform: scaleX(1); }
.mun-tab__n {
  font-family: var(--f-serif); font-style: italic;
  font-size: 0.75rem;
  color: var(--blue-300); font-weight: 400;
}
@media (max-width: 560px) {
  .mun-tab { margin-right: 1.25rem; padding: 0.9rem 0; font-size: 0.9rem; }
  .mun-tab::after { right: 1.25rem; }
}

/* PANES */
.mun-pane { display: none; }
.mun-pane.is-active { display: block; animation: paneFade .5s var(--ease-out); }
@keyframes paneFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.mun-aside__legend .dot--muted { background: rgba(255,255,255,0.3); }
.mun-aside__legend { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.mun-aside__legend li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.82);
}
.mun-aside__legend .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-300);
}
.mun-aside__stats {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.mun-aside__stat-num {
  font-family: var(--f-serif);
  font-size: 1.75rem; font-weight: 400;
  color: #fff; line-height: 1;
}
.mun-aside__stat-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-top: 0.35rem;
}

/* ═══════════════════════════════════════════
   CONTATO
═══════════════════════════════════════════ */
.contato { background: var(--paper); border-top: 1px solid var(--line); padding-bottom: 2rem; }
.contato__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .contato__grid { grid-template-columns: 1fr; } }

.contato__side .h-section { margin-bottom: 1.25rem; }
.contato__desc {
  font-size: 0.98rem; line-height: 1.7; color: var(--ink-2);
  margin-bottom: 2.5rem; max-width: 440px;
}

.contact-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.ci {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.ci__ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.ci__body { flex: 1; }
.ci__label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.3rem;
}
.ci__val {
  font-family: var(--f-serif);
  font-size: 1.05rem; font-weight: 400;
  color: var(--ink); line-height: 1.35;
  letter-spacing: -0.005em;
}
.ci__val a { transition: color .25s; }
.ci__val a:hover { color: var(--navy-700); }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.75rem; min-height: 48px;
  background: #128C4A; color: #fff;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: background .25s, transform .25s, box-shadow .3s;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #0E7A3F; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }

/* Form card */
.form-card {
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -25px rgba(10,22,40,0.15);
}
.form-card__title {
  font-family: var(--f-serif);
  font-size: 1.5rem; font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.form-card__sub {
  font-size: 0.9rem; line-height: 1.55; color: var(--ink-3);
  margin-bottom: 2rem;
}
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; position: relative; }
.field label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--line);
  font-family: var(--f-sans);
  font-size: 1rem; font-weight: 400;
  color: var(--ink);
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 1.5px 0 0 var(--navy-700);
}
.field input::placeholder, .field textarea::placeholder { color: #6E7A8A; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B42318; }
.field textarea { resize: vertical; min-height: 80px; padding-top: 0.5rem; }
.field select {
  cursor: pointer; padding-right: 1.75rem;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' stroke='%235A6879' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.25rem center;
}

.btn-submit {
  align-self: flex-start; margin-top: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.75rem; min-height: 48px;
  background: var(--ink); color: #fff;
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out);
}
.btn-submit::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-brand);
  transform: translateY(105%);
  transition: transform .5s var(--ease-expo);
}
.btn-submit:hover::before { transform: translateY(0); }
.btn-submit > * { position: relative; }
.btn-submit:hover { transform: translateY(-2px); }

.form-consent {
  font-size: 0.8rem; color: var(--ink-3); line-height: 1.5;
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--grad-sobre);
  color: rgba(255,255,255,0.82);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(139,197,232,0.6), transparent);
}

.footer__big {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 3.5rem;
  max-width: 900px;
}
.footer__big em { font-style: italic; color: var(--blue-400); font-weight: 400; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand-logo { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.5rem; }
.footer__brand-mark { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.footer__brand-mark img { width: 100%; height: 100%; object-fit: contain; filter: brightness(1.1); }
.footer__brand-text img { height: 28px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer__brand-desc {
  font-size: 0.88rem; line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 320px; margin-bottom: 1.5rem;
}
.footer__legal {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.footer__col-title {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 1.25rem;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links a, .footer__links li {
  font-size: 0.9rem; line-height: 1.5; color: rgba(255,255,255,0.82);
  transition: color .25s, padding-left .3s var(--ease-out);
  display: inline-block;
}
.footer__links a:hover { color: #fff; padding-left: 4px; }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.social { display: flex; gap: 0.5rem; }
.social a {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.78);
  transition: all .3s var(--ease-out);
}
.social a:hover {
  border-color: #fff; color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   FAB WhatsApp
═══════════════════════════════════════════ */
.fab {
  position: fixed; bottom: max(1.25rem, env(safe-area-inset-bottom)); right: 1.25rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform .3s var(--ease-expo), box-shadow .3s, opacity .3s, visibility .3s;
}
.fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
  pointer-events: none;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37,211,102,0.55); }
.fab::before, .fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(37,211,102,0.4);
  animation: fabRipple 2.6s ease-out infinite;
}
.fab::after { animation-delay: 1.3s; }
@keyframes fabRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .js .split-line > span { transform: none; }
  .fab::before, .fab::after, .hero__tag .dot::after, .scroll-cue__line::after { animation: none; }
}

/* ═══════════════════════════════════════════
   PÁGINAS INTERNAS (áreas, estados, cidades, guias)
═══════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: calc(110px + 3rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
}
.page-hero .hero__watermark { opacity: 0.12; width: clamp(280px, 36vw, 520px); }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { margin-bottom: 1.75rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; color: rgba(255,255,255,0.45); }
.breadcrumb a { color: rgba(255,255,255,0.88); border-bottom: 1px solid rgba(255,255,255,0.3); }
.breadcrumb a:hover { color: #fff; border-bottom-color: #fff; }
.page-hero__title {
  font-family: var(--f-serif); font-weight: 300;
  font-variation-settings: 'opsz' 144;
  font-size: clamp(2.2rem, 5.2vw, 4.25rem);
  line-height: 1.04; letter-spacing: -0.03em;
  max-width: 900px; margin-bottom: 1.5rem;
}
.page-hero__title em { font-style: italic; font-weight: 400; color: var(--blue-300); }
.page-hero__lede { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; color: rgba(255,255,255,0.86); max-width: 680px; margin-bottom: 2.25rem; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-light {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem; min-height: 48px;
  background: #fff; color: var(--navy-900);
  font-size: 0.9rem; font-weight: 600; border-radius: 999px;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(5,13,28,0.3); }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem; min-height: 48px;
  border: 1.5px solid rgba(255,255,255,0.7); color: #fff;
  font-size: 0.9rem; font-weight: 600; border-radius: 999px;
  transition: background .25s, color .25s;
}
.btn-outline-light:hover { background: #fff; color: var(--navy-900); }

.page-body { background: var(--paper); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 960px) { .page-grid { grid-template-columns: 1fr; } }

.prose { max-width: 720px; color: var(--ink-2); }
.prose h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink); margin: 3rem 0 1rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.25rem; color: var(--ink); margin: 2rem 0 0.6rem; }
.prose p { font-size: 1.04rem; line-height: 1.75; margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.25rem 0; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: 0.6rem; font-size: 1.02rem; line-height: 1.65; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-700); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--navy-700); border-bottom: 1px solid rgba(30,65,128,0.35); }
.prose a:hover { border-bottom-color: var(--navy-700); }

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 1rem; }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }
.service { padding: 1.25rem 1.35rem; background: #fff; border: 1px solid var(--line); }
.service h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.service p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-3); }

.faq { margin-top: 1rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; min-height: 44px;
  font-family: var(--f-serif); font-size: 1.15rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-sans); font-size: 1.4rem; font-weight: 300; color: var(--navy-700); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.25rem; margin: 0; }

.aside-card { position: sticky; top: 100px; padding: 1.75rem; background: var(--grad-sobre); color: #fff; }
@media (max-width: 960px) { .aside-card { position: static; } }
.aside-card h2 { font-family: var(--f-serif); font-weight: 400; font-size: 1.4rem; margin-bottom: 0.6rem; }
.aside-card p { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.86); margin-bottom: 1.25rem; }
.aside-card .btn-light { width: 100%; justify-content: center; margin-bottom: 0.6rem; }
.aside-card .btn-outline-light { width: 100%; justify-content: center; }
.aside-card dl { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.18); font-size: 0.9rem; }
.aside-card dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-300); margin-top: 0.9rem; }
.aside-card dt:first-child { margin-top: 0; }
.aside-card dd { color: rgba(255,255,255,0.88); line-height: 1.5; margin-top: 0.2rem; }
.aside-card dd a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.35); }

.related { background: #fff; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.related h2 { font-family: var(--f-serif); font-weight: 400; font-size: 1.6rem; color: var(--ink); margin-bottom: 1.5rem; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; list-style: none; }
.related__grid a {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 1rem 1.15rem; min-height: 56px;
  border: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; font-weight: 500;
  transition: border-color .25s, color .25s, background .25s;
}
.related__grid a::after { content: '→'; color: var(--navy-700); transition: transform .25s var(--ease-out); }
.related__grid a:hover { border-color: var(--navy-700); color: var(--navy-700); background: var(--blue-50); }
.related__grid a:hover::after { transform: translateX(3px); }

.note-ethics { margin-top: 2.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--line); font-size: 0.85rem; line-height: 1.6; color: var(--ink-3); }

.area__link { margin-top: auto; padding-top: 1.25rem; font-size: 0.85rem; font-weight: 600; color: var(--blue-300); display: inline-flex; gap: 0.4rem; align-items: center; position: relative; z-index: 1; }
.area__link::after { content: '→'; transition: transform .25s var(--ease-out); }
.area:hover .area__link { color: var(--navy-700); }
.area:hover .area__link::after { transform: translateX(3px); }

.mun-note { padding: 1.5rem 0 0; font-size: 0.95rem; line-height: 1.65; color: rgba(255,255,255,0.8); max-width: 520px; }

.area__title a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.18em; text-decoration-thickness: 1px; transition: text-decoration-color .25s; }
.area__title a:hover { text-decoration-color: currentColor; }
.area__link { align-self: flex-start; }
.area :focus-visible { outline-color: var(--blue-300); }
.area.is-hover :focus-visible { outline-color: var(--navy-700); }
