/* Site Instantual : même charte que l'app (papier blanc, contours noirs, autocollants, Anton et Inter). */
:root {
  --encre: #000;
  --papier: #fff;
  --brume: #f1f1f1;
  --filet: #e6e6e6;
  --texte2: #555;
  --soleil: #ffd731;
  --braise: #fb4903;
  --electrique: #4da2ff;
  --menthe: #55db9c;
  --lavande: #e9ccff;
  --ciel: #dceeff;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gouttiere: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 500 18px/1.55 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--electrique); outline-offset: 3px; border-radius: 6px; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.04; text-wrap: balance; }
h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; }
p { margin: 0; max-width: 62ch; }
.conteneur { width: 100%; max-width: 1120px; margin-inline: auto; padding-left: var(--gouttiere); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.secondaire { color: var(--texte2); }

/* En-tête */
.entete { background: var(--papier); border-bottom: 1.5px solid var(--encre); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 14px; }
.logo { font-family: var(--display); font-size: 30px; line-height: 1.1; text-transform: uppercase; text-decoration: none; }
.menu { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.menu a { font-size: 16px; font-weight: 600; text-decoration: none; padding-block: 8px; }
.menu a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Ouverture */
.ouverture { background: var(--ciel); border-bottom: 1.5px solid var(--encre); overflow: hidden; }
.ouverture .conteneur { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 56px; }
.ouverture h1 { font-size: clamp(56px, 9.4vw, 112px); line-height: 1.16; }
.ouverture .accroche { font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; line-height: 1.4; margin-top: 22px; }
.actions { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-top: 28px; }
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--encre); color: var(--papier); font-size: 17px; font-weight: 700; text-decoration: none; }
.bouton:hover { background: #262626; }
.pastille { display: inline-block; border: 1.5px solid var(--encre); border-radius: 999px; padding: 6px 12px; background: var(--papier); font-size: 14px; line-height: 1.25; font-weight: 700; }

/* Téléphone d'exemple */
.scene { position: relative; display: flex; justify-content: center; padding: 26px 20px; }
.telephone { width: min(100%, 310px); border: 2.5px solid var(--encre); border-radius: 44px; background: var(--papier); padding: 22px 16px 18px; display: grid; gap: 12px; position: relative; z-index: 1; }
.telephone .titre { font-family: var(--display); font-size: 31px; padding-right: 42px; line-height: 1.06; text-transform: uppercase; }
.photo { aspect-ratio: 1 / .78; border: 1.5px solid var(--encre); border-radius: 24px; background: var(--soleil); display: flex; align-items: center; justify-content: center; }
.photo svg { width: 42%; }
.prix { background: var(--encre); color: var(--papier); border-radius: 22px; padding: 14px 16px; display: grid; gap: 2px; }
.prix small { font-size: 13px; font-weight: 600; }
.prix b { font-family: var(--display); font-weight: 400; font-size: 39px; line-height: 1.12; color: var(--soleil); }
.telephone .bouton { min-height: 50px; padding: 0 12px; font-size: 15px; }
.autocollant { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; border: 2px solid var(--encre); border-radius: 50%; font-family: var(--display); }
.autocollant.a { width: 82px; height: 82px; background: var(--soleil); font-size: 34px; top: -14px; right: calc(50% - 196px); transform: rotate(12deg); }
.autocollant.b { width: 62px; height: 62px; background: var(--braise); left: 3%; bottom: 96px; transform: rotate(-10deg); }
.autocollant.b svg { width: 34px; }
.note { font-size: 13px; color: var(--texte2); text-align: center; line-height: 1.35; }

/* Sections */
.section { padding-block: 72px; display: block; }
.section h2 { font-size: clamp(42px, 6.4vw, 72px); }
.section .intro { margin-top: 14px; font-size: 20px; }
.etapes { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: etape; }
.etape { border: 1.5px solid var(--encre); border-radius: 30px; padding: 24px; display: grid; gap: 12px; align-content: start; counter-increment: etape; min-width: 0; }
.etape::before { content: counter(etape); width: 54px; height: 54px; border: 1.5px solid var(--encre); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 26px; background: var(--fond, var(--soleil)); }
.bande { background: var(--encre); color: var(--papier); }
.bande .secondaire { color: #c9c9c9; }
.garanties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 44px; margin-top: 36px; }
.garantie { display: grid; gap: 8px; align-content: start; border-top: 1.5px solid #3a3a40; padding-top: 18px; min-width: 0; }
.garantie h3 { color: var(--soleil); }
.pros { background: var(--lavande); border-block: 1.5px solid var(--encre); }
.pros .colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 24px; }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.liste li { padding-left: 28px; position: relative; }
.liste li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }

/* Questions */
.questions { margin-top: 28px; border-top: 1.5px solid var(--encre); }
.questions details { border-bottom: 1.5px solid var(--encre); }
.questions summary { cursor: pointer; padding-block: 18px; font-size: 20px; font-weight: 700; line-height: 1.3; list-style-position: outside; }
.questions details p { padding-bottom: 20px; }
.questions details > :last-child { margin-bottom: 0; }

/* Appel final */
.appel { background: var(--soleil); border-top: 1.5px solid var(--encre); text-align: left; }
.appel h2 { font-size: clamp(46px, 8vw, 96px); }

/* Offre Fondateur */
.fondateur-haut .conteneur.fondateur-intro { display: block; }
.fondateur-intro h1 { margin-top: 18px; max-width: 14ch; }
.formules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.formule { border: 1.5px solid var(--encre); border-radius: 30px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.formule .bouton { margin-top: auto; }
.formule .liste { margin-bottom: 8px; }
.formule-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mise-en-avant { background: var(--soleil); }
.tarif { font-family: var(--display); font-size: 62px; line-height: 1.1; }
.tarif small { font-family: var(--body); font-size: 17px; font-weight: 600; }
.mention-prix { margin-top: 18px; font-size: 15px; max-width: 76ch; }
.reserver { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
.formulaire { display: grid; gap: 14px; background: var(--papier); border: 1.5px solid var(--encre); border-radius: 28px; padding: 24px; min-width: 0; }
.formulaire label { display: grid; gap: 5px; font-size: 15px; font-weight: 700; }
.formulaire select { -webkit-appearance: none; appearance: none; padding-right: 40px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 15px center !important; }
.formulaire input, .formulaire select { width: 100%; min-height: 50px; border: 1.5px solid var(--encre); border-radius: 14px; padding: 0 14px; background: var(--papier); color: var(--encre); font: 500 17px var(--body); }
.formulaire input:focus-visible, .formulaire select:focus-visible, .bouton:focus-visible { outline: 3px solid var(--electrique); outline-offset: 2px; }
.formulaire .bouton { width: 100%; border: 0; cursor: pointer; }
.formulaire .bouton:disabled { opacity: .55; cursor: wait; }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.etat { font-size: 15px; font-weight: 700; min-height: 1em; }
.etat.reussi { color: #116b3c; }
.etat.erreur { color: #b42f09; }
.petit { font-size: 13px; color: var(--texte2); }

/* Page d'attente : une animation lente, en boucle de 18 secondes */
.attente { position: relative; overflow: hidden; background: var(--ciel); border-bottom: 1.5px solid var(--encre); }
.attente-grille { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 48px 40px; min-height: min(760px, calc(100vh - 62px)); }
.attente h1 { font-size: clamp(62px, 9.4vw, 122px); line-height: 1.14; margin-top: 18px; }
.attente .accroche { font-size: clamp(19px, 2.1vw, 23px); font-weight: 600; line-height: 1.4; margin-top: 18px; }
.abonnement { margin-top: 26px; display: grid; gap: 10px; max-width: 520px; }
.abonnement label { font-size: 16px; font-weight: 700; }
.abonnement-ligne { display: flex; gap: 8px; flex-wrap: wrap; }
.abonnement input { flex: 1 1 210px; min-width: 0; min-height: 54px; border: 1.5px solid var(--encre); border-radius: 999px; padding: 0 20px; background: var(--papier); color: var(--encre); font: 500 17px var(--body); }
.abonnement input:focus-visible { outline: 3px solid var(--electrique); outline-offset: 2px; }
.abonnement .bouton { flex: 0 0 auto; border: 0; cursor: pointer; }
.abonnement .bouton:disabled { opacity: .55; cursor: wait; }
.attente-fond { position: absolute; inset: 0; pointer-events: none; }
.flotte { position: absolute; opacity: .09; animation: flotter 16s ease-in-out infinite alternate; }
.f1 { width: 92px; left: 44%; top: 8%; }
.f2 { width: 78px; left: 4%; bottom: 7%; animation-delay: -5s; }
.f3 { width: 64px; right: 4%; top: 14%; animation-delay: -9s; }
.f4 { width: 72px; left: 49%; bottom: 8%; animation-delay: -3s; }
@keyframes flotter { from { transform: translateY(-10px) rotate(-5deg); } to { transform: translateY(14px) rotate(6deg); } }

.film { position: relative; height: 560px; max-width: 520px; width: 100%; justify-self: center; }
.objet-reel { position: absolute; left: 3%; bottom: 66px; width: 40%; aspect-ratio: 1 / 1.25; display: flex; align-items: flex-end; justify-content: center; }
.objet-reel svg { width: 100%; }
.objet-reel svg path { fill: #000; }
.ombre { position: absolute; left: 0; bottom: 48px; width: 48%; height: 18px; border-radius: 50%; background: rgba(0,0,0,.14); }
.tenue { position: absolute; right: 3%; top: 16px; width: 56%; height: 520px; animation: filmer 18s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes filmer {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  18% { transform: translate(-18px, 10px) rotate(2deg); }
  34% { transform: translate(8px, -6px) rotate(-1deg); }
  50%, 92% { transform: translate(0, -4px) rotate(0deg); }
}
.tel { position: relative; z-index: 2; width: 100%; height: 440px; border: 3px solid var(--encre); border-radius: 44px; background: var(--encre); padding: 9px; box-shadow: 8px 10px 0 rgba(0,0,0,.14); }
.ecran { position: absolute; inset: 9px; border-radius: 34px; overflow: hidden; padding: 20px 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center; opacity: 0; }
.e-film { background: #161616; color: #fff; animation: voir-film 18s ease-in-out infinite; }
.e-analyse { background: var(--papier); animation: voir-analyse 18s ease-in-out infinite; }
.e-prix { background: var(--soleil); animation: voir-prix 18s ease-in-out infinite; }
.e-offres { background: var(--papier); animation: voir-offres 18s ease-in-out infinite; align-items: stretch; }
@keyframes voir-film { 0%, 31% { opacity: 1; } 36%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes voir-analyse { 0%, 31% { opacity: 0; } 36%, 52% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes voir-prix { 0%, 52% { opacity: 0; } 57%, 73% { opacity: 1; } 78%, 100% { opacity: 0; } }
@keyframes voir-offres { 0%, 73% { opacity: 0; } 78%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
.vase-ecran { width: 62%; position: relative; animation: viser 18s ease-in-out infinite; }
.vase-ecran svg path { fill: var(--soleil); }
@keyframes viser { 0%, 100% { transform: translateX(8px) scale(1); } 18% { transform: translateX(-10px) scale(1.06); } 34% { transform: translateX(4px) scale(1); } }
.vise span { position: absolute; width: 26px; height: 26px; border: 3px solid #fff; }
.vise span:nth-child(1) { left: 16px; top: 54px; border-right: 0; border-bottom: 0; }
.vise span:nth-child(2) { right: 16px; top: 54px; border-left: 0; border-bottom: 0; }
.vise span:nth-child(3) { left: 16px; bottom: 34px; border-right: 0; border-top: 0; }
.vise span:nth-child(4) { right: 16px; bottom: 34px; border-left: 0; border-top: 0; }
.rec { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.14); border-radius: 99px; padding: 5px 11px; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--braise); animation: clignote 2.4s ease-in-out infinite; }
@keyframes clignote { 50% { opacity: .35; } }
.petit-vase { width: 50%; animation: none; overflow: hidden; border-radius: 16px; background: var(--ciel); padding: 12px; }
.petit-vase svg path { fill: #000; }
.balayage { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--braise); animation: balayer 3.2s ease-in-out infinite alternate; }
@keyframes balayer { from { top: 2%; } to { top: 96%; } }
.e-analyse p { font-weight: 700; font-size: 15px; line-height: 1.3; }
.e-analyse u { display: block; width: 76%; height: 10px; border-radius: 9px; background: var(--brume); text-decoration: none; }
.e-analyse u + u { width: 54%; }
.e-prix small, .e-offres small { font-size: 13px; font-weight: 700; }
.e-prix b { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1.2; }
.e-offres small { text-align: left; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.2; text-transform: uppercase; }
.offre { display: flex; justify-content: space-between; align-items: center; gap: 6px; border: 1.5px solid var(--encre); border-radius: 16px; padding: 11px; font-size: 13px; font-weight: 700; text-align: left; }
.offre b { font-family: var(--display); font-weight: 400; font-size: 21px; }
.o2 { background: var(--menthe); }
.e-offres p { font-size: 13px; font-weight: 700; }
.bras { position: absolute; z-index: 1; left: 38%; top: 370px; width: 112px; height: 240px; background: #f4c6a2; border: 3px solid var(--encre); border-radius: 44px 44px 0 0; }
.doigts { position: absolute; z-index: 3; right: -13px; top: 214px; display: grid; gap: 4px; }
.doigts i { display: block; width: 34px; height: 30px; background: #f4c6a2; border: 3px solid var(--encre); border-radius: 15px; }
.pouce { position: absolute; z-index: 3; left: -14px; top: 240px; width: 34px; height: 76px; background: #f4c6a2; border: 3px solid var(--encre); border-radius: 17px; transform: rotate(12deg); }

/* Connexion et lien admin */
.connexion .formulaire { max-width: 420px; margin-top: 26px; }
.pied-admin { margin-top: 26px; justify-content: flex-end !important; }
.lien-admin { color: #6d6d6d; font-size: 12px !important; font-weight: 500 !important; }
.lien-admin:hover { color: #aaa; }

/* Pages de texte */
.page-texte { padding-block: 48px 72px; }
.page-texte h1 { font-size: clamp(44px, 7.5vw, 78px); }
.page-texte .date { margin-top: 12px; color: var(--texte2); font-size: 15px; }
.bloc { margin-top: 34px; display: grid; gap: 12px; max-width: 72ch; }
.bloc h2 { font-family: var(--body); text-transform: none; font-size: 23px; font-weight: 700; line-height: 1.3; }
.bloc p { max-width: none; }
.bloc ol { margin: 0; padding-left: 24px; display: grid; gap: 8px; }
.licences { width: 100%; max-width: 760px; margin-top: 28px; border-collapse: collapse; }
.licences th, .licences td { text-align: left; vertical-align: top; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--filet); }
.licences th { font-size: 14px; color: var(--texte2); }
.defile { overflow-x: auto; }

/* Pied de page */
.pied { background: var(--encre); color: var(--papier); padding-block: 40px; }
.pied .conteneur { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 48px; flex-wrap: wrap; }
.pied .logo { font-size: 34px; }
.pied nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; }
.pied a { font-size: 15px; font-weight: 600; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied p { font-size: 14px; color: #c9c9c9; margin-top: 8px; }

@media (max-width: 840px) {
  .ouverture .conteneur { grid-template-columns: minmax(0, 1fr); padding-block: 40px 28px; }
  .etapes, .garanties, .pros .colonnes, .formules, .reserver { grid-template-columns: minmax(0, 1fr); }
  .attente-grille { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: 36px 0; }
  .film { height: 470px; max-width: 340px; }
  .tenue { width: 62%; top: 10px; }
  .tel { height: 370px; }
  .bras { top: 310px; width: 92px; height: 300px; }
  .doigts { top: 180px; }
  .pouce { top: 200px; }
  .objet-reel { bottom: 54px; }
  .ombre { bottom: 38px; }
  .e-prix b { font-size: 31px; }
  .f1, .f4 { display: none; }
  .section { padding-block: 56px; }
  .autocollant.a { right: max(0px, calc(50% - 184px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flotte, .tenue, .vase-ecran, .rec i, .balayage { animation: none; }
  .e-film, .e-analyse, .e-offres { animation: none; opacity: 0; }
  .e-prix { animation: none; opacity: 1; }
}
