/* =====================================================
 * Landing page polish — additive layer on top of app.css.
 * Adds: decorative hero background, trust strip, "Pourquoi
 * nous choisir" grid, FAQ block, subtle animations.
 * ===================================================== */

/* ===== Hero decorative ===== */
.landing-hero {
  position: relative;
  overflow: hidden;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, oklch(0.95 0.04 79.4) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, oklch(0.97 0.025 152.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.landing-hero::after {
  content: "﷽";
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 240px;
  color: var(--hudayi-gold, oklch(0.70 0.107 79.4));
  opacity: 0.06;
  font-family: "Amiri", "Scheherazade", serif;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.landing-hero > .container { position: relative; z-index: 1; }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--surface-cream, oklch(0.97 0.006 78));
  border-top: 1px solid var(--border, oklch(0.88 0.008 152.5));
  border-bottom: 1px solid var(--border, oklch(0.88 0.008 152.5));
  padding: 22px 0;
}
.trust-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .trust-strip__row { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-stat__value {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
}
.trust-stat__label {
  font-size: 11px;
  color: var(--ink-muted, oklch(0.45 0.010 152.5));
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ===== Pourquoi nous (feature grid) ===== */
.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 920px) { .pourquoi-grid { grid-template-columns: repeat(4, 1fr); } }
.pourquoi-card {
  background: #fff;
  border: 1px solid var(--border, oklch(0.88 0.008 152.5));
  border-radius: 12px;
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.pourquoi-card:hover {
  transform: translateY(-3px);
  border-color: var(--hudayi-green-soft, oklch(0.62 0.10 152.5));
  box-shadow: 0 6px 20px rgba(34, 80, 50, 0.08);
}
.pourquoi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--hudayi-green, oklch(0.467 0.131 152.5));
}
.pourquoi-card.gold::before { background: var(--hudayi-gold, oklch(0.70 0.107 79.4)); }
.pourquoi-card__ico {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: oklch(0.95 0.04 152.5);
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pourquoi-card.gold .pourquoi-card__ico {
  background: oklch(0.95 0.06 79.4);
  color: var(--hudayi-gold, oklch(0.70 0.107 79.4));
}
.pourquoi-card h3 {
  font-family: var(--font-display, serif);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 6px;
  color: var(--ink, oklch(0.25 0.012 152.5));
}
.pourquoi-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted, oklch(0.45 0.010 152.5));
}

/* ===== Étapes connector ===== */
.etape-block { position: relative; }
.etape-block::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -12px;
  width: 24px;
  height: 1px;
  border-top: 2px dashed var(--hudayi-gold, oklch(0.70 0.107 79.4));
  opacity: 0.45;
}
@media (max-width: 760px) { .etape-block::after { display: none; } }
.col-md-4:last-child .etape-block::after { display: none; }

/* ===== Classes card polish ===== */
.classe-card {
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.classe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 80, 50, 0.08);
}
.classe-card .niveau-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: oklch(0.95 0.04 152.5);
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border, oklch(0.88 0.008 152.5));
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] {
  border-color: var(--hudayi-green-soft, oklch(0.62 0.10 152.5));
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--font-display, serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink, oklch(0.25 0.012 152.5));
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted, oklch(0.45 0.010 152.5));
}

/* ===== Approche pillar cards (replaces inline svg trios) ===== */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }

.pillar-card {
  background: var(--surface-cream, oklch(0.97 0.006 78));
  border: 1px solid var(--border, oklch(0.88 0.008 152.5));
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}
.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--hudayi-green-soft, oklch(0.62 0.10 152.5));
  box-shadow: 0 8px 22px rgba(34, 80, 50, 0.08);
}
.pillar-card__ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: oklch(0.95 0.04 152.5);
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pillar-card.gold .pillar-card__ico {
  background: oklch(0.95 0.06 79.4);
  color: var(--hudayi-gold, oklch(0.70 0.107 79.4));
}
.pillar-card h3 {
  font-family: var(--font-display, serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink, oklch(0.25 0.012 152.5));
}
.pillar-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted, oklch(0.45 0.010 152.5));
}

/* ===== Classes hero card (polished) ===== */
.classe-card {
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  background: #fff !important;
}
.classe-card .niveau-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: oklch(0.95 0.04 152.5);
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
  width: fit-content;
}
.classe-card .display-3 {
  font-size: 26px;
  margin-bottom: 6px !important;
}
.classe-card__meta {
  font-size: 13px;
  color: var(--ink-muted, oklch(0.45 0.010 152.5));
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
}
.classe-card__meta .row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.classe-card__meta .ico {
  width: 16px; height: 16px;
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
  flex-shrink: 0;
}
.classe-card__tarif {
  font-family: var(--font-display, serif);
  font-size: 28px !important;
  font-weight: 500 !important;
  color: var(--hudayi-green, oklch(0.467 0.131 152.5)) !important;
  margin: 8px 0 12px !important;
}
.classe-card__tarif small {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  font-size: 13px;
  color: var(--ink-muted, oklch(0.45 0.010 152.5));
  font-weight: 400;
}
.classe-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--hudayi-green, oklch(0.467 0.131 152.5));
  color: #fff !important;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.1s;
  width: fit-content;
}
.classe-card__cta:hover {
  background: oklch(0.42 0.13 152.5);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ===== Étapes polish ===== */
.etape-block {
  position: relative;
  text-align: center;
  padding: 20px 16px;
}
.etape-block .step-number {
  font-family: var(--font-display, serif) !important;
  font-size: 64px !important;
  font-weight: 500 !important;
  color: var(--hudayi-gold, oklch(0.70 0.107 79.4)) !important;
  opacity: 1 !important;
  margin: 0 0 8px !important;
  line-height: 1 !important;
}
.etape-block .display-3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}
.etape-block::after {
  content: "→";
  position: absolute;
  top: 30px;
  right: -14px;
  width: auto;
  height: auto;
  border-top: 0;
  font-size: 24px;
  color: var(--hudayi-gold, oklch(0.70 0.107 79.4));
  opacity: 0.4;
}
@media (max-width: 760px) { .etape-block::after { display: none; } }
.col-md-4:last-child .etape-block::after { display: none; }

/* ===== Contact polish ===== */
.contact-card {
  background: #fff;
  border: 1px solid var(--border, oklch(0.88 0.008 152.5));
  border-radius: 14px;
  padding: 26px 24px;
  height: 100%;
}
.contact-card .display-3 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 4px;
}
.contact-card .contact-address {
  color: var(--ink-muted, oklch(0.45 0.010 152.5));
  margin: 0 0 18px;
  font-size: 14.5px;
}
.contact-card .contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border, oklch(0.88 0.008 152.5));
  font-size: 14px;
}
.contact-card .contact-row:first-of-type { border-top: 0; padding-top: 0; }
.contact-card .contact-row .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: oklch(0.95 0.04 152.5);
  color: var(--hudayi-green, oklch(0.467 0.131 152.5));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card .contact-row a {
  color: var(--ink, oklch(0.25 0.012 152.5));
  text-decoration: none;
  font-weight: 500;
}
.contact-card .contact-row a:hover { color: var(--hudayi-green, oklch(0.467 0.131 152.5)); }

.contact-map {
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border, oklch(0.88 0.008 152.5));
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ===== Subtle fade-in on scroll (CSS only) ===== */
@media (prefers-reduced-motion: no-preference) {
  .landing-fade {
    animation: landingFade 0.7s ease-out backwards;
  }
  .landing-fade.d2 { animation-delay: 0.1s; }
  .landing-fade.d3 { animation-delay: 0.2s; }
  .landing-fade.d4 { animation-delay: 0.3s; }
}
@keyframes landingFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
