/* ==========================================================================
   CASAIS QUE PREVALECEM — LANDING PAGE
   Design System & Main Stylesheet (Eixo 3 Sticky Header & Final Refinements)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette & Semantic Colors */
  --bg-primary: #0f2a33;       /* Dark Petrol Navy */
  --bg-surface: #061923;       /* Deep Night Blue */
  --bg-light: #e8e5df;         /* Warm Linen Cream */
  --bg-light-subtle: #f6f3ed;  /* Soft Warm White */

  --accent-orange: #d85a1f;    /* Warm Terracotta */
  --accent-orange-hover: #b94714;
  --accent-terracotta: #994015;
  --accent-warm: #ef935e;      /* Copper Warm Light */
  --accent-glow: #ffb077;

  --text-light: #faf8f4;
  --text-muted: #c3ccce;
  --text-dark: #0f2a33;
  --text-dark-muted: #55666b;

  --border-subtle: #33464c;
  --border-muted: #3c5056;
  --border-light: #cccfc7;

  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --font-serif: Georgia, serif;

  /* Fluid Font Sizes */
  --fz-hero-h1: clamp(2.2rem, 3.4vw, 3.2rem);
  --fz-section-h2: clamp(2.4rem, 4.7vw, 4.1rem);
  --fz-body: 0.8125rem; /* 13px baseline */

  /* Layout & Spacing */
  --container-max: 1180px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 7vw, 6.875rem);
}

*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 1.2em;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  font-family: var(--font-display);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-glow);
  outline-offset: 6px;
}

/* --------------------------------------------------------------------------
   2. ACCESSIBILITY & LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 14px;
  background: var(--bg-light);
  color: var(--text-dark);
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 15px;
}

.container {
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
}

.eyebrow {
  font-size: 0.625rem; /* 10px */
  line-height: 1.8;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--accent-warm);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.light .eyebrow {
  color: var(--accent-terracotta);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
}

/* --------------------------------------------------------------------------
   3. STICKY HEADER & NAVIGATION (GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 10px 48px;
  max-width: 100%;
  margin: 0 auto;
  background: rgba(15, 42, 51, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(51, 70, 76, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, padding 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  width: 58px;
  flex-shrink: 0;
}

.brand img {
  height: 62px;
  width: 56px;
  object-fit: contain;
}

.header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.header nav a {
  font-size: 0.6875rem; /* 11px */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header nav a:hover {
  color: var(--accent-glow);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b87854;
  padding: 10px 18px;
  text-decoration: none;
  font-size: 0.625rem; /* 10px */
  letter-spacing: 1px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 4px;
  background: rgba(216, 90, 31, 0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-cta span {
  margin-left: 10px;
  color: var(--accent-warm);
}

.header-cta:hover {
  border-color: var(--accent-warm);
  background-color: rgba(216, 90, 31, 0.3);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION (FULL-BLEED PHOTOGRAPHY)
   -------------------------------------------------------------------------- */
.hero {
  background-color: var(--bg-surface);
  position: relative;
  isolation: isolate;
}

/* Full-bleed Edge-to-Edge Hero Art */
.hero-art {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.hero-art > img:not(.hero-mark) {
  width: 100%;
  height: clamp(380px, 52vw, 760px);
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 25, 35, 0.3) 0%, rgba(6, 25, 35, 0.6) 65%, rgba(6, 25, 35, 0.95) 100%),
              linear-gradient(90deg, rgba(6, 25, 35, 0.8) 0%, rgba(6, 25, 35, 0.4) 45%, transparent 75%);
  pointer-events: none;
}

.hero-art img.hero-mark {
  position: absolute;
  z-index: 2;
  width: 42%;
  max-width: 640px;
  height: auto;
  left: 5%;
  top: 45%;
  transform: translateY(-50%);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 60px;
  padding-block: 48px 56px;
  position: relative;
  z-index: 3;
}

.hero-bottom h1 {
  font-size: var(--fz-hero-h1);
  line-height: 1.07;
  max-width: 640px;
}

.hero-bottom h1 em {
  font-style: normal;
  color: var(--accent-warm);
}

.hero-bottom .eyebrow {
  margin-bottom: 15px;
}

.hero-action {
  background: rgba(15, 42, 51, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.date {
  font-size: 3.0625rem; /* 49px */
  margin: 0;
  line-height: 1.1;
  letter-spacing: 1px;
  font-family: var(--font-display);
}

.date span {
  font-size: 1.1875rem; /* 19px */
}

.location {
  font-size: 0.6875rem; /* 11px */
  margin: 9px 0 22px;
  color: var(--text-muted);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background-color: var(--accent-orange);
  color: var(--text-light);
  min-height: 54px;
  padding: 18px 28px;
  text-decoration: none;
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  letter-spacing: 1.2px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(216, 90, 31, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button span {
  font-size: 1.25rem; /* 20px */
  line-height: 1;
}

.button:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216, 90, 31, 0.4);
}

.availability {
  font-size: 0.625rem; /* 10px */
  margin: 13px 0 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.availability span {
  width: 6px;
  height: 6px;
  background-color: var(--accent-warm);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-warm);
}

/* --------------------------------------------------------------------------
   5. CONTENT SECTIONS
   -------------------------------------------------------------------------- */
/* Section: Por que viver essa experiência? */
h2 {
  font-size: var(--fz-section-h2);
  line-height: 1.02;
  text-wrap: balance;
}

h2 span {
  color: var(--accent-warm);
}

.light h2 span {
  color: var(--accent-terracotta);
}

.prose {
  font-size: var(--fz-body);
  line-height: 1.95;
}

.prose p:last-child {
  margin-bottom: 0;
}

.small-rule {
  width: 54px;
  height: 2px;
  background-color: var(--accent-orange);
  margin: 30px 0 25px;
}

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4375rem; /* 23px */
  line-height: 1.45;
  max-width: 380px;
  margin: 0;
}

/* Section: Uma experiência para vocês viverem juntos (Modern Cards) */
.section-top {
  max-width: 720px;
}

.moments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 55px 0 45px;
}

.moment {
  background: rgba(23, 70, 83, 0.25);
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  padding: 32px 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.moment:hover {
  transform: translateY(-6px);
  border-color: var(--accent-warm);
  background: rgba(23, 70, 83, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.moment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(239, 147, 94, 0.12);
  border: 1px solid rgba(239, 147, 94, 0.3);
  border-radius: 50%;
  color: var(--accent-warm);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.moment:hover .moment-icon {
  transform: scale(1.08);
  background: rgba(239, 147, 94, 0.22);
}

.moment h3 {
  font-size: 1.625rem; /* 26px */
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text-light);
}

.moment p {
  font-size: 0.75rem; /* 12px */
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
}

.together-quote {
  font-family: var(--font-serif);
  font-size: 1.5625rem; /* 25px */
  line-height: 1.5;
  border-top: 1px solid var(--border-muted);
  padding-top: 35px;
  margin: 0;
  max-width: 870px;
}

.together-quote em {
  color: var(--accent-warm);
  font-style: normal;
}

/* Section: Uma experiência de acampamento a dois (FULL-BLEED CAMPING BANNER) */
.camp {
  padding-top: 0;
}

.camp-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 0;
}

.camp-banner img {
  width: 100%;
  height: clamp(340px, 48vw, 700px);
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.camp-banner .image-caption {
  position: absolute;
  bottom: 20px;
  left: max(20px, calc((100vw - var(--container-max)) / 2));
  background-color: rgba(232, 229, 223, 0.94);
  color: var(--text-dark);
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 0.625rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.camp-content {
  padding-top: 60px;
}

.camp-promise {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4375rem; /* 23px */
  color: var(--accent-terracotta);
}

.tent-note {
  display: flex;
  gap: 20px;
  background: rgba(153, 64, 21, 0.07);
  border: 1px solid rgba(153, 64, 21, 0.22);
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 24px;
  align-items: center;
}

.tent-note svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--accent-terracotta);
}

.tent-note p {
  font-size: 0.78125rem;
  line-height: 1.7;
  margin: 0;
  color: var(--text-dark);
}

/* Section: Tudo o que vocês precisam saber (Prática & FAQ) */
.practical {
  background-color: var(--bg-light-subtle);
  color: var(--text-dark);
}

.practical .eyebrow {
  color: var(--accent-terracotta);
}

.practical h2 span {
  color: var(--accent-terracotta);
}

.info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  margin-top: 50px;
}

.info-row {
  border-top: 1px solid var(--border-light);
  padding: 22px 0 18px;
}

.info-label {
  font-size: 0.5625rem; /* 9px */
  letter-spacing: 2px;
  color: var(--accent-terracotta);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.info-row h3 {
  font-size: 1.9375rem; /* 31px */
  margin-bottom: 8px;
}

.info-row p {
  font-size: 0.75rem; /* 12px */
  line-height: 1.9;
  margin: 0;
}

.faq-title {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  font-weight: 600;
  margin: 0 0 20px;
}

.faq details {
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.2s ease;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 32px 22px 0;
  font-size: 0.8125rem; /* 13px */
  line-height: 1.6;
  font-weight: 600;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 20px;
  font-size: 1.375rem; /* 22px */
  font-weight: 400;
  color: var(--accent-terracotta);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  font-size: 0.75rem; /* 12px */
  line-height: 1.9;
  padding-right: 20px;
  margin: 0 0 24px;
}

.faq a {
  color: var(--accent-terracotta);
}

/* --------------------------------------------------------------------------
   6. CLOSING & FOOTER
   -------------------------------------------------------------------------- */
.closing {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, var(--bg-primary) 0%, #061923 85%);
  position: relative;
}

.closing .container {
  position: relative;
}

.closing h2 {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
}

.closing-intro {
  font-size: 0.8125rem; /* 13px */
  line-height: 1.9;
  color: var(--text-muted);
  margin: 27px 0;
}

.closing-lines {
  display: flex;
  gap: 24px;
  justify-content: center;
  font-size: 0.6875rem; /* 11px */
  margin: 28px 0 34px;
}

.closing-lines p {
  margin: 0;
}

.closing-lines p + p::before {
  content: '·';
  color: var(--accent-warm);
  margin-right: 24px;
}

.signature {
  font-family: var(--font-serif);
  font-size: 1.375rem; /* 22px */
  line-height: 1.5;
  margin: 45px 0 0;
}

.signature em {
  color: var(--accent-warm);
  font-style: normal;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 28px;
  border-top: 1px solid var(--border-muted);
  font-size: 0.5625rem; /* 9px */
  line-height: 1.8;
  color: #bcc7c9;
}

.footer p {
  margin: 0;
}

.footer p:first-child {
  letter-spacing: 1px;
}

.footer a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--accent-warm);
}

/* --------------------------------------------------------------------------
   7. SCROLL ANIMATIONS & ACCESSIBILITY
   -------------------------------------------------------------------------- */
.reveal.is-pending {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   8. UNIFIED MEDIA QUERIES
   -------------------------------------------------------------------------- */
/* Tablet (1000px and below) */
@media (max-width: 1000px) {
  .header {
    padding-inline: 28px;
    gap: 22px;
  }

  .header nav {
    gap: 18px;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 30px 40px;
  }

  .hero-action {
    padding: 24px;
  }

  .hero-art img.hero-mark {
    width: 47%;
    left: 3%;
  }

  .split {
    gap: 45px;
  }

  .section {
    padding-block: 80px;
  }

  .info-grid {
    gap: 50px;
  }

  .moments {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .closing-lines {
    gap: 14px;
  }

  .closing-lines p + p::before {
    margin-right: 14px;
  }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
  .header {
    height: 70px;
    padding: 8px 16px;
    justify-content: space-between;
  }

  .brand, .brand img {
    width: 44px;
    height: 50px;
  }

  .header nav {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.5625rem; /* 9px */
  }

  .header-cta span {
    margin-left: 6px;
  }

  .hero-art img.hero-mark {
    width: 55%;
    left: 4%;
    top: 40%;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 24px 40px;
  }

  .hero-action {
    padding: 22px;
  }

  .hero-action .date {
    font-size: 2.8125rem;
  }

  .hero-action .button {
    width: 100%;
  }

  .hero-action .availability {
    justify-content: center;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .moments {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px 0;
  }

  .together-quote {
    font-size: 1.375rem;
    padding-top: 26px;
  }

  .camp-banner .image-caption {
    position: static;
    display: block;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 0;
  }

  .camp-content {
    padding-top: 35px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 30px;
  }

  .closing-intro br {
    display: none;
  }

  .closing-lines {
    display: block;
    font-size: 0.75rem;
    line-height: 2.1;
  }

  .closing-lines p + p::before {
    content: none;
  }

  .closing .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding-block: 24px;
  }
}

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

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }

  .button:hover {
    transform: none;
  }
}
