/* ═══════════════════════════════════════════
   VARIABLES & RESET
════════════════════════════════════════════ */
:root {
  --fond:           #faf7f2;
  --fond-alt:       #f0ebe3;
  --texte:          #1a1a2e;
  --texte-doux:     #4a4a6a;
  --texte-leger:    #7a7490;
  --or:             #c9a84c;
  --or-clair:       #dbb95e;
  --bleu:           #2c4a7c;
  --bleu-clair:     #3a5f9e;
  --separateur:     #ddd5c8;
  --card-fond:      #ffffff;
  --card-ombre:     rgba(26, 26, 46, 0.07);

  --ff-titre: 'Playfair Display', Georgia, serif;
  --ff-corps: 'Inter', system-ui, sans-serif;

  --max: 760px;
  --pad-section: 80px 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  background: var(--fond);
  color: var(--texte);
  font-family: var(--ff-corps);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--bleu); text-decoration: none; }
a:hover { color: var(--bleu-clair); }

/* ═══════════════════════════════════════════
   CONTAINER
════════════════════════════════════════════ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════
   SEPARATEUR
════════════════════════════════════════════ */
.separateur {
  border: none;
  border-top: 1px solid var(--separateur);
  margin: 0;
}

/* ═══════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════ */
.section {
  padding: var(--pad-section);
}

.section--alt {
  background: var(--fond-alt);
}

.section__sous-titre {
  color: var(--texte-leger);
  font-size: 1rem;
  margin-top: -0.75rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHIE
════════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--ff-titre);
  color: var(--texte);
  line-height: 1.25;
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--separateur);
}
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; }

.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--texte-doux);
  max-width: 680px;
}

/* ═══════════════════════════════════════════
   BOUTONS
════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--ff-corps);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--or {
  background: var(--or);
  color: #ffffff;
  border: 2px solid var(--or);
}
.btn--or:hover {
  background: var(--or-clair);
  border-color: var(--or-clair);
  color: #ffffff;
}

.btn--bordeaux {
  background: var(--bleu);
  color: #ffffff;
  border: 2px solid var(--bleu);
}
.btn--bordeaux:hover {
  background: var(--bleu-clair);
  border-color: var(--bleu-clair);
  color: #ffffff;
}

.btn--contour {
  background: transparent;
  color: var(--bleu);
  border: 2px solid var(--bleu);
}
.btn--contour:hover {
  background: rgba(44, 74, 124, 0.08);
  color: var(--bleu-clair);
}

.btn--large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ═══════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  padding: 64px 0 72px;
  text-align: center;
  background: var(--fond);
}

/* Logo texte sobre */
.hero__logo-texte {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.hero__logo-titre {
  font-family: var(--ff-titre);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--texte);
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero__logo-ligne {
  display: block;
  width: 64px;
  height: 2px;
  background: var(--or);
  margin-top: 10px;
  border-radius: 2px;
}

.hero__sous-logo {
  font-family: var(--ff-corps);
  font-size: 0.88rem;
  color: var(--texte-leger);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero__image-wrap {
  margin: 0 auto 44px;
  max-width: 520px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(26, 26, 46, 0.14);
  border: 1px solid var(--separateur);
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 400px;
}

.hero__titre {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  color: var(--texte);
}

.hero__sous-titre {
  font-size: 1.1rem;
  color: var(--texte-doux);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   ÉTAPES
════════════════════════════════════════════ */
.etape {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card-fond);
  border-left: 3px solid var(--or);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px var(--card-ombre);
}

.etape__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--or);
  color: #ffffff;
  font-family: var(--ff-titre);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.etape__corps p {
  color: var(--texte-doux);
  font-size: 0.98rem;
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════
   CARDS RABBANIM
════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 2rem;
}

.card-rav {
  background: var(--card-fond);
  border: 1px solid var(--separateur);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 2px 12px var(--card-ombre);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card-rav:hover {
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.12);
  border-color: rgba(201, 168, 76, 0.5);
}

.card-rav__photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--or);
}

.card-rav__nom {
  font-family: var(--ff-titre);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bleu);
}

.card-rav__citation {
  font-size: 0.9rem;
  color: var(--texte-doux);
  font-style: italic;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   TÉMOIGNAGES ÉLÈVES
════════════════════════════════════════════ */
.temoignages-liste {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.temoignage {
  padding: 28px 32px;
  border-left: 3px solid var(--separateur);
  background: var(--card-fond);
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
  box-shadow: 0 1px 8px var(--card-ombre);
}

.temoignage--alt {
  background: var(--fond-alt);
  border-left-color: var(--or);
}

.temoignage p {
  font-size: 1rem;
  color: var(--texte-doux);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.temoignage footer {
  font-size: 0.9rem;
  color: var(--bleu);
  font-style: normal;
  font-weight: 600;
}

.temoignage cite { font-style: normal; }

/* ═══════════════════════════════════════════
   BIOGRAPHIE
════════════════════════════════════════════ */
.bio {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-top: 2rem;
}

.bio__photo {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--separateur);
  flex-shrink: 0;
  box-shadow: 0 4px 20px var(--card-ombre);
}

.bio__texte p {
  color: var(--texte-doux);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.bio__texte strong { color: var(--bleu); font-weight: 600; }

/* ═══════════════════════════════════════════
   TARIFS
════════════════════════════════════════════ */
.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2rem;
}

.tarif-card {
  background: var(--card-fond);
  border: 1px solid var(--separateur);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  box-shadow: 0 2px 16px var(--card-ombre);
  transition: box-shadow 0.2s;
}
.tarif-card:hover { box-shadow: 0 6px 28px rgba(26, 26, 46, 0.12); }

.tarif-card--recommande {
  border-color: var(--or);
  border-width: 2px;
}

.tarif-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--or);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.tarif-card__titre {
  font-size: 1.3rem;
  color: var(--texte);
  margin-top: 8px;
}

.tarif-card__prix {
  font-family: var(--ff-titre);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--or);
  line-height: 1;
}
.tarif-card__prix span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--texte-leger);
}

.tarif-card__liste {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tarif-card__liste li {
  font-size: 0.93rem;
  color: var(--texte-doux);
  padding-left: 20px;
  position: relative;
}
.tarif-card__liste li::before {
  content: '✓';
  color: var(--or);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.tarifs__note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--texte-leger);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   FORMULAIRE
════════════════════════════════════════════ */
.formulaire {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.formulaire__champ label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--texte);
  letter-spacing: 0.02em;
}

.formulaire__champ input,
.formulaire__champ select,
.formulaire__champ textarea {
  background: var(--card-fond);
  border: 1px solid var(--separateur);
  border-radius: 4px;
  color: var(--texte);
  font-family: var(--ff-corps);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.formulaire__champ input:focus,
.formulaire__champ select:focus,
.formulaire__champ textarea:focus {
  border-color: var(--or);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.formulaire__champ input::placeholder,
.formulaire__champ textarea::placeholder {
  color: var(--texte-leger);
}

.formulaire__champ select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  cursor: pointer;
}

.formulaire__champ select option {
  background: var(--card-fond);
  color: var(--texte);
}

.formulaire__champ textarea { resize: vertical; min-height: 110px; }

.formulaire__whatsapp {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--texte-leger);
}
.formulaire__whatsapp a {
  color: var(--bleu);
  font-weight: 600;
}
.formulaire__whatsapp a:hover { color: var(--bleu-clair); }

/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: var(--texte);
  border-top: 1px solid var(--separateur);
  padding: 48px 0;
  text-align: center;
}

.footer p {
  font-size: 0.88rem;
  color: rgba(240, 230, 208, 0.5);
  margin-bottom: 8px;
}

.footer__liens-sites {
  margin-bottom: 20px !important;
}

.footer__liens-sites a {
  color: rgba(201, 168, 76, 0.75);
  font-size: 0.88rem;
}
.footer__liens-sites a:hover { color: var(--or); }

.footer__reseaux {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.footer__reseaux a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(240, 230, 208, 0.4);
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer__reseaux a:hover { color: var(--or); }

.footer__reseaux svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
════════════════════════════════════════════ */
@media (max-width: 767px) {
  :root { --pad-section: 56px 20px; }

  h1, .hero__titre { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }

  .hero { padding: 48px 0 56px; }

  .hero__logo-titre { font-size: 1.4rem; }

  .hero__sous-titre { font-size: 1rem; }

  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; max-width: 320px; }

  .cards-grid { grid-template-columns: 1fr; }

  .bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }
  .bio__photo { width: 140px; height: 170px; }

  .tarifs-grid { grid-template-columns: 1fr; }

  .etape { flex-direction: column; gap: 12px; }

  .temoignage { padding: 22px 20px; }
}

@media (max-width: 400px) {
  h1, .hero__titre { font-size: 1.75rem; }
}
