/* ============================================================
   css/home.css — Styles spécifiques à la page d'accueil
   Palette : Fond sable · Corail/Orange · Bleu lagon · Vert menthe
   Ambiance : Vacances, clair, aéré, moderne
   ============================================================ */

/* ── Surcharge variables pour le thème vacances clair ──────── */
:root {
  --bg:          #faf9f6;
  --bg2:         #f2ede4;
  --bg3:         #e8e1d6;
  --surface:     #ffffff;
  --surface2:    #f8f5f0;
  --border:      #e4ddd2;
  --border2:     #d4cbbe;

  --gold:        #e07830;       /* Orange corail vacances */
  --gold-light:  #f09050;
  --gold-dim:    rgba(224,120,48,0.12);
  --gold-glow:   rgba(224,120,48,0.06);

  --teal:        #1e7d8a;       /* Bleu lagon / mer */
  --teal-dim:    rgba(30,125,138,0.10);

  --ivory:       #1c1714;       /* Texte principal sombre */
  --ivory-dim:   rgba(28,23,20,0.62);
  --ivory-muted: rgba(28,23,20,0.38);

  --text:        #2c2420;
  --muted:       #7a7068;
  --dim:         #c4bdb5;

  --green:       #25a060;
  --green-dim:   rgba(37,160,96,0.12);
  --red:         #d94f4f;
  --red-dim:     rgba(217,79,79,0.10);

  --shadow:      0 2px 16px rgba(28,23,20,0.07);
  --shadow-lg:   0 8px 40px rgba(28,23,20,0.11);
  --shadow-gold: 0 0 32px rgba(224,120,48,0.18);
}

/* ── Override header pour fond clair ───────────────────────── */
.site-header {
  z-index: 100 !important;
  background: rgba(250,249,246,0.92) !important;
  border-bottom: 1px solid var(--border) !important;
}
.site-header.scrolled { background: rgba(250,249,246,0.98) !important; }
.nav-logo { color: var(--ivory) !important; }
.nav-logo span { color: var(--gold) !important; }
.logo-dot { background: var(--gold) !important; }
.nav-links a { color: var(--ivory-dim) !important; }
.nav-links a:hover, .nav-links a.active { color: var(--ivory) !important; }
.nav-links a::after { background: var(--gold) !important; }
.cart-btn { background: var(--surface) !important; border-color: var(--border2) !important; color: var(--ivory-dim) !important; }
.cart-btn:hover { border-color: var(--gold) !important; color: var(--gold) !important; background: var(--gold-glow) !important; }
.cart-count { background: var(--gold) !important; color: #fff !important; }
.nav-toggle span { background: var(--ivory-dim) !important; }

.label { color: var(--gold) !important; }
.btn-primary { background: var(--gold) !important; color: #fff !important; }
.btn-primary:hover { background: var(--gold-light) !important; box-shadow: 0 8px 24px rgba(224,120,48,0.35) !important; }
.btn-outline { border-color: var(--border2) !important; color: var(--ivory-dim) !important; }
.btn-outline:hover { border-color: var(--gold) !important; color: var(--gold) !important; background: var(--gold-glow) !important; }

.skeleton {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%) !important;
  background-size: 200% 100% !important;
}
/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f7f4ef;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
@media(max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 80px 0;
  max-width: 580px;
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.hero-visual {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #f7f4ef;
  z-index: 1;
}

@media(max-width: 1100px) { .hero-left { padding: 60px 24px; max-width: 100%; } }
@media(max-width: 768px)  { .hero-left { padding: 60px 20px; } }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  background: var(--gold-dim);
  border: 1px solid rgba(224,120,48,0.22);
  border-radius: 30px;
  padding: 7px 18px 7px 10px;
  width: fit-content;
  opacity: 0;
  animation: heroIn 0.8s 0.2s ease forwards;
}
.hero-eyebrow .dot {
  width: 9px; height: 9px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(224,120,48,0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(224,120,48,0); }
}
.hero-eyebrow span { font-size: 12px; font-weight: 500; color: var(--gold); letter-spacing: 0.2px; }

.hero-title {
  opacity: 0;
  animation: heroIn 0.9s 0.35s ease forwards;
  margin-bottom: 24px;
  color: var(--ivory) !important;
}
.hero-title em { color: var(--gold) !important; }

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--ivory-dim);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  animation: heroIn 0.8s 0.5s ease forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroIn 0.8s 0.65s ease forwards;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Colonne image */
.hero-visual {
  position: relative;
  overflow: hidden;
  background: #f7f4ef;
  /* Rester strictement dans la colonne droite */
  z-index: 1;
}
.hero-visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.hero-visual-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  opacity: 0; animation: heroIn 1.2s 0.5s ease forwards;
}
.hero-visual-inner.no-img img { display: none; }
.hero-placeholder-icon {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; font-size: 80px;
  color: var(--dim);
  text-align: center;
  opacity: 0; animation: heroIn 0.9s 0.6s ease forwards;
}
.hero-visual-inner img ~ .hero-placeholder-icon { display: none; }
.hero-visual-inner.no-img .hero-placeholder-icon { display: flex; }
.hero-placeholder-icon p {
  font-size: 12px; color: var(--muted);
  font-family: var(--font-body); line-height: 1.5;
}
.hero-placeholder-icon code {
  background: var(--bg2); padding: 2px 6px;
  border-radius: 4px; font-size: 11px; color: var(--muted);
}

/* Badges flottants */
.hero-badge {
  position: absolute;
  bottom: 80px; left: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  opacity: 0; animation: heroIn 0.8s 1.0s var(--spring) forwards;
}
.hero-badge .hb-icon {
  width: 38px; height: 38px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.hero-badge strong { display: block; font-size: 13px; color: var(--ivory); font-weight: 600; }
.hero-badge span   { font-size: 11px; color: var(--muted); }

.hero-badge2 {
  position: absolute;
  top: 100px; right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  opacity: 0; animation: heroIn 0.8s 1.2s var(--spring) forwards;
}
.hero-badge2 .stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; }
.hero-badge2 span:last-child { font-size: 12px; color: var(--ivory); font-weight: 500; }

/* ── STATS ─────────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
}
@media(max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg2); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; color: var(--muted); }

/* ── DESTINATIONS ───────────────────────────────────────────── */
.destinations-section { padding: 100px 0 80px; background: var(--bg); }
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media(max-width: 900px) { .destinations-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 540px) { .destinations-grid { grid-template-columns: 1fr; } }

/* Surcharge cartes produit pour fond clair */
.product-card { background: var(--surface) !important; border-color: var(--border) !important; box-shadow: var(--shadow) !important; }
.product-card:hover { border-color: var(--gold) !important; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(224,120,48,0.3) !important; }
.product-card-name { color: var(--ivory) !important; }
.product-card-desc { color: var(--muted) !important; }
.product-card-img  { background: var(--bg2) !important; }
.product-price     { color: var(--gold) !important; }
.product-price .price-from { color: var(--muted) !important; }
.card-flag { color: var(--ivory-dim) !important; background: rgba(255,255,255,0.85) !important; border-color: var(--border) !important; }

/* ── COMMENT CA MARCHE ─────────────────────────────────────── */
.how-section {
  padding: 100px 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,120,48,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.how-header {
  text-align: center;
  margin-bottom: 64px;
}
.how-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* Ligne de connexion entre les étapes */
.steps-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 46px;
  left: calc(16.66% + 12px);
  right: calc(16.66% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  opacity: 0.4;
}
@media(max-width: 768px) {
  .steps-track { grid-template-columns: 1fr; gap: 20px; }
  .steps-track::before { display: none; }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 1;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.step-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  position: relative;
  flex-shrink: 0;
}
.step-num-badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  color: var(--ivory); line-height: 1.2;
}
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

.step-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}
.step-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.step-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--dim);
}
.step-card-img img:not([src=""]):not([src="undefined"]) + .step-img-placeholder { display: none; }

/* ── LIFESTYLE PHOTOS ──────────────────────────────────────── */
.lifestyle-section { padding: 80px 0; background: var(--bg); }

.lifestyle-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 200px;
  gap: 14px;
  margin-top: 40px;
}
@media(max-width: 900px) { .lifestyle-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } }
@media(max-width: 540px) { .lifestyle-grid { grid-template-columns: 1fr; } }

.lifestyle-img {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
  cursor: pointer;
}
.lifestyle-img.lifestyle-main { grid-row: 1 / 3; }
@media(max-width: 900px) { .lifestyle-img.lifestyle-main { grid-row: auto; } }

.lifestyle-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.lifestyle-img:hover img { transform: scale(1.05); }

.lifestyle-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; font-size: 38px; color: var(--dim);
  pointer-events: none;
}
.lifestyle-ph p { font-size: 11px; color: var(--dim); text-align: center; line-height: 1.4; }
.lifestyle-img img:not([src=""]) ~ .lifestyle-ph { display: none; }

.lifestyle-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(28,23,20,0.55) 0%, transparent 100%);
  color: #fff;
  font-size: 12px; font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}
.lifestyle-img:hover .lifestyle-overlay { opacity: 1; }

/* ── REASSURANCE ───────────────────────────────────────────── */
.trust-section { padding: 80px 0; background: var(--bg2); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media(max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.trust-item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.trust-icon {
  font-size: 24px;
  width: 50px; height: 50px;
  background: var(--gold-dim);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.trust-item h3 { font-size: 15px; font-weight: 600; color: var(--ivory); }
.trust-item p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-section { padding: 100px 0; background: var(--bg); }

.faq-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
@media(max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 40px; } }

.faq-left h2 { color: var(--ivory); }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
}
.faq-question span {
  font-size: 15px;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.45;
  flex: 1;
  transition: color var(--transition);
}
.faq-question:hover span { color: var(--gold); }

.faq-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 20px;
}
.faq-answer a { color: var(--gold); }

/* ── CTA FINAL ─────────────────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(140deg, #1a3d4a 0%, #0e2530 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(224,120,48,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.05;
}
.cta-section h2 em { color: #f0a050; font-style: italic; }
.cta-section p { color: rgba(255,255,255,0.5); font-size: 16px; margin-bottom: 36px; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer { background: var(--bg2) !important; border-top-color: var(--border) !important; }
.footer-brand p, .footer-col a, .footer-bottom { color: var(--muted) !important; }
.footer-col h4 { color: var(--ivory-dim) !important; }
.footer-col a:hover { color: var(--gold) !important; }
.footer-bottom { border-top-color: var(--border) !important; }
