/* Photily : feuille de style commune (photily.fr). Modifiable librement : la CSP autorise 'self'. */
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
:root {
  --encre: #161F38; --encre-2: #222C4A; --soleil: #F7C659; --bois: #E9D5B0;
  --tirage: #FFFFFF; --fond: #F2F3F6; --doux: #4A5168; --doux-sur-encre: #B9C0D4; --filet: #D8DBE4;
  --rayon: 10px; --cible: 48px;
  --gouttiere: clamp(1.25rem, 0.6rem + 3vw, 3rem); --largeur: 72rem;
  --police: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--police); font-size: 1.0625rem; line-height: 1.55; color: var(--encre); background: var(--fond); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 750; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); max-width: 22ch; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; }
h4 { margin: 0; font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(4rem, 2.5rem + 6vw, 7.5rem); }
.section--blanche { background: var(--tirage); }
.chapo { margin-top: 1.1rem; font-size: 1.15rem; color: var(--doux); max-width: 56ch; }
.saut { position: absolute; left: -999px; top: 0; background: var(--soleil); color: var(--encre); padding: .75rem 1rem; z-index: 10; }
.saut:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
.sombre :focus-visible { outline-color: var(--soleil); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--cible); padding: 0 1.5rem; border-radius: var(--rayon); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; border: 0; }
.btn--soleil { background: var(--soleil); color: var(--encre); }
.btn--soleil:hover { background: #FAD47E; }
.btn--encre { background: var(--encre); color: #fff; }
.btn--encre:hover { background: var(--encre-2); }
.btn--contour { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.lien-fort { font-weight: 650; text-underline-offset: .2em; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 5; background: var(--encre); color: #fff; padding-top: env(safe-area-inset-top); }
.entete__ligne { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; font-weight: 750; font-size: 1.25rem; text-decoration: none; color: #fff; }
.marque svg { width: 2.1rem; height: auto; color: var(--soleil); }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--doux-sur-encre); font-weight: 550; padding-block: .75rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--soleil); }
.langue { color: var(--doux-sur-encre); font-size: .95rem; text-decoration: none; padding: .75rem .25rem; }
.entete .btn { min-height: 42px; padding: 0 1.1rem; }
@media (max-width: 900px) { .nav, .langue { display: none; } .entete .btn { margin-left: auto; } }
@media (max-width: 760px) { .avec-barre .entete .btn { display: none; } }
.menu-mobile { display: none; }
@media (max-width: 900px) {
  .menu-mobile { display: flex; gap: .25rem; overflow-x: auto; padding: 0 var(--gouttiere) .6rem; scrollbar-width: none; }
  .menu-mobile a { flex: none; text-decoration: none; color: var(--doux-sur-encre); font-size: .95rem; font-weight: 550; padding: .45rem .8rem; border-radius: 999px; background: var(--encre-2); }
  .menu-mobile a[aria-current="page"] { background: var(--soleil); color: var(--encre); }
}

/* Barre d'action mobile */
.barre-action { display: none; }
@media (max-width: 760px) {
  .barre-action { display: flex; position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; padding: .75rem var(--gouttiere) calc(.75rem + env(safe-area-inset-bottom)); background: rgb(22 31 56 / .96); transition: transform .25s ease; }
  .barre-action .btn { flex: 1; }
  .barre-action[data-masquee="oui"] { transform: translateY(110%); }
  body.avec-barre { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}

/* Hero */
.hero { background: var(--encre); color: #fff; overflow: hidden; }
.hero__grille { display: grid; gap: 3rem; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(4rem, 3rem + 5vw, 6.5rem); align-items: center; }
@media (min-width: 960px) { .hero__grille { grid-template-columns: 1fr 1.05fr; } }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 5vw, 4.8rem); letter-spacing: -0.035em; max-width: 13ch; }
.hero .chapo { color: var(--doux-sur-encre); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__note { margin-top: 1.1rem; font-size: .95rem; color: var(--doux-sur-encre); max-width: 46ch; }
.hero--court .hero__grille { grid-template-columns: 1fr; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.hero--court h1 { max-width: 18ch; font-size: clamp(2.3rem, 1.4rem + 4vw, 4rem); }

/* La démo de la borne */
.hero__demo { margin: 0; }
.demo { position: relative; width: min(100%, 38rem); margin-inline: auto; padding-right: 20%; }
.ipad { position: relative; z-index: 2; background: #2A3350; border-radius: 26px; padding: 13px; box-shadow: 0 30px 60px -25px rgb(0 0 0 / .6), inset 0 0 0 1px rgb(255 255 255 / .08); }
.scene { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #0E1426; container-type: inline-size; }
.scene > img { position: absolute; width: 128%; max-width: none; left: -24%; top: -12%; }
.decompte { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.decompte span { grid-area: 1 / 1; font-size: 22cqw; font-weight: 800; color: #fff; text-shadow: 0 4px 24px rgb(0 0 0 / .45); opacity: 0; letter-spacing: -0.03em; }
.decompte span:last-child { font-size: 13cqw; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.demo .tirage { position: absolute; z-index: 1; right: 0; top: 16%; width: 38%; rotate: 5deg; }
.tirage { background: var(--tirage); padding: .5rem .5rem .4rem; border-radius: 3px; box-shadow: 0 1px 2px rgb(22 31 56 / .15), 0 14px 30px -14px rgb(22 31 56 / .45); color: var(--encre); }
.tirage .scene { border-radius: 0; }
.tirage__legende { font-size: .72rem; font-weight: 700; text-align: center; padding: .45rem 0 .2rem; letter-spacing: -0.01em; }
.demo__bas { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-right: 0; }
.demo__legende { font-size: .92rem; color: var(--doux-sur-encre); max-width: 34ch; }
.rejouer { display: none; min-height: 44px; padding: 0 1rem; border-radius: var(--rayon); border: 0; background: var(--encre-2); color: #fff; font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; flex: none; }
.js .rejouer { display: inline-flex; align-items: center; }
.demo.joue .decompte span { animation: chiffre .7s ease both; }
.demo.joue .decompte span:nth-child(1) { animation-delay: .6s; }
.demo.joue .decompte span:nth-child(2) { animation-delay: 1.3s; }
.demo.joue .decompte span:nth-child(3) { animation-delay: 2s; }
.demo.joue .decompte span:nth-child(4) { animation-delay: 2.7s; animation-duration: .9s; }
.demo.joue .flash { animation: flash .6s ease-out 3.55s both; }
.demo.joue .tirage { animation: sortie 1.3s cubic-bezier(.2,.7,.2,1) 4s both; }
@keyframes chiffre { 0% { opacity: 0; scale: .6; } 25% { opacity: 1; scale: 1; } 75% { opacity: 1; } 100% { opacity: 0; scale: 1.15; } }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: .95; } 100% { opacity: 0; } }
@keyframes sortie { from { translate: -75% 0; rotate: 0deg; opacity: 0; } 15% { opacity: 1; } 70% { translate: 4% 0; rotate: 5deg; } to { translate: 0 0; rotate: 5deg; opacity: 1; } }

/* Rangées de fonctions */
.rangee { display: grid; gap: 2.5rem; align-items: center; margin-top: 3.5rem; }
@media (min-width: 900px) { .rangee { grid-template-columns: 1fr 1fr; gap: 4rem; } .rangee--inverse > :first-child { order: 2; } }
.points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.points li { padding-left: 1.6rem; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .7rem; border-radius: 2px; background: var(--soleil); box-shadow: inset 0 0 0 2px var(--encre); }
.points strong { display: block; }
.points { max-width: 46rem; }
.points li > span { color: var(--doux); }
.sombre .points li > span { color: var(--doux-sur-encre); }
.nouveau { display: inline-block; vertical-align: .15em; margin-left: .4rem; font-size: .72rem; font-weight: 700; background: var(--soleil); color: var(--encre); border-radius: 999px; padding: .05rem .5rem; letter-spacing: 0; }

/* Palette d'accessoires */
.palette { background: var(--encre); border-radius: 18px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); color: #fff; }
.palette__grille { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; align-items: center; }
.palette__grille div { aspect-ratio: 1; display: grid; place-items: center; background: var(--fond); border-radius: 12px; padding: 18%; }
.palette__grille svg { width: 100%; height: auto; }
.palette p { margin-top: 1.25rem; color: var(--doux-sur-encre); font-size: .95rem; }
.voix { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); }
.voix label { display: block; font-weight: 650; font-size: .95rem; }
.voix input { margin-top: .5rem; width: 100%; max-width: 16rem; min-height: var(--cible); border-radius: var(--rayon); border: 2px solid var(--doux-sur-encre); background: transparent; color: #fff; font: inherit; padding: 0 .9rem; }
.voix input:focus-visible { outline: 3px solid var(--soleil); border-color: var(--soleil); }
.palette .voix__phrase { margin-top: .9rem; font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); font-weight: 750; letter-spacing: -0.02em; color: var(--soleil); overflow-wrap: anywhere; }
.modes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding: 0; list-style: none; }
.modes li { background: var(--tirage); border: 1px solid var(--filet); font-weight: 650; border-radius: 999px; padding: .35rem .9rem; font-size: .95rem; }
.modes li { color: var(--encre); }
.section--blanche .modes li { background: var(--fond); }
.sombre .modes li { background: var(--soleil); border-color: var(--soleil); }

/* Bande 5x15 */
.bande-zone { display: flex; justify-content: center; gap: 1.5rem; align-items: flex-start; }
.bande { width: min(11rem, 40vw); background: var(--soleil); padding: .55rem .55rem 0; border-radius: 3px; box-shadow: 0 14px 30px -14px rgb(22 31 56 / .45); rotate: -3deg; }
.bande img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: .45rem; border: 2px solid var(--encre); }
.bande p { text-align: center; font-weight: 800; font-size: .95rem; padding: .3rem 0 .7rem; letter-spacing: -0.01em; }
.bande-zone .reglages { margin-top: 1rem; display: grid; gap: .5rem; font-size: .9rem; }
.reglages div { background: var(--tirage); border: 1px solid var(--filet); border-radius: 8px; padding: .45rem .7rem; display: flex; justify-content: space-between; gap: 1rem; }
.reglages span { color: var(--doux); }
.reglages strong { font-variant-numeric: tabular-nums; }

/* Ticket thermique */
.ticket { width: min(13rem, 60vw); margin-inline: auto; background: #FBFBF8; padding: 1rem .9rem 1.4rem; box-shadow: 0 14px 30px -14px rgb(22 31 56 / .45); position: relative; rotate: 2deg; text-align: center; font-weight: 700; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 6px, #FBFBF8 0) 0 0 / 12px 12px, linear-gradient(45deg, transparent 6px, #FBFBF8 0) 0 0 / 12px 12px; }
.ticket img { filter: grayscale(1) contrast(1.35) brightness(1.05); aspect-ratio: 1; object-fit: cover; width: 100%; margin: .6rem 0; }
.ticket small { display: block; font-weight: 500; font-size: .78rem; color: #333; }
.encart { margin-top: 3.5rem; background: var(--fond); border-radius: 14px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.encart__usages { display: grid; gap: 1.5rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.encart__usages p, .encart > p { color: var(--doux); margin-top: .35rem; font-size: .98rem; }

/* Étapes invités */
.etapes { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 2rem; counter-reset: etape; }
@media (min-width: 760px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etapes li { counter-increment: etape; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--encre); color: var(--soleil); font-weight: 750; margin-bottom: .9rem; }
.etapes p { color: var(--doux); margin-top: .35rem; }
.souvenirs { display: grid; gap: 0 3rem; margin-top: 3.5rem; }
@media (min-width: 760px) { .souvenirs { grid-template-columns: 1fr 1fr; } }
.souvenirs > div { padding: 1.4rem 0; border-top: 2px solid var(--encre); }
.souvenirs p { color: var(--doux); margin-top: .4rem; max-width: 46ch; }

/* Bande loueurs */
.loueurs-bande { background: var(--encre); color: #fff; }
.loueurs-bande .chapo { color: var(--doux-sur-encre); }
.loueurs-bande .btn { margin-top: 2.25rem; }

/* Découverte ou Pass */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem); max-width: 40rem; margin: 3rem auto 0; }
.duo figure { margin: 0; }
.duo .tirage { padding-bottom: .5rem; }
.duo .tirage img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.duo figure:first-child .tirage { rotate: -2deg; }
.duo figure:last-child .tirage { rotate: 2deg; }
.filigrane { position: relative; }
.filigrane::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='90'%3E%3Ctext x='8' y='52' transform='rotate(-24 75 45)' font-family='sans-serif' font-weight='700' font-size='22' fill='white' fill-opacity='.55'%3EPhotily%3C/text%3E%3C/svg%3E"); }
.tirage__pied { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .15rem .1rem; font-size: .75rem; font-weight: 700; min-height: 3.1rem; }
.tirage__pied svg { width: 2.6rem; height: 2.6rem; flex: none; }
.duo figcaption { margin-top: 1.25rem; text-align: center; }
.duo figcaption strong { display: block; }
.duo figcaption span { color: var(--doux); font-size: .95rem; }

/* Tarifs */
.onglets { display: none; gap: .25rem; margin-top: 2.5rem; background: var(--tirage); padding: .3rem; border-radius: 12px; width: fit-content; border: 1px solid var(--filet); }
.js .onglets { display: inline-flex; }
.onglet { min-height: 44px; padding: 0 1.2rem; border: 0; border-radius: 9px; font: inherit; font-weight: 650; background: transparent; color: var(--doux); cursor: pointer; }
.onglet[aria-selected="true"] { background: var(--encre); color: #fff; }
.offres { margin-top: 2rem; }
.offres h3.titre-panneau { margin-bottom: 1rem; }
.js .offres h3.titre-panneau { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.offres + .offres { margin-top: 3rem; }
.js .offres + .offres { margin-top: 2rem; }
.offres[hidden] { display: none; }
.cartes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.offre { background: var(--tirage); border-radius: 14px; padding: 1.75rem; display: flex; flex-direction: column; gap: .5rem; border: 1px solid var(--filet); }
.offre--phare { background: var(--encre); color: #fff; border-color: var(--encre); }
.offre--phare .offre__detail, .offre--phare li { color: var(--doux-sur-encre); }
.offre__nom { font-weight: 700; font-size: 1.15rem; }
.offre__prix { font-size: 2.4rem; font-weight: 780; letter-spacing: -0.03em; line-height: 1.1; }
.offre__prix small { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.offre__detail { color: var(--doux); font-size: .98rem; }
.offre ul { margin: .75rem 0 1.25rem; padding-left: 1.1rem; color: var(--doux); display: grid; gap: .3rem; }
.offre__action { margin-top: auto; align-self: flex-start; }
.offre__badge { align-self: flex-start; background: var(--soleil); color: var(--encre); border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; font-weight: 700; }
.mentions-tarifs { margin-top: 1.75rem; font-size: .92rem; color: var(--doux); max-width: 70ch; }

/* Calculateur */
.calcul { margin-top: 3rem; background: var(--tirage); border: 1px solid var(--filet); border-radius: 14px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 2rem; }
@media (min-width: 860px) { .calcul { grid-template-columns: 1fr 1.2fr; align-items: center; } }
.calcul label { font-weight: 700; font-size: 1.1rem; display: block; }
.calcul__nombre { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: .75rem; font-variant-numeric: tabular-nums; }
.calcul__nombre small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--doux); }
.calcul input[type="range"] { width: 100%; margin-top: 1rem; accent-color: var(--encre); min-height: var(--cible); }
.calcul__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.calcul__table th, .calcul__table td { text-align: left; padding: .75rem .5rem .75rem 0; border-bottom: 1px solid var(--filet); }
.calcul__table td { text-align: right; font-weight: 700; white-space: nowrap; }
.calcul__table thead th { font-size: .9rem; color: var(--doux); font-weight: 600; }
.calcul__table thead th + th { text-align: right; }
.calcul__table tr.meilleur th, .calcul__table tr.meilleur td { background: #FDF3D9; }
.calcul__table tr.meilleur th { padding-left: .5rem; }
.calcul__note { margin-top: 1rem; font-size: .9rem; color: var(--doux); }

/* Liste de contrôle */
.controle { list-style: none; padding: 0; margin: 0; background: var(--tirage); border-radius: 14px; border: 1px solid var(--filet); }
.controle li { display: flex; gap: .9rem; align-items: center; padding: .85rem 1.2rem; border-bottom: 1px solid var(--filet); font-weight: 600; }
.controle li:last-child { border-bottom: 0; }
.controle li::before { content: ""; flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--soleil) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23161F38' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.controle__titre { background: var(--encre); color: #fff; border-radius: 14px 14px 0 0; }
.controle__titre::before { display: none; }

/* Fiche client */
.fiche { background: var(--tirage); width: min(17rem, 80vw); margin-inline: auto; padding: 1.5rem 1.25rem; border-radius: 6px; rotate: -2deg; box-shadow: 0 14px 30px -14px rgb(22 31 56 / .45), inset 0 0 0 6px #EEF0F5; }
.fiche h4 { font-size: 1.1rem; }
.fiche ol { margin: .8rem 0; padding-left: 1.2rem; font-size: .88rem; color: var(--doux); display: grid; gap: .3rem; }
.fiche__code { display: flex; justify-content: space-between; border-top: 1px dashed var(--filet); padding-top: .7rem; font-size: .88rem; }
.fiche__code strong { letter-spacing: .2em; }

/* Catalogue de fonctions */
.sommaire { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.sommaire a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 1rem; border-radius: 999px; background: var(--encre-2); color: #fff; text-decoration: none; font-weight: 600; }
.sommaire a:hover { background: var(--soleil); color: var(--encre); }
.catalogue { display: grid; gap: 1rem 4rem; margin-top: 2.5rem; }
@media (min-width: 860px) { .catalogue { grid-template-columns: 16rem 1fr; } }
.catalogue h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); scroll-margin-top: 6rem; }
.catalogue dl { margin: 0; }
.catalogue dt { font-weight: 700; padding-top: 1.1rem; border-top: 1px solid var(--filet); }
.catalogue dt:first-child { border-top: 2px solid var(--encre); }
.catalogue dd { margin: .3rem 0 1.1rem; color: var(--doux); max-width: 62ch; }
.catalogue + .catalogue { margin-top: 4rem; }

/* Bandeau bois */
.bois { background: var(--bois); }
.bois p { margin-top: 1rem; max-width: 52ch; }
.bois .btn { margin-top: 1.75rem; }
.appel { background: var(--encre); color: #fff; }
.appel .chapo { color: var(--doux-sur-encre); }
.appel .btn { margin-top: 2rem; }

/* FAQ */
.faq { margin-top: 2.5rem; max-width: 52rem; }
.faq details { border-top: 1px solid var(--filet); }
.faq details:last-child { border-bottom: 1px solid var(--filet); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 650; font-size: 1.1rem; position: relative; min-height: var(--cible); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--doux); max-width: 62ch; }

/* Pied de page */
.portes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.porte { display: grid; gap: .35rem; padding: 1.5rem; border-radius: var(--rayon); text-decoration: none; min-height: 7rem; }
.porte--location { background: var(--bois); color: var(--encre); }
.porte--galerie { background: var(--encre-2); color: #fff; }
.porte strong { font-size: 1.15rem; }
.porte span { opacity: .9; }
.pied { background: var(--encre); color: var(--doux-sur-encre); padding-block: 3.5rem calc(2.5rem + env(safe-area-inset-bottom)); font-size: .92rem; }
.pied__legal { margin-top: 2.5rem; display: grid; gap: .5rem; }
.pied__liens { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.pied a { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo.joue *, .demo.joue { animation: none !important; }
  .faq summary::after, .barre-action { transition: none; }
}
@media (min-width: 860px) { .catalogue h2 { position: sticky; top: 6rem; align-self: start; } }


/* Deux façons de faire un layout */
.voies { display: grid; gap: 1rem; margin-top: 2.5rem; align-items: stretch; }
@media (min-width: 900px) { .voies { grid-template-columns: 1fr auto 1fr; } }
.voie { background: var(--fond); border-radius: 14px; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.voie--import { background: var(--encre); color: #fff; }
.voie--import .points li > span { color: var(--doux-sur-encre); }
.voie--import .points li::before { box-shadow: none; }
.voie__titre { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.015em; }
.voie .points { margin-top: 1.25rem; }
.voies__ou { align-self: center; justify-self: center; font-weight: 750; color: var(--doux); }
.section--blanche > .conteneur > .btn { margin-top: 2rem; }

/* Photily 1.3 : bandeau d'annonce, cartes des nouveautés, étiquette Pro, maquettes gestion web et télécommande */
.annonce { display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap; min-height: var(--cible); padding: .55rem var(--gouttiere); background: var(--soleil); color: var(--encre); font-weight: 650; text-align: center; text-decoration: none; }
.annonce:hover { background: #FAD47E; }
.annonce .nouveau { margin: 0; background: var(--encre); color: var(--soleil); }
.annonce__fleche { transition: transform .2s; }
.annonce:hover .annonce__fleche { transform: translateX(3px); }
.pro { display: inline-block; vertical-align: .15em; margin-left: .4rem; font-size: .72rem; font-weight: 700; background: var(--encre); color: #fff; border-radius: 999px; padding: .05rem .5rem; letter-spacing: 0; }
.sombre .pro, .voie--import .pro { background: #fff; color: var(--encre); }
.nouveautes { display: grid; gap: 1rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.nouveaute { display: flex; flex-direction: column; gap: .6rem; background: var(--fond); border-radius: 14px; padding: clamp(1.4rem, 1rem + 1.4vw, 2rem); border-top: 6px solid var(--soleil); }
.nouveaute h3 { font-size: 1.25rem; }
.nouveaute p { color: var(--doux); }
.nouveaute__pour { font-size: .85rem; font-weight: 650; color: var(--encre) !important; margin-top: auto; padding-top: .6rem; }
.aussi { margin-top: 2.5rem; }
.aussi > p { font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
/* Maquette : la gestion web dans un navigateur */
.navigateur { background: var(--tirage); border-radius: 14px; box-shadow: 0 18px 50px -20px rgba(22,31,56,.45); overflow: hidden; border: 1px solid var(--filet); max-width: 34rem; width: 100%; justify-self: center; }
.navigateur__barre { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--fond); border-bottom: 1px solid var(--filet); }
.navigateur__barre i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--filet); }
.navigateur__barre span { margin-left: .6rem; font-size: .8rem; color: var(--doux); background: var(--tirage); border-radius: 999px; padding: .15rem .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navigateur__corps { padding: 1.25rem; display: grid; gap: .65rem; }
.navigateur__titre { font-weight: 750; font-size: 1.05rem; }
.evt { display: grid; grid-template-columns: 2.6rem 1fr auto; gap: .8rem; align-items: center; padding: .7rem .8rem; border-radius: 10px; background: var(--fond); }
.evt__vignette { width: 2.6rem; height: 2.6rem; border-radius: 8px; object-fit: cover; }
.evt strong { display: block; font-size: .95rem; }
.evt small { color: var(--doux); font-size: .8rem; }
.evt__etat { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; background: #DDF3E4; color: #14532D; white-space: nowrap; }
.evt__etat--prep { background: #FDF0CF; color: #6B4A00; }
/* Maquette : la télécommande sur téléphone */
.telephone { width: min(17rem, 100%); justify-self: center; background: var(--encre); color: #fff; border-radius: 2.2rem; padding: 1.4rem 1rem 1.6rem; box-shadow: 0 18px 50px -20px rgba(22,31,56,.6); border: 6px solid var(--encre-2); }
.telephone__titre { font-weight: 750; font-size: 1.05rem; padding: 0 .4rem .8rem; }
.borne-carte { background: var(--encre-2); border-radius: 14px; padding: .85rem .9rem; display: grid; gap: .45rem; }
.borne-carte + .borne-carte { margin-top: .6rem; }
.borne-carte__nom { display: flex; justify-content: space-between; align-items: center; font-weight: 650; font-size: .95rem; }
.borne-carte__point { width: .6rem; height: .6rem; border-radius: 50%; background: #4ADE80; }
.borne-carte__point--alerte { background: var(--soleil); }
.borne-carte__jauges { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; font-size: .78rem; color: var(--doux-sur-encre); }
.jauge { height: .35rem; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; margin-top: .2rem; }
.jauge b { display: block; height: 100%; background: var(--soleil); }
.borne-carte__alerte { font-size: .78rem; color: var(--soleil); }
@media (prefers-reduced-motion: reduce) { .annonce__fleche { transition: none; } }
.jauge .j20 { width: 20%; } .jauge .j35 { width: 35%; } .jauge .j60 { width: 60%; } .jauge .j70 { width: 70%; } .jauge .j85 { width: 85%; } .jauge .j95 { width: 95%; }
.encart--blanc { background: var(--tirage); }
@media (max-width: 640px) { .annonce { flex-wrap: nowrap; justify-content: flex-start; text-align: left; font-size: .95rem; line-height: 1.3; } .annonce .nouveau, .annonce__fleche { flex: none; } }
/* Captures réelles de l'app (gestion web et télécommande) */
.capture { margin: 0; justify-self: center; width: min(20rem, 100%); }
.capture img { width: 100%; border-radius: 1.6rem; border: 6px solid var(--encre); box-shadow: 0 18px 50px -20px rgba(22,31,56,.55); background: #2A2A2A; }
.capture figcaption { margin-top: .8rem; font-size: .9rem; color: var(--doux); text-align: center; }
/* Lisibilité : la carte « Louer la borne » garde le texte foncé sur fond bois (la règle .pied a la passait en blanc) */
.pied .porte--location { color: var(--encre); }

/* Articles (guides) */
.article { max-width: 46rem; }
.article h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.75rem; max-width: none; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--doux); font-size: 1.1rem; }
.article p { margin-top: 1rem; }
.article ul { margin: 1rem 0 0; padding-left: 1.25rem; display: grid; gap: .6rem; }
.article strong { color: var(--encre); }
.article a { font-weight: 650; text-underline-offset: .2em; }
.article__surtitre { color: var(--soleil); font-weight: 700; }
.article__date { margin-top: 2.5rem !important; font-size: .95rem !important; }

/* Compte Photily */
.compte__sous-titre { margin-top: 3rem; font-size: 1.35rem; }
#compte .etapes { margin-top: 1.25rem; }
@media (min-width: 760px) { #compte .etapes { grid-template-columns: repeat(2, 1fr); } }

/* Page Windows */
.encart--alerte { margin-top: 0; background: #FDF0CF; border-left: 6px solid var(--soleil); }
.encart__titre { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); max-width: none; }
.encart--alerte p { color: var(--encre); margin-top: .75rem; }
.encart__liste { margin: .75rem 0 0; padding-left: 1.4rem; display: grid; gap: .35rem; font-size: 1.1rem; }
@media (min-width: 900px) { .etapes--cinq { grid-template-columns: repeat(5, 1fr); } }
.etapes code { font-size: .85em; overflow-wrap: anywhere; }
.formules__groupe { margin: 2.5rem 0 1rem; font-size: 1.3rem; }
.offre__plateformes { margin-top: auto; display: grid; gap: .35rem; font-size: .95rem; font-weight: 650; }
.offre__plateformes a { text-underline-offset: .2em; }

/* Refonte « gratuit avec pub » (11/2026) : deux entrées, tableau comparatif, page Pour ma fête */
.entrees { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .entrees { grid-template-columns: 1fr 1fr; } }
.entree { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: 18px; background: var(--tirage); border: 1px solid var(--filet); color: var(--encre); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.entree:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(22,31,56,.5); }
.entree--loueurs { background: var(--encre); border-color: var(--encre); color: #fff; }
.entree--loueurs:focus-visible { outline-color: var(--soleil); }
.entree__surtitre { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--doux); }
.entree--loueurs .entree__surtitre { color: var(--soleil); }
.entree__titre { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 750; }
.entree__texte { color: var(--doux); }
.entree--loueurs .entree__texte { color: var(--doux-sur-encre); }
.entree__lien { margin-top: auto; padding-top: .5rem; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
@media (prefers-reduced-motion: reduce) { .entree { transition: none; } .entree:hover { transform: none; } }
.lien-centre { margin-top: 2.5rem; text-align: center; }
.comparatif__titre { margin-top: 3.5rem; font-size: 1.5rem; }
.comparatif { position: relative; margin-top: 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--filet); border-radius: 14px; background: var(--tirage); }
.comparatif table { width: 100%; min-width: 42rem; border-collapse: collapse; font-size: .95rem; }
.comparatif th, .comparatif td { padding: .85rem 1rem; text-align: center; vertical-align: top; border-bottom: 1px solid var(--filet); }
.comparatif thead th { background: var(--encre); color: #fff; font-weight: 700; white-space: nowrap; }
.comparatif tbody th { text-align: left; font-weight: 650; position: sticky; left: 0; background: var(--tirage); min-width: 11rem; max-width: 17rem; }
.comparatif thead th:first-child { position: sticky; left: 0; z-index: 1; }
.comparatif small { display: block; font-weight: 400; color: var(--doux); font-size: .84rem; margin-top: .2rem; line-height: 1.35; }
.comparatif tbody tr:last-child > * { border-bottom: 0; }
.comparatif .oui { color: #1C7C54; font-weight: 800; font-size: 1.1rem; }
.comparatif .non { color: var(--doux); }
.pass-choix { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .pass-choix { grid-template-columns: 1fr 1fr; } }
#tarifs .chapo + .cartes, #pass .chapo + .cartes { margin-top: 2.5rem; }
