/* ============================================
   POLICES AUTO-HÉBERGÉES
   ============================================ */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../fonts/SpaceMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Italic.woff2') format('woff2');
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

/* ============================================
   unmondededifferences.fr — main.css v3
   ============================================ */

:root {
  /* Palette */
  --cream:      #F5F2EC;
  --cream2:     #EDE9DF;
  --white:      #FFFFFF;
  --night:      #0E1628;
  --navy:       #0C0A2E;
  --navy2:      #131645;
  --text:       #1A1A2E;
  --muted:      #64748B;
  --muted2:     #94A3B8;

  /* Coral — accent principal */
  --coral:      #E05A3A;
  --coral-dark: #B8412A;
  --coral-glow: rgba(224,90,58,0.28);
  --coral-bg:   #FDF1EE;
  --coral-pale: #FEF7F5;

  /* Green — conservé pour check-list et pages existantes */
  --green:      #52B870;
  --green-dark: #368F52;
  --green-glow: rgba(82,184,112,0.35);
  --green-bg:   #E8F7EE;
  --green-pale: #F0FAF4;

  /* Typography */
  --sans:  'DM Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --mono:  'Space Mono', monospace;

  /* Radius */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);

  /* Spacing system */
  --section-v: 6rem;

  /* Misc */
  --border:  rgba(0,0,0,0.07);
  --border2: rgba(0,0,0,0.12);
  --t: 0.22s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.2rem); }
h4 { font-size: 1rem; }

p { line-height: 1.8; }
a { color: var(--coral-dark); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--coral); }
strong { font-weight: 700; }

/* LAYOUT */
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: var(--section-v) 2rem;
}
.narrow {
  max-width: 760px;
  margin: 0 auto;
}

/* SECTION LABEL — tag uppercase au-dessus des titres */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--coral);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: var(--coral-bg);
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-pill);
  border: 0.5px solid rgba(224,90,58,0.3);
}

/* DIVIDER */
.divider { border: none; border-top: 0.5px solid var(--border2); margin: 0; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  background: var(--coral);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 20px var(--coral-glow), 0 1px 4px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.btn-primary:hover {
  background: var(--coral-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--coral-glow), 0 2px 8px rgba(0,0,0,0.15);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 0.5px solid var(--border2);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 0.5px solid rgba(255,255,255,0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  background: #fff;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0,0,0,0.25);
  color: var(--coral-dark);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--r-pill);
  border: 0.5px solid var(--green);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
}
.btn-outline-green:hover {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px var(--green-glow);
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  border: 0.5px solid var(--border);
}

/* ---- CHECK LIST ---- */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 0.5px solid rgba(82,184,112,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4l3 3 6-6' stroke='%2352B870' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 0.1rem;
}

/* ---- BLOCKQUOTE ---- */
.blockquote-highlight {
  border-left: 2px solid var(--coral);
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--text);
  line-height: 1.85;
  box-shadow: var(--shadow-xs);
}

/* ---- STATS ---- */
.stats-row { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; }

/* ---- CTA INFO BOX ---- */
.cta-info-box {
  background: var(--coral-bg);
  border-left: 2px solid var(--coral);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  :root { --section-v: 4rem; }
  .section-wrap { padding: var(--section-v) 1.25rem; }
  .wrap { padding: 0 1.25rem; }
}

/* ---- ACCESSIBILITY ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
