:root { --glow: #FF2D8A; --deep: #b8125d; --ink: #09090b; }
html { scroll-behavior: smooth; }
body { background: #fff; }
h1, h2, h3, h4, .font-serif { font-family: 'Playfair Display', serif; }

.brand-gradient {
  background: linear-gradient(180deg, #FF2D8A 0%, #FF2D8A 35%, #09090b 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-gradient-x {
  background: linear-gradient(120deg, #FF2D8A 0%, #b8125d 45%, #09090b 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; background: linear-gradient(145deg, #FF2D8A, #09090b); box-shadow: 0 6px 18px rgba(255,45,138,.28);
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 16px; font-weight: 600;
  padding: .85rem 1.25rem; font-size: .9rem; transition: transform .15s ease, box-shadow .2s ease, opacity .2s; letter-spacing: .01em; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #FF2D8A 0%, #b8125d 55%, #09090b 100%); box-shadow: 0 10px 26px rgba(255,45,138,.28); }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(255,45,138,.36); }
.btn-dark { color: #fff; background: #09090b; }
.btn-ghost { background: #fff; border: 1px solid #ececf0; color: #09090b; }
.btn-ghost:hover { border-color: #FF2D8A; color: #FF2D8A; }
.btn-danger { background: #fff; border: 1px solid #fecdd3; color: #be123c; }
.btn-sm { padding: .5rem .85rem; font-size: .78rem; border-radius: 12px; }
.card { background: #fff; border: 1px solid #f1f1f4; border-radius: 26px; box-shadow: 0 1px 2px rgba(9,9,11,.03), 0 18px 40px -24px rgba(9,9,11,.12); }
.card-glow { box-shadow: 0 24px 60px -28px rgba(255,45,138,.35); }
.label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6b7280; margin-bottom: .4rem; }
.input { width: 100%; background: #fafafa; border: 1px solid #ececf0; border-radius: 14px; padding: .8rem 1rem; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: #FF2D8A; box-shadow: 0 0 0 4px rgba(255,45,138,.12); background: #fff; }
.chip { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .38rem .8rem; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.chip-soft { background: #fff0f7; color: #FF2D8A; }
.chip-line { border: 1px solid #ececf0; color: #374151; background: #fff; }
.chip-line.active, .chip-line:hover { border-color: #FF2D8A; color: #FF2D8A; background: #fff0f7; }
.chip-dark { background: #09090b; color: #fff; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ececf0; color: #09090b; background: #fff; }
.icon-btn:hover { color: #FF2D8A; border-color: #FF2D8A; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #FF2D8A; color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.search-bar { display: flex; align-items: center; gap: .6rem; background: #fafafa; border: 1px solid #ececf0; border-radius: 999px; padding: .35rem .4rem .35rem 1rem; }
.search-bar:focus-within { border-color: #FF2D8A; box-shadow: 0 0 0 4px rgba(255,45,138,.1); background: #fff; }
.search-bar input { flex: 1; background: transparent; outline: none; font-size: .92rem; min-width: 0; }
.search-go { width: 36px; height: 36px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #FF2D8A, #09090b); }

.nav-shell { display: flex; justify-content: space-around; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border: 1px solid #f1f1f4; border-radius: 26px; padding: .55rem .4rem; box-shadow: 0 20px 50px -20px rgba(9,9,11,.25); }
.nav-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; font-size: .66rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #9ca3af; min-width: 58px; }
.nav-ico { width: 38px; height: 38px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 15px; border: 1px solid transparent; transition: all .2s; }
.nav-item.active { color: #09090b; }
.nav-item.active .nav-ico { color: #fff; background: linear-gradient(145deg, #FF2D8A, #09090b); box-shadow: 0 8px 20px rgba(255,45,138,.32); }
.nav-item:not(.active):hover .nav-ico { border-color: #ffd1e6; color: #FF2D8A; }

.to-top { position: fixed; right: 18px; bottom: 108px; z-index: 45; width: 46px; height: 46px; border-radius: 999px; color: #fff;
  background: linear-gradient(145deg, #FF2D8A, #09090b); box-shadow: 0 12px 28px rgba(255,45,138,.35); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .25s; }
.flash-fab { position: fixed; left: 18px; bottom: 108px; z-index: 45; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.15rem; border-radius: 999px;
  color: #fff; font-weight: 700; font-size: .85rem; background: linear-gradient(145deg, #FF2D8A, #09090b); box-shadow: 0 12px 28px rgba(255,45,138,.4); transition: transform .2s; }
.flash-fab:hover { transform: translateY(-2px); }
.flash-fab i { font-size: 1rem; }
.flash-fab.hidden { display: none; }
/* Espace réservé sous le contenu et le pied de page quand un bouton flottant est affiché */
body.has-fab #app { padding-bottom: 11rem; }
body.has-fab #app-footer { padding-bottom: 12rem; }
.urgent-fab { background: linear-gradient(145deg, #e11d48, #FF2D8A); box-shadow: 0 12px 28px rgba(225,29,72,.4); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

.toast { pointer-events: auto; max-width: 420px; width: 100%; background: #09090b; color: #fff; border-radius: 16px; padding: .85rem 1rem; font-size: .85rem; box-shadow: 0 18px 40px rgba(9,9,11,.3); animation: fadeIn .25s ease-out; display: flex; gap: .6rem; align-items: flex-start; }
.toast.error { background: #be123c; }
.toast.success i { color: #FF2D8A; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fade-in { animation: fadeIn .3s ease-out; }
.pin-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,99,235,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,99,235,0); } 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); } }

.check { display: flex; align-items: flex-start; gap: .6rem; padding: .65rem .8rem; border: 1px solid #ececf0; border-radius: 14px; cursor: pointer; font-size: .88rem; background: #fff; transition: all .15s; }
.check:hover { border-color: #ffc2de; }
.check input { accent-color: #FF2D8A; width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.check:has(input:checked) { border-color: #FF2D8A; background: #fff5fa; }
.divider { display: flex; align-items: center; gap: .8rem; color: #9ca3af; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #ececf0; }
.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.skeleton { background: linear-gradient(90deg, #f5f5f7 25%, #fdf2f8 50%, #f5f5f7 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 20px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.prose-legal h2 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.prose-legal p, .prose-legal li { font-size: .9rem; color: #374151; line-height: 1.7; }
.prose-legal ul { list-style: disc; padding-left: 1.25rem; }
.stars i { color: #FF2D8A; }
.gm-style .gm-style-iw-c { border-radius: 18px !important; padding: 0 !important; }
.gm-style .gm-style-iw-d { overflow: auto !important; }
.map-box { position: relative; width: 100%; border-radius: 26px; overflow: hidden; border: 1px solid #f1f1f4; background: #f8f8fa; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(9,9,11,.45); backdrop-filter: blur(4px); z-index: 55; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .modal-backdrop { align-items: center; } }
.modal-panel { background: #fff; width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; border-radius: 28px 28px 0 0; padding: 1.5rem; animation: fadeIn .25s; }
@media (min-width: 640px) { .modal-panel { border-radius: 28px; } }
table.data { width: 100%; font-size: .8rem; }
table.data th { text-align: left; font-weight: 600; color: #6b7280; text-transform: uppercase; font-size: .66rem; letter-spacing: .06em; padding: .5rem; border-bottom: 1px solid #f1f1f4; }
table.data td { padding: .6rem .5rem; border-bottom: 1px solid #f7f7f9; vertical-align: top; }
@media print {
  #app-header, #app-nav, #to-top, #app-footer, .no-print { display: none !important; }
  main { padding: 0 !important; }
  .card { box-shadow: none !important; border: 1px solid #ddd; }
}

/* Masque le badge « Powered by Netlify » injecté par la plateforme */
#nl-badge-frame, iframe[title="Powered by Netlify"] { display: none !important; }

/* ---------- Agenda en ligne (pro) ---------- */
.agenda-head { display: grid; grid-template-columns: 48px repeat(7, minmax(0, 1fr)); border-bottom: 1px solid #f4f4f5; background: #fff; position: sticky; top: 0; z-index: 6; }
.agenda-scroll { max-height: 68vh; overflow-y: auto; }
.agenda-grid { display: grid; position: relative; }
.agenda-col { position: relative; border-left: 1px solid #f4f4f5; cursor: copy; }
.agenda-hour { position: absolute; left: 0; right: 0; border-top: 1px solid #f4f4f5; pointer-events: none; }
.agenda-hlabel { position: absolute; right: 6px; transform: translateY(-50%); font-size: 10px; color: #a1a1aa; }
.agenda-hlabel:first-child { transform: none; }
.agenda-closed { position: absolute; left: 0; right: 0; background: #f4f4f5; opacity: .75; pointer-events: none; }
.agenda-closed-label { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-size: 11px; color: #71717a; }
.agenda-item { position: absolute; z-index: 2; border-width: 1px; border-left-width: 3px; border-radius: 10px; padding: 2px 6px; font-size: 11px; line-height: 1.25; text-align: left; overflow: hidden; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.agenda-item:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); z-index: 3; }
.agenda-block { background: repeating-linear-gradient(135deg, #f4f4f5 0 6px, #e4e4e7 6px 12px); }
.agenda-now { position: absolute; left: 0; right: 0; height: 2px; background: #FF2D8A; z-index: 4; pointer-events: none; }
.agenda-now::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #FF2D8A; }
.agenda-today { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 9999px; background: #FF2D8A; color: #fff; }
.agenda-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; margin-right: 2px; }

/* ---------- Bouton retour ---------- */
.back-btn { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: #3f3f46; padding: .4rem .8rem .4rem .6rem; border-radius: 9999px; border: 1px solid #e4e4e7; background: #fff; transition: color .15s, border-color .15s; }
.back-btn:hover { color: #FF2D8A; border-color: #fbcfe8; }
.back-float { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 12px; z-index: 45; box-shadow: 0 6px 20px -10px rgba(0,0,0,.3); }

/* Accueil non connecté */
.chip-cat { display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; border-radius: 999px; padding: .45rem .9rem; font-size: .78rem; font-weight: 600; white-space: nowrap; border: 1px solid #ececf0; background: #fff; color: #374151; transition: all .15s; }
.chip-cat i { color: #FF2D8A; }
.chip-cat:hover { border-color: #ffc2de; }
.chip-cat.on { background: #09090b; border-color: #09090b; color: #fff; }
.w-tab { color: #6b7280; }
.w-tab.on { background: #fff; color: #09090b; box-shadow: 0 4px 14px rgba(9,9,11,.08); }
.w-tab.on i { color: #FF2D8A; }
.scrollbar-none { scrollbar-width: none; }
.scrollbar-none::-webkit-scrollbar { display: none; }

/* Vitrine d’attente (accueil sans créneau) */
.teaser-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.teaser-marquee { animation: teaserScroll 38s linear infinite; }
.teaser-track:hover .teaser-marquee, .teaser-track:active .teaser-marquee { animation-play-state: paused; }
@keyframes teaserScroll { to { transform: translateX(calc(-50% - .375rem)); } }
.teaser-float { animation: teaserFloat 4s ease-in-out infinite; }
@keyframes teaserFloat { 50% { transform: translateY(-8px) rotate(-4deg); } }
.teaser-wish.on { border-color: #FF2D8A; background: #fff5fa; box-shadow: 0 8px 20px rgba(255,45,138,.18); transform: translateY(-2px); }
.teaser-pop { animation: teaserPop .35s cubic-bezier(.2,1.4,.4,1); }
@keyframes teaserPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.teaser-step { animation: fadeIn .5s ease-out both; }
@media (prefers-reduced-motion: reduce) { .teaser-marquee, .teaser-float, .teaser-pop, .teaser-step { animation: none; } }

/* Accueil animé (première page) */
.w-rise, .w-aud { animation: fadeIn .6s cubic-bezier(.2,.8,.2,1) both; }
.w-card-in { animation: teaserPop .45s cubic-bezier(.2,1.3,.4,1) both; }
.w-floater { animation: teaserFloat 5s ease-in-out infinite; }
.w-bob { animation: teaserFloat 3.2s ease-in-out infinite; display: inline-block; }
.w-rotator { display: inline-block; overflow: hidden; vertical-align: bottom; }
.w-word { display: inline-block; transition: transform .28s ease, opacity .28s ease; }
.w-word.out { transform: translateY(-60%); opacity: 0; }
.w-word.in { animation: wWordIn .35s cubic-bezier(.2,1.3,.4,1); }
@keyframes wWordIn { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
.w-cta { position: relative; overflow: hidden; animation: wGlow 2.6s ease-in-out infinite; }
.w-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); animation: wShine 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes wShine { 60%, 100% { transform: translateX(100%); } }
@keyframes wGlow { 50% { box-shadow: 0 10px 30px rgba(255,45,138,.35); } }
.w-nudge { animation: wNudge 1.4s ease-in-out infinite; }
@keyframes wNudge { 50% { transform: translateX(4px); } }
.w-fakemap { background:
  linear-gradient(90deg, transparent 49%, #fff 49%, #fff 51%, transparent 51%) 0 0 / 120px 100%,
  linear-gradient(0deg, transparent 48%, #fdf2f8 48%, #fdf2f8 52%, transparent 52%) 0 0 / 100% 90px,
  radial-gradient(circle at 80% 20%, #e8eef7 0 18%, transparent 19%), #f8f8fa; }
.w-pin { transform: translate(-50%, -100%); animation: wPin 2.8s ease-in-out infinite; }
@keyframes wPin { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -125%); } }
.w-radar { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 9999px; background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.5); animation: wRadar 2s ease-out infinite; }
@keyframes wRadar { to { box-shadow: 0 0 0 70px rgba(245,158,11,0); } }
@media (prefers-reduced-motion: reduce) { .w-pin, .w-radar { animation: none; } }
@media (prefers-reduced-motion: reduce) { .w-rise, .w-aud, .w-card-in, .w-floater, .w-bob, .w-cta, .w-cta::after, .w-nudge, .w-word.in { animation: none; } }

/* Bandeau des villes de l’Union européenne */
.eu-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.eu-marquee { animation: euScroll 70s linear infinite; }
.eu-track:hover .eu-marquee, .eu-track:focus-within .eu-marquee, .eu-track:active .eu-marquee { animation-play-state: paused; }
@keyframes euScroll { to { transform: translateX(calc(-50% - .25rem)); } }
.eu-stars { color: #f5c400; }
@media (prefers-reduced-motion: reduce) { .eu-marquee { animation: none; } }

/* Choix de la langue */
.lang-float { position: fixed; top: .75rem; right: .75rem; z-index: 45; display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .4rem .75rem; font-size: .75rem; font-weight: 600; background: rgba(255,255,255,.92); color: #09090b; border: 1px solid #f1e4ea; box-shadow: 0 6px 20px -8px rgba(255,45,138,.35); backdrop-filter: blur(10px); }
.lang-float:hover { color: #FF2D8A; }
#app-header:not(.hidden) ~ .lang-float { display: none; }
.lang-opt { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; border-radius: .9rem; border: 1px solid #f1e4ea; font-size: .85rem; text-align: left; transition: border-color .15s, background .15s; }
.lang-opt:hover { border-color: #FF2D8A; }
.lang-opt.active { background: #fff0f7; border-color: #FF2D8A; color: #b8125d; font-weight: 600; }
.i18n-loading #app, .i18n-loading #app-header, .i18n-loading #app-nav { visibility: hidden; }

/* Temps de trajet : carte sombre et dorée */
.travel-box { background: radial-gradient(120% 140% at 100% 0%, rgba(255,45,138,.28), transparent 55%), linear-gradient(135deg, #0b0b0f, #1c1620); border: 1px solid rgba(253,230,138,.18); box-shadow: 0 24px 50px -30px rgba(9,9,11,.6); }
.travel-ico { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: linear-gradient(135deg, #fde68a, #d4a24c); color: #09090b; font-size: 1.05rem; flex-shrink: 0; }
.travel-mode { border-radius: 1rem; padding: .6rem .25rem; text-align: center; color: rgba(255,255,255,.72); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: all .15s; }
.travel-mode:hover { border-color: rgba(253,230,138,.45); color: #fff; }
.travel-mode.on { background: linear-gradient(135deg, rgba(253,230,138,.95), rgba(212,162,76,.95)); color: #09090b; border-color: transparent; }
.travel-mode:focus-visible { outline: 2px solid #fde68a; outline-offset: 2px; }
