/* ==========================================================================
   landing.css — skin shaman.today pour la page d'accueil UNIQUEMENT.
   Chargé APRÈS style.css et scopé body.page-form : report.php / etude.php
   (page-report / page-etude) gardent leur style parchemin.
   Tokens du site mère (export Carrd /mnt/d/OVH/shaman/index.html) :
   Quicksand 400 · accent #FF8CA8 · filets rgba(255,255,255,.169) ·
   pilules #363657 · overlay linear-gradient(0deg,rgba(0,0,0,.5),rgba(0,0,0,.1))
   ========================================================================== */

/* --- Base sombre ------------------------------------------------------- */
body.page-form {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  background: #17141f;
  color: #fff;
  line-height: 1.65;
}
body.page-form .wrap { max-width: 780px; }

body.page-form h1, body.page-form h2, body.page-form h3, body.page-form h4 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  color: #FF8CA8;
}
body.page-form h2 {
  text-transform: uppercase;
  letter-spacing: .18rem;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,.169);
  padding-bottom: .55rem;
}
body.page-form a { color: #FF8CA8; }
body.page-form .muted { color: rgba(255,255,255,.55); }
body.page-form strong { color: #fff; font-weight: 700; }
body.page-form em { color: #e4afae; }

/* --- Hero plein cadre (fresque de Chauvet + voile sombre) --------------- */
.hero-shaman {
  position: relative;
  min-height: clamp(420px, 62vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4.5rem 1.2rem 4rem;
  background:
    linear-gradient(0deg, rgba(13,10,18,.92) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.35) 100%),
    url('img/hero-chauvet.jpg') center 40% / cover no-repeat;
}
.hero-shaman .kicker {
  margin: 0 0 1rem;
  color: #e4afae;
  text-transform: uppercase;
  letter-spacing: .3rem;
  font-size: .78rem;
}
.hero-shaman h1 {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.9rem);
  text-transform: uppercase;
  letter-spacing: .22rem;
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0,0,0,.8);
}
.hero-shaman .tagline {
  max-width: 40rem;
  margin: 1.3rem auto 2rem;
  color: #fff;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-style: normal;
  text-shadow: 0 1px 12px rgba(0,0,0,.85);
}

/* --- Boutons ghost (style Carrd du site mère) --------------------------- */
body.page-form .btn,
body.page-form button.btn {
  display: inline-block;
  background: transparent;
  color: #FF8CA8;
  border: solid 1px rgba(255,255,255,.169);
  border-radius: .375rem;
  padding: .7rem 2rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .225rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .25s, color .25s;
}
body.page-form .btn:hover { border-color: #FF8CA8; color: #FF8CA8; background: transparent; }

/* --- Cartes / sections --------------------------------------------------- */
body.page-form .card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.169);
  border-radius: 0;
  box-shadow: none;
  color: #fff;
}
body.page-form .card.success {
  background: rgba(144,238,144,.08);
  border-color: rgba(144,238,144,.35);
}
body.page-form .card.success h2 { color: #90ee90; border-bottom-color: rgba(144,238,144,.35); }
body.page-form .card.error {
  background: rgba(255,107,107,.08);
  border-color: rgba(255,107,107,.4);
  color: #ffb3b3;
}

/* Pilule de section (petit label indigo au-dessus des titres) */
.pill-label {
  display: inline-block;
  background: #363657;
  color: #FF8CA8;
  border-radius: 999px;
  padding: .18rem .85rem;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .2rem;
  margin-bottom: .7rem;
}

/* --- Bande « respiration » photo tambour --------------------------------- */
.band-tambour {
  position: relative;
  margin: 2.6rem 0;
  padding: 3.5rem 1.4rem;
  text-align: center;
  background:
    linear-gradient(0deg, rgba(13,10,18,.88) 0%, rgba(0,0,0,.55) 100%),
    url('img/tambour.jpg') center 22% / cover no-repeat;
  border-top: 1px solid rgba(255,255,255,.169);
  border-bottom: 1px solid rgba(255,255,255,.169);
}
.band-tambour blockquote {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 1.7;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.9);
}
.band-tambour cite {
  display: block;
  margin-top: 1rem;
  color: #e4afae;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .2rem;
  font-size: .75rem;
}

/* --- « Ce que vous recevrez » : grille à pictos --------------------------- */
.recevoir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.recevoir-grid .item {
  border: 1px solid rgba(255,255,255,.169);
  padding: 1.1rem 1.2rem;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.recevoir-grid .item svg { flex: 0 0 30px; margin-top: .15rem; }
.recevoir-grid .item h3 {
  margin: 0 0 .3rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12rem;
}
.recevoir-grid .item p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.82); }

/* --- Accordéons sombres --------------------------------------------------- */
body.page-form .accordion details {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.169);
  border-radius: 0;
  margin: .5rem 0;
}
body.page-form .accordion summary {
  cursor: pointer;
  padding: .8rem 1rem;
  color: #FF8CA8;
  font-weight: 400;
  letter-spacing: .04rem;
  list-style: none;
}
body.page-form .accordion summary::-webkit-details-marker { display: none; }
body.page-form .accordion summary::before {
  content: '+'; display: inline-block; width: 1.1em; color: #FF8CA8; font-weight: 400;
}
body.page-form .accordion details[open] > summary::before { content: '\2212'; }
body.page-form .accordion details[open] > summary { border-bottom: 1px solid rgba(255,255,255,.12); }
body.page-form .accordion .acc-body { padding: .2rem 1rem 1rem; }
body.page-form .accordion .acc-body > :first-child { margin-top: .5rem; }
body.page-form .accordion .acc-body .accordion details { background: rgba(255,255,255,.05); }
body.page-form .tag-cham { color: #FF8CA8; font-weight: 700; }
body.page-form .tag-hd { color: #b8a499; font-weight: 700; }

/* --- Tableau chamanisme ↔ HD --------------------------------------------- */
body.page-form .hd-table { border-color: rgba(255,255,255,.169); }
body.page-form .hd-table th {
  background: #363657;
  color: #FF8CA8;
  border-color: rgba(255,255,255,.169);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .08rem;
}
body.page-form .hd-table td { border-color: rgba(255,255,255,.169); background: transparent; }
body.page-form .hd-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.03); }

/* --- Formulaire sombre ----------------------------------------------------- */
body.page-form .field label {
  color: #e4afae;
  text-transform: uppercase;
  letter-spacing: .12rem;
  font-size: .78rem;
}
body.page-form .field input,
body.page-form .field select,
body.page-form .field textarea {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.169);
  border-radius: .375rem;
  color: #fff;
  color-scheme: dark; /* pickers date/heure natifs en sombre */
}
body.page-form .field select { padding: 10px 12px; } /* aligne la hauteur sur les inputs */
/* Menu deroulant natif : sous Chrome/Windows le popup des <option> ne suit pas toujours
   color-scheme:dark -> texte blanc sur fond blanc (options illisibles). On force. */
body.page-form .field select option {
  background: #221a2e;
  color: #fff;
}
body.page-form .field input:focus {
  outline: none;
  border-color: #FF8CA8;
}
body.page-form .field small { color: rgba(255,255,255,.55); }
body.page-form .legal { color: rgba(255,255,255,.5); }
body.page-form .btn-lieu {
  background: transparent;
  border: 1px solid rgba(255,255,255,.169);
  border-radius: .375rem;
  color: #FF8CA8;
}
body.page-form .lieu-suggestions {
  background: #241f31;
  border-color: rgba(255,255,255,.169);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.55);
}
body.page-form .lieu-suggestion-item { border-bottom-color: rgba(255,255,255,.1); }
body.page-form .lieu-suggestion-item:hover { background: #363657; }
body.page-form .map-container { border-color: rgba(255,255,255,.169); }
body.page-form .btn-close-map { background: #363657; color: #fff; }

/* --- Footer ----------------------------------------------------------------- */
body.page-form .footer { color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.169); }
body.page-form .footer-nav a {
  color: #FF8CA8;
  text-transform: uppercase;
  letter-spacing: .1rem;
  font-size: .72rem;
}

/* --- Vitrine du chatbot (demo scriptee) -------------------------------------- */
body.page-form .chat-showcase .chat-note {
  margin: 1.2rem 0 1.4rem;
  font-size: .95rem;
  color: #e4afae;
}
body.page-form .chat-demo {
  margin: 1.4rem 0 .4rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255,255,255,.169);
  background: rgba(255,255,255,.028);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
body.page-form .chat-demo .cd-row { display: flex; }
body.page-form .chat-demo .cd-row.user { justify-content: flex-end; }
body.page-form .chat-demo .cd-row.bot { justify-content: flex-start; }
body.page-form .chat-demo .bubble {
  max-width: 82%;
  padding: .65rem .9rem;
  font-size: .95rem;
  line-height: 1.5;
  border-radius: 14px;
  /* etat d'arrivee de l'animation */
  opacity: 0;
  transform: translateY(8px);
  animation: cd-fade .5s ease forwards;
}
body.page-form .chat-demo .bubble.user {
  background: #363657;
  color: #fff;
  border-bottom-right-radius: 4px;
}
body.page-form .chat-demo .bubble.bot {
  background: rgba(255,140,168,.12);
  border: 1px solid rgba(255,140,168,.4);
  color: #fff;
  border-bottom-left-radius: 4px;
}
body.page-form .chat-demo .bubble.bot::before {
  content: '🔮 ';
}
/* apparition sequentielle des 6 bulles (3 echanges) */
body.page-form .chat-demo .cd-row:nth-child(1) .bubble { animation-delay: .15s; }
body.page-form .chat-demo .cd-row:nth-child(2) .bubble { animation-delay: .75s; }
body.page-form .chat-demo .cd-row:nth-child(3) .bubble { animation-delay: 1.5s; }
body.page-form .chat-demo .cd-row:nth-child(4) .bubble { animation-delay: 2.1s; }
body.page-form .chat-demo .cd-row:nth-child(5) .bubble { animation-delay: 2.85s; }
body.page-form .chat-demo .cd-row:nth-child(6) .bubble { animation-delay: 3.45s; }
@keyframes cd-fade {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  body.page-form .chat-demo .bubble {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* --- Mobile ------------------------------------------------------------------ */
/* --- Bloc « Comprendre en 30 secondes » (haut de page, avant le recit) --- */
body.page-form .quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}
body.page-form .quick-grid > div {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: .7rem;
  padding: 1rem 1.1rem;
}
body.page-form .quick-grid h3 {
  margin: 0 0 .45rem;
  color: #FF8CA8;
  font-size: .95rem;
  letter-spacing: .02em;
}
body.page-form .quick-grid p {
  margin: 0;
  font-size: .93rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 640px) {
  .hero-shaman { min-height: clamp(380px, 54vh, 560px); padding: 3.2rem 1rem 2.8rem; }
  .band-tambour { padding: 2.6rem 1rem; }
  body.page-form .chat-demo .bubble { max-width: 92%; font-size: .9rem; }
  body.page-form .quick-grid { gap: .7rem; }
}
