/* Hibooth — thème livré : le look rosé (couleurs, polices, décorations, page d'accueil).
   Ne pas modifier ce fichier : il est remplacé à chaque mise à jour.
   Pour changer le look, écrire seulement les différences dans theme/theme.css (voir PERSONNALISER.md). */

/* ---------- 1. Couleurs et polices ---------- */
:root{
  --encre:#30232e;--encre-douce:#65555e;
  --rose:#b83c74;--rose-fonce:#8f2b59;--rose-clair:#ec6b9f;--peche:#ffddcd;
  --teinte:#fbf3f0;--trait:#eadde2;--gris:#f1e9ec;--fond:#fff;--fond-rose:#f9f3f1;
  --police-titres:"Bricolage Grotesque","Instrument Sans",system-ui,sans-serif;
  --police-texte:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ombre-carte:0 10px 30px rgba(48,35,46,.06);
  --ombre-bouton:0 6px 20px rgba(231,95,152,.28);
  /* Fond rosé : halos pêche et rose */
  --fond-halos:radial-gradient(ellipse 55% 30% at 78% 8%,rgba(255,151,115,.30),transparent 85%),radial-gradient(ellipse 40% 25% at 10% 20%,rgba(241,191,211,.35),transparent 90%),radial-gradient(ellipse 50% 22% at 85% 55%,rgba(255,170,120,.30),transparent 90%),radial-gradient(ellipse 45% 20% at 12% 80%,rgba(241,191,211,.30),transparent 90%);
  --bande-halos:radial-gradient(ellipse 45% 120% at 85% 0%,rgba(255,151,115,.35),transparent 80%),radial-gradient(ellipse 40% 140% at 10% 100%,rgba(241,191,211,.45),transparent 85%);
  /* Décorations : étoile au trait, éclair jaune, cœur rose, halos */
  --etoile:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M25 3 L31.7 17.7 L47 19.6 L35.5 30.7 L38.7 46 L25 38.2 L11.3 46 L14.5 30.7 L3 19.6 L18.3 17.7 Z' transform='rotate(-8 25 25)' fill='none' stroke='%23171417' stroke-width='1.25' stroke-linejoin='round'/%3E%3C/svg%3E");
  --etoile-2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M25 3 L31.7 17.7 L47 19.6 L35.5 30.7 L38.7 46 L25 38.2 L11.3 46 L14.5 30.7 L3 19.6 L18.3 17.7 Z' transform='rotate(12 25 25)' fill='none' stroke='%23171417' stroke-width='1.25' stroke-linejoin='round'/%3E%3C/svg%3E");
  --eclair:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 80'%3E%3Cpath d='M25 1 5 43h17l-7 36 29-48H26L36 1Z' fill='%23ffcf36'/%3E%3C/svg%3E");
  --coeur:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 45'%3E%3Cpath d='M24 41C10 30 3 23 3 14 3 2 17-1 24 10 31-1 45 2 45 14 45 23 38 30 24 41Z' transform='rotate(-10 24 22)' fill='%23f18bb5' fill-opacity='.85'/%3E%3C/svg%3E");
  --halo-orange:radial-gradient(circle closest-side,rgba(255,120,53,.55),rgba(255,173,121,.42) 40%,rgba(255,173,121,0));
  --halo-rose:radial-gradient(circle closest-side,rgba(255,131,183,.55),rgba(255,208,219,.45) 45%,rgba(255,208,219,0));
}
body{background:var(--fond)}
a:hover{color:var(--rose-fonce)}
h1,h2,h3{font-weight:700}

/* Les décorations se placent derrière le contenu, sans gêner les clics */
.heros-int,.bandelettes-int,#formules>.largeur,#etapes>.largeur,#atouts>.largeur,#faq>.largeur,.tete{position:relative;isolation:isolate}
.heros-int::before,.bandelettes-int::before,#formules>.largeur::before,#etapes>.largeur::before,#atouts>.largeur::before,#faq>.largeur::before,.tete::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-repeat:no-repeat}

/* ---------- 2. Bande du haut (logo et menu) : rosée partout ---------- */
.tete{background-color:var(--fond-rose);background-image:var(--bande-halos);border-bottom:1px solid #f0e2e6;color:var(--encre)}
/* Décorations de la bande : dans les marges, jamais sur le menu */
.tete::before{background-image:var(--etoile),var(--coeur),var(--eclair),var(--halo-orange);background-position:left 1% top 16%,left 2.5% top 72%,right 1% top 22%,right 12% top 10%;background-size:24px,13px,14px 24px,60px}
.tete-int{max-width:1180px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.logo img{width:150px;height:auto}
.tete nav{display:flex;align-items:center;gap:6px 22px;flex-wrap:wrap;font-size:.94rem;font-weight:500}
.tete nav a:not(.bouton){color:var(--encre);text-decoration:none;padding:6px 0}
.tete nav a:not(.bouton):hover,.tete nav a[aria-current]{color:var(--rose)}
.tete nav a[aria-current]{font-weight:600}
.bouton{box-shadow:var(--ombre-bouton)}
.bouton-contour{background:#fff;box-shadow:none}
.bouton-tete{padding:.55em 1.2em;font-size:.94rem}

/* ---------- 3. Page d'accueil : fond rosé avec halos ---------- */
.page-accueil{background-color:var(--fond-rose);background-image:var(--fond-halos)}
.page-accueil .tete{background:transparent;border-bottom:0}
.page-accueil .tete::before{display:none}

.heros-int{max-width:1180px;margin:0 auto;padding:40px 24px 72px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:48px;align-items:center}
.heros-int::before{background-image:var(--etoile),var(--etoile-2),var(--eclair),var(--coeur),var(--etoile-2),var(--halo-orange),var(--halo-rose),var(--halo-orange);
  background-position:left 1% top 14%,left calc(1% + 38px) top calc(14% + 26px),right 47% top 8%,right 3% top 62%,left 44% top 78%,left 2% top 70%,left 52% top 4%,right 0 top 30%;
  background-size:36px,16px,22px 37px,20px,22px,84px,64px,90px}
.heros-texte{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.heros-texte>*{margin:0}
.surtitre{background:var(--peche);padding:5px 14px;border-radius:999px;font-size:.88rem;font-weight:600;color:var(--encre)}
.heros h1{font-size:clamp(2.6rem,5.6vw,4.5rem);line-height:1.04;letter-spacing:-.02em}
.intro{max-width:34em;color:var(--encre-douce);font-size:1.15rem}
.heros .actions{margin-top:6px}
.heros .bouton{padding:.8em 1.6em}
.zone{font-size:.88rem;color:var(--encre-douce)}
.heros-visuel{position:relative;display:flex;justify-content:center;align-items:flex-end;min-height:520px}
.heros-visuel::before{content:"";position:absolute;inset:12% 8% 4%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,151,115,.45),rgba(241,191,211,.25) 60%,transparent)}
.heros-image{position:relative;width:100%;max-width:380px;height:auto}
.bandelette-volante{position:absolute;width:96px;height:auto;border-radius:6px;box-shadow:0 12px 30px rgba(48,35,46,.18)}
.bandelette-volante.gauche{left:4%;top:6%;transform:rotate(-8deg)}
.bandelette-volante.droite{right:4%;top:18%;transform:rotate(7deg)}

/* Bande des bandelettes */
.bandelettes{background:rgba(255,255,255,.55);border-top:1px solid #f0e2e6;border-bottom:1px solid #f0e2e6;overflow:hidden}
.bandelettes-int{padding-top:56px;padding-bottom:56px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:40px;align-items:center}
.bandelettes-int::before{background-image:var(--eclair),var(--etoile-2),var(--halo-orange);background-position:left 2% top 18%,right 1% top 20%,right 30% top 60%;background-size:22px 37px,26px,70px}
.bandelettes-texte h2{font-size:clamp(1.9rem,3.4vw,2.6rem);line-height:1.1}
.bandelettes-texte p{margin:0;color:var(--encre-douce)}
.bandelettes-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:520px;width:100%;justify-self:center;padding-bottom:14px}
.bandelettes-photos img{width:100%;border-radius:6px;box-shadow:0 10px 24px rgba(48,35,46,.15)}
.bandelettes-photos img:nth-child(1){transform:rotate(-3deg)}.bandelettes-photos img:nth-child(2){transform:translateY(14px) rotate(2deg)}
.bandelettes-photos img:nth-child(3){transform:rotate(-2deg)}.bandelettes-photos img:nth-child(4){transform:translateY(10px) rotate(3deg)}

/* Sections */
.bloc{padding:clamp(44px,6vw,64px) 0}
.bloc h2{font-size:clamp(1.9rem,3.4vw,2.6rem);line-height:1.1}
.chapo{color:var(--encre-douce);max-width:44em}
#formules{padding-top:clamp(56px,7vw,80px)}
#formules>.largeur::before{background-image:var(--etoile-2),var(--etoile),var(--coeur),var(--halo-orange);background-position:right 2% top 0,right calc(2% + 32px) top 22px,right 40% top 0,left 0 top 40%;background-size:30px,14px,18px,80px}
#etapes>.largeur::before{background-image:var(--eclair),var(--halo-rose),var(--etoile-2);background-position:right 3% top 0,right 1% top 55%,right 35% top 0;background-size:20px 34px,70px,20px}
#atouts>.largeur::before{background-image:var(--etoile),var(--etoile-2),var(--coeur),var(--halo-orange),var(--eclair);background-position:right 1% top 0,right calc(1% + 34px) top 24px,right 32% top 0,left 0 top 45%,right 2% bottom 0;background-size:34px,15px,20px,90px,18px 31px}
#faq>.largeur::before{inset:0 -60px;background-image:var(--etoile),var(--coeur),var(--halo-rose);background-position:left 0 top 22%,right 0 top 70%,right 10px top 40%;background-size:30px,18px,70px}
main{overflow-x:clip}

/* Formules */
.formules{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;margin-top:28px;align-items:stretch}
.formule{position:relative;background:rgba(255,255,255,.9);border:1px solid #f0e2e6;border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--ombre-carte)}
.formule>*{margin:0}
.formule.recommandee{background:linear-gradient(160deg,#fff,#fdeef3);border:2px solid var(--rose-clair);box-shadow:0 18px 40px rgba(231,95,152,.16)}
.pastille{position:absolute;top:14px;right:14px;background:var(--rose);color:#fff;font-size:.75rem;font-weight:700;padding:4px 12px;border-radius:999px;z-index:1}
.formule-photo{width:100%;max-width:260px;aspect-ratio:356/418;object-fit:cover;border-radius:999px 999px 14px 14px;align-self:center}
.formule-titre{text-align:center;display:grid;gap:4px}
.formule h3{font-size:1.6rem;margin:0;letter-spacing:.01em}
.accroche{margin:0;font-style:italic;color:var(--rose)}
.tirages{text-align:center;font-weight:700}
.formule ul{padding:0;list-style:none;display:grid;gap:7px;font-size:.94rem;align-content:start}
.formule li{padding-left:22px;position:relative}
.formule li::before{content:"✓";position:absolute;left:0;color:var(--rose);font-weight:700}
.prix{text-align:center;font-family:var(--police-titres);font-size:2.5rem;font-weight:700;line-height:1;margin-top:auto!important;padding-top:6px}
.formule .bouton{text-align:center}
.formule .bouton-contour{border-color:var(--rose)}

/* Comment ça marche */
.etapes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:20px;padding:0;margin:28px 0 0;list-style:none;counter-reset:n}
.etapes li{counter-increment:n;background:rgba(255,255,255,.7);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:10px}
.etapes li::before{content:counter(n);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--peche);color:var(--rose);font-weight:700}
.etapes h3{margin:0;font-size:1.15rem}
.etapes p{color:var(--encre-douce);margin:0;font-size:.94rem}

/* Nos atouts */
.atouts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:22px;margin-top:28px}
.atout{background:#fff;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--ombre-carte)}
.atout img{width:100%;height:230px;object-fit:cover}
.atout:last-child img{object-position:top}
.atout div{padding:22px;display:grid;gap:8px}
.atout h3{margin:0;font-size:1.15rem}
.atout p{color:var(--encre-douce);margin:0;font-size:.94rem}

/* Questions fréquentes */
#faq h2{margin-bottom:20px}
.question{background:#fff;border:1px solid #f0e2e6;border-radius:16px;padding:0 20px;margin-bottom:12px}
.question summary{cursor:pointer;font-weight:600;padding:16px 0}
.question p{color:var(--encre-douce);font-size:.94rem;margin:0 0 16px}

/* ---------- 4. Pied de page ---------- */
.pied{border-top:1px solid #f0e2e6;background:var(--fond-rose);color:var(--encre-douce);padding:26px 0;font-size:.88rem}
.page-accueil .pied{background:rgba(255,255,255,.5)}
.pied-int{max-width:1180px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.pied img{width:110px;margin-bottom:8px}
.pied a{color:var(--encre-douce)}
.pied nav{display:flex;gap:20px;flex-wrap:wrap}
.pied p{margin:0 0 4px}

/* ---------- 5. Autres pages et espace client : fond blanc, cartes arrondies ---------- */
.loc,.compte,.carte{border-radius:22px;border-color:var(--trait);box-shadow:0 12px 34px rgba(48,35,46,.06)}
.loc{padding:24px}
.maintenant{background:linear-gradient(140deg,#fde6ee,#ffe9df);border-radius:18px}
.formules-choix label:has(input:checked){border-color:var(--rose);background:#fdeef3}

@media (max-width:820px){
  .tete-int{justify-content:center}.tete nav{justify-content:center}
  .heros-int{padding-top:16px;gap:24px}
  .heros-visuel{min-height:0}
  .heros-image{max-width:300px}
  .bandelette-volante{width:72px}
  /* Sur téléphone, les décorations restent dans les marges pour ne pas passer sur les textes */
  .heros-int::before{background-image:var(--etoile-2),var(--coeur),var(--halo-orange);background-position:right 4% top 2%,right 6% top 52%,left -20px top 44%;background-size:24px,16px,70px}
  .bandelettes-int::before{background-image:var(--eclair);background-position:right 5% top 22px;background-size:16px 27px}
  .tete::before{background-position:left 3% top 14px,left 4% bottom 40px,right 4% top 18px,right -24px top -24px}
}
