/* Copyright 2026 Cybelia Cloud — License LGPL-3.0 or later.
   Charte du site cybelia-cloud.fr : framboise #E31C60 sur prune sombre.
   Espacements de Fibonacci (3, 5, 8, 13, 21, 34, 55) ; colonnes au nombre d'or. */
:root {
  --framboise: #E31C60;
  --framboise-vif: #ff5f95;
  --rose: #ffd7e4;
  --prune: #140910;
  --prune-2: #2a1420;
  --texte: #1f1a1d;
  --discret: #6b5e65;
  --fond-carte: #ffffff;
  --bord: #f0e4ea;
  --rayon: 13px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(227, 28, 96, .21), transparent 55%),
    linear-gradient(rgba(227, 28, 96, .05) 1px, transparent 1px) 0 0 / 89px 89px,
    linear-gradient(90deg, rgba(227, 28, 96, .05) 1px, transparent 1px) 0 0 / 89px 89px,
    var(--prune);
}
a { color: var(--framboise-vif); }

.bandeau {
  display: flex; align-items: center; gap: 21px;
  padding: 21px 34px; border-bottom: 1px solid rgba(227, 28, 96, .34);
}
.marque { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 21px; }
.marque em { color: var(--framboise); font-style: normal; font-weight: 400; }
.marque-icone { width: 34px; height: 34px; color: var(--framboise); }
.bandeau-titre { color: var(--rose); opacity: .8; border-left: 1px solid rgba(255, 215, 228, .3); padding-left: 21px; }

/* Deux colonnes au nombre d'or : 38 % d'accroche, 62 % de formulaire. */
.scene {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: 55px;
  align-items: start;
  width: 100%; max-width: 1220px;
  margin: 0 auto; padding: 55px 34px;
}
.intro h1 { font-size: 42px; line-height: 1.15; margin: 0 0 21px; }
.intro h1 em { color: var(--framboise); font-style: normal; }
.intro p { color: var(--rose); line-height: 1.6; font-size: 17px; }
.atouts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 13px; }
.atouts li {
  padding: 13px 21px; border: 1px solid rgba(227, 28, 96, .4); border-radius: var(--rayon);
  background: rgba(42, 20, 32, .6); color: var(--rose);
}
.atouts strong { color: #fff; }

.carte {
  background: var(--fond-carte); color: var(--texte);
  border-radius: 21px; padding: 34px;
  box-shadow: 0 34px 89px rgba(0, 0, 0, .45), 0 0 0 1px rgba(227, 28, 96, .2);
}
.etape h2 { display: flex; align-items: center; gap: 13px; margin: 0 0 21px; font-size: 21px; color: var(--prune); }
.pastille {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--framboise); color: #fff; font-size: 16px;
}
.pastille.ok { background: #1f9d55; }
label { display: block; margin: 0 0 21px; font-weight: 600; font-size: 14px; color: var(--prune-2); }
label small { font-weight: 400; color: var(--discret); }
input[type=email], input[type=text], textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px;
  border: 1px solid #e3d3db; border-radius: 8px; font: inherit; font-weight: 400; color: var(--texte); background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--framboise); outline-offset: 1px; border-color: transparent; }
.defi { display: flex; flex-wrap: wrap; align-items: end; gap: 13px 21px; margin-bottom: 21px; }
.defi img { border-radius: 8px; border: 1px solid var(--bord); }
.defi label { flex: 1; min-width: 144px; margin: 0; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.code { font-size: 34px; letter-spacing: 13px; text-align: center; font-weight: 700; }

.bouton {
  display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  background: var(--framboise); color: #fff; padding: 13px 34px; border-radius: 8px;
  box-shadow: 0 8px 21px rgba(227, 28, 96, .34); margin-top: 8px;
}
.bouton:hover { background: #c8104f; }
.bouton:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.bouton.secondaire { background: var(--prune-2); box-shadow: none; }
.lien { background: none; border: 0; color: var(--framboise); cursor: pointer; font: inherit; text-decoration: underline; padding: 8px; }

.zone {
  display: grid; place-items: center; gap: 8px; text-align: center; cursor: pointer;
  padding: 34px 21px; border: 2px dashed rgba(227, 28, 96, .5); border-radius: var(--rayon);
  background: #fdf6f9; color: var(--discret); font-weight: 400;
}
.zone.survol { background: #fbe7ef; border-color: var(--framboise); }
.zone input { display: none; }
.zone-texte strong { color: var(--framboise); }
.liste { list-style: none; padding: 0; margin: 21px 0; display: grid; gap: 8px; }
.liste li { padding: 13px; border: 1px solid var(--bord); border-radius: 8px; font-size: 14px; }
.liste .ligne { display: flex; justify-content: space-between; gap: 13px; }
.liste .etat { color: var(--discret); white-space: nowrap; }
.liste .etat.ok { color: #1f9d55; }
.liste .etat.ko { color: #b00020; }
.barre { height: 5px; margin-top: 8px; background: var(--bord); border-radius: 3px; overflow: hidden; }
.barre span { display: block; height: 100%; width: 0; background: var(--framboise); transition: width .3s; }
.erreur { margin: 21px 0 0; padding: 13px 21px; border-radius: 8px; background: #fde8ee; color: #8a0f3a; border-left: 3px solid var(--framboise); }

.pied { text-align: center; padding: 21px; color: var(--rose); opacity: .7; font-size: 13px; }

@media (max-width: 900px) {
  .scene { grid-template-columns: 1fr; gap: 34px; padding: 34px 16px; }
  .intro h1 { font-size: 30px; }
  .carte { padding: 21px; }
  .bandeau { padding: 13px 16px; }
  .bandeau-titre { display: none; }
}
@media (prefers-reduced-motion: reduce) { .barre span { transition: none; } }
