:root {
  --navy: #0b2e5c;
  --blue: #176fc1;
  --ink: #16385f;
  --muted: #5c6f82;
  --line: #cfe1f1;
  --paper: #fffdfa;
  --soft: #eef7ff;
  --outside: #071b36;

  --max: 1000px;
  --read: 900px;
}

/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--outside);
  color: var(--ink);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

strong {
  font-weight: 600;
}

/* =========================================================
   TYPOGRAPHIE
   Lexend = titres / identité / phrases fortes
   Montserrat = texte / navigation / boutons
   ========================================================= */

h1,
h2,
h3,
.site-title,
.brand,
.footer-brand,
.pullquote,
.emphasis,
blockquote {
  font-family: "Lexend", Arial, sans-serif;
}

h1,
h2,
h3 {
  color: var(--navy);
}

h1 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.035em;
}

h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* =========================================================
   CONTENEUR GENERAL
   ========================================================= */

.site-header,
main,
footer {
  width: 100%;
  max-width: var(--max);

  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  height: 76px;

  position: sticky;
  top: 0;
  z-index: 20;

  background: #fff;

  box-shadow: 0 2px 14px rgba(0, 21, 44, 0.09);
}

.header-inner {
  width: 100%;
  height: 100%;
  max-width: 920px;

  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================
   MARQUE COPAINS
   ========================================================= */

.brand,
.footer-brand {
  display: inline-block;
  position: relative;

  color: var(--navy);

  font-family: "Lexend", Arial, sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;

  text-decoration: none;
}

.rainbow {
  display: block;

  width: 70px;
  height: 5px;

  margin-top: 6px;

  border-radius: 9px;

  background: linear-gradient(
    90deg,
    #e5232a 0 16%,
    #f39200 16% 32%,
    #ffd500 32% 48%,
    #36a852 48% 64%,
    #2575d8 64% 80%,
    #8c3fa7 80% 100%
  );
}

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

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: var(--navy);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus {
  color: var(--blue);
}

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

.hero {
  height: 540px;

  position: relative;
  overflow: hidden;

  background: #122b46;
}

.hero img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 45%;
}

.hero-shade {
  position: absolute;
  inset: 0;

  background: linear-gradient(0deg, rgba(3, 20, 42, 0.5) 0%, rgba(3, 20, 42, 0.1) 45%, rgba(3, 20, 42, 0.02) 75%);
}

.hero-copy {
  position: absolute;

  left: 5%;
  right: 5%;
  bottom: 44px;

  max-width: 850px;

  color: #fff;

  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.hero h1 {
  max-width: 850px;

  margin: 0 0 10px;

  color: #fff;

  font-family: "Lexend", Arial, sans-serif;
  font-size: clamp(42px, 5.3vw, 64px);
  font-weight: 800;

  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;

  color: #fff;

  font-family: "Lexend", Arial, sans-serif;
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 600;

  line-height: 1.18;
  letter-spacing: -0.025em;
}

/* =========================================================
   CONTENU EDITORIAL
   ========================================================= */

.editorial {
  background: var(--paper);

  padding: 10px 50px 75px;
}

.section {
  max-width: var(--read);

  margin: 0 auto;
  padding: 38px 0;

  position: relative;

  border-bottom: 1px solid var(--line);
}

.section:last-child {
  border-bottom: 0;
}

/* =========================================================
   TITRES DES SECTIONS
   ========================================================= */

.section h2 {
  margin: 0 0 20px;

  color: var(--navy);

  font-family: "Lexend", Arial, sans-serif;
  font-size: clamp(27px, 3.1vw, 34px);
  font-weight: 700;

  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section h3 {
  margin: 0 0 15px;

  color: var(--navy);

  font-family: "Lexend", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;

  line-height: 1.25;
  letter-spacing: -0.025em;
}

/* =========================================================
   TEXTE COURANT
   ========================================================= */

.section p {
  max-width: 820px;

  margin: 0 0 13px;

  color: var(--ink);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16.5px;
  font-weight: 400;

  line-height: 1.72;
}

.section p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   INTRO
   ========================================================= */

.intro {
  padding-top: 42px;
}

/* =========================================================
   CITATION LATERALE
   ========================================================= */

.pullquote {
  position: absolute;

  right: 0;
  top: 55px;

  width: 27%;

  padding: 20px 0 20px 22px;

  border-left: 4px solid var(--blue);

  color: var(--navy);

  font-family: "Lexend", Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;

  line-height: 1.4;
  letter-spacing: -0.025em;
}

/* =========================================================
   PHRASES FORTES
   ========================================================= */

.emphasis {
  max-width: 100% !important;

  margin-top: 22px !important;
  padding: 17px 21px;

  background: var(--soft);

  border-left: 4px solid var(--blue);

  color: var(--navy);

  font-family: "Lexend", Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 600;

  line-height: 1.42 !important;
  letter-spacing: -0.02em;
}

/* =========================================================
   CITATIONS
   ========================================================= */

blockquote {
  margin: 18px 0;
  padding: 3px 0 3px 20px;

  border-left: 3px solid var(--line);

  color: var(--navy);

  font-family: "Lexend", Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;

  line-height: 1.4;
  letter-spacing: -0.015em;
}

blockquote.keyline {
  border-left-color: var(--blue);

  font-size: 25px;
  font-weight: 700;

  line-height: 1.3;
  letter-spacing: -0.03em;
}

/* =========================================================
   DEUX COLONNES
   ========================================================= */

.two-cols {
  display: grid;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  gap: 48px;
}

.two-cols section {
  min-width: 0;
}

.two-cols section + section {
  padding-left: 48px;

  border-left: 1px solid var(--line);
}

.two-cols section h2 {
  font-size: 27px;
}

.two-cols p {
  font-size: 15.5px;
  line-height: 1.7;
}

/* =========================================================
   CTA FINAL — ÇA TE PARLE ?
   ========================================================= */

.cta {
  max-width: var(--read);

  margin: 55px auto 0;
  padding: 0;

  border: 0;
  border-radius: 0;

  background: transparent;

  text-align: left;
}

/* ----- Introduction CTA ----- */

.cta-intro {
  max-width: 700px;

  margin-bottom: 30px;
}

.cta-kicker {
  display: block;

  margin-bottom: 9px;

  color: var(--blue);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;

  line-height: 1.3;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cta h2 {
  margin: 0 0 16px;

  color: var(--navy);

  font-family: "Lexend", Arial, sans-serif;
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 700;

  line-height: 1.05;
  letter-spacing: -0.045em;
}

.cta-lead {
  max-width: 670px !important;

  margin: 0 !important;

  color: var(--ink);

  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 400;

  line-height: 1.65 !important;
}

/* ----- Bloc questionnaire ----- */

.cta-action {
  padding: 30px 34px;

  background: var(--soft);

  border-left: 5px solid var(--blue);
}

.cta-action p {
  max-width: 720px;

  margin: 0 0 13px;

  color: var(--ink);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;

  line-height: 1.7;
}

.cta-action strong {
  color: var(--navy);
  font-weight: 600;
}

.cta-reassurance {
  margin-top: 20px !important;

  color: var(--navy) !important;

  font-weight: 600 !important;
}

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

.cta-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  margin: 24px 0 0;
  padding: 15px 27px;

  border-radius: 8px;

  background: var(--blue);
  color: #fff;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;

  line-height: 1.2;

  text-decoration: none;

  box-shadow: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
  background: var(--navy);

  transform: translateY(-1px);
}

.cta-button.disabled {
  background: #879caf;

  cursor: default;

  transform: none;
}

/* =========================================================
   CTA — ET APRES ?
   ========================================================= */

.cta-next {
  margin: 30px 0 0 34px;
  padding-left: 22px;

  border-left: 1px solid var(--line);
}

.cta-next-label {
  display: block;

  margin-bottom: 8px;

  color: var(--blue);

  font-family: "Lexend", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.cta-next p {
  max-width: 720px;

  margin: 0 0 7px;

  color: var(--muted);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;

  line-height: 1.65;
}

.cta-next strong {
  color: var(--ink);
  font-weight: 600;
}

/* =========================================================
   ANCIENNE CLASSE AFTER
   Conservée au cas où elle serait encore utilisée ailleurs
   ========================================================= */

.after {
  color: var(--muted);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px !important;

  line-height: 1.65 !important;
}

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

.site-footer { padding: 44px 50px 24px; background: #071f43; color: #dbe8f6; }
.footer-inner { max-width: var(--read); margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(0,1.7fr); gap: 64px; align-items: start; }
.footer-brand { display: inline-block; color: #fff; font-family: "Lexend",Arial,sans-serif; font-size: 25px; font-weight: 800; text-decoration: none; }
.footer-brand:hover { color:#fff; }
.footer-intro > p { margin:15px 0 0; color:#dbe8f6; font-family:"Montserrat",Arial,sans-serif; font-size:14px; line-height:1.7; }
.footer-nav { display:grid; grid-template-columns:minmax(150px,.7fr) minmax(260px,1.3fr); gap:42px; }
.footer-nav-group { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.footer-nav .footer-title { margin:0 0 4px; color:#fff; font-family:"Montserrat",Arial,sans-serif; font-size:11px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.footer-nav a,.footer-bottom a { color:#dbe8f6; font-family:"Montserrat",Arial,sans-serif; font-size:13px; line-height:1.45; text-decoration:none; }
.footer-nav a:hover,.footer-bottom a:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.footer-bottom { display:flex; justify-content:space-between; gap:24px; margin-top:34px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14); }
.footer-bottom .legal { margin:0; color:#dbe8f6; font-family:"Montserrat",Arial,sans-serif; font-size:12px !important; opacity:.75; }

/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    height: 68px;
  }

  .header-inner {
    padding: 0 22px;
  }

  .brand {
    font-size: 23px;
  }

  .rainbow {
    width: 60px;
    height: 4px;
  }

  nav {
    display: none;
  }

  /* HERO */

  .hero {
    height: 500px;
  }

  .hero img {
    object-position: center center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(3, 20, 42, 0.68) 0%, rgba(3, 20, 42, 0.25) 48%, rgba(3, 20, 42, 0.03) 100%);
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 36px;

    max-width: none;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.03;
  }

  .hero-copy p {
    font-size: 24px;
  }

  /* EDITORIAL */

  .editorial {
    padding: 0 30px 55px;
  }

  .section {
    padding: 32px 0;
  }

  .section p {
    max-width: none;

    font-size: 16px;
  }

  /* PULLQUOTE */

  .pullquote {
    position: static;

    width: auto;

    margin: 26px 0 0;
    padding: 18px 20px;

    background: var(--soft);

    border-left: 4px solid var(--blue);

    font-size: 19px;
  }

  /* DEUX COLONNES */

  .two-cols {
    grid-template-columns: 1fr;

    gap: 0;
  }

  .two-cols section + section {
    margin-top: 28px;
    padding: 30px 0 0;

    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .two-cols section h2 {
    font-size: 27px;
  }

  /* CTA */

  .cta {
    margin-top: 40px;
  }

  .cta h2 {
    font-size: 42px;
  }

  .cta-action {
    padding: 28px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {
  .header-inner {
    padding: 0 18px;
  }

  /* HERO */

  .hero {
    height: 430px;
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    bottom: 27px;
  }

  .hero h1 {
    font-size: 35px;
    letter-spacing: -0.045em;
  }

  .hero-copy p {
    font-size: 20px;
  }

  /* CONTENU */

  .editorial {
    padding: 0 20px 45px;
  }

  .section {
    padding: 28px 0;
  }

  .section h2 {
    font-size: 26px;
  }

  .section p {
    font-size: 15.5px;

    line-height: 1.7;
  }

  /* PHRASES FORTES */

  .emphasis {
    padding: 15px 17px;

    font-size: 18px !important;
  }

  blockquote {
    font-size: 18px;
  }

  blockquote.keyline {
    font-size: 22px;
  }

  /* CTA */

  .cta {
    margin-top: 32px;
  }

  .cta-kicker {
    font-size: 11px;
  }

  .cta h2 {
    font-size: 36px;
  }

  .cta-lead {
    font-size: 17px !important;
  }

  .cta-action {
    padding: 24px 20px;

    border-left-width: 4px;
  }

  .cta-action p {
    font-size: 15px;
  }

  .cta-button {
    width: 100%;

    margin-top: 20px;
    padding: 15px 14px;
  }

  .cta-next {
    margin: 25px 0 0;
    padding-left: 17px;
  }

  .cta-next p {
    font-size: 13.5px;
  }

  /* FOOTER */
  .site-footer { padding:34px 20px 22px; }
  .footer-main { grid-template-columns:1fr; gap:30px; }
  .footer-nav { grid-template-columns:1fr 1.35fr; gap:28px; }
}

@media (max-width:560px){.footer-nav{grid-template-columns:1fr;gap:26px}.footer-bottom{flex-direction:column;gap:10px}}
