/* ---------- Polices ---------- */
@font-face{font-family:"Bonum";font-weight:700;font-style:normal;font-display:swap;src:url(/exemple/fleuriste/polices/bonum-bold.woff) format("woff")}
@font-face{font-family:"Bonum";font-weight:700;font-style:italic;font-display:swap;src:url(/exemple/fleuriste/polices/bonum-bolditalic.woff) format("woff")}
@font-face{font-family:"Bonum";font-weight:400;font-style:italic;font-display:swap;src:url(/exemple/fleuriste/polices/bonum-italic.woff) format("woff")}
@font-face{font-family:"Inter";font-weight:400;font-style:normal;font-display:swap;src:url(/exemple/fleuriste/polices/inter-regular.woff) format("woff")}
@font-face{font-family:"Inter";font-weight:600;font-style:normal;font-display:swap;src:url(/exemple/fleuriste/polices/inter-semibold.woff) format("woff")}
@font-face{font-family:"Inter";font-weight:700;font-style:normal;font-display:swap;src:url(/exemple/fleuriste/polices/inter-bold.woff) format("woff")}

/* ---------- Couleurs et réglages généraux ---------- */
:root{
  --nuit:#14281E;          /* la couleur de la boutique : un vert feuille très profond */
  --nuit-2:#1D3529;
  --rose:#E8AEB8;          /* le rose poudré, sur fond sombre : boutons et accents */
  --rose-clair:#F2C6CD;
  --rose-fonce:#A0435A;    /* le rose, sur fond clair (lisible sur la crème) */
  --feuille:#4E8A62;
  --creme:#FBF7F1;
  --pale:#F5EDE7;
  --encre:#18241D;
  --doux:#56625A;
  --filet:#E7DDD4;
  --sdp-nuit:#14213D;      /* couleurs de Site de Poche : réservées à ce qui parle de la démonstration */
  --jaune:#FFC83D;
  --titre:"Bonum","TeX Gyre Bonum","Bookman Old Style",Georgia,"Times New Roman",serif;
  --texte:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --ressort:cubic-bezier(.2,.8,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:4.75rem;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--creme);color:var(--encre);font:400 1.0625rem/1.6 var(--texte);overflow-wrap:break-word}
h1,h2,h3,p,ul,ol,figure,fieldset{margin:0;padding:0}
ul,ol{list-style:none}
fieldset{border:0;min-width:0}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit}
button,input,textarea{font:inherit;color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--rose-fonce);outline-offset:3px;border-radius:.3rem}
.bloc-nuit :focus-visible,.accueil :focus-visible{outline-color:var(--rose)}

.cadre{width:min(100% - 2.5rem,1120px);margin-inline:auto}
.bloc{padding-block:clamp(3.25rem,8vw,6rem)}
.bloc-pale{background:var(--pale)}
.bloc-nuit{background:var(--nuit);color:#fff}
h1,h2,h3{font-family:var(--titre);font-weight:700;letter-spacing:-.01em;text-wrap:balance}
h2{font-size:clamp(1.95rem,5vw,3rem);line-height:1.1}
h3{font-size:1.35rem;line-height:1.2}
.surtitre{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:.7rem;font-weight:700;font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--rose-fonce)}
.surtitre::before{content:"";width:1.4rem;height:2px;background:currentColor}
.bloc-nuit .surtitre{color:var(--rose)}
.intro,.titre-bloc p:not(.surtitre){margin-top:.8rem;font-size:clamp(1.02rem,1.8vw,1.15rem);color:var(--doux);max-width:36rem}
.bloc-nuit .intro{color:#C9D4CC}

/* ---------- Boutons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:3.1rem;padding:.85rem 1.4rem;border-radius:999px;border:2px solid transparent;font-weight:700;font-size:1rem;line-height:1.1;text-decoration:none;white-space:nowrap;transition:transform .18s var(--ressort),background-color .18s,color .18s,border-color .18s,box-shadow .18s}
.btn svg{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(1px)}
.btn-rose{background:var(--nuit);color:#fff;box-shadow:0 6px 18px -8px rgba(20,40,30,.7)}
.btn-rose:hover{background:#24402F}
.bloc-nuit .btn-rose,.accueil .btn-rose{background:var(--rose);color:var(--nuit);box-shadow:0 6px 18px -8px rgba(232,174,184,.7)}
.bloc-nuit .btn-rose:hover,.accueil .btn-rose:hover{background:var(--rose-clair)}
.bloc-nuit .formulaire .btn-rose{background:var(--nuit);color:#fff}
.bloc-nuit .formulaire .btn-rose:hover{background:#24402F}
.btn-clair{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.7);color:#fff}
.btn-clair:hover{background:#fff;color:var(--encre)}
.btn-jaune{background:var(--jaune);color:var(--sdp-nuit)}
.btn-jaune:hover{background:#FFD566}
.btn-petit{min-height:2.6rem;padding:.55rem 1rem;font-size:.95rem}

/* ---------- Bandeau de démonstration ---------- */
.demo{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem 1.25rem;background:var(--sdp-nuit);color:#E6E9F2;font-size:.85rem;line-height:1.35}
.demo b{color:var(--jaune)}
.demo a{display:inline-flex;align-items:center;gap:.35rem;flex:none;color:#fff;font-weight:600;text-decoration:none}
.demo a svg{width:1.1rem;height:1.1rem}
.demo a:hover{text-decoration:underline}
@media (max-width:640px){.demo span{display:none}.demo{font-size:.8rem}}

/* ---------- En-tête ---------- */
.tete{position:sticky;top:0;z-index:20;background:rgba(251,247,241,.93);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--filet)}
.tete-in{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:4rem}
.enseigne{display:inline-flex;align-items:center;gap:.5rem;font-family:var(--titre);font-weight:700;font-size:1.4rem;letter-spacing:-.01em;text-decoration:none;white-space:nowrap}
.enseigne i{font-weight:400;color:var(--rose-fonce)}
.logo{width:1.75rem;height:1.75rem;padding:.25rem;border-radius:50%;background:var(--nuit);fill:none;stroke:var(--rose);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tete-nav{display:none}
.tete-nav a{font-weight:600;font-size:.95rem;text-decoration:none;color:var(--doux);padding:.4rem .1rem;border-bottom:2px solid transparent}
.tete-nav a:hover{color:var(--encre);border-bottom-color:var(--rose-fonce)}
@media (min-width:900px){.tete-nav{display:flex;gap:1.6rem}}

/* ---------- Accueil ---------- */
.accueil{position:relative;overflow:hidden;background:var(--nuit);color:#fff;padding:clamp(15rem,58vw,21rem) 0 2.5rem}
.accueil-photo{position:absolute;inset:0 0 auto;height:clamp(17rem,66vw,24rem)}
.accueil-photo img{width:100%;height:100%;object-fit:cover;object-position:45% 30%}
.accueil-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,40,30,.05) 0%,rgba(20,40,30,.2) 45%,var(--nuit) 100%)}
.accueil-texte{position:relative}
.etat{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1rem;padding:.4rem .8rem;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);font-weight:600;font-size:.9rem;line-height:1.3}
.etat::before{content:"";flex:none;width:.6rem;height:.6rem;border-radius:50%;background:#3DDC84;box-shadow:0 0 0 0 rgba(61,220,132,.6)}
.accueil h1{font-size:clamp(2.5rem,10vw,4.6rem);line-height:1.05}
.accueil h1 span{display:inline-block}
.rose{color:var(--rose);font-style:italic}
.genre{margin-top:1rem;font-weight:700;font-size:1.1rem}
.chapo{margin-top:.5rem;color:#C9D4CC;max-width:33rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.6rem}
@media (max-width:520px){.accueil .actions .btn{flex:1 1 100%}}
@media (min-width:900px){
  .accueil{min-height:min(42rem,calc(100vh - 6.5rem));display:flex;align-items:center;padding:4rem 0}
  .accueil-photo{inset:0 0 0 34%;height:auto}
  .accueil-photo img{object-position:50% 35%}
  /* le fondu vers le vert est fait sur la photo elle-même (masque) : un voile posé dessus laissait un trait clair d'un pixel sur son bord gauche */
  .accueil-photo::after{background:none}
  .accueil-photo img{-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 26%,rgba(0,0,0,.98) 68%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.4) 26%,rgba(0,0,0,.98) 68%)}
  .accueil-texte{max-width:1120px}
  .accueil-texte > *{max-width:36rem}
}

/* ---------- Engagements ---------- */
.atouts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--filet);border-bottom:1px solid var(--filet)}
.atouts li{display:flex;align-items:center;gap:.65rem;padding:1rem 1.1rem;background:var(--creme);font-size:.92rem;line-height:1.3;color:var(--doux)}
.atouts b{display:block;color:var(--encre)}
.atouts svg{flex:none;width:1.6rem;height:1.6rem;fill:none;stroke:var(--rose-fonce);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:900px){.atouts{grid-template-columns:repeat(4,1fr)}.atouts li{justify-content:center;padding:1.3rem 1rem}}

/* ---------- Occasions ---------- */
.envies{display:grid;gap:2.5rem}
.choix{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:1.6rem}
.envie{display:flex;align-items:center;gap:.55rem;min-height:3.4rem;padding:.7rem .85rem;border-radius:.9rem;border:1.5px solid rgba(255,255,255,.22);background:rgba(255,255,255,.05);color:#fff;font-weight:600;font-size:.95rem;line-height:1.25;text-align:left;transition:background-color .18s,border-color .18s,transform .18s var(--ressort)}
.envie:hover{border-color:rgba(255,255,255,.5)}
.envie[aria-checked="true"]{background:var(--rose);border-color:var(--rose);color:var(--nuit)}
.envie svg{flex:none;width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.conseil{margin-top:1.1rem;padding:1.3rem;border-radius:1rem;background:var(--nuit-2);border:1px solid rgba(255,255,255,.1)}
.conseil-duree{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:.55rem;padding:.25rem .7rem;border-radius:999px;font-weight:700;font-size:.82rem;line-height:1.35;background:rgba(232,174,184,.15);color:var(--rose)}
.conseil-duree::before{content:"";flex:none;width:.55rem;height:.55rem;border-radius:50%;border:2px solid currentColor}
.conseil-titre{font-family:var(--titre);font-weight:700;font-size:1.45rem;line-height:1.2}
.conseil-etapes{margin-top:.8rem;counter-reset:etape;display:grid;gap:.55rem}
.conseil-etapes li{position:relative;padding-left:2.1rem;color:#DCE4DE;counter-increment:etape}
.conseil-etapes li::before{content:counter(etape);position:absolute;left:0;top:.05rem;width:1.5rem;height:1.5rem;border-radius:50%;background:rgba(232,174,184,.16);color:var(--rose);font-weight:700;font-size:.85rem;display:grid;place-items:center}
.conseil-astuce{margin-top:.9rem;padding:.7rem .9rem;border-radius:.6rem;background:rgba(232,174,184,.12);border-left:3px solid var(--rose);color:#F3E6E8;font-size:.95rem}
.conseil .btn{margin-top:1.1rem;width:100%;white-space:normal;text-align:center}
/* la photo change avec l'occasion choisie : les quatre sont empilées, une seule est montrée */
.envies-photo{position:relative;display:grid;border-radius:1rem;overflow:hidden;align-self:start;background:var(--nuit-2)}
.envies-photo img{grid-area:1/1;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 40%;opacity:0;transition:opacity .6s var(--ressort),transform 1.2s var(--ressort);transform:scale(1.04)}
.envies-photo img.montre{opacity:1;transform:none}
.envies-photo figcaption{position:absolute;left:.8rem;right:.8rem;bottom:.8rem;padding:.8rem 1rem;border-radius:.7rem;background:rgba(20,40,30,.86);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);font-size:.92rem;line-height:1.35}
.envies-photo figcaption b{display:block;color:var(--rose);font-family:var(--titre);font-weight:700;font-size:1.2rem}
.envies-photo figcaption span{color:#C9D4CC}
@media (min-width:900px){
  .envies{grid-template-columns:1.1fr .9fr;align-items:center;gap:4rem}
  .envies-photo img{aspect-ratio:43/50}
  .conseil .btn{width:auto}
}

/* ---------- Créations ---------- */
.illustration{display:inline-block;padding:.55rem .85rem;border-radius:.6rem;background:#fff;border:1px dashed #C9B3AE;font-size:.92rem!important}
.illustration b{color:var(--encre)}
.galerie{display:flex;gap:.8rem;margin-top:1.8rem;padding:0 1.25rem .4rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 1.25rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.galerie::-webkit-scrollbar{display:none}
.vue{position:relative;flex:none;height:clamp(17rem,62vw,21rem);padding:0;border:0;border-radius:.9rem;overflow:hidden;background:var(--nuit);scroll-snap-align:start;text-align:left}
.vue img{height:100%;width:auto;max-width:none;object-fit:cover;transition:transform .6s var(--ressort)}
.vue:hover img{transform:scale(1.04)}
.vue span{position:absolute;left:.7rem;bottom:.7rem;padding:.35rem .75rem;border-radius:999px;background:rgba(20,40,30,.82);color:#fff;font-weight:600;font-size:.88rem}
@media (min-width:900px){
  .galerie{display:grid;grid-template-columns:1fr 1.25fr 1.25fr;grid-template-rows:repeat(2,15.5rem);gap:1rem;width:min(100% - 2.5rem,1120px);margin-inline:auto;padding:0;overflow:visible}
  .vue{height:auto}
  .vue img{width:100%;height:100%;max-width:100%}
  .vue-haute{grid-row:span 2}
}

/* ---------- Livraison ---------- */
.zone{display:grid;gap:2.4rem}
.communes{display:grid;grid-template-columns:1fr 1fr;gap:.45rem;margin-top:1.4rem;max-width:34rem}
.communes li{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .8rem;border-radius:.6rem;background:#fff;border:1px solid var(--filet);font-weight:600;font-size:.92rem;line-height:1.25}
.communes li:first-child{border-color:var(--rose-fonce);box-shadow:inset 3px 0 0 var(--rose-fonce)}
.communes b{flex:none;color:var(--rose-fonce);font-family:var(--titre);font-size:1.05rem}
@media (max-width:374px){.communes{grid-template-columns:1fr}}
.lieu{margin-top:1rem;padding:.8rem 1rem;border-radius:.7rem;background:var(--pale);font-weight:600;font-size:.97rem;max-width:34rem}
.seance{position:relative;border-radius:1rem;overflow:hidden;align-self:center}
.seance img{width:100%;aspect-ratio:50/38;object-fit:cover;border-radius:1rem}
.seance figcaption{padding:.8rem 0 0;color:var(--doux);font-size:.92rem;font-style:italic}
@media (min-width:900px){.zone{grid-template-columns:1fr 1fr;align-items:center;gap:4rem}}

/* ---------- Avis d'exemple ---------- */
.avis-note{padding:.7rem .9rem;border-radius:.6rem;background:#fff;border:1px dashed #C9B3AE;font-size:.95rem!important}
.avis-note b{color:var(--encre)}
.avis{display:grid;gap:.9rem;margin-top:1.8rem}
.avis li{padding:1.3rem;border-radius:1rem;background:#fff;border:1px solid var(--filet)}
.etoiles{color:var(--rose-fonce);letter-spacing:.15em;font-size:1.05rem}
.avis li p:nth-child(2){margin-top:.5rem;font-family:var(--titre);font-weight:400;font-style:italic;font-size:1.12rem;line-height:1.45}
.qui{margin-top:.7rem;color:var(--doux);font-size:.88rem;font-weight:600}
@media (min-width:900px){.avis{grid-template-columns:repeat(3,1fr);gap:1.1rem}}

/* ---------- Tarifs ---------- */
.tarifs{margin-top:1.8rem;max-width:46rem}
.longueurs{display:grid;grid-template-columns:repeat(3,auto);gap:.3rem;padding:.35rem;border-radius:999px;background:#fff;border:1px solid var(--filet);width:fit-content;max-width:100%}
@media (max-width:599px){.longueurs{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;border-radius:1.2rem}.longueur{padding:.45rem .3rem;font-size:.9rem;line-height:1.2;border-radius:.9rem}}
.longueur{min-height:2.6rem;padding:.5rem 1.4rem;overflow-wrap:normal;hyphens:none;border:0;border-radius:999px;background:transparent;color:var(--doux);font-weight:700;font-size:.95rem;transition:background-color .18s,color .18s}
.longueur:hover{color:var(--encre)}
.longueur[aria-checked="true"]{background:var(--nuit);color:#fff}
.forfaits{margin-top:1.1rem;border-radius:1rem;background:#fff;border:1px solid var(--filet);overflow:hidden}
.forfaits li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-top:1px solid var(--filet)}
.forfaits li:first-child{border-top:0}
.forfaits span{color:var(--doux);font-size:.92rem;line-height:1.35}
.forfaits b{display:block;color:var(--encre);font-size:1rem}
.forfaits em{flex:none;font-style:normal;font-family:var(--titre);font-weight:700;font-size:1.3rem;color:var(--rose-fonce);white-space:nowrap}
.forfaits-titre{margin-top:1.6rem;font-family:var(--titre);font-weight:700;font-size:1.35rem}
.forfaits-fixes{margin-top:.6rem}
.anime .forfaits em.change{animation:prix .4s var(--ressort)}
@keyframes prix{from{opacity:0;transform:translateY(-6px)}}
.tarifs-note{margin-top:1rem;color:var(--doux);font-size:.92rem}
.tarifs-note b{color:var(--encre)}

/* ---------- Commander ---------- */
.devis{display:grid;gap:2.2rem}
.horaires{margin-top:1.6rem;max-width:24rem;font-size:.95rem}
.horaires li{display:flex;justify-content:space-between;gap:1rem;padding:.42rem 0;border-bottom:1px solid rgba(255,255,255,.14);color:#CFD9D2}
.horaires li span:last-child{color:#fff;font-weight:600;text-align:right}
.formulaire{display:grid;grid-template-columns:1fr;gap:1rem;padding:1.4rem;border-radius:1.1rem;background:var(--creme);color:var(--encre);box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
.champ-large{grid-column:1/-1}
legend,.champ label{display:block;margin-bottom:.4rem;font-weight:600;font-size:.95rem}
.champ input,.champ textarea{width:100%;padding:.8rem .9rem;border-radius:.6rem;border:1.5px solid var(--filet);background:#fff;font-size:1rem;transition:border-color .18s,box-shadow .18s}
.champ input:focus,.champ textarea:focus{outline:none;border-color:var(--rose-fonce);box-shadow:0 0 0 3px rgba(160,67,90,.18)}
.champ textarea{min-height:6.5rem;resize:vertical}
.types{display:flex;flex-wrap:wrap;gap:.45rem}
.types label{position:relative}
.types input{position:absolute;opacity:0;width:1px;height:1px}
.types span{display:inline-block;padding:.55rem .85rem;white-space:nowrap;border-radius:999px;border:1.5px solid var(--filet);background:#fff;font-weight:600;font-size:.92rem;cursor:pointer;transition:background-color .18s,border-color .18s,color .18s}
.types input:checked + span{background:var(--nuit);border-color:var(--nuit);color:#fff}
.types input:focus-visible + span{outline:3px solid var(--rose-fonce);outline-offset:2px}
.estimation{padding:.8rem 1rem;border-radius:.7rem;background:var(--pale);color:var(--doux);font-size:.95rem;line-height:1.45}
.estimation b{color:var(--encre)}
.estimation.prete{background:#F8E9EB;color:var(--encre);border-left:3px solid var(--rose-fonce)}
.estimation small{display:block;margin-top:.2rem;color:var(--doux);font-size:.85rem}
.case{display:flex;align-items:center;gap:.6rem;font-weight:600;font-size:.95rem;line-height:1.35;cursor:pointer}
.case input{width:1.25rem;height:1.25rem;accent-color:var(--nuit);flex:none}
.formulaire .btn{width:100%}
@media (min-width:600px){.formulaire{grid-template-columns:1fr 1fr;padding:1.8rem}}
@media (min-width:900px){.devis{grid-template-columns:.9fr 1.1fr;align-items:start;gap:4rem}}

/* ---------- Pied de page ---------- */
.pied{background:var(--nuit);color:#C9D4CC;padding:2.8rem 0;font-size:.95rem;border-top:1px solid rgba(255,255,255,.08)}
.pied-in{display:grid;gap:1.6rem}
.pied .enseigne{color:#fff;margin-bottom:.4rem}
.pied .enseigne i{color:var(--rose)}
.pied-credits{font-size:.85rem;color:#93A399}
@media (min-width:900px){.pied-in{grid-template-columns:1fr 1fr 1.2fr}}

/* ---------- Mot de la fin, Site de Poche ---------- */
.sdp{background:var(--sdp-nuit);color:#E6E9F2;padding:3rem 0 7rem}
.sdp-in{display:grid;gap:1.6rem}
.sdp-marque{display:inline-flex;align-items:center;gap:.45rem;font-weight:700;color:#fff;margin-bottom:.8rem}
.sdp-marque svg{width:1.4rem;height:1.4rem}
.sdp h2{font-family:var(--texte);font-weight:700;font-size:clamp(1.5rem,3.4vw,2rem);color:#fff;margin-bottom:.6rem}
.sdp-offre{display:grid;gap:1rem;align-content:center}
.sdp-offre b{color:var(--jaune)}
@media (min-width:900px){.sdp{padding-bottom:3rem}.sdp-in{grid-template-columns:1.3fr 1fr;gap:3rem}}

/* ---------- Raccourcis du bas, sur téléphone ---------- */
.barre{position:fixed;left:.75rem;right:.75rem;bottom:calc(.75rem + env(safe-area-inset-bottom));z-index:30;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:.3rem;padding:.4rem;border-radius:1rem;background:rgba(20,40,30,.96);box-shadow:0 12px 30px -10px rgba(0,0,0,.5);transform:translateY(160%);transition:transform .35s var(--ressort)}
.barre.visible{transform:none}
.barre a,.barre button{display:flex;align-items:center;justify-content:center;gap:.35rem;white-space:nowrap;min-height:2.9rem;border:0;border-radius:.7rem;background:transparent;color:#fff;font-weight:700;font-size:.92rem;text-decoration:none}
.barre .fort{background:var(--rose);color:var(--nuit)}
.barre svg{width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:374px){.barre a,.barre button{font-size:.86rem}.barre a svg{display:none}}
@media (min-width:900px){.barre{display:none}}

/* ---------- Photo en grand ---------- */
.visionneuse{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:3.5rem .75rem;background:rgba(12,22,16,.95)}
.visionneuse figure{max-width:min(100%,60rem)}
.visionneuse img{max-height:78vh;width:auto;margin:0 auto;border-radius:.4rem;animation:vis-entree .35s var(--ressort)}
.visionneuse figcaption{margin-top:.8rem;text-align:center;color:#CFD9D2;font-size:.95rem}
.vis-fermer{position:absolute;top:.75rem;right:.75rem;width:2.8rem;height:2.8rem;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:1.8rem;line-height:1}
.vis-fleche{position:absolute;top:50%;transform:translateY(-50%);width:2.8rem;height:2.8rem;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center}
.vis-fleche svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.vis-avant{left:.5rem}.vis-apres{right:.5rem}
@keyframes vis-entree{from{opacity:0;transform:scale(.96)}}

/* ---------- Message des boutons de démonstration ---------- */
.message{position:fixed;left:50%;bottom:calc(5.2rem + env(safe-area-inset-bottom));z-index:60;width:min(100% - 1.5rem,30rem);transform:translateX(-50%);padding:.9rem 1.1rem;border-radius:.8rem;background:var(--sdp-nuit);color:#fff;font-size:.95rem;line-height:1.4;box-shadow:0 14px 40px -12px rgba(0,0,0,.55);animation:message-entree .35s var(--ressort)}
.message b{color:var(--jaune)}
@media (min-width:900px){.message{bottom:1.5rem}}
@keyframes message-entree{from{opacity:0;transform:translate(-50%,14px)}}

/* ---------- Animations légères ---------- */
.anime .rev{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ressort),transform .7s var(--ressort)}
.anime .rev.vu{opacity:1;transform:none}
.anime .avis .rev:nth-child(2){transition-delay:.08s}
.anime .avis .rev:nth-child(3){transition-delay:.16s}

/* Entrée à l'arrivée : en CSS seul, elle démarre dès l'affichage, sans attendre le script, sans écran d'intro et sans rien bloquer.
   Tout est fini avant 1 seconde. Les boutons d'appel ne passent jamais par la transparence : le numéro se lit tout de suite.
   La photo d'accueil « s'épanouit » : elle part un peu plus serrée et plus pâle, puis s'ouvre et prend ses couleurs. */
.accueil-photo{animation:photo-entree .85s var(--ressort) both}
.accueil-photo img{animation:accueil-eclot .95s var(--ressort) both}
.accueil h1 span{animation:titre-entree .6s .08s var(--ressort) both}
.accueil h1 span + span{animation-delay:.2s}
.accueil .etat{animation:monte .5s .05s var(--ressort) both}
.accueil .genre{animation:monte .5s .28s var(--ressort) both}
.accueil .chapo{animation:monte .5s .34s var(--ressort) both}
.accueil .actions .btn-rose,.tete .btn-rose{animation:appel-entree .5s var(--ressort) both,appel-signal .6s .35s ease-out}
.accueil .actions .btn-clair{animation:monte .5s .38s var(--ressort) both}
@keyframes photo-entree{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes photo-entree-cote{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}
@media (min-width:900px){.accueil-photo{animation-name:photo-entree-cote}}
@keyframes accueil-eclot{from{transform:scale(1.1);filter:saturate(.4) brightness(.85)}}
@keyframes titre-entree{from{opacity:0;transform:translateY(.45em)}}
@keyframes appel-entree{from{transform:translateY(12px) scale(.96)}}
@keyframes appel-signal{0%{box-shadow:0 0 0 0 rgba(232,174,184,.75)}100%{box-shadow:0 0 0 .9rem rgba(232,174,184,0)}}

/* Au défilement : quelques détails seulement (traits des titres, créations, communes) */
.anime .rev .surtitre::before{transform:scaleX(0);transform-origin:left;transition:transform .6s .2s var(--ressort)}
.anime .rev.vu .surtitre::before{transform:none}
.atouts li{animation:monte .35s var(--ressort) both}
.atouts li:nth-child(1){animation-delay:.3s}.atouts li:nth-child(2){animation-delay:.36s}.atouts li:nth-child(3){animation-delay:.42s}.atouts li:nth-child(4){animation-delay:.48s}
.atouts svg path,.atouts svg circle,.atouts svg rect{stroke-dasharray:60;stroke-dashoffset:60;animation:fil-trace .45s ease-out forwards;animation-delay:inherit}
.atouts li:nth-child(1) svg{animation-delay:.35s}.atouts li:nth-child(2) svg{animation-delay:.41s}.atouts li:nth-child(3) svg{animation-delay:.47s}.atouts li:nth-child(4) svg{animation-delay:.53s}
/* les créations s'ouvrent comme des fleurs : chaque photo part ronde et petite, puis s'épanouit, l'une après l'autre */
.anime .galerie.rev{opacity:1;transform:none}
.anime .galerie.rev .vue{opacity:0;transform:scale(.86);clip-path:inset(8% 8% 8% 8% round 50%);transition:opacity .5s var(--ressort),transform .7s var(--ressort),clip-path .8s var(--ressort);transition-delay:calc(var(--i,0) * 90ms)}
.anime .galerie.rev.vu .vue{opacity:1;transform:none;clip-path:inset(0 0 0 0 round .9rem)}
.anime .rev .communes li{opacity:0;transform:translateY(10px);transition:opacity .4s var(--ressort),transform .4s var(--ressort);transition-delay:calc(var(--i,0) * 45ms + .15s)}
.anime .rev.vu .communes li{opacity:1;transform:none}
.anime .etat::before{animation:pouls 2s infinite}
.anime .conseil.change{animation:monte .45s var(--ressort)}
@keyframes fil-trace{to{stroke-dashoffset:0}}
@keyframes monte{from{opacity:0;transform:translateY(16px)}}
@keyframes pouls{0%{box-shadow:0 0 0 0 rgba(61,220,132,.6)}70%,100%{box-shadow:0 0 0 .55rem rgba(61,220,132,0)}}

/* ---------- Ouverture : une fleur éclot (2 s au plus, une fois par visite) ----------
   0 – 0,45 s sur un fond vert très sombre, la tige se dessine, les deux feuilles poussent, le bouton rose apparaît, fermé ;
   0,4 – 0,95 s les douze pétales s'ouvrent en tournant, le cœur doré apparaît, le ruban rose se noue sur la tige ;
   0,85 s une lueur rose grandit autour de la fleur (plus étroite que l'écran, jamais blanche), le nom est déjà là ;
   1,25 – 1,58 s le dessin et le nom s'effacent sur le fond vert ;
   1,58 – 1,98 s seulement ensuite, l'écran vert (vide) s'efface et le site apparaît, son entrée démarre.
   Jamais la fleur et le site en même temps. */
.ouverture{display:none}
.eclosion .ouverture{position:fixed;inset:0;z-index:100;display:grid;place-items:center;align-content:center;gap:1.2rem;background:#0F1F17;overflow:hidden;cursor:pointer;animation:o-fin .4s 1.58s ease-out forwards}
.ouverture[hidden]{display:none!important}
.o-scene{--l:min(58vw,15rem);position:relative;width:var(--l);height:var(--l);animation:o-part .33s 1.25s ease-in forwards}
.o-fleur{position:relative;width:100%;height:100%;overflow:visible}
.o-tige{fill:none;stroke:#6FA27E;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:54;stroke-dashoffset:54;animation:o-trace .4s .05s ease-out forwards}
.o-feuille{fill:#4E8A62;stroke:#7DB38C;stroke-width:.6;stroke-linejoin:round;transform-box:view-box;transform:scale(0);animation:o-pousse .35s cubic-bezier(.3,1.4,.5,1) forwards}
.o-feuille1{transform-origin:50px 82px;animation-delay:.22s}
.o-feuille2{transform-origin:50px 74px;animation-delay:.3s}
.o-ruban{fill:none;stroke:#E8AEB8;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:90;stroke-dashoffset:90;animation:o-trace .4s .6s ease-out forwards}
.o-corolle{opacity:0;animation:o-apparait .2s .3s ease-out forwards}
.o-petale{fill:#E8AEB8;stroke:#B9667A;stroke-width:.6;stroke-linejoin:round;transform-box:view-box;transform-origin:50px 42px;transform:rotate(0deg) scale(.42);animation:o-eclot .55s .4s cubic-bezier(.45,.05,.25,1) forwards}
.o-interieur{fill:#F6D3D9;stroke:#D08C9C;animation-delay:.5s}
.o-petale:nth-child(1){--a:0deg}.o-petale:nth-child(2){--a:60deg}.o-petale:nth-child(3){--a:120deg}
.o-petale:nth-child(4){--a:180deg}.o-petale:nth-child(5){--a:240deg}.o-petale:nth-child(6){--a:300deg}
.o-petale:nth-child(7){--a:30deg}.o-petale:nth-child(8){--a:90deg}.o-petale:nth-child(9){--a:150deg}
.o-petale:nth-child(10){--a:210deg}.o-petale:nth-child(11){--a:270deg}.o-petale:nth-child(12){--a:330deg}
.o-coeur{fill:#E2B65C;stroke:#B98A35;stroke-width:.6;transform-box:view-box;transform-origin:50px 42px;transform:scale(0);animation:o-pousse .3s .8s cubic-bezier(.3,1.4,.5,1) forwards}
/* La lueur est centrée sur la fleur ; son plus grand diamètre reste inférieur à la largeur de l'écran */
.o-halo{--d:min(92vmin,36rem);position:absolute;left:50%;top:42%;width:var(--d);height:var(--d);margin:calc(var(--d)/-2) 0 0 calc(var(--d)/-2);border-radius:50%;
  background:radial-gradient(circle,rgba(240,168,182,.5) 0%,rgba(222,140,160,.3) 22%,rgba(180,100,125,.13) 42%,rgba(140,80,100,.04) 58%,rgba(140,80,100,0) 70%);transform:scale(.25);opacity:0;animation:o-halo .4s .82s cubic-bezier(.2,.8,.2,1.1) forwards}
.o-nom{position:relative;font-family:var(--titre);font-weight:700;font-size:1.8rem;letter-spacing:-.01em;color:#fff;animation:monte .5s .5s var(--ressort) both,o-part .33s 1.25s ease-in forwards}
.o-nom i{font-weight:400;color:var(--rose)}
@keyframes o-trace{to{stroke-dashoffset:0}}
@keyframes o-pousse{to{transform:scale(1)}}
@keyframes o-apparait{to{opacity:1}}
@keyframes o-eclot{to{transform:rotate(var(--a)) scale(1)}}
@keyframes o-halo{to{opacity:1;transform:scale(1)}}
@keyframes o-part{to{opacity:0}}
@keyframes o-fin{to{opacity:0;visibility:hidden}}
/* Pendant l'ouverture, l'entrée de l'accueil attend (elle reste sur sa première image : le numéro est déjà lisible) */
.ouvre .accueil-photo,.ouvre .accueil-photo img,.ouvre .accueil h1 span,.ouvre .accueil .etat,.ouvre .accueil .genre,.ouvre .accueil .chapo,
.ouvre .accueil .actions .btn,.ouvre .tete .btn-rose,.ouvre .atouts li,.ouvre .atouts svg path,.ouvre .atouts svg circle,.ouvre .atouts svg rect{animation-play-state:paused}

