/* ============================================================
   MOOFL REDESIGN — inspiré doctoranytime.be
   Surcharge la palette + typographie + composants clés.
   Linké après styles.css sur toutes les pages.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;500;600;700;800&display=swap');

:root {
  /* — Palette Moofl (charte Claude — daylight) — */
  --blue-900: #061A3A;
  --blue-800: #0C3168;
  --blue-700: #114690;
  --blue-700: #114690;   /* texte principal accent (déjà défini ci-dessus) */
  --blue-600: #1657B5;   /* hover CTA */
  --blue-500: #1E6BD8;   /* CTA principal */
  --blue-400: #3F7DE6;
  --blue-300: #6FA0F2;
  --blue-200: #A6C5FA;
  --blue-100: #D1E2FD;
  --blue-50:  #EAF2FE;

  --accent:   #0BA3A8;   /* teal signature — CTA secondaire */
  --accent-50: #F0FAFA;  /* hover bg pour CTA secondaire */
  --accent-2: #077073;   /* hover text/border CTA secondaire */
  --green:    #10A36B;   /* success */
  --green-700: #097050;  /* green darker — pour texte/icônes lisibles sur fond clair */
  --green-soft: #B5E0C8;
  --green-bg:   #E6F7EE;

  --lilac:     #6E4FDB;
  --lilac-soft:#C8B4E6;
  --lilac-bg:  #EFEAFC;

  --coral:     #E0395E;
  --coral-soft:#F5BCC8;

  --text-primary:   #0F1F3A;
  --text-secondary: #5B6B85;
  --text-muted:     #5B6B85;

  --bg:       #FFFFFF;
  --bg-soft:  #F4F7FB;
  --bg-tint:  #EAF2FE;

  --border:   #E5EAF2;
  --border-strong: #CBD5E1;

  --radius-sm:   8px;
  --radius:      8px;
  --radius-lg:   8px;
  --radius-xl:   8px;
  --radius-card: 8px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(6,26,58,.04), 0 1px 3px rgba(6,26,58,.03);
  --shadow:    0 4px 16px rgba(6,26,58,.06);
  --shadow-lg: 0 10px 32px rgba(6,26,58,.08);
  --shadow-xl: 0 20px 48px rgba(6,26,58,.10);
}

body {
  font-family: 'Geologica', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Geologica', system-ui, sans-serif;
  letter-spacing: -0.02em;
  /* color non forcée — héritée du parent (white sur fonds foncés, text-primary sinon via body) */
}

.highlight {
  background: var(--blue-500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── NAVBAR ─── */
.nav {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: all .25s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(6,26,58,.02);
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: .95rem;
  transition: color .15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue-500); }
.nav-links a.active::after {
  background: var(--blue-600);
  height: 2px;
  border-radius: 2px;
}
/* Sélecteur de langue (dropdown) */
.lang-switcher { position: relative; display: inline-block; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-weight: 500;
  padding: .45rem .7rem .45rem .65rem;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: 1;
}
.lang-toggle:hover,
.lang-switcher:focus-within .lang-toggle {
  border-color: var(--blue-300);
  color: var(--blue-600);
}
.lang-toggle .flag { font-size: 1.05em; line-height: 1; }
.lang-toggle .chevron { transition: transform .15s ease; opacity: .7; }
.lang-switcher:hover .lang-toggle .chevron,
.lang-switcher:focus-within .lang-toggle .chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 170px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15,31,58,0.08);
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 100;
}
.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .7rem;
  border-radius: 6px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: .92rem;
  white-space: nowrap;
}
.lang-option:hover { background: var(--blue-50); color: var(--blue-600); }
.lang-option.active { background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.lang-option .flag { font-size: 1.1em; line-height: 1; }
.btn-ghost {
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 8px;
  padding: .55rem 1.1rem;
  background: transparent;
}
.btn-ghost:hover { background: var(--blue-50); color: var(--blue-500); }
.btn-primary {
  background: var(--blue-500);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: .65rem 1.3rem;
  transition: all .2s ease;
}
.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  background: var(--blue-50);
  padding-top: clamp(5rem, 10vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-blob-1 { background: transparent; }
.hero-blob-2 { background: transparent; }
.hero-blob-3 { background: transparent; }
.hero-badge {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: .5rem 1rem;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(7,26,58,.15);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}
.btn-hero-primary {
  background: var(--blue-500);
  color: #fff;
  border-radius: 8px;
  padding: 1rem 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: all .2s ease;
}
.btn-hero-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
}
.btn-hero-secondary {
  background: #fff;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  padding: 1rem 1.6rem;
  font-weight: 600;
  transition: all .2s ease;
}
.btn-hero-secondary:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: var(--accent-50, #F0FAFA);
}
.hero-trust {
  color: var(--text-muted);
  font-weight: 500;
}
.hero-trust-sep { background: var(--border-strong); }
.hero-visual-main {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(6,26,58,.20),
              0 12px 24px -12px rgba(7,26,58,.12);
}

/* ─── TRUST CARDS — doctoranytime-style split layout ─── */
.trust-band {
  background: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.trust-eyebrow {
  color: var(--blue-600);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.trust-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  display: flex;
  flex-direction: column;
}
.trust-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Top visual area — large colored block with circular icon */
.trust-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.trust-card:nth-child(1) .trust-visual { background: var(--blue-50); }
.trust-card:nth-child(2) .trust-visual { background: var(--green-bg); }
.trust-card:nth-child(3) .trust-visual { background: var(--lilac-bg); }
.trust-card:nth-child(4) .trust-visual { background: #fff4e6; }

.trust-icon {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(6,26,58,.10);
  margin: 0;
  transition: transform .25s ease;
}
.trust-icon svg { width: 36px; height: 36px; }
.trust-card:hover .trust-icon { transform: scale(1.06); }
.trust-icon img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  display: block;
}
.trust-card:nth-child(1) .trust-icon { color: var(--blue-600); }
.trust-card:nth-child(2) .trust-icon { color: var(--green-700); }
.trust-card:nth-child(3) .trust-icon { color: var(--lilac); }
.trust-card:nth-child(4) .trust-icon { color: #e64200; }

/* Bottom content area — white, padded */
.trust-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .55rem;
}
.trust-badge {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  margin: 0 0 .15rem;
  align-self: flex-start;
}
.trust-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--text-primary);
}
.trust-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.trust-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .85rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-600);
  text-decoration: none;
  align-self: flex-start;
  transition: gap .2s ease, color .2s ease;
}
.trust-link:hover {
  gap: .6rem;
  color: var(--blue-700);
}
.trust-link svg { transition: transform .2s ease; }

/* ─── SECTION HEADERS ─── */
.section-tag {
  color: var(--blue-600);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--blue-50);
  padding: .4rem .9rem;
  border-radius: var(--radius-pill);
  display: inline-block;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ─── FEATURES ─── */
.features {
  background: #ffffff;
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  box-shadow: none;
  transition: all .25s ease;
}
.feature-card:hover {
  border-color: var(--blue-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.feature-icon.blue   { background: var(--blue-50);  }
.feature-icon.purple { background: var(--lilac-bg); }
.feature-icon.green  { background: var(--green-bg); }
.feature-icon.pink   { background: #fde8ed;         }
.feature-icon.cyan   { background: #e0f4fc;         }
.feature-icon.orange { background: #fff4e6;         }
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
}
.feature-tag {
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .05em;
  padding: .25rem .6rem;
}
.feature-tag.new { background: var(--green-bg); color: var(--green-700); }
.feature-tag.ai  { background: var(--lilac-bg); color: var(--lilac); }
.features-more {
  background: #fff;
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: 8px;
  padding: .85rem 1.6rem;
  font-weight: 600;
  transition: all .2s ease;
}
.features-more:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

/* ─── PRICING ─── */
.pricing {
  background: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.billing-toggle {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .35rem;
}
.toggle-btn {
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-muted);
  padding: .55rem 1.2rem;
  transition: all .2s ease;
}
.toggle-btn.active {
  background: var(--blue-500);
  color: #fff;
}
.save-chip {
  background: var(--green-bg);
  color: var(--green-700);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .72rem;
  padding: .2rem .55rem;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 60px -20px rgba(7,26,58,.20);
  width: 580px;          /* largeur fixe — anti micro-resize au toggle */
  max-width: 100%;       /* sécurité mobile */
  max-width: 580px;
  margin: 0 auto;
}
.hero-card-tag {
  color: var(--blue-600);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-card-badge {
  background: var(--blue-600);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .72rem;
  padding: .35rem .8rem;
}
.hero-card-plan {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 1rem 0 .5rem;
}
.hero-card-plan-sub {
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.55;
}
.price-integer {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-variant-numeric: tabular-nums;   /* chiffres équilargeur — anti shift entre 29 et 34 */
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}
.price-euro, .price-fraction {
  color: var(--text-primary);
  font-weight: 700;
}
.price-period { color: var(--text-muted); font-weight: 500; }
.hero-card-cta {
  background: var(--blue-500);
  color: #fff;
  border-radius: 8px;
  padding: 1rem 1.6rem;
  font-weight: 700;
  transition: all .2s ease;
  display: inline-flex; align-items: center; gap: .6rem;
}
.hero-card-cta:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
}
.hero-card-guarantees { color: var(--text-muted); }

/* ─── OFFERS BAND ─── */
.offers-band { margin-top: 3rem; }
.offer-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: all .25s ease;
}
.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer-trial { background: var(--green-bg); border-color: var(--green-soft); }
.offer-trial .offer-icon { background: #fff; }
.offer-grad  { background: var(--lilac-bg); border-color: var(--lilac-soft); }
.offer-grad .offer-icon  { background: #fff; }
.offer-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  font-size: 1.6rem;
}
.offer-title { font-weight: 700; color: var(--text-primary); }
.offer-text  { color: var(--text-muted); }

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: var(--bg-tint);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: none;
  transition: all .25s ease;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.star { color: #f5b400; }
.testimonial-text {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}
.testimonial-name { font-weight: 700; color: var(--text-primary); }
.testimonial-role { color: var(--text-muted); font-size: .85rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
}
.testimonial-avatar.av-1 { background: var(--blue-600); }
.testimonial-avatar.av-2 { background: var(--green); }
.testimonial-avatar.av-3 { background: var(--lilac); }
.testimonial-avatar.av-4 { background: #e64200; }

/* ─── PARTNERS ─── */
.partners {
  background: #fff;
  padding: 3rem 0;
}
.partners-label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.partner-logo {
  filter: none;
  opacity: 1;
  transition: transform .25s ease;
}
.partner-logo:hover { transform: translateY(-2px); }

/* ─── HOW IT WORKS ─── */
.howitworks {
  background: var(--bg-soft);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: none;
  transition: all .25s ease;
}
.step:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(7,26,58,.25);
  margin-bottom: 1.2rem;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.step p  { color: var(--text-muted); line-height: 1.6; }
.step-detail {
  color: var(--green-700);
  font-weight: 600;
  font-size: .85rem;
  background: var(--green-bg);
  padding: .35rem .7rem;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem;
}

/* ─── CTA SECTION ─── */
.cta-section {
  background: var(--blue-700);
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  max-width: min(1200px, calc(100% - 2.5rem));
  margin: 4rem auto;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.cta-section p {
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.6;
}
.cta-blob-1 { background: transparent; }
.cta-blob-2 { background: transparent; }
.btn-cta-white {
  background: #fff;
  color: var(--blue-700);
  border-radius: 8px;
  padding: 1rem 1.8rem;
  font-weight: 700;
  transition: all .2s ease;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
}
.btn-cta-outline {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  border-radius: 8px;
  padding: 1rem 1.8rem;
  font-weight: 600;
  background: transparent;
  transition: all .2s ease;
}
.btn-cta-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer h4 {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  margin-bottom: 1.2rem;
}
.footer-brand p,
.footer .address { color: rgba(255,255,255,.65); line-height: 1.7; font-size: .9rem; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color .15s ease;
}
.footer-links a:hover { color: #fff; }
.footer-divider { background: rgba(255,255,255,.08); }
.footer-bottom { color: rgba(255,255,255,.55); font-size: .85rem; }
.social-btn {
  background: rgba(255,255,255,.08);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: all .2s ease;
}
.social-btn:hover { background: var(--blue-600); transform: translateY(-2px); }

/* ============================================================
   COULEUR UNIFIÉE POUR TOUTES LES PHRASES SECONDAIRES
   #5B6B85 (= var(--text-muted)) — couleur du paragraphe sous
   "Vos données de santé, notre priorité absolue" sur la page RGPD.
   ============================================================ */
.section-sub,
.hero-sub,
.page-hero-sub,
.about-hero-sub,
.events-hero-sub,
.faq-hero-sub,
.cmp-hero p.lead,
.cat-sub,
.cell-text,
.col-tagline,
.faq-banner-text,
.faq-help-text,
.hero-card-plan-sub,
.hero-features-note,
.hero-features-sub,
.module-tagline,
.nl-footnote,
.offer-text,
.pillar-sub,
.pillar-text,
.security-contacts-text,
.security-pillar-text,
.security-pillar-sub,
.sla-text,
.sla-desc,
.value-desc,
.win-text,
.event-text,
.featured-text,
.contact-text,
.control-text,
.host-text,
.faq-banner-text,
.feature-card p,
.trust-card p,
.module-card p,
.value-card p,
.mission-card p,
.security-card p,
.event-card p,
.featured-card p,
.contact-card p,
.control-card p,
.sla-card p,
.host-card p,
.win-card:not(.highlight) p,
.step p,
.testimonial-role {
  color: var(--text-muted);
}

/* ============================================================
   PAGES INTERNES — tarification, à propos, événements, faq, rgpd
   Mêmes principes : grand radius, ombres douces, palette bleu royal
   ============================================================ */

/* ─── PAGE HEROES (variantes du .hero principal) ─── */
.page-hero,
.about-hero,
.events-hero,
.faq-hero,
.cmp-hero {
  background: var(--blue-50);
  padding-top: clamp(5rem, 10vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  position: relative;
}
.page-hero h1,
.about-hero h1,
.events-hero h1,
.faq-hero h1,
.cmp-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.page-hero-sub,
.about-hero-sub,
.events-hero-sub,
.faq-hero-sub,
.cmp-hero p.lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}
.page-hero-badge,
.about-hero-eyebrow,
.events-hero-eyebrow,
.faq-hero-eyebrow,
.cmp-hero-eyebrow {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  padding: .5rem 1rem;
  font-weight: 600;
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.page-hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(7,26,58,.15);
}
.page-hero-trust,
.about-hero-trust,
.events-hero-trust {
  color: var(--text-muted);
  font-weight: 500;
}
.page-hero-trust-sep,
.about-hero-trust-sep,
.events-hero-trust-sep {
  background: var(--border-strong);
}
.page-hero-blob-1, .about-hero-blob-1, .events-hero-blob-1, .faq-hero-blob-1 {
  background: transparent;
}
.page-hero-blob-2, .about-hero-blob-2, .events-hero-blob-2, .faq-hero-blob-2 {
  background: transparent;
}
.page-hero-blob-3, .about-hero-blob-3, .events-hero-blob-3, .faq-hero-blob-3 {
  background: transparent;
}

/* ─── SECTIONS GÉNÉRIQUES (fonds & padding) ─── */
.pricing-section,
.modules,
.featured-event,
.security,
.bounty,
.rgpd-contacts,
.legal,
.faq-section {
  background: #fff;
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.value,
.mission,
.controls,
.sla,
.rgpd-details,
.faq:not(.faq-section),
.ev-section {
  background: var(--bg-soft);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.ev-section.alt {
  background: #fff;
}

/* ─── CARTES GÉNÉRIQUES ─── */
.module-card,
.value-card,
.mission-card,
.security-card,
.event-card,
.featured-card,
.contact-card,
.control-card,
.sla-card,
.host-card,
.win-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: none;
  transition: all .25s ease;
}
.module-card:hover,
.value-card:hover,
.mission-card:hover,
.security-card:hover,
.event-card:hover,
.featured-card:hover,
.contact-card:hover,
.control-card:hover,
.sla-card:hover,
.host-card:hover,
.win-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
/* Carte "highlight" sur la page comparatif (la card mise en avant) */
.win-card.highlight {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: #fff;
}
.win-card.highlight .win-title,
.win-card.highlight h3 { color: #fff; }
.win-card.highlight .win-text,
.win-card.highlight p { color: rgba(255,255,255,.9); }
.win-card.highlight:hover { border-color: var(--blue-700); }
.module-card h3,
.value-card h3,
.mission-card h3,
.security-card h3,
.event-card h3,
.contact-card h3,
.control-card h3,
.sla-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.module-card p,
.value-card p,
.mission-card p,
.security-card p,
.event-card p,
.contact-card p,
.control-card p,
.sla-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: .94rem;
}

/* ─── ICÔNES PILL PASTEL ─── */
.module-icon,
.security-icon,
.security-pillar-icon,
.security-contacts-icon,
.contact-icon,
.control-icon,
.detail-icon,
.faq-help-icon,
.faq-banner-icon,
.replay-empty-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.module-icon svg,
.security-icon svg,
.security-pillar-icon svg,
.security-contacts-icon svg,
.contact-icon svg,
.control-icon svg,
.detail-icon svg,
.faq-help-icon svg,
.faq-banner-icon svg,
.replay-empty-icon svg {
  width: 26px; height: 26px;
}
/* Variations couleur (par position) — quelques touches pastels */
.modules-grid > :nth-child(2) .module-icon { background: var(--green-bg); color: var(--green-700); }
.modules-grid > :nth-child(3) .module-icon { background: var(--lilac-bg); color: var(--lilac); }
.modules-grid > :nth-child(4) .module-icon { background: #fff4e6; color: #e64200; }
.controls-grid > :nth-child(2) .control-icon { background: var(--green-bg); color: var(--green-700); }
.controls-grid > :nth-child(3) .control-icon { background: var(--lilac-bg); color: var(--lilac); }
.security-grid > :nth-child(2) .security-icon,
.security-grid > :nth-child(2) .security-pillar-icon { background: var(--green-bg); color: var(--green-700); }
.security-grid > :nth-child(3) .security-icon,
.security-grid > :nth-child(3) .security-pillar-icon { background: var(--lilac-bg); color: var(--lilac); }

/* ─── STAT / NOMBRES ─── */
.value-num,
.sla-num,
.bounty-stat-num,
.mission-card-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.value-label,
.sla-label,
.bounty-stat-label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: .95rem;
  margin-top: .25rem;
}
.value-desc,
.sla-desc {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.55;
  margin-top: .5rem;
}

/* ─── LISTES À CHECK ─── */
.module-list,
.rights-list,
.presence-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.module-list li,
.rights-list li,
.presence-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .4rem 0;
  font-size: .92rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.module-list li svg,
.rights-list li svg,
.presence-list li svg {
  width: 16px; height: 16px;
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: .2rem;
}

/* ─── BADGE "INCLUS" ─── */
.module-included {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--green-bg);
  color: var(--green-700);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: var(--radius-pill);
  margin-top: 1.2rem;
}
.module-included::before {
  background: var(--green);
  color: #fff;
  width: 14px;
  height: 14px;
  font-size: .6rem;
}

/* ─── FAQ BANNER (carte de redirection vers FAQ) ─── */
.faq-banner {
  background: var(--blue-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: none;
}
.faq-banner-content { flex: 1; min-width: 240px; }
.faq-banner-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: var(--text-primary);
}
.faq-banner-text {
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.55;
}
.faq-banner-btn {
  background: var(--blue-500);
  color: #fff;
  border-radius: 8px;
  padding: .85rem 1.4rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  transition: all .2s ease;
}
.faq-banner-btn:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
}
.faq-banner-icon {
  background: #fff;
  margin-bottom: 0;
}

/* ─── FAQ LIST (accordéons) ─── */
.faq-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.faq-list > li,
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  transition: all .2s ease;
}
.faq-list > li:hover,
.faq-list details:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow);
}
.faq-list summary {
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }

/* ─── HOST CARD (rgpd) ─── */
.host-card {
  background: var(--blue-50);
}

/* ─── PRICING SECTION (page tarification) ─── */
.pricing-section .billing-toggle-wrap {
  text-align: center;
  margin-bottom: 2.5rem;
}
.pricing-section .hero-pricing-grid {
  display: grid;
  place-items: center;
}

/* Resserre l'espace entre le hero et la carte de prix (page tarif) */
.page-hero {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.pricing-section {
  padding-top: clamp(2rem, 3.5vw, 3rem);
}

/* ─── NEWSLETTER (page evenements) ─── */
.newsletter {
  background: var(--blue-700) !important;
  color: #fff;
}
.newsletter h2,
.newsletter p { color: #fff; }
.newsletter input[type="email"] {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
}
.newsletter input[type="email"]::placeholder { color: rgba(255,255,255,.7); }
.nl-submit,
.newsletter button {
  background: #fff !important;
  color: var(--blue-700) !important;
}

/* ─── COMPARATIF — table & sections ─── */
.cmp-table-section { background: var(--bg-soft); }
.cmp-table {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
}
.cmp-table th,
.cmp-table td {
  border-color: var(--border);
}
.cmp-table th {
  background: var(--blue-50);
  color: var(--text-primary);
  font-weight: 700;
}

/* ─── BOUNTY (page rgpd, section dark) ─── */
.bounty .bounty-stat-num { color: var(--blue-300); }

/* ─── Pillar icon variantes (rgpd) ─── */
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── FOOTER (uniformisation) ─── */
.footer-social .social-btn { font-style: normal; }

/* ═══════════════════════════════════════════════════════
   SKELETONS GLOBAUX (placeholders "à venir")
   ═══════════════════════════════════════════════════════ */
.skel-bar {
  display: block;
  height: 10px;
  background: #E5EAF2;
  border-radius: 4px;
  margin-bottom: .5rem;
  width: 100%;
}
.skel-bar-name  { width: 55%; height: 11px; background: #D7DEE8; margin-bottom: .35rem; }
.skel-bar-role  { width: 38%; height: 9px; margin-bottom: 0; }
.skel-bar-short { width: 65%; }
.skel-dot {
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #E5EAF2;
}
.skel-dot-sm { width: 14px; height: 14px; }
.skel-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #D7DEE8;
  flex-shrink: 0;
}
.skel-stars { display: flex; gap: .35rem; margin-bottom: 1rem; }

.coming-soon-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: .35rem .75rem;
  border-radius: 100px;
  margin-top: .75rem;
}
.coming-soon-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-700);
}

.testimonial-skel { pointer-events: none; opacity: .98; }
.testimonial-skel .testimonial-text {
  font-style: normal;
  margin-bottom: 1.25rem;
  display: block;
}
.testimonial-skel .testimonial-text::before { display: none; }
.testimonial-skel .testimonial-author { gap: .85rem; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE PATCHES (tablette + mobile)
   ═══════════════════════════════════════════════════════ */

/* ─── Tablette / petit desktop ─── */
@media (max-width: 1024px) {
  /* Hero RGPD : annule le décalage hors viewport sur petits écrans */
  .rgpd-prose-grid,
  .rgpd-prose-grid-rev {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ─── Menu hamburger (≤ 900px) ─── */
@media (max-width: 900px) {
  /* Sélecteur de langue : empile dans le menu hamburger plein largeur */
  .lang-switcher {
    width: 100%;
    position: relative;
  }
  .lang-toggle {
    width: 100%;
    justify-content: space-between;
    padding: .75rem 1rem;
    font-size: .95rem;
  }
  .lang-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px;
    margin-top: 6px;
    min-width: auto;
    transform: none;
    transition: max-height .25s ease, opacity .2s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
  }
  .lang-switcher:hover .lang-menu,
  .lang-switcher:focus-within .lang-menu,
  .lang-switcher.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
  }
  .lang-option { padding: .75rem 1rem; font-size: .95rem; }

  /* Trust band : réduire le padding latéral et resserrer le grid */
  .trust-band { padding: clamp(2.5rem, 5vw, 4rem) 1.25rem; }
  .trust-icon { width: 96px; height: 96px; }
  .trust-icon svg { width: 28px; height: 28px; }

  /* Hero card pricing : ne pas forcer 580px de large sur mobile */
  .hero-card { width: 100%; max-width: 100%; }
}

/* ─── Mobile (≤ 640px) ─── */
@media (max-width: 640px) {
  /* Trust cards : icône réduite */
  .trust-icon { width: 80px; height: 80px; }
  .trust-icon svg { width: 24px; height: 24px; }

  /* Partner cards : hiérarchie tassée et logo plus compact */
  .partner-card { padding: 1rem 1.1rem; gap: 1rem; }
  .partner-card-logo { width: 64px; height: 48px; }
  .partner-card-content h4 { font-size: .9rem; }
  .partner-card-content p { font-size: .75rem; }

  /* Hero RGPD : empile texte + image */
  .rgpd-prose-grid,
  .rgpd-prose-grid-rev { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1rem; }
  .rgpd-prose-text p { max-width: 100%; }
  .rgpd-prose-visual img { max-width: 280px; margin: 0 auto; }

  /* Steps & how-it-works : padding réduit */
  .step { padding: 1.5rem 1.25rem; }
}

/* ─── Pages légales (header + corps de doc) ─── */
@media (max-width: 600px) {
  .legal-header { padding: .85rem 1rem !important; }
  .legal-header-inner { gap: .5rem !important; }
  .legal-header-logo img { height: 24px !important; }
  .legal-header-back { font-size: .8rem !important; }
  .legal-doc { padding: 2.5rem 1.25rem 3.5rem !important; }
  .legal-doc h1 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  .legal-doc h2 { font-size: 1.2rem !important; }
  .legal-doc h3 { font-size: 1rem !important; }
  .legal-doc p, .legal-doc ul { font-size: .88rem !important; }
}

/* ─── Très petit mobile (≤ 360px) ─── */
@media (max-width: 360px) {
  .hero-card-plan { font-size: 1.05rem; }
  .price-integer { font-size: 3.5rem !important; }
  .hero-trust-item { font-size: .75rem; }
  .features-grid .feature-card { padding: 1rem; }
}

