/* ==========================================================================
   VAS Consultoria Migratória & Relocation — Folha de estilos
   Paleta extraída do documento de reformulação / logotipo:
   azul-marinho, azul institucional, azul-claro e cinza.
   ========================================================================== */

:root {
  /* Marca */
  --navy-950: #14315f;
  --navy-900: #1e4586;
  --navy-800: #2b5ba3;
  --blue-600: #3170c4;
  --blue-500: #4d89d8;
  --sky-300: #9fb8ea;
  --sky-200: #c6d5f6;
  --sky-100: #e4ecfb;
  --sky-50: #f3f7fd;
  --gray-700: #4a5363;
  --gray-500: #6b7585;
  --gray-300: #cfd6e1;
  --ink: #0d1b33;
  --white: #fff;
  --wa: #128c4a;
  --wa-dark: #0e7a40;

  --bg: #fff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(10, 42, 94, .06);
  --shadow: 0 14px 40px rgba(10, 42, 94, .10);
  --shadow-lg: 0 30px 70px rgba(20, 49, 95, .28);

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; overflow-anchor: none; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

main, .footer { overflow-x: clip; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.script { font-family: inherit; font-weight: inherit; letter-spacing: inherit; background: linear-gradient(100deg, #7fb1ff 0%, #bcd4ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: -.005em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(18, 140, 74, .38); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 10px 26px rgba(49, 112, 196, .35); }
.btn--primary:hover { background: var(--navy-800); }
.btn--light { background: #fff; color: var(--navy-900); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.btn--light:hover { background: var(--sky-100); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--outline { color: var(--navy-900); border: 1.5px solid var(--sky-300); background: #fff; }
.btn--outline:hover { border-color: var(--blue-600); background: var(--sky-50); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; white-space: normal; }
.btn .icon { width: 1.2em; height: 1.2em; }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header.is-scrolled, .header.is-open {
  background: rgba(20, 49, 95, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .18);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  position: relative; color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .93rem;
  padding: 10px 12px; border-radius: 10px; transition: color .2s, background-color .25s, box-shadow .25s;
}
.nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .09); }
.nav a:not(.btn)::after { /* barra luminosa embaixo do item da seção atual */
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #7fb1ff, #bcd4ff); box-shadow: 0 0 12px rgba(143, 190, 255, .9);
  transform: scaleX(0); transform-origin: 50% 50%; opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.nav a:not(.btn).is-current { color: #fff; font-weight: 600; }
.nav a:not(.btn).is-current::after { transform: scaleX(1); opacity: 1; animation: navglow 2.4s ease-in-out infinite; }
@keyframes navglow { 0%, 100% { box-shadow: 0 0 10px rgba(143, 190, 255, .7); } 50% { box-shadow: 0 0 18px rgba(188, 212, 255, 1); } }
.header__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.lang button {
  min-width: 38px; height: 32px; padding: 0 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .75);
  transition: background-color .2s, color .2s;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; color: #fff; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); }
.burger .icon { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.header.is-open .burger .i-menu { display: none; }
.header.is-open .burger .i-close { display: block; }

/* ---------- Hero / carrossel ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(77, 137, 216, .55), transparent 60%),
    radial-gradient(700px 500px at -5% 90%, rgba(49, 112, 196, .45), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  padding: calc(var(--header-h) + 56px) 0 110px;
}
.hero::before { /* malha sutil que remete a um globo / rotas */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    repeating-radial-gradient(circle at 78% 46%, transparent 0 62px, rgba(198, 213, 246, .07) 62px 63px),
    linear-gradient(90deg, rgba(198, 213, 246, .04) 1px, transparent 1px) 0 0 / 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 45%, #000 20%, transparent 72%);
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; z-index: 0; pointer-events: none; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1.16fr .84fr; gap: 48px; align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease, visibility 0s linear .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3);
  padding: 10px 20px; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5fa0ff; box-shadow: 0 0 0 4px rgba(95, 160, 255, .25); }
.slide h1, .slide h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; margin: 22px 0 20px; letter-spacing: -.03em; line-height: 1.08; text-wrap: pretty; }
.slide h1 .script { display: inline; line-height: inherit; margin: 0; white-space: nowrap; }
.slide__text { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 33em; }
.slide__ctas { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; margin-top: 32px; }
.slide__ctas .btn { padding: 0 24px; }
.cta-book { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.slide__note { font-size: .86rem; line-height: 1.35; color: var(--sky-200); display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; }
.slide__note .icon { color: #7fd1a0; width: 1.1em; height: 1.1em; }
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4.4;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .22); background: var(--navy-800);
}
.slide--portrait .frame { aspect-ratio: 960 / 1010; }
.slide--students .frame { aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.slide__media { position: relative; }
.slide__media::before { /* moldura deslocada */
  content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: var(--radius-lg);
  border: 1.5px solid rgba(198, 213, 246, .35); z-index: -1;
}

.hero__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 44px; }
.arrow {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35); color: #fff; transition: background-color .2s, border-color .2s, transform .2s;
}
.arrow:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.dots { display: flex; gap: 10px; align-items: center; }
.dot { width: 44px; height: 24px; display: grid; align-items: center; }
.dot span { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); overflow: hidden; position: relative; }
.dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.is-done span::after { transform: scaleX(1); }
.dot.is-active span::after { animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .dot.is-active span::after, .hero.is-static .dot.is-active span::after { animation-play-state: paused; }
.hero.is-static .dot.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }
.counter { display: none; }

/* ---------- Seções genéricas ---------- */
.section { padding: 104px 0; position: relative; }
.section--tint { background: var(--sky-50); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; position: relative; padding-left: 38px;
}
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section__head--center .kicker { padding-left: 0; }
.section__head--center .kicker::before { display: none; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
.lead { font-size: 1.15rem; margin-top: 18px; color: var(--gray-700); }
.h2 .script { font-size: 1em; }

/* ---------- Seções do corpo (espaçamento confortável e igual) ---------- */
.fit { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 10px) 0 14px; }
.fit > .container {
  --w: min(calc(100% / var(--z, 1)), calc(1200px / var(--z, 1)));
  width: var(--w); max-width: none; margin-inline: calc((100% - var(--w)) / 2);
  transform: scale(var(--z, 1)); transform-origin: 50% 0;
}
.fit .section__head { margin-bottom: 30px; }
#atuacao .section__head { max-width: 1000px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--blue-600); }

/* ---------- Sobre a VAS ---------- */
.about3 { display: grid; grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); gap: 22px 44px; align-items: start; }
.about3 p { font-size: 1.03rem; line-height: 1.62; }
.about3 .about-block > p + p { margin-top: 12px; }
.about3 .h2 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
.about__role { font-weight: 600; color: var(--blue-600); margin: 10px 0 14px; font-size: 1.05rem !important; }
.about__photo { position: relative; align-self: center; }
.about__photo::before { content: ""; position: absolute; inset: 20px -16px -16px 20px; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--sky-200), var(--sky-100)); z-index: 0; }
.about__photo .photo { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 900 / 1500; box-shadow: var(--shadow); background: #fff; }
.about__photo .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.about__sub { font-size: 1.2rem; margin-bottom: 16px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-600), var(--sky-200)); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-600); }
.timeline li:first-child::before { background: var(--blue-600); box-shadow: 0 0 0 5px var(--sky-200); }
.timeline strong { font-family: var(--font-display); color: var(--ink); font-size: 1.04rem; line-height: 1.3; display: block; }
.yr { font-family: var(--font-display); font-weight: 700; color: var(--blue-600); }
.timeline strong em { font-style: normal; font-weight: 700; color: var(--blue-600); margin-left: 6px; font-size: .78rem; background: var(--sky-100); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.timeline p { font-size: .98rem; line-height: 1.55; margin-top: 4px; }
.about-block--purpose {
  grid-column: 1 / -1; margin-top: 6px; color: #fff; border-radius: 24px; padding: 24px 36px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4px 40px; align-items: center;
}
.about-block--purpose .kicker { grid-column: 1; color: var(--sky-200); margin-bottom: 0; }
.purpose__t { grid-column: 1; color: #fff; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.about-block--purpose p { grid-column: 2; grid-row: 1 / span 2; color: rgba(255, 255, 255, .9); }
.about-block--traj { align-self: end; }
.about-tabs { display: none; }

/* ---------- Como atuo (abas) ---------- */
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.tablist { display: grid; gap: 10px; }
.tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px 20px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--sky-100); font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.25; font-size: .98rem;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.tab .ti { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; flex: none; transition: inherit; }
.tab:hover { border-color: var(--sky-300); transform: translateX(3px); }
.tab[aria-selected="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); box-shadow: var(--shadow); }
.tab[aria-selected="true"] .ti { background: rgba(255, 255, 255, .14); color: #fff; }
.panel { background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); animation: panelin .45s ease; }
.panel[hidden] { display: none; }
@keyframes panelin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: 1.6rem; margin-bottom: 8px; }
.panel__intro { margin-bottom: 8px; }
.items { display: grid; gap: 4px; margin-top: 18px; }
.item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--sky-100); }
.item:first-child { border-top: 0; }
.item .n { width: 44px; height: 44px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); display: grid; place-items: center; }
.item h4 { font-size: 1.08rem; margin-bottom: 4px; }
.item p { font-size: .98rem; }
.panel .btn { margin-top: 18px; }

/* ---------- Como funciona ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.step { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--sky-100); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff; background: linear-gradient(145deg, var(--blue-600), var(--navy-900)); box-shadow: 0 8px 18px rgba(49, 112, 196, .3); }
.step h3 { font-size: .98rem; margin-top: 4px; min-height: 2.5em; line-height: 1.25; overflow-wrap: normal; hyphens: manual; }
@media (min-width: 961px) { .step { padding: 26px 22px; gap: 10px; } .step h3 { font-size: .92rem; letter-spacing: -.01em; } }
.step p { font-size: .95rem; line-height: 1.55; }
.step__btn { margin-top: auto; align-self: flex-start; white-space: normal; text-align: left; line-height: 1.25; padding-block: 10px; }

/* ---------- Diferenciais ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 26px 28px; border: 1px solid var(--sky-100); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.why:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sky-300); }
.why .wi { width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.why .wi .icon { width: 26px; height: 26px; }
.why h3 { font-size: 1.08rem; margin: 2px 0 8px; min-height: 2.5em; display: flex; align-items: flex-start; line-height: 1.25; overflow-wrap: break-word; }
.why p { font-size: .97rem; }

/* ---------- Parceiros / back office ---------- */
.partners {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); gap: 48px; align-items: center; color: #fff; border-radius: 32px; padding: 56px 56px;
  background: radial-gradient(600px 380px at 100% 0%, rgba(77, 137, 216, .55), transparent 65%), linear-gradient(150deg, var(--navy-950), var(--navy-900) 65%, var(--navy-800));
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden; isolation: isolate;
}
.partners::after { content: ""; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -260px; border-radius: 50%; border: 1px solid rgba(198, 213, 246, .15); box-shadow: 0 0 0 70px rgba(198, 213, 246, .03); z-index: -1; }
.partners .kicker { color: var(--sky-200); margin-bottom: 18px; }
.partners .h2 { color: #fff; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.partners .lead { color: rgba(255, 255, 255, .8); margin-top: 20px; line-height: 1.6; }
.partners .btn { margin-top: 36px; }
/* Peças de quebra-cabeça (SVG) com os textos sobrepostos */
.puzzle { position: relative; margin: 0 auto 30px; max-width: 80%; container-type: inline-size; }
.puzzle svg { width: 100%; height: auto; display: block; overflow: visible; }
.pz-t {
  position: absolute; top: 47.6%; transform: translateY(-50%); width: 36%; text-align: center; color: #fff;
  font-family: var(--font-display); font-weight: 800; line-height: 1.2; font-size: clamp(.78rem, 3.7cqw, 1.12rem); text-shadow: 0 1px 6px rgba(0, 0, 0, .25);
}
.pz-t1 { left: 5.5%; }
.pz-t2 { left: 61.8%; width: 36%; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks li { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); border-radius: 14px; padding: 12px 16px; font-size: .95rem; line-height: 1.4; color: rgba(255, 255, 255, .92); }
.checks .icon { color: #7fb1ff; width: 1.2em; height: 1.2em; }

/* ---------- Lista de contatos (rodapé) ---------- */
.clist { display: grid; gap: 14px; }
.clist a { display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .92); transition: color .2s; width: fit-content; }
.clist a:hover { color: #fff; }
.clist .ci { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; flex: none; transition: background-color .2s; }
.clist a:hover .ci { background: rgba(255, 255, 255, .2); }
.clist small { display: block; font-size: .78rem; color: var(--sky-200); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; line-height: 1.2; }
.clist span { font-weight: 600; font-size: 1.02rem; word-break: break-word; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 72px 0 32px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer img { height: 52px; width: auto; margin-bottom: 20px; }
.footer__quote { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.12rem; line-height: 1.55; color: var(--sky-200); max-width: 28em; }
.footer__quote small { display: block; font-family: var(--font-body); font-size: .85rem; color: rgba(255, 255, 255, .55); margin-top: 8px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a:hover { color: #fff; }
.footer__tag { padding: 26px 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 4px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--sky-200); letter-spacing: .01em; line-height: 1.6; }
.footer__tag span, .footer__tag a { white-space: nowrap; }
.footer__tag a { padding: 2px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer__tag a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .6); }
.footer__tag i { font-style: normal; opacity: .45; margin: 0 .55em; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .5); }

/* ---------- Botões flutuantes (Agendar em cima, WhatsApp embaixo) ---------- */
.dock { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.dock.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.dock a { position: relative; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 26px rgba(20, 49, 95, .35); transition: transform .2s, background-color .2s; }
.dock a:hover { transform: scale(1.08); }
.dock .icon { width: 26px; height: 26px; }
.dock__wa { background: var(--wa); }
.dock__wa:hover { background: var(--wa-dark); }
.dock__wa .icon { width: 28px; height: 28px; }
.dock__wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; pointer-events: none; }
.dock__book { background: var(--blue-600); border: 1.5px solid rgba(255, 255, 255, .55); }
.dock__book:hover { background: var(--navy-800); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: 10px 8px; font-size: .88rem; }
  .tabs { grid-template-columns: 290px 1fr; }
  .partners { padding: 48px 40px; gap: 40px; }
  .about3 { grid-template-columns: minmax(0, 1fr) 240px minmax(0, 1fr); gap: 20px 28px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: inline-flex; margin-left: auto; }
  .header__inner { gap: 12px; }
  .brand img { height: 40px; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 24px 24px;
    background: rgba(20, 49, 95, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 24px 40px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s linear .25s;
  }
  .header.is-open .nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav a:not(.btn) { font-size: 1.05rem; padding: 14px 12px; }
  .nav .btn { margin-top: 10px; }
  .header__tools { margin-left: auto; }
  .hero { padding-bottom: 100px; }
  .slide { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .slide__media { order: -1; max-width: 560px; }
  .frame { aspect-ratio: 16 / 11; }
  .slide__media::before { inset: 14px -10px -10px 14px; }
  .about3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .about__photo { order: 0; width: 132px; margin: 0 auto; }
  .about__photo::before { display: none; }
  .about__photo .photo { aspect-ratio: 1 / 1; border-radius: 50%; }
  .about-tabs { order: 1; display: flex; gap: 6px; background: var(--sky-100); padding: 4px; border-radius: 999px; }
  .about-tabs button { flex: 1; min-height: 38px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--gray-700); transition: background-color .2s, color .2s; }
  .about-tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; }
  .about3 .about-block { order: 2; display: none; }
  .about3 .about-block.is-on { display: block; }
  .about-block--purpose.is-on { display: block; padding: 22px; }
  .about-block--traj { align-self: auto; }
  .about-block--purpose .kicker, .purpose__t, .about-block--purpose p { grid-column: auto; grid-row: auto; }
  .purpose__t { margin: 6px 0 10px; }
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 4px 20px 10px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(300px, 80%); scroll-snap-align: center; }
  .tabs { grid-template-columns: minmax(0, 1fr); }
  .tablist { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; margin-inline: -24px; padding-inline: 24px; scrollbar-width: none; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { width: auto; flex: none; min-width: 230px; }
  .tab:hover { transform: none; }
  .cards3 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: minmax(0, 1fr); padding: 44px 28px; border-radius: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .section { padding: 72px 0; }
  .fit { padding: calc(var(--header-h) + 8px) 0 12px; }
  .fit .section__head { margin-bottom: 14px; }
  .fit .h2 { font-size: 1.6rem; }
  .fit .lead { font-size: 1rem; line-height: 1.55; margin-top: 10px; }
  .section__head { margin-bottom: 40px; }
  .container { padding-inline: 20px; }
  .header__tools .lang button { min-width: 34px; padding: 0 8px; }
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 90px; }
  .slide h1, .slide h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .slide__ctas > .btn, .slide__ctas > .cta-book { flex: 1 1 100%; }
  .hero__controls { margin-top: 32px; gap: 12px; }
  .dot { width: 30px; }
  .counter { display: none; }
  .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .why { flex-direction: column; gap: 10px; padding: 14px 13px; }
  .why .wi { width: 38px; height: 38px; border-radius: 12px; }
  .why .wi .icon { width: 20px; height: 20px; }
  .why h3 { font-size: 1rem; margin-bottom: 4px; }
  .why p { font-size: .88rem; line-height: 1.42; }
  .partners { padding: 22px 18px; gap: 14px; }
  .partners .kicker, .partners .lead { display: none; }
  .partners .h2 { font-size: 1.45rem; }
  .partners .btn { margin-top: 14px; width: 100%; }
  .footer__tag { column-gap: 18px; }
  .footer__tag i { display: none; }
  .puzzle { margin-bottom: 14px; }
  .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .checks li { padding: 8px 10px; font-size: .86rem; gap: 7px; }
  .checks .icon { width: 1.1em; height: 1.1em; }
  .panel { padding: 26px 22px; }
  .item { grid-template-columns: 38px 1fr; gap: 12px; }
  .item .n { width: 38px; height: 38px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer__bottom { flex-direction: column; }
  /* Hero no celular: foto como fundo, texto por cima (economiza altura) */
  .hero { padding: 0; }
  .hero > .container { padding-inline: 0; }
  .hero__wave { display: none; }
  .slide {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0;
    min-height: 100vh; min-height: 100svh;
    padding: calc(var(--header-h) + 12px) 20px 40px;
  }
  .slide__media { position: absolute; inset: 0; order: 0; max-width: none; z-index: 0; }
  .slide__media::before { display: none; }
  .frame, .slide--portrait .frame { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; border: 0; box-shadow: none; }
  .frame img { object-position: 50% 0 !important; }
  /* Primeiro slide: menos zoom no rosto. Quinto: mapa (Brasil e Itália) na parte de cima */
  .slide--portrait .frame img, .slide--map .frame img, .slide--docs .frame img, .slide--office .frame img {
    height: 68%; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .slide--students .frame { aspect-ratio: 4 / 3; }
  .slide--map .frame img { height: auto; width: 100%; margin-top: calc(var(--header-h) + 18px); object-position: 50% 0 !important; }
  .slide--office .frame img { height: 62%; object-position: 24% 0 !important; }
  .slide--docs .frame img { height: 52%; margin-top: 56px; object-position: 52% 0 !important; }
  .frame::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(20, 49, 95, .7) 0%, rgba(20, 49, 95, 0) 22%),
      linear-gradient(to top, rgba(20, 49, 95, .97) 0%, rgba(20, 49, 95, .93) 40%, rgba(20, 49, 95, .55) 60%, rgba(20, 49, 95, 0) 80%);
  }
  .slide__copy { position: relative; z-index: 1; }
  .slide .eyebrow { display: inline-flex; font-size: .74rem; padding: 6px 13px; margin-bottom: 12px; letter-spacing: .06em; }
  .slide h1, .slide h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 6.7vw, 1.75rem); line-height: 1.15; min-height: 2.3em; text-wrap: balance; letter-spacing: -.02em; }
  .slide h1 .script { display: inline; margin: 0; }
  .slide__text { font-size: .92rem; line-height: 1.5; min-height: 4.5em; }
  .slide:not(.slide--portrait) .slide__ctas { margin-bottom: 28px; }
  .slide__ctas { margin-top: 20px; }
  .hero__controls { position: static; margin: 0; padding: 0; }
  .arrow { position: absolute; top: 28%; transform: translateY(-50%); width: 34px; height: 34px; z-index: 3; background: rgba(20, 49, 95, .16); border: 1px solid rgba(255, 255, 255, .28); opacity: .75; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  #prev { left: 6px; }
  #next { right: 6px; }
  .arrow:hover { transform: translateY(-50%); }
  .arrow .icon { width: 16px; height: 16px; }
  .dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3; gap: 4px; opacity: .8; }
  .dot { width: 22px; height: 18px; }
  .dot span { height: 2px; }
  .dock { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); gap: 10px; }
  .dock a { width: 46px; height: 46px; }
  .dock .icon, .dock__wa .icon { width: 23px; height: 23px; }
  /* Seções do corpo no celular: estrutura compacta; o ajuste final de escala é feito por JS */
  .about3 p { font-size: 1.03rem; line-height: 1.55; }
  .about__photo { width: 92px; }
  .about-block--vas .kicker { display: none; }
  .about3 .h2 { font-size: 1.5rem; }
  .about__role { font-size: 1rem; margin: 6px 0 10px; }
  .timeline p { font-size: .98rem; }
  .timeline strong { font-size: 1.05rem; }
  .about__sub { font-size: 1.1rem; margin-bottom: 12px; }
  .tab { min-width: 0; padding: 11px 15px; font-size: 1rem; gap: 10px; }
  .tab .ti { width: 32px; height: 32px; border-radius: 10px; }
  .tabs { gap: 12px; }
  .panel { padding: 14px 16px; border-radius: 20px; }
  .items { margin-top: 4px; }
  .item { padding: 9px 0; gap: 10px; grid-template-columns: 34px 1fr; }
  .item .n { width: 34px; height: 34px; }
  .item h4 { font-size: 1.06rem; }
  .item p { font-size: .98rem; line-height: 1.5; }
  .panel .btn { margin-top: 10px; min-height: 44px; width: 100%; }
  .step p { font-size: .92rem; }
  #atuacao .kicker { margin-bottom: 6px; }
  .tablist { padding-bottom: 2px; }
}
}

@media (max-width: 380px) {
  .brand img { height: 34px; }
  .header__tools .lang button { min-width: 30px; padding: 0 6px; }
}



.checks { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.checks li { min-height: 68px; height: 100%; }
@media (max-width: 720px) {
  .checks li { min-height: 52px; }
}
/* Setas das abas de Soluções (só no celular/tablet) */
.tablist-wrap { position: relative; min-width: 0; }
.tl-arrow { display: none; }
html { overflow-x: clip; }
@media (max-width: 960px) {
  .tl-arrow {
    display: grid; place-items: center; position: absolute; top: 50%; width: 32px; height: 32px; margin-top: -16px; z-index: 3; border-radius: 50%;
    background: #fff; color: var(--blue-600); border: 1px solid var(--sky-200); box-shadow: 0 6px 16px rgba(20, 49, 95, .22);
    opacity: 0; pointer-events: none; transition: opacity .2s;
  }
  .tl-arrow.is-on { opacity: 1; pointer-events: auto; }
  .tl-arrow .icon { width: 17px; height: 17px; }
  .tl-prev { left: -14px; }
  .tl-next { right: -14px; animation: nudge 1.6s ease-in-out 3; }
  @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

  /* Sobre a VAS no celular: rosto dela no alto; abas e texto na parte de baixo */
  .fit#sobre {
    background: #fff url("../assets/img/about.webp?v=20261127") center calc(var(--header-h) - 22px) / auto 52svh no-repeat;
    padding-top: 37svh; justify-content: flex-start;
  }
  .fit#sobre > .container { position: relative; z-index: 1; }
  .about__photo { display: none; }
  .about3 { gap: 10px; }
  .about-tabs { background: #fff; box-shadow: 0 8px 22px rgba(20, 49, 95, .16); }
  .about3 .about-block.is-on:not(.about-block--purpose) { background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: 0 10px 28px rgba(20, 49, 95, .12); }
  /* sem faixa azulada entre o fim do Sobre e o início do Atendimento */
  #como-funciona.section--tint { background: #fff; }
  /* Atendimento: setas nas laterais */
  .steps-wrap .tl-arrow { top: 42%; }
}
/* Parcerias (computador): card preenche a tela com margem em cima e embaixo */
@media (min-width: 961px) {
  .fit#parceiros { padding: calc(var(--header-h) + 36px) 0 44px; }
}
/* Botão de agendar no cabeçalho: mais compacto */
.nav .btn--wa { min-height: 40px; padding: 0 16px; font-size: .86rem; white-space: nowrap; }
/* Hero (computador/tablet): ocupa exatamente a altura da tela e se adapta ao monitor */
@media (min-width: 721px) {
  /* a foto nunca passa da altura disponível na tela (a escala --z já é compensada) */
  .hero .frame { --fh: calc((100svh - 250px) / var(--z, 1)); aspect-ratio: 5 / 4.4; width: min(100%, calc(var(--fh) * 1.136)); margin-inline: auto; }
  .hero .slide--portrait .frame { aspect-ratio: 960 / 1010; width: min(100%, calc(var(--fh) * .95)); }
  .hero .slide--students .frame { aspect-ratio: 4 / 3; width: min(100%, calc(var(--fh) * 1.333)); }
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 14px) 0 92px; }
  .hero > .container {
    --w: min(calc(100% / var(--z, 1)), calc(1200px / var(--z, 1)));
    width: var(--w); max-width: none; margin-inline: calc((100% - var(--w)) / 2);
    transform: scale(var(--z, 1)); transform-origin: 50% 0;
  }
}
@media (max-width: 960px) {  .nav a:not(.btn).is-current::after { left: 12px; right: auto; width: 46px; transform-origin: 0 50%; } }
/* No celular as seções do menu aparecem prontas (sem animação de entrada que "carrega" aos poucos) */
@media (max-width: 960px) {
  html { scroll-behavior: auto; }
  .js .fit .reveal { opacity: 1; transform: none; transition: none; }
}
/* Hero no computador: setas nas laterais, centralizadas na altura; só os pontos ficam embaixo */
@media (min-width: 961px) {
  .hero__controls { justify-content: center; margin-top: 36px; }
  .hero .arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; z-index: 5;
    background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .45);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s, opacity .2s;
  }
  .hero .arrow:hover { background: rgba(255, 255, 255, .24); border-color: #fff; transform: translateY(-50%); }
  .hero .arrow .icon { width: 24px; height: 24px; }
  #prev { left: 24px; }
  #next { right: 24px; }
  .hero > .container { padding-inline: 96px; }
}
@media (min-width: 961px) and (max-width: 1300px) {
  .hero .arrow { width: 44px; height: 44px; }
  #prev { left: 14px; }
  #next { right: 14px; }
  .hero > .container { padding-inline: 70px; }
}
/* Hero (computador): tudo alinhado entre os 5 slides (eyebrow, títulos, textos, botões e fotos) */
@media (min-width: 961px) {
  .hero .slide { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 84px; align-items: center; }
  .hero .eyebrow { white-space: nowrap; font-size: .66rem; letter-spacing: .08em; padding: 6px 14px; gap: 8px; margin-bottom: 0; }
  .hero .eyebrow::before { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(95, 160, 255, .25); }
  .hero .slide h1, .hero .slide h2 { min-height: 3.25em; margin: 20px 0 18px; }
  .hero .slide__text { min-height: 6.4em; line-height: 1.6; max-width: 30em; }
  .hero .slide__ctas { margin-top: 28px; }
  .hero .cta-book { position: relative; display: block; }
  .hero .slide__ctas { flex-wrap: nowrap; gap: 12px; }
  .hero .slide__ctas .btn { padding: 0 20px; font-size: .9rem; min-height: 50px; white-space: nowrap; }
  .hero .cta-book { flex: none; }
  .hero .slide__note { position: absolute; left: 0; top: 100%; margin-top: 10px; white-space: nowrap; }
  .hero .slide .frame, .hero .slide--portrait .frame, .hero .slide--students .frame { aspect-ratio: 1 / .92; width: 100%; height: auto; max-height: calc((100svh - 230px) / var(--z, 1)); margin-inline: 0; }
  .hero .slide .frame img { object-fit: cover; }
  /* o conteúdo começa alinhado com a logo e a foto termina no fim do seletor de idioma */
  .hero > .container { padding-inline: calc(24px / var(--z, 1)); }
  #prev { left: 14px; }
  #next { right: 14px; }
}
@media (min-width: 961px) and (max-width: 1300px) {
  .hero > .container { padding-inline: calc(72px / var(--z, 1)); }
  .hero .arrow { width: 44px; height: 44px; }
  #prev { left: 10px; }
  #next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
