/* Forgefont — page d'accueil. Direction « le produit en action » : chaque section
   montre un vrai fragment de boutique ou d'espace client, construit en HTML. */

.accueil main { overflow-x: clip; }
.cadre-page { padding-inline: var(--marge); }

/* --------------------------------------------------------------- Héros */
.heros { position: relative; height: 210svh; }
/* La scène reste sous la barre ; l'espace entre la barre et la première image est
   la moitié de ce qu'un centrage donnerait, et la phrase se cale sur le centre de l'image. */
.scene { --h: min(64svh, calc(26vw * 1.25)); --haut: calc((50svh - var(--h) / 2) / 2); position: sticky; top: var(--hauteur-barre, 72px); height: calc(100svh - var(--hauteur-barre, 72px)); display: grid; grid-template-columns: 1fr minmax(260px, 26vw) 1fr; align-items: start; padding-inline: var(--marge); }
.phrase { grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: space-between; align-items: center; margin: calc(var(--haut) + var(--h) / 2) 0 0; transform: translateY(-50%); position: relative; z-index: 1; }
.moitie { font-size: var(--titre); line-height: 1; letter-spacing: -0.045em; font-weight: 800; max-width: calc((100vw - 26vw) / 2 - var(--marge) - 16px); }
.moitie.gauche { padding-right: 24px; }
.moitie.droite { padding-left: 24px; text-align: right; }
.bobine { grid-column: 2; grid-row: 1; height: 100%; overflow: hidden; position: relative; }
.pellicule { --i: 0; position: absolute; inset-inline: 0; top: var(--haut); display: grid; gap: 24px; transform: translateY(calc(var(--i) * -1 * (var(--h) + 24px))); will-change: transform; }
.cadre { margin: 0; height: var(--h); border-radius: 6px; overflow: hidden; background: var(--surface); }
.cadre > * { height: 100%; }
.etats { position: absolute; right: var(--marge); bottom: 28px; margin: 0; padding: 0; list-style: none; text-align: right; font-size: 14px; color: var(--encre-douce); }
.etats li { transition: color .3s; }
.etats li.actif { color: var(--encre); font-weight: 700; }
.appui { position: absolute; left: var(--marge); bottom: 28px; width: min(440px, 30vw); }
.appui p { margin-bottom: 16px; }

/* Fragments de la bobine (data-ui : conventions de l'interface d'une boutique). */
.fichier { position: relative; background: #ededea; }
.fichier img { width: 100%; height: 100%; object-fit: cover; }
.fichier figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 4px; background: rgba(255,255,255,.92); font-size: 14px; }
.carte-produit { display: grid; grid-template-rows: 1fr auto; background: #fff; padding: 18px; }
.carte-produit img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.carte-produit div { display: grid; gap: 2px; padding-top: 12px; font-size: 14px; }
.fiche { display: grid; grid-template-rows: 46% 1fr; background: #fff; }
.fiche img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.fiche-texte { display: grid; align-content: start; gap: 7px; padding: 14px 16px; font-size: 14px; }
.fiche-texte strong { font-size: 17px; letter-spacing: -0.02em; line-height: 1.2; }
.fil { color: #6b6b72; font-size: 14px; }
.prix-fiche { font-size: 14px; }
.faux-bouton { display: block; text-align: center; padding: 9px; border-radius: 4px; background: #111; color: #fff; font-weight: 600; }
.faux-bouton.clair { background: #fff; color: #111; box-shadow: inset 0 0 0 1px #111; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.deroulant { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid #e6e6e1; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.vitrine { display: grid; grid-template-rows: auto 1fr auto; background: #fafafa; font-size: 14px; }
.vitrine-barre { display: flex; justify-content: flex-end; gap: 12px; align-items: baseline; padding: 10px 12px; border-bottom: 1px solid #ecebe6; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.vitrine-heros { position: relative; min-height: 0; }
.vitrine-heros img { width: 100%; height: 100%; object-fit: cover; }
.vitrine-heros p { position: absolute; left: 12px; bottom: 10px; margin: 0; padding: 6px 10px; background: #fff; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.vitrine-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.vitrine-grille img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

@media (max-width: 960px) {
  .heros { height: auto; }
  .scene { position: relative; top: auto; height: auto; display: block; padding-block: 32px 8px; }
  .phrase { display: block; margin: 0; transform: none; }
  .moitie { display: block; font-size: clamp(40px, 11vw, 64px); padding: 0 !important; max-width: none; }
  .moitie.droite { text-align: right; }
  .bobine { height: auto; margin: 20px 0; overflow: visible; }
  .pellicule { position: static; transform: none !important; --h: auto; display: block; }
  .cadre { display: none; height: auto; aspect-ratio: 4 / 5; }
  .cadre:first-child { display: block; }
  .etats { display: none; }
  .appui { position: static; width: auto; margin-top: 28px; }
}

/* --------------------------------------------------------------- Tableau d'affichage */
.tableau { background: var(--encre); color: var(--inverse); padding: 140px 0 140px; }
.tableau h2 { color: var(--inverse); }
.sous-titre { color: rgba(255,255,255,.75); }
.lignes { display: grid; gap: 4px; padding-inline: 12px; }
.ligne { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 5fr 2fr 2fr 2fr; align-items: center; column-gap: 24px; min-height: 76px; padding: 0 24px; border-radius: 4px; background: var(--sombre-2); color: #fff; font-size: var(--moyen); font-weight: 600; letter-spacing: -0.02em; transition: background-color .2s; }
.ligne:hover { background: #2c2c2c; }
.ligne:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ligne .fait { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.72); letter-spacing: 0; }
.etat-ligne { justify-self: end; font-size: 14px; letter-spacing: 0; padding: 6px 12px; border-radius: 4px; background: #fff; color: #0a0a0a; font-weight: 700; }
.ligne .detail { display: none; grid-column: 1; max-width: 76%; font-size: 17px; font-weight: 400; letter-spacing: 0; line-height: 1.5; padding-bottom: 24px; }
.ligne.ouverte { background: var(--accent); color: #fff; min-height: 200px; align-content: center; row-gap: 10px; padding-top: 22px; }
.ligne.ouverte .fait { color: rgba(255,255,255,.85); }
.ligne.ouverte .etat-ligne { background: #fff; color: var(--accent); }
.ligne.ouverte .detail { display: block; }
@media (max-width: 760px) {
  .tableau { padding: 88px 0; }
  .lignes { padding-inline: 8px; }
  .ligne { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 16px; font-size: 20px; }
  .ligne .fait { display: none; }
  .ligne .nom { grid-row: 1; grid-column: 1; }
  .ligne .etat-ligne { grid-row: 1; grid-column: 2; }
  .ligne.ouverte { grid-template-columns: auto 1fr auto; column-gap: 0; }
  .ligne.ouverte .nom { grid-column: 1 / 3; }
  .ligne.ouverte .etat-ligne { grid-column: 3; }
  .ligne.ouverte .fait { display: block; grid-row: 2; }
  .ligne.ouverte .fait:nth-child(2) { grid-column: 1; }
  .ligne.ouverte .fait:nth-child(2)::after { content: ",\00a0"; }
  .ligne.ouverte .fait:nth-child(3) { grid-column: 2 / -1; }
  .ligne .detail { grid-column: 1 / -1; max-width: none; font-size: 16px; }
}

/* --------------------------------------------------------------- Quatre temps */
.temps { display: grid; grid-template-columns: repeat(4, 1fr); }
.champ { position: relative; min-height: 84svh; padding: 40px 28px; display: grid; grid-template-rows: auto 1fr auto; align-items: start; }
.champ.c1 { background: var(--surface); }
.champ.c2 { background: var(--surface-2); }
.champ.c3 { background: #000; color: #fff; }
.champ.c4 { background: var(--sombre-2); color: #fff; }
.champ h2 { grid-row: 1; font-size: var(--moyen); }
.fiche-commande { grid-row: 2; align-self: center; justify-self: center; width: min(280px, 100%); padding: 16px; border-radius: 8px; background: #fff; color: #0a0a0a; font-size: 14px; transition: transform .25s var(--entree); }
.champ:hover .fiche-commande { transform: translateY(-6px); }
.fc-tete { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid #ecebe6; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.fc-etat { font-size: 14px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: #e3f1e8; color: #146c34; }
.fiche-commande dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.fiche-commande dt { color: #6b6b72; }
.fiche-commande dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.fc-lien { display: block; margin-top: 12px; font-weight: 700; }
.clause { grid-row: 3; font-size: var(--moyen); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; margin: 0; max-width: 18ch; }
@media (max-width: 1000px) {
  .temps { grid-template-columns: 1fr 1fr; }
  .champ { min-height: 64svh; }
}
@media (max-width: 620px) {
  .temps { grid-template-columns: 1fr; }
  .champ { min-height: 0; padding: 32px 20px 40px; grid-template-rows: auto auto auto; gap: 24px; }
  .champ .clause { grid-row: 1; max-width: none; }
  .champ h2 { grid-row: 1; }
  .champ.c1 .clause { grid-row: 2; }
  .champ.c1 .fiche-commande { grid-row: 3; }
  .fiche-commande { justify-self: center; }
}

/* --------------------------------------------------------------- Références */
.references { padding: 180px 0 160px; }
.entete-empilee { margin-bottom: 56px; }
.entete-empilee h2 { margin-bottom: 20px; }
.entete-empilee p { max-width: 62ch; margin: 0; }
.souligne { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entete-section { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.entete-section h2 { margin: 0; }
.entete-section p { margin: 0; max-width: 58ch; font-size: var(--texte); }
.duo { display: grid; gap: 48px; }
.ref { margin: 0; }
.ref figcaption { margin-top: 14px; font-size: 14px; color: var(--encre-douce); }
.ref figcaption strong { color: var(--encre); }
.collection { background: #fafafa; padding: 24px; border-radius: 6px; font-size: 14px; }
.collection-tete { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #e6e4de; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.collection-tete b { font-size: var(--moyen); letter-spacing: -0.02em; }
.collection-tete span { color: #6b6b72; }
.collection-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
.collection-grille div { display: grid; gap: 4px; }
.collection-grille img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; margin-bottom: 6px; transition: transform .6s var(--entree); }
.collection-grille div:hover img { transform: scale(1.02); }
.produit-hoof { display: grid; grid-template-columns: 561px 1fr; align-items: center; background: #fff; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px #e6e4de; font-size: 14px; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.fondu { position: relative; aspect-ratio: 4 / 5; background: #e8e8e4; }
.fondu img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.fondu img.visible { opacity: 1; }
.produit-texte { display: grid; align-content: center; gap: 10px; padding: 40px; max-width: 520px; }
.produit-texte strong { font-size: var(--moyen); letter-spacing: -0.02em; line-height: 1.2; }
.vrai-bouton { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; border: 0; border-radius: 4px; background: var(--accent); color: #fff; font: 600 14px var(--police); cursor: pointer; transition: background-color .2s, transform .15s; }
.vrai-bouton:hover { background: var(--accent-survol); }
.vrai-bouton:active { transform: scale(.98); }
.vrai-bouton.ajoute { background: var(--accent); }
.vrai-bouton.ajoute::before { content: ""; width: 6px; height: 11px; margin-top: -3px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); } /* taste-skill-ignore: coche d'interface data-ui */
.moyens-paiement { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0 6px; padding: 0; list-style: none; }
.moyens-paiement img { width: 38px; height: 24px; }
.vrai-deroulant { border-bottom: 1px solid #e6e6e1; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.vrai-deroulant summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 10px 0; }
.vrai-deroulant summary::-webkit-details-marker { display: none; }
.vrai-deroulant summary b { transition: transform .25s var(--entree); }
.vrai-deroulant[open] summary b { transform: rotate(45deg); }
.vrai-deroulant p { margin: 0 0 12px; color: #4f4f56; line-height: 1.5; }
@media (max-width: 860px) {
  .references { padding: 96px 0; }
  .entete-section { grid-template-columns: 1fr; gap: 16px; }
  .ref-premium { margin-inline: calc(var(--marge) * -1); }
  .produit-hoof { grid-template-columns: 48% 1fr; align-items: stretch; border-radius: 0; box-shadow: none; } /* taste-skill-ignore: retire le filet de la fiche */
  .produit-hoof .fondu { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .produit-texte { padding: 24px 18px; gap: 10px; }
  .moyens-paiement { gap: 4px; }
  .vrai-deroulant.bureau-seul { display: none; }
  .moyens-paiement img { width: 28px; height: 18px; }
  .produit-texte strong { font-size: 17px; }
  .vrai-bouton { min-height: 40px; font-size: 13px; }
}

@media (max-width: 620px) {
  .collection-grille { grid-template-columns: 1fr 1fr; }
  .collection-grille div:nth-child(n + 5) { display: none; }
}

/* --------------------------------------------------------------- Photos envoyées */
.envoi { padding: 80px 0 40px; }
.pellicule-photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding-inline: var(--marge); }
.pellicule-photos figure { margin: 0; }
.pellicule-photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--entree); }
.pellicule-photos figure:hover img { transform: scale(1.015); }
.pellicule-photos figcaption { margin-top: 10px; font-size: 14px; color: var(--encre-douce); }
.pellicule-photos figure:nth-child(even) { margin-top: 64px; display: flex; flex-direction: column-reverse; }
.pellicule-photos figure:nth-child(even) figcaption { margin: 0 0 10px; }
@media (max-width: 860px) {
  .envoi { padding: 72px 0 24px; }
  .pellicule-photos { grid-template-columns: repeat(3, 1fr); }
  .pellicule-photos figure:nth-child(even) { margin-top: 0; }
  .pellicule-photos figcaption { display: none; }
}

/* --------------------------------------------------------------- Garanties */
.garanties { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 120px var(--marge) 160px 0; background: var(--surface); }
.enclume { height: 62svh; min-height: 420px; margin-left: -6vw; overflow: hidden;
  /* La silhouette de l'enclume du logo, en grand. */
  clip-path: polygon(0% 12%, 22% 9%, 92% 9%, 100% 14%, 100% 32%, 80% 32%, 72% 42%, 72% 62%, 86% 76%, 86% 92%, 22% 92%, 22% 76%, 36% 62%, 36% 42%, 14% 32%, 0% 32%); }
.enclume img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.garanties-texte h2 { margin-bottom: 48px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.points li { font-size: var(--petit); line-height: 1.5; }
.points strong { display: block; font-size: 17px; margin-bottom: 6px; padding-left: 20px; position: relative; }
.points strong::before { content: ""; position: absolute; left: 0; top: .2em; width: .72em; height: .72em; background: var(--encre); clip-path: polygon(20% 100%, 100% 0%, 55% 100%); }
@media (max-width: 1100px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .garanties { grid-template-columns: 1fr; padding: 0 var(--marge) 96px; gap: 40px; }
  .enclume, .points .bureau-seul { display: none; }
  .garanties { padding-top: 88px; }
  .points { grid-template-columns: 1fr; gap: 24px; }
}

/* --------------------------------------------------------------- Accès Shopify */
.acces { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding: 180px var(--marge); }
.acces-texte p { max-width: 46ch; }
.verification { background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1px #dcdcd7; font-size: 14px; overflow: hidden; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.verif-tete { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid #e6e6e1; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.verif-tete span { color: #6b6b72; }
.verification ul { list-style: none; margin: 0; padding: 6px 20px; }
.verification li { display: grid; grid-template-columns: 22px minmax(0, 15em) 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid #f0f0ec; } /* taste-skill-ignore: dans un fragment data-ui (interface de boutique) */
.verification li:last-child { border-bottom: 0; }
.verification code { background: none; padding: 0; font-size: 14px; }
.verification li > span:last-child { color: #4f4f56; }
.ok { display: inline-block; width: 7px; height: 13px; margin-left: 6px; border: solid #146c34; border-width: 0 3px 3px 0; transform: rotate(45deg); } /* taste-skill-ignore: coche d'interface data-ui */
.verif-pied { padding: 14px 20px; background: #e3f1e8; color: #146c34; font-weight: 600; }
@media (max-width: 760px) { .acces { display: none; } }
@media (max-width: 900px) {
  .acces { grid-template-columns: 1fr; padding: 96px var(--marge); gap: 32px; }
  .verification li { grid-template-columns: 22px 1fr; }
  .verification li > span:last-child { grid-column: 2; font-size: 14px; }
}

/* --------------------------------------------------------------- Forfaits */
.forfaits-v2 { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; padding: 160px var(--marge); background: var(--encre); color: var(--inverse); }
.noms h2 { font-size: var(--moyen); margin-bottom: 40px; }
.liste-noms { display: grid; justify-items: start; gap: 4px; }
.liste-noms button { all: unset; cursor: pointer; position: relative; padding-left: .55em; font-size: var(--geant); font-weight: 800; line-height: 1.04; letter-spacing: -0.05em; color: rgba(255,255,255,.34); transition: color .25s; }
.liste-noms button:hover { color: rgba(255,255,255,.7); }
.liste-noms button[aria-selected="true"] { color: var(--accent); }
.liste-noms button[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 50%; width: .22em; height: .22em; margin-top: -.11em; border-radius: 50%; background: var(--accent); }
.liste-noms button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.note-prix { margin-top: 40px; max-width: 40ch; color: rgba(255,255,255,.75); font-size: var(--petit); }
.scene-forfait { align-self: start; position: sticky; top: 96px; padding: 36px; border-radius: 10px; background: #fff; color: #0a0a0a; transition: opacity .2s; }
.scene-forfait.change { opacity: .35; }
.montant { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.montant span { color: var(--accent); font-size: var(--geant); font-weight: 800; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.montant small { font-size: var(--texte); color: #4f4f56; }
#resume { max-width: 48ch; }
.calcul { margin: 28px 0; }
.calcul label { margin-top: 0; }
#detail-calcul { margin: 10px 0 0; }
@media (max-width: 900px) {
  .forfaits-v2 { grid-template-columns: 1fr; padding: 96px var(--marge); }
  .liste-noms button { font-size: 15vw; }
  .scene-forfait { position: static; padding: 24px; }
  .scene-forfait .bouton { width: 100%; }
}

/* --------------------------------------------------------------- Comparatif */
.comparatif { padding: 180px 0 120px; }
.table-defile { margin-top: 8px; }
.comparatif table { width: 100%; border-collapse: collapse; font-size: var(--texte); }
@media (max-width: 620px) {
  .comparatif .entete-section p { font-size: 15px; }
  .table-defile { overflow-x: auto; margin-inline: calc(var(--marge) * -1); padding-inline: var(--marge); }
  .comparatif table { min-width: 620px; font-size: var(--petit); }
  .comparatif th, .comparatif td { padding: 12px 8px; }
  .comparatif tbody th { width: 34%; }
}
.comparatif th, .comparatif td { padding: 16px 12px; text-align: left; border-bottom: 1px solid #e6e6e1; vertical-align: top; }
.comparatif thead th { font-size: var(--moyen); font-weight: 800; letter-spacing: -0.02em; }
.comparatif tbody th { font-weight: 600; width: 34%; }
.comparatif td:nth-child(3), .comparatif thead th:nth-child(3) { background: var(--surface); }
.comparatif tbody tr:hover th, .comparatif tbody tr:hover td { background: #ededea; }

/* --------------------------------------------------------------- Questions */
.questions { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; padding: 120px var(--marge) 180px; align-items: start; }
.questions h2 { position: sticky; top: 96px; }
.tuiles { display: grid; gap: 8px; }
.tuiles details { border-radius: 8px; background: var(--surface); transition: background-color .25s; }
.tuiles summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; padding: 18px 24px; font-size: var(--moyen); font-weight: 600; letter-spacing: -0.015em; }
.tuiles summary::-webkit-details-marker { display: none; }
.tuiles summary:hover { background: var(--surface-2); border-radius: 8px; }
.plus { position: relative; flex: none; width: 18px; height: 18px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 7.5px; width: 18px; height: 3px; background: currentColor; transition: transform .25s var(--entree); }
.plus::after { transform: rotate(90deg); }
.tuiles details[open] { background: var(--accent); color: #fff; }
.tuiles details[open] summary:hover { background: transparent; }
.tuiles details[open] .plus::after { transform: rotate(0deg); }
.tuiles details p { margin: 0; padding: 0 24px 24px; max-width: 58ch; }
@media (max-width: 860px) {
  .questions { grid-template-columns: 1fr; padding: 48px var(--marge) 96px; }
  .comparatif { padding: 96px 0 32px; }
  .questions h2 { position: static; }
  .tuiles summary { font-size: var(--texte); min-height: 64px; }
}

/* --------------------------------------------------------------- Départ */
.depart { display: grid; justify-items: center; gap: 40px; padding: 140px var(--marge); background: var(--encre); color: var(--inverse); text-align: center; }
.depart-texte { display: grid; justify-items: center; }
.depart h2 { font-size: clamp(48px, 6vw, 96px); line-height: .95; letter-spacing: -0.05em; margin-bottom: 28px; }
.depart-texte p { max-width: 52ch; color: rgba(255,255,255,.8); margin: 0; }
.dialogue { width: min(460px, 100%); text-align: left; padding: 28px; border-radius: 12px; background: #fff; color: #0a0a0a; box-shadow: 0 24px 60px rgba(0,0,0,.45); } /* taste-skill-ignore: dialogue ouvert au-dessus de la page */
.dialogue-titre { display: block; font-size: var(--moyen); letter-spacing: -0.02em; margin-bottom: 4px; }
.dialogue input[type=text] { background: #fff; }
.dialogue-label { display: block; font-weight: 600; font-size: var(--petit); margin: 18px 0 6px; }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 8px; background: var(--surface); }
.segments label { margin: 0; text-align: center; padding: 10px 6px; border-radius: 6px; font-size: 14px; cursor: pointer; transition: background-color .2s; }
.segments label:has(input:checked) { background: var(--accent); color: #fff; }
.segments label:has(input:focus-visible) { outline: 3px solid #0a0a0a; outline-offset: 2px; }
.segments input { position: absolute; opacity: 0; pointer-events: none; }
.bouton.plein { width: 100%; min-height: 52px; margin-top: 22px; font-size: var(--texte); }
@media (max-width: 860px) {
  .depart { padding: 88px var(--marge); }
  .depart h2 { font-size: 12vw; }
  .dialogue { padding: 22px 20px; }
  .segments label { padding: 10px 2px; font-size: 12px; white-space: nowrap; letter-spacing: -0.01em; }
}

/* --------------------------------------------------------------- Pied de page */
.pied-tuiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px; background: var(--fond); }
.tuile { border-radius: 8px; background: var(--surface); padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.t-phrase { grid-column: 1 / 5; }
.t-phrase p { font-size: var(--moyen); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.t-phrase small { font-size: 14px; color: var(--encre-douce); }
.t-nav { grid-column: 5 / 8; justify-content: flex-start; gap: 8px; }
.t-nav a { text-decoration: none; }
.t-nav a:hover { text-decoration: underline; }
.t-nav .mobile-seul { display: none; }
.t-paiement { grid-column: 8 / 10; }
.t-paiement p { margin: 0; }
.t-mail { grid-column: 10 / 13; }
.t-mail span { color: var(--encre-douce); }
.t-mail a { font-size: var(--moyen); font-weight: 700; overflow-wrap: anywhere; }
.t-nom { grid-column: 1 / 9; min-height: 320px; background: var(--encre); color: var(--inverse); flex-direction: row; align-items: center; justify-content: center; gap: 2vw; }
.t-nom img { width: 8vw; height: auto; }
.t-nom span { font-size: var(--geant); font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.t-action { grid-column: 9 / 13; min-height: 320px; background: var(--accent); color: #fff; transition: background-color .25s; }
.t-action span { font-size: var(--moyen); font-weight: 800; letter-spacing: -0.03em; }
.t-action svg { align-self: flex-end; transition: transform .3s var(--entree); }
.t-action:hover { background: var(--accent-survol); }
.t-action:hover svg { transform: translate(4px, -4px); }
@media (max-width: 860px) {
  .pied-tuiles { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tuile { min-height: 0; padding: 20px; gap: 24px; }
  .t-nom { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .t-nom span { font-size: 15vw; }
  .t-nom img { width: 14vw; }
  .t-action { grid-column: 1 / -1; order: -1; min-height: 0; flex-direction: row; align-items: center; }
  .t-action svg { width: 34px; height: 34px; align-self: center; }
  .t-phrase { display: none; }
  .t-paiement { order: 0; }
  .t-nav { order: 1; }
  .t-mail { order: 2; }
  /* Sous les deux tuiles : un pied de page simple, sans cadres. */
  .t-paiement, .t-nav, .t-mail { background: none; border-radius: 0; padding: 12px 14px; }
  .t-paiement { padding-top: 24px; color: var(--encre-douce); }
  .t-mail { padding-bottom: 24px; gap: 4px; }
  .t-nav .mobile-seul { display: block; }
  .t-nav .bureau-seul { display: none; }
  .t-nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .t-mail { grid-column: 1 / -1; }
  .t-paiement { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------- Entrées (seulement si le script tourne) */
.js [data-entree] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--entree), transform .7s var(--entree); transition-delay: calc(var(--rang, 0) * 80ms); }
.js [data-entree].vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-entree] { opacity: 1; transform: none; transition: none; }
  .pellicule { transition: none; }
  .fondu img { transition: none; }
}
