:root { --card-bg: #FFFFFF; --accent-pink: #FCE7F0; --primary-magenta: #D42759; --text-main: #1e293b; --border-color: #cbd5e1; --muted-text: #64748b; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif; }
/* min-height: 100vh inclut, sur mobile, l'espace caché derrière la barre d'adresse du
   navigateur — ce qui laissait un bandeau blanc visible en bas de la page (le contenu
   était mis en page pour une hauteur "large viewport" jamais entièrement visible). 100dvh
   suit la hauteur réellement visible ; déclarée en second, les navigateurs qui ne la
   connaissent pas gardent simplement le 100vh ci-dessus en repli. */
body { margin: 0; padding: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: var(--text-main); }
.hidden { display: none !important; }

.hero { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: linear-gradient(135deg, #F5F3FC, #E3DEF5, #D8CFF0, #E3DEF5); background-size: 200% 200%; animation: gradientShift 10s ease infinite; position: relative; overflow: hidden; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.bg-route{position:absolute; inset:0; width:100%; height:100%; opacity:.4; pointer-events: none;}
.dot{transform-box:fill-box;transform-origin:center;}
.dot-a{animation:floatA 3.2s ease-in-out infinite;}
.dot-b{animation:floatB 3.6s ease-in-out infinite;animation-delay:.4s;}
.dot-c{animation:floatC 2.8s ease-in-out infinite;animation-delay:.7s;}
.dot-d{animation:floatD 4s ease-in-out infinite;animation-delay:.2s;}
.dot-e{animation:floatA 3.4s ease-in-out infinite;animation-delay:1s;}
.dot-f{animation:floatB 3s ease-in-out infinite;animation-delay:.5s;}
.dot-g{animation:floatC 3.8s ease-in-out infinite;animation-delay:1.3s;}
@keyframes floatA{ 0%,100%{transform:translate(0,0);} 50%{transform:translate(16px,-20px);} }
@keyframes floatB{ 0%,100%{transform:translate(0,0);} 50%{transform:translate(-18px,18px);} }
@keyframes floatC{ 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(14px,16px) scale(1.35);} }
@keyframes floatD{ 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-20px,-14px) scale(.75);} }
.route-line{ stroke-dasharray:1 12; animation:flow 14s linear infinite; }
@keyframes flow{ to{stroke-dashoffset:-260;} }

.blob{position:absolute;border-radius:50%;filter:blur(40px);pointer-events:none; z-index: 0;}
.blob-1{ top:-10%; left:-5%; width:500px; height:500px; background:radial-gradient(circle,rgba(212,39,89,.15),transparent 70%); animation:blobMove1 15s ease-in-out infinite; }
.blob-2{ bottom:-15%; right:-5%; width:600px; height:600px; background:radial-gradient(circle,rgba(139,92,246,.15),transparent 70%); animation:blobMove2 16s ease-in-out infinite; }
.blob-3{ top:25%; left:45%; width:400px; height:400px; background:radial-gradient(circle,rgba(91,141,255,.12),transparent 70%); animation:blobMove3 13s ease-in-out infinite; }
@keyframes blobMove1{0%,100%{transform:translate(0,0);}50%{transform:translate(50px,30px);}}
@keyframes blobMove2{0%,100%{transform:translate(0,0);}50%{transform:translate(-50px,-40px);}}
@keyframes blobMove3{0%,100%{transform:translate(0,0);}50%{transform:translate(40px,-50px);}}

/* z-index: 10 ici piégeait le menu de langue (z-index: 3000, mais enfant de .nav) sous
   .copy : deux éléments frères avec le même z-index (10) sont départagés par l'ordre du
   DOM, et .copy vient après .nav — tout .nav, y compris ses enfants à z-index élevé,
   passait donc derrière le texte "You have a destination...". .nav doit dominer .copy
   pour que son menu déroulant reste au premier plan, quel que soit le z-index interne
   de ses enfants. */
.nav{ display:flex; align-items:center; justify-content:space-between; padding: 40px 6%; position:relative; z-index: 200; width: 100%;}
.brand{display:flex;align-items:center;gap:11px;}
.brand span{font-family:'Poppins',sans-serif;font-weight:600;font-size:22px;color:#2E3644;}
.pin{width:36px;height:36px;flex-shrink:0;}

.nav-right{display:flex;align-items:center;gap:35px;}
.nav-link{font-family:'Poppins',sans-serif;font-size:15px;font-weight:500;color:#4A5262;transition:color .2s; cursor: pointer;}
.nav-link:hover {color: var(--primary-magenta);}
.nav-actions{display:flex;align-items:center;gap:16px; position: relative;}
.icon-btn{ width:42px;height:42px; border-radius:50%; background:#fff; display:flex;align-items:center;justify-content:center; color:#2E3644; box-shadow:0 4px 14px rgba(80,60,120,.08); cursor: pointer; transition: 0.2s; border: none; outline: none; }
.icon-btn:hover { background: #FCE7F0; color: var(--primary-magenta); }
.login-btn-v5{ background:transparent; border:2px solid #2E3644; outline: none; color:#2E3644; font-family:'Poppins',sans-serif; font-size:14px; font-weight:600; padding:10px 24px; border-radius:100px; cursor: pointer; transition: 0.2s; }
.login-btn-v5:hover { background: #2E3644; color: white; }

.copy{ position:relative; z-index: 10; max-width:680px; margin: auto auto auto 8%; padding-bottom: 5%;}
.copy h1{ font-weight:700; font-size:60px; line-height:1.15; color:#212832; letter-spacing:-1px; margin-bottom:24px; text-shadow: 0 2px 10px rgba(255,255,255,0.6); }
.copy p{ font-weight:500; font-size:18px; line-height:1.6; color:#4A5262; margin-bottom:40px; max-width:520px; }
.cta-row{display:flex;align-items:center;gap:24px;}
.cta-primary{ display:inline-flex;align-items:center;gap:10px; background:var(--primary-magenta);color:#fff; font-size:16px;font-weight:600; padding:16px 32px;border-radius:100px; border:none; outline:none; box-shadow:0 12px 26px rgba(212,39,89,.3); cursor: pointer; transition: 0.3s; }
.cta-primary:hover { transform: translateY(-3px); box-shadow:0 16px 32px rgba(212,39,89,.4); }
.cta-secondary{ font-size:16px;font-weight:600;color:#2E3644; cursor: pointer; transition: color 0.2s;}
.cta-secondary:hover { color: var(--primary-magenta); text-decoration: underline;}

.lang-menu { position: absolute; right: 90px; top: 60px; background: white; border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); width: 120px; overflow: hidden; z-index: 3000;}
.lang-option { padding: 10px 15px; cursor: pointer; font-size: 0.9rem; color: var(--text-main); transition: background 0.2s; }
.lang-option:hover { background: var(--accent-pink); color: var(--primary-magenta); }

.google-popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 999999; display: flex; justify-content: center; align-items: center; }
.google-popup-box { background: white; padding: 30px; border-radius: 12px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.2); width: 340px; }
.google-account-mock { display: flex; align-items: center; gap: 15px; padding: 10px; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; transition: 0.2s; text-align: left; margin-top: 15px;}
.google-account-mock:hover { background: #f8fafc; border-color: #cbd5e1; }
.google-avatar { width: 40px; height: 40px; background: #1976D2; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0;}
.google-info { display: flex; flex-direction: column; overflow: hidden;}
.google-info strong { font-size: 0.95rem; color: #1e293b; }
.google-info span { font-size: 0.8rem; color: #64748b; }

.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: white; border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; width: 90%; max-width: 800px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); z-index: 9999; color: var(--text-main);}
.cookie-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-content p { font-size: 0.9rem; margin: 0; }
.cookie-content a { color: var(--primary-magenta); font-weight: bold; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn { background: var(--card-bg); border: 1px solid var(--border-color); color: var(--primary-magenta); padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s; }
.action-btn { background: var(--primary-magenta); color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s; }

/* MODALE "COOKIE PREFERENCES" (ouverte par le bouton "Manage" de la bannière cookies) */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); z-index: 10000; display: flex; justify-content: center; align-items: center; }
.modal-content { background: white; width: 90%; max-width: 420px; border-radius: 16px; padding: 32px 28px; overflow-y: auto; position: relative; }
.modal .close-btn { position: absolute; top: 14px; right: 16px; font-size: 1.7rem; color: #94a3b8; cursor: pointer; text-shadow: none; }
.pref-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.pref-row:last-of-type { border-bottom: none; }
.pref-row-label { font-size: 13px; font-weight: 700; color: var(--text-main); }
.pref-row-sub { font-size: 11.5px; color: #94a3b8; margin-top: 2px; }
.toggle { width: 46px; height: 26px; border-radius: 100px; position: relative; cursor: pointer; flex-shrink: 0; transition: 0.3s; }
.toggle.on { background: var(--primary-magenta); }
.toggle.off { background: #e2e8f0; }
.toggle::after { content: ''; position: absolute; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: 0.3s; }
.toggle.on::after { right: 3px; }
.toggle.off::after { left: 3px; }

/* MODALE D'AUTHENTIFICATION */
.auth-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 9999; display: flex; justify-content: center; align-items: center; }
.auth-modal-content { width: 920px; max-width: 94vw; height: 620px; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.4); display: flex; position: relative; background: #fff; }
.close-auth-btn { position: absolute; top: 16px; right: 20px; font-size: 26px; cursor: pointer; color: rgba(255,255,255,.7); z-index: 5; line-height: 1; border: none; background: transparent; outline: none; }
.close-auth-btn:hover { color: #fff; }

/* Flèche retour de l'étape "Account" (demande du 13/09/2026) — contrairement à
   .close-auth-btn ci-dessus (coin haut-droit, sur le panneau image de droite, d'où sa
   couleur blanche), celle-ci vit au-dessus de .auth-left (fond blanc), donc couleur foncée. */
.auth-back-btn { position: absolute; top: 20px; left: 20px; width: 32px; height: 32px; border-radius: 50%; border: none; background: #f1f5f9; color: #64748b; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: .15s; }
.auth-back-btn:hover { background: #e2e8f0; color: #212832; }

.auth-left { flex: 1; background: #fff; padding: 40px 46px 40px 46px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.auth-left::-webkit-scrollbar { width: 6px; }
.auth-left::-webkit-scrollbar-thumb { background-color: #e2e8f0; border-radius: 10px; }

/* BARRE DE PROGRESSION (STEPPER) */
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 30px; width: 100%; }
.step-container { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.step-container:hover { opacity: 0.8; }
.step-dot { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; }
.step-label { white-space: nowrap; }
.step-line { flex: 1; height: 2px; transition: background 0.3s; }

.auth-step { width: 100%; animation: fadeIn 0.3s ease; }
.auth-step h2 { font-size: 24px; font-weight: 700; color: #1e293b; margin-bottom: 5px; }
.auth-step p { font-size: 12.5px; color: #64748b; line-height: 1.5; margin-bottom: 20px; }

.g-icon, .f-icon, .m-icon { width: 20px; height: 20px; flex-shrink: 0; }
.social-btn { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600; cursor: pointer; margin-bottom: 12px; background: #fff; border: 1.5px solid #e5e7eb; color: #1e293b; transition: 0.2s;}
.social-btn:hover { background: #f8fafc; border-color: #cbd5e1; }
.terms { font-size: 11.5px !important; line-height: 1.6; text-align: center; color: #94a3b8 !important; margin-top: 10px; }

.input-row { display: flex; gap: 15px; margin-bottom: 12px;}
.input-group { display: flex; flex-direction: column; width: 100%; margin-bottom: 12px;}
.input-group label { font-size: 12px; font-weight: 700; color: var(--text-main); margin-bottom: 5px; }
.field-input { width: 100%; padding: 11px 14px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 13px; color: #1e293b; font-family: 'Poppins', sans-serif; transition: 0.2s;}
.field-input:focus { outline: none; border-color: #D42759; box-shadow: 0 0 0 3px #FCE7F0; }

select.field-input { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 36px; cursor: pointer;}

.pass-card { position: relative; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 12px; text-align: center; font-size: 12.5px; font-weight: 700; color: #64748b; cursor: pointer; transition: 0.2s ease;}
.pass-card input { position: absolute; opacity: 0; cursor: pointer; }
.pass-card:has(input:checked), .pass-card.selected { background: #FCE7F0; border-color: #D42759; color: #D42759; }

.privacy-choice-group { display: flex; flex-direction: column; gap: 10px; }
.privacy-choice-option { position: relative; display: flex; flex-direction: column; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 12px 14px 12px 40px; cursor: pointer; transition: 0.2s ease; }
.privacy-choice-option input { position: absolute; left: 14px; top: 14px; width: 16px; height: 16px; accent-color: #D42759; cursor: pointer; margin: 0; }
.privacy-choice-option:has(input:checked) { background: #FCE7F0; border-color: #D42759; }
.privacy-choice-title { font-size: 13px; font-weight: 700; color: var(--text-main); }
.privacy-choice-option:has(input:checked) .privacy-choice-title { color: #D42759; }
.privacy-choice-desc { font-size: 11.5px; color: #64748b; margin-top: 2px; }

.total-row { display: flex; justify-content: space-between; align-items: center; margin: 15px 0;}
.total-label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; }
.total-price { font-size: 22px; font-weight: 800; color: #D42759; }

.pay-btn { width: 100%; padding: 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; text-align: center; color: #fff; background: #D42759; border: none; font-family: 'Poppins', sans-serif; box-shadow: 0 10px 22px rgba(212,39,89,.28); cursor: pointer; transition: 0.2s; margin-top: 5px;}
.pay-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(212,39,89,.35); }
.pay-btn:disabled { background: #cbd5e1; cursor: not-allowed; box-shadow: none; transform: none; }

.brand-panel { flex: 1; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background: linear-gradient(155deg,#2E3644 0%,#3d3159 60%,#4a2f52 100%); }
.auth-blob { position: absolute; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.auth-blob-1 { top: -60px; left: -40px; width: 220px; height: 220px; background: radial-gradient(circle,rgba(212,39,89,.4),transparent 70%); animation: authBlobMove1 11s ease-in-out infinite; }
.auth-blob-2 { bottom: -60px; right: -40px; width: 220px; height: 220px; background: radial-gradient(circle,rgba(139,92,246,.4),transparent 70%); animation: authBlobMove2 13s ease-in-out infinite; }
.auth-blob-3 { top: 35%; left: 55%; width: 150px; height: 150px; background: radial-gradient(circle,rgba(91,141,255,.32),transparent 70%); animation: authBlobMove3 9.5s ease-in-out infinite; }
@keyframes authBlobMove1 { 0%{transform:translate(0,0) scale(1);} 50%{transform:translate(34px,26px) scale(1.15);} 100%{transform:translate(0,0) scale(1);} }
@keyframes authBlobMove2 { 0%{transform:translate(0,0) scale(1);} 50%{transform:translate(-30px,-22px) scale(1.12);} 100%{transform:translate(0,0) scale(1);} }
@keyframes authBlobMove3 { 0%{transform:translate(0,0) scale(1);} 50%{transform:translate(-20px,18px) scale(.85);} 100%{transform:translate(0,0) scale(1);} }
.brand-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;}

.spinner { border: 4px solid var(--accent-pink); border-top: 4px solid var(--primary-magenta); border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 900px) {
    .auth-modal-content { flex-direction: column; height: 90vh; overflow-y: auto;}
    .brand-panel { display: none; }
    .stepper { display: none; } /* On masque la timeline sur mobile pour gagner de la place */
}

/* ==========================================
   RESPONSIVE MOBILE — page d'accueil (index.html)
   N'affecte que les écrans étroits, rien ne change sur desktop.
   ========================================== */
@media (max-width: 760px) {
    /* ====== ACCUEIL MOBILE (refonte du 01/11/2026, maquette accueil_mobile_final.html) ====== */
    .nav { padding: 8px 20px; flex-wrap: nowrap; }
    .brand { flex: 1; min-width: 0; }
    .brand span { font-size: 17px; }
    .pin { width: 30px; height: 30px; }

    .nav-right { justify-content: space-between; gap: 0; }
    .nav-link { display: none; } /* Destinations / Artists passent dans le menu si besoin, cachés pour garder l'en-tête léger sur mobile */
    .nav-actions { gap: 10px; margin-left: auto; }
    .icon-btn { width: 40px; height: 40px; }
    .login-btn-v5 { height: 40px; display: flex; align-items: center; justify-content: center; padding: 0 18px; font-size: 13px; }

    .lang-menu { right: 16px; top: 56px; }

    .hero { min-height: 100svh; }
    /* Audit visuel du 13/09/2026 : .bg-route (ligne d'itinéraire + points décoratifs) a un
       viewBox large (1180x600) pensé pour un hero desktop très étiré, et
       preserveAspectRatio="xMidYMid slice" l'agrandit pour couvrir un écran mobile bien
       plus haut que large — un des points (dot-g, rose vif, le plus visible) atterrit alors
       en plein milieu du bouton "See Demo" au lieu de rester une décoration discrète en
       arrière-plan. Caché sur mobile ; remplacé ci-dessous par .bg-route-m, un second SVG
       au viewBox portrait dédié au mobile (reprend les mêmes classes route-line/dot-x pour
       hériter automatiquement de la synchronisation --sync-t). */
    .bg-route { display: none; }
    .bg-route-m { display: block !important; position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
    .blob-1 { width: 380px; height: 380px; }
    .blob-2 { width: 440px; height: 440px; }
    .blob-3 { width: 300px; height: 300px; }

    .copy { margin: auto 24px 20px 24px; max-width: 100%; padding-bottom: 0; }
    .copy h1 { font-size: 35px; line-height: 1.15; letter-spacing: -0.6px; margin-bottom: 12px; }
    .hero-title-accent { color: var(--primary-magenta); }
    .copy p { font-size: 15px; line-height: 1.55; color: #4A5262; margin-bottom: 26px; max-width: 100%; }

    .cta-row { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
    .cta-primary { width: 100%; height: 56px; justify-content: center; padding: 15px 28px; font-size: 15px; }
    .cta-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border-radius: 999px; background: rgba(255,255,255,.75); backdrop-filter: blur(6px); border: 1.5px solid rgba(46,54,68,.12); color: #2E3644; font-size: 14px; font-weight: 600; }
    .cta-secondary:hover { color: #2E3644; text-decoration: none; }
    .cta-play-dot { display: flex !important; width: 24px; height: 24px; border-radius: 50%; background: #2E3644; align-items: center; justify-content: center; flex-shrink: 0; }
    .cta-play-dot svg { width: 10px; height: 10px; color: #fff; margin-left: 1px; }

    /* margin-top:auto hérité du style inline desktop est neutralisé ici : avec deux marges
       auto (.copy + .index-footer) sur le même conteneur flex en colonne, l'espace libre se
       partage entre les deux au lieu de ne pousser que .copy vers le bas, juste au-dessus
       du footer comme demandé. */
    .index-footer { margin-top: 0 !important; flex-direction: column; align-items: center !important; text-align: center; gap: 14px !important; font-size: 11.5px !important; padding: 24px 6% calc(20px + env(safe-area-inset-bottom)) 6% !important; }
    .index-footer > div:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 20px !important; font-size: 11.5px; }

    /* Modale d'authentification en plein écran sur mobile */
    .auth-modal { padding: 0; align-items: flex-end; }
    .auth-modal-content { width: 100%; max-width: 100%; height: 92vh; border-radius: 20px 20px 0 0; }
    .auth-left { padding: 30px 22px 26px 22px; }
    .auth-step h2 { font-size: 20px; }
    .close-auth-btn { color: #94a3b8; top: 14px; right: 16px; }
    .auth-back-btn { top: 14px; left: 16px; }
}
