@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --noite: #0b1e2b;
  --noite-2: #10293a;
  --noite-3: #173548;
  --mar: #1d6f99;
  --ceu: #e9f3f8;
  --papel: #ffffff;
  --tinta: #0b1e2b;
  --tinta-suave: #4a6272;
  --claro-suave: #a9c2d1;
  --linha: #d5e3eb;
  --linha-escura: rgb(255 255 255 / .14);
  --vela: #ffc531;
  --vela-forte: #f5b400;
  --zap: #13793d;
  --erro: #c8321f;
  --ok: #138548;
  --titulo: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --texto: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --largura: 1200px;
  --margem: clamp(16px, 5vw, 56px);
  --raio: 22px;
  --secao: clamp(72px, 10vw, 136px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--texto);
  color: var(--tinta);
  background: var(--papel);
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--titulo);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }

a { color: inherit; text-underline-offset: 3px; }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--vela); color: var(--tinta); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.defs { position: absolute; }
.f-vela { fill: var(--vela); }

/* Botões */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 24px;
  font: 600 1rem/1.2 var(--texto);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.button-vela { background: var(--vela); color: var(--tinta); }
.button-vela:hover { background: var(--vela-forte); }
.button-whats { background: var(--zap); color: #fff; }
.button-whats:hover { background: #0f6632; }
.button-linha { border-color: currentColor; background: transparent; }
.button-linha:hover { background: rgb(255 255 255 / .08); }
.button[disabled] { opacity: .6; cursor: progress; }

/* Topo */

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--margem);
  background: var(--noite);
  color: #fff;
  border-bottom: 1px solid var(--linha-escura);
}

.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo svg { width: 44px; height: 26px; color: currentColor; flex: none; }
.logo span { font: 800 1.3rem/1 var(--titulo); letter-spacing: -0.02em; }
.logo small { display: block; font: 500 .74rem/1.4 var(--texto); letter-spacing: 0; opacity: .75; }

.top-nav { display: flex; gap: clamp(12px, 2vw, 28px); }
.top-nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.top-nav a:hover { opacity: 1; text-decoration: underline; }
.top-cta { min-height: 42px; padding: 9px 18px; font-size: .95rem; }

/* Banner: a arte já vem pronta para cabeçalho (3:1). Ocupa a largura toda
   e não é recortada, porque o texto vai até as bordas. */

.banner { background: var(--noite); line-height: 0; }
.banner a { display: block; }
.banner img { width: 100%; height: auto; max-width: 2172px; margin: 0 auto; }
.banner a:focus-visible { outline-offset: -4px; }

/* Abertura */

.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 6vw, 88px) var(--lateral) clamp(56px, 7vw, 100px);
  background: var(--noite); color: #fff;
}
.hero-place { color: var(--vela); font-weight: 600; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  font-weight: 800; line-height: .98; letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: #d6e5ee; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 36px; }
.proof {
  list-style: none; margin: 0; padding: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  border-top: 1px solid var(--linha-escura); color: var(--claro-suave);
}
.proof strong { color: #fff; font: 700 1.15rem var(--titulo); margin-right: 4px; }

.hero-photo { margin: 0; justify-self: end; width: 100%; max-width: 460px; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover; object-position: 50% 60%;
  border-radius: var(--raio);
  box-shadow: 0 30px 80px rgb(0 0 0 / .45);
}
.hero-photo figcaption { margin-top: 12px; font-size: .88rem; color: var(--claro-suave); }

/* Números */

.facts-band { background: var(--noite-2); color: #fff; padding: 0 var(--margem); }
.facts-band dl {
  max-width: var(--largura); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.facts-band div { padding: 28px 20px 28px 0; border-right: 1px solid var(--linha-escura); }
.facts-band div:last-child { border-right: 0; }
.facts-band div + div { padding-left: 24px; }
.facts-band dt { font: 800 clamp(1.7rem, 3vw, 2.5rem)/1 var(--titulo); letter-spacing: -0.02em; color: var(--vela); }
.facts-band dd { margin: 6px 0 0; color: var(--claro-suave); }

/* Seções */

#conteudo > section:not(.hero):not(.facts-band):not(.banner) { padding: var(--secao) var(--lateral, var(--margem)); }

/* As seções em duas colunas usam a mesma largura útil das outras, para todo
   título começar na mesma linha vertical. */
.hero, .tandem, .instructor, .place, .faq, .contact {
  --lateral: max(var(--margem), calc((100% - var(--largura)) / 2));
}
.section-head { max-width: var(--largura); margin: 0 auto 56px; }
.section-head h2 { max-width: 16ch; margin-bottom: 18px; }
.section-head p { max-width: 40rem; font-size: 1.15rem; color: var(--tinta-suave); }

/* Curso */

.steps { list-style: none; margin: 0 auto; padding: 0; max-width: var(--largura); counter-reset: etapa; display: grid; gap: clamp(48px, 7vw, 96px); }
.step {
  counter-increment: etapa;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.step img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--raio);
}
.step:nth-child(even) img { order: 2; }
.step-text { max-width: 30rem; }
.step-text::before {
  content: counter(etapa, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font: 800 1rem/1 var(--titulo); color: var(--mar);
}
.step-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.step-text p { color: var(--tinta-suave); font-size: 1.1rem; }
.course-cta { max-width: var(--largura); margin: 64px auto 0; }

/* Voo duplo */

.tandem {
  background: var(--noite-2); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.tandem-photo { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 30%; border-radius: var(--raio); }
.tandem-card h2 { margin-bottom: 18px; }
.tandem-card p { font-size: 1.12rem; color: var(--claro-suave); }
.tandem-card p:first-of-type { color: #e3eef4; }
.tandem-card .button { margin-top: 12px; }

/* Instrutor */

.instructor {
  background: var(--ceu);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.instructor-photo { margin: 0; width: 100%; max-width: 440px; }
.instructor-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--raio); }
.instructor-text h2 { margin-bottom: 28px; }
.instructor-text blockquote {
  margin: 0 0 24px; padding: 0 0 0 22px; border-left: 4px solid var(--vela);
  font: 600 clamp(1.2rem, 2vw, 1.5rem)/1.35 var(--titulo); letter-spacing: -0.01em;
}
.instructor-text blockquote p { margin: 0; }
.instructor-text > p { color: var(--tinta-suave); font-size: 1.08rem; max-width: 38rem; }
.credentials {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.credentials li { border-top: 2px solid var(--tinta); padding-top: 14px; }
.credentials strong { display: block; font: 800 1.6rem/1 var(--titulo); letter-spacing: -0.02em; margin-bottom: 6px; }
.credentials span { color: var(--tinta-suave); font-size: .95rem; line-height: 1.4; display: block; }

/* Segurança */

.safety { background: var(--noite); color: #fff; }
.safety .section-head p { color: var(--claro-suave); }
.safety-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--largura);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--linha-escura);
}
.safety-list li { padding: 28px 24px 0 0; }
.safety-list li + li { padding-left: 24px; border-left: 1px solid var(--linha-escura); }
.safety-list h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--vela); }
.safety-list p { color: var(--claro-suave); margin: 0; }

/* Onde voamos */

.place {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
}
.place-text h2 { margin-bottom: 20px; }
.place-text > p { color: var(--tinta-suave); font-size: 1.12rem; }
.place-facts { margin: 28px 0 32px; display: grid; }
.place-facts div { padding: 16px 0; border-top: 1px solid var(--linha); display: grid; grid-template-columns: 11rem 1fr; gap: 16px; }
.place-facts div:last-child { border-bottom: 1px solid var(--linha); }
.place-facts dt { color: var(--tinta-suave); }
.place-facts dd { margin: 0; font-weight: 600; }
.place-facts address { font-style: normal; }
.place .button-linha { color: var(--tinta); }
.place .button-linha:hover { background: var(--ceu); }
.place-photo { margin: 0; width: 100%; max-width: 480px; justify-self: end; }
.place-photo img { width: 100%; border-radius: var(--raio); }

/* Galeria */

.gallery { background: var(--ceu); }
.gallery-grid {
  max-width: var(--largura); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.gallery-grid .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery-grid img:first-child { object-position: 50% 100%; }
.gallery-grid img:last-child { grid-column: span 3; object-position: 50% 62%; }
.gallery-grid img:nth-child(2) { grid-row: span 2; }
.gallery-grid img:nth-child(3), .gallery-grid img:nth-child(4) { grid-row: span 2; }
.gallery-cta { max-width: var(--largura); margin: 40px auto 0; }
.gallery .button-linha { color: var(--tinta); }
.gallery .button-linha:hover { background: #fff; }

/* Dúvidas */

.faq {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  column-gap: clamp(32px, 6vw, 88px); align-content: start;
}
.faq h2 { grid-row: 1 / span 6; align-self: start; max-width: 10ch; }
.faq details { grid-column: 2; border-top: 1px solid var(--linha); }
.faq details:last-of-type { border-bottom: 1px solid var(--linha); }
.faq summary {
  cursor: pointer; padding: 22px 0; list-style: none;
  font: 600 1.22rem/1.3 var(--titulo); letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ceu); color: var(--mar); font-size: 1.3rem;
}
.faq details[open] summary::after { content: "−"; background: var(--vela); color: var(--tinta); }
.faq details p { color: var(--tinta-suave); max-width: 40rem; padding-bottom: 8px; }

/* Contato */

.contact {
  background: var(--noite); color: #fff;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact-intro h2 { margin-bottom: 18px; }
.contact-intro > p { color: var(--claro-suave); font-size: 1.12rem; }
.contact-whats {
  display: grid; gap: 2px; margin-top: 28px; padding: 18px 22px;
  border: 1px solid var(--linha-escura); border-radius: 16px; text-decoration: none;
}
.contact-whats span { color: var(--claro-suave); font-size: .95rem; }
.contact-whats strong { font: 700 1.5rem/1.2 var(--titulo); color: #fff; }
.contact-whats:hover { border-color: var(--zap); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px;
  background: var(--papel); color: var(--tinta);
  padding: clamp(22px, 3vw, 40px); border-radius: var(--raio);
}
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; color: inherit;
  padding: 13px 14px; border: 1.5px solid var(--linha); border-radius: 12px; background: #f8fbfd;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mar); box-shadow: 0 0 0 3px rgb(29 111 153 / .2); }
.field textarea { resize: vertical; min-height: 140px; }
.field [aria-invalid="true"] { border-color: var(--erro); }
.error { color: var(--erro); font-size: .92rem; margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-error { color: var(--erro); }
.form-status.is-ok { color: var(--ok); }
.sent { grid-column: 1 / -1; padding: 8px 0; }
.sent h3 { font-size: 1.7rem; margin-bottom: 8px; }

/* Rodapé */

.foot {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px;
  padding: 64px var(--margem) 40px;
  background: var(--noite-2); color: var(--claro-suave);
}
.foot-brand .logo { color: #fff; margin-bottom: 16px; }
.foot-brand p { max-width: 22rem; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col h2 { font: 600 1rem var(--texto); letter-spacing: 0; color: #fff; margin-bottom: 4px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-col p { margin: 0; }
.foot-small a { color: #fff; }
.foot-small { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid var(--linha-escura); font-size: .9rem; }

.sticky-cta { display: none; }

/* Aviso de cookies de estatística */

.consent {
  position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto; padding: 18px 20px;
  background: var(--papel); color: var(--tinta); border-radius: 18px;
  box-shadow: 0 20px 60px rgb(11 30 43 / .35);
  display: grid; gap: 14px;
}
.consent p { margin: 0; font-size: .98rem; }
.consent a { color: var(--mar); }
.consent div { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .button { min-height: 44px; padding: 10px 20px; }
.consent .button-linha { color: var(--tinta); }

/* Páginas simples: enviada, erro, 404 */

.page-simple { background: var(--noite); color: #fff; min-height: 100vh; }
.simple { max-width: 40rem; margin: 0 auto; padding: 14vh 24px; }
.simple h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin-bottom: 20px; }
.simple p { color: #d6e5ee; }
.simple a:not(.button) { color: var(--vela); }
.simple ul { padding-left: 1.2em; color: #d6e5ee; }
.simple .button { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 1020px) {
  .top-nav { display: none; }
  .safety-list { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .safety-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero, .instructor, .place, .contact { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq h2 { grid-row: auto; max-width: none; margin-bottom: 28px; }
  .faq details { grid-column: 1; }
  .hero-photo { max-width: 520px; justify-self: start; }
  .place-photo { justify-self: start; }
  .tandem { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 4.4; }
  .instructor-photo { max-width: 420px; justify-self: start; }
  .place-photo { max-width: none; }
  .facts-band dl { grid-template-columns: 1fr 1fr; }
  .facts-band div:nth-child(2) { border-right: 0; }
  .facts-band div:nth-child(3) { padding-left: 0; }
  .facts-band div:nth-child(-n+2) { border-bottom: 1px solid var(--linha-escura); }
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) img { order: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .gallery-grid img:nth-child(n) { grid-row: auto; grid-column: auto; }
  .gallery-grid img.g-wide, .gallery-grid img:nth-child(4) { grid-column: span 2; }
  .gallery-grid img.g-wide { grid-row: span 2; }
  .gallery-grid img:nth-child(4) { object-position: 50% 60%; }
}

@media (max-width: 640px) {
  .top-cta { display: none; }
  .credentials { grid-template-columns: 1fr; }
  .safety-list { grid-template-columns: 1fr; }
  .safety-list li, .safety-list li + li { padding: 24px 0 0; border-left: 0; }
  .place-facts div { grid-template-columns: 1fr; gap: 2px; }
  .contact-form { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; padding-bottom: 104px; }
  .consent { bottom: 86px; }
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--noite);
    border-top: 1px solid var(--linha-escura);
  }
  .sticky-cta .button { min-height: 46px; padding: 10px 12px; }
}

.privacy h2 { font-size: 1.5rem; margin: 32px 0 10px; }
