:root {
  --navy: #0c356a;
  --royal: #0157cc;
  --pink: #ff007d;
  --purple: #b400c1;
  --cyan: #4dcdff;
  --lime: #afff2a;
  --ink: #10294b;
  --muted: #5d6c82;
  --paper: #f6f8fc;
  --white: #fff;
  --line: #dfe6f0;
  --shadow: 0 24px 60px rgba(12, 53, 106, .15);
  --sans: "Nexa", "Aptos", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; left: 16px; top: -60px; padding: 10px 14px; color: white; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(12,53,106,.08); }
.header-inner { height: 86px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 142px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; padding: 10px 0; color: #30445e; font-size: 14px; font-weight: 650; transition: color .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--royal); }
.main-nav a[aria-current="page"]::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; content: ""; background: var(--pink); }
.nav-toggle { display: none; }
.button { min-height: 54px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; font-size: 14px; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; white-space: nowrap; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(1,87,204,.18); }
.button span { font-size: 18px; line-height: 1; }
/* O rótulo (e o trecho que encurta no celular) mantém a fonte do botão; só a seta usa 18 px. */
.button .button-label, .button .button-extra { font-size: inherit; line-height: inherit; }
.button-small { min-height: 44px; padding: 0 18px; font-size: 13px; }
.button-primary { color: white; background: var(--royal); }
.button-primary:hover { background: #0045a8; }
.button-lime { color: var(--navy); background: var(--lime); }
.button-whatsapp { color: white; background: var(--royal); letter-spacing: .035em; text-transform: uppercase; }
.button-whatsapp:hover { background: #0047ad; }
.button-whatsapp .whatsapp-icon { flex: 0 0 auto; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); }
.button-outline-light:hover { background: rgba(255,255,255,.14); }
.button-outline-blue { color: var(--navy); border-color: #b9cce2; background: white; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--royal); font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-light { color: #c4e8ff; }
.eyebrow-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(175,255,42,.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.04em; }
h1, h2 { line-height: 1.07; }
h1 { margin-bottom: 22px; font-size: clamp(44px, 6vw, 76px); }
h2 { margin-bottom: 18px; font-size: clamp(34px, 4vw, 52px); }
h3 { line-height: 1.2; }
h1 em, h2 em { color: var(--cyan); font-style: normal; }
.section-pad { padding-block: 112px; }
.home-hero, .blog-hero, .lp-contact { position: relative; overflow: hidden; color: white; background-color: var(--navy); background-image: radial-gradient(ellipse at 73% 36%, rgba(1,87,204,.92), transparent 47%), linear-gradient(118deg, #0c356a 0%, #0d3d83 56%, #081f51 100%); background-position: center, center; background-repeat: no-repeat; background-size: cover; }
.blog-hero, .lp-contact { background-image: radial-gradient(ellipse at 73% 36%, rgba(1,87,204,.92), transparent 47%), linear-gradient(118deg, #0c356a 0%, #0d3d83 56%, #081f51 100%); }
/* Linhas da campanha (as mesmas do rodapé) no alto à direita; somem suavemente embaixo. */
.blog-hero::after, .lp-contact::after { position: absolute; z-index: 0; top: 0; right: 0; width: 100%; height: min(100%, 560px); content: ""; background: url("../img/rodape-linhas-direita.webp") right top / auto 100% no-repeat; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); pointer-events: none; }
.home-hero::before, .blog-hero::before, .lp-contact::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(12,53,106,.2), rgba(1,87,204,.05) 58%, rgba(12,53,106,.13)); pointer-events: none; }
.home-hero { min-height: clamp(660px, 52vw, 750px); display: flex; align-items: center; color: var(--ink); background-color: #e2e1e4; background-image: linear-gradient(104deg, #ecebef 0%, #e5e4e7 45%, #d8dadd 100%); }
.home-hero::before { display: none; }
.home-hero::after { display: none; }
.home-hero-grid { position: static; z-index: 1; display: block; padding-block: 78px 98px; }
.hero-copy { position: relative; z-index: 2; max-width: 590px; }
.home-hero .eyebrow-light { color: var(--navy); }
.hero-copy h1 { margin-top: 23px; color: var(--navy); }
.home-hero .hero-copy h1::after { display: none; }
.hero-copy h1 em { color: var(--royal); }
.hero-copy > p { max-width: 500px; margin-bottom: 30px; color: #40526b; font-size: 17px; line-height: 1.7; }
.home-hero .button-outline-light { color: var(--navy); border-color: rgba(12,53,106,.35); background: rgba(255,255,255,.46); }
.home-hero .button-outline-light:hover { background: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-visual { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 52%; margin: 0; overflow: hidden; }
.hero-visual::before { position: absolute; z-index: 1; inset: 0; content: ""; background: linear-gradient(90deg, #e4e2e5 0%, rgba(228,226,229,.66) 5%, rgba(228,226,229,0) 16%); pointer-events: none; }
.hero-visual::after { display: none; }
.hero-visual img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 60%; filter: brightness(1.04) saturate(.98); }
/* Hero da campanha (prévia em /hero-teste/): azul, linhas oficiais e os quatro alunos recortados, cortados pela base do hero. */
/* --kids: largura dos alunos; nunca toma o espaço de que o texto e os dois botões precisam. */
.campaign-hero { --kids: min(52vw, 1000px, calc(100vw - 590px)); position: relative; overflow: hidden; color: white; background-color: #0a2168; background-image: radial-gradient(ellipse 50% 70% at 76% 62%, rgba(70,150,255,.5), transparent 72%), linear-gradient(112deg, #0a2168 0%, #0b3897 50%, #0450c4 100%); }
.campaign-hero-lines { position: absolute; inset: 0; background: url("../img/rodape-linhas-direita.webp") right top 8% / auto 74% no-repeat; pointer-events: none; }
/* Lateral esquerda: só as laçadas densas do canto, abaixo dos botões (o alto da arte some). */
.campaign-hero-lines::after { position: absolute; left: 0; bottom: 0; width: 200px; height: 270px; content: ""; display: none; background: url("../img/rodape-linhas-esquerda.webp") left bottom / auto 100% no-repeat; -webkit-mask-image: linear-gradient(to top, #000 50%, transparent 62%); mask-image: linear-gradient(to top, #000 50%, transparent 62%); }
.campaign-hero-grid { position: relative; z-index: 2; min-height: clamp(600px, 48vw, 740px); display: flex; align-items: center; padding-block: 64px 96px; }
.campaign-hero-copy { width: min(560px, calc(100vw - var(--kids) - max(24px, (100vw - 1200px) / 2) - 28px)); }
.campaign-hero h1 { margin-top: 22px; color: white; }
.campaign-hero h1 em { color: var(--cyan); }
.campaign-hero .eyebrow-mark { background: var(--cyan); box-shadow: 0 0 0 5px rgba(77,205,255,.16); }
.campaign-hero-copy > p { max-width: 500px; margin-bottom: 30px; color: #d6e6ff; font-size: 17px; line-height: 1.7; }
.campaign-hero .button-whatsapp { color: var(--royal); background: white; }
.campaign-hero .button-whatsapp:hover { color: var(--navy); background: #e8f3ff; box-shadow: 0 10px 24px rgba(2,18,49,.28); }
/* Os alunos ganham 12% e o excedente sai pela borda direita (a mão que acena), sem avançar sobre o texto. */
.campaign-hero-kids { position: absolute; z-index: 1; right: calc(var(--kids) * -.10); bottom: 0; width: calc(var(--kids) * 1.12); height: auto; }
@media (min-width: 1400px) { .campaign-hero-lines::after { display: block; } }
@media (max-width: 1180px) {
  .campaign-hero { --kids: min(49vw, calc(100vw - 540px)); }
  .campaign-hero .button { padding-inline: 18px; font-size: 13px; }
  .campaign-hero-grid { min-height: 540px; padding-block: 56px 72px; }
}
/* Tablet e celular: texto em cima e os alunos na largura toda, cortados pela base. */
@media (max-width: 960px) {
  .campaign-hero { --kids: 100vw; }
  .campaign-hero-lines { background: url("../img/rodape-linhas-direita.webp") right -70px top / auto 300px no-repeat; }
  .campaign-hero-grid { min-height: auto; display: block; padding-block: 56px 32px; }
  .campaign-hero-copy { width: auto; max-width: 600px; }
  .campaign-hero-kids { position: relative; right: auto; display: block; width: 100%; }
}
.home-intro-section { background: white; }
.home-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 76px; }
.home-intro-photo { height: 490px; margin: 0; overflow: hidden; border: 8px solid white; border-radius: 26px; background: #e8ebf0; box-shadow: var(--shadow); }
.home-intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.home-intro-copy h2 { margin: 14px 0 21px; }
.home-intro-copy h2 em { color: var(--royal); }
.home-intro-copy > p { max-width: 650px; color: var(--muted); font-size: 16px; }
.home-intro-copy .check-list { margin-block: 22px 27px; }
.home-intro-copy .check-list li { color: var(--ink); }
.campus-section { background: white; }
.campus-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.campus-heading h2 { max-width: 650px; margin: 14px 0 0; }
.campus-heading h2 em { color: var(--royal); font-style: normal; }
.campus-heading > p { width: min(390px,40%); margin-bottom: 3px; color: var(--muted); }
.campus-photo { position: relative; aspect-ratio: 16/10; margin: 0; overflow: hidden; border-radius: 20px; background: #e9edf4; box-shadow: 0 14px 34px rgba(12,53,106,.12); }
.campus-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.campus-photo:hover img { transform: scale(1.035); }
.campus-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 46px 18px 16px; color: white; background: linear-gradient(rgba(6,24,58,0), rgba(6,24,58,.82)); font-size: 13px; font-weight: 700; }
.results-section { position: relative; overflow: hidden; color: white; background: linear-gradient(115deg,#0c356a 0%,#0157cc 72%,#0b3d83 100%); }
.results-section .section-heading { position: relative; z-index: 1; }
.results-section .section-heading h2 { color: white; }
.results-section .section-heading h2 em { color: var(--lime); font-style: normal; }
.results-section .section-heading > p { color: #d8eaff; }
.results-slider { position: relative; z-index: 1; }
/* Cada resultado já é um card (cantos arredondados na própria imagem): sem moldura branca; a sombra acompanha os cantos. */
.results-card { margin: 0; }
.results-card img { width: 100%; height: auto; filter: drop-shadow(0 12px 20px rgba(2,18,49,.26)); }
.testimonials-section { overflow: hidden; background: var(--paper); }
.testimonials-section .section-heading h2 em { color: var(--royal); font-style: normal; }
.testimonial-card { display: flex; flex-direction: column; width: 100%; margin: 0; padding: 30px 28px 24px; border: 1px solid #e4eaf3; border-radius: 24px; background: white; box-shadow: 0 10px 28px rgba(12,53,106,.06); }
.testimonial-mark { width: 34px; height: 26px; flex: 0 0 auto; margin-bottom: 20px; fill: var(--pink); }
.testimonial-quote { margin: 0 0 22px; color: var(--ink); }
.testimonial-quote p { margin: 0; font-size: 16px; line-height: 1.65; }
.testimonial-quote.is-short p { font-size: 21px; font-weight: 650; line-height: 1.45; letter-spacing: -.01em; }
.testimonial-quote.is-long p { font-size: 15px; }
.testimonial-more { align-self: flex-start; margin: -10px 0 22px; padding: 0; color: var(--royal); border: 0; background: none; font-size: 13px; font-weight: 800; cursor: pointer; }
.testimonial-more:hover { text-decoration: underline; }
html:not(.js) .testimonial-more { display: none; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #edf1f7; }
.testimonial-author img { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; }
.testimonial-author strong { display: block; color: var(--navy); font-size: 14px; line-height: 1.3; }
.testimonial-author small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
/* Comentário completo (janela sobre a página). */
.testimonial-dialog { width: min(580px, calc(100% - 36px)); max-height: calc(100% - 48px); padding: 0; overflow: auto; border: 0; border-radius: 24px; background: transparent; }
.testimonial-dialog::backdrop { background: rgba(6,22,52,.6); }
.testimonial-dialog .testimonial-card { padding: 38px 36px 28px; box-shadow: 0 30px 80px rgba(3,14,40,.3); }
.testimonial-dialog .testimonial-quote p { font-size: 17px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; color: var(--navy); border: 1px solid #dfe6f0; border-radius: 50%; background: white; font-size: 24px; line-height: 1; cursor: pointer; }
.dialog-close:hover { color: white; border-color: var(--navy); background: var(--navy); }
/* Carrossel (depoimentos, ambientes e resultados): rolagem com encaixe, sem barra; setas e indicadores vêm do site.js. */
.slider { --per-view: 3; --gap: 20px; position: relative; }
/* A trilha avança 12 px sobre a margem da página (a menor é 14 px) para a sombra dos cards não ser cortada. */
.slider-track { display: flex; gap: var(--gap); margin: 0 -12px; padding: 6px 12px 30px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding-inline: 12px; scroll-snap-type: x mandatory; }
.js .slider-track { scrollbar-width: none; }
.js .slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 2px solid var(--royal); outline-offset: -2px; border-radius: 16px; }
.slide { display: flex; flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view)); min-width: 0; scroll-snap-align: start; }
.slide > * { width: 100%; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 4px; }
.slider-controls[hidden] { display: none; }
.slider-button { width: 48px; height: 48px; display: grid; place-items: center; padding: 0; color: var(--navy); border: 1px solid #cdd9e8; border-radius: 50%; background: white; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease; }
.slider-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider-button:hover:not(:disabled) { color: white; border-color: var(--navy); background: var(--navy); }
.slider-button:disabled { opacity: .35; cursor: default; }
.slider-dots { display: flex; align-items: center; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #c3d1e4; cursor: pointer; transition: width .3s ease, background .3s ease; }
.slider-dots button[aria-current="true"] { width: 28px; background: var(--royal); }
.results-section .slider-button { color: white; border-color: rgba(255,255,255,.45); background: transparent; }
.results-section .slider-button:hover:not(:disabled) { color: var(--navy); border-color: white; background: white; }
.results-section .slider-dots button { background: rgba(255,255,255,.35); }
.results-section .slider-dots button[aria-current="true"] { background: var(--lime); }
.section-heading h2 em, .page-intro h1 em { color: var(--royal); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--royal); font-size: 14px; font-weight: 800; }
.text-link span { font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.stages-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 44px; }
.section-heading h2 { max-width: 640px; margin: 15px 0 0; }
.section-heading > p { width: min(390px, 40%); margin-bottom: 3px; color: var(--muted); }
.modality-grid { display: grid; grid-template-columns: repeat(3,1fr); align-items: stretch; gap: 22px; }
.modality-card { margin-top: 18%; border: 1px solid #e7edf5; border-radius: 24px; background: white; box-shadow: 0 8px 24px rgba(12,53,106,.035); transition: transform .25s ease, box-shadow .25s ease; }
.modality-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
/* Box da etapa (4:3) com o aluno recortado saindo por cima; o margin-top do card reserva essa altura (216/1200 da largura). */
.modality-image { position: relative; display: block; aspect-ratio: 4 / 3; margin: -1px -1px 0; border-radius: 24px 24px 0 0; }
.modality-bg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; background: var(--royal); object-fit: cover; }
.modality-student { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; transform-origin: 50% 100%; transition: transform .4s ease; }
.modality-card:hover .modality-student { transform: scale(1.03); }
.modality-copy { padding: 25px 26px 28px; }
.modality-copy h3 { margin: 9px 0; font-size: 25px; }
.modality-copy p { min-height: 48px; margin-bottom: 19px; color: var(--muted); font-size: 14px; }
.modality-copy .text-link { font-size: 13px; }
.check-list { display: grid; gap: 14px; margin: 24px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; font-weight: 650; }
.check-list li::before { flex: 0 0 19px; height: 19px; display: grid; place-items: center; margin-top: 2px; color: var(--navy); border-radius: 50%; background: var(--lime); content: "✓"; font-size: 11px; }
.cta-band { position: relative; overflow: hidden; color: white; background: var(--royal); }
.cta-band::after { display: none; }
.cta-band-inner { position: relative; z-index: 1; min-height: 330px; display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 60px; }
.cta-band h2 { max-width: 780px; margin: 14px 0 12px; }
.cta-band p { max-width: 600px; margin-bottom: 0; color: #d9ecff; }
.cta-band .button { flex: 0 0 auto; }
.cta-band .button-whatsapp { color: var(--royal); background: white; }
.cta-band .button-whatsapp:hover { color: white; background: #0047ad; }
/* Topo das etapas: o mesmo box do card da home, maior; o aluno sai por cima e o box nasce da base da seção. */
.segment-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6f8fc 0%, #ecf1f8 100%); }
.segment-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: end; gap: clamp(32px, 5vw, 72px); padding-top: clamp(24px, 3vw, 40px); }
.segment-hero-copy { align-self: center; max-width: 590px; padding-block: 24px 72px; }
.segment-hero-copy h1 { margin-top: 20px; color: var(--navy); }
.segment-hero-copy p { max-width: 520px; margin-bottom: 30px; color: #40526b; font-size: 17px; line-height: 1.7; }
.segment-hero-visual { position: relative; aspect-ratio: 4 / 3; margin-top: 18%; border-radius: 28px 28px 0 0; }
.segment-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; background: var(--royal); object-fit: cover; }
.segment-hero-student { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; }
/* Etapas — apresentação: foto real da escola (com o canto em arco do site atual) e o texto da etapa. */
.seg-about { background: white; }
.seg-about-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(36px, 6vw, 84px); }
.seg-about-photo { width: 100%; max-width: 460px; margin: 0; justify-self: center; }
.seg-about-photo img { width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(12,53,106,.18)); }
/* Os títulos desta seção são frases longas: um tamanho abaixo do h2 padrão. */
.seg-about-copy h2 { margin: 14px 0 20px; font-size: clamp(30px, 3.1vw, 42px); }
.seg-about-copy h2 em { color: var(--royal); }
.seg-about-copy > p { color: var(--muted); }
.seg-about-copy strong { color: var(--ink); }
.seg-bullets { margin: -4px 0 18px; padding-left: 20px; color: var(--muted); }
.seg-bullets li { margin-bottom: 6px; }
.seg-bullets li::marker { color: var(--royal); }
.seg-about-copy .check-list { margin-top: 18px; }
.seg-about-copy .check-list li { color: var(--ink); }
.seg-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.seg-box { padding: 18px 18px 16px; border: 1px solid #e4eaf3; border-radius: 18px; background: #f8fafd; }
.seg-box svg, .seg-safety svg { width: 26px; height: 26px; fill: none; stroke: var(--royal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg-box h3 { margin: 10px 0 4px; color: var(--navy); font-size: 15px; letter-spacing: -.01em; }
.seg-box p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
/* Etapas — metodologia / rotina: cards com a miniatura redonda do site atual, no azul da campanha. */
.seg-cards { color: white; background: linear-gradient(115deg, #0c356a 0%, #0157cc 72%, #0b3d83 100%); }
.seg-cards .section-heading h2 { color: white; }
.seg-cards .section-heading h2 em { color: var(--cyan); }
.seg-cards .section-heading > p { color: #d8eaff; }
.seg-card-grid { display: grid; grid-template-columns: repeat(var(--cards), minmax(0, 1fr)); gap: 16px; }
.seg-card { padding: 26px 22px 24px; color: var(--ink); border-radius: 22px; background: white; box-shadow: 0 18px 40px rgba(2,18,49,.18); }
.seg-card img { width: 62px; height: 62px; border-radius: 50%; }
.seg-card h3 { margin: 16px 0 6px; color: var(--navy); font-size: 17px; letter-spacing: -.02em; }
.seg-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.seg-cards-cta { display: flex; justify-content: center; margin-top: 36px; }
.seg-cards-cta .button-whatsapp { color: var(--royal); background: white; }
.seg-cards-cta .button-whatsapp:hover { color: var(--navy); background: #e8f3ff; }
/* Etapas — estrutura: as 4 fotos reais em mosaico (no celular, carrossel). */
.seg-structure { background: var(--paper); }
.seg-structure-heading { max-width: 860px; margin-bottom: 40px; text-align: center; }
.seg-structure-heading h2 { margin: 14px 0 0; }
.seg-structure-heading h2 em { color: var(--royal); }
.mosaic-slider .slider-track { display: grid; grid-template-columns: 860fr 632fr 860fr; grid-auto-rows: clamp(200px, 23vw, 290px); gap: 16px; overflow: visible; }
.mosaic-slider .slide:nth-child(1) { grid-column: 1; }
.mosaic-slider .slide:nth-child(2) { grid-column: 2 / 4; }
.mosaic-slider .slide:nth-child(3) { grid-column: 1 / 3; }
.mosaic-slider .slide:nth-child(4) { grid-column: 3; }
.mosaic-photo { width: 100%; height: 100%; margin: 0; overflow: hidden; border-radius: 20px; background: #e2e8f1; box-shadow: 0 14px 32px rgba(12,53,106,.1); }
.mosaic-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mosaic-photo:hover img { transform: scale(1.03); }
.seg-structure-text { max-width: 780px; margin-top: 18px; text-align: center; }
.seg-structure-text p { margin-bottom: 10px; color: var(--muted); font-size: 17px; }
.seg-safety { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.seg-safety article { padding: 22px 20px 20px; border: 1px solid #e4eaf3; border-radius: 18px; background: white; }
.seg-safety h3 { margin: 12px 0 4px; color: var(--navy); font-size: 16px; letter-spacing: -.01em; }
.seg-safety p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 1100px) {
  .seg-card-grid { grid-template-columns: repeat(min(var(--cards), 3), minmax(0, 1fr)); }
  .seg-safety { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .seg-about-grid { grid-template-columns: 1fr; }
  .seg-about-photo { max-width: 380px; }
  .seg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .seg-boxes, .seg-safety { grid-template-columns: 1fr; }
  .seg-about-photo { max-width: 300px; }
  .seg-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .seg-card { display: grid; grid-template-columns: 56px 1fr; align-items: start; gap: 14px; padding: 18px; }
  .seg-card img { width: 56px; height: 56px; }
  .seg-card h3 { margin-top: 2px; }
  .seg-structure-heading { margin-bottom: 26px; text-align: left; }
  .seg-structure-text { text-align: left; }
  .seg-structure-text p { font-size: 15px; }
  .mosaic-slider .slider-track { display: flex; overflow-x: auto; }
  .mosaic-slider .slide { grid-column: auto; }
  .mosaic-photo { height: auto; aspect-ratio: 4 / 3; }
}
.page-intro { padding-bottom: 72px; background: var(--paper); }
.page-intro h1 { margin: 17px 0; font-size: clamp(45px, 6vw, 70px); }
.page-intro p { max-width: 630px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.contact-section { padding-block: 0 110px; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: .72fr 1fr; align-items: start; gap: 28px; }
.contact-info { display: grid; gap: 18px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.contact-card-blue { color: white; border-color: transparent; background: var(--royal); }
.contact-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 25px; color: var(--navy); border-radius: 50%; background: var(--lime); font-size: 20px; font-weight: 900; }
.contact-icon .whatsapp-icon, .contact-icon .pin-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h2 { margin: 13px 0 8px; font-size: 26px; }
.contact-card p { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.contact-card-blue p { color: #d9eaff; }
.contact-card > a { display: inline-flex; gap: 10px; color: var(--royal); font-size: 13px; font-weight: 800; }
.contact-card-blue > a { color: var(--lime); }
.contact-form { padding: 36px; border: 1px solid #e5ebf4; border-radius: 24px; background: white; box-shadow: 0 12px 42px rgba(12,53,106,.06); }
.form-heading h2 { max-width: 470px; margin: 12px 0 10px; font-size: 32px; }
.form-heading p { margin-bottom: 25px; color: var(--muted); font-size: 14px; }
/* Nome do campo e "(opcional)" na mesma linha; o campo ocupa a linha de baixo inteira. */
.contact-form label { display: grid; grid-template-columns: auto 1fr; gap: 8px 5px; margin-bottom: 17px; color: var(--ink); font-size: 13px; font-weight: 750; }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { grid-column: 1 / -1; }
.contact-form label span { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 49px; padding: 12px 14px; color: var(--ink); border: 1px solid #d9e1ed; border-radius: 10px; background: #fbfcfe; outline: none; }
.contact-form textarea { min-height: 104px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--royal); box-shadow: 0 0 0 3px rgba(1,87,204,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: 11px; }
.blog-hero { min-height: 470px; display: flex; align-items: center; }
.blog-hero-inner { position: relative; z-index: 1; padding-block: 60px; }
.blog-hero h1 { margin-top: 18px; color: white; }
.blog-hero h1 em { color: var(--lime); }
.blog-hero p { max-width: 520px; color: #dbeaff; font-size: 17px; }
.blog-empty { background: var(--paper); }
.blog-empty-card { max-width: 880px; padding: 65px 70px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); text-align: center; }
.empty-mark { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 22px; color: var(--navy); border-radius: 50%; background: var(--lime); font-size: 15px; font-weight: 900; }
.blog-empty-card h2 { margin: 15px 0; }
.blog-empty-card p { max-width: 570px; margin: 0 auto 25px; color: var(--muted); }
.blog-empty-card .hero-actions { justify-content: center; }
.lp-hero { min-height: 630px; }
.lp-path { background: var(--paper); }
.lp-contact { padding-block: 100px; }
.lp-contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 70px; }
.lp-contact h2 { margin: 15px 0; color: white; }
.lp-contact h2 em { color: var(--lime); }
.lp-contact .form-heading h2 { margin: 12px 0 10px; color: var(--ink); }
.lp-contact-grid > div:first-child > p { max-width: 460px; color: #d7eaff; }
.lp-proof { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.lp-proof span { padding: 8px 11px; color: #eaf5ff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; font-size: 11px; font-weight: 750; }
/* Rodapé: degradê e linhas da campanha (as mesmas dos cards das etapas) no alto à direita. Em telas largas entra também a lateral esquerda, na margem livre. */
.site-footer { position: relative; overflow: hidden; color: white; background-color: #0a2168; background-image: radial-gradient(ellipse 60% 90% at 100% 0%, rgba(40,128,246,.55), transparent 70%), linear-gradient(105deg, #0a2168 0%, #0b2c80 50%, #0446b4 100%); }
.footer-lines { position: absolute; inset: 0; background: url("../img/rodape-linhas-direita.webp") right top / auto 100% no-repeat; pointer-events: none; }
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
/* Quando a margem da página é estreita, as colunas cedem espaço à direita para as linhas da campanha. */
.footer-grid { padding-right: clamp(0px, calc(560px - 43.5vw), 200px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 70px; padding-block: 70px 52px; }
.brand-footer img { width: 150px; height: auto; }
.footer-brand p { max-width: 330px; margin: 18px 0 0; color: #c6dbf2; font-size: 14px; }
.footer-grid h2 { margin-bottom: 17px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) p { color: #c6dbf2; font-size: 13px; }
.footer-grid > div:not(:first-child) a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 4px 28px; padding-block: 17px; color: #aac4e1; border-top: 1px solid rgba(255,255,255,.18); font-size: 11px; }
@media (min-width: 1700px) {
  .footer-lines { background: url("../img/rodape-linhas-esquerda.webp") left bottom / auto 100% no-repeat, url("../img/rodape-linhas-direita.webp") right top / auto 100% no-repeat; }
}
/* Botão flutuante do chat (Newar). Sem o widget carregado, o link segue para o WhatsApp. No celular vira uma barra fixa no pé da tela. */
.chat-float { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px; padding: 7px; color: white; border-radius: 18px; background: #071d3f; box-shadow: 0 18px 40px rgba(3,14,40,.32); transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.chat-float:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(3,14,40,.38); }
.chat-float:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.chat-float.is-hidden { opacity: 0; transform: translateY(14px); pointer-events: none; }
.chat-float-label { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border-radius: 12px; background: linear-gradient(180deg, #2f7dff 0%, #0157cc 100%); font-size: 15px; font-weight: 750; white-space: nowrap; }
.chat-float:hover .chat-float-label { background: linear-gradient(180deg, #4a8eff 0%, #0a63de 100%); }
.chat-float-icon { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; color: var(--royal); border-radius: 50%; background: white; }
.chat-float-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.chat-float-icon svg circle { fill: currentColor; stroke: none; }

@media (max-width: 980px) {
  .header-inner { gap: 18px; }
  .main-nav ul { gap: 17px; }
  .main-nav a { font-size: 12px; }
  .header-cta { padding-inline: 13px; font-size: 11px; }
  .home-hero-grid { padding-block: 70px 92px; }
  .hero-copy { max-width: 520px; }
  .home-intro-grid { gap: 38px; }
  .home-intro-photo { height: 420px; }
  .slider { --per-view: 2; }
  .segment-hero-grid { gap: 32px; }
  .segment-hero-copy { padding-bottom: 48px; }
  /* Logo e frase em cima, colunas embaixo: as linhas da direita passam ao lado, sem tocar no texto. */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-right: 0; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 36px, 560px); }
  .header-inner { height: 72px; justify-content: space-between; }
  .brand img { width: 124px; }
  .nav-toggle { width: 42px; height: 42px; display: grid; align-content: center; justify-items: center; gap: 5px; padding: 0; border: 1px solid #dce5ef; border-radius: 12px; background: white; cursor: pointer; }
  .nav-toggle span { width: 18px; height: 2px; display: block; background: var(--navy); }
  .main-nav { position: absolute; top: 71px; right: 0; left: 0; display: none; margin: 0; padding: 8px 18px 20px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 16px 20px rgba(12,53,106,.08); }
  .main-nav.is-open { display: block; }
  .main-nav ul { display: grid; gap: 2px; }
  .main-nav a { display: block; padding: 12px 4px; font-size: 15px; }
  .main-nav a[aria-current="page"]::after { right: auto; width: 32px; bottom: 7px; }
  .header-cta { display: none; }
  .section-pad { padding-block: 76px; }
  h1 { font-size: clamp(40px, 12vw, 60px); }
  h2 { font-size: clamp(33px, 9vw, 45px); }
  .home-hero { min-height: auto; display: block; }
  .home-hero-grid { padding-block: 48px 0; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-intro-photo { height: 330px; }
  .home-intro-copy h2 { font-size: 38px; }
  .campus-heading { display: block; margin-bottom: 28px; }
  .campus-heading > p { width: 100%; margin-top: 14px; }
  .slider { --per-view: 1.12; --gap: 14px; }
  .testimonial-card { padding: 26px 22px 22px; }
  .testimonial-quote.is-short p { font-size: 19px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { margin-top: 17px; margin-bottom: 16px; font-size: clamp(43px, 11vw, 56px); }
  .hero-copy > p { max-width: 520px; font-size: 15px; }
  .hero-visual { position: relative; top: auto; right: auto; bottom: auto; width: 100vw; height: 380px; margin: 12px 0 0; margin-left: calc((100% - 100vw) / 2); }
  .hero-visual::before { display: none; }
  .hero-visual img { object-position: center 18%; }
  .campaign-hero-grid { padding-top: 48px; }
  .campaign-hero-copy > p { font-size: 15px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { width: 100%; margin-top: 16px; }
  .modality-grid { grid-template-columns: 1fr; gap: 17px; }
  .modality-copy { padding: 21px; }
  .modality-copy p { min-height: 0; }
  .cta-band-inner { min-height: auto; display: grid; justify-items: start; gap: 24px; padding-block: 65px; }
  .cta-band h2 { font-size: 37px; }
  .cta-band p { font-size: 14px; }
  .segment-hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 44px; }
  .segment-hero-copy { padding-block: 0 10px; }
  .segment-hero-visual { margin-top: calc(18% + 14px); border-radius: 22px 22px 0 0; }
  .segment-hero-copy h1 { font-size: 48px; }
  .segment-hero-copy p { font-size: 15px; }
  .contact-section { padding-bottom: 76px; }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-card { padding: 23px; }
  .contact-form { padding: 24px 20px; }
  .form-heading h2 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .blog-hero { min-height: auto; }
  .blog-hero-inner { padding-block: 58px 150px; }
  .blog-hero h1 { font-size: 40px; }
  .blog-hero p { font-size: 14px; }
  .blog-empty-card { padding: 44px 22px; }
  .blog-empty-card .hero-actions { display: grid; }
  .lp-contact { padding-block: 72px; }
  .lp-contact::after { display: none; }
  .lp-contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .lp-proof { gap: 7px; }
  .lp-proof span { font-size: 10px; }
  .footer-grid { padding-block: 55px 35px; }
  /* Só as laçadas do alto, menores, no canto ao lado do logo. */
  .footer-lines { background-position: right -100px top; background-size: auto 340px; }
  .footer-grid h2 { font-size: 12px; }
  .footer-grid > div:not(:first-child) a, .footer-grid > div:not(:first-child) p { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 4px; padding-block: 15px; }
  .chat-float { right: 12px; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .chat-float-label { flex: 1; }
  .chat-float.is-hero-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
  /* A barra fixa cobre o pé da tela: o rodapé ganha espaço para o último texto não ficar embaixo dela. */
  .site-footer { padding-bottom: 84px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 28px); }
  .hero-copy h1, .segment-hero-copy h1 { font-size: 42px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { height: 350px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 480px) {
  .button-extra { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}