/* ── RDV "Bilan gratuit" ───────────────────────────────────────────────────
   Refonte : l'ancien layout 2 colonnes (accordéon 5 formations + widget
   sticky) est remplacé par un enchaînement de sections pleine largeur,
   cohérent avec les pages de vente refaites (nail-art-by-lnails,
   prothesiste-ongulaire-by-lnails/brest) : alternance de fonds rose/violet,
   composants Great Vibes + Raleway déjà connus (formatrice, collage d'avis
   avec peek mobile, FAQ en accordéon). Préfixe rdv- conservé pour tout,
   noms choisis pour ne JAMAIS collisionner avec les classes déjà générées
   dynamiquement par rdv.js (rdv-step, rdv-jour-btn, rdv-creneau-btn,
   rdv-form-*, rdv-submit, rdv-input, rdv-champ, rdv-label, rdv-erreur,
   rdv-vide, rdv-spinner*, rdv-retour, rdv-step-titre, rdv-creneaux-*,
   rdv-jours-grille) — toute cette partie plus bas dans ce fichier reste
   strictement inchangée. ─────────────────────────────────────────────────── */

/* ══ SECTION 1 — Hero (fond VIOLET) ══════════════════════════════════════════ */
.rdv-hero {
  background: var(--violet);
  padding: 90px 24px 70px;
  text-align: center;
}
.rdv-hero-titre {
  font-family: 'Great Vibes', cursive;
  font-size: 62px;
  color: var(--rose);
  margin: 0 0 18px 0;
  line-height: 1.15;
}
.rdv-hero-sous-titre {
  font-size: 16px;
  color: rgba(240, 228, 242, 0.85);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.rdv-hero-cta {
  display: inline-block;
  background: var(--rose);
  color: var(--violet);
  font-family: Raleway, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 17px 44px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s, opacity 0.15s;
}
.rdv-hero-cta:hover { transform: translateY(-2px); opacity: 0.92; }

@media (max-width: 750px) {
  .rdv-hero { padding: 64px 20px 52px; }
  .rdv-hero-titre { font-size: 44px; }
}

/* ══ SECTION 2 — "Ce qu'on fait ensemble" (fond ROSE) ═══════════════════════ */
.rdv-valeur { background: var(--rose); padding: 90px 24px; }
.rdv-valeur-titre {
  font-family: 'Great Vibes', cursive;
  font-size: 56px;
  color: var(--violet);
  text-align: center;
  margin: 0 0 44px 0;
  line-height: 1.2;
}
.rdv-valeur-grille {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.rdv-valeur-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 6px 24px rgba(67, 46, 87, 0.08);
}
.rdv-valeur-icone {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
}
.rdv-valeur-icone svg { width: 22px; height: 22px; color: var(--rose); }
.rdv-valeur-item p { margin: 0; font-size: 14.5px; color: rgba(67, 46, 87, 0.88); line-height: 1.55; font-weight: 600; }

@media (max-width: 700px) {
  .rdv-valeur-grille { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rdv-valeur { padding: 64px 20px; }
  .rdv-valeur-titre { font-size: 44px; }
}

/* ══ SECTION 3 — Réassurance : formatrice + avis (fond VIOLET) ══════════════ */
.rdv-reassurance { background: var(--violet); padding: 90px 24px; }

.rdv-reassurance-formatrice {
  max-width: 1000px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.rdv-reassurance-photo {
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--violet) 0%, #14101a 75%);
}
.rdv-reassurance-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.rdv-reassurance-titre {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  color: var(--rose);
  margin: 0 0 14px 0;
  line-height: 1.2;
}
.rdv-reassurance-desc { font-size: 15.5px; color: rgba(240, 228, 242, 0.88); line-height: 1.75; margin: 0; }

@media (max-width: 750px) {
  .rdv-reassurance-formatrice { grid-template-columns: 1fr; gap: 26px; text-align: center; margin-bottom: 48px; }
  .rdv-reassurance-photo { max-width: 280px; margin: 0 auto; }
}

.rdv-reassurance-avis-titre {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(240, 228, 242, 0.7);
  text-align: center;
  margin: 0 0 28px 0;
}

/* Collage 4 avis — repris à l'identique du composant .po-avis-collage
   (nail-art-by-lnails/index.html) : même structure, même traitement peek
   mobile, mêmes 4 images déjà en ligne. Renommé rdv- pour rester cohérent
   avec ce fichier. */
.rdv-avis-collage {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.rdv-avis-collage-col { display: flex; flex-direction: column; gap: 20px; }
.rdv-avis-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(240, 228, 242, 0.15);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  background: #fff;
}
.rdv-avis-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 750px) {
  .rdv-avis-collage {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 8%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .rdv-avis-collage::-webkit-scrollbar { display: none; }
  .rdv-avis-collage-col { display: contents; }
  .rdv-avis-item { flex: 0 0 84%; width: 84%; scroll-snap-align: center; }
}

.rdv-peek-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.rdv-peek-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(240, 228, 242, 0.3);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.rdv-peek-dot.active { background: var(--rose); transform: scale(1.3); }
@media (max-width: 750px) { .rdv-peek-dots { display: flex; } }

@media (max-width: 600px) {
  .rdv-reassurance { padding: 64px 20px; }
  .rdv-reassurance-titre { font-size: 38px; }
}

/* ══ SECTION 4 — Widget de réservation (fond ROSE) ═══════════════════════════ */
.rdv-widget-section { background: var(--rose); padding: 90px 24px 60px; scroll-margin-top: 90px; }
.rdv-widget-titre {
  font-family: 'Great Vibes', cursive;
  font-size: 56px;
  color: var(--violet);
  text-align: center;
  margin: 0 0 8px 0;
  line-height: 1.2;
}
.rdv-widget-sous-titre {
  text-align: center;
  font-size: 15px;
  color: rgba(67, 46, 87, 0.72);
  margin: 0 auto 36px;
  max-width: 500px;
  padding: 0 20px;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .rdv-widget-section { padding: 64px 20px 40px; }
  .rdv-widget-titre { font-size: 42px; }
}

#rdv-app {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 20px;
}

/* ══ SECTION 5 — FAQ courte (fond ROSE) ══════════════════════════════════════
   Colonne unique (3 questions, un grid 2 colonnes laisserait un orphelin) —
   même logique d'accordéon/cartes que .po-faq sur les pages de vente. ────── */
.rdv-faq { background: var(--rose); padding: 70px 24px 90px; }
.rdv-faq-titre {
  font-family: 'Great Vibes', cursive;
  font-size: 50px;
  color: var(--violet);
  text-align: center;
  margin: 0 0 32px 0;
  line-height: 1.2;
}
.rdv-faq-grid { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.rdv-faq-item {
  background: var(--violet);
  border-radius: 18px;
  overflow: hidden;
}
.rdv-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  cursor: pointer;
  text-align: left;
}
.rdv-faq-icone { font-size: 22px; flex-shrink: 0; }
.rdv-faq-question-texte { flex: 1; font-size: 15.5px; font-weight: 700; color: var(--rose); }
.rdv-faq-chevron { flex-shrink: 0; width: 18px; height: 18px; color: var(--rose); transition: transform 0.25s ease; }
.rdv-faq-item.ouvert .rdv-faq-chevron { transform: rotate(180deg); }
.rdv-faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.rdv-faq-item.ouvert .rdv-faq-panel { max-height: 300px; }
.rdv-faq-panel-inner { padding: 0 22px 20px 54px; color: rgba(240, 228, 242, 0.9); font-size: 14px; line-height: 1.6; }

@media (max-width: 600px) {
  .rdv-faq { padding: 48px 20px 64px; }
  .rdv-faq-titre { font-size: 38px; }
}

/* ── Transition d'étape ──────────────────────────────────────────────────── */
.rdv-step { animation: rdv-entree 0.22s ease both; }
@keyframes rdv-entree {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Bouton retour ───────────────────────────────────────────────────────── */
.rdv-retour {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--violet);
  font-family: Raleway, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 18px 0;
  opacity: 0.65;
  transition: opacity 0.15s;
}
.rdv-retour:hover { opacity: 1; }
.rdv-retour svg { flex-shrink: 0; }

/* ── Titre d'étape ───────────────────────────────────────────────────────── */
.rdv-step-titre {
  font-size: 17px;
  font-weight: 700;
  color: var(--violet);
  margin: 0 0 18px 0;
  text-align: center;
}

/* ══ ÉTAPE 1 — Jours ════════════════════════════════════════════════════════ */

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

.rdv-jour-btn {
  background: var(--violet);
  color: var(--rose);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px 14px 18px;
  cursor: pointer;
  font-family: Raleway, Arial, sans-serif;
  text-align: center;
  transition: background 0.18s, transform 0.12s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rdv-jour-btn:hover,
.rdv-jour-btn:focus-visible {
  background: #5c3f72;
  transform: translateY(-2px);
  outline: none;
}

.rdv-jour-btn-nom {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.rdv-jour-btn-date {
  display: block;
  font-size: 12px;
  opacity: 0.78;
  margin-bottom: 10px;
}
.rdv-jour-btn-count {
  display: inline-block;
  background: rgba(240, 228, 242, 0.18);
  border: 1px solid rgba(240, 228, 242, 0.35);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 11px;
}

/* ══ ÉTAPE 2 — Créneaux ══════════════════════════════════════════════════════ */

.rdv-creneaux-jour-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--violet);
  margin: 0 0 16px 0;
  text-align: center;
}

.rdv-creneaux-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.rdv-creneau-btn {
  background: var(--violet);
  color: var(--rose);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 20px 8px 18px;
  cursor: pointer;
  font-family: Raleway, Arial, sans-serif;
  text-align: center;
  transition: background 0.18s, transform 0.12s;
}
.rdv-creneau-btn:hover,
.rdv-creneau-btn:focus-visible {
  background: #5c3f72;
  transform: translateY(-2px);
  outline: none;
}
.rdv-creneau-heure {
  display: block;
  font-size: 20px;
  font-weight: 700;
}
.rdv-creneau-duree {
  display: block;
  font-size: 11px;
  opacity: 0.72;
  margin-top: 5px;
}

/* ══ ÉTAPE 3 — Formulaire ════════════════════════════════════════════════════ */

.rdv-form-recap {
  background: var(--violet);
  color: var(--rose);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.rdv-form-recap-icon { font-size: 22px; flex-shrink: 0; }

.rdv-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 44px 40px;
  box-shadow: 0 6px 32px rgba(67, 46, 87, 0.10);
}

.rdv-form-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.rdv-champ {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rdv-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rdv-input {
  border: 1.5px solid rgba(67, 46, 87, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: Raleway, Arial, sans-serif;
  font-size: 15px;
  color: var(--violet);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.rdv-input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(67, 46, 87, 0.08);
}
.rdv-input::placeholder { color: rgba(67, 46, 87, 0.38); }

.rdv-form-footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rdv-submit {
  background: var(--violet);
  color: var(--rose);
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-family: Raleway, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, opacity 0.15s;
  width: 100%;
  max-width: 340px;
}
.rdv-submit:hover:not(:disabled) {
  background: #5c3f72;
  transform: translateY(-1px);
}
.rdv-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.rdv-form-note {
  font-size: 12px;
  color: rgba(67, 46, 87, 0.55);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.rdv-spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 20px;
}
.rdv-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(67, 46, 87, 0.15);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: rdv-spin 0.75s linear infinite;
}
@keyframes rdv-spin { to { transform: rotate(360deg); } }
.rdv-spinner-texte { font-size: 14px; color: rgba(67, 46, 87, 0.6); }

/* ── Erreur ──────────────────────────────────────────────────────────────── */
.rdv-erreur {
  background: #fdf0f0;
  border: 1.5px solid rgba(192, 57, 43, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #b22222;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.55;
}
.rdv-erreur-icon { flex-shrink: 0; }

/* ── Vide ────────────────────────────────────────────────────────────────── */
.rdv-vide {
  text-align: center;
  padding: 48px 20px;
  color: rgba(67, 46, 87, 0.6);
  font-size: 15px;
  line-height: 1.7;
}
.rdv-vide a { color: var(--violet); }

/* ══ Responsive ══════════════════════════════════════════════════════════════ */

@media (max-width: 901px) {
  #rdv-app { padding: 0 16px 20px; }
}

@media (max-width: 750px) {
  .rdv-jours-grille    { grid-template-columns: repeat(2, 1fr); }
  .rdv-creneaux-grille { grid-template-columns: repeat(3, 1fr); }
  .rdv-form-card       { padding: 28px 24px 32px; }
}

@media (max-width: 580px) {
  .rdv-creneaux-grille { grid-template-columns: repeat(2, 1fr); }
  .rdv-form-grille     { grid-template-columns: 1fr; }
  .rdv-form-card       { padding: 24px 18px 28px; }
}

@media (max-width: 480px) {
  .rdv-creneau-heure { font-size: 17px; }
  .rdv-submit        { font-size: 15px; padding: 15px 32px; }
}
