/* Fidzalo — site vitrine.
   Mise en page : un héros en deux colonnes (promesse + téléphone), puis des
   sections alternées clients / établissements, les tarifs, la FAQ.
   Identité reprise de l'app : orange vif, crème, brun ; Plus Jakarta Sans
   pour le texte (celle de l'app), Bricolage Grotesque pour les titres. */
:root {
  --creme: #FFF7F0;
  --creme-fonce: #FBEADB;
  --blanc: #FFFFFF;
  --brun: #241309;
  --brun-doux: #6E4F3D;
  --orange: #FF4D2D;
  --orange-sombre: #C8361A;
  --orange-pale: #FFE1D8;
  --trait: #F1DCCB;

  --titre: "Bricolage Grotesque", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --texte: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --rayon: 22px;
  --rayon-petit: 14px;
  --ombre: 0 18px 50px rgba(36, 19, 9, 0.12);
  --largeur: 1140px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--brun);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-inline: 20px; }
.etiquette {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-sombre);
}

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 16px/1 var(--texte); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.bouton:hover { transform: translateY(-2px); }
.bouton-plein { background: var(--orange); color: var(--blanc); box-shadow: 0 10px 26px rgba(255, 77, 45, 0.32); }
.bouton-plein:hover { background: var(--orange-sombre); }
.bouton-contour { border-color: var(--brun); color: var(--brun); }
.bouton-contour:hover { background: var(--brun); color: var(--creme); }

/* Badges officiels des stores, à la même hauteur */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge { display: block; border-radius: 10px; transition: transform .2s ease; }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 52px; width: auto; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 247, 240, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.nav .conteneur { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.marque { display: flex; align-items: center; gap: 8px; text-decoration: none; font: 800 24px/1 var(--titre); letter-spacing: -0.03em; }
.marque img { width: 34px; height: 34px; }
.nav-liens { display: flex; gap: 26px; margin-left: auto; }
.nav-liens a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--brun-doux); }
.nav-liens a:hover { color: var(--brun); }
.nav .bouton { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Héros */
.heros { padding-block: 56px 88px; overflow: hidden; }
.heros .conteneur { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.heros-texte { display: grid; gap: 24px; min-width: 0; }
.heros h1 { font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; }
.heros h1 em { font-style: normal; color: var(--orange); }
.heros .chapo { font-size: 20px; color: var(--brun-doux); max-width: 34ch; }
.heros .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.heros .mention { font-size: 14px; color: var(--brun-doux); }

/* Téléphone dessiné (maquette illustrative, pas une capture) */
.scene { position: relative; display: grid; place-items: center; min-height: 600px; }
.halo { position: absolute; inset: 8% 2%; background: radial-gradient(closest-side, var(--orange-pale), transparent); border-radius: 50%; }
.telephone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 610;
  background: var(--brun); border-radius: 46px; padding: 12px;
  box-shadow: 0 40px 80px rgba(36, 19, 9, 0.28);
  transform: rotate(3deg);
}
.ecran { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #F6EBDD; }
.plan {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 47%, #fff 47%, #fff 51%, transparent 51%),
    linear-gradient(25deg, transparent 60%, #fff 60%, #fff 63%, transparent 63%),
    linear-gradient(90deg, transparent 30%, #fff 30%, #fff 32.5%, transparent 32.5%),
    linear-gradient(0deg, transparent 58%, #fff 58%, #fff 60.5%, transparent 60.5%),
    radial-gradient(circle at 78% 22%, #DDECC9 0 18%, transparent 18.5%),
    #F6EBDD;
}
.recherche {
  position: absolute; top: 44px; left: 16px; right: 16px; height: 42px; border-radius: 999px;
  background: var(--blanc); box-shadow: 0 6px 16px rgba(36, 19, 9, 0.1);
  display: flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 13px; color: var(--brun-doux);
}
.recherche svg { width: 16px; height: 16px; }
.epingle { position: absolute; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--blanc); box-shadow: 0 6px 14px rgba(36, 19, 9, 0.18); }
.epingle span { transform: rotate(45deg); width: 12px; height: 12px; border-radius: 50%; background: var(--brun-doux); }
.epingle.membre { background: var(--orange); }
.epingle.membre span { background: var(--blanc); }
.epingle.choisie { width: 48px; height: 48px; outline: 4px solid rgba(255, 77, 45, 0.25); }
.fiche {
  position: absolute; left: 14px; right: 14px; bottom: 18px;
  background: var(--blanc); border-radius: 22px; padding: 14px; box-shadow: 0 12px 30px rgba(36, 19, 9, 0.16);
  display: grid; gap: 10px;
}
.fiche-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fiche b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.fiche small { color: var(--brun-doux); font-size: 12px; white-space: nowrap; }
.jauge { height: 9px; border-radius: 99px; background: var(--creme-fonce); overflow: hidden; }
.jauge i { display: block; height: 100%; width: 70%; background: var(--orange); border-radius: inherit; }
.fiche-pied { display: flex; justify-content: space-between; font-size: 12px; color: var(--brun-doux); }
.bulle-points {
  position: absolute; right: -18px; top: 150px; z-index: 2;
  background: var(--blanc); border-radius: 18px; padding: 12px 16px; box-shadow: var(--ombre);
  display: flex; align-items: center; gap: 10px; font-size: 14px; transform: rotate(-4deg);
}
.bulle-points strong { color: var(--orange); font: 800 22px/1 var(--titre); }
.bulle-decouverte {
  position: absolute; left: -10px; bottom: 210px; z-index: 2;
  background: var(--brun); color: var(--creme); border-radius: 18px; padding: 12px 16px; box-shadow: var(--ombre);
  font-size: 14px; max-width: 200px; transform: rotate(3deg);
}

/* Bandeau de promesses */
.bandeau { background: var(--brun); color: var(--creme); }
.bandeau .conteneur { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 36px; }
.promesse { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.promesse svg { width: 28px; height: 28px; flex: none; color: var(--orange); }
.promesse b { display: block; font-size: 17px; }
.promesse span { font-size: 15px; opacity: .8; }

/* Sections */
.section { padding-block: 104px; }
.section-tete { display: grid; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.section-tete h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; }
.section-tete p { font-size: 19px; color: var(--brun-doux); }
.centre { margin-inline: auto; text-align: center; }

/* Étapes clients : vraie séquence, donc numérotée */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etape { background: var(--blanc); border-radius: var(--rayon); padding: 30px; display: grid; gap: 14px; align-content: start; counter-increment: etape; }
.etape::before {
  content: counter(etape);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange-pale); color: var(--orange-sombre); font: 800 20px/1 var(--titre);
}
.etape h3 { font-size: 24px; }
.etape p { color: var(--brun-doux); }

/* Établissements */
.pros { background: var(--blanc); }
.pros .grille { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.avantages { display: grid; gap: 26px; list-style: none; margin: 0; padding: 0; }
.avantages li { display: flex; gap: 16px; align-items: flex-start; }
.avantages .icone { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-pale); color: var(--orange-sombre); display: grid; place-items: center; flex: none; }
.avantages .icone svg { width: 24px; height: 24px; }
.avantages h3 { font-size: 20px; margin-bottom: 4px; }
.avantages p { color: var(--brun-doux); font-size: 16px; }
.tableau {
  margin: 0; background: var(--brun); color: var(--creme); border-radius: 28px; padding: 32px; display: grid; gap: 22px;
  box-shadow: 0 30px 60px rgba(36, 19, 9, 0.22);
}
.tableau .exemple { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .65; }
.chiffre { font: 800 64px/1 var(--titre); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chiffre small { font: 600 18px/1.3 var(--texte); display: block; margin-top: 8px; opacity: .8; letter-spacing: 0; }
.repartition { display: grid; gap: 10px; }
.ligne { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.ligne .barre { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: rgba(255, 247, 240, 0.12); overflow: hidden; }
.ligne .barre i { display: block; height: 100%; border-radius: inherit; background: var(--orange); }
.ligne .barre i.doux { background: rgba(255, 247, 240, 0.45); }
.tableau p { font-size: 14px; opacity: .75; }

/* Tarifs */
.formules { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; }
.formule { background: var(--blanc); border-radius: 28px; padding: 34px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 18px; border: 2px solid var(--trait); }
.formule.vedette { background: var(--brun); color: var(--creme); border-color: var(--brun); }
.formule-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.formule h3 { font-size: 22px; }
.pastille { background: var(--orange); color: var(--blanc); font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.prix { font: 800 60px/1 var(--titre); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.prix span { font: 600 17px/1 var(--texte); letter-spacing: 0; opacity: .7; }
.formule ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.formule li { display: flex; gap: 10px; }
.formule li svg { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 3px; }
.formule .bouton { width: 100%; }
.formule.vedette .bouton-contour { border-color: var(--creme); color: var(--creme); }
.formule.vedette .bouton-contour:hover { background: var(--creme); color: var(--brun); }
.note-tarifs { text-align: center; margin-top: 28px; color: var(--brun-doux); font-size: 15px; }
.essai {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: -24px auto 40px;
  width: fit-content; max-width: 100%; padding: 10px 18px; border-radius: 999px;
  background: var(--orange-pale); color: var(--orange-sombre); font-weight: 700; font-size: 15px;
}
.essai svg { width: 20px; height: 20px; flex: none; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: var(--blanc); border-radius: var(--rayon-petit); padding: 0 24px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 26px/1 var(--titre); color: var(--orange); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--brun-doux); }

/* Appel final */
.final { padding-block: 0 104px; }
.final .boite {
  background: var(--orange); color: var(--blanc); border-radius: 36px; padding: 64px 40px;
  display: grid; gap: 22px; justify-items: center; text-align: center; position: relative; overflow: hidden;
}
.final h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; max-width: 18ch; }
.final p { font-size: 19px; opacity: .92; max-width: 46ch; }
.final .bouton-plein { background: var(--blanc); color: var(--orange-sombre); box-shadow: none; }
.final .bouton-plein:hover { background: var(--creme); }
.final .bouton-contour { border-color: var(--blanc); color: var(--blanc); }
.final .bouton-contour:hover { background: var(--blanc); color: var(--orange-sombre); }
.final .stores { justify-content: center; position: relative; }
.lien-tarifs { color: var(--blanc); font-weight: 700; text-underline-offset: 4px; position: relative; padding-block: 10px; }
.final .filigrane { position: absolute; width: 360px; right: -80px; bottom: -110px; opacity: .14; filter: brightness(0) invert(1); pointer-events: none; }

/* Pied de page */
.pied { border-top: 1px solid var(--trait); padding-block: 36px; font-size: 14px; color: var(--brun-doux); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.pied .marque { font-size: 19px; color: var(--brun); }
.pied .marque img { width: 26px; height: 26px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--brun); }

/* Apparition du héros au chargement : état final visible si le mouvement est réduit */
@media (prefers-reduced-motion: no-preference) {
  .heros-texte > * { animation: monter .7s cubic-bezier(.2, .8, .2, 1) both; }
  .heros-texte > *:nth-child(2) { animation-delay: .08s; }
  .heros-texte > *:nth-child(3) { animation-delay: .16s; }
  .heros-texte > *:nth-child(4) { animation-delay: .24s; }
  .telephone { animation: poser .9s cubic-bezier(.2, .8, .2, 1) .1s both; }
  .bulle-points, .bulle-decouverte { animation: monter .7s cubic-bezier(.2, .8, .2, 1) .5s both; }
}
/* Mouvement seul, jamais d'opacité nulle : le contenu reste lisible même si
   l'animation ne se joue pas (capture, aperçu, navigateur lent). */
@keyframes monter { from { translate: 0 18px; } }
@keyframes poser { from { translate: 0 40px; rotate: 8deg; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bouton:hover { transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .heros .conteneur, .pros .grille { grid-template-columns: 1fr; }
  .heros { padding-block: 32px 64px; }
  .scene { min-height: 0; padding-block: 24px; }
  .etapes { grid-template-columns: 1fr; }
  .bandeau .conteneur { grid-template-columns: 1fr; }
  .nav-liens { display: none; }
  .nav .bouton { margin-left: auto; }
  .section { padding-block: 72px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .conteneur { padding-inline: 18px; }
  .nav .conteneur { min-height: 64px; }
  .marque { font-size: 22px; }
  .marque img { width: 30px; height: 30px; }
  .heros { padding-block: 20px 40px; }
  .heros-texte { gap: 18px; }
  .heros .chapo { font-size: 18px; }
  .badge img { height: 48px; }
  .fiche { padding: 12px; }
  .fiche b { font-size: 14px; }
  .scene { padding-block: 8px 0; }
  .section { padding-block: 64px; }
  .section-tete { margin-bottom: 32px; }
  .section-tete p { font-size: 17px; }
  .etape { padding: 24px; }
  .etape h3 { font-size: 21px; }
  .formule { padding: 26px; }
  .prix { font-size: 52px; }
  .essai { margin: -8px auto 28px; font-size: 14px; text-align: center; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16px; min-height: 60px; }
  .final { padding-block: 0 64px; }
  .final .filigrane { width: 240px; right: -70px; bottom: -80px; }
  .formules { grid-template-columns: minmax(0, 1fr); }
  .telephone { width: 260px; }
  .bulle-points { right: 0; top: 110px; }
  .bulle-decouverte { left: 0; bottom: 170px; max-width: 170px; }
  .final .boite { padding: 48px 22px; border-radius: 28px; }
  .tableau { padding: 24px; }
  .chiffre { font-size: 52px; }
  .pied nav { margin-left: 0; }
}
