/* =========================================================
   True Portugal Tours — Design System
   Palette derived from brochure: navy + gold + cream/white
   ========================================================= */

:root,
[data-theme='light'] {
  /* Brand surfaces */
  --navy: #0b2239;
  --navy-700: #12304f;
  --navy-600: #1a4063;
  --gold: #c8a24a;
  --gold-bright: #d9b25a;
  --gold-deep: #a9853a;
  --cream: #fbf8f1;
  --cream-2: #f4efe3;

  --color-bg: var(--cream);
  --color-surface: #ffffff;
  --color-surface-2: var(--cream-2);
  --color-surface-offset: var(--cream-2);
  --color-divider: #e7e0d2;
  --color-border: #ddd4c2;

  --color-text: #1c2b3a;
  --color-text-muted: #5d6b78;
  --color-text-faint: #97a0a8;
  --color-text-inverse: #f7f3ea;

  --color-primary: var(--navy);
  --color-accent: var(--gold);
  --color-accent-hover: var(--gold-deep);

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(11, 34, 57, 0.06);
  --shadow-md: 0 6px 20px rgba(11, 34, 57, 0.10);
  --shadow-lg: 0 18px 48px rgba(11, 34, 57, 0.18);
  --shadow-gold: 0 10px 30px rgba(200, 162, 74, 0.28);

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 680px;
  --content-default: 1080px;
  --content-wide: 1240px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.25vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  --text-2xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --text-hero: clamp(2.6rem, 1.5rem + 5.4vw, 5.2rem);
}

[data-theme='dark'] {
  --color-bg: #0a1828;
  --color-surface: #102338;
  --color-surface-2: #152c44;
  --color-surface-offset: #122a41;
  --color-divider: #1d3550;
  --color-border: #24405e;

  --color-text: #e9eef4;
  --color-text-muted: #9fb0bf;
  --color-text-faint: #6b7d8d;
  --color-text-inverse: #0b2239;

  --navy: #0a1828;
  --navy-700: #102338;
  --navy-600: #152c44;
  --gold: #d9b25a;
  --gold-bright: #e6c270;
  --gold-deep: #c8a24a;
  --cream: #102338;
  --cream-2: #152c44;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a1828;
    --color-surface: #102338;
    --color-surface-2: #152c44;
    --color-surface-offset: #122a41;
    --color-divider: #1d3550;
    --color-border: #24405e;
    --color-text: #e9eef4;
    --color-text-muted: #9fb0bf;
    --color-text-faint: #6b7d8d;
    --navy: #0a1828;
    --cream: #102338;
    --cream-2: #152c44;
  }
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  hanging-punctuation: first last;
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; font-family: var(--font-display); font-weight: 600; }
p, li { text-wrap: pretty; max-width: 70ch; }

a, button, [role='button'], input, textarea, select {
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-sm); }

button { cursor: pointer; background: none; border: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.eyebrow {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--gold); display: inline-block; }
[data-theme='dark'] .eyebrow { color: var(--gold-bright); }
.section-title { font-size: var(--text-2xl); margin-top: 0.6rem; max-width: 18ch; }
.section-lead { color: var(--color-text-muted); font-size: var(--text-lg); max-width: 52ch; margin-top: 0.9rem; }
.center { text-align: center; }
.center .section-title, .center .section-lead { margin-inline: auto; }
.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.02em; padding: 0.95em 1.6em; border-radius: var(--radius-full);
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--color-text); border: 1.5px solid var(--color-border); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
.btn--lg { padding: 1.1em 2em; font-size: var(--text-base); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.header--scrolled { border-bottom-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.6rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--color-text); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: 'Cinzel', var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.1em; line-height: 1; text-transform: uppercase; }
.brand__name small { display: block; font-family: 'Cinzel', var(--font-display); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.34em; color: var(--gold-deep); margin-top: 0.22rem; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); text-decoration: none; position: relative; }
.nav__links a:hover { color: var(--color-text); }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--gold); transition: width var(--transition); }
.nav__links a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 0.8rem; }

.theme-toggle { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-full); color: var(--color-text-muted); border: 1px solid var(--color-border); }
.theme-toggle:hover { color: var(--gold-deep); border-color: var(--gold); }
.theme-toggle svg { width: 18px; height: 18px; }

.menu-btn { display: none; width: 40px; height: 40px; place-items: center; border-radius: var(--radius-md); color: var(--color-text); }
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .menu-btn { display: grid; }
  .header__actions .btn--ghost { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none;
}
.drawer__scrim { position: absolute; inset: 0; background: rgba(7,18,30,0.5); opacity: 0; transition: opacity var(--transition); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(82vw, 340px);
  background: var(--color-surface); padding: 5.5rem 2rem 2rem; display: flex; flex-direction: column; gap: 1.4rem;
  transform: translateX(100%); transition: transform 320ms cubic-bezier(0.16,1,0.3,1); box-shadow: var(--shadow-lg);
}
.drawer.open { visibility: visible; pointer-events: auto; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__close { position: absolute; top: 1.1rem; right: 1.1rem; width: 40px; height: 40px; display: grid; place-items: center; color: var(--color-text); }
.drawer a { font-size: 1.05rem; color: var(--color-text); text-decoration: none; padding: 0.4rem 0; border-bottom: 1px solid var(--color-divider); }
.drawer .btn { margin-top: 0.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(640px, 92vh, 920px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,20,33,0.92) 4%, rgba(7,20,33,0.55) 42%, rgba(7,20,33,0.25) 75%, rgba(7,20,33,0.35) 100%);
}
.hero__inner { padding-block: clamp(3rem, 8vw, 6rem); width: 100%; }
.hero__eyebrow { color: var(--gold-bright); }
.hero__eyebrow::before { background: var(--gold-bright); }
.hero h1 {
  color: #fff; font-size: var(--text-hero); max-width: 16ch; margin-top: 0.8rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero h1 em { color: var(--gold-bright); font-style: italic; }
.hero__sub { font-size: var(--text-lg); color: rgba(255,255,255,0.9); max-width: 52ch; margin-top: 1.1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; color: rgba(255,255,255,0.92); font-size: var(--text-sm); }
.hero__trust span { display: inline-flex; align-items: center; gap: 0.5em; }
.hero__trust svg { width: 1.1em; height: 1.1em; color: var(--gold-bright); }

/* ---------- Trust strip ---------- */
.trustbar { background: var(--navy); color: rgba(255,255,255,0.92); }
.trustbar__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 1.6rem; }
.trustbar__item { display: flex; align-items: center; gap: 0.7rem; justify-content: center; font-size: var(--text-sm); }
.trustbar__item svg { width: 1.3em; height: 1.3em; color: var(--gold-bright); flex: none; }
.trustbar__item strong { font-weight: 600; }
.trustbar__divider { display: none; }
@media (max-width: 760px) {
  .trustbar__inner { grid-template-columns: 1fr 1fr; gap: 1rem; padding-block: 1.4rem; }
}

/* ---------- Tours ---------- */
.tours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .tours-grid { grid-template-columns: 1fr; } }
.tour-card {
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.tour-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.16,1,0.3,1); }
.tour-card:hover .tour-card__media img { transform: scale(1.05); }
.tour-card__tag { position: absolute; top: 0.9rem; left: 0.9rem; background: var(--navy); color: #fff; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4em 0.8em; border-radius: var(--radius-full); }
.tour-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.tour-card__title { font-size: var(--text-xl); }
.tour-card__desc { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: 0.5rem; }
.tour-card__itinerary { margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.tour-card__itinerary li { font-size: var(--text-sm); padding-left: 1.5rem; position: relative; color: var(--color-text); max-width: none; }
.tour-card__itinerary li::before { content: ''; position: absolute; left: 0.2rem; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.tour-card__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.tour-card__meta span { font-size: var(--text-xs); font-weight: 600; background: var(--cream-2); color: var(--color-text); padding: 0.4em 0.75em; border-radius: var(--radius-sm); }
[data-theme='dark'] .tour-card__meta span { background: var(--color-surface-2); }
.tour-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--color-divider); }
.tour-card__price { display: flex; flex-direction: column; }
.tour-card__price small { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tour-card__price strong { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-text); }
.tour-card__cta { font-size: var(--text-sm); font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
[data-theme='dark'] .tour-card__cta { color: var(--gold-bright); }
.tour-card__cta:hover { color: var(--gold-deep); gap: 0.7em; }

/* Custom tour card (full width) */
.tour-card--custom { grid-column: 1 / -1; background: var(--navy); color: rgba(255,255,255,0.92); border-color: var(--navy-700); display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 760px) { .tour-card--custom { grid-template-columns: 1fr; } }
.tour-card--custom .tour-card__body { padding: clamp(1.8rem, 4vw, 3rem); }
.tour-card--custom .tour-card__title { color: #fff; font-size: var(--text-2xl); }
.tour-card--custom .tour-card__desc { color: rgba(255,255,255,0.8); font-size: var(--text-base); }
.tour-card--custom .tour-card__cta { color: var(--gold-bright); }
.tour-card--custom .step-list { counter-reset: step; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.tour-card--custom .step-list li { counter-increment: step; position: relative; padding-left: 3rem; color: rgba(255,255,255,0.9); font-size: var(--text-sm); max-width: none; }
.tour-card--custom .step-list li::before {
  content: counter(step); position: absolute; left: 0; top: -0.15rem; width: 2.1rem; height: 2.1rem;
  border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 700;
  display: grid; place-items: center; font-size: 1rem;
}
.tour-card--custom .step-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 0.15rem; }
.tour-card--custom .media-fill { position: relative; min-height: 280px; overflow: hidden; }
.tour-card--custom .media-fill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Why choose us / inclusions ---------- */
.why { background: var(--color-surface-2); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.4rem; }
@media (max-width: 880px) { .why__grid { grid-template-columns: 1fr; } }
.why__card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: 1.8rem; }
.why__card .ico { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--cream-2); display: grid; place-items: center; color: var(--gold-deep); margin-bottom: 1rem; }
[data-theme='dark'] .why__card .ico { background: var(--color-surface-2); color: var(--gold-bright); }
.why__card .ico svg { width: 24px; height: 24px; }
.why__card h3 { font-size: var(--text-lg); margin-bottom: 0.4rem; }
.why__card p { color: var(--color-text-muted); font-size: var(--text-sm); }

.inclusions { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .inclusions { grid-template-columns: 1fr; gap: 1.5rem; } }
.incl-block h3 { font-size: var(--text-lg); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5em; }
.incl-list { display: flex; flex-direction: column; gap: 0.7rem; }
.incl-list li { display: flex; align-items: flex-start; gap: 0.7em; font-size: var(--text-base); max-width: none; }
.incl-list .tick { color: var(--success, #2e7d32); flex: none; margin-top: 0.15em; }
.incl-list .cross { color: #c0392b; flex: none; margin-top: 0.15em; }
.incl-list svg { width: 20px; height: 20px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--navy); color: rgba(255,255,255,0.9); position: relative; overflow: hidden; }
.reviews .eyebrow { color: var(--gold-bright); }
.reviews .eyebrow::before { background: var(--gold-bright); }
.reviews .section-title { color: #fff; }
.reviews .section-lead { color: rgba(255,255,255,0.75); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 880px) { .review-grid { grid-template-columns: 1fr; } }
.review-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 1.7rem; display: flex; flex-direction: column; }
.review-stars { display: flex; gap: 0.15rem; color: var(--gold-bright); margin-bottom: 1rem; }
.review-stars svg { width: 18px; height: 18px; }
.review-card blockquote { font-size: var(--text-base); line-height: 1.6; color: rgba(255,255,255,0.92); flex: 1; }
.review-card cite { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.3rem; font-style: normal; font-size: var(--text-sm); }
.review-card cite strong { color: #fff; font-weight: 600; }
.review-card cite span { color: rgba(255,255,255,0.6); }
.source-badge { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-bright); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.4rem; max-width: var(--content-default); }
.faq-item { border-bottom: 1px solid var(--color-divider); }
.faq-item__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text); font-weight: 600; }
.faq-item__q:hover { color: var(--gold-deep); }
.faq-item__q .chev { width: 22px; height: 22px; flex: none; transition: transform var(--transition); color: var(--gold-deep); }
.faq-item[open] .faq-item__q .chev { transform: rotate(180deg); }
.faq-item__a { padding-bottom: 1.4rem; color: var(--color-text-muted); font-size: var(--text-base); max-width: 72ch; }

/* ---------- Booking form ---------- */
.booking { background: var(--color-surface-2); position: relative; overflow: hidden; }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .booking__grid { grid-template-columns: 1fr; } }
.booking__copy h2 { font-size: var(--text-2xl); }
.booking__copy p { color: var(--color-text-muted); font-size: var(--text-lg); margin-top: 1rem; }
.booking__points { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.6rem; }
.booking__points li { display: flex; align-items: center; gap: 0.7em; font-size: var(--text-base); max-width: none; }
.booking__points svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }

.form-card { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-xl); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  background: var(--color-bg); border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem; font-size: var(--text-base); color: var(--color-text); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(200,162,74,0.18); }
.field textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.6rem; }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); text-align: center; margin-top: 0.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.78); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 2rem; } }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: var(--gold-bright); }
.footer h4 { color: #fff; font-size: var(--text-sm); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: var(--text-sm); }
.footer a:hover { color: var(--gold-bright); }
.footer ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__contact li { display: flex; align-items: center; gap: 0.6em; font-size: var(--text-sm); }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold-bright); flex: none; }
.footer__about { font-size: var(--text-sm); max-width: 38ch; margin-top: 1rem; line-height: 1.7; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: var(--text-xs); color: rgba(255,255,255,0.55); }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; }
.footer__social a:hover { border-color: var(--gold); background: rgba(200,162,74,0.15); }
.footer__social svg { width: 18px; height: 18px; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; display: none; gap: 0.6rem; padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--color-bg) 92%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--color-divider); }
.mobile-cta .btn { flex: 1; }
@media (max-width: 640px) { .mobile-cta { display: flex; } body { padding-bottom: 4.5rem; } }

/* ---------- Reveal animation ---------- */
/* Only hide when JS is active so content stays visible without it */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Install button + banner ---------- */
.install-btn { display: grid; place-items: center; gap: 0.35em; grid-auto-flow: column; width: auto; padding: 0.5em 0.9em; border-radius: var(--radius-full); color: var(--color-text-muted); border: 1px solid var(--color-border); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em; }
.install-btn:hover { color: var(--gold-deep); border-color: var(--gold); }
.install-btn svg { width: 15px; height: 15px; }
.install-btn[hidden] { display: none; }

.install-banner { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%) translateY(140%); z-index: 85; width: min(560px, calc(100vw - 2rem)); background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 0.9rem 1rem; display: flex; align-items: center; gap: 0.9rem; transition: transform 420ms cubic-bezier(0.16,1,0.3,1); }
.install-banner.show { transform: translateX(-50%) translateY(0); }
.install-banner[hidden] { display: none; }
.install-banner__ico { flex: none; width: 40px; height: 40px; }
.install-banner__copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.install-banner__copy strong { font-size: var(--text-sm); color: var(--color-text); font-weight: 600; }
.install-banner__copy span { font-size: var(--text-xs); color: var(--color-text-muted); }
.install-banner__actions { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.install-banner__actions .btn { padding: 0.55em 1.1em; font-size: var(--text-xs); }
.install-banner__close { width: 32px; height: 32px; border-radius: 50%; color: var(--color-text-muted); font-size: 1.3rem; line-height: 1; }
.install-banner__close:hover { color: var(--color-text); background: var(--color-surface-2); }
@media (max-width: 640px) {
  .install-banner { bottom: 5.2rem; }
}

/* ---------- Tour tiers ---------- */
.tier-title { font-family: var(--font-display); font-size: var(--text-xl); margin-top: 3.2rem; display: flex; align-items: baseline; gap: 0.7rem; }
.tier-title span { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.1em; color: var(--gold-deep); }
[data-theme='dark'] .tier-title span { color: var(--gold-bright); }
.tier-lead { color: var(--color-text-muted); font-size: var(--text-base); max-width: 60ch; margin-top: 0.5rem; }

/* Differentiated compact tiles */
.tours-diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
@media (max-width: 880px) { .tours-diff { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tours-diff { grid-template-columns: 1fr; } }
.tour-tile { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.tour-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.tour-tile__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tour-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.16,1,0.3,1); }
.tour-tile:hover .tour-tile__media img { transform: scale(1.06); }
.tour-tile__tag { position: absolute; top: 0.7rem; left: 0.7rem; background: var(--navy); color: #fff; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35em 0.7em; border-radius: var(--radius-full); }
.tour-tile__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.tour-tile__body h4 { font-size: var(--text-lg); margin-bottom: 0.3rem; }
.tour-tile__body p { color: var(--color-text-muted); font-size: var(--text-sm); flex: 1; }
.tour-tile__cta { margin-top: 0.8rem; font-size: var(--text-sm); font-weight: 600; color: var(--navy); text-decoration: none; align-self: flex-start; }
[data-theme='dark'] .tour-tile__cta { color: var(--gold-bright); }
.tour-tile__cta:hover { color: var(--gold-deep); }

/* ---------- Custom section (full width) ---------- */
.custom-section { margin-top: 2.4rem; background: var(--navy); color: rgba(255,255,255,0.9); border-radius: var(--radius-xl); overflow: hidden; }
.custom-section__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); padding: clamp(1.8rem, 4vw, 3.2rem); align-items: center; }
@media (max-width: 880px) { .custom-section__inner { grid-template-columns: 1fr; } }
.custom-section__copy h3 { color: #fff; font-size: var(--text-2xl); margin-top: 0.5rem; }
.custom-section__copy p { color: rgba(255,255,255,0.78); font-size: var(--text-base); margin-top: 0.8rem; }
.custom-section .step-list { counter-reset: step; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.custom-section .step-list li { counter-increment: step; position: relative; padding-left: 3rem; color: rgba(255,255,255,0.88); font-size: var(--text-sm); max-width: none; }
.custom-section .step-list li::before { content: counter(step); position: absolute; left: 0; top: -0.15rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: 1rem; }
.custom-section .step-list strong { display: block; color: #fff; font-weight: 600; margin-bottom: 0.15rem; }
.custom-split { display: grid; gap: 1rem; }
.custom-option { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 1.4rem; }
.custom-option__ico { width: 42px; height: 42px; border-radius: var(--radius-md); background: rgba(200,162,74,0.16); display: grid; place-items: center; color: var(--gold-bright); margin-bottom: 0.9rem; }
.custom-option__ico svg { width: 22px; height: 22px; }
.custom-option h4 { color: #fff; font-size: var(--text-lg); margin-bottom: 0.3rem; }
.custom-option p { color: rgba(255,255,255,0.72); font-size: var(--text-sm); margin-bottom: 1rem; }
.custom-option .btn { width: 100%; }

/* ---------- Hero subtle parallax ---------- */
.hero__media img { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  html.js .hero__media img { transform: scale(1.2); }
}

/* Reveal stagger helper for tiles */
html.js .tours-diff .reveal { transition-delay: 0ms; }

/* Remove botão e banner da App PWA */
#installBtn, #pwaBanner, .pwa-banner, .install-banner, [data-pwa-install], button[id*="install"] {
  display: none !important;
}

/* Remove o bullet point branco duplicado do navegador */
ul, ul li {
  list-style: none !important;
  list-style-type: none !important;
}

ul li::marker {
  content: none !important;
  display: none !important;
}

/* Anula camadas escuras antigas */
.hero::before, .hero::after, section.hero::before, section.hero::after {
  content: none !important;
  display: none !important;
}

/* Ajusta altura e espaçamento para os botões aparecerem 100% visíveis */
.hero, section.hero {
  position: relative !important;
  min-height: auto !important;
  padding-top: 76px !important;
  padding-bottom: 64px !important;
}

.hero__inner, .hero > .container {
  position: relative !important;
  z-index: 2 !important;
  padding-top: 8px !important;
  padding-bottom: 16px !important;
}

.hero h1 {
  margin-top: 6px !important;
  margin-bottom: 12px !important;
  line-height: 1.05 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65) !important;
}

.hero__sub, .hero p {
  margin-bottom: 22px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65) !important;
}

/* Camada azul-marinho com mais opacidade à esquerda para leitura nítida */
.hero::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(10, 30, 61, 0.92) 0%,
    rgba(10, 30, 61, 0.78) 48%,
    rgba(10, 30, 61, 0.25) 100%
  ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
