/* ============================================================
   WHAZORA — SEO ENHANCEMENT STYLES
   Skip-link (a11y) + Section "Pourquoi Whazora" minimaliste
   + utilitaire sr-only (SEO invisible mais indexable).
   ============================================================ */

/* ===== sr-only — invisible visuellement, lu par Google + lecteurs d'écran ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Skip-to-content (accessibilité WCAG) ===== */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 99999;
  background: #060709;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.406px;
  border: 2px solid #5a9a7a;
  transition: top 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 3px solid #5a9a7a;
  outline-offset: 2px;
}

/* ============================================================
   Section "Pourquoi Whazora" — design minimal moderne
   ============================================================ */
.section-why {
  padding: 96px 0 88px;
  position: relative;
}
.section-why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.4), transparent);
  pointer-events: none;
}

/* --- Header de section --- */
.why-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.why-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(37, 211, 102, 0.08);
  color: #5a9a7a;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 999px;
  font-size: 12.348px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.section-why h2 {
  font-size: clamp(30.87px, 4vw, 45.276px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.section-why h2 .text-gradient {
  background: linear-gradient(135deg, #5a9a7a 0%, #7ab89a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-lead {
  font-size: 15.435px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-weight: 400;
}

/* --- Grille : 3×2 desktop / 2×3 tablette / 1 col mobile --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; gap: 10px; } }

/* --- Card --- */
.why-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}
.why-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0), transparent);
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.why-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.25);
  background: rgba(255, 255, 255, 0.035);
}
.why-card:hover::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.6), transparent);
}
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(37, 211, 102, 0.1);
  color: #5a9a7a;
  font-size: 14.406px;
  margin-bottom: 14px;
}
.why-card h3 {
  font-size: 15.9495px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.why-card p {
  font-size: 13.8915px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  font-weight: 400;
}

/* --- Trust links cachés visuellement (choix produit) --- */
.why-trust-link,
.trust-link {
  display: none !important;
}

/* --- Sections réservées à la version FR (masquées en EN) --- */
html[lang="en"] #pourquoi-whazora,
html[lang="en"] #fondateur,
html[lang="en"] .section-founder,
html.lang-en #pourquoi-whazora,
html.lang-en #fondateur,
html.lang-en .section-founder {
  display: none !important;
}
