/* ============================================================
   VILA VELA — Escola de Vela · Vila Velha/ES
   Design & código: Litoral.WEB
   Identidade oficial (kit 22/09): Azul Marinho #0A3A67 · Laranja
   #F46A18 · Coral #FF686B · Amarelo #FFC247 · Areia #F7F2E9
   Tipografia oficial: Cinzel (principal) + Montserrat (apoio)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* cores — paleta oficial do kit + azuis de apoio harmonizados */
  --deep:  #062441;   /* fundo mais profundo (footer) */
  --navy:  #0A3A67;   /* Azul Marinho oficial — base da marca */
  --ocean: #0E4E82;   /* mar médio (apoio) */
  --blue:  #1565A0;   /* azul mar vibrante (apoio) */
  --azure: #F46A18;   /* Laranja Pôr do Sol — acento de energia */
  --foam:  #EFF5FB;   /* espuma — fundo claro azulado */
  --sail:  #FDFCF8;   /* branco vela */
  --sand:  #F7F2E9;   /* Areia oficial */
  --sun:   #FFC247;   /* Amarelo Sol oficial — CTA */
  --sun-deep: #F46A18;/* Laranja Pôr do Sol (hover/detalhes) */
  --coral: #FF686B;   /* Coral oficial — detalhes quentes */
  --ink:   #12395E;   /* texto sobre fundos claros (navy legível) */
  --mist:  #56718C;   /* texto secundário sobre claros */
  --line:  #E6E0D4;   /* bordas suaves (quente, casa com a areia) */
  --wa:    #25D366;   /* verde WhatsApp */
  --wa-ink:#06301A;   /* texto sobre verde WhatsApp */

  /* tipografia — Cinzel compõe em versalete largo: corpos menores que a serif anterior */
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-text: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2rem, 4.6vw + .9rem, 3.55rem);
  --fs-h2: clamp(1.55rem, 2.5vw + .8rem, 2.5rem);
  --fs-h3: clamp(1.1rem, .9vw + .95rem, 1.35rem);
  --fs-lead: clamp(1.05rem, .5vw + .95rem, 1.25rem);

  /* geometria */
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1160px;
  --header-h: 76px;
  --shadow-soft: 0 10px 34px rgba(8, 29, 51, .10);
  --shadow-lift: 0 22px 48px rgba(8, 29, 51, .16);
  --ease: cubic-bezier(.22, .61, .25, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sail);
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
ul[class], ol[class] { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}

h2 em, h1 em {
  /* Cinzel não tem itálico: o destaque vem só pela cor da marca */
  font-style: normal;
  font-weight: 700;
  color: var(--sun-deep);
}
.section--dark h2 em, .hero h1 em { color: var(--sun); }

::selection { background: var(--sun); color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--navy);
  color: var(--sail);
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 3. Utilitários ---------- */
.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 9vw, 7.25rem); }

.section--dark {
  background: linear-gradient(180deg, var(--navy) 0%, #0A2036 100%);
  color: var(--sail);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--sun);
}
.eyebrow--light { color: var(--azure); }

.section-lead {
  max-width: 56ch;
  margin-top: 1rem;
  font-size: var(--fs-lead);
  color: var(--mist);
}
.section--dark .section-lead { color: rgba(253, 252, 248, .78); }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sun {
  background: var(--sun);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(233, 180, 76, .35);
}
.btn--sun:hover { background: #F2C266; box-shadow: 0 14px 30px rgba(233, 180, 76, .45); }

.btn--ghost {
  border-color: rgba(253, 252, 248, .55);
  color: var(--sail);
  background: rgba(253, 252, 248, .06);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--sail); background: rgba(253, 252, 248, .14); }

.btn--navy {
  background: var(--navy);
  color: var(--sail);
  box-shadow: 0 10px 26px rgba(11, 37, 69, .28);
}
.btn--navy:hover { background: var(--ocean); }

.btn--wa {
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 8px 22px rgba(37, 211, 102, .32);
}
.btn--wa:hover { background: #3BE07A; }

.btn--sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-plain {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.link-plain:hover { color: var(--sun-deep); }

/* ---------- 5. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              backdrop-filter .35s var(--ease);
}
.header.is-scrolled {
  background: rgba(8, 27, 49, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(4, 14, 26, .35);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--sail); /* a logo herda via currentColor (header e footer são escuros) */
}
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo--lg { height: 54px; }

.nav { display: none; }

.header-actions { display: flex; align-items: center; gap: .8rem; }

.burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 12px;
}
.burger span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--sail);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* menu mobile */
.mnav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 2rem 1.5rem 3rem;
  background: linear-gradient(180deg, rgba(8, 27, 49, .98), rgba(11, 37, 69, .99));
  backdrop-filter: blur(10px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
body.nav-open .mnav {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
body.nav-open { overflow: hidden; }
body.nav-open .header { background: rgba(8, 27, 49, .98); }

.mnav nav { display: flex; flex-direction: column; }
.mnav nav a {
  padding: .9rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sail);
  border-bottom: 1px solid rgba(253, 252, 248, .12);
  transition: color .2s, padding-left .25s var(--ease);
}
.mnav nav a:hover { color: var(--sun); padding-left: .5rem; }
.mnav .btn { align-self: flex-start; }
.mnav-note {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--azure);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--sail);
  overflow: clip;
  padding-block: calc(var(--header-h) + 3rem) 7rem;
}

.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--navy); }

/* fallback animado — mar em CSS/SVG (fica sob o vídeo) */
.sea {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(115% 70% at 78% 6%, rgba(255, 194, 71, .32) 0%, rgba(255, 194, 71, 0) 46%),
    linear-gradient(180deg, #082742 0%, #0A3A67 34%, #12558C 62%, #1565A0 82%, #2E86BF 100%);
}
.sea-glow {
  position: absolute;
  top: 4%;
  right: 12%;
  width: clamp(140px, 22vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 190, .85) 0%, rgba(255, 194, 71, .38) 38%, rgba(244, 106, 24, 0) 70%);
  filter: blur(2px);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow {
  from { transform: scale(1); opacity: .85; }
  to   { transform: scale(1.12); opacity: 1; }
}

.sea-boat {
  position: absolute;
  bottom: 26%;
  left: -14%;
  width: clamp(60px, 8vw, 110px);
  opacity: .8;
  animation: sail-by 75s linear infinite;
}
@keyframes sail-by {
  0%   { transform: translateX(0) rotate(-2deg); }
  25%  { transform: translateX(32vw) rotate(2deg); }
  50%  { transform: translateX(64vw) rotate(-1.5deg); }
  75%  { transform: translateX(96vw) rotate(2deg); }
  100% { transform: translateX(128vw) rotate(-2deg); }
}

.sea-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: clamp(120px, 24vh, 240px);
}
.sea-wave--1 { animation: drift 26s linear infinite; }
.sea-wave--2 { height: clamp(150px, 30vh, 300px); animation: drift 40s linear infinite reverse; }
.sea-wave--3 { height: clamp(180px, 36vh, 360px); animation: drift 58s linear infinite; }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* o vídeo real — entra por cima do fallback quando carregar */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease .15s;
}
.hero-video.is-on { opacity: 1; }
.hero-video.is-dead { display: none; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 29, 51, .62) 0%, rgba(8, 29, 51, .28) 40%, rgba(8, 29, 51, .55) 82%, rgba(8, 29, 51, .72) 100%),
    linear-gradient(100deg, rgba(8, 29, 51, .55) 0%, rgba(8, 29, 51, .05) 60%);
}

.hero-content { position: relative; max-width: 780px; }

.hero-eyebrow {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(253, 252, 248, .85);
  margin-bottom: 1.4rem;
}
.hero-eyebrow span { color: var(--sun); margin-inline: .35rem; }

.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  text-shadow: 0 4px 30px rgba(4, 14, 26, .45);
  max-width: 15ch;
}

.hero-sub {
  margin-top: 1.4rem;
  max-width: 52ch;
  font-size: var(--fs-lead);
  color: rgba(253, 252, 248, .88);
  text-shadow: 0 2px 18px rgba(4, 14, 26, .5);
}

.hero-ctas {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.hero-chips {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 700;
  color: rgba(253, 252, 248, .92);
}
.hero-chips svg { width: 1.15em; height: 1.15em; color: var(--sun); }

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(3.2rem, 7vh, 4.6rem);
  translate: -50% 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(253, 252, 248, .45);
  color: var(--sail);
  animation: bob 2.6s ease-in-out infinite;
  z-index: 2;
}
.hero-cue svg { width: 20px; height: 20px; }
.hero-cue:hover { border-color: var(--sun); color: var(--sun); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(46px, 8vw, 110px);
  z-index: 1;
}

/* ---------- 7. Ondas divisórias ---------- */
.wave {
  background: var(--wave-bg, var(--sail));
  color: var(--wave-fill, var(--sand));
  line-height: 0;
  margin-bottom: -1px;
}
.wave svg { width: 100%; height: clamp(38px, 7vw, 96px); display: block; }

/* ---------- 8. Números ---------- */
.stats { background: var(--sail); padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.4rem, 5vw, 4rem); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.2rem;
  text-align: center;
}
.stat { display: flex; flex-direction: column-reverse; gap: .2rem; }
.stat dd { margin: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat dt {
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mist);
  max-width: 22ch;
  margin-inline: auto;
}

/* ---------- 9. Sobre ---------- */
.about { background: var(--sand); }

.about-grid { display: grid; gap: 3rem; align-items: center; }

.about-copy > p { margin-top: 1.1rem; max-width: 58ch; color: var(--mist); font-size: 1.05rem; }
.about-copy > p strong { color: var(--ink); }
.about-copy h2 { font-size: var(--fs-h2); }

.pillars { margin-top: 2.4rem; display: grid; gap: 1.5rem; }
.pillars li { display: flex; gap: 1.1rem; align-items: flex-start; }
.pillar-ico {
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--sail);
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}
.pillar-ico svg { width: 28px; height: 28px; }
.pillars h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.pillars p { color: var(--mist); font-size: .98rem; }

.about-art {
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}
.photo-frame {
  position: relative;
  width: min(430px, 100%);
  border-radius: var(--radius-lg);
  rotate: -1.5deg;
  box-shadow: var(--shadow-lift);
  transition: rotate .4s var(--ease), transform .4s var(--ease);
}
.photo-frame:hover { rotate: 0deg; transform: translateY(-4px); }
.photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: inherit;
  border: 6px solid var(--sail);
}
.compass-badge {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(8, 29, 51, .3);
  animation: compass-sway 14s ease-in-out infinite;
}
.compass-badge svg { width: 100%; height: 100%; }
@keyframes compass-sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(7deg); }
}
.about-coords {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 10. Cursos ---------- */
.courses h2 { font-size: var(--fs-h2); }

.course-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.4rem;
}

.course {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: clip;
  background: linear-gradient(165deg, rgba(253, 252, 248, .085), rgba(253, 252, 248, .035));
  border: 1px solid rgba(253, 252, 248, .14);
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), border-color .35s var(--ease),
              background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.course:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 180, 76, .55);
  box-shadow: 0 26px 50px rgba(4, 14, 26, .4);
}

.course-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.course-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.course:hover .course-photo img { transform: scale(1.06); }
.course-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 32, 54, 0) 55%, rgba(10, 32, 54, .55) 100%);
}

.course-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.5rem 1.6rem;
}

.course-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: -3.3rem;   /* ícone flutua sobre a foto */
  position: relative;
  z-index: 1;
}
.course-ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #123A60;
  color: var(--azure);
  border: 3px solid rgba(11, 37, 69, .92);
  box-shadow: 0 10px 24px rgba(4, 14, 26, .45);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.course-ico svg { width: 30px; height: 30px; }
.course:hover .course-ico { background: var(--sun); color: var(--navy); transform: rotate(-6deg) scale(1.05); }

.course-badge {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sun);
  border: 1px solid rgba(233, 180, 76, .45);
  border-radius: 999px;
  padding: .34rem .8rem;
  white-space: nowrap;
}

.course h3 { font-size: 1.5rem; }
.course h3 small { font-family: var(--font-text); font-size: .85rem; font-weight: 600; color: var(--azure); }

.course-who { color: rgba(253, 252, 248, .8); font-size: .98rem; }

.course-list { display: grid; gap: .5rem; margin-block: .3rem .4rem; }
.course-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .95rem;
  color: rgba(253, 252, 248, .88);
}
.course-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 15px;
  height: 10px;
  background: var(--sun);
  clip-path: polygon(0 55%, 12% 40%, 38% 62%, 88% 0, 100% 14%, 40% 100%);
}

.course-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .86rem;
  font-weight: 700;
  color: var(--azure);
  border-top: 1px solid rgba(253, 252, 248, .12);
  padding-top: .95rem;
  margin-top: auto;
}
.course-meta svg { width: 1.2em; height: 1.2em; flex: none; }

.course-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  color: var(--sun);
  width: fit-content;
}
.course-cta span { transition: transform .25s var(--ease); }
.course-cta:hover span { transform: translateX(5px); }
.course-cta:hover { color: #F2C266; }

/* ---------- 11. Como funciona ---------- */
.steps { background: var(--foam); }
.steps h2 { font-size: var(--fs-h2); }

.steps-track {
  margin-top: 3rem;
  display: grid;
  gap: 2.2rem;
  counter-reset: passo;
  position: relative;
}

.step {
  position: relative;
  padding-left: 4.6rem;
}
.step::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 3.4rem;
  bottom: -2.2rem;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--azure) 0 6px, transparent 6px 13px);
  opacity: .55;
}
.step:last-child::before { display: none; }

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sun);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(11, 37, 69, .25);
}

.step h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step p { color: var(--mist); font-size: .98rem; max-width: 46ch; }

.steps-cta {
  position: relative;
  overflow: clip;
  margin-top: 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.7rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow-lift);
}
.steps-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.steps-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(11, 37, 69, .93) 25%, rgba(11, 37, 69, .35) 100%);
}
.steps-cta > p, .steps-cta > .btn { position: relative; z-index: 2; }
.steps-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sail);
}

/* ---------- 12. Estrutura & frota (seção dark com foto de fundo) ---------- */
.fleet { background: var(--navy); }
.fleet h2 { font-size: var(--fs-h2); }

.fleet-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.2rem;
}

.fleet-item {
  padding: 1.7rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.fleet-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(63, 167, 214, .45);
}

.fleet-ico {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--foam);
  color: var(--blue);
  margin-bottom: 1.1rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.fleet-ico svg { width: 30px; height: 30px; }
.fleet-item:hover .fleet-ico { background: var(--navy); color: var(--sun); }

.fleet-item h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.fleet-item p { color: var(--mist); font-size: .96rem; }

/* variante com foto de fundo (seção dark) */
.fleet--photo { position: relative; overflow: clip; }
.fleet-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fleet--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 37, 69, .88) 0%, rgba(8, 29, 51, .94) 100%);
}
.fleet--photo .container { position: relative; z-index: 2; }
.fleet--photo .fleet-item {
  background: rgba(253, 252, 248, .07);
  border-color: rgba(253, 252, 248, .16);
  backdrop-filter: blur(8px);
}
.fleet--photo .fleet-item:hover {
  border-color: rgba(233, 180, 76, .5);
  box-shadow: 0 22px 48px rgba(4, 14, 26, .45);
}
.fleet--photo .fleet-item h3 { color: var(--sail); }
.fleet--photo .fleet-item p { color: rgba(253, 252, 248, .75); }
.fleet--photo .fleet-ico { background: rgba(63, 167, 214, .16); color: var(--azure); }
.fleet--photo .fleet-item:hover .fleet-ico { background: var(--sun); color: var(--navy); }

/* ---------- 13. Depoimentos ---------- */
.quotes { background: var(--sand); }
.quotes h2 { font-size: var(--fs-h2); }

.quote-grid { margin-top: 3rem; display: grid; gap: 1.4rem; }

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.7rem 1.7rem;
  border-radius: var(--radius-lg);
  background: var(--sail);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.quote::before {
  content: "“";
  position: absolute;
  top: -1.4rem;
  left: 1.3rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--sun);
}

.quote-stars svg { width: 108px; height: 20px; }

.quote blockquote p {
  font-size: 1.02rem;
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.55;
}

.quote figcaption { display: flex; flex-direction: column; gap: .1rem; margin-top: auto; }
.quote figcaption strong { font-weight: 800; color: var(--navy); }
.quote figcaption span { font-size: .86rem; color: var(--mist); }

/* ---------- 14. FAQ ---------- */
.faq { background: var(--sail); }
.faq-wrap { max-width: 820px; }
.faq h2 { font-size: var(--fs-h2); }

.faq-list { margin-top: 2.6rem; display: grid; gap: .8rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: clip;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item.open { border-color: rgba(63, 167, 214, .5); box-shadow: var(--shadow-soft); }
.faq-item h3 { font-family: var(--font-text); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.3rem;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy);
}
.faq-q svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--blue);
  transition: transform .35s var(--ease);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--sun-deep); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p {
  padding: 0 1.3rem 1.25rem;
  color: var(--mist);
  font-size: .98rem;
}

/* ---------- 15. Contato ---------- */
.contact h2 { font-size: var(--fs-h2); }

.contact-grid { margin-top: 2.8rem; display: grid; gap: 2rem; }

.wa-card {
  display: grid;
  gap: 1.1rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(37, 211, 102, .14), rgba(37, 211, 102, .05));
  border: 1px solid rgba(37, 211, 102, .35);
}
.wa-card-ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--wa);
  color: var(--wa-ink);
}
.wa-card-ico svg { width: 32px; height: 32px; }
.wa-card h3 { font-size: 1.25rem; }
.wa-card-phone {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sun);
  line-height: 1.1;
}
.wa-card-hint { font-size: .88rem; color: rgba(253, 252, 248, .7); }
.wa-card .btn { justify-self: start; }

.contact-info { margin-top: 1.8rem; display: grid; gap: 1rem; }
.contact-info li { display: flex; gap: .8rem; align-items: flex-start; color: rgba(253, 252, 248, .88); font-size: .97rem; }
.contact-info svg { flex: none; width: 22px; height: 22px; color: var(--azure); margin-top: .1rem; }
.contact-info em { font-style: normal; color: rgba(253, 252, 248, .55); }

.contact-form {
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--sail);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(4, 14, 26, .45);
  display: grid;
  gap: 1.1rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.contact-form h3 { font-size: 1.45rem; color: var(--navy); }
.form-hint { font-size: .92rem; color: var(--mist); margin-top: -.6rem; }

.field { display: grid; gap: .4rem; }
.field label { font-weight: 800; font-size: .9rem; color: var(--navy); }
.field label small { font-weight: 600; color: var(--mist); }

.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #9DAEBC; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sun);
  box-shadow: 0 0 0 4px rgba(233, 180, 76, .22);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2312507B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 20px;
  padding-right: 2.6rem;
}

.form-lgpd { font-size: .82rem; color: var(--mist); }
.form-lgpd .link-plain { font-size: inherit; }

/* ---------- 16. Footer ---------- */
.footer {
  background: var(--deep);
  color: rgba(253, 252, 248, .82);
  padding-top: clamp(3.4rem, 7vw, 5.5rem);
}

.footer-grid { display: grid; gap: 2.4rem; padding-bottom: 3rem; }

.footer-brand p { margin-top: 1.1rem; max-width: 34ch; font-size: .95rem; color: rgba(253, 252, 248, .6); }

.footer-nav { display: grid; gap: .55rem; align-content: start; }
.footer-nav h4 {
  font-family: var(--font-text);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: .5rem;
}
.footer-nav a { font-size: .95rem; color: rgba(253, 252, 248, .8); width: fit-content; transition: color .2s; }
.footer-nav a:hover { color: var(--sun); }
.footer-addr { font-size: .9rem; color: rgba(253, 252, 248, .55); }
.footer-addr em { font-style: normal; font-size: .82rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: center;
  text-align: center;
  padding-block: 1.4rem 1.8rem;
  border-top: 1px solid rgba(253, 252, 248, .1);
  font-size: .85rem;
  color: rgba(253, 252, 248, .55);
}
.footer-bottom-links { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom .link-plain { color: rgba(253, 252, 248, .7); }
.footer-bottom .link-plain:hover { color: var(--sun); }
.footer-credit { font-weight: 800; color: var(--azure); }
.footer-credit:hover { color: var(--sun); }

/* ---------- 17. Botão flutuante WhatsApp ---------- */
.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 80;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 30px rgba(6, 48, 26, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.86);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.fab.show {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.fab svg { width: 30px; height: 30px; }
.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa);
  animation: fab-pulse 2.4s ease-out infinite;
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- 18. Dialog privacidade ---------- */
.privacy {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(620px, calc(100% - 2rem));
  box-shadow: 0 40px 90px rgba(4, 14, 26, .5);
}
.privacy::backdrop { background: rgba(8, 29, 51, .68); backdrop-filter: blur(4px); }
.privacy-inner { padding: 2.2rem 1.8rem; display: grid; gap: 1rem; }
.privacy h2 { font-size: 1.6rem; color: var(--navy); }
.privacy p { font-size: .95rem; color: var(--mist); }
.privacy p strong { color: var(--ink); }
.privacy form { margin-top: .4rem; }

/* ---------- 19. Reveal on scroll ----------
   Gate de progressive enhancement: o estado oculto só existe quando o
   <html> tem a classe "js" (script inline no head). Sem JS, tudo visível. */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease) var(--d, 0s), transform .75s var(--ease) var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* Entrada do hero: animação CSS pura (roda com ou sem JS, termina sempre visível) */
.hero-anim {
  animation: hero-in .9s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 20. Breakpoints ---------- */
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  .nav {
    display: flex;
    gap: 1.7rem;
  }
  .nav a {
    position: relative;
    font-size: .95rem;
    font-weight: 700;
    color: rgba(253, 252, 248, .88);
    padding-block: .3rem;
    transition: color .2s;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--sun);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav a:hover { color: var(--sail); }
  .nav a:hover::after { transform: scaleX(1); }

  .burger, .mnav { display: none; }

  .about-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
  .contact-form { padding: 2.4rem 2.2rem; }

  .steps-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
  }
  .step { padding-left: 0; padding-top: 4.3rem; }
  .step::before {
    left: 3.9rem;
    right: -1.2rem;
    top: 1.55rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--azure) 0 6px, transparent 6px 13px);
  }
}

@media (min-width: 1160px) {
  .course-grid { gap: 1.7rem; }
  .course-body { padding: 1.7rem 2rem 1.9rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
}

@media (min-width: 640px) and (max-width: 1159px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 21. Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  html.js .reveal, .reveal { opacity: 1; transform: none; }
  .hero-anim { animation: none; }
  .sea-boat { display: none; }
  .hero-video { display: none; }
}
