/* Estilos do site · Leonardo Santa Cecília (usado pela home e pelas páginas por tema) */

/* ---------- Tokens (Manual de Marca) ---------- */
:root {
  --bg: #FFF8E9;              /* Off White */
  --surface: #FFFDF7;
  --surface-2: #FBEDCF;
  --ink: #0E3244;             /* Azul Marinho */
  --ink-2: #3E5664;
  --ink-3: #667983;
  --line: #EBDBBC;
  --orange: #E6864E;          /* Laranja Pastel */
  --yellow: #E6B54E;          /* Amarelo Pastel */
  --accent: #E6864E;
  --accent-hover: #EE9A68;
  --on-accent: #0E3244;
  --em: #C45F2A;              /* laranja com contraste para títulos no claro */
  --label: #A9501F;           /* laranja com contraste para textos pequenos */
  --band: #0E3244;
  --band-ink: #FFF8E9;
  --band-ink-2: #C3CFD3;
  --band-line: rgba(255, 248, 233, .16);
  --sym-base: #0E3244;
  --shadow: 0 1px 2px rgba(14, 50, 68, .08), 0 18px 40px -18px rgba(14, 50, 68, .35);
  --display: "Baloo Thambi 2", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --maxw: 1120px;
  --gutter: clamp(16px, 4.5vw, 36px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0A2230;
    --surface: #0F3042;
    --surface-2: #133A4E;
    --ink: #FFF8E9;
    --ink-2: #CBD5D8;
    --ink-3: #9AABB2;
    --line: #1E4659;
    --accent-hover: #F0A375;
    --em: #E6B54E;
    --label: #E6B54E;
    --band: #0E3244;
    --band-line: rgba(255, 248, 233, .14);
    --sym-base: #FFF8E9;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A2230;
  --surface: #0F3042;
  --surface-2: #133A4E;
  --ink: #FFF8E9;
  --ink-2: #CBD5D8;
  --ink-3: #9AABB2;
  --line: #1E4659;
  --accent-hover: #F0A375;
  --em: #E6B54E;
  --label: #E6B54E;
  --band: #0E3244;
  --band-line: rgba(255, 248, 233, .14);
  --sym-base: #FFF8E9;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 1.0938rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); font-weight: 800; letter-spacing: -0.005em; }
h1, h2 { line-height: 1.02; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--label); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 12px; max-width: 42rem; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.section-head p:not(.label) { color: var(--ink-2); }
.ic { width: 1em; height: 1em; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--display); font-weight: 800; font-size: 1.125rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn-navy { background: var(--ink); color: var(--bg); }
.btn-navy:hover { background: #17485F; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-block: 2px; }

/* ---------- Header (variação horizontal) ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { width: 38px; height: 45px; flex: none; --sym-line: #FFF8E9; --sym-base: transparent; }
.brand-text { display: grid; gap: 2px; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: .09em; line-height: 1.1; color: #FFF8E9; }
.brand-sub { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--band-ink-2); }
.brand-sub::before { content: ""; display: block; width: 72px; height: 1.5px; background: var(--orange); margin: 3px 0 4px; }
.nav { display: flex; gap: 26px; }
.nav a { color: #E3E9EB; text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--yellow); }
@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 560px) {
  .site-header .wrap { min-height: 66px; gap: 10px; }
  .brand svg { width: 30px; height: 36px; }
  .brand-name { font-size: .95rem; letter-spacing: .06em; }
  .site-header .btn-sm { padding: 0 15px; font-size: .92rem; min-height: 40px; }
  .site-header .btn-sm svg { display: none; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .site-header .brand-name span { display: block; }
  .site-header .brand-name { font-size: .92rem; line-height: 1.05; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 4.9rem); max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--em); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--ink-2); padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--surface-2); }
.chips svg { width: 18px; height: 18px; color: var(--label); }

.art { position: relative; justify-self: end; width: 100%; max-width: 460px; aspect-ratio: 5 / 6; border-radius: 36px; background: var(--surface-2); overflow: hidden; }
.art .curve { position: absolute; inset: 0; width: 100%; height: 100%; }
.art img { position: absolute; left: 13%; top: 9%; width: 74%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 26px; background: #2b2d30; box-shadow: 0 24px 40px -20px rgba(14, 50, 68, .6); }
.art .ball { position: absolute; left: 4%; bottom: 13%; width: 23%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 10px var(--surface-2); }
.nameplate { position: absolute; right: 7%; bottom: 5%; display: grid; gap: 1px; padding: 10px 16px; border-radius: 14px; background: var(--band); color: #FFF8E9; box-shadow: var(--shadow); }
.nameplate strong { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .04em; line-height: 1.2; }
.nameplate span { font-size: .78rem; color: #C3CFD3; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .art { justify-self: center; max-width: 420px; }
}

/* ---------- Faixa de trajetória ---------- */
.proof { background: var(--band); color: var(--band-ink); }
.proof ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { display: grid; gap: 2px; align-content: start; padding: 28px 24px; border-left: 1px solid var(--band-line); }
.proof li:first-child { border-left: 0; padding-left: 0; }
.proof b { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.05; color: var(--yellow); font-variant-numeric: tabular-nums; }
.proof span { font-size: .92rem; color: var(--band-ink-2); line-height: 1.45; }
@media (max-width: 860px) {
  .proof ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li { padding: 22px 16px; }
  .proof li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--band-line); }
}

/* ---------- Áreas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.area { display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.tile { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--band); color: var(--yellow); margin-bottom: 6px; }
.tile svg { width: 28px; height: 28px; }
.area p { color: var(--ink-2); font-size: 1.02rem; }
.areas-note { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 22px 26px; border-radius: 24px; background: var(--surface-2); }
.areas-note p { flex: 1 1 28rem; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Sobre ---------- */
.about .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.about-photo { position: sticky; top: 110px; margin: 0; }
.about-photo .frame { position: relative; }
.about-photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 30px; background: #2b2d30; }
.about-photo .frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 30px; background: var(--yellow); }
.about-photo .frame::after { content: ""; position: absolute; right: -10px; top: -14px; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px var(--bg); }
.about-photo figcaption { margin-top: 34px; font-size: .92rem; color: var(--ink-3); }
.about-copy { display: grid; gap: 20px; }
.about-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.about-copy > p:not(.label) { color: var(--ink-2); max-width: 38rem; }
.about-copy > p strong { color: var(--ink); font-weight: 700; }
.values { display: flex; flex-wrap: wrap; gap: 8px; }
.values li { font-size: .9rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.values li:nth-child(odd) { background: var(--ink); color: var(--bg); }
.training { margin-top: 8px; max-width: 38rem; }
.training h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--label); padding-bottom: 8px; }
.training ul { border-top: 2px solid var(--ink); }
.training li { display: grid; grid-template-columns: 3.6rem 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.training time { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.45; color: var(--em); font-variant-numeric: tabular-nums; }
.training small { display: block; color: var(--ink-3); font-size: .86rem; }
@media (max-width: 860px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 340px; }
}

/* ---------- Abordagem ---------- */
.method { position: relative; overflow: hidden; background: var(--band); color: var(--band-ink); }
.method::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 46%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='120' viewBox='0 0 26 120'%3E%3Cpath d='M13 0c10 15 10 45 0 60s-10 45 0 60' fill='none' stroke='%23E6864E' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 26px 120px; opacity: .22;
  -webkit-mask: linear-gradient(90deg, transparent, #000 45%);
  mask: linear-gradient(90deg, transparent, #000 45%);
}
.method .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.method .label { color: var(--yellow); }
.method h2 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.method h2 em { font-style: normal; color: var(--orange); }
.method-copy { display: grid; gap: 20px; }
.method-copy > p:not(.label) { color: var(--band-ink-2); max-width: 36rem; }
.pillars { display: grid; margin-top: 10px; }
.pillars li { display: grid; grid-template-columns: 44px 8.5rem 1fr; gap: 16px; align-items: start; padding-block: 16px; border-top: 1px solid var(--band-line); }
.pillars svg { width: 30px; height: 30px; color: var(--yellow); margin-top: 2px; }
.pillars b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.3; }
.pillars span { color: var(--band-ink-2); }
.triangle { width: 100%; max-width: 420px; justify-self: center; margin: 0; }
.triangle svg { width: 100%; height: auto; display: block; overflow: visible; }
.triangle figcaption { margin-top: 18px; font-size: .95rem; color: var(--band-ink-2); text-align: center; }
.tri-line { stroke: #C3CFD3; stroke-width: 1.8; fill: none; }
.tri-head { fill: #C3CFD3; }
.tri-verb { font-family: var(--display); font-weight: 800; font-size: 21px; fill: #0E3244; }
.tri-word { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .16em; fill: #C3CFD3; }
.tri-center { font-family: var(--display); font-weight: 800; font-size: 17px; fill: #FFF8E9; }
@media (max-width: 860px) {
  .method .wrap { grid-template-columns: 1fr; }
  .method::before { width: 100%; opacity: .12; }
  .pillars li { grid-template-columns: 40px 1fr; }
  .pillars span { grid-column: 2; }
}

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.step { display: grid; gap: 10px; align-content: start; padding: 26px 24px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.step-n { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: .9; color: var(--em); }
.step-top svg { width: 40px; height: 40px; color: var(--yellow); --ic-2: var(--orange); }
.step p { color: var(--ink-2); font-size: 1.02rem; }
.reassure { margin-top: clamp(22px, 3vw, 32px); display: grid; gap: 16px; justify-items: start; padding: clamp(24px, 4vw, 38px) clamp(24px, 4.5vw, 44px); border-radius: 26px; background: var(--surface-2); border-left: 6px solid var(--orange); }
.reassure p { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.3; color: var(--ink); max-width: 46rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 18px; font-family: var(--display); font-weight: 700; font-size: 1.22rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(#0E3244, #0E3244) center / 12px 2.2px no-repeat,
    linear-gradient(#0E3244, #0E3244) center / 2.2px 12px no-repeat,
    var(--yellow);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 40rem; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(32px, 6vw, 64px); border-radius: 36px; background: var(--orange); color: #0E3244; }
.contact-card .curve { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-copy, .contact-list { position: relative; }
.contact-copy { display: grid; gap: 18px; justify-items: start; }
.contact-copy .label { color: #0E3244; }
.contact-copy h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.contact-copy p:not(.label) { max-width: 30rem; font-size: 1.1rem; }
.contact-list { background: #FFF8E9; border-radius: 26px; padding: 6px 22px; box-shadow: 0 24px 40px -24px rgba(14, 50, 68, .55); }
.contact-list li + li { border-top: 1px solid #EBDBBC; }
.contact-list a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding-block: 15px; text-decoration: none; color: #0E3244; }
.contact-list .tile { width: 40px; height: 40px; border-radius: 12px; margin: 0; background: #0E3244; }
.contact-list .tile svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #A9501F; }
.contact-list .v { display: block; font-weight: 600; overflow-wrap: anywhere; }
.contact-list .go { font-size: 1.1rem; color: #667983; }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .contact-card { padding: 32px 20px 20px; border-radius: 26px; }
  .contact-list { padding: 4px 16px; }
  .contact-list a { grid-template-columns: 36px 1fr; }
  .contact-list .tile { width: 36px; height: 36px; }
  .contact-list .go { display: none; }
  .contact-list .v { font-size: .98rem; }
}

/* ---------- Rodapé ---------- */
.site-footer { margin-top: clamp(64px, 9vw, 112px); background: var(--band); color: var(--band-ink); padding-block: 52px calc(40px + env(safe-area-inset-bottom, 0px)); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand svg { width: 54px; height: 64px; flex: none; --sym-line: #FFF8E9; --sym-base: transparent; }
.foot-brand .brand-name { font-size: 1.3rem; }
.foot-brand p { font-size: .92rem; color: var(--band-ink-2); line-height: 1.55; margin-top: 4px; }
.crisis { font-size: .95rem; color: var(--band-ink-2); padding: 16px 18px; border-radius: 16px; border: 1px solid var(--band-line); }
.crisis strong { color: #FFF8E9; font-weight: 700; }
.copyright { grid-column: 1 / -1; font-size: .85rem; color: #9AABB2; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante ---------- */
.fab { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #0E3244; box-shadow: 0 0 0 4px var(--bg), var(--shadow); transition: transform .2s ease, background-color .2s ease; }
.fab:hover { transform: translateY(-2px); background: var(--accent-hover); }
.fab svg { width: 28px; height: 28px; }

/* =========================================================
   Acréscimos de out/2026: páginas por tema e cores mais calmas
   ========================================================= */

/* ---------- Hero da home: título novo, mais longo ---------- */
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); max-width: 15ch; line-height: 1.04; }
.hero-sub { font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.3; color: var(--ink); }

/* ---------- Link ativo no menu ---------- */
.nav a[aria-current="page"] { color: var(--yellow); }

/* ---------- Por onde começar (home) e Leia também (páginas) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.path { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.path:hover { border-color: var(--orange); transform: translateY(-2px); }
.path .label { margin-bottom: 2px; }
.path p { color: var(--ink-2); font-size: 1.02rem; }
.path .go { margin-top: auto; padding-top: 6px; align-self: flex-start; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.area-link { justify-self: start; margin-top: 6px; font-size: .98rem; }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 84px) clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: var(--surface-2); z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: start; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); max-width: 18ch; line-height: 1.04; }
.page-hero h1 em { font-style: normal; color: var(--em); }
.page-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 40rem; }
.crumbs { font-size: .9rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); border-color: var(--orange); }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(40px, 6vw, 88px); align-items: start; padding-block: clamp(48px, 7vw, 88px) 0; }
.prose { display: grid; gap: clamp(48px, 6vw, 72px); max-width: 44rem; }
.block { display: grid; gap: 16px; scroll-margin-top: 100px; }
.block h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.block h3 { margin-top: 10px; }
.block p { color: var(--ink-2); }
.block p strong, .block li strong { color: var(--ink); font-weight: 700; }
.block a:not(.btn) { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.dots { display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 30px; color: var(--ink-2); }
.dots li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--surface-2); }

.numbered { display: grid; gap: 4px; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 3rem 1fr; gap: 14px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.numbered li:first-child { border-top: 2px solid var(--ink); }
.numbered li::before { content: counter(n); font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--em); }

.note { padding: 20px 24px; border-radius: 20px; background: var(--surface-2); color: var(--ink); }
.note p { color: var(--ink); }
.alert { padding: 20px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--em); color: var(--ink); }

.topics { display: grid; gap: 4px; }
.topics > div { padding-block: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.topics > div:first-child { border-top: 2px solid var(--ink); }
.topics h3 { margin: 0; }

.who { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: start; }
.who img { width: 132px; aspect-ratio: 1; object-fit: cover; border-radius: 24px; background: #2b2d30; box-shadow: 10px 10px 0 var(--yellow); }
.who .txt { display: grid; gap: 14px; }
.who .training { margin-top: 4px; }
@media (max-width: 600px) { .who { grid-template-columns: 1fr; } .who img { width: 112px; } }

/* Índice lateral (desktop) */
.toc { position: sticky; top: 104px; display: grid; gap: 16px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.toc ol { display: grid; gap: 2px; }
.toc ol a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: .98rem; line-height: 1.35; }
.toc ol a:hover { color: var(--ink); }
.toc .btn { width: 100%; }
.toc small { color: var(--ink-3); font-size: .84rem; line-height: 1.45; }
@media (max-width: 980px) { .page-body { grid-template-columns: 1fr; } .toc { display: none; } }

/* Chamada final das páginas (azul-marinho, para o laranja ficar só nos botões) */
.cta-band { margin-top: clamp(64px, 9vw, 112px); }
.cta-band .inner { position: relative; overflow: hidden; display: grid; gap: 16px; justify-items: start; padding: clamp(32px, 6vw, 60px); border-radius: 34px; background: var(--band); color: var(--band-ink); }
.cta-band .inner::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--orange); }
.cta-band .inner::before { content: ""; position: absolute; right: 96px; bottom: 96px; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 9px var(--band); z-index: 1; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 18ch; position: relative; z-index: 2; }
.cta-band p { color: var(--band-ink-2); max-width: 32rem; position: relative; z-index: 2; }
.cta-band .btn { position: relative; z-index: 2; margin-top: 6px; }
@media (max-width: 600px) { .cta-band .inner::before, .cta-band .inner::after { display: none; } }

.related { margin-top: clamp(56px, 8vw, 96px); }
.related .section-head { margin-bottom: 24px; }
.related .section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* Rodapé: links das páginas (também resolve a navegação no celular) */
.foot-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 20px; border-top: 1px solid var(--band-line); }
.foot-nav a { color: #E3E9EB; text-decoration: none; font-weight: 500; font-size: .95rem; }
.foot-nav a:hover { color: var(--yellow); }
