/* ==========================================================================
   Way4Kids — feuille de styles du site public
   Couleurs et rayons centralisés dans :root pour faciliter les ajustements.
   ========================================================================== */
:root {
  --sky: #a9dcf6;
  --sky-deep: #74c6ef;
  --sky-pale: #e6f4fc;
  --red: #e3262e;
  --red-dark: #b81d24;
  --green: #5b9a3f;
  --green-dark: #47802f;
  --blue: #0fa0e3;
  --blue-dark: #0b84bd;
  --sun: #fbe27e;
  --ink: #2a2520;
  --text: #3d3a36;
  --muted: #74706b;
  --line: #e4e1dc;
  --paper: #ffffff;
  --radius: 18px;
  --radius-lg: 32px;
  --radius-xl: 56px;
  --shadow: 0 10px 30px rgba(18, 60, 90, .14);
  --shadow-sm: 0 4px 14px rgba(18, 60, 90, .10);
  --display: 'Patrick Hand', 'Comic Neue', 'Segoe Print', cursive;
  --body: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --logo: 'Luckiest Guy', 'Arial Black', sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--red); }
h1, h2, h3, .display { font-family: var(--display); color: var(--ink); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 760px; margin: 0 auto 1.5rem; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.15rem; color: var(--ink); }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--green); --bg-hover: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--bg); color: #fff; border: 0; cursor: pointer;
  font: 700 .95rem/1 var(--body); text-transform: uppercase; letter-spacing: .04em;
  padding: .95em 1.6em; border-radius: 999px; text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 3px 0 rgba(0,0,0,.12);
}
.btn:hover { background: var(--bg-hover); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-red { --bg: var(--red); --bg-hover: var(--red-dark); }
.btn-blue { --bg: var(--blue); --bg-hover: var(--blue-dark); }
.btn-white { --bg: #fff; --bg-hover: var(--sky-pale); color: var(--ink); }
.btn-white:hover { color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--sky-pale); color: var(--ink); }
.btn-sm { padding: .6em 1.1em; font-size: .8rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- En-tête « ciel » ---------- */
.sky {
  position: relative;
  background: linear-gradient(180deg, var(--sky) 0%, #9bd5f4 55%, var(--sky-deep) 100%);
  isolation: isolate;
  z-index: 30; /* le menu des langues passe au-dessus du contenu de la page */
}
/* Décor (soleil, nuages) découpé à la taille du ciel ; le menu, lui, peut déborder */
.sky-deco { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.sky-deco::before { /* soleil */
  content: ''; position: absolute; z-index: -1;
  width: 320px; height: 320px; left: -40px; top: 40px; border-radius: 50%;
  background: var(--sun);
  box-shadow: inset 28px 22px 0 rgba(255,255,255,.35);
  opacity: .95;
}
.sky .cloud { position: absolute; z-index: -1; fill: #fff; opacity: .55; }
.sky .cloud.c1 { width: 260px; right: 8%; top: 90px; }
.sky .cloud.c2 { width: 340px; left: 6%; top: 250px; opacity: .4; }
.sky .cloud.c3 { width: 300px; right: -60px; top: 330px; opacity: .45; }
.sky-small .sky-deco::before { width: 200px; height: 200px; left: -60px; top: -30px; }

.site-header { position: relative; z-index: 20; padding-top: 22px; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff; }
.brand-row { display: flex; align-items: center; gap: 10px; }
.brand-name {
  font-family: var(--logo); font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1; color: #fff; letter-spacing: .02em;
  text-shadow: 0 3px 0 rgba(10,90,140,.35), 0 0 18px rgba(255,255,255,.35);
  transform: rotate(-3deg);
}
.brand img { width: clamp(60px, 9vw, 86px); height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.15)); }
.brand-tagline {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em;
  color: #fffbe0; font-size: clamp(.95rem, 2vw, 1.25rem); transform: rotate(-3deg); margin-top: 2px;
  text-shadow: 0 2px 0 rgba(10,90,140,.3);
}
.brand:hover { color: #fff; }

/* Onglets de navigation */
.nav { margin-top: 22px; }
.nav-list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0 16px; }
.nav-list > li { position: relative; }
.nav-link {
  display: block; background: var(--green); color: #fff; text-decoration: none;
  font: 700 .9rem/1 var(--body); text-transform: uppercase; letter-spacing: .03em;
  padding: 1.15em 1.25em 1.25em; border-radius: 14px 14px 0 0;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.08);
  transition: background .15s, transform .15s;
}
.nav-link:hover { background: var(--green-dark); color: #fff; }
.nav-link.is-active, .nav-link[aria-current="page"] { background: var(--red); }
.nav-link .chev { display: inline-block; margin-left: .3em; font-size: .75em; }
.lang-menu {
  position: absolute; right: 0; top: 100%; z-index: 50; min-width: 170px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; list-style: none; margin: 4px 0 0;
}
.lang-menu a { display: block; padding: .5em .8em; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: var(--sky-pale); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; position: absolute; right: 16px; top: 18px; z-index: 30;
    width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--green); color: #fff;
    align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-sm);
  }
  .nav { display: none; padding: 0 16px 16px; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 6px; padding: 0; }
  .nav-link { border-radius: 12px; padding: 1em 1.2em; }
  .lang-menu { position: static; box-shadow: none; margin-top: 6px; }
  .brand { align-items: flex-start; padding: 0 76px 0 16px; }
  .sky-deco::before { width: 180px; height: 180px; left: -50px; top: -20px; }
}

/* Bord nuageux entre sections */
.cloud-edge { display: block; width: 100%; height: 70px; margin-top: -1px; }
.cloud-edge path { fill: #fff; }
.cloud-edge.to-sky path { fill: var(--sky); }

/* ---------- Héros ---------- */
.hero { padding: 0 16px 0; position: relative; }
.hero-frame {
  position: relative; max-width: 1230px; margin: 0 auto; border-radius: var(--radius-xl);
  background: #fff; padding: 18px; box-shadow: var(--shadow); z-index: 2;
}
.hero-frame img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: calc(var(--radius-xl) - 18px); }
.hero-caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 2.4rem 1.5rem 1.3rem;
  border-radius: 0 0 calc(var(--radius-xl) - 18px) calc(var(--radius-xl) - 18px);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.45));
  text-align: center;
}
.hero-caption h1 { color: #fff; margin: 0; text-shadow: 0 2px 10px rgba(0,0,0,.5); font-size: clamp(1.8rem, 4.6vw, 3.5rem); }
.hero-caption p { color: #fff; margin: .4rem 0 0; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.hero-bottom { height: 90px; margin-top: -50px; position: relative; z-index: 1; }
@media (max-width: 640px) {
  .hero-frame { padding: 10px; border-radius: 30px; }
  .hero-frame img { aspect-ratio: 4 / 3; border-radius: 22px; }
  .hero-caption { left: 10px; right: 10px; bottom: 10px; border-radius: 0 0 22px 22px; padding: 2rem 1rem 1rem; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sky { background: var(--sky); }
.section-pale { background: var(--sky-pale); }
.section-head { text-align: center; margin-bottom: 40px; }

/* Cartes « compagnon de route » */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.feature { position: relative; }
.feature:nth-child(2) { margin-top: -24px; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-card {
  position: relative; margin: -70px 26px 0; background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow); text-align: center;
}
.feature-card .inner { padding: 26px 24px 20px; }
.feature-card h3 { text-transform: uppercase; font-size: 1.35rem; }
.feature-card p { font-size: .98rem; margin: 0; }
.feature-card .cta { display: block; padding: 1em; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: .85rem; letter-spacing: .05em; }
.feature-card .cta:hover { filter: brightness(.95); }
.cta-red { background: var(--red); } .cta-green { background: var(--green); } .cta-blue { background: var(--blue); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .feature:nth-child(2) { margin-top: 0; }
}

/* Bloc « petits + » */
.panel {
  background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 54px);
}
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split img.photo { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; }
.perks { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 22px; }
.perk { display: grid; grid-template-columns: 56px 1fr; gap: 14px; }
.perk-icon { font-size: 2rem; line-height: 1; width: 56px; height: 56px; display: grid; place-items: center; color: var(--green); }
.perk-icon svg { width: 40px; height: 40px; stroke: var(--green); fill: none; stroke-width: 1.8; }
.perk h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.2rem; margin: 0 0 .2em; }
.perk p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; counter-reset: step; }
.step-icon {
  width: 82px; height: 82px; margin: 0 auto 18px; border: 2px solid var(--green); border-radius: 10px;
  display: grid; place-items: center; color: var(--green);
}
.step-icon svg { width: 44px; height: 44px; fill: var(--green); }
.step h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.step p { color: var(--muted); font-size: .98rem; }
.tagline { text-align: center; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.25rem; color: var(--ink); margin-top: 32px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Recherche d'itinéraire (finder) ---------- */
.finder {
  display: grid; grid-template-columns: 400px 1fr; gap: 0; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 760px;
}
.finder-panel { padding: 22px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); max-height: 900px; }
.finder-panel h2 { font-size: 1.8rem; margin: 0; }
.finder-form { display: grid; gap: 12px; }
.finder-map { position: relative; min-height: 760px; background: var(--sky-pale); }
.finder-map .map-canvas { position: absolute; inset: 0; }
.finder-results { overflow-y: auto; flex: 1; margin: 0 -22px -22px; padding: 0 22px 22px; border-top: 1px solid var(--line); }
.finder-summary { font-size: .92rem; color: var(--muted); padding: 12px 0 6px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.finder-summary strong { color: var(--ink); }
.sort-toggle { display: inline-flex; background: var(--sky-pale); border-radius: 999px; padding: 3px; }
.sort-toggle button { border: 0; background: transparent; padding: .35em .8em; border-radius: 999px; font: 600 .8rem var(--body); cursor: pointer; color: var(--muted); }
.sort-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 980px) {
  .finder { grid-template-columns: 1fr; }
  .finder-panel { border-right: 0; max-height: none; }
  .finder-map { min-height: 380px; order: 2; }
  .finder-results { margin: 0; padding: 0; max-height: none; }
}

/* Champs */
.field { display: grid; gap: 6px; position: relative; }
.field > label, .label { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #0b5f86; }
.input, .select, .textarea {
  width: 100%; font: 500 1rem var(--body); color: var(--ink);
  padding: .8em 1em; border-radius: 12px; border: 2px solid var(--line); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15,160,227,.15); }
.textarea { min-height: 150px; resize: vertical; }
.input-dotted { border: 1.5px dotted #4a4a4a; background: rgba(255,255,255,.75); border-radius: 10px; }
.input-icon { position: relative; }
.input-icon .input { padding-left: 2.6em; }
.input-icon > .ico { position: absolute; left: .9em; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 1.05rem; }
.input-icon .locate { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--sky-pale); border-radius: 8px; padding: .45em .55em; cursor: pointer; font-size: .95rem; }
.input-icon .locate:hover { background: var(--sky); }
.input-icon.has-locate .input { padding-right: 3em; }
.field-error { color: var(--red); font-size: .88rem; font-weight: 600; }
.checkbox { display: flex; gap: .6em; align-items: flex-start; font-size: .95rem; }
.checkbox input { width: 1.15em; height: 1.15em; margin-top: .2em; accent-color: var(--green); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: .35em; padding: .45em .8em; border-radius: 999px;
  background: var(--sky-pale); border: 2px solid transparent; font-size: .86rem; font-weight: 600; cursor: pointer; user-select: none;
}
.chip input:checked + span { background: #fff; border-color: var(--green); color: var(--green-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--blue); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
details.filters { border: 2px solid var(--line); border-radius: 12px; padding: .2em .9em; }
details.filters summary { cursor: pointer; font-weight: 700; font-size: .9rem; padding: .55em 0; color: var(--ink); }
details.filters[open] { padding-bottom: .9em; }

/* Autocomplétion */
.ac-list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin: 4px 0 0; padding: 6px; list-style: none;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); max-height: 280px; overflow-y: auto;
}
.ac-list li { padding: .55em .7em; border-radius: 8px; cursor: pointer; line-height: 1.3; }
.ac-list li small { display: block; color: var(--muted); }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--sky-pale); }

/* Résultats */
.result {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.result:last-child { border-bottom: 0; }
.result:hover .result-name { color: var(--red); }
.result.is-focus { background: linear-gradient(90deg, var(--sky-pale), transparent); margin: 0 -22px; padding: 14px 22px; }
.result-thumb { width: 92px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--sky-pale); display: grid; place-items: center; font-size: 2rem; }
.result-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; margin-right: .3em; vertical-align: 2px; }
.result-name { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.02rem; line-height: 1.25; }
.result-meta { font-size: .85rem; color: var(--muted); margin: 2px 0 6px; }
.result-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; }
.badge { display: inline-flex; align-items: center; gap: .3em; padding: .25em .6em; border-radius: 999px; font-weight: 700; font-size: .78rem; background: var(--sky-pale); color: var(--ink); }
.badge-green { background: #e5f3dc; color: var(--green-dark); }
.badge-orange { background: #fff0d6; color: #a35b00; }
.badge-red { background: #fde3e4; color: var(--red-dark); }
.badge-gold { background: #fff6c8; color: #7a5b00; }
.badge-open { background: #e5f3dc; color: var(--green-dark); }
.badge-closed { background: #f1f0ee; color: var(--muted); }
.emojis { letter-spacing: .1em; font-size: 1rem; }
.result-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.result-actions a { font-size: .8rem; font-weight: 700; text-decoration: none; }
.empty-state { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty-state .big { font-size: 2.6rem; display: block; margin-bottom: 6px; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 18px 0; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--sky); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { padding: .8em 1em; border-radius: 12px; background: #fde3e4; color: var(--red-dark); font-weight: 600; font-size: .92rem; }
.alert-ok { background: #e5f3dc; color: var(--green-dark); }
.alert-info { background: var(--sky-pale); color: #0b5f86; }

/* Carte flottante au clic sur un repère (mode exploration) */
.map-card {
  position: absolute; left: 16px; bottom: 16px; z-index: 4; width: min(340px, calc(100% - 32px));
  background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
}
.map-card img { width: 100%; height: 140px; object-fit: cover; }
.map-card .body { padding: 12px 14px 14px; }
.map-card .close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); cursor: pointer; font-size: 1.1rem; box-shadow: var(--shadow-sm); }
.map-consent { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 24px; text-align: center; background: linear-gradient(180deg, var(--sky-pale), #fff); }
.map-consent p { max-width: 380px; margin: 0 auto 12px; }
.w4k-pin { background: none; border: 0; }
.w4k-bounce svg { animation: w4kbounce .45s ease-in-out 3; transform-origin: bottom center; }
@keyframes w4kbounce { 50% { transform: translateY(-12px); } }

/* ---------- Fiche plaine de jeux ---------- */
.page-head { padding: 34px 0 10px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }
.pg-title { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.pg-title h1 { margin-bottom: .15em; }
.pg-sub { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); }
.like-btn {
  display: inline-flex; align-items: center; gap: .5em; border: 2px solid var(--red); color: var(--red); background: #fff;
  border-radius: 999px; padding: .6em 1.1em; font: 700 .95rem var(--body); cursor: pointer; text-decoration: none;
}
.like-btn[aria-pressed="true"] { background: var(--red); color: #fff; }
.like-btn:hover { color: var(--red-dark); border-color: var(--red-dark); }
.like-btn[aria-pressed="true"]:hover { color: #fff; background: var(--red-dark); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 10px; border-radius: var(--radius-lg); overflow: hidden; margin: 18px 0 28px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; background: var(--sky-pale); position: relative; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; }
.gallery button:first-child { grid-row: 1 / span 2; }
.gallery .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-weight: 700; font-size: 1.2rem; }
.gallery.count-1 { grid-template-columns: 1fr; grid-template-rows: 380px; }
.gallery.count-1 button:first-child { grid-row: auto; }
.gallery.count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 340px; }
.gallery.count-2 button:first-child { grid-row: auto; }
.gallery.count-3 { grid-template-columns: 2fr 1fr; }
.gallery-placeholder { display: grid; place-items: center; height: 240px; background: var(--sky-pale); border-radius: var(--radius-lg); font-size: 4rem; margin: 18px 0 28px; }
@media (max-width: 700px) {
  .gallery, .gallery.count-3, .gallery.count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
  .gallery button:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
}
.pg-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.pg-aside { position: sticky; top: 16px; display: grid; gap: 18px; }
.box { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; }
.box h2, .box h3 { font-size: 1.45rem; margin-bottom: .4em; }
.box-sky { background: var(--sky-pale); border-color: transparent; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: start; font-size: .97rem; word-break: break-word; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.services-grid li { display: flex; gap: .6em; align-items: center; background: var(--sky-pale); border-radius: 12px; padding: .65em .8em; font-weight: 600; font-size: .95rem; }
.services-grid .em { font-size: 1.4rem; }
.price-table, .hours-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.price-table td, .hours-table td, .hours-table th { padding: .5em 0; border-bottom: 1px dashed var(--line); text-align: left; vertical-align: top; }
.price-table td:last-child, .hours-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.hours-table tr.today td, .hours-table tr.today th { color: var(--green-dark); font-weight: 800; }
.hours-table th { font-weight: 600; }
.pg-section { margin-bottom: 40px; }
.pg-section h2 { font-size: 2rem; }
.mini-map { height: 240px; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sky-pale); }
.preview-banner { background: #fff6c8; color: #6b4f00; padding: .8em 1em; border-radius: 12px; font-weight: 600; margin-top: 16px; }
@media (max-width: 960px) { .pg-layout { grid-template-columns: 1fr; } .pg-aside { position: static; } }

/* Avis */
.stars { color: #f2a900; letter-spacing: .05em; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.review-author { font-weight: 700; color: var(--ink); }
.review-reply { margin: 10px 0 0 18px; padding: 10px 14px; border-left: 3px solid var(--green); background: #f4faf0; border-radius: 0 10px 10px 0; font-size: .95rem; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { font-size: 2rem; color: #d8d4cd; cursor: pointer; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #f2a900; }
.rating-input input:focus-visible + label { outline: 3px solid var(--blue); border-radius: 4px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 30, .92); display: none; align-items: center; justify-content: center; padding: 50px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; border-radius: 12px; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.15); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.3); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 14px; top: 50%; } .lightbox .lb-next { right: 14px; top: 50%; }

/* ---------- Liste des partenaires / cartes ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; align-items: end; }
.toolbar .field { flex: 1 1 220px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card {
  background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.card-img { aspect-ratio: 16 / 10; background: var(--sky-pale); display: grid; place-items: center; font-size: 3rem; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.card-title { font-weight: 800; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.card .crown { position: absolute; top: 10px; left: 10px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 .8em; display: grid; place-items: center; border-radius: 12px; text-decoration: none; font-weight: 700; background: var(--sky-pale); color: var(--ink); }
.pagination .active span { background: var(--green); color: #fff; }
.pagination .disabled span { opacity: .4; }

/* ---------- Blog / pages ---------- */
.prose { max-width: 760px; }
.prose img { border-radius: 14px; margin: 1em 0; }
.prose h2 { margin-top: 1.4em; font-size: 2rem; }
.prose h3 { margin-top: 1.2em; }
.post-cover { border-radius: var(--radius-lg); width: 100%; max-height: 460px; object-fit: cover; margin: 10px 0 28px; }

/* ---------- Formulaires (contact, connexion) ---------- */
.contact-wrap { background: var(--sky) url('../images/map-bg.jpg') center / cover no-repeat; padding: 70px 16px; }
.contact-card {
  max-width: 980px; margin: 0 auto; background: rgba(255,255,255,.84); backdrop-filter: blur(4px);
  border-radius: 34px; padding: clamp(22px, 5vw, 50px) clamp(18px, 8vw, 150px); box-shadow: var(--shadow);
}
.contact-card h2 { text-align: center; color: #0b5f86; }
.form-grid { display: grid; gap: 16px; }
/* Pages de connexion : fond carte */
.auth-bg { background: var(--sky) var(--auth-bg, none) center / cover no-repeat; padding: 10px 0; }
.auth-card { max-width: 480px; margin: 40px auto 70px; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: clamp(22px, 5vw, 40px); }
.auth-card h1 { font-size: 2.3rem; text-align: center; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-top: 14px; }
.owner-cta { margin-top: 22px; padding: 16px; border-radius: 16px; background: #f4faf0; font-size: .95rem; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { max-width: var(--wrap); margin: 16px auto 0; padding: 0 16px; }

/* Compte */
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--sky); color: #134a66; margin-top: 0; }
.site-footer .cloud-edge path { fill: var(--sky); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 20px 0 30px; }
.footer-grid h3 { font-size: 1.35rem; color: #0b4a6a; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: #0b4a6a; text-decoration: none; font-weight: 600; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(11,74,106,.15); padding: 16px 0 26px; font-size: .88rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-brand { font-family: var(--logo); font-size: 2rem; color: #fff; text-shadow: 0 2px 0 rgba(10,90,140,.35); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.site-footer > .cloud-edge { background: #fff; }
.section-sky + .site-footer > .cloud-edge, .contact-wrap + .site-footer > .cloud-edge { background: transparent; }
.cloud-edge.flip { transform: scaleY(-1); background: #fff; }
.cloud-edge.flip path { fill: var(--sky); }
@media (max-width: 700px) { .gallery.count-2 button:nth-child(2) { grid-column: 1 / span 2; } .gallery.count-2 { grid-template-rows: 220px 160px; } }

/* Petites photos : jamais étirées (évite la pixellisation), fond flouté de la même image */
.gallery button { overflow: hidden; }
.gallery button.is-small::before { content: ''; position: absolute; inset: -30px; background: var(--bg) center / cover no-repeat; filter: blur(22px) brightness(.92); transform: scale(1.1); }
.gallery button.is-small { display: flex; align-items: center; justify-content: center; }
/* agrandissement limité à 1,5 × la taille réelle */
.gallery button.is-small img { position: relative; width: min(100%, calc(var(--w) * 1.5px)); height: auto; max-height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.gallery img { image-rendering: auto; }

/* ===================================================================== */
/* Octobre 2026 : profil, recherche avancée, partage, avantage, PWA       */
/* ===================================================================== */

/* Choix du profil à l'inscription */
.profile-choice { border: 0; padding: 0; margin: 0 0 4px; display: grid; gap: 8px; }
.profile-choice legend { font-weight: 700; margin-bottom: 8px; }
.profile-option { display: block; cursor: pointer; }
.profile-option input { position: absolute; opacity: 0; pointer-events: none; }
.profile-option > span { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border: 2px solid #e6e1da; border-radius: 16px; background: #fff; transition: border-color .15s, background .15s; }
.profile-option .profile-icon { grid-row: span 2; font-size: 1.8rem; text-align: center; }
.profile-option small { color: var(--muted); font-size: .86rem; }
.profile-option input:checked + span { border-color: var(--green); background: #f4faf0; }
.profile-option input:focus-visible + span { outline: 3px solid var(--sky-deep); outline-offset: 2px; }

/* Recherche : ma position, moment de la pause */
.locate-link { margin-top: 6px; border: 0; background: none; padding: 4px 0; font: inherit; font-size: .9rem; font-weight: 700; color: var(--green-dark); cursor: pointer; text-align: left; }
.locate-link:hover { color: var(--red); text-decoration: underline; }
.locate-link:disabled { opacity: .5; cursor: wait; }
.badge-perk { background: #ffe9f0; color: #a3164a; }
.badge-moment { background: #fff6c8; color: #7a5b00; }
.result.is-closed { opacity: .55; }
.result.is-closed:hover { opacity: 1; }
.result.is-moment .result-thumb { box-shadow: 0 0 0 3px #f5c400; }
.share-trip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 10px; }

/* Partage */
.pg-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.share { position: relative; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.share.is-compact .share-links { position: absolute; right: 0; top: 100%; z-index: 20; flex-direction: column; background: #fff; padding: 10px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); min-width: 200px; }
.share-link { display: inline-flex; align-items: center; gap: .45em; padding: .5em .9em; border-radius: 999px; border: 2px solid var(--c); color: var(--c); background: #fff; font: inherit; font-size: .88rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.share-link:hover { background: var(--c); color: #fff; }
.share-trip .share-links { margin-top: 0; }

/* Panneaux d'autoroute */
.road-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.road-sign { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--ink); }
.road-ref { display: inline-block; min-width: 64px; padding: .25em .6em; border-radius: 10px; background: #c8102e; color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 2px #c8102e; font-weight: 800; font-size: 1.25rem; text-align: center; letter-spacing: .02em; }
.road-sign.is-e .road-ref { background: #00843d; box-shadow: 0 0 0 2px #00843d; }
.road-count { font-size: .85rem; color: var(--muted); font-weight: 700; }
.road-sign:hover .road-ref { transform: translateY(-2px); }
.road-list.is-small .road-ref { min-width: 48px; font-size: 1rem; }
.road-sign.is-inline { vertical-align: middle; margin-right: .2em; }
.road-sign.is-tiny .road-ref { min-width: 0; font-size: .74rem; padding: .05em .45em; border-width: 2px; border-radius: 6px; box-shadow: 0 0 0 1px #c8102e; }
.road-sign.is-tiny.is-e .road-ref { box-shadow: 0 0 0 1px #00843d; }
.country-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.country-list a { display: block; padding: 12px 16px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); font-weight: 700; }
.mini-map.map-wide { height: 380px; margin-bottom: 8px; }

/* Avantage Way4Kids */
.perk-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; padding: 16px 20px; border-radius: var(--radius); background: linear-gradient(90deg, #fff1f5, #fff9e6); border: 2px dashed #f29bb8; }
.perk-icon { font-size: 2.4rem; }
.perk-body { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.perk-kicker { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #a3164a; }
.perk-title { font-size: 1.2rem; }
.perk-cond { font-size: .88rem; color: var(--muted); }

.coupon { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; text-align: center; }
.coupon-head { padding: 24px 20px 20px; background: linear-gradient(135deg, #ffe0ea, #fff4cc); border-bottom: 3px dashed #f29bb8; }
.coupon-head h1 { margin: 6px 0; font-size: 2rem; }
.coupon-kicker { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #a3164a; }
.coupon-place { font-weight: 700; color: var(--ink); }
.coupon-body { padding: 22px 20px 26px; display: grid; gap: 10px; justify-items: center; }
.coupon-code { font-family: ui-monospace, Menlo, monospace; font-size: clamp(1.8rem, 9vw, 2.6rem); font-weight: 800; letter-spacing: .12em; }
.coupon-qr { width: 200px; height: 200px; }
.coupon-qr svg { width: 100%; height: 100%; }
.coupon-help { margin: 0; max-width: 34ch; }
.coupon-expired .coupon-code, .coupon-redeemed .coupon-code { text-decoration: line-through; opacity: .5; }
.coupon-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 8px; }
.coupon-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); flex-wrap: wrap; }

/* Application installable */
.install-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 18px; box-shadow: 0 12px 34px rgba(0,0,0,.2); max-width: 560px; margin: 0 auto; }
.install-banner[hidden] { display: none; }
.install-banner img { border-radius: 12px; flex: none; }
.install-text { flex: 1; display: grid; font-size: .86rem; line-height: 1.35; }
.install-text strong { font-size: .95rem; }
.install-close { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.ios-share { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border: 1.5px solid currentColor; border-radius: 4px; font-size: .85em; vertical-align: -.2em; }
.install-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.install-grid h2 { margin-top: 0; }
.install-steps { padding-left: 1.3em; margin: 0; display: grid; gap: 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li::before { content: "✅ "; }
.share-links[hidden], .share [hidden] { display: none !important; }
.row-when { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.row-when .input, .row-when .select { min-width: 0; width: 100%; }
.row-when input[type="datetime-local"] { font-size: .9rem; padding-left: .7em; padding-right: .5em; }
@media (min-width: 980px) { .finder-panel .row-when { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1240px) { .nav-extra { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.coupon-counter { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 14px 18px; border-radius: var(--radius); background: linear-gradient(90deg, #fff1f5, #fff9e6); }
.coupon-counter-big { font-size: 2.4rem; font-weight: 800; color: #a3164a; line-height: 1; font-variant-numeric: tabular-nums; }
.coupon-list li a { flex: 1; min-width: 200px; }
/* Plusieurs avantages au choix */
.perk-banner { display: grid; gap: 14px; align-items: stretch; }
.perk-head { display: flex; gap: 14px; align-items: center; }
.perk-head h2.perk-title { margin: 2px 0; font-size: 1.35rem; font-family: var(--body, inherit); }
.perk-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0; }
.perk-option { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 4px 12px; align-items: center; text-align: left; padding: 14px 16px; border: 2px solid #f6c3d4; border-radius: 16px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; transition: transform .12s, border-color .12s, box-shadow .12s; }
.perk-option:hover, .perk-option:focus-visible { border-color: var(--red); box-shadow: 0 6px 18px rgba(227, 38, 46, .15); transform: translateY(-1px); outline: none; }
.perk-option-icon { grid-row: span 2; font-size: 2rem; }
.perk-option-body { display: grid; gap: 2px; }
.perk-option-body small { color: var(--muted); font-size: .84rem; }
.perk-option-cta { font-size: .82rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .03em; }
.perk-options.is-list { list-style: none; padding: 0; }
.perk-options.is-list li { padding: 10px 14px; background: #fff; border-radius: 14px; display: grid; gap: 2px; }
.perk-options.is-list small { color: var(--muted); }
.perk-account { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.perk-account a { font-weight: 700; }
.perk-options.is-list li { display: flex; gap: 12px; align-items: center; }
.perk-options.is-list .perk-option-icon { font-size: 1.6rem; }
.perk-limit { display: block; margin-top: 4px; font-size: .9rem; font-weight: 700; color: #a3164a; }
.validate-big { font-size: 1.5rem; font-weight: 800; margin: 6px 0; }
.validate-big.ok { color: var(--green-dark); }
.validate-big.ko { color: var(--red-dark); }
.validate-btn { font-size: 1.15rem; padding: 18px; }

/* Espace famille (Mon compte) */
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.account-nav { position: sticky; top: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.account-hello { font-family: var(--display, inherit); font-size: 1.35rem; font-weight: 700; padding: 6px 10px 12px; }
.account-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.account-nav a:hover { background: var(--sky-pale); }
.account-nav a[aria-current="page"] { background: #f4faf0; color: var(--green-dark); }
.account-count { margin-left: auto; min-width: 1.6em; padding: 0 .45em; border-radius: 999px; background: var(--sky-pale); font-size: .78rem; text-align: center; }
.account-logout { margin-top: 10px; width: 100%; border: 0; background: none; padding: 10px 12px; text-align: left; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 12px; }
.account-logout:hover { background: #fde3e4; color: var(--red-dark); }
.account-title { margin-top: 0; }
.account-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 28px; }
.account-tile { display: grid; gap: 2px; padding: 16px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.account-tile .big { font-size: 2.2rem; font-weight: 800; color: var(--green-dark); line-height: 1.1; font-variant-numeric: tabular-nums; }
.account-tile:hover { transform: translateY(-1px); }
.account-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 8px 0 28px; }
.account-review-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .account-layout { grid-template-columns: 1fr; gap: 18px; }
  .account-nav { position: static; padding: 8px; }
  .account-hello { font-size: 1.15rem; padding: 4px 8px 8px; }
  /* Tous les onglets visibles d'un coup, en grille (plus de défilement caché) */
  .account-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .account-nav li { min-width: 0; }
  .account-nav a { padding: 10px 10px; gap: 8px; background: var(--sky-pale); font-size: .92rem; line-height: 1.2; min-height: 44px; box-sizing: border-box; }
  .account-nav a[aria-current="page"] { background: #e6f3dc; box-shadow: inset 0 0 0 2px var(--green-dark); }
  .account-count { flex: none; }
  .account-logout { margin-top: 6px; text-align: center; background: #fff; border: 2px solid #f3c4c6; color: var(--red-dark); min-height: 44px; }
}
@media (max-width: 340px) {
  .account-nav ul { grid-template-columns: minmax(0, 1fr); }
}
/* Recherche : formulaire replié après les résultats */
.finder-form[hidden] { display: none; }
.finder-recap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 6px; border-radius: 14px; background: var(--sky-pale); }
.finder-recap[hidden] { display: none; }
.finder-recap-text { display: grid; gap: 2px; min-width: 0; }
.finder-recap-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.finder-recap-text small { color: var(--muted); }
.finder.is-collapsed .finder-panel h2 { display: none; }
/* Formules gérants */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin: 10px 0 18px; }
.plan { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 26px 22px; border: 3px solid transparent; }
.plan h2 { margin: 0; }
.plan-price { font-size: 1.5rem; font-weight: 800; color: var(--green-dark); margin: 4px 0 16px; }
.plan.is-premium { border-color: #f5c400; background: linear-gradient(180deg, #fffbea, #fff 40%); }
.plan-flag { position: absolute; top: -14px; right: 20px; background: #f5c400; color: #4a3800; font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; }
.result.is-premium { background: linear-gradient(90deg, #fffbea, transparent 70%); border-left: 4px solid #f5c400; margin-left: -22px; padding-left: 18px; }
@media (max-width: 860px) {
  .account-layout { grid-template-columns: minmax(0, 1fr); }
  .account-nav, .account-main { min-width: 0; }
}
/* Bandeau photo en haut de certaines pages */
.page-banner { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 1; }
.page-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .page-banner { aspect-ratio: 2 / 1; border-radius: 22px; } }

/* Repère premium sur la carte : léger halo pour ressortir sur le fond */
.w4k-pin.is-premium svg { filter: drop-shadow(0 2px 3px rgba(90,60,0,.45)); }
/* Double authentification (espace admin) */
.tfa-page { margin: 0; min-height: 100vh; background: var(--sky) var(--auth-bg, none) center / cover no-repeat fixed; font-family: 'Raleway', system-ui, sans-serif; color: var(--ink); }
.tfa-wrap { padding: 24px 16px; }
.tfa-card { margin: 4vh auto; max-width: 520px; display: grid; gap: 16px; }
.tfa-card h1 { font-size: 2rem; text-align: left; margin: 0; }
.tfa-card h2 { font-size: 1.25rem; margin: 0; }
.tfa-card p { margin: 0; }
.tfa-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #0b5f8a; }
.tfa-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 18px; }
.tfa-steps li { display: grid; gap: 8px; }
.tfa-qr { width: 200px; max-width: 70vw; aspect-ratio: 1; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 6px; }
.tfa-qr svg { width: 100%; height: 100%; display: block; }
.tfa-manual summary { cursor: pointer; color: #0b5f8a; font-weight: 600; }
.tfa-secret { display: block; margin: 8px 0 4px; padding: 10px 12px; background: var(--sky-pale); border-radius: 10px; font-size: 1.05rem; letter-spacing: .06em; word-break: break-all; }
.tfa-form { display: grid; gap: 10px; }
.tfa-code { font-size: 1.6rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.tfa-codes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tfa-codes code { display: block; padding: 10px; text-align: center; background: var(--sky-pale); border-radius: 10px; font-size: 1.05rem; letter-spacing: .05em; }
.tfa-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.tfa-help { font-size: .9rem; }
.tfa-logout { justify-self: start; }
@media print {
  .tfa-page { background: #fff; }
  .tfa-actions, .tfa-logout { display: none; }
  .tfa-card { box-shadow: none; }
}
