/* Alto Mar Club — identidade: azul-marinho, areia, dourado.
   Tipografia: Cormorant Garamond (títulos) + Montserrat (texto). */

:root {
  --navy: #0B1A30;
  --navy-deep: #07111F;
  --navy-line: rgba(243, 238, 228, .14);
  --cream: #F3EEE4;
  --sand: #EAE3D5;
  --ink: #0C1B33;
  --ink-soft: #4A5568;
  --gold: #B8975E;
  --gold-soft: #D2B887;
  --line: rgba(12, 27, 51, .14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.rule { display: block; width: 56px; height: 1px; background: var(--gold); margin: 2rem 0; }
.prose { color: var(--ink-soft); font-size: 1.02rem; }
.prose .lead, .lead { font-size: 1.18rem; color: var(--ink); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(243, 238, 228, .5); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--navy); }
.btn-block { width: 100%; }

/* ===== Cabeçalho ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(7, 17, 31, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--navy-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 92px; transition: width .4s var(--ease); }
.scrolled .brand img { width: 74px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  color: var(--cream); text-decoration: none;
  font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  opacity: .85; transition: opacity .3s, color .3s;
}
.nav a:not(.btn):hover { opacity: 1; color: var(--gold-soft); }
.nav-cta { padding: .8rem 1.4rem; }
.menu-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--cream); background: var(--navy-deep); overflow: hidden;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 22s var(--ease) forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(7,17,31,.6) 0%, rgba(7,17,31,.15) 35%, rgba(7,17,31,.35) 65%, rgba(7,17,31,.92) 100%),
    linear-gradient(90deg, rgba(7,17,31,.65) 0%, rgba(7,17,31,0) 70%);
}
.hero-content { position: relative; padding-top: 120px; padding-bottom: 120px; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 300; max-width: 12ch; }
.hero h1 em { color: var(--gold-soft); }
.hero-lead { max-width: 520px; font-size: 1.1rem; margin: 2rem 0 2.6rem; color: rgba(243, 238, 228, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 28px;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(243, 238, 228, .7);
}

/* ===== Seções ===== */
.section { padding: clamp(80px, 12vw, 150px) 0; }
.section.slim { padding: clamp(64px, 9vw, 110px) 0; }
.section.light { background: var(--cream); }
.section.cream { background: var(--sand); }
.section.dark { background: var(--navy); color: var(--cream); }
.dark .prose, .dark p { color: rgba(243, 238, 228, .78); }
.dark h2, .dark h3 { color: var(--cream); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.section-head { margin-bottom: clamp(48px, 7vw, 80px); }
.section-head.split { align-items: end; }
.section-head h2 { max-width: 18ch; }

.signature { font-family: var(--serif); font-style: italic; font-size: 1.8rem; color: var(--ink); margin-top: 2.2rem; }
.signature small {
  display: block; font-family: var(--sans); font-style: normal; font-size: .66rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: .3rem;
}

/* Faixa de imagem */
.band { position: relative; height: clamp(380px, 70vh, 720px); overflow: hidden; background: var(--navy); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,17,31,.75), rgba(7,17,31,0) 55%); }
.band-quote { position: absolute; left: 0; right: 0; bottom: clamp(32px, 6vw, 72px); z-index: 1; margin: 0 auto; }
.band-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.5rem); color: var(--cream); max-width: 24ch; line-height: 1.2; }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { padding: 48px clamp(20px, 3vw, 48px) 56px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .num { display: block; font-size: .78rem; font-weight: 600; color: var(--gold); letter-spacing: .1em; margin-bottom: 1.6rem; }
.pillar h3 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); margin-bottom: 1.2rem; }
.pillar-tag { color: var(--gold) !important; font-weight: 500; margin-bottom: 1.4rem !important; }
.pillar p { color: var(--ink-soft); font-size: .98rem; }

/* Jornada */
.journey { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.journey-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.journey-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--navy-line); }
.steps li:first-child { border-top: 1px solid var(--navy-line); }
.step-n { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); line-height: 1.2; }
.steps h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.steps p { font-size: .95rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--navy-line); }
.facts div { padding: 32px 24px 0 0; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--gold-soft); line-height: 1.1; }
.facts span { font-size: .8rem; color: rgba(243, 238, 228, .65); letter-spacing: .04em; }

/* Princípios */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: var(--navy); color: var(--cream); padding: 40px 30px 44px; transition: transform .5s var(--ease); }
.value:hover { transform: translateY(-6px); }
.value span { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; }
.value h3 { font-size: 1.9rem; margin: 2.4rem 0 .8rem; color: var(--cream); }
.value p { color: rgba(243, 238, 228, .72); font-size: .92rem; }

/* Destino */
.destination { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-deep); color: var(--cream); }
.destination-media { position: relative; min-height: 560px; overflow: hidden; }
.destination-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.destination-body { padding: clamp(64px, 9vw, 130px) var(--gutter); max-width: 680px; }
.destination h2 { font-size: clamp(3rem, 6.5vw, 5.4rem); font-weight: 300; }
.destination .prose { color: rgba(243, 238, 228, .78); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2.8rem 0; padding: 2rem 0; border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--gold-soft); line-height: 1.1; }
.stats span { font-size: .76rem; color: rgba(243, 238, 228, .62); line-height: 1.5; display: block; margin-top: .4rem; }
.features { list-style: none; padding: 0; margin: 0; }
.features li { font-size: .95rem; color: rgba(243, 238, 228, .78); margin-bottom: 1rem; }
.features strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--cream); }

/* Calendário */
.calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cal-item { border: 1px solid var(--navy-line); padding: 30px 26px; display: flex; flex-direction: column; gap: .5rem; }
.cal-item.active { border-color: var(--gold); background: rgba(184, 151, 94, .08); }
.cal-date { font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.cal-item strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--cream); line-height: 1.15; }
.cal-item em { font-size: .82rem; color: rgba(243, 238, 228, .6); }

/* Kit */
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.kit-media { position: relative; padding-bottom: 14%; padding-right: 18%; }
.kit-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kit-detail { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; object-fit: cover; border: 8px solid var(--cream); box-shadow: 0 30px 60px -20px rgba(7,17,31,.35); }
.kit-list { list-style: none; padding: 0; margin: 2.4rem 0 0; }
.kit-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kit-list li:first-child { border-top: 1px solid var(--line); }
.kit-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.kit-list span { font-size: .9rem; color: var(--ink-soft); }

/* Horizonte */
.horizon { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; color: var(--cream); background: var(--navy); }
.horizon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.horizon-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,31,.85) 0%, rgba(7,17,31,.45) 55%, rgba(7,17,31,.1) 100%); }
.horizon-content { position: relative; padding-top: 100px; padding-bottom: 100px; }
.horizon h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 300; margin-bottom: 1.6rem; }
.horizon p:not(.eyebrow) { max-width: 460px; color: rgba(243, 238, 228, .85); font-size: 1.05rem; }

/* Processo */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.process li { padding: 0 28px 0 0; position: relative; }
.process li span { display: block; font-family: var(--serif); font-size: 3.2rem; color: var(--gold); line-height: 1; margin-bottom: 1.4rem; }
.process li::before { content: ""; position: absolute; top: 1.6rem; left: 72px; right: 20px; height: 1px; background: var(--line); }
.process li:last-child::before { display: none; }
.process h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.process p { color: var(--ink-soft); font-size: .94rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.4rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 40px 26px 0; margin: 0; }

/* Convite */
.invite { background: var(--navy-deep); }
.contact { list-style: none; padding: 0; margin: 2.6rem 0 0; }
.contact li { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--navy-line); color: var(--cream); font-size: .98rem; }
.contact span { width: 110px; flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); padding-top: .25rem; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--gold-soft); }

.form { background: var(--navy); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--navy-line); }
.field { display: flex; flex-direction: column; margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .55rem; }
.field label small { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(243, 238, 228, .5); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--cream);
  border: 0; border-bottom: 1px solid rgba(243, 238, 228, .28); border-radius: 0;
  padding: .7rem 0; font: inherit; font-size: 1rem; outline: none;
  transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 238, 228, .35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field.invalid input, .field.invalid select { border-color: #D98C7A; }
.form .btn { margin-top: 10px; }
.form-note { font-size: .78rem; color: rgba(243, 238, 228, .55) !important; text-align: center; margin: 1rem 0 0 !important; }
.form-note.error { color: #E7A595 !important; }

/* Rodapé */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: 90px 0 40px; border-top: 1px solid var(--navy-line); text-align: center; }
.footer-logo { width: 150px; margin: 0 auto 1.6rem; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.7rem; margin-bottom: 1.6rem; }
.footer-meta { font-size: .78rem; letter-spacing: .14em; display: flex; justify-content: center; gap: 12px; color: rgba(243, 238, 228, .75); }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--gold-soft); }
.footer-place { font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-top: .6rem; }
.footer-copy { font-size: .72rem; color: rgba(243, 238, 228, .4); margin-top: 3.6rem; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy-deep);
  box-shadow: 0 14px 30px -10px rgba(7,17,31,.5);
  transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold-soft); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .calendar { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .process li::before { display: none; }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; z-index: 60;
  }
  .menu-toggle span { display: block; height: 1px; background: var(--cream); transition: transform .35s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; background: var(--navy-deep);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: .9rem; }
  .nav-cta { margin-top: 12px; }
  body.menu-open { overflow: hidden; }

  .split, .journey, .kit, .destination { grid-template-columns: 1fr; }
  .section-head.split { align-items: start; gap: 24px; }
  .pillars { grid-template-columns: 1fr; border-bottom: 0; }
  .pillar, .pillar:first-child { border-left: 0; padding: 40px 0; border-bottom: 1px solid var(--line); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .destination-media { min-height: 0; aspect-ratio: 4 / 3; }
  .journey-media { aspect-ratio: 4 / 3; }
  .hide-sm { display: none; }
  .hero-foot { justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand img { width: 76px; }
  .hero-actions .btn { width: 100%; }
  .values, .calendar, .process { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .facts { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.25rem; }
  .contact li { flex-direction: column; gap: 4px; }
  .kit-media { padding-right: 12%; }

}

/* Legibilidade do texto sobre fotos em telas pequenas */
@media (max-width: 700px) {
  .hero-media img { object-position: 42% center; }
  .hero-foot { justify-content: flex-start; }
  .hero-shade { background: linear-gradient(180deg, rgba(7,17,31,.55) 0%, rgba(7,17,31,.45) 40%, rgba(7,17,31,.75) 75%, rgba(7,17,31,.95) 100%); }
  .band::after { background: linear-gradient(0deg, rgba(7,17,31,.9), rgba(7,17,31,.2) 70%); }
  .horizon-shade { background: rgba(7,17,31,.6); }
}
