/* La page d'accueil app-divine.com. Code couleur des réseaux (@divin_fr) : blanc, rouge vin,
   encre chaude, dessins au trait ; une section lie-de-vin pour le relief. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/polices/bricolage-normal-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/polices/dmsans-normal-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/polices/dmsans-italic-latin.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/polices/fraunces-italic-latin.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --blanc: #FFFFFF;
  --creme: #FBF6EE;
  --creme-2: #F4ECDF;
  --encre: #1E1714;
  --encre-douce: #5F534D;
  --encre-pale: #94877F;
  --rouge: #B5121B;
  --rouge-vif: #D21E28;
  --rouge-pale: #FBE5E3;
  --vin: #2A0A10;
  --vin-2: #42101A;
  --vin-texte: #F8EDE0;
  --vin-doux: #CDB3A9;
  --or: #EFD977;
  --vert: #2E6D4A;
  --filet: rgba(30, 23, 20, .10);
  --ombre: 0 1px 2px rgba(42, 10, 16, .06), 0 12px 32px -12px rgba(42, 10, 16, .18);
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --titre: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --italique: "Fraunces", Georgia, serif;
  --gouttiere: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font: 400 17px/1.55 var(--texte); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-family: var(--italique); font-style: italic; font-weight: 500; color: var(--rouge); letter-spacing: -.01em; }
::selection { background: var(--rouge); color: #fff; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 8px; }

.enveloppe { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gouttiere); }

/* Grain très léger, pour la matière */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* En-tête */
.tete {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gouttiere); transition: background .4s, box-shadow .4s, transform .5s var(--sortie);
}
.tete.pose { background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--filet); }
.tete.cache { transform: translateY(-110%); }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marque-grappe { width: 38px; height: 38px; transition: transform .6s var(--ressort); }
.marque:hover .marque-grappe { transform: rotate(-12deg) scale(1.08); }
.marque-nom { font: italic 600 26px/1 var(--italique); color: var(--rouge); letter-spacing: -.02em; }
.tete-actions { display: flex; align-items: center; gap: 12px; }
.langues { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(30, 23, 20, .06); }
.langues button {
  border: 0; background: none; cursor: pointer; padding: 6px 11px; border-radius: 999px;
  font: 700 12px/1 var(--texte); letter-spacing: .08em; color: var(--encre-douce); transition: background .25s, color .25s;
}
.langues button[aria-pressed="true"] { background: var(--blanc); color: var(--encre); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* Boutons */
.bouton {
  --x: 0px; --y: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 16px/1 var(--texte); letter-spacing: -.005em;
  transform: translate(var(--x), var(--y)); transition: transform .35s var(--ressort), box-shadow .3s, background .3s;
}
.bouton svg { width: 20px; height: 20px; transition: transform .35s var(--ressort); }
.bouton:hover svg { transform: translateX(4px); }
.bouton-petit { padding: 11px 18px; font-size: 14px; background: var(--encre); color: #fff; }
.bouton-petit:hover { background: var(--rouge); }
.bouton-plein {
  padding: 19px 30px; background: var(--rouge); color: #fff; overflow: hidden; isolation: isolate;
  box-shadow: 0 10px 30px -10px rgba(181, 18, 27, .7), inset 0 1px 0 rgba(255,255,255,.2);
}
.bouton-plein::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--rouge-vif), transparent 60%); opacity: 0; transition: opacity .3s;
}
.bouton-plein:hover::before { opacity: 1; }
.bouton-plein:active { transform: translate(var(--x), var(--y)) scale(.97); }

/* Ouverture */
.ouverture {
  position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  padding: 120px var(--gouttiere) 170px; isolation: isolate;
}
.lueurs { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.lueurs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.lueurs span:nth-child(1) { width: 46vmax; height: 46vmax; left: -14vmax; top: -10vmax; background: radial-gradient(circle, #FCD9D6, transparent 70%); animation: derive 22s ease-in-out infinite alternate; }
.lueurs span:nth-child(2) { width: 40vmax; height: 40vmax; right: -12vmax; top: 18vh; background: radial-gradient(circle, #FAEDC4, transparent 70%); animation: derive 26s ease-in-out infinite alternate-reverse; }
.lueurs span:nth-child(3) { width: 30vmax; height: 30vmax; left: 30vw; bottom: -12vmax; background: radial-gradient(circle, #F9E0E5, transparent 70%); animation: derive 30s ease-in-out infinite alternate; }
@keyframes derive { to { transform: translate(8vmax, 6vmax) scale(1.15); } }

.constellation { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.d {
  --px: 0; --py: 0; --s: 0; --p: 1; --r: 0deg;
  position: absolute; height: auto; opacity: 0;
  transform: translate3d(calc(var(--mx-g, 0) * var(--p) * 26px), calc(var(--my-g, 0) * var(--p) * 22px + var(--sc, 0) * var(--p) * -140px), 0) rotate(var(--r));
  transition: opacity 1.2s var(--sortie);
  filter: drop-shadow(0 18px 24px rgba(42, 10, 16, .10));
}
.d.vu { opacity: 1; animation: flotte var(--duree, 7s) ease-in-out infinite alternate; }
@keyframes flotte { from { translate: 0 0; rotate: 0deg; } to { translate: 0 -16px; rotate: 3deg; } }
.d1 { width: clamp(64px, 8vw, 120px); left: 7%; top: 18%; --r: -12deg; --p: 1.4; --duree: 6s; }
.d2 { width: clamp(70px, 8.5vw, 130px); right: 9%; top: 14%; --r: 14deg; --p: 1; --duree: 7.5s; }
.d3 { width: clamp(38px, 4.4vw, 66px); left: 17%; bottom: 22%; --r: 10deg; --p: 1.8; --duree: 8s; }
.d4 { width: clamp(80px, 9vw, 140px); right: 14%; bottom: 20%; --r: -8deg; --p: 1.3; --duree: 6.5s; }
.d5 { width: clamp(70px, 8vw, 124px); left: 3%; top: 48%; --r: 6deg; --p: .7; --duree: 9s; }
.d6 { width: clamp(52px, 6vw, 92px); right: 3%; top: 46%; --r: -16deg; --p: 1.6; --duree: 7s; }
.d7 { width: clamp(36px, 4vw, 60px); left: 30%; top: 11%; --r: -6deg; --p: .9; --duree: 8.5s; }
.d8 { width: clamp(34px, 3.6vw, 56px); right: 24%; bottom: 7%; --r: 12deg; --p: 2; --duree: 6.8s; }

.ouverture-contenu { max-width: 940px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sur-titre {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 700 13px/1 var(--texte); letter-spacing: .2em; text-transform: uppercase; color: var(--rouge);
}
.sur-titre.clair { color: var(--or); }
.pouls { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); }
.pouls::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--rouge); animation: pouls 1.8s var(--sortie) infinite; }
@keyframes pouls { from { transform: scale(1); opacity: .7; } to { transform: scale(3.4); opacity: 0; } }

.grand-titre {
  margin: 0; font: 800 clamp(46px, 9.2vw, 132px)/.94 var(--titre); letter-spacing: -.045em; color: var(--encre);
  text-wrap: balance;
}
.grand-titre em { font-weight: 400; letter-spacing: -.03em; padding-right: .04em; }
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
.mot > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1.1s var(--sortie); transition-delay: calc(var(--i) * 70ms + 250ms); }
.decoupe-vue .mot > span { transform: none; }

.chapo { margin: 28px 0 0; max-width: 620px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--encre-douce); text-wrap: pretty; }
.ouverture-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.lien-doux { font-weight: 600; color: var(--encre); text-decoration: none; background: linear-gradient(var(--rouge), var(--rouge)) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--sortie); }
.lien-doux:hover { background-size: 100% 2px; }

.defiler { position: absolute; bottom: 118px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid var(--encre); border-radius: 14px; opacity: .45; }
.defiler span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--encre); animation: molette 1.8s var(--sortie) infinite; }
@keyframes molette { from { transform: translateY(0); opacity: 1; } to { transform: translateY(14px); opacity: 0; } }

.vague { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(70px, 9vw, 140px); overflow: visible; z-index: 1; }
.vague path { fill: var(--vin); }
.vague-a { fill: var(--rouge) !important; opacity: .18; animation: houle 14s linear infinite; }
.vague-b { animation: houle 9s linear infinite reverse; }
@keyframes houle { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Révélations au défilement */
.revele { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--sortie), transform 1.1s var(--sortie); transition-delay: var(--delai, 0ms); }
.revele.vu { opacity: 1; transform: none; }

/* Bandeau des verbes */
.bandeau { background: var(--vin); color: var(--vin-texte); padding: 26px 0 40px; overflow: hidden; }
.defile { display: flex; width: max-content; }
.defile-piste { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); padding-right: clamp(18px, 2.6vw, 38px); flex-shrink: 0; }
.defile-piste span { font: 800 clamp(44px, 7.4vw, 108px)/1.05 var(--titre); letter-spacing: -.04em; white-space: nowrap; }
.defile-piste span.fin { font: italic 400 clamp(46px, 7.6vw, 112px)/1.05 var(--italique); color: var(--or); letter-spacing: -.02em; }
.defile-piste span.contour { color: transparent; -webkit-text-stroke: 1.5px rgba(248, 237, 224, .55); font-size: clamp(34px, 5.2vw, 76px); }
.defile-piste svg { width: clamp(20px, 2.4vw, 34px); height: clamp(20px, 2.4vw, 34px); color: var(--rouge-vif); flex-shrink: 0; }
.defile-inverse .defile-piste svg { color: rgba(248, 237, 224, .35); width: clamp(14px, 1.6vw, 22px); }

/* Trois promesses */
.promesses { position: relative; background: var(--vin); color: var(--vin-texte); padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.promesses::before {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 30%; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(circle, rgba(181, 18, 27, .32), transparent 62%);
}
.titre-section { position: relative; margin: 0; max-width: 900px; font: 800 clamp(38px, 6vw, 84px)/1 var(--titre); letter-spacing: -.04em; text-wrap: balance; }
.promesses .titre-section em { color: var(--or); }
.cartes {
  position: relative; width: min(1200px, 100%); margin: clamp(44px, 6vw, 80px) auto 0; padding: 0 var(--gouttiere);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); perspective: 1400px;
}
.carte {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative; padding: 18px 18px 28px; border-radius: 30px; background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(248, 237, 224, .12); backdrop-filter: blur(6px);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--sortie), border-color .4s, background .4s, opacity 1s var(--sortie), translate 1.1s var(--sortie);
}
.carte.revele { transform: rotateX(var(--rx)) rotateY(var(--ry)); translate: 0 40px; }
.carte.revele.vu { translate: 0 0; }
.carte:nth-child(2) { --delai: 120ms; }
.carte:nth-child(3) { --delai: 240ms; }
.carte::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--gx) var(--gy), rgba(239, 217, 119, .12), transparent 45%);
}
.carte:hover { border-color: rgba(239, 217, 119, .35); background: rgba(255, 255, 255, .07); }
.carte:hover::after { opacity: 1; }
.carte-scene {
  position: relative; height: clamp(200px, 20vw, 260px); border-radius: 20px; overflow: hidden; margin-bottom: 26px;
  background: radial-gradient(circle at 50% 60%, #FFFFFF, var(--creme-2)); transform: translateZ(30px);
}
.carte-d { position: absolute; height: auto; transition: transform .8s var(--ressort), filter .8s var(--sortie); filter: drop-shadow(0 14px 18px rgba(42,10,16,.18)); }
.carte:nth-child(1) .cd-a { width: 66%; left: 8%; bottom: 16%; transform: rotate(-6deg); }
.carte:nth-child(1) .cd-b { width: 46%; right: 4%; top: 10%; transform: rotate(12deg); }
.carte:nth-child(2) .cd-a { width: 44%; left: 10%; top: 12%; transform: rotate(-10deg); }
.carte:nth-child(2) .cd-b { width: 50%; right: 6%; bottom: 8%; transform: rotate(6deg); }
.carte:nth-child(3) .cd-a { width: 24%; left: 20%; top: 14%; transform: rotate(-8deg); }
.carte:nth-child(3) .cd-b { width: 40%; right: 12%; bottom: 10%; transform: rotate(10deg); }
.carte:hover .cd-a { transform: rotate(0deg) scale(1.06) translateY(-6px); }
.carte:hover .cd-b { transform: rotate(0deg) scale(1.08) translateY(-4px); }
.voilee .carte-d { filter: blur(9px) saturate(.8); }
.voilee::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(251, 246, 238, .25); transition: opacity .8s; }
.carte:hover .voilee .carte-d { filter: blur(2.5px) drop-shadow(0 14px 18px rgba(42,10,16,.18)); }
.carte:hover .voilee::before { opacity: 0; }
.voile {
  position: absolute; left: 14px; top: 14px; z-index: 2; padding: 8px 13px; border-radius: 999px;
  font: 700 11px/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; background: var(--vin); color: var(--or);
}
.voile-la { background: var(--rouge); color: #fff; }
.carte-num { display: block; padding: 0 10px; font: italic 400 20px/1 var(--italique); color: var(--or); transform: translateZ(20px); }
.carte h3 { margin: 12px 10px 0; font: 800 clamp(24px, 2.3vw, 31px)/1.08 var(--titre); letter-spacing: -.03em; transform: translateZ(24px); }
.carte p { margin: 12px 10px 0; color: var(--vin-doux); font-size: 16px; transform: translateZ(16px); }
.reseaux { display: flex; flex-wrap: wrap; gap: 8px; }
.carte .reseaux { margin: 20px 10px 0; transform: translateZ(20px); }
.pastille-reseau {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 999px; text-decoration: none;
  font: 600 14px/1 var(--texte); background: rgba(248, 237, 224, .1); border: 1px solid rgba(248, 237, 224, .16); transition: background .3s, transform .35s var(--ressort);
}
.pastille-reseau svg { width: 18px; height: 18px; }
.pastille-reseau:hover { background: var(--rouge); border-color: var(--rouge); transform: translateY(-2px); }

/* La phrase qui se remplit */
.aveu { position: relative; background: var(--blanc); padding: clamp(90px, 13vw, 190px) var(--gouttiere) clamp(120px, 16vw, 240px); display: grid; place-items: center; overflow: hidden; }
.aveu-texte { position: relative; z-index: 1; margin: 0; max-width: 1080px; font: 800 clamp(32px, 5.4vw, 76px)/1.08 var(--titre); letter-spacing: -.04em; text-wrap: balance; text-align: center; }
.aveu-texte .m { color: var(--encre); opacity: .12; transition: opacity .25s, color .25s; }
.aveu-texte .m.plein { opacity: 1; }
.aveu-texte .m.rouge.plein { color: var(--rouge); }
.aveu-d { position: absolute; width: clamp(140px, 14vw, 210px); right: -2vw; bottom: -6vw; opacity: .95; transform: rotate(-8deg) translateY(calc(var(--sc-aveu, 0) * -60px)); }

/* Inscription */
.liste { position: relative; background: var(--creme); padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.liste::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--filet); }
.liste-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.liste-intro { position: sticky; top: 110px; }
.liste .sur-titre { color: var(--rouge); }
.liste .chapo { margin-top: 22px; }
.liste-d { width: min(300px, 70%); margin-top: 36px; transform: rotate(-4deg); }
.liste-d.vu { transform: rotate(-4deg); }

.formulaire {
  position: relative; background: var(--blanc); border-radius: 32px; padding: clamp(22px, 3.4vw, 42px);
  box-shadow: var(--ombre), 0 0 0 1px var(--filet);
}
.groupe { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.groupe legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font: 800 19px/1.2 var(--titre); letter-spacing: -.02em; }
.groupe legend img { width: auto; height: 32px; }
.compte { margin-left: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: inline-grid; place-items: center; font: 700 13px/1 var(--texte); background: var(--rouge); color: #fff; transform: scale(0); transition: transform .4s var(--ressort); }
.compte.actif { transform: scale(1); }
.compte.saute { animation: saute .45s var(--ressort); }
@keyframes saute { 40% { transform: scale(1.35); } }
.puces { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.puces-niveau { display: flex; flex-wrap: wrap; }
.puce { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce > span {
  display: flex; align-items: flex-start; gap: 11px; height: 100%; padding: 13px 14px; border-radius: 16px;
  background: var(--creme); border: 1.5px solid transparent; color: var(--encre);
  transition: background .3s, border-color .3s, color .3s, transform .35s var(--ressort), box-shadow .3s;
}
.puce b { font-weight: 500; font-size: 15px; line-height: 1.3; }
.puce svg {
  width: 21px; height: 21px; padding: 3px; flex-shrink: 0; margin-top: -1px; border-radius: 50%; color: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(30, 23, 20, .25); background: #fff; transition: box-shadow .3s, color .2s, transform .4s var(--ressort);
}
.puce:hover > span { border-color: rgba(181, 18, 27, .35); transform: translateY(-1px); }
.puce input:checked + span { background: var(--rouge); color: #fff; box-shadow: 0 8px 20px -10px rgba(181, 18, 27, .8); }
.puce input:checked + span svg { box-shadow: none; color: var(--rouge); animation: coche .45s var(--ressort); }
@keyframes coche { from { transform: scale(.4) rotate(-30deg); } }
.puce input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 2px; }
.puce.pop > span { animation: pop .4s var(--ressort); }
@keyframes pop { 40% { transform: scale(.94); } }
.puce-ronde > span { border-radius: 999px; padding: 10px 18px; height: auto; }

.envoi { display: flex; gap: 10px; align-items: stretch; margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--filet); }
.champ { flex: 1; position: relative; display: block; }
.champ-etiquette { position: absolute; left: 22px; top: 9px; font: 600 11px/1 var(--texte); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-pale); pointer-events: none; }
.champ input {
  width: 100%; height: 100%; min-height: 62px; padding: 24px 22px 10px; border-radius: 999px; border: 1.5px solid var(--filet);
  background: var(--creme); font: 500 17px/1.2 var(--texte); color: var(--encre); outline: none; transition: border-color .3s, background .3s, box-shadow .3s;
}
.champ input::placeholder { color: #BBAFA7; }
.champ input:focus { border-color: var(--rouge); background: #fff; box-shadow: 0 0 0 5px var(--rouge-pale); }
.champ.erreur input { border-color: var(--rouge); animation: secoue .4s; }
@keyframes secoue { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.bouton-envoi { padding: 0 28px; min-height: 62px; }
.envoi-roue { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: tourne .7s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.envoie .envoi-roue { display: block; }
.envoie .envoi-texte, .envoie svg { display: none; }
.turnstile { margin-top: 12px; }
.turnstile:empty { display: none; }
.message { min-height: 0; margin: 10px 0 0; font-weight: 600; color: var(--rouge); }
.message:empty { display: none; }
.petit { margin: 14px 0 0; font-size: 13.5px; color: var(--encre-pale); }

.merci {
  position: relative; background: var(--blanc); border-radius: 32px; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  box-shadow: var(--ombre), 0 0 0 1px var(--filet); text-align: center; overflow: hidden;
}
.merci:not([hidden]) { animation: apparait .8s var(--ressort); }
@keyframes apparait { from { opacity: 0; transform: scale(.92) translateY(20px); } }
.merci-grappe { width: 96px; height: 96px; margin: 0 auto 20px; animation: balance 3s ease-in-out infinite; }
@keyframes balance { 50% { transform: rotate(-8deg) scale(1.04); } }
.merci h3, .annonce h3 { margin: 0; font: 800 clamp(32px, 4vw, 48px)/1 var(--titre); letter-spacing: -.04em; }
.merci p, .annonce p { margin: 16px auto 0; max-width: 440px; color: var(--encre-douce); }
.merci strong { color: var(--encre); word-break: break-all; }
.merci-baies { position: absolute; inset: 0; pointer-events: none; }
.baie-volante { position: absolute; left: 50%; top: 40%; width: 16px; height: 16px; color: var(--rouge); }

/* Pied */
.pied { background: var(--blanc); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); border-top: 1px solid var(--filet); }
.pied-grille { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.pied .pastille-reseau { background: var(--creme); border-color: var(--filet); color: var(--encre); }
.pied .pastille-reseau:hover { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.pied-mention { width: 100%; margin: 6px 0 0; font-size: 13px; color: var(--encre-pale); }

/* Annonce (confirmation, désinscription) */
.annonce { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--gouttiere); background: rgba(30, 23, 20, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.annonce:not([hidden]) { animation: fondu .4s var(--sortie); }
@keyframes fondu { from { opacity: 0; } }
.annonce-carte { position: relative; width: min(500px, 100%); padding: 48px 32px 36px; border-radius: 32px; background: #fff; text-align: center; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(42,10,16,.4); animation: apparait .7s var(--ressort); }
.annonce .bouton { margin-top: 28px; }

/* Petits écrans */
@media (max-width: 960px) {
  .cartes { grid-template-columns: 1fr; max-width: 560px; }
  .liste-grille { grid-template-columns: 1fr; }
  .liste-intro { position: static; }
  .liste-d { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .tete { padding-top: max(12px, env(safe-area-inset-top)); }
  .marque-grappe { width: 32px; height: 32px; }
  .marque-nom { font-size: 22px; }
  .bouton-petit { display: none; }
  .ouverture { padding-top: 110px; padding-bottom: 150px; }
  .grand-titre { font-size: clamp(44px, 13vw, 64px); }
  .d1 { left: -2%; top: 12%; } .d2 { right: -3%; top: 10%; }
  .d3, .d7, .d8 { display: none; }
  .d4 { right: 1%; bottom: 5%; width: 70px; } .d5 { left: -6%; top: auto; bottom: 16%; } .d6 { display: none; }
  .defiler { display: none; }
  .ouverture-actions .bouton { width: 100%; }
  .envoi { flex-direction: column; }
  .bouton-envoi { width: 100%; }
  .puce > span { padding: 10px 13px; }
  .puce b { font-size: 14.5px; }
  .aveu-d { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .revele, .mot > span, .d { opacity: 1 !important; transform: none !important; translate: none !important; }
  .aveu-texte .m { opacity: 1; }
}
