@font-face {
  font-family: "Keroll";
  src: url("fonts/Keroll.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #194090;
  --ink: #0d1f45;
  --cyan: #44bed9;
  --cream: #fffaf3;
  --sand: #e9dfd2;
  --sand-2: #d9d2c5;
  --text: #3d3d3d;
  --error: #c0392b;
  --pad: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
}
img { max-width: 100%; }
button, input, select { font: inherit; }
a { color: var(--navy); }

.wrap {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: start;
}
.photo {
  grid-column: 1;
  grid-row: 1 / span 3;
  position: sticky;
  top: 0;
  height: 100dvh;
  background: var(--sand);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
}
.brand, .intro, .panel { grid-column: 2; }
.brand { grid-row: 1; padding: 28px 40px 0; }
.intro { grid-row: 2; padding: 0 40px; }
.panel { grid-row: 3; padding: 0 40px 72px; }
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand img { height: 42px; width: auto; display: block; }
.enter {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--cyan);
  padding-bottom: 2px;
}

.eyebrow {
  margin: 36px 0 14px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow strong { color: var(--navy); font-weight: 500; }
.hero-line {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
h1 {
  margin: 8px 0 18px;
  max-width: 16ch;
  font-family: "Keroll", "Manrope", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lede, .measure { max-width: 62ch; }
.lede { margin: 0 0 28px; font-size: 18px; }

.panel { margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span, .pair label span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
input, select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--sand-2);
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font-size: 16px;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
input:focus, select:focus { outline: 2px solid var(--cyan); outline-offset: 2px; }
.pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.err { min-height: 0; color: var(--error); font-size: 14px; }
.err:empty { display: none; }
.form-error { color: var(--error); margin: 0 0 12px; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }

.submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px 0 10px 0;
  background: var(--navy);
  color: var(--cream);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 3px 3px 0 var(--cyan);
  cursor: pointer;
}
.submit:focus { outline: 2px solid var(--cyan); outline-offset: 3px; }
.fine { margin: 14px 0 0; font-size: 13px; max-width: 62ch; }

.ok h2, .dup h2 {
  font-family: "Keroll", sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1;
}
.ok a, .dup a { font-weight: 700; }

.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--sand-2);
  border-bottom: 1px solid var(--sand-2);
}
.facts strong {
  display: block;
  font-family: "Keroll", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}
.facts span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chapter { padding: 120px 0; }
.chapter h2 {
  margin: 10px 0 18px;
  font-family: "Keroll", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 1.67vw + 8px, 32px);
  color: var(--ink);
  line-height: 1.05;
}
.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
}
.chapter-grid.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chapter-grid.leisure { grid-template-columns: 1fr 1fr; }
figure { margin: 0; background: var(--cream); }
figure img { display: block; width: 100%; height: auto; }
figcaption {
  padding-top: 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.note {
  margin-top: 28px;
  font-size: 14px;
  max-width: 70ch;
}

footer {
  padding: 48px 0 64px;
  border-top: 1px solid var(--sand-2);
  font-size: 14px;
}
footer .wrap { display: grid; gap: 8px; }
footer strong { color: var(--ink); font-weight: 600; }

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 1px solid var(--sand-2);
}
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  border-radius: 10px 0 10px 0;
  box-shadow: 3px 3px 0 var(--cyan);
  font-weight: 600;
}

@media (max-width: 1099px) {
  .split { display: flex; flex-direction: column; }
  .photo { position: relative; order: 2; height: 70dvh; width: 100%; }
  .brand { order: 1; width: min(1360px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 0; }
  .intro {
    order: 3;
    position: relative;
    width: min(1360px, calc(100% - 48px));
    margin: -56px auto 0;
    padding: 28px 24px 8px;
    background: var(--cream);
  }
  .panel {
    order: 4;
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto 48px;
    padding: 0 0 24px;
  }
  .chapter { padding: 88px 0; }
}

@media (max-width: 767px) {
  body { font-size: 17px; }
  .split { display: flex; flex-direction: column; }
  .brand { order: 1; width: min(1360px, calc(100% - 32px)); padding-top: 8px; }
  .intro { order: 2; margin-top: 0; width: min(1360px, calc(100% - 32px)); padding: 8px 0 0; background: transparent; }
  .photo { order: 3; height: 42dvh; }
  .panel { order: 4; width: min(1360px, calc(100% - 32px)); margin-bottom: 36px; padding-bottom: 8px; }
  h1 { font-size: 40px; max-width: 14ch; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:last-child { grid-column: 1 / -1; }
  .chapter { padding: 72px 0; }
  .chapter-grid, .chapter-grid.plans, .chapter-grid.leisure { grid-template-columns: 1fr; gap: 28px; }
  .dock { display: block; }
  .dock.is-hidden { display: none; }
  body.has-dock { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  #cadastro { scroll-margin-bottom: 46vh; scroll-margin-top: 12px; }
}

@media (max-width: 380px) {
  .brand img { height: 28px; }
  .enter { font-size: 14px; }
  .iti { display: block; }
  .iti__country-container, .iti__flag-container {
    position: static !important;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    margin: 0 0 8px;
    padding: 0 8px;
    border: 1px solid var(--sand-2);
    background: #fff;
  }
  .iti input, .iti .iti__tel-input { width: 100% !important; padding-left: 14px !important; }
}

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