/* ============================================================
   VOYAGEURS TOURS — MAIN CSS
   Global variables · Reset · Typography · Utilities · Layout
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

/* ── CSS VARIABLES ────────────────────────────────────────── */
:root {
  /* Colors */
  --ink:         #1a1410;
  --ink2:        #3d3028;
  --ink3:        #7a6a5a;
  --parchment:   #f0ebe3;
  --parchment2:  #e8e0d4;
  --white:       #ffffff;
  --terra:       #b85c38;
  --terra2:      #9a4a2c;
  --terra3:      #f2ded5;
  --gold:        #c09040;
  --gold2:       #e8b84b;
  --teal:        #2e6b6e;
  --border:      #d8cfc4;
  --border2:     #c8bfb4;
  --shadow:      rgba(26, 20, 16, 0.10);
  --shadow-card: rgba(26, 20, 16, 0.13);

  /* Typography */
  --serif: 'Cormorant', Georgia, serif;
  --sans:  'Jost', sans-serif;

  /* Spacing */
  --gutter: 40px;
  --max-w:  1200px;
  --sec-v:  96px;

  /* Transitions */
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img { object-fit: cover; }

input, button, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}

button { cursor: pointer; }

a {
  text-decoration: none;
  color: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
  line-height: 1.15;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.serif   { font-family: var(--serif); }
.sans    { font-family: var(--sans); }
.italic  { font-style: italic; }
.weight3 { font-weight: 300; }
.weight4 { font-weight: 400; }
.weight5 { font-weight: 500; }

/* Section label */
.slabel {
  font-size: 9.5px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
  font-weight: 500;
  font-family: var(--sans);
}

/* Section title */
.stitle {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}

.stitle em {
  font-style: italic;
  color: var(--terra);
}

.stitle--white     { color: var(--white); }
.stitle--white em  { color: #f5d8a0; }

/* Section lead */
.slead {
  font-size: 15px;
  color: var(--ink3);
  line-height: 1.9;
  max-width: 560px;
  margin-top: 14px;
}

.slead--white { color: rgba(255, 255, 255, 0.52); }

/* ── LAYOUT ───────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sec {
  padding: var(--sec-v) 0;
}

.sec--cream   { background: var(--parchment); }
.sec--white   { background: var(--white); }
.sec--ink     { background: var(--ink); }
.sec--parchment2 { background: var(--parchment2); }

.sec-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, transform .2s, box-shadow .25s;
  border-radius: 100px;
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.btn--terra {
  background: var(--terra);
  color: var(--white);
  padding: 14px 32px;
  box-shadow: 0 4px 20px rgba(184, 92, 56, 0.28);
}

.btn--terra:hover {
  background: var(--terra2);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(184, 92, 56, 0.38);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  padding: 14px 32px;
}

.btn--dark:hover { background: var(--ink2); }

.btn--outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 13px 30px;
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--outline-white {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  padding: 13px 30px;
}

.btn--outline-white:hover { background: rgba(255, 255, 255, 0.20); }

.btn--sm {
  padding: 9px 20px;
  font-size: 10px;
  letter-spacing: 1px;
}

/* ── LINK MORE ────────────────────────────────────────────── */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink3);
  transition: color .2s, gap .2s;
  font-family: var(--sans);
  font-weight: 400;
}

.link-more::after { content: '→'; font-size: 13px; }
.link-more:hover  { color: var(--terra); gap: 14px; }

/* ── BADGE / TAG ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
}

.badge--terra { background: var(--terra); color: var(--white); }
.badge--teal  { background: var(--teal);  color: var(--white); }
.badge--gold  { background: var(--gold);  color: var(--white); }

/* ── CHIP ─────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--ink3);
  background: var(--parchment);
  padding: 5px 12px;
  border-radius: 100px;
  font-weight: 300;
}

.chip svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ── FORMS ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  transition: border-color .2s;
  border-radius: 0;
}

.form-control:focus {
  border-color: var(--terra);
  outline: none;
}

.form-control::placeholder { color: #c0b5a8; }

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  cursor: pointer;
}

.form-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
}

.form-success {
  font-size: 13px;
  color: #27ae60;
  background: #eafaf1;
  padding: 12px 16px;
  margin-bottom: 20px;
}

/* ── GRID LAYOUTS ─────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.grid-3-gap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.grid-2-gap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

/* ── DIVIDER ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink3);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--ink3); transition: color .2s; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb span { color: var(--border2); }

/* ── RATINGS ──────────────────────────────────────────────── */
.stars { color: var(--gold); letter-spacing: 3px; }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--parchment);
  padding: 6px 12px;
  border-radius: 100px;
}

.rating-badge .num {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
}

.rating-badge .lbl {
  font-size: 11px;
  color: var(--ink3);
}

/* ── SCROLL REVEAL ANIMATION ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-group > *:nth-child(1) { transition-delay: .0s; }
.reveal-group > *:nth-child(2) { transition-delay: .1s; }
.reveal-group > *:nth-child(3) { transition-delay: .2s; }
.reveal-group > *:nth-child(4) { transition-delay: .3s; }
.reveal-group > *:nth-child(5) { transition-delay: .4s; }
.reveal-group > *:nth-child(6) { transition-delay: .5s; }

/* ── PAGE HEADER (inner pages) ────────────────────────────── */
.page-header {
  background: var(--ink);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 92, 56, 0.15) 0%, transparent 60%);
}

.page-header .wrap { position: relative; z-index: 1; }

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header h1 em { font-style: italic; color: #f5d8a0; }

.page-header p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.58);
  max-width: 540px;
  line-height: 1.85;
}

/* ── LOADING ──────────────────────────────────────────────── */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--terra);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── ALERT BOXES ──────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-left: 3px solid;
  font-size: 14px;
  margin-bottom: 20px;
}

.alert--success { background: #eafaf1; border-color: #27ae60; color: #1a7340; }
.alert--error   { background: #fdedec; border-color: #e74c3c; color: #a93226; }
.alert--info    { background: #eaf4fb; border-color: #3498db; color: #1a6fa3; }

/* ── MOBILE RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3-gap { grid-template-columns: 1fr 1fr; }
  .grid-4-gap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --sec-v: 64px;
  }
  .grid-3, .grid-3-gap { grid-template-columns: 1fr; }
  .grid-2, .grid-2-gap { grid-template-columns: 1fr; gap: 32px; }
  .grid-4-gap { grid-template-columns: 1fr 1fr; }
  .sec-hd { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .stitle { font-size: clamp(28px, 7vw, 40px); }
  .btn { font-size: 11px; padding: 13px 24px; }
}

@media (max-width: 480px) {
  .grid-4-gap { grid-template-columns: 1fr; }
}
