/* =========================================================================
   LOL SELFIE — refonte 2026
   -------------------------------------------------------------------------
   Direction : « le studio photo de la fête ». Noir d'encre et papier crème
   pour la lisibilité, l'orange du logo pour l'action, et les trois couleurs
   historiques du site (jaune, corail, bleu) pour Souriez / Imprimez /
   Partagez. Signature visuelle : les photos posées comme des tirages de
   photomaton, et les étiquettes « mot-bloc » reprises des logos produits.

   Polices libres : Bricolage Grotesque (titres), Figtree (texte),
   Pacifico (accents manuscrits, déjà utilisée par l'ancien site).
   Points de bascule : 1024 px (tablette) et 767 px (téléphone).
   ========================================================================= */

:root {
  --encre:    #151413;
  --encre-2:  #2a2826;
  --papier:   #faf6f0;
  --sable:    #f1e9de;
  --blanc:    #ffffff;
  --gris:     #615b55;
  --trait:    #e3d9cc;

  --orange:   #f39200;   /* orange exact du logo LOL SELFIE */
  --orange-f: #d27c00;
  --soleil:   #f2bf5e;   /* Souriez */
  --corail:   #ff6161;   /* Imprimez */
  --bleu:     #536eb7;   /* Partagez */
  --menthe:   #77e8ca;

  --f-titre:  'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --f-texte:  'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Pacifico', cursive;

  --rayon:    20px;
  --rayon-s:  12px;
  --ombre:    0 18px 40px -18px rgba(21, 20, 19, .35);
  --ombre-s:  0 8px 20px -10px rgba(21, 20, 19, .3);
  --largeur:  1200px;
  --marge:    clamp(20px, 5vw, 40px);
  --section:  clamp(64px, 9vw, 120px);
}

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.evitement { position: absolute; left: -9999px; top: 0; }
.evitement:focus { left: 16px; top: 16px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; border-radius: 8px; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ typographie */
.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-family: var(--f-titre); font-size: 14px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-f);
}
.surtitre::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.titre {
  font-family: var(--f-titre); font-weight: 800;
  font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -.02em;
  margin-bottom: 22px;
}
.titre--m { font-size: clamp(26px, 3.2vw, 38px); }
.script { font-family: var(--f-script); font-weight: 400; color: var(--orange); letter-spacing: .01em; }
.chapo { font-size: clamp(18px, 1.6vw, 20px); color: var(--gris); max-width: 60ch; }
.texte { color: var(--encre-2); max-width: 62ch; }
.texte p { margin-bottom: 1em; }
.centre { text-align: center; }
.centre .chapo, .centre .texte { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--f-titre); font-size: 16px; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--encre); box-shadow: 0 10px 24px -10px rgba(243, 146, 0, .8); }
.btn--orange:hover { background: #ffa21f; }
.btn--encre  { background: var(--encre); color: #fff; }
.btn--encre:hover { background: #000; }
.btn--contour { border-color: currentColor; background: transparent; }
.btn--blanc { background: #fff; color: var(--encre); }
.btn .fleche { transition: transform .2s ease; }
.btn:hover .fleche { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ------------------------------------------------- étiquettes mot-bloc */
.marque { display: inline-flex; font-family: var(--f-titre); font-weight: 700; font-size: 15px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.marque span { padding: 7px 10px; border: 2px solid var(--encre); }
.marque span:first-child { background: var(--encre); color: #fff; }
.marque span:last-child { background: #fff; color: var(--encre); border-left: 0; }
.logo-produit { width: auto; height: clamp(34px, 4vw, 46px); margin-bottom: 24px; }

/* ------------------------------------------------- bandeau FestyFun */
.annonce { background: var(--encre); color: #fff; font-size: 15px; }
.annonce .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; min-height: 42px; padding-top: 8px; padding-bottom: 8px; text-align: center; }
.annonce a { color: var(--orange); font-weight: 700; text-decoration: none; white-space: nowrap; }
.annonce a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- en-tête */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(21, 20, 19, .08);
}
.entete .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.entete-logo img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--f-titre); font-weight: 600; font-size: 16px; text-decoration: none;
  transition: background-color .2s ease;
}
.nav a:hover { background: var(--sable); }
.nav a[aria-current="page"] { background: var(--encre); color: #fff; }
.entete-tel { font-family: var(--f-titre); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.entete .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.entete-fb { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; }
.entete-fb img { width: 22px; height: 22px; }
.burger { display: none; }

/* ------------------------------------------------------------------ héros */
.heros { position: relative; overflow: hidden; background: var(--encre); color: #fff; }
.heros::before {  /* lueur orange, rappel des spots de soirée */
  content: ''; position: absolute; inset: auto -10% -40% 30%; height: 90%;
  background: radial-gradient(closest-side, rgba(243, 146, 0, .35), transparent 70%);
  pointer-events: none;
}
.heros .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 110px); }
.heros .surtitre { color: var(--orange); }
.heros-titre { font-family: var(--f-titre); font-weight: 800; font-size: clamp(40px, 6.2vw, 78px); line-height: .98; letter-spacing: -.03em; margin: 0 0 24px; }
.heros-titre em { font-style: normal; color: var(--orange); }
.heros .chapo { color: rgba(255, 255, 255, .78); }
.heros .btn--contour { color: #fff; }
.heros-preuves { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 15px; color: rgba(255, 255, 255, .75); }
.heros-preuves li::before { content: '✓'; color: var(--menthe); font-weight: 700; margin-right: 8px; }

/* Tirages façon photomaton */
.tirages { position: relative; height: clamp(380px, 44vw, 560px); }
.tirage {
  position: absolute; margin: 0; padding: 10px 10px 34px; background: #fff;
  border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65);
}
.tirage img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.tirage figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--f-script); font-size: 15px; color: var(--encre); }
.tirage--1 { width: 62%; height: 64%; left: 0; top: 8%; transform: rotate(-6deg); z-index: 2; }
.tirage--2 { width: 50%; height: 56%; right: 0; top: 0; transform: rotate(5deg); z-index: 1; }
.tirage--3 { width: 46%; height: 46%; right: 8%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.tirage--1 img, .tirage--2 img, .tirage--3 img { height: 100%; }
.pastille {
  position: absolute; z-index: 4; left: 46%; bottom: 6%;
  display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%;
  background: var(--orange); color: var(--encre); text-align: center;
  font-family: var(--f-titre); font-weight: 800; font-size: 15px; line-height: 1.1;
  transform: rotate(-12deg); box-shadow: var(--ombre);
}
.pastille strong { display: block; font-size: 30px; }

/* Bandeau défilant des évènements */
.defile { overflow: hidden; background: var(--orange); color: var(--encre); padding: 16px 0; border-block: 2px solid var(--encre); }
.defile-piste { display: flex; gap: 40px; width: max-content; animation: defile 38s linear infinite; font-family: var(--f-titre); font-weight: 800; font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; white-space: nowrap; }
.defile-piste span { display: inline-flex; align-items: center; gap: 40px; }
.defile-piste span::after { content: '✦'; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .defile-piste { animation: none; } html { scroll-behavior: auto; } }

/* --------------------------------------------------------------- sections */
.section { padding: var(--section) 0; }
.section--blanc { background: #fff; }
.section--sable { background: var(--sable); }
.section--encre { background: var(--encre); color: #fff; }
.section--encre .texte, .section--encre .chapo { color: rgba(255, 255, 255, .78); }
.section--encre .surtitre { color: var(--orange); }
.entete-section { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.entete-section.centre { margin-left: auto; margin-right: auto; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.duo--inverse > :first-child { order: 2; }
.visuel { position: relative; }
.visuel-fond { position: absolute; inset: 8% -4% -6% 10%; border-radius: var(--rayon); z-index: 0; }
.visuel img { position: relative; z-index: 1; }
.visuel--borne img { max-height: 560px; width: auto; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.photo { border-radius: var(--rayon); box-shadow: var(--ombre); width: 100%; object-fit: cover; }

/* ---------------------------------------------------- cartes « services » */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre-s);
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.service-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sable); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service-image img { transform: scale(1.05); }
.service-corps { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 28px; flex: 1; }
.service-corps img { height: 30px; width: auto; align-self: flex-start; }
.service-corps p { color: var(--gris); font-size: 16px; margin: 0; }
.service-lien { margin-top: auto; font-family: var(--f-titre); font-weight: 700; color: var(--orange-f); }

/* ------------------------------------------- cartes couleur (atouts borne) */
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(48px, 6vw, 72px); }
.atout { position: relative; padding: 30px 28px; border-radius: var(--rayon); color: var(--encre); }
.atout::before { content: attr(data-n); position: absolute; right: 22px; top: 14px; font-family: var(--f-titre); font-weight: 800; font-size: 54px; line-height: 1; opacity: .18; }
.atout--soleil { background: var(--soleil); }
.atout--corail { background: var(--corail); color: #fff; }
.atout--bleu   { background: var(--bleu); color: #fff; }
.atout h4 { font-family: var(--f-titre); font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.atout h6 { font-family: var(--f-texte); font-size: 16px; font-weight: 500; line-height: 1.55; opacity: .95; }

/* ------------------------------------------------- trio Souriez/Imprimez */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.trio-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 18px; border-radius: var(--rayon); background: var(--papier); border: 1px solid var(--trait); text-align: center; }
.trio-item img { width: 64px; height: 64px; }
.trio-item h2 { font-family: var(--f-script); font-weight: 400; font-size: 26px; }
.trio-item--soleil h2 { color: #d49a1d; }
.trio-item--corail h2 { color: var(--corail); }
.trio-item--bleu h2   { color: var(--bleu); }
.trio-item p { margin: 0; font-size: 15px; color: var(--gris); }

/* -------------------------------------------------------------- évènements */
.evenements { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.evenement { position: relative; overflow: hidden; border-radius: var(--rayon); aspect-ratio: 3 / 4; background: var(--encre-2); }
.evenement img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.evenement:hover img { transform: scale(1.06); }
.evenement::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); }
.evenement h1 { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; font-family: var(--f-titre); font-weight: 800; font-size: clamp(18px, 1.8vw, 22px); color: #fff; letter-spacing: .02em; }
.evenements--6 { grid-template-columns: repeat(3, 1fr); }
.puces-evenements { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; list-style: none; }
.puces-evenements h1 { display: inline-block; padding: 12px 20px; border-radius: 999px; background: #fff; border: 2px solid var(--encre); font-family: var(--f-titre); font-weight: 800; font-size: 16px; letter-spacing: .03em; }

/* ------------------------------------------------------------------ étapes */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: etape; list-style: none; }
.etape { position: relative; padding: 28px 24px; border-radius: var(--rayon); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.etape::before { counter-increment: etape; content: counter(etape, decimal-leading-zero); display: block; margin-bottom: 18px; font-family: var(--f-titre); font-weight: 800; font-size: 40px; line-height: 1; color: var(--orange); }
.etape h3 { font-family: var(--f-titre); font-size: 20px; margin-bottom: 10px; }
.etape p { color: rgba(255,255,255,.72); font-size: 16px; margin: 0; }

/* --------------------------------------------------- listes à coches */
.coches { list-style: none; display: grid; gap: 12px; }
.coches li { position: relative; padding-left: 36px; }
.coches li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--menthe) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23151413' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.coches p { margin: 0; }
.coches--2 { grid-template-columns: 1fr 1fr; gap: 14px 30px; }

/* ------------------------------------------------------------- galerie */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.galerie img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--rayon-s); }
.galerie .g-l { grid-column: span 2; grid-row: span 2; }
.galerie .g-h { grid-row: span 2; }

/* ----------------------------------------------------------------- tarifs */
.tarifs { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.tarifs-carte { padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre-s); }
.tarifs-carte h2 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(26px, 3vw, 34px); margin-bottom: 26px; }
.tarifs-carte .sous-titre p { font-family: var(--f-titre); font-weight: 700; font-size: 18px; margin: 30px 0 16px; padding-top: 24px; border-top: 1px dashed var(--trait); }
.offres { display: grid; gap: 16px; }
.offre { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-radius: var(--rayon); background: var(--encre); color: #fff; }
.offre:nth-child(2n) { background: var(--orange); color: var(--encre); }
.offre h2 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); }
.offre-etiquette { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.offre a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--encre); text-decoration: none; }
.offre a h2 { font-size: 15px; font-weight: 700; }
.note { margin-top: 18px; font-size: 15px; color: var(--gris); }

/* ---------------------------------------------------------------- mosaic */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pilier { padding: 32px 26px; border-radius: var(--rayon); background: #fff; text-align: center; box-shadow: var(--ombre-s); }
.pilier img { width: 84px; height: 84px; margin: 0 auto 16px; }
.pilier h2 { font-family: var(--f-titre); font-weight: 800; font-size: 22px; letter-spacing: .06em; }
.pilier--soleil h2 { color: #c88d14; }
.pilier--corail h2 { color: var(--corail); }
.pilier--bleu h2 { color: var(--bleu); }
.pilier p { margin: 10px 0 0; font-size: 15px; color: var(--gris); }

.diapo { border-radius: var(--rayon); overflow: hidden; background: #000; box-shadow: var(--ombre); }
.diapo-scene { position: relative; aspect-ratio: 16 / 9; }
.diapo-item { position: absolute; inset: 0; width: 100%; height: 100%; display: none; background: center / cover no-repeat; object-fit: cover; }
.diapo-item.actif { display: block; }
.diapo-fleche { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); cursor: pointer; }
.diapo-fleche svg { width: 14px; height: 24px; }
.diapo-fleche path { stroke: var(--encre) !important; }
.diapo-fleche--g { left: 14px; }
.diapo-fleche--d { right: 14px; }
.diapo-vignettes { display: flex; gap: 10px; padding: 12px; background: var(--encre); overflow-x: auto; }
.diapo-vignette { flex: 0 0 96px; height: 64px; border: 2px solid transparent; border-radius: 8px; background: center / cover no-repeat; cursor: pointer; opacity: .6; }
.diapo-vignette.actif, .diapo-vignette:hover { opacity: 1; border-color: var(--orange); }

.bas-mosaic h2 { font-family: var(--f-texte); font-size: 17px; font-weight: 400; line-height: 1.6; margin-bottom: 1em; color: var(--encre-2); }

/* -------------------------------------------------------------- appel */
.appel { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 70px); border-radius: calc(var(--rayon) * 1.5); background: var(--orange); color: var(--encre); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.appel .titre { margin-bottom: 12px; }
.appel p { font-size: 18px; margin: 0; }
.appel .actions { margin-top: 0; justify-content: flex-end; }
.appel .btn--contour { color: var(--encre); }

/* --------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-carte { position: sticky; top: 100px; padding: clamp(28px, 4vw, 40px); border-radius: var(--rayon); background: var(--encre); color: #fff; }
.contact-carte h2 { font-family: var(--f-script); font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); color: var(--orange); margin-bottom: 14px; }
.contact-carte .t15 p { font-weight: 600; color: rgba(255,255,255,.85); }
.tel-grand { display: inline-block; margin: 22px 0 6px; font-family: var(--f-titre); font-weight: 800; font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -.01em; text-decoration: none; color: #fff; }
.tel-grand:hover { color: var(--orange); }
.horaires { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); font-size: 16px; }
.zone { display: flex; gap: 10px; margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.75); }

/* Formulaire (balisage partagé : includes/formulaire.php) */
.formulaire { padding: clamp(26px, 4vw, 44px); background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre-s); }
.f-carte { font-family: var(--f-texte); color: var(--encre); }
.f-titre { margin: 0 0 6px; font-family: var(--f-titre); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.f-ok { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #e7f7ef; color: #17633c; }
.f-err { display: block; margin-top: 6px; color: #c0182f; font-size: 14px; }
.f-err--global { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; border: 1px solid #c0182f; }
.f-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-ligne { margin-top: 18px; }
.f-ligne:first-of-type { margin-top: 22px; }
.f-ligne--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-champ label, .f-choix-titre { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 700; }
.f-label-fin { font-weight: 700; }
.f-label-vide { visibility: hidden; }
.f-etoile { color: var(--orange-f); margin-left: 2px; }
.f-champ input, .f-champ textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 2px solid var(--trait); border-radius: 12px; background: var(--papier);
  font: inherit; font-size: 16px; color: var(--encre);
  transition: border-color .2s ease, background-color .2s ease;
}
.f-champ textarea { min-height: 140px; resize: vertical; }
.f-champ input:focus, .f-champ textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.f-choix { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; }
.f-choix .f-choix-titre { width: 100%; }
.f-case {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px;
  border: 2px solid var(--trait); border-radius: 999px; background: var(--papier);
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.f-case:has(input:checked) { border-color: var(--encre); background: var(--soleil); }
.f-case input { width: 20px; height: 20px; accent-color: var(--encre); margin: 0; }
.f-envoi {
  margin-top: 26px; width: 100%; min-height: 58px; border: 0; border-radius: 999px;
  background: var(--orange); color: var(--encre); cursor: pointer;
  font-family: var(--f-titre); font-size: 18px; font-weight: 800;
  box-shadow: 0 12px 26px -12px rgba(243,146,0,.9); transition: transform .2s ease, background-color .2s ease;
}
.f-envoi:hover { background: #ffa21f; transform: translateY(-2px); }

/* Bloc « notre nouveau site » (remplace le formulaire de contact) */
.nouveau-site { padding: clamp(28px, 4vw, 48px); border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre-s); border-top: 6px solid var(--orange); }
.nouveau-site .titre { margin-bottom: 16px; }

/* Message de redirection vers FestyFun */
.festy { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(21, 20, 19, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.festy[hidden] { display: none; }
.festy-carte { width: min(520px, 100%); padding: clamp(28px, 5vw, 44px); border-radius: calc(var(--rayon) * 1.2); background: var(--papier); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); text-align: center; animation: glisse .3s ease; }
.festy-avant { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; font-family: var(--f-titre); font-weight: 800; font-size: 22px; }
.festy-avant img { height: 26px; width: auto; }
.festy-avant span { color: var(--orange-f); }
.festy-titre { font-family: var(--f-titre); font-weight: 800; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; margin-bottom: 14px; }
.festy-compte { margin-top: 18px; font-size: 15px; color: var(--gris); }
.festy .actions { justify-content: center; margin-top: 22px; }
.festy .btn--contour { color: var(--encre); }
@keyframes glisse { from { opacity: 0; transform: translateY(-8px); } }

/* -------------------------------------------- pages de texte (FAQ, etc.) */
.page-titre { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); background: var(--encre); color: #fff; }
.page-titre::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(243,146,0,.45), transparent); }
.page-titre .titre { margin: 0; position: relative; z-index: 1; }
.page-titre .chapo { color: rgba(255,255,255,.75); margin-top: 16px; position: relative; z-index: 1; }
.article { max-width: 760px; }
.article h5 { font-family: var(--f-titre); font-size: 24px; font-weight: 800; margin: 48px 0 16px; }
.article h5:first-child { margin-top: 0; }
.article p { color: var(--encre-2); }

.faq-liste { display: grid; gap: 14px; margin-top: 40px; }
.faq-liste details { border-radius: var(--rayon-s); background: #fff; box-shadow: var(--ombre-s); }
.faq-liste summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; font-family: var(--f-titre); font-weight: 700; font-size: 18px; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sable); font-size: 22px; transition: transform .2s ease; }
.faq-liste details[open] summary::after { transform: rotate(45deg); background: var(--orange); }
.faq-liste details > div { padding: 0 24px 22px; color: var(--encre-2); }

/* ------------------------------------------------------ mentions légales */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-sommaire { position: sticky; top: 100px; padding: 22px 24px; border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre-s); }
.legal-sommaire p { margin: 0 0 12px; font-family: var(--f-titre); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-f); }
.legal-sommaire ol { list-style: none; display: grid; gap: 4px; }
.legal-sommaire a { display: block; padding: 6px 0; text-decoration: none; font-weight: 600; }
.legal-sommaire a:hover { color: var(--orange-f); }
.legal .article h2 { font-family: var(--f-titre); font-weight: 800; font-size: clamp(24px, 2.6vw, 30px); margin: 56px 0 18px; scroll-margin-top: 100px; }
.legal .article h2:first-child { margin-top: 0; }
.legal .article h3 { font-family: var(--f-titre); font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.fiche { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; margin: 0; border-radius: var(--rayon-s); overflow: hidden; background: #fff; box-shadow: var(--ombre-s); }
.fiche dt, .fiche dd { margin: 0; padding: 13px 18px; border-bottom: 1px solid var(--sable); }
.fiche dt { font-weight: 700; background: var(--papier); }
.fiche dt:last-of-type, .fiche dd:last-of-type { border-bottom: 0; }
.a-completer { padding: 2px 8px; border-radius: 6px; background: var(--orange); color: var(--encre); font-weight: 700; font-size: 14px; }
.maj { margin-top: 48px; font-size: 14px; color: var(--gris); }

/* ---------------------------------------------------------------- pied */
.pied { background: var(--encre); color: rgba(255,255,255,.78); padding: clamp(56px, 7vw, 90px) 0 32px; }
.pied-haut { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.pied-logo { height: 32px; width: auto; margin-bottom: 18px; background: #fff; padding: 6px 8px; border-radius: 6px; box-sizing: content-box; }
.pied h3 { font-family: var(--f-titre); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.pied ul { list-style: none; display: grid; gap: 10px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--orange); }
.pied-tel { font-family: var(--f-titre); font-size: 22px; font-weight: 800; color: #fff; }
.pied-bas { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }
.pied-texte p { margin: 0; line-height: 1.7; }
.fb { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; }
.fb img { width: 28px; height: 28px; border-radius: 6px; background: #fff; }

/* Bouton d'appel flottant (téléphone) */
.appel-flottant { display: none; }

/* Apparition douce au défilement (activée par site.js) */
.js .revele { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .revele.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .revele { opacity: 1; transform: none; transition: none; } }

/* ====================================================================== */
/* TABLETTE                                                               */
/* ====================================================================== */
@media (max-width: 1024px) {
  .entete-tel { display: none; }
  .nav a { padding: 10px 10px; }
  .heros .wrap { grid-template-columns: 1fr; }
  .tirages { max-width: 620px; width: 100%; margin: 0 auto; }
  .services, .atouts, .piliers { grid-template-columns: 1fr 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .evenements { grid-template-columns: 1fr 1fr; }
  .tarifs, .contact, .appel { grid-template-columns: 1fr; }
  .appel .actions { justify-content: flex-start; }
  .contact-carte { position: static; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal-sommaire { position: static; }
}

/* ====================================================================== */
/* TÉLÉPHONE                                                              */
/* ====================================================================== */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .entete .wrap { height: 64px; gap: 12px; }
  .entete-logo img { height: 28px; }
  .entete .btn, .entete-fb { display: none; }
  .burger {
    display: grid; place-items: center; margin-left: auto;
    width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--encre); cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s ease, background-color .25s ease; }
  .burger span { position: relative; }
  .burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
  .burger span::before { top: -6px; }
  .burger span::after { top: 6px; }
  .burger[aria-expanded="true"] span { background: transparent; }
  .burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

  /* Panneau masqué par display:none et non par une translation : un bloc
     fixe poussé hors écran élargissait la page à 786 px sur iPhone. */
  .nav { display: none; position: fixed; inset: 64px 0 0 0; margin: 0; padding: 24px var(--marge) 40px; background: var(--papier); overflow-y: auto; }
  .nav.ouvert { display: block; animation: glisse .25s ease; }
  @keyframes glisse { from { opacity: 0; transform: translateY(-8px); } }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { padding: 16px 18px; font-size: 24px; font-weight: 700; border-radius: 14px; }
  .nav-extra { display: grid !important; gap: 12px; margin-top: 26px; }

  .heros .wrap { padding-top: 36px; padding-bottom: 56px; }
  .heros-titre { font-size: clamp(38px, 11vw, 52px); }
  .actions .btn { flex: 1 1 100%; }
  .tirages { height: 330px; }
  .pastille { width: 104px; height: 104px; font-size: 14px; left: auto; right: 0; bottom: -4%; }
  .pastille strong { font-size: 24px; }

  .duo { grid-template-columns: 1fr; }
  .duo--inverse > :first-child { order: 0; }
  .services, .atouts, .piliers, .etapes, .trio { grid-template-columns: 1fr; }
  .trio { gap: 12px; }
  .trio-item { flex-direction: row; text-align: left; padding: 16px 18px; gap: 16px; }
  .trio-item img { width: 48px; height: 48px; flex: none; }
  .evenements, .evenements--6 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .evenement h1 { font-size: 16px; left: 12px; right: 12px; bottom: 12px; }
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .galerie .g-l { grid-column: span 2; grid-row: span 2; }
  .coches--2 { grid-template-columns: 1fr; }
  .offre { flex-direction: column; align-items: flex-start; }
  .f-ligne--2 { grid-template-columns: 1fr; }
  .f-label-vide { display: none; }
  .visuel--borne img { max-height: 420px; }
  .pied-haut { grid-template-columns: 1fr; gap: 30px; }
  .fiche { grid-template-columns: 1fr; }
  .fiche dt { border-bottom: 0; padding-bottom: 2px; }
  .fiche dd { padding-top: 2px; }
  .pied-bas { flex-direction: column; }

  /* Appel en un geste, toujours à portée de pouce */
  .appel-flottant {
    display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
    gap: 10px;
  }
  .appel-flottant a { flex: 1; min-height: 52px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.55); }
  body { padding-bottom: 76px; }
}
.nav-extra { display: none; }
