/* TYX — feuille de style du site (actualites.tyx.mc).
   Une seule police (Montserrat, en local) : titres gras en minuscules,
   une seule couleur par titre. Grands arrondis, boutons en pilule, cartes claires, quelques champs corail.
   Le motif de la page est le TYX lui-même : une photo prise chez un commerce, encadrée avec son nom et sa
   pastille « Validé ». Pas de bloc noir, pas de photo plein écran sous un voile.
   Aucun JavaScript : menu et questions en <details>, bascule de tarif en boutons radio, entrées au défilement en CSS. */

@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-variable.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --toile: #ffffff;
  --pierre: #f5f3ef;
  --pierre-2: #e9e5de;
  --rose: #fdf0ea;
  --encre: #221a15;
  --encre-2: #4a413b;
  --corail: #f5633a; /* au plus près de l'icône (#ff6a3d) tout en gardant 3:1 pour le texte blanc en grande taille */
  --corail-fonce: #d4441f;
  --corail-bouton: #cc3f1b; /* texte blanc dessus : 4,9:1 (le corail de marque #ee5331 reste pour les grands champs et les gros chiffres) */
  --corail-texte: #b93d14;
  --soleil: #fff2a0;
  --police: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --page: 1200px;
  --marge: clamp(16px, 3.5vw, 40px);
  --rayon: 24px;
  --rayon-petit: 16px;
  --t-petit: 14px;
  --t-corps: 16px;
  --t-grand: 18px;
  --t-h3: clamp(20px, 1.9vw, 26px);
  --t-h2: clamp(30px, 4vw, 54px);
  --t-h1: clamp(31px, 4.2vw, 58px);
  --t-chiffre: clamp(56px, 7vw, 96px);
  --section: clamp(64px, 8vw, 120px);
  --apres-tete: clamp(36px, 4.5vw, 56px);
  --apres-contenu: clamp(28px, 3.5vw, 40px);
  --ombre-carte: 0 16px 32px -12px rgba(34, 26, 21, .16), 0 2px 6px rgba(34, 26, 21, .05);
  --ombre-corail: 0 6px 14px -4px rgba(245, 99, 58, .35);
  --lent: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--toile); color: var(--encre); font: 400 var(--t-corps)/1.6 var(--police); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: .16em; }
p a { text-decoration: underline; text-decoration-thickness: 1px; }
::selection { background: var(--corail-bouton); color: #fff; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.04; }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
p { text-wrap: pretty; }
.soleil { color: var(--soleil); }
.corail { color: var(--corail-texte); }
.centre { text-align: center; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.insecable { white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 0; z-index: 50; padding: 12px 16px; background: var(--encre); color: #fff; border-radius: 8px; }
.evitement:focus { left: 12px; top: 12px; }
.page { width: 100%; max-width: calc(var(--page) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.section { padding-block: var(--section); }
.bande { padding-block: clamp(56px, 7vw, 104px); background: var(--corail); color: #fff; }
.intro { margin-top: 20px; max-width: 58ch; font-size: var(--t-grand); line-height: 1.55; color: var(--encre-2); }
.centre .intro, .intro.centre { margin-inline: auto; }
.tete { max-width: 760px; margin-inline: auto; text-align: center; }
.tete .intro { margin-inline: auto; }

/* ---------- Barre : blanche, liens en demi-gras, une pilule corail ---------- */
.barre { position: sticky; top: 0; z-index: 40; background: var(--toile); box-shadow: 0 1px 0 rgba(34, 26, 21, .06); }
.barre .page { height: 72px; display: flex; align-items: center; gap: 16px; }
.barre .logo { display: flex; align-items: center; align-self: stretch; margin-right: auto; }
.barre .logo img { width: 40px; height: 40px; }
.barre-liens { display: none; list-style: none; padding: 0; margin: 0 28px 0 0; align-items: center; gap: 32px; }
.barre-liens a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--encre); }
.barre-liens a:hover { color: var(--corail); }
.barre-bouton { display: none; }
@media (min-width: 900px) { .barre-liens, .barre-bouton { display: inline-flex; } .menu { display: none; } }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 22px; height: 9px; border-block: 2.5px solid var(--encre); }
.menu[open] summary { background: var(--pierre); }
.menu ul { position: absolute; right: 0; top: calc(100% + 10px); width: min(88vw, 320px); margin: 0; padding: 8px; list-style: none; background: var(--toile); border-radius: var(--rayon-petit); box-shadow: 0 24px 60px rgba(34, 26, 21, .18); }
.menu a { display: block; padding: 14px 16px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.menu a:hover { background: var(--pierre); }

/* ---------- Boutons : pilules pleines, graisse 700 ---------- */
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.boutons.centre { justify-content: center; }
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--corail-bouton); color: #fff; font-size: 15px; font-weight: 700; line-height: 1; box-shadow: var(--ombre-corail); transition: transform .25s var(--lent), background .25s var(--lent), box-shadow .25s var(--lent); }
.bouton:hover { background: var(--corail-texte); transform: translateY(-1px); }
.bouton:active { transform: scale(.98); }
.bouton-petit { min-height: 44px; padding: 0 22px; font-size: 14px; }
.bouton-blanc { background: #fff; color: var(--corail-texte); box-shadow: 0 6px 14px -4px rgba(34, 26, 21, .25); }
.bouton-blanc:hover { background: var(--rose); }
.bouton-contour { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.bouton-contour:hover { background: rgba(255, 255, 255, .14); }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; min-width: 176px; padding: 8px 26px; border-radius: 999px; background: var(--encre); color: #fff; line-height: 1.1; transition: transform .25s var(--lent), background .25s; }
.store:hover { background: var(--encre-2); transform: translateY(-1px); }
.store:active { transform: scale(.98); }
.store small { font-size: 11px; font-weight: 600; opacity: .78; }
.store strong { font-size: 18px; font-weight: 700; }
.store-bientot { background: var(--pierre); color: var(--encre-2); cursor: default; }
.store-bientot:hover { background: var(--pierre); transform: none; }
.fin .store-bientot, .pro .store-bientot { background: rgba(255,255,255,.7); }
@media (max-width: 599px) { .boutons > * { width: 100%; align-items: center; } }

/* ---------- Héros : texte à gauche, la photo à droite encadrée comme un TYX dans l'app ---------- */
.heros { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.heros-grille { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .heros-grille { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
@media (max-width: 899px) { .heros-grille { grid-template-areas: "photo" "texte"; } .heros-texte { grid-area: texte; } .heros-tyx { grid-area: photo; } }
.etiquette { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--rose); color: var(--corail-texte); font-size: 13px; font-weight: 800; }
.heros-texte h1 { margin-top: 20px; max-width: 20ch; }
.heros-sous { margin-top: 22px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--encre-2); }
.heros .boutons { margin-top: 32px; }
/* Héros de l'accueil : la photo plein cadre, le texte en blanc posé dessus sur un voile sombre à gauche */
.heros-plein { position: relative; isolation: isolate; display: flex; align-items: center; color: #fff; min-height: min(86vh, 760px); padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.heros-plein .heros-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.heros-plein::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(34,26,21,.78) 0%, rgba(34,26,21,.6) 36%, rgba(34,26,21,.25) 58%, rgba(34,26,21,.05) 100%); }
.heros-plein .etiquette { background: var(--corail-bouton); color: #fff; }
.heros-plein .bouton-contour { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); }
.heros-plein .bouton-contour:hover { background: rgba(255,255,255,.14); }
.heros-plein :focus-visible { outline-color: #fff; }
.heros-plein .heros-texte h1 { max-width: 16ch; margin-top: 20px; }
/* Deux voix : Montserrat partout ; Fraunces gras à petites doses, seulement sur le titre de chaque page et la chute du manifeste. */
h1, .manifeste p.fort, .serif { font-family: "Fraunces", Georgia, serif; font-weight: 800; letter-spacing: -0.01em; font-optical-sizing: auto; font-variation-settings: "SOFT" 30; }
h1 { line-height: 1.06; }
.texte-long h2 { font-family: var(--police); }
.marque { font-family: var(--police); font-weight: 800; letter-spacing: -0.03em; }
.heros-plein .heros-sous { max-width: 42ch; color: #fff; font-weight: 600; }
.heros-plein .boutons { margin-top: 30px; }
.heros-chip { position: absolute; right: var(--marge); bottom: clamp(16px, 2.5vw, 32px); margin: 0; }
.heros-canape .heros-photo { object-position: 70% 30%; }
.heros-serveur .heros-photo { object-position: 50% 45%; }
@media (max-width: 599px) { .heros-canape .heros-photo { object-position: 62% 0; } .heros-serveur .heros-photo { object-position: 45% 20%; } }
.heros-chip .chip-tyx { color: var(--encre); }
@media (max-width: 899px) { .heros-plein .heros-photo { object-position: 60% 30%; } .heros-plein::before { background: linear-gradient(90deg, rgba(34,26,21,.8) 0%, rgba(34,26,21,.62) 50%, rgba(34,26,21,.25) 80%, rgba(34,26,21,.1) 100%); } }
@media (max-width: 599px) {
  .heros-plein { min-height: 0; align-items: flex-end; padding-top: 340px; padding-bottom: 32px; }
  .heros-plein .heros-photo { object-position: 64% 0; }
  .heros-plein::before { background: linear-gradient(0deg, rgba(34,26,21,.92) 0%, rgba(34,26,21,.8) 42%, rgba(34,26,21,.35) 62%, rgba(34,26,21,0) 80%); }
 
}
.tyx-grand { border-radius: var(--rayon); overflow: hidden; background: var(--pierre); box-shadow: var(--ombre-carte); }
.tyx-grand img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.tyx-grand figcaption { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--toile); }
.tyx-grand figcaption > div { flex: 1; min-width: 0; }
.tyx-grand strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.tyx-grand small { display: block; margin-top: 2px; font-size: 13px; color: var(--encre-2); }
.avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--corail-bouton); color: #fff; font-weight: 800; }
.cadrage-gauche { object-position: 24% 40%; }
.cadrage-haut { object-position: 50% 20%; }
.cadrage-droite { object-position: 62% 50%; }
@media (max-width: 599px) { .tyx-grand img { aspect-ratio: 4 / 4.2; } }

/* ---------- Les règles du jeu : quatre tuiles blanches sur pierre, le chiffre en corail ---------- */
.chiffres-section { background: var(--pierre); }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: var(--apres-tete); text-align: center; }
.chiffres > div { display: flex; flex-direction: column-reverse; justify-content: center; padding: 28px 20px; border-radius: var(--rayon); background: var(--toile); box-shadow: var(--ombre-carte); border: 1px solid rgba(34, 26, 21, .06); }
@media (min-width: 760px) { .chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.chiffres dt { margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--encre-2); }
.chiffres dd { font-size: clamp(44px, 5vw, 72px); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: var(--corail); }

/* ---------- Trois cartes claires : picto corail, titre, texte, écran coupé ---------- */
.cartes-corail { list-style: none; padding: 0; margin: var(--apres-tete) 0 0; display: grid; gap: 20px; }
@media (min-width: 1000px) { .cartes-corail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cartes-corail li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico titre" "texte texte"; align-items: center; column-gap: 12px; padding: 26px 28px 28px; border-radius: var(--rayon); background: var(--toile); box-shadow: var(--ombre-carte); overflow: hidden; }
.cartes-corail .g-icone { grid-area: ico; width: 32px; height: 32px; }
.cartes-corail .g-icone svg { width: 32px; height: 32px; }
.cartes-corail h3 { grid-area: titre; }
.cartes-corail p { grid-area: texte; }
.cartes-corail .g-icone { color: var(--corail); }
.fond-pierre { background: var(--pierre); }
.g-icone { --tile: #fff; display: grid; place-items: center; width: 44px; height: 44px; color: var(--corail); }
.g-icone svg { width: 44px; height: 44px; }
.cartes-corail h3 { margin-top: 0; }
.cartes-corail p { margin-top: 14px; line-height: 1.6; color: var(--encre-2); }
.ecran-cadre { margin-top: 28px; max-height: 340px; overflow: hidden; }
.ecran-cadre img, .detail-app { display: block; width: 86%; margin-inline: auto; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(34, 26, 21, .14); background: var(--toile); }
.cartes-corail .ecran-cadre { margin-top: auto; padding-top: 28px; }
@media (min-width: 600px) and (max-width: 999px) { .ecran-cadre { max-height: 300px; } .ecran-cadre img { width: min(360px, 60%); } }
.gestes .boutons { margin-top: var(--apres-contenu); }
/* Exemples d'Avantages : une section à part, trois cartes simples */
.avantages { list-style: none; padding: 0; margin: var(--apres-tete) 0 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .avantages { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.avantages li { display: grid; grid-template-rows: auto auto auto 1fr; justify-items: center; align-items: start; text-align: center; gap: 6px; padding: 32px 24px 28px; border-radius: var(--rayon); background: var(--toile); box-shadow: var(--ombre-carte); border: 1px solid rgba(34, 26, 21, .06); }
.avantages img { width: 150px; height: 150px; margin-bottom: 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 24px -10px rgba(34, 26, 21, .35); }
.avantages strong { font-size: 18px; font-weight: 800; line-height: 1.25; text-wrap: balance; }
.avantages li > span:not(.points) { font-size: 15px; color: var(--encre-2); }
.points { display: grid; justify-items: center; align-self: end; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(34, 26, 21, .08); width: 100%; font-size: 13px; font-weight: 700; color: var(--encre-2); line-height: 1; }
.points b { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; color: var(--corail); line-height: 1; margin-bottom: 4px; }
.commerces { background: var(--toile); }
.fond-pierre .panneau-telephone { background: var(--toile); }

/* ---------- Les commerces du quotidien : pastilles, puis la photo en TYX ---------- */
.commerces-tete { display: grid; gap: 20px; }
.chips { list-style: none; padding: 0; margin: var(--apres-tete) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--pierre); font-size: 15px; font-weight: 700; }
.photo-large { position: relative; margin-top: var(--apres-tete); border-radius: var(--rayon); overflow: hidden; }
.photo-large img { width: 100%; aspect-ratio: 16 / 7.5; object-fit: cover; object-position: 50% 35%; }
.photo-large figcaption { position: absolute; left: 20px; bottom: 20px; }
.chip-tyx { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--toile); box-shadow: var(--ombre-carte); font-size: 15px; font-weight: 700; }
.valide { display: inline-flex; align-items: center; gap: 7px; padding: 0 6px 0 0; color: var(--encre); font-size: 13px; font-weight: 700; white-space: nowrap; }
.valide svg { width: 20px; height: 20px; padding: 5px; border-radius: 50%; background: var(--corail); color: #fff; box-sizing: border-box; }
@media (max-width: 599px) { .photo-large img { aspect-ratio: 4 / 3; } .chip-tyx strong { font-size: 13px; } }

/* ---------- Soyons francs : quatre tuiles avec un zéro ---------- */
.francs-grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .francs-grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }
.tuiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tuiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1 / .78; padding: 24px; border-radius: var(--rayon); background: var(--rose); color: var(--encre); text-align: center; }
.tuiles strong { font-size: var(--t-chiffre); font-weight: 900; line-height: 1; }
.tuiles strong { color: var(--corail); }
.tuiles span { margin-top: 10px; font-size: var(--t-grand); font-weight: 800; }

/* ---------- Encore plus dans l'app : trois cartes claires, écran coupé ---------- */
.plus { background: var(--pierre); }
.cartes-claires { display: grid; gap: 20px; margin-top: var(--apres-tete); }
@media (min-width: 1000px) { .cartes-claires { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cartes-claires article { display: flex; flex-direction: column; padding: 32px 28px 0; border-radius: var(--rayon); background: var(--toile); box-shadow: var(--ombre-carte); border: 1px solid rgba(34, 26, 21, .06); overflow: hidden; }
.cartes-claires h3 { color: var(--corail); }
.cartes-claires p { margin-top: 14px; font-size: var(--t-corps); line-height: 1.6; color: var(--encre-2); }
.cartes-claires .ecran-cadre { margin-top: auto; padding-top: 28px; }

/* ---------- Bande corail : commerçants, le tarif en carte blanche ---------- */
.pro-grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .pro-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.pro-texte p { margin-top: 24px; max-width: 48ch; font-size: clamp(19px, 1.5vw, 21px); font-weight: 700; line-height: 1.5; }
.pro-texte .boutons { margin-top: 32px; }
.bande .bouton-contour { background: var(--corail-texte); color: #fff; box-shadow: none; }
.bande .bouton-contour:hover { background: var(--encre); }
.pro :focus-visible { outline-color: #fff; }
.tarif { padding: 28px; border-radius: var(--rayon); background: var(--toile); color: var(--encre); box-shadow: 0 24px 60px rgba(34, 26, 21, .18); }
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--pierre); }
.segments label { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; color: var(--encre-2); transition: background .25s var(--lent), color .25s var(--lent); }
#p-mensuel:checked ~ .segments label[for="p-mensuel"], #p-annuel:checked ~ .segments label[for="p-annuel"] { background: var(--corail-texte); color: #fff; }
.tarif:has(#p-mensuel:focus-visible) label[for="p-mensuel"], .tarif:has(#p-annuel:focus-visible) label[for="p-annuel"] { outline: 3px solid var(--encre); outline-offset: 2px; }
.prix-bloc { display: grid; margin-top: 24px; }
.prix-bloc > p { grid-area: 1 / 1; transition: opacity .3s var(--lent); }
.prix-bloc .detail { grid-area: 2 / 1; }
.prix { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.prix strong { font-size: clamp(44px, 4.5vw, 60px); font-weight: 900; line-height: 1; color: var(--corail); }
.prix span { font-size: var(--t-grand); font-weight: 600; color: var(--encre-2); }
.detail { margin-top: 8px; font-size: var(--t-petit); font-weight: 600; color: var(--encre-2); }
#p-mensuel:checked ~ .prix-bloc .prix-annuel, #p-mensuel:checked ~ .prix-bloc .detail-annuel, #p-annuel:checked ~ .prix-bloc .prix-mensuel, #p-annuel:checked ~ .prix-bloc .detail-mensuel { opacity: 0; pointer-events: none; visibility: hidden; }
.inclus { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.inclus li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.inclus li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--corail) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.8 2.8 5.4-6.4'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- Menton : la photo, le titre dessus, un dégradé en bas seulement ---------- */
.depart { padding-top: 0; }
.photo-depart { margin-top: 0; color: #fff; }
.photo-depart img { aspect-ratio: 16 / 8; object-position: 50% 45%; }
.photo-depart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(34, 26, 21, .85) 0%, rgba(34, 26, 21, .45) 40%, rgba(34, 26, 21, 0) 70%); pointer-events: none; }
.photo-depart figcaption { position: absolute; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 56px); z-index: 1; }
.photo-depart p { margin-top: 16px; max-width: 44ch; font-size: var(--t-grand); font-weight: 600; line-height: 1.45; }
.photo-depart .bouton { margin-top: 24px; }
@media (max-width: 999px) { .photo-depart img { aspect-ratio: 1 / 1; } }
@media (max-width: 599px) { .photo-depart img { aspect-ratio: 4 / 5; } .photo-depart .bouton { width: auto; } }

/* ---------- Questions : accordéons en <details>, titres en majuscules ---------- */
.faq { background: var(--pierre); }
.faq-page { max-width: 960px; }
.questions { margin-top: var(--apres-tete); display: grid; gap: 10px; }
.questions details { border-radius: var(--rayon-petit); background: var(--toile); box-shadow: var(--ombre-carte); border: 1px solid rgba(34, 26, 21, .06); }
.questions summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font-size: 16px; font-weight: 800; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2.5px solid var(--encre); border-bottom: 2.5px solid var(--encre); transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--lent); }
.questions details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.questions details[open] summary { color: var(--corail-texte); }
.questions p { padding: 0 20px 20px; max-width: 70ch; color: var(--encre-2); }
.faq-contact { margin-top: var(--apres-contenu); text-align: center; font-size: 15px; color: var(--encre-2); }
.faq-contact a { display: inline-block; padding-block: 12px; font-weight: 700; color: var(--corail-texte); }

/* ---------- Fin : blanc, titre, les deux magasins ---------- */
.fin .boutons { margin-top: var(--apres-contenu); }
/* Formulaire « Être prévenu » : champs à l'écran, envoi par WhatsApp ou e-mail, rien de stocké */
.contact-boite { max-width: 640px; margin: var(--apres-contenu) auto 0; text-align: center; }
.contact-boite > summary { list-style: none; display: inline-flex; cursor: pointer; }
.contact-boite > summary::-webkit-details-marker { display: none; }
.contact-boite[open] > summary { display: none; }
.contact { max-width: 640px; margin: 0 auto; padding: 24px; border-radius: var(--rayon); background: var(--toile); box-shadow: var(--ombre-carte); border: 1px solid rgba(34, 26, 21, .06); text-align: left; }
.contact-qui { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.contact-qui legend { padding: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--encre-2); }
.contact-qui label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--toile); border: 1.5px solid rgba(34, 26, 21, .14); font-weight: 700; cursor: pointer; }
.contact-qui label:has(input:checked) { border-color: var(--corail-bouton); background: var(--rose); color: var(--corail-texte); }
.contact-qui input { accent-color: var(--corail-bouton); margin: 0; }
.contact-champs { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 600px) { .contact-champs { grid-template-columns: 1fr 1fr; } .contact-large { grid-column: 1 / -1; } }
.contact-champs label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--encre-2); }
.contact-champs input, .contact-champs textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(34, 26, 21, .14); background: var(--toile); font: 400 16px/1.4 var(--police); color: var(--encre); }
.contact-champs input:focus, .contact-champs textarea:focus { outline: 3px solid var(--corail-bouton); outline-offset: 1px; border-color: transparent; }
.contact-champs textarea { resize: vertical; }
.contact .boutons { margin-top: 18px; }
.contact button { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
.contact-ok { margin-top: 14px; text-align: center; color: var(--corail-texte); }
.bientot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* ---------- Pied : corail, logo blanc ---------- */
.pied { background: var(--pierre); color: var(--encre); padding-block: clamp(48px, 6vw, 80px) 32px; }
.pied-haut { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .pied-haut { grid-template-columns: auto minmax(0, 1fr); gap: 40px; } }
.pied-logo { width: clamp(96px, 10vw, 128px); }
.pied-mot { max-width: 30ch; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.25; }
.pied-colonnes { display: grid; gap: 32px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 600px) { .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pied-colonnes { grid-template-columns: 1.1fr 1fr 1fr 1.2fr; } }
.pied-titre { margin-bottom: 14px; font-size: 16px; font-weight: 800; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a, .pied-adresse { font-size: 15px; font-weight: 600; color: var(--encre-2); }
.pied li a { display: inline-flex; align-items: center; min-height: 32px; }
.pied a:hover { text-decoration: underline; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(34, 26, 21, .12); }
.texte-long li + li { margin-top: 8px; }
.pied-bas p { font-size: 13px; font-weight: 600; color: var(--encre-2); }

/* ---------- Mouvement : une entrée par bloc, liée au défilement, et rien d'autre ---------- */
@supports (animation-timeline: view()) {
  .monte { animation: monte linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
  .cartes-corail li:nth-child(2), .cartes-claires article:nth-child(2), .tuiles li:nth-child(2) { animation-range: entry 8% entry 40%; }
  .cartes-corail li:nth-child(3), .cartes-claires article:nth-child(3), .tuiles li:nth-child(3) { animation-range: entry 16% entry 48%; }
  .tuiles li:nth-child(4) { animation-range: entry 24% entry 56%; }
}
@keyframes monte { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .monte { animation: none; }
  .bouton, .store, .prix-bloc > p, .segments label, .questions summary::after { transition: none; }
}

/* ======================================================================
   Pages intérieures : variantes de héros, galerie de TYX, duo écran + pile, face à face, textes longs
   ====================================================================== */
.heros-simple { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); }
.heros-simple .etiquette a { text-decoration: underline; }
.heros-simple h1 { margin-top: 20px; max-width: 20ch; }
.heros-simple .intro { margin-top: 20px; }
.heros-simple.centre h1, .heros-simple.centre .intro { margin-inline: auto; }
.heros-simple .boutons { margin-top: 28px; }
.bouton-contour.sombre { color: var(--encre); box-shadow: inset 0 0 0 2px var(--encre); }
.bouton-contour.sombre:hover { background: var(--pierre); }

/* Galerie de TYX : trois photos portrait, chacune avec sa pastille */
.galerie-tyx { display: grid; gap: 20px; margin-top: var(--apres-tete); }
@media (min-width: 600px) { .galerie-tyx { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.galerie-tyx { align-items: stretch; }
.galerie-tyx .tyx-grand { display: flex; flex-direction: column; }
.galerie-tyx .tyx-grand figcaption { flex: 1; }
.mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .mosaique { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .mosaique-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mosaique .tyx-grand img { aspect-ratio: 4 / 5; }
.mosaique figcaption { flex-wrap: wrap; }
.mosaique .avatar { display: none; }
.mosaique .tyx-grand strong { font-size: 14px; }
@media (max-width: 599px) { .mosaique .valide { display: none; } }
.depart-duo { display: grid; gap: 20px; margin-top: var(--apres-tete); }
@media (min-width: 900px) { .depart-duo { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } .depart-duo .photo-depart img { aspect-ratio: auto; height: 100%; } .depart-duo .photo-depart { height: 560px; } .depart-duo .photo-depart img { height: 560px; } }
.depart-duo .photo-depart h3 { font-size: clamp(22px, 2.6vw, 36px); }
.galerie-tyx .tyx-grand figcaption { padding: 14px 16px; gap: 10px; }
.galerie-tyx .tyx-grand strong { font-size: 14px; }
.galerie-tyx .tyx-grand small { font-size: 12px; }
.galerie-tyx .avatar { width: 34px; height: 34px; font-size: 14px; }
.galerie-tyx .photo-large { margin-top: 0; }
.galerie-tyx img { aspect-ratio: 4 / 5; object-position: 50% 50%; }
.galerie-tyx figcaption { left: 14px; right: 14px; bottom: 14px; }
.galerie-tyx .chip-tyx { gap: 8px; padding: 6px 6px 6px 14px; font-size: 13px; }
@media (max-width: 599px) { .galerie-tyx img { aspect-ratio: 4 / 3; } }

/* Cartes claires sans écran : picto corail, titre, texte */
.cartes-texte article { padding-bottom: 32px; }
.cartes-texte .g-icone { color: var(--corail); }
.cartes-texte h3 { margin-top: 18px; color: var(--encre); }
@media (min-width: 600px) { .cartes-claires.cartes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Duo : un grand panneau avec un écran, une pile de points */
.duo { display: grid; gap: 24px; margin-top: var(--apres-tete); align-items: stretch; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; } }
.panneau-ecran { display: flex; align-items: flex-end; justify-content: center; min-height: 420px; padding: 40px 32px 0; border-radius: var(--rayon); background: var(--corail); box-shadow: var(--ombre-corail); overflow: hidden; }
.panneau-ecran .ecran-app, .panneau-ecran .detail-app { width: min(360px, 84%); border-radius: 22px 22px 0 0; box-shadow: 0 -8px 30px rgba(34, 26, 21, .2); }
.panneau-ecran .detail-app { max-height: 660px; object-fit: cover; object-position: top; }
.panneau-ecran.clair { background: var(--rose); box-shadow: none; }
.panneau-telephone { display: grid; place-items: center; padding: 32px 24px; border-radius: var(--rayon); background: var(--pierre); }
.panneau-telephone .ecran-app { width: min(330px, 86%); height: auto; }
.pile { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; align-content: start; }
.pile li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 24px; border-radius: var(--rayon-petit); background: var(--toile); box-shadow: var(--ombre-carte); border: 1px solid rgba(34, 26, 21, .06); }
.pile li.sans-picto { grid-template-columns: 1fr; }
.pile .g-icone { width: 36px; height: 36px; }
.pile .g-icone svg { width: 36px; height: 36px; }
.pile .g-icone { color: var(--corail); }
.pile h3 { font-size: 18px; }
.pile p { margin-top: 6px; color: var(--encre-2); }
.pile .mention { margin: 0 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--corail-texte); }
.et-aussi { margin-top: var(--apres-contenu); text-align: center; font-size: var(--t-grand); color: var(--encre-2); }

/* Face à face : pour vous / pas pour vous */
.face { display: grid; gap: 20px; margin-top: var(--apres-tete); }
@media (min-width: 900px) { .face { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.face > div { padding: 32px 28px; border-radius: var(--rayon); }
.face-oui { background: var(--corail); color: #fff; box-shadow: var(--ombre-corail); }
.face-non { background: var(--toile); box-shadow: var(--ombre-carte); }
.face h3 { font-size: 20px; }
.face ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.face li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.signe { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.face-oui .signe { background: #fff; color: var(--corail); }
.face-non .signe { background: var(--encre); color: #fff; }
.signe svg { width: 16px; height: 16px; }
.face strong { display: block; font-size: var(--t-grand); font-weight: 700; line-height: 1.35; }
.face li p { margin-top: 4px; }
.face-oui li p { font-weight: 700; font-size: 19px; }
.face-non li p { color: var(--encre-2); }

/* Bande à une phrase */
.bande-mot .page { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .bande-mot .page { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; } }
.bande-mot p { max-width: 52ch; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; line-height: 1.5; }

/* Manifeste et phrase sur photo */
.manifeste { max-width: 900px; margin-inline: auto; display: grid; gap: 18px; text-align: center; }
.manifeste p { font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; line-height: 1.25; color: var(--encre-2); }
.manifeste p.fort { margin-top: 12px; font-size: clamp(26px, 3.4vw, 48px); font-weight: 900; line-height: 1.12; color: var(--encre); }
.photo-mot { margin-top: 24px; }
.photo-mot figcaption p { margin: 0; max-width: 22ch; font-size: clamp(22px, 2.4vw, 34px); font-weight: 900; line-height: 1.15; }
.photo-depart h3 { font-size: clamp(24px, 3.6vw, 48px); }
.chiffres-larges dd { font-size: clamp(36px, 3.6vw, 52px); }
.pro h2 { font-size: clamp(28px, 3.8vw, 52px); }
.etiquette a { display: inline-flex; align-items: center; align-self: stretch; }
.heros-simple .etiquette { min-height: 44px; }
.texte-long a { display: inline-block; padding-block: 12px; }

/* Textes longs : portrait, mentions ; carte vide */
.texte-long { max-width: 760px; margin-inline: auto; padding: clamp(28px, 4vw, 48px); border-radius: var(--rayon); background: var(--toile); box-shadow: var(--ombre-carte); }
.texte-long h2 { margin-top: 32px; font-size: clamp(20px, 2vw, 26px); }
.texte-long h2:first-child { margin-top: 0; }
.mention-date { font-size: 13px; font-weight: 700; color: var(--corail-texte); }
.mention-date + h2 { margin-top: 6px; }
.texte-long p, .texte-long ul { margin-top: 12px; color: var(--encre-2); }
.texte-long ul { padding-left: 22px; }
.texte-long li + li { margin-top: 6px; }
.texte-long a { font-weight: 700; color: var(--corail-texte); text-decoration: underline; }
.texte-long .boutons { margin-top: 28px; }
.citation { margin: 24px 0 0; padding: 24px 28px; border-radius: var(--rayon-petit); background: var(--rose); }
.citation p { margin: 0; font-size: var(--t-grand); font-weight: 600; color: var(--encre); }
.citation footer { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--corail-texte); }
.carte-avantage { margin-top: 24px; padding: 24px 28px; border-radius: var(--rayon-petit); background: var(--corail); color: #fff; box-shadow: var(--ombre-corail); }
.carte-avantage .mention { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.carte-avantage h3 { margin-top: 8px; }
.carte-avantage p { color: #fff; font-weight: 600; }
.portrait-photo { max-width: 760px; margin: 0 auto 24px; aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 24px; border-radius: var(--rayon); background: var(--rose); color: var(--corail-texte); text-align: center; font-weight: 700; }
.vide { max-width: 720px; margin-inline: auto; padding: clamp(32px, 5vw, 56px); border-radius: var(--rayon); background: var(--toile); box-shadow: var(--ombre-carte); text-align: center; }
.vide h2 { font-size: clamp(22px, 2.4vw, 30px); }
.vide .intro { margin-inline: auto; }
.vide .boutons { margin-top: 24px; justify-content: center; }
