/* ============================================
   accueil.css — v2
   Hero + animation signature : la conversation
   WhatsApp qui se transforme en vente.
   + Stats, FAQ, Témoignages & CTA premium.
   ============================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-clair) 100%);
  color: var(--sable);
  overflow: hidden;
  padding: 90px 0 120px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 93, 44, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grille {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--corail-clair);
  margin-bottom: 18px;
  background: rgba(255, 125, 77, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 125, 77, 0.25);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  color: white;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--corail-clair);
}

.hero p {
  font-size: 18px;
  color: rgba(243, 233, 210, 0.85);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .bouton-secondaire {
  border-color: rgba(243, 233, 210, 0.4);
  color: var(--sable);
}

.hero .bouton-secondaire:hover {
  background-color: var(--sable);
  color: var(--nuit);
}

/* ---------- Signature : bulle WhatsApp -> carte produit ---------- */
.signature-scene {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telephone {
  width: 270px;
  height: 410px;
  background-color: #0B1B27;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--ombre-forte);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.telephone-ecran {
  width: 100%;
  height: 100%;
  background-color: #E9EDE9;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.telephone-entete {
  background-color: var(--sarcelle);
  color: white;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.telephone-entete .point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #6BE68A;
}

.bulle-message {
  margin: 14px;
  padding: 10px 14px;
  background-color: white;
  border-radius: 12px 12px 12px 2px;
  font-size: 12.5px;
  color: var(--encre);
  width: fit-content;
  max-width: 85%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  opacity: 0;
  animation: apparaitre 0.6s ease forwards;
}

.bulle-message:nth-child(2) { animation-delay: 0.3s; }
.bulle-message.reponse {
  margin-left: auto;
  border-radius: 12px 12px 2px 12px;
  background-color: #DCF3E9;
  animation-delay: 0.9s;
}

.carte-flottante {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background-color: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  animation: monterCarte 0.7s ease forwards;
  animation-delay: 1.6s;
}

.carte-flottante-icone {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--corail);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

.carte-flottante-texte {
  font-size: 11.5px;
  line-height: 1.35;
}

.carte-flottante-texte strong {
  display: block;
  font-size: 13px;
  color: var(--nuit);
}

@keyframes apparaitre {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes monterCarte {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Bandeau défilant (marquee) ---------- */
.marquee-piste {
  overflow: hidden;
  background-color: var(--sable);
  padding: 16px 0;
  border-top: 1px solid rgba(19,42,62,0.08);
  border-bottom: 1px solid rgba(19,42,62,0.08);
}

.marquee-contenu {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: defiler 22s linear infinite;
  font-family: var(--police-titre);
  font-size: 15px;
  color: var(--nuit);
}

.marquee-contenu span::after {
  content: "•";
  margin-left: 40px;
  color: var(--corail);
}

@keyframes defiler {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section statistiques ---------- */
.stats-barre {
  background-color: white;
  border-radius: var(--rayon);
  padding: 30px 40px;
  margin: -40px auto 40px;
  position: relative;
  z-index: 10;
  box-shadow: var(--ombre-forte);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item-nombre {
  font-family: var(--police-titre);
  font-size: 32px;
  font-weight: 700;
  color: var(--corail);
}

.stat-item-label {
  font-size: 13.5px;
  color: var(--gris-texte);
  font-weight: 500;
}

/* ---------- Section fonctionnalités ---------- */
.section {
  padding: 80px 0;
}

.section-tete {
  max-width: 580px;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sarcelle);
  margin-bottom: 12px;
  display: block;
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--nuit);
}

.grille-fonctionnalites {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.carte-fonctionnalite {
  background-color: white;
  border-radius: var(--rayon);
  padding: 32px 26px;
  box-shadow: var(--ombre-douce);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(19, 42, 62, 0.05);
}

.carte-fonctionnalite:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}

.carte-fonctionnalite-icone {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--sable);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.carte-fonctionnalite h3 {
  font-size: 19px;
  color: var(--nuit);
  margin-bottom: 10px;
}

.carte-fonctionnalite p {
  font-size: 14.5px;
  color: var(--gris-texte);
}

/* ---------- Section Témoignages ---------- */
.section-temoignages {
  background-color: #FAF6EE;
  border-radius: 24px;
  padding: 60px 40px;
  margin: 40px 0;
}

.grille-temoignages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.carte-temoignage {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--ombre-douce);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.temoignage-texte {
  font-size: 14px;
  color: var(--encre);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}

.temoignage-auteur {
  display: flex;
  align-items: center;
  gap: 12px;
}

.temoignage-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sable);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--nuit);
}

.temoignage-info strong {
  display: block;
  font-size: 13.5px;
  color: var(--nuit);
}

.temoignage-info span {
  font-size: 12px;
  color: var(--gris-texte);
}

/* ---------- FAQ Accordion ---------- */
.faq-conteneur {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: 14px;
  border: 1px solid #EFE7D3;
  overflow: hidden;
  box-shadow: var(--ombre-douce);
}

.faq-item-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--police-corps);
  font-size: 16px;
  font-weight: 600;
  color: var(--nuit);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item-question::after {
  content: "+";
  font-size: 20px;
  color: var(--corail);
  transition: transform 0.2s ease;
}

.faq-item.ouvert .faq-item-question::after {
  content: "−";
}

.faq-item-reponse {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--gris-texte);
  display: none;
  line-height: 1.6;
}

.faq-item.ouvert .faq-item-reponse {
  display: block;
}

/* ---------- CTA final ---------- */
.cta-finale {
  background: linear-gradient(135deg, var(--nuit) 0%, var(--nuit-clair) 100%);
  color: var(--sable);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ombre-forte);
}

.cta-finale h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-finale p {
  color: rgba(243, 233, 210, 0.8);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Pied de page ---------- */
.pied-page {
  padding: 40px 0;
  text-align: center;
  color: var(--gris-texte);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grille {
    grid-template-columns: 1fr;
  }
  .grille-fonctionnalites,
  .grille-temoignages,
  .stats-barre {
    grid-template-columns: 1fr;
  }
  .stats-barre {
    margin-top: 0;
  }
  .signature-scene {
    height: 340px;
  }
  .telephone {
    width: 230px;
    height: 350px;
  }
  .cta-finale {
    padding: 40px 20px;
  }
}
