@charset "UTF-8";

/* ============================
   VARIABLES & RESET
   ============================ */

:root {
  --primary-blue: #0b1b3b;
  --primary-blue-dark: #06132b;
  --primary-blue-light: #e0f2ff;
  --accent-orange: #ffa726;

  --bg-white: #ffffff;
  --bg-light: #f9fafb;

  --text-dark: #111827;
  --text-gray: #6b7280;
  --text-muted: #9ca3af;

  --border-color: #e5e7eb;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}

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

ul {
  list-style: none;
}

.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;
}

/* ============================
   LAYOUT
   ============================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  padding: 6rem 0;
  background: var(--bg-light);
}

/* ============================
   TYPO
   ============================ */

h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 2.6vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.6rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
  color: var(--text-gray);
}

/* ============================
  TOP BAR
========================*/
.top-bar {
  background: var(--primary-blue);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}

/* conteneur général */
.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}

/* zone du texte qui défile */
.top-bar-left {
  flex: 1;
  overflow: hidden;
}

/* le texte qui bouge */
.top-bar-announcement {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: topBarScroll 18s linear infinite;
}

/* zone des liens à droite */
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.top-bar-link {
  color: #ffffff;
  opacity: 0.85;
  font-weight: 500;
}

.top-bar-link:hover {
  opacity: 1;
}

/* animation du texte */
@keyframes topBarScroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}


/* ============================
   NAVIGATION
   ============================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  box-shadow: none;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Bouton "Espace membres" */
.member-btn {
  font-size: 0.9rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--primary-blue);
  font-weight: 500;
}

/* classe utilitaire qu’on utilisera pour mobile */
.mobile-only {
  display: none;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Liens nav desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

/* Bouton "Espace membres" desktop à droite */
.nav-buttons {
  display: flex;
  align-items: center;
}

/* Burger + menu mobile (base) */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  cursor: pointer;
}

.mobile-nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-dark);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  padding: 1.75rem 2rem 2.25rem;
  position: fixed;
  top: 70px;
  /* Height of nav */
  left: 0;
  width: 100%;
  z-index: 999;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========= VERSION MOBILE < 768px ========= */
@media (max-width: 768px) {

  .nav {
    height: 64px;
  }

  .mobile-menu {
    top: 64px;
    max-height: calc(100vh - 64px);
  }

  .nav-container {
    padding: 0 1.25rem;
  }

  /* cacher les éléments desktop */
  .nav-links,
  .nav-buttons {
    display: none !important;
  }

  /* bouton "Espace membres" visible à gauche */
  .member-btn.mobile-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.35rem 0.8rem;
  }

  /* centrer le logo */
  .logo-container {
    margin: 0 auto;
  }

  /* Absolute centering for mobile logo */
  .logo-container.mobile-centered {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    margin: 0;
  }

  .logo-img {
    max-height: 42px;
  }

  /* burger à droite */
  .mobile-nav-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* ====== fin NAVIGATION ====== */
/* ============================
   BUTTONS
   ============================ */

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 0.7rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn-primary {
  background: var(--primary-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: #ffffff;
}

.btn-large {
  padding: 1rem 2.3rem;
}

/* ============================
   HERO
   ============================ */

.hero {
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4ff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  background: linear-gradient(to top,
      var(--accent-orange) 0,
      var(--accent-orange) 0.3em,
      transparent 0.3em);
  padding: 0 0.18em;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.hero-visual img {
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
}

/* ============================
   QUIZ MODAL
   ============================ */

.quiz-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.quiz-modal {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 2.5rem 2.75rem;
  width: 90%;
  max-width: 520px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.quiz-step {
  display: none;
  text-align: center;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  color: var(--primary-blue);
}

.quiz-step p {
  margin-bottom: 1.75rem;
}

.quiz-btn,
.quiz-option {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: #ffffff;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.quiz-btn:hover,
.quiz-option:hover {
  background: var(--primary-blue-light);
  border-color: var(--primary-blue);
  transform: translateY(-1px);
}

.close-quiz-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  font-size: 1.7rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #9ca3af;
}

.close-quiz-btn:hover {
  color: var(--primary-blue);
}

.quiz-progress {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

#quiz-form input[type="email"] {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  font-family: inherit;
}

/* ============================
   FONCTIONNALITÉS
   ============================ */

.features-section {
  padding: 6rem 0;
  background: #f7f7f9;
}

.features-section .container {
  max-width: 1120px;
}

.features-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.features-header p {
  max-width: 640px;
  margin: 0 auto;
}

/* pills */

.features-pill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-pill {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.25rem 1.2rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-pill-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.1rem;
}

.feature-pill h3 {
  font-size: 0.98rem;
  font-weight: 600;
}

.feature-pill p {
  font-size: 0.9rem;
}

/* blocs détaillés */

.feature-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.feature-detail-media img {
  border-radius: 1.6rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.feature-detail-text h3 {
  margin-bottom: 0.9rem;
}

.feature-detail-text p {
  margin-bottom: 0.7rem;
}

.feature-detail--reverse .feature-detail-media {
  order: 2;
}

/* comparatif */

.features-compare {
  margin: 1rem 0 4.5rem;
}

.features-compare-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.features-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.compare-card {
  background: #ffffff;
  border-radius: 1.6rem;
  padding: 2rem 2rem 2.3rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.compare-card--highlight {
  background: linear-gradient(135deg, #0b1b3b, #162447);
  color: #ffffff;
  border: none;
}

.compare-card h3 {
  margin-bottom: 0.3rem;
}

.compare-subtitle {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  opacity: 0.9;
}

.compare-card ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.compare-card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-orange);
}

.compare-card--highlight ul li::before {
  color: #ffda7b;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

/* vue d'ensemble */

.features-overview {
  margin-top: 2rem;
}

.features-overview h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.features-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.overview-item {
  background: #ffffff;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.overview-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ============================
   PRICING
   ============================ */

#pricing {
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 2rem 2rem 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.pricing-card-featured {
  border-width: 2px;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
  color: #ffffff;
  padding: 0.3rem 1.3rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-badge {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: #eef2ff;
  color: var(--primary-blue);
  margin-bottom: 0.7rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.price-currency {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-gray);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 0.4rem;
}

.pricing-features {
  margin: 0 0 1.6rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ============================
   FAQ
   ============================ */

#faq {
  background: var(--bg-light);
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  cursor: pointer;
  padding: 1.1rem 3.3rem 1.1rem 1.5rem;
  position: relative;
  font-weight: 600;
  color: var(--text-dark);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

details[open]>.faq-question::after {
  content: "−";
  background: var(--accent-orange);
  color: #ffffff;
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text-gray);
}

/* ============================
   CTA
   ============================ */

.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, #0b1b3b, #162447);
  color: #ffffff;
}

.cta-badge {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.cta-section h2 {
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ============================
   FOOTER MODERNE
   ============================ */

.footer {
  background-color: #0a1a2b;
  color: #ffffff;
  padding: 3.5rem 0 2.5rem;
  margin-top: 4rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1 1 260px;
}

.footer-logo {
  width: 40px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-left p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-copy {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-cols {
  flex: 2 1 360px;
  display: flex;
  justify-content: flex-end;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

/* Force centering with high specificity */
.footer-col .social-icons .social-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 0 !important;
  font-size: 0 !important;
}

.footer-col .social-icons .social-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: #ffffff;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  display: block;
  margin: 0;
  padding: 0;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* ============================
   REVIEWS / TÉMOIGNAGES
   ============================ */

.reviews-section {
  padding: 4rem 0;
  background: #fafafa;
}

.reviews-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.reviews-title span {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 28px rgba(0, 0, 0, 0.12);
}

.review-text {
  font-style: italic;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-author {
  font-weight: 700;
  color: var(--primary-blue);
}

.review-role {
  color: #777;
  margin-top: 0.2rem;
}

/* ============================
   SUPPORT FOOTER (page support)
   ============================ */

.support-footer {
  background-color: #0b1b3b;
  color: #ffffff;
  width: 100%;
  margin-top: 3rem;
}

.support-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.support-footer-copy {
  font-size: 0.9rem;
  opacity: 0.85;
}

.support-footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.support-footer-social span {
  font-weight: 600;
}

.support-footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.support-footer-icon svg {
  width: 17px;
  height: 17px;
}

.support-footer-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
  transform: translateY(-1px);
}

.support-footer a {
  color: #ffffff;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 1024px) {
  .features-pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-detail {
    grid-template-columns: 1fr;
  }

  .feature-detail--reverse .feature-detail-media {
    order: 0;
  }

  .features-compare-grid {
    grid-template-columns: 1fr;
  }

  .features-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    order: -1;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .features-pill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cols {
    justify-content: flex-start;
  }

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

@media (max-width: 540px) {
  .features-pill-grid {
    grid-template-columns: 1fr;
  }

  .features-overview-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-content {
    padding: 0 1rem;
    font-size: 0.75rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}

/* ============================
   QUIZ POPUP (landing) – doublon safe
   ============================ */

.quiz-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.quiz-modal {
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 2.3rem 2.6rem;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  position: relative;
}

.quiz-step {
  display: none;
  text-align: left;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--primary-blue);
}

.quiz-step p {
  margin-bottom: 1.3rem;
  color: var(--text-gray);
}

.quiz-btn,
.quiz-option {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border-color);
  background: #ffffff;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease, box-shadow 0.18s ease;
}

.quiz-btn:hover,
.quiz-option:hover {
  background: var(--primary-blue-light);
  border-color: var(--primary-blue);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.quiz-progress {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.close-quiz-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  color: #9ca3af;
  cursor: pointer;
}

.close-quiz-btn:hover {
  color: var(--primary-blue);
}

#quiz-form input[type="email"] {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 0.8rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 0.95rem;
}

#quiz-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(11, 27, 59, 0.1);
}