@font-face { font-family: "Geist"; src: url("Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --creme: #f4efe6; --carte: #fbf9f4; --encre: #15130f; --encre-2: #1f1c17; --doux: #655d50; --bord: #e2d9c8;
  --orange: #e4572e; --orange-2: #c6421d; --vert: #1f7a4d; --max: 1140px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--creme); color: var(--encre); font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }
.contenu { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.cache { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; gap: .5rem; background: var(--encre); color: var(--creme); text-decoration: none;
  font-weight: 600; font-size: 1rem; padding: .85rem 1.5rem; border-radius: .7rem; border: 1.5px solid var(--encre);
  transition: transform .12s ease, box-shadow .12s ease; }
.bouton:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(21,19,15,.18); }
.bouton.orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.bouton.orange:hover { box-shadow: 0 10px 26px rgba(228,87,46,.32); }
.bouton.second { background: transparent; color: var(--encre); }
.bouton.second:hover { background: rgba(21,19,15,.05); box-shadow: none; }
.bouton.bloc { width: 100%; justify-content: center; }

/* En-tête */
header.haut { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--creme) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--bord); }
header.haut .contenu { display: flex; align-items: center; gap: 1rem; height: 4.25rem; }
.marque { display: inline-flex; align-items: center; gap: .55rem; font-weight: 750; font-size: 1.3rem; letter-spacing: -.045em; text-decoration: none; }
.marque svg, .marque img { width: 2.1rem; height: 2.1rem; }
.marque.petite { font-size: 1.05rem; } .marque.petite svg, .marque.petite img { width: 1.5rem; height: 1.5rem; }
nav.liens { margin-left: auto; display: flex; align-items: center; gap: 1.8rem; font-size: .96rem; }
nav.liens a { color: var(--doux); text-decoration: none; }
nav.liens a:hover { color: var(--encre); }
.menu-mobile { margin-left: auto; display: none; }
.menu-mobile summary { list-style: none; cursor: pointer; padding: .5rem; border: 1px solid var(--bord); border-radius: .6rem; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary svg { width: 1.3rem; height: 1.3rem; }
.menu-mobile[open] .panneau { position: absolute; right: 1.25rem; top: 4.1rem; background: var(--carte); border: 1px solid var(--bord);
  border-radius: .9rem; box-shadow: 0 20px 50px rgba(21,19,15,.18); padding: .6rem; display: flex; flex-direction: column; min-width: 200px; }
.menu-mobile .panneau a { padding: .7rem .9rem; border-radius: .6rem; text-decoration: none; color: var(--encre); }
.menu-mobile .panneau a:hover { background: rgba(21,19,15,.05); }

/* Titres */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-2); }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.4rem); line-height: 1.01; letter-spacing: -.05em; font-weight: 800; margin: 1rem 0 1.2rem; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
h3 { font-size: 1.22rem; letter-spacing: -.025em; font-weight: 700; }
.sous { color: var(--doux); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 34rem; }
.centre { text-align: center; } .centre .sous { margin-inline: auto; }
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.titre-bloc { max-width: 40rem; margin-bottom: 2.5rem; }
.titre-bloc h2 { margin: .7rem 0 .9rem; }

/* Héros */
.heros { padding-top: clamp(3rem, 6vw, 5rem); }
.heros .contenu { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.heros h1 span { color: var(--orange-2); }
.heros .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.confiance { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; color: var(--doux); font-size: .92rem; }
.confiance span { display: inline-flex; align-items: center; gap: .45rem; }
.confiance svg { width: 1.05rem; height: 1.05rem; color: var(--vert); }
.cadre-video { justify-self: center; width: min(300px, 82vw); aspect-ratio: 9/16; border-radius: 1.8rem; overflow: hidden;
  background: var(--encre); padding: .5rem; box-shadow: 0 2px 8px rgba(0,0,0,.14), 0 40px 80px rgba(21,19,15,.28); }
.cadre-video video { width: 100%; height: 100%; object-fit: cover; border-radius: 1.4rem; }

/* Étapes */
.etapes { background: var(--encre); color: var(--creme); }
.etapes .grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.etape { position: relative; padding-top: 1rem; }
.etape .num { font-size: .85rem; font-weight: 800; letter-spacing: .1em; color: var(--orange); }
.etape h3 { margin: .6rem 0 .4rem; color: var(--creme); }
.etape p { color: #c9c0b1; }
.etapes .eyebrow { color: #ff9372; }
.etapes h2 span { color: #ff9372; }

/* Cartes fonctions */
.grille-f { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: 1.2rem; padding: 1.8rem; }
.carte .picto { width: 3rem; height: 3rem; border-radius: .85rem; background: var(--encre); display: grid; place-items: center; margin-bottom: 1.1rem; }
.carte .picto svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--creme); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carte h3 { margin-bottom: .45rem; }
.carte p { color: var(--doux); }

/* Sécurité */
.securite { background: var(--encre-2); color: var(--creme); }
.securite .eyebrow { color: #ff9372; } .securite h2 span { color: #ff9372; }
.securite .sous { color: #c9c0b1; }
.securite .grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.securite .item { display: flex; gap: .9rem; padding: 1.3rem; border: 1px solid rgba(255,255,255,.1); border-radius: 1rem; background: rgba(255,255,255,.03); }
.securite .item svg { width: 1.6rem; height: 1.6rem; flex: none; }
.securite .item h3 { color: var(--creme); margin-bottom: .2rem; }
.securite .item p { color: #c9c0b1; font-size: .98rem; }

/* Tarifs */
.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.formule { background: var(--carte); border: 1.5px solid var(--bord); border-radius: 1.3rem; padding: 2rem; display: flex; flex-direction: column; position: relative; }
.formule.mise { background: var(--encre); color: var(--creme); border-color: var(--encre); box-shadow: 0 30px 60px rgba(21,19,15,.22); }
.formule .nomf { font-size: 1.15rem; font-weight: 700; }
.formule .prix { font-size: 3rem; font-weight: 800; letter-spacing: -.05em; margin: .5rem 0 .1rem; line-height: 1; }
.formule .prix small { font-size: 1rem; font-weight: 600; color: var(--doux); letter-spacing: 0; }
.formule.mise .prix small { color: #c9c0b1; }
.formule .creation { color: var(--doux); font-size: .98rem; }
.formule.mise .creation { color: #c9c0b1; }
.formule ul { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: .6rem; }
.formule li { display: flex; gap: .55rem; font-size: .98rem; }
.formule li svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--vert); margin-top: .2rem; }
.formule.mise li svg { color: #6fd39d; }
.formule .pied { margin-top: auto; }
.etiquette { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 99px; }
.note { color: var(--doux); font-size: .95rem; margin-top: 1.4rem; text-align: center; }

/* Questions */
.questions .liste { max-width: 46rem; margin-top: 2rem; }
details.q { border-bottom: 1px solid var(--bord); padding: 1.1rem .2rem; }
details.q summary { font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; color: var(--orange-2); font-weight: 700; }
details.q[open] summary::after { content: "–"; }
details.q p { color: var(--doux); margin-top: .7rem; }

/* Appel final */
.final { background: var(--orange); color: #fff; border-radius: 1.6rem; padding: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.final h2 { color: #fff; }
.final .sous { color: #fff; opacity: .92; margin: 1rem auto 1.8rem; }
.final .bouton { background: #fff; color: var(--encre); border-color: #fff; }

/* Pied */
footer { border-top: 1px solid var(--bord); padding: 2.5rem 0; margin-top: 2rem; }
footer .contenu { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; color: var(--doux); font-size: .92rem; }
footer a { color: var(--doux); }
footer nav { display: flex; gap: 1.2rem; }

/* Page texte (mentions) */
.page-texte { max-width: 46rem; padding: 4rem 0; }
.page-texte h1 { font-size: 2.2rem; }
.page-texte h2 { font-size: 1.35rem; margin-top: 2rem; }
.page-texte p, .page-texte li { color: var(--doux); margin-top: .6rem; }
.espace-haut { margin-top: 1.8rem; }

@media (max-width: 860px) {
  .heros .contenu { grid-template-columns: 1fr; }
  .cadre-video { order: -1; }
  .grille-f, .etapes .grille, .securite .grille, .formules { grid-template-columns: 1fr; }
  nav.liens { display: none; }
  .menu-mobile { display: block; }
  .formule.mise { order: -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bouton:hover { transform: none; } }

/* --- Interactions --- */
.formule, .fonction { transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.formule:not(.mise):hover, .formule:not(.mise):focus-within { background: var(--encre); color: var(--creme); border-color: var(--encre);
  transform: translateY(-6px); box-shadow: 0 30px 60px rgba(21,19,15,.22); }
.formule:not(.mise):hover .prix small, .formule:not(.mise):hover .creation { color: #c9c0b1; }
.formule:not(.mise):hover li svg { color: #6fd39d; }
.formule:not(.mise):hover .bouton.second { background: var(--orange); border-color: var(--orange); color: #fff; }
.formule.mise:hover { transform: translateY(-6px); }

/* Fonctions dépliables */
.grille-f { align-items: start; }
details.fonction { background: var(--carte); border: 1px solid var(--bord); border-radius: 1.2rem; padding: 1.8rem; cursor: pointer; }
details.fonction summary { list-style: none; display: block; }
details.fonction summary::-webkit-details-marker { display: none; }
details.fonction .picto { width: 3rem; height: 3rem; border-radius: .85rem; background: var(--encre); display: grid; place-items: center; margin-bottom: 1.1rem; transition: background .25s ease; }
details.fonction .picto svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--creme); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
details.fonction h3 { margin-bottom: .45rem; display: flex; justify-content: space-between; gap: 1rem; }
details.fonction h3::after { content: "+"; color: var(--orange-2); font-weight: 700; transition: transform .25s ease; }
details.fonction[open] h3::after { transform: rotate(45deg); }
details.fonction p { color: var(--doux); transition: color .25s ease; }
details.fonction ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--doux); display: grid; gap: .35rem; }
details.fonction:hover, details.fonction[open] { background: var(--encre); color: var(--creme); border-color: var(--encre); transform: translateY(-4px);
  box-shadow: 0 26px 50px rgba(21,19,15,.2); }
details.fonction:hover p, details.fonction[open] p, details.fonction:hover ul, details.fonction[open] ul { color: #c9c0b1; }
details.fonction:hover .picto, details.fonction[open] .picto { background: var(--orange); }
details.fonction:hover h3::after, details.fonction[open] h3::after { color: #ff9372; }
.indice { color: var(--doux); font-size: .92rem; margin-top: 1rem; }

/* Fenêtre de commande (sans JavaScript : :target) */
.fenetre { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.fenetre:target { display: flex; }
.fenetre .fond { position: absolute; inset: 0; background: rgba(21,19,15,.55); backdrop-filter: blur(4px); }
.fenetre .boite { position: relative; background: var(--carte); border-radius: 1.4rem; max-width: 30rem; width: 100%; padding: 2rem;
  box-shadow: 0 40px 90px rgba(0,0,0,.35); animation: entree .25s ease; max-height: 92vh; overflow: auto; }
@keyframes entree { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.fenetre .fermer { position: absolute; top: 1rem; right: 1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  text-decoration: none; color: var(--doux); background: rgba(21,19,15,.06); font-size: 1.2rem; }
.fenetre .resume { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--bord); margin-bottom: 1rem; }
.fenetre .resume b { font-size: 1.6rem; letter-spacing: -.03em; }
.fenetre ol { padding-left: 1.2rem; color: var(--doux); display: grid; gap: .4rem; margin: .8rem 0 1.2rem; }
.paiement { display: flex; flex-wrap: wrap; gap: .5rem; margin: .6rem 0 1.2rem; }
.paiement span { font-size: .8rem; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--bord); border-radius: .45rem; padding: .3rem .6rem; background: #fff; }
.adresse-copie { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--bord); border-radius: .8rem; padding: .7rem .8rem; }
.adresse-copie code { font-family: inherit; font-weight: 650; font-size: 1.05rem; flex: 1; }
button.bouton { cursor: pointer; font-family: inherit; }
.bouton.copie { background: var(--vert); border-color: var(--vert); color: #fff; }
.final .adresse-copie { max-width: 26rem; margin: 0 auto; }
.final .adresse-copie code { color: var(--encre); text-align: left; }
.final .adresse-copie .bouton { background: var(--encre); color: #fff; border-color: var(--encre); }
.petit-lien { display: inline-block; margin-top: .9rem; font-size: .9rem; color: var(--doux); }
.final .petit-lien { color: #fff; opacity: .9; }
@media (prefers-reduced-motion: reduce) { .formule, details.fonction { transition: none; } .formule:hover, details.fonction:hover { transform: none; } .fenetre .boite { animation: none; } }
.titre-fenetre { font-size: 2rem; letter-spacing: -.04em; margin-top: .3rem; }
.sous-titre { font-size: 1.05rem; margin-top: 1.4rem; }
.titre-bloc.centre { margin-inline: auto; }
nav.liens a.bouton { color: var(--creme); }
nav.liens a.bouton:hover { color: #fff; }
