/* Atlas Expéditions — Tour Operator demo (Adventurous, earthy, inspiring) */
:root {
  --to-teal: #0f766e;
  --to-teal-dark: #115e59;
  --to-teal-light: #ccfbf1;
  --to-sand: #fef3c7;
  --to-sand-light: #fffbeb;
  --to-terracotta: #ea580c;
  --to-terracotta-dark: #c2410c;
  --to-rock: #1e293b;
  --to-slate: #475569;
  --to-white: #ffffff;
  --to-border: #e7e5e4;
  --to-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  --to-font-display: 'Fraunces', Georgia, serif;
  --to-font-body: 'DM Sans', system-ui, sans-serif;
  --demo-banner-height: 2.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--to-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--to-rock);
  background: var(--to-sand-light);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--to-teal); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--to-teal-dark); }
h1, h2, h3, h4 {
  font-family: var(--to-font-display);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--to-rock);
}

/* Header */
.to-header {
  position: sticky;
  top: var(--demo-banner-height);
  z-index: 50;
  background: rgba(255, 251, 235, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--to-border);
}
.to-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.to-logo {
  font-family: var(--to-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--to-teal-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.to-logo__icon {
  font-size: 1.5rem;
}
.to-nav { display: none; gap: 0.5rem; }
@media (min-width: 768px) { .to-nav { display: flex; } }
.to-nav a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--to-slate);
  border-radius: 0.375rem;
  text-decoration: none;
}
.to-nav a:hover { color: var(--to-teal-dark); background: var(--to-teal-light); }
.to-header__cta {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--to-white);
  background: var(--to-terracotta);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 150ms ease;
}
.to-header__cta:hover { background: var(--to-terracotta-dark); color: var(--to-white); }

/* Hero */
.to-hero {
  position: relative;
  padding: 6rem 1.25rem 7rem;
  background: linear-gradient(135deg, var(--to-teal-dark) 0%, var(--to-teal) 100%);
  color: var(--to-white);
  overflow: hidden;
}
.to-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(234, 88, 12, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(254, 243, 199, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.to-hero__inner { position: relative; max-width: 48rem; margin: 0 auto; text-align: center; }
.to-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--to-sand);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}
.to-hero__title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  color: var(--to-white);
  margin-bottom: 1.25rem;
  font-weight: 500;
  font-style: italic;
}
.to-hero__title span { color: var(--to-sand); font-style: normal; font-weight: 700; }
.to-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 42ch;
  margin-inline: auto;
}
.to-hero__btn {
  display: inline-flex;
  padding: 1rem 2.5rem;
  font-weight: 600;
  color: var(--to-rock);
  background: var(--to-sand);
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 150ms ease, background 150ms ease;
}
.to-hero__btn:hover { background: var(--to-white); transform: translateY(-2px); color: var(--to-rock); }

/* Sections */
.to-section { padding: 5rem 1.25rem; }
.to-section--alt { background: var(--to-white); }
.to-section__inner { max-width: 72rem; margin: 0 auto; }
.to-section__header { text-align: center; margin-bottom: 3.5rem; }
.to-section__title { font-size: clamp(1.875rem, 4vw, 2.5rem); }
.to-section__subtitle { color: var(--to-slate); max-width: 42ch; margin: 0 auto; font-size: 1.0625rem; }

/* Tours Grid */
.to-tours { display: grid; gap: 2rem; }
@media (min-width: 640px) { .to-tours { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .to-tours { grid-template-columns: repeat(3, 1fr); } }

.to-tour {
  background: var(--to-white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--to-border);
  box-shadow: var(--to-shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}
.to-tour:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15, 118, 110, 0.12); }
.to-tour__img {
  height: 14rem;
  background-size: cover;
  background-position: center;
  position: relative;
}
.to-tour__img--sahara { background: linear-gradient(135deg, #ea580c 0%, #fef3c7 100%); }
.to-tour__img--atlas { background: linear-gradient(135deg, #115e59 0%, #475569 100%); }
.to-tour__img--imperial { background: linear-gradient(135deg, #b45309 0%, #1e293b 100%); }
.to-tour__img--coast { background: linear-gradient(135deg, #0f766e 0%, #38bdf8 100%); }
.to-tour__duration {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--to-white);
  background: rgba(30, 41, 59, 0.85);
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}
.to-tour__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.to-tour__title { font-size: 1.375rem; margin-bottom: 0.5rem; }
.to-tour__desc { font-size: 0.9375rem; color: var(--to-slate); margin-bottom: 1.5rem; line-height: 1.6; flex: 1; }
.to-tour__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--to-border); }
.to-tour__price { font-family: var(--to-font-display); font-size: 1.25rem; font-weight: 700; color: var(--to-teal-dark); }
.to-tour__price span { font-size: 0.8125rem; font-weight: 400; color: var(--to-slate); font-family: var(--to-font-body); }
.to-tour__link { font-size: 0.875rem; font-weight: 600; color: var(--to-terracotta); display: inline-flex; align-items: center; gap: 0.25rem; }
.to-tour__link:hover { color: var(--to-terracotta-dark); }

/* AI Guide Hook */
.to-ai {
  background: var(--to-rock);
  color: var(--to-white);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) { .to-ai { grid-template-columns: 1fr 1fr; padding: 4rem; } }
.to-ai::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.to-ai__content { position: relative; z-index: 1; }
.to-ai__icon {
  width: 4rem;
  height: 4rem;
  background: var(--to-terracotta);
  color: var(--to-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.to-ai__title { font-size: 2rem; color: var(--to-white); margin-bottom: 1rem; font-weight: 500; }
.to-ai__text { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; line-height: 1.7; }
.to-ai__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; position: relative; z-index: 1; }
.to-ai__features li { 
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
  font-size: 0.9375rem; 
  color: var(--to-white); 
  background: rgba(255, 255, 255, 0.05); 
  padding: 0.75rem 1rem; 
  border-radius: 0.5rem; 
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.to-ai__features li::before { content: '🌍'; font-size: 1.125rem; }

/* Footer */
.to-footer {
  background: var(--to-teal-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 1.25rem 2rem;
}
.to-footer__inner { max-width: 72rem; margin: 0 auto; display: grid; gap: 2rem; }
@media (min-width: 768px) { .to-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.to-footer__brand { font-family: var(--to-font-display); font-size: 1.5rem; color: var(--to-white); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.to-footer__text { font-size: 0.875rem; line-height: 1.7; margin: 0; max-width: 32ch; }
.to-footer__heading { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--to-sand); margin-bottom: 1rem; font-family: var(--to-font-body); }
.to-footer__links { list-style: none; padding: 0; margin: 0; font-size: 0.875rem; }
.to-footer__links li { margin-bottom: 0.5rem; }
.to-footer__links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.to-footer__links a:hover { color: var(--to-white); }
.to-footer__bottom { max-width: 72rem; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8125rem; text-align: center; }
