/* ===================================================
   RIOS E TRILHAS — Design System v2
   Agência de Turismo · Lençóis Maranhenses
   =================================================== */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ── */
:root {
  /* Brand */
  --primary:       #1A6B5A;
  --primary-dark:  #1B5C46;
  --primary-mid:   #14573F;
  --accent:        #C8923A;
  --accent-dark:   #A67428;
  --accent-light:  #E8B96A;

  /* Backgrounds */
  --bg:            #FFFFFF;
  --bg-alt:        #F8F5F0;
  --bg-dark:       #1C5E46;

  /* Text */
  --text:          #1A1A1A;
  --text-light:    #6B7280;
  --text-muted:    rgba(255,255,255,.65);

  /* UI */
  --border:        #E8E3DC;
  --whatsapp:      #25D366;
  --whatsapp-dark: #1DA851;

  /* Tokens reutilizáveis */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow-card: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.16);
  --transition:  0.25s ease;

  /* Layout */
  --header-h:    76px;
  --section-py:  clamp(3.5rem, 7vw, 6.25rem);

  /* Tipografia */
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* ── Section utilities ── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .875rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  opacity: .6;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 4vw, 2.875rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: normal; color: var(--primary); }

/* Underline accent — só quando dentro de .section-header */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-header .section-title {
  padding-bottom: 1.5rem;
  position: relative;
}
.section-header .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  background: var(--accent);
  border-radius: 99px;
}


/* ======================================================
   BUTTONS
   ====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--sm { font-size: .8125rem; padding: .5rem 1.1rem; }
.btn--md { font-size: .9375rem; padding: .75rem 1.625rem; }
.btn--lg { font-size: 1rem;     padding: .95rem 2.25rem; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(26,107,90,.35);
}

.btn--accent {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(200,146,58,.4);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.65);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
}


/* ======================================================
   HEADER
   ====================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition),
              backdrop-filter var(--transition);
}
.header.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.header__logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition);
}
/* Logo transparente: sem tratamento adicional no header */
.header.scrolled .header__logo img {
  filter: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-link {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 2px;
}
.header__nav-link:hover { color: var(--accent-light); }
.header__nav-link:hover::after { width: 100%; }

/* Hamburger */
.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}


/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(5,20,12,.55) 0%,
      rgba(5,20,12,.60) 45%,
      rgba(5,20,12,.82) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 1.5rem);
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,146,58,.18);
  border: 1px solid rgba(200,146,58,.45);
  color: var(--accent-light);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7.5vw, 5.25rem);
  font-weight: 900;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 1.35rem;
  letter-spacing: -.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hero__title em {
  font-style: normal;
  color: var(--accent-light);
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,.92);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  55%       { transform: translateX(-50%) translateY(9px); }
}


/* ======================================================
   STATS STRIP
   ====================================================== */
.stats {
  background: var(--bg-alt);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats__item {
  padding: .75rem 1rem;
  position: relative;
}
.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
}

.stats__number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .1em;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .4rem;
}
.stats__number span { font-size: .65em; color: var(--accent); }
.stats__number svg  { color: var(--primary); }

.stats__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: .06em;
  text-transform: uppercase;
}


/* ======================================================
   MOMENTOS / GALERIA
   ====================================================== */
.momentos {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.momentos__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.momentos__text .section-title { margin-bottom: 1rem; }

.momentos__text p {
  color: var(--text-light);
  margin-bottom: 2.25rem;
  line-height: 1.78;
  font-size: 1.0125rem;
  max-width: 440px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 185px 185px;
  gap: .75rem;
}

.galeria-grid__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.galeria-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.galeria-grid__item:hover img { transform: scale(1.07); }


/* ======================================================
   TRANSFER
   ====================================================== */
.transfer {
  padding: var(--section-py) 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.transfer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.transfer__fotos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 180px;
  gap: .875rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.transfer__foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform .45s ease;
}
.transfer__foto:hover { transform: scale(1.04); }

.transfer__foto--main { grid-column: span 2; }

.transfer__logo-badge {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.75rem;
}
.transfer__logo-badge img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  padding: 7px;
  filter: none;
}
.transfer__logo-badge div { display: flex; flex-direction: column; }
.transfer__logo-badge strong {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.transfer__logo-badge span {
  font-size: .775rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.transfer__info .section-title       { color: #fff; }
.transfer__info .section-title em    { color: var(--accent-light); }
.transfer__info .section-eyebrow     { color: var(--accent-light); }
.transfer__info .section-eyebrow::before,
.transfer__info .section-eyebrow::after { background: var(--accent-light); }

.transfer__info > p {
  color: rgba(255,255,255,.65);
  margin-bottom: 1.75rem;
  font-size: .9375rem;
}

.transfer__horarios {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.transfer__rota h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.transfer__horario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .5rem;
}

.transfer__horario-tags span {
  background: rgba(200,146,58,.14);
  border: 1px solid rgba(200,146,58,.3);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  padding: .35rem .875rem;
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
}

.transfer__rota small {
  color: rgba(255,255,255,.38);
  font-size: .775rem;
}


/* ======================================================
   PASSEIOS
   ====================================================== */
.passeios {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.passeios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.passeio-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.passeio-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.passeio-card__img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.passeio-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.passeio-card:hover .passeio-card__img-wrap img { transform: scale(1.08); }

.passeio-card__badge {
  position: absolute;
  top: .875rem;
  right: .875rem;
  background: var(--primary-dark);
  color: #fff;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 99px;
  letter-spacing: .05em;
}

.passeio-card__body {
  padding: 1.5rem 1.625rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.passeio-card__title {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: .7rem;
}

.passeio-card__body p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.68;
  flex: 1;
  margin-bottom: .875rem;
}

.passeio-card__duracao {
  display: flex !important;
  align-items: center;
  gap: .4rem;
  font-size: .775rem !important;
  font-weight: 600;
  color: var(--primary) !important;
  margin-bottom: 1.125rem !important;
  flex: 0 !important;
}

.passeio-card__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition), gap var(--transition);
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.passeio-card__link:hover {
  color: var(--accent);
  gap: .7rem;
}


/* ======================================================
   CTA BAND
   ====================================================== */
.cta-band {
  background: var(--primary);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.cta-band--dark { background: var(--primary-dark); }

/* Botão branco na faixa verde — contraste legível */
.cta-band .btn--whatsapp {
  background: #fff;
  color: var(--whatsapp-dark);
  border-color: #fff;
}
.cta-band .btn--whatsapp:hover {
  background: var(--whatsapp);
  color: #fff;
  border-color: var(--whatsapp);
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band__text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}
.cta-band__text p {
  color: rgba(255,255,255,.72);
  font-size: .9375rem;
}


/* ======================================================
   POR QUE VIAJAR
   ====================================================== */
.porque {
  padding: var(--section-py) 0;
  background: var(--bg);
}

.porque__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.porque__item {
  text-align: center;
  padding: 2.75rem 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition);
}
.porque__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  background: var(--bg);
}

.porque__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(26,107,90,.1);
  border-radius: 50%;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  transition: background var(--transition);
}
.porque__item:hover .porque__icon {
  background: var(--primary);
  color: #fff;
}

.porque__item h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: .875rem;
}

.porque__item p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.7;
}


/* ======================================================
   COMO FUNCIONA
   ====================================================== */
.como-funciona {
  padding: var(--section-py) 0;
  background: var(--bg-alt);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 940px;
  margin-inline: auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step__number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.625rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px rgba(26,107,90,.3);
  position: relative;
  z-index: 1;
}

.step__body h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: .7rem;
}

.step__body p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Conector tracejado */
.step__connector {
  width: 80px;
  height: 0;
  border-top: 2px dashed rgba(26,107,90,.55);
  margin-top: 2.125rem;
  flex-shrink: 0;
}


/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.65);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(2rem, 3.5vw, 3rem);
}

.footer__brand img {
  height: 52px;
  width: auto;
  display: block;
  filter: none;
  margin-bottom: 1.5rem;
}

.footer__brand p {
  font-size: .875rem;
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.7);
}

.footer__social {
  display: flex;
  gap: .75rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__links ul li { margin-bottom: .625rem; }

.footer__links ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links ul li a:hover { color: var(--accent-light); }

.footer__contact p,
.footer__contact a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .75rem;
  transition: color var(--transition);
}
.footer__contact a:hover { color: var(--whatsapp); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.375rem 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}
.footer__bottom span { color: var(--accent); }


/* ======================================================
   WHATSAPP FLOAT
   ====================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.875rem;
  right: 1.875rem;
  z-index: 999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition),
              opacity var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.45);
  animation: pulse-ring 2.8s ease infinite;
}
@keyframes pulse-ring {
  0%   { opacity: 1;  transform: scale(1); }
  80%  { opacity: 0;  transform: scale(1.45); }
  100% { opacity: 0;  transform: scale(1.45); }
}


/* ======================================================
   RESPONSIVE — 1024px
   ====================================================== */
@media (max-width: 1024px) {
  .passeios__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner  { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ======================================================
   RESPONSIVE — 768px
   ====================================================== */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --section-py: clamp(2.5rem, 6vw, 4rem);
  }

  /* Header mobile */
  .header__menu-btn { display: flex; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.5rem 2.25rem;
    gap: 1.375rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
  }
  .header__nav.is-open { transform: translateY(0); opacity: 1; }
  .header__nav-link { font-size: 1rem; }
  .header__nav .btn  { width: 100%; justify-content: center; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2)::after { display: none; }

  /* Momentos */
  .momentos__inner { grid-template-columns: 1fr; }
  .momentos__text  { order: 2; }
  .momentos__galeria { order: 1; }

  /* Transfer */
  .transfer__inner { grid-template-columns: 1fr; }
  .transfer__fotos { order: 2; }
  .transfer__info  { order: 1; }

  /* Passeios */
  .passeios__grid { grid-template-columns: 1fr; }

  /* CTA Band */
  .cta-band__inner { flex-direction: column; text-align: center; }

  /* Por que */
  .porque__grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Como funciona */
  .steps { flex-direction: column; align-items: center; }
  .step  { max-width: 320px; }
  .step__connector {
    width: 0;
    height: 40px;
    border-top: none;
    border-left: 2px dashed rgba(26,107,90,.3);
    margin: 0 auto;
  }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom .container { justify-content: center; text-align: center; }

  /* Hero */
  .hero__title { letter-spacing: -.005em; }
  .hero__actions { justify-content: center; }
  .hero__content { text-align: center; }
  .hero__subtitle { margin-inline: auto; }
}

/* ======================================================
   RESPONSIVE — 480px
   ====================================================== */
@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .galeria-grid__item { height: 180px; }

  .transfer__fotos-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .transfer__foto--main { grid-column: auto; }
  .transfer__foto       { height: 200px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item::after { display: none; }
}

/* ===================================================
   MODAL PRÉ-WHATSAPP / CAPTURA DE LEAD
   =================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 32, .55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-backdrop.active { opacity: 1; visibility: visible; }

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-backdrop.active .modal-box { transform: translateY(0) scale(1); }

.modal-close-btn {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 36px; height: 36px;
  border: none;
  background: var(--bg-alt);
  color: var(--text-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.modal-close-btn:hover { background: #efe9e1; color: var(--text); }

.cm-body { padding: 2.25rem 1.75rem 1.75rem; text-align: center; }

.cm-icon {
  width: 58px; height: 58px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
}

.cm-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .4rem;
}
.cm-sub {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.cm-tour-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(200,146,58,.12);
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

#contact-form { text-align: left; }

.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}
.form-label .req { color: #d4574e; }

.form-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  font-size: .92rem;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,107,90,.12);
}
.form-input.is-error { border-color: #d4574e; }

.form-error-msg {
  font-size: .78rem;
  color: #d4574e;
  margin-top: .3rem;
  min-height: 0;
  display: none;
}
.form-error-msg.visible { display: block; }

.cm-submit { width: 100%; justify-content: center; margin-top: .35rem; }

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-size: .76rem;
  color: var(--text-light);
  margin-top: 1rem;
  text-align: center;
}
