/* ==========================================================================
   Skyland Voyages — charte reprise du design Lovable
   Or #C4A062 · Encre #13233F · Fond sable #F7F5F0
   ========================================================================== */
:root {
  --or: #C4A062;
  --or-fonce: #A9884A;
  --or-clair: #F3EBDD;
  --encre: #13233F;
  --encre-2: #1B2B4A;
  --texte: #1F2937;
  --gris: #6B7280;
  --gris-clair: #E7E2D8;
  --sable: #F7F5F0;
  --blanc: #FFFFFF;
  --bleu-lien: #1E3A6B;
  --vert-wa: #25D366;
  --rayon: 16px;
  --ombre: 0 18px 40px rgba(19, 35, 63, .08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --script: "Great Vibes", cursive;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--texte); background: var(--blanc); font-size: 1rem; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .serif { font-family: var(--serif); color: var(--encre); font-weight: 500; }
a { color: var(--bleu-lien); text-decoration: none; }
a:hover { color: var(--or-fonce); }
.container-sky { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Boutons ---------- */
.btn-or { background: var(--or); color: var(--encre); border: 0; border-radius: 10px; padding: .8rem 1.5rem; font-weight: 600; transition: background .2s, transform .2s; }
.btn-or:hover, .btn-or:focus { background: var(--or-fonce); color: var(--encre); transform: translateY(-1px); }
.btn-blanc { background: var(--blanc); color: var(--encre); border: 0; border-radius: 10px; padding: .8rem 1.5rem; font-weight: 600; }
.btn-blanc:hover { background: var(--sable); color: var(--encre); }
.btn-contour { background: var(--blanc); color: var(--encre); border: 1px solid var(--gris-clair); border-radius: 10px; padding: .55rem 1rem; font-weight: 500; font-size: .95rem; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.btn-contour:hover { border-color: var(--or); color: var(--encre); }
.btn-contour-clair { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; padding: .8rem 1.5rem; font-weight: 500; }
.btn-contour-clair:hover { border-color: var(--or); color: #fff; }
.btn-pilule { background: #fff; color: var(--encre); border-radius: 10px; padding: .45rem .9rem; font-size: .92rem; font-weight: 500; border: 0; white-space: nowrap; }
.btn-pilule:hover { background: var(--or); color: var(--encre); }
.btn-whatsapp { background: var(--vert-wa); color: #fff; border: 0; border-radius: 10px; padding: .6rem 1rem; font-weight: 600; }
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid #EEE9E0; }
.entete .navbar { padding: .9rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--encre); }
.logo-rond { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--or); display: grid; place-items: center; color: var(--or); }
.logo-texte { line-height: 1; }
.logo-texte strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; display: block; color: var(--encre); }
.logo-texte span { font-size: .7rem; letter-spacing: .38em; color: var(--or); }
.entete .nav-link { color: #4B5563; font-weight: 500; padding: .5rem .9rem !important; }
.entete .nav-link:hover, .entete .nav-link.active { color: var(--encre); }

/* ---------- Titres de section ---------- */
.surtitre { color: var(--or); text-transform: uppercase; letter-spacing: .28em; font-size: .78rem; font-weight: 600; margin-bottom: .9rem; }
.titre-section { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.filet { width: 56px; height: 2px; background: var(--or); margin: 1.2rem 0 1.4rem; }
.filet.centre { margin-left: auto; margin-right: auto; }
.sous-titre { color: var(--gris); font-size: 1.1rem; }
.section { padding: 96px 0; }
.section-sable { background: var(--sable); }
.bandeau-page { background: var(--sable); padding: 110px 0 100px; }
.bandeau-page h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* ---------- Héros ---------- */
.heros { position: relative; min-height: 86vh; display: flex; align-items: center; color: #fff;
  background: var(--encre) url('/img/site/hero.jpg') center/cover no-repeat; }
.heros::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,24,45,.78) 0%, rgba(13,24,45,.45) 55%, rgba(13,24,45,.15) 100%); }
.heros .contenu { position: relative; padding: 120px 0 180px; }
.heros h1 { color: #fff; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1.02; font-weight: 500; }
.heros h1 em { color: var(--or); font-style: italic; }
.heros p.lead { max-width: 640px; font-size: 1.3rem; color: rgba(255,255,255,.9); margin: 1.8rem 0 2.2rem; }
.heros .atouts { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2.4rem; color: rgba(255,255,255,.88); }
.heros .atouts i { color: var(--or); margin-right: .45rem; }

/* ---------- Moteur de demande ---------- */
.moteur { position: relative; z-index: 2; margin-top: -120px; background: #fff; border-radius: 20px; box-shadow: var(--ombre); padding: 28px; border: 1px solid #F0ECE4; }
.onglets-trajet { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.onglets-trajet .btn-check + label { border: 1px solid var(--gris-clair); border-radius: 999px; padding: .5rem 1.2rem; color: #4B5563; background: #fff; cursor: pointer; }
.onglets-trajet .btn-check:checked + label { background: var(--or-clair); border-color: var(--or); color: var(--encre); }
.moteur label.form-label { font-size: .85rem; color: #4B5563; margin-bottom: .35rem; }
.moteur .note { font-size: .82rem; color: var(--gris); margin-top: .9rem; }

/* ---------- Formulaires ---------- */
.form-control, .form-select { border-radius: 10px; border-color: var(--gris-clair); padding: .8rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--or); box-shadow: 0 0 0 .2rem rgba(196,160,98,.18); }
.form-check-input:checked { background-color: var(--or); border-color: var(--or); }

/* ---------- Cartes services ---------- */
.carte-service { background: #fff; border: 1px solid #EEE9E0; border-radius: var(--rayon); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.carte-service:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-service .media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--encre-2), #2E4A7A); background-size: cover; background-position: center; }
.carte-service .corps { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.carte-service h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.carte-service p { color: var(--gris); flex: 1; }
.carte-service .actions { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: 1rem; }

/* ---------- Destinations ---------- */
.grille-destinations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grille-destinations .large { grid-column: span 2; }
.grille-destinations.accueil { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 310px; }
.grille-destinations.accueil .item:first-child { grid-row: span 2; grid-column: auto; }
.grille-destinations.accueil .large:not(:first-child) { grid-column: span 1; }
.grille-destinations.accueil .item:last-child { grid-column: 1; }
.destination { position: relative; border-radius: var(--rayon); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(135deg, var(--encre-2), #3A5A8F) center/cover no-repeat; }
.destination::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,35,.75) 0%, rgba(10,18,35,.25) 55%, rgba(10,18,35,.35) 100%); transition: background .3s; }
.destination:hover::before { background: linear-gradient(0deg, rgba(10,18,35,.85) 0%, rgba(10,18,35,.35) 60%, rgba(10,18,35,.4) 100%); }
.destination .legende { position: relative; width: 100%; padding: 26px 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.destination .pays { font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; opacity: .9; }
.destination .ville { font-family: var(--serif); font-size: 2rem; color: #fff; line-height: 1.1; }

/* ---------- Pourquoi ---------- */
.visuel-pourquoi { border-radius: var(--rayon); min-height: 560px; background: linear-gradient(135deg, var(--encre-2), #2E4A7A) center/cover no-repeat; }
.atout { display: flex; gap: 1.2rem; margin-bottom: 1.8rem; }
.icone-ronde { flex: 0 0 54px; height: 54px; border-radius: 50%; border: 1px solid var(--or); color: var(--or); display: grid; place-items: center; font-size: 1.3rem; background: #fff; }
.atout h4 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; color: var(--encre); margin-bottom: .2rem; }
.atout p { color: var(--gris); margin: 0; }

/* ---------- Étapes ---------- */
.etapes { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.etapes::before { content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: #E3D6BE; }
.etape { position: relative; }
.etape .icone-ronde { margin: 0 auto 1.4rem; width: 58px; height: 58px; }
.etape .num { font-family: var(--serif); color: var(--or); font-size: 1rem; }
.etape h4 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; color: var(--encre); margin: .4rem 0; }
.etape p { color: var(--gris); font-size: .98rem; }

/* ---------- Témoignages ---------- */
.carte-temoignage { max-width: 690px; margin: 0 auto; border: 1px dashed #DCD5C8; border-radius: var(--rayon); padding: 48px 40px; text-align: center; }
.carte-temoignage .bi { font-size: 2.6rem; color: var(--or); }
.carte-temoignage h3 { font-size: 1.6rem; margin: 1rem 0 .6rem; }

/* ---------- Appel à l'action ---------- */
.cta { background: var(--encre); color: #fff; text-align: center; padding: 96px 0; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta p { color: rgba(255,255,255,.8); font-size: 1.1rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: rgba(255,255,255,.82); padding: 72px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.pied h5 { color: var(--or); font-family: var(--sans); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1.4rem; font-weight: 600; }
.pied a { color: rgba(255,255,255,.82); }
.pied a:hover { color: var(--or); }
.pied ul { list-style: none; padding: 0; }
.pied li { margin-bottom: .75rem; }
.pied .logo-texte strong { color: #fff; }
.pied .slogan { font-family: var(--script); color: var(--or); font-size: 1.8rem; margin: 1.2rem 0; }
.reseau { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: inline-grid; place-items: center; margin-right: .5rem; }
.pied .bas { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding: 22px 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.pied .contact i { color: var(--or); margin-right: .6rem; }

/* ---------- Réservation ---------- */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 2.2rem; }
.stepper .pas { border-top: 3px solid #EAE5DC; padding-top: .7rem; color: var(--gris); font-size: .92rem; }
.stepper .pas.fait { border-color: var(--or); }
.stepper .pas.actif { border-color: var(--or); color: var(--encre); font-weight: 600; }
.carte-form { background: #fff; border: 1px solid #EEE9E0; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(19,35,63,.04); }
.carte-form .form-label { font-weight: 500; color: var(--encre); }
.recap { background: var(--sable); border-radius: 12px; padding: 14px 16px; height: 100%; }
.recap small { color: var(--gris); display: block; }
.recap strong { font-weight: 500; color: var(--encre); }
.etape-form { display: none; }
.etape-form.visible { display: block; animation: apparition .3s ease; }
@keyframes apparition { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Suivi ---------- */
.frise { list-style: none; padding: 0; margin: 0; }
.frise li { position: relative; padding: 0 0 1.4rem 2.2rem; color: var(--gris); }
.frise li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #DDD5C6; background: #fff; }
.frise li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: #EAE5DC; }
.frise li:last-child::after { display: none; }
.frise li.atteinte { color: var(--encre); }
.frise li.atteinte::before { background: var(--or); border-color: var(--or); }
.frise li.courante { font-weight: 600; }

/* ---------- WhatsApp flottant ---------- */
.wa-flottant { position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: var(--vert-wa); color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 25px rgba(37,211,102,.35); }
.wa-flottant:hover { color: #fff; transform: scale(1.05); }

/* ---------- Divers ---------- */
.alerte-or { background: var(--or-clair); border: 1px solid #E8D9BC; color: var(--encre); border-radius: 12px; padding: 14px 18px; }
.carte-simple { background: #fff; border: 1px solid #EEE9E0; border-radius: var(--rayon); padding: 28px; }

@media (max-width: 991px) {
  .grille-destinations, .grille-destinations.accueil { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .grille-destinations .large, .grille-destinations.accueil .item:first-child { grid-column: span 2; grid-row: auto; }
  .etapes { grid-template-columns: 1fr; text-align: left; }
  .etapes::before { display: none; }
  .etape { display: grid; grid-template-columns: 58px 1fr; column-gap: 1rem; }
  .etape .icone-ronde { grid-row: span 3; margin: 0; }
  .moteur { margin-top: -80px; }
  .visuel-pourquoi { min-height: 320px; }
}
@media (max-width: 575px) {
  .grille-destinations, .grille-destinations.accueil { grid-template-columns: 1fr; }
  .grille-destinations .large, .grille-destinations.accueil .item:first-child, .grille-destinations.accueil .item:last-child { grid-column: auto; }
  .section { padding: 68px 0; }
  .carte-form { padding: 24px; }
  .stepper .pas { font-size: .78rem; }
  .heros .contenu { padding: 90px 0 150px; }
}

/* ---- Suivi : frise datée ---- */
.pilule-statut { border: 1.5px solid var(--or); color: var(--encre); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.frise-suivi { list-style: none; padding: 0; margin: 0; }
.frise-suivi li { position: relative; padding: 0 0 1.3rem 2rem; display: flex; flex-direction: column; }
.frise-suivi li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--or); }
.frise-suivi li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 2px; width: 2px; background: #EAE5DC; }
.frise-suivi li:last-child::after { display: none; }
.frise-suivi li:last-child strong { color: var(--or-fonce); }
.frise-suivi small { color: var(--gris); }

/* ---- À propos ---- */
.liste-tirets { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.liste-tirets li { padding: .3rem 0; color: var(--encre); font-weight: 500; }
.liste-tirets li::before { content: "— "; color: var(--or); }
.carte-conseiller { background: #fff; border: 1px solid #ECE6DA; border-radius: 18px; padding: 2rem 1.2rem; text-align: center; height: 100%; }
.carte-conseiller .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem; background: var(--or-clair) center/cover no-repeat; display: grid; place-items: center; color: var(--or); font-size: 2.4rem; }
.carte-conseiller h3 { font-size: 1.2rem; margin-bottom: .2rem; }

/* ---- Contact ---- */
.carte-contact { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid #ECE6DA; border-radius: 16px; padding: 1.1rem 1.3rem; margin-bottom: .9rem; color: var(--encre); text-decoration: none; transition: border-color .2s; }
a.carte-contact:hover { border-color: var(--or); color: var(--encre); }
.carte-contact small { display: block; color: var(--gris); font-size: .8rem; }
.carte-contact strong { font-weight: 600; }

/* ---- Connexion plein écran ---- */
.page-connexion { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; margin: 0; background: #fff; }
.connexion-visuel { position: relative; background: var(--encre) url('/img/site/hero.jpg') center/cover no-repeat; display: flex; align-items: flex-end; padding: 3rem; }
.connexion-visuel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,35,63,.35), rgba(19,35,63,.85)); }
.connexion-marque { position: relative; color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: .6rem; }
.connexion-marque img { width: 240px; height: auto; }
.connexion-marque .slogan { font-family: var(--script); font-size: 2rem; color: var(--or); }
.connexion-form { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
@media (max-width: 991.98px) {
  .page-connexion { grid-template-columns: 1fr; }
  .connexion-visuel { min-height: 220px; padding: 1.5rem; }
  .connexion-marque img { width: 160px; }
}

/* ---- Logo image ---- */
.logo-img { height: 52px; width: auto; display: block; }
.pied .logo-img { height: 64px; }
.bo-side .logo-img { height: 44px; }
@media (max-width: 575.98px) { .logo-img { height: 42px; } }

/* ---- Reçu / suivi ---- */
.alerte-paye { display: flex; gap: .9rem; align-items: flex-start; background: #F0FDF4; border: 1px solid #BBF7D0; color: #14532D; border-radius: 14px; padding: 1rem 1.2rem; }
.alerte-paye i { font-size: 1.5rem; color: #15803D; }
.notif-suivi { display: flex; align-items: center; gap: .8rem; background: var(--sable, #F7F5F0); border-radius: 12px; padding: .8rem 1rem; }
.notif-suivi > i { color: var(--or); font-size: 1.2rem; }
.notif-suivi[hidden] { display: none; }

/* ---- Installation PWA ---- */
.lien-installer { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.lien-installer:hover { color: var(--or); }
[data-installer][hidden] { display: none !important; }

/* ---- Messages éphémères ---- */
.toasts { position: fixed; right: 16px; bottom: 96px; z-index: 2000; display: flex; flex-direction: column; gap: .6rem; max-width: min(380px, calc(100vw - 32px)); }
.toast-sky { display: flex; gap: .8rem; align-items: flex-start; background: #fff; color: var(--encre); border-left: 4px solid var(--or);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(19,35,63,.18); padding: .9rem 1rem; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.toast-sky.visible { opacity: 1; transform: none; }
.toast-sky > i { color: var(--or); margin-top: .15rem; }
.toast-sky .corps { flex: 1; min-width: 0; }
.toast-sky .texte { font-size: .88rem; color: var(--gris); margin-top: .15rem; }
.toast-sky .actions:empty { display: none; }
.toast-sky .actions { margin-top: .5rem; }
.toast-sky .actions a, .toast-sky .actions button { background: var(--or); color: var(--encre); border: 0; border-radius: 8px; padding: .3rem .8rem; font-size: .82rem; font-weight: 600; text-decoration: none; }
.toast-sky .fermer { background: none; border: 0; font-size: 1.3rem; line-height: 1; color: var(--gris); padding: 0 .2rem; }
