:root {
  --navy: #0b294b;
  --navy-soft: #163d66;
  --coral: #fa6554;
  --sky: #eaf5fb;
  --ink: #132c46;
  --muted: #5a6d7f;
  --paper: #fffdfa;
  --white: #fff;
  --line: #c9d8e4;
  --shadow: 0 16px 40px rgba(11, 41, 75, 0.12);
  --page: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}
body {
  margin: 0;
  background: #eef1f4;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
.hero h1,
.chapter h2,
.invitation h2,
.questionnaire h2 {
  font-family: "Arial Black", Impact, sans-serif;
}
.site-header,
main,
footer {
  width: min(100%, 1500px);
  margin-left: auto;
  margin-right: auto;
}

main,
footer {
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
.skip-link {
  position: fixed;
  z-index: 100;
  left: 12px;
  top: -80px;
  padding: 12px 18px;
  background: #fff;
  border: 2px solid var(--navy);
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: 74px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e2ebf1;
  backdrop-filter: blur(12px);
}
.brand {
  margin-right: auto;
}
.brand img {
  width: 82px;
  height: 73px;
  object-fit: contain;
}
.menu-button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: 0.2s;
}
.menu-icon {
  position: relative;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-icon::before {
  top: -7px;
}
.menu-icon::after {
  top: 7px;
}
.menu-button[aria-expanded="true"] .menu-icon {
  background: transparent;
}
.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-button[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}
nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 74px;
  padding: 12px 16px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(11, 41, 75, 0.12);
}
nav.open {
  display: grid;
}
nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 750;
}
nav .nav-cta {
  margin-top: 6px;
  background: var(--coral);
  color: #fff;
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
  padding: 50px 24px 44px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1,
.chapter h2,
.invitation h2,
.questionnaire h2 {
  font-family: "Arial Black", Impact, ui-sans-serif, sans-serif;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 11vw, 4.8rem);
}

.hero h1 span {
  display: block;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #dfeaf3;
  font-size: 1.07rem;
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 54px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.primary {
  background: var(--coral);
  color: #fff;
}

.primary:hover {
  background: #df4e3e;
}

.secondary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.hero-image {
  position: relative;
  margin: 0;
  height: clamp(280px, 68vw, 440px);
  overflow: hidden;
  background: var(--navy);
}

.hero-image picture,
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  object-position: center center;
}

.chapter {
  padding: 76px 14px;
}
.chapter-blue {
  background: var(--sky);
}
.chapter-heading {
  width: min(100%, var(--page));
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}
.chapter-number {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font:
    900 1.05rem "Arial Black",
    sans-serif;
}
.chapter-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 10vw, 4.5rem);
}
.chapter-heading p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
}
.comic {
  width: min(100%, 960px);
  margin: auto;
}
.comic-full {
  display: none;
}
.comic-panels {
  display: grid;
  gap: 18px;
}
.comic-panels img {
  width: 100%;
  height: auto;
  border: 2px solid var(--navy);
  background: var(--paper);
  box-shadow: 7px 7px 0 rgba(11, 41, 75, 0.12);
}
.chapter-close {
  max-width: 800px;
  margin: 38px auto 0;
  color: var(--muted);
  text-align: center;
}
.invitation {
  padding: 70px 22px;
  background: var(--navy);
  color: #fff;
}
.invitation > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.invitation h2 {
  margin-top: 0;
  font-size: clamp(2.25rem, 10vw, 4.7rem);
}
.invitation > p:last-child {
  color: #dce8f1;
}
.process {
  width: min(100%, 960px);
  margin: 42px auto 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  counter-reset: steps;
}
.process li {
  position: relative;
  min-height: 52px;
  padding: 13px 16px 13px 58px;
  background: var(--sky);
  font-weight: 800;
}
.process li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}
.questionnaire {
  padding: 78px 18px;
  background: var(--navy);
  color: #fff;
}
.questionnaire-copy {
  max-width: 780px;
  margin: auto;
  text-align: center;
}
.questionnaire h2 {
  margin: 0;
  font-size: clamp(2.5rem, 11vw, 4.8rem);
}
.questionnaire-copy > p:not(.kicker) {
  color: #dce8f1;
}
.questionnaire-copy .button {
  width: 100%;
  margin-top: 20px;
}
.plain-link {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-weight: 750;
}
.form-frame {
  width: min(100%, 960px);
  height: min(820px, 82vh);
  margin: 38px auto 0;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.form-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.chat-card {
  width: min(100%, 900px);
  margin: 50px auto 0;
  padding: 28px 22px;
  display: grid;
  gap: 22px;
  background: #fff;
  color: var(--ink);
  border-top: 6px solid var(--coral);
}
.chat-card h3 {
  margin: 0;
  font:
    900 1.7rem/1.15 "Arial Black",
    sans-serif;
}
.chat-card p:not(.kicker) {
  margin-bottom: 0;
  color: var(--muted);
}
footer {
  padding: 36px 20px;
  display: grid;
  gap: 10px;
  place-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}
footer img {
  width: 78px;
  height: 52px;
  object-fit: contain;
}
footer p {
  margin: 0;
}
footer a {
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}
#lightbox {
  width: min(96vw, 1024px);
  max-width: none;
  max-height: 96vh;
  padding: 44px 8px 10px;
  border: 0;
  background: #071b30;
}
#lightbox::backdrop {
  background: rgba(3, 13, 23, 0.9);
}
#lightbox img {
  max-width: 100%;
  max-height: 86vh;
  margin: auto;
}
.close {
  position: absolute;
  top: 3px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
}
:focus-visible {
  outline: 4px solid #72b9e9;
  outline-offset: 3px;
}
@media (min-width: 560px) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }
  .questionnaire-copy .button {
    width: auto;
  }
  .chat-card {
    padding: 34px;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  html {
    scroll-padding-top: 88px;
  }
  .site-header {
    height: 88px;
    padding: 0 max(28px, calc((100% - var(--page)) / 2));
  }
  .brand img {
    width: 105px;
    height: 72px;
  }
  .menu-button {
    display: none;
  }
  nav {
    display: flex;
    position: static;
    margin-left: auto;
    padding: 0;
    align-items: center;
    gap: 24px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  nav a {
    min-height: auto;
    font-size: 0.9rem;
  }
  nav .nav-cta {
    margin: 0;
    padding: 11px 17px;
  }
  .hero {
    grid-template-columns: 31.5% 68.5%;
    height: clamp(620px, 46.3vw, 695px);
    min-height: 620px;
    max-height: 695px;
  }

  .hero-copy {
    min-width: 0;
    height: 100%;
    padding: 70px 34px 62px 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero h1 {
    margin: 0;
    font-size: clamp(3.85rem, 4.55vw, 4.35rem);
    line-height: 1.04;
  }

  .hero .lead {
    max-width: 350px;
    margin-top: 28px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .hero-actions {
    width: 315px;
    max-width: 100%;
    margin-top: 28px;
  }

  .hero-image {
    position: relative;
    height: 100%;
    border: 0;
    overflow: hidden;
  }

  .hero-image::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 auto 0 0;
    width: 9%;
    pointer-events: none;
    background: linear-gradient(90deg, var(--navy) 0%, rgba(11, 41, 75, 0.68) 28%, rgba(11, 41, 75, 0) 100%);
  }

  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .chapter {
    padding: 105px 24px;
  }
  .chapter-heading {
    grid-template-columns: 66px 1fr;
    gap: 24px;
    margin-bottom: 55px;
  }
  .chapter-number {
    width: 62px;
    height: 62px;
  }
  .comic-full {
    display: block;
    width: 100%;
    padding: 0;
    border: 3px solid var(--navy);
    background: var(--paper);
    box-shadow: 12px 12px 0 rgba(11, 41, 75, 0.12);
    cursor: zoom-in;
  }
  .comic-full img {
    width: 100%;
  }
  .comic-panels {
    display: none;
  }
  .invitation {
    padding: 95px 24px;
    text-align: center;
  }
  .process {
    grid-template-columns: repeat(5, 1fr);
  }
  .process li {
    padding: 52px 10px 12px;
    text-align: center;
  }
  .process li::before {
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
  }
  .questionnaire {
    padding: 100px 24px;
  }
  .chat-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .chat-card .button {
    min-width: 190px;
  }
}

@media (min-width: 1200px) {
  .site-header {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 1500px) {
  .hero-copy {
    padding-left: 86px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.questionnaire .form-frame {
  display: block !important;
  width: min(100%, 960px);
  height: auto !important;
  min-height: 0 !important;
  margin: 38px auto 0;
  overflow: visible !important;
  background: #fff;
  border: 6px solid #fff;
}

.questionnaire .form-frame iframe {
  display: block;
  width: 100%;
  height: 12000px;
  border: 0;
  overflow: hidden;
}

@media (max-width: 899px) {
  .questionnaire .form-frame {
    width: 100%;
    margin-top: 30px;
    border-width: 0;
  }

  .questionnaire .form-frame iframe {
    height: 13500px;
  }
}

/* Contact */
.contact {
  padding: 58px 24px 64px;
  background: #eaf5fb;
}

.contact-inner {
  width: min(100%, 860px);
  margin: 0 auto;
}

.contact-heading {
  margin-bottom: 28px;
}

.contact-heading h2 {
  margin: 6px 0 10px;
  color: #0b294b;
  font-family: "Arial Black", Impact, ui-sans-serif, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.contact-heading p:last-child {
  margin: 0;
  color: #5a6d7f;
  line-height: 1.6;
}

.contact-form {
  padding: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(11, 41, 75, 0.1);
}

.contact-form form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  margin-top: 8px;
  color: #132c46;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #c9d8e4;
  border-radius: 0;
  background: #fff;
  color: #132c46;
  font: inherit;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(250, 101, 84, 0.18);
  border-color: #fa6554;
}

.contact-form .form-actions {
  margin-top: 14px;
}

.contact-form .button {
  border: 0;
}

.contact-status {
  min-height: 1.4em;
  margin: 16px 0 0;
  font-weight: 700;
}

.contact-status.success {
  color: #17633b;
}

.contact-status.error {
  color: #a3261a;
}

.contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 899px) {
  .contact {
    padding: 42px 18px 48px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .contact-form .button {
    width: 100%;
  }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
/* ==========================================================
   DL-FRAT — Mentions légales & confidentialité
   assets/css/mentions-legales.css
   ========================================================== */

/* ----------------------------------------------------------
   PAGE
   ---------------------------------------------------------- */

.legal-page {
   width: min(calc(100% - 48px), 1050px);
    margin: 40px auto 80px;
    padding: 60px 60px 100px;

    color: var(--navy, #17233d);
    background: #fff;

    border-radius: 24px;
}

/* ----------------------------------------------------------
   RETOUR AU SITE
   ---------------------------------------------------------- */

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 48px;
  padding: 11px 18px;

  color: var(--navy, #17233d);
  background: #fff;

  border: 2px solid var(--navy, #17233d);
  border-radius: 999px;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;

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

.back-home:hover {
  color: #fff;
  background: var(--navy, #17233d);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   EN-TÊTE
   ---------------------------------------------------------- */

.legal-page > .kicker {
  margin: 0 0 14px;

  color: var(--coral, #f26b5e);

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;

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

.legal-page h1 {
  max-width: 850px;
  margin: 0 0 24px;

  color: var(--navy, #17233d);

  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.legal-intro {
  max-width: 850px;
  margin: 0 0 60px;

  color: #48546b;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.12rem !important;
  font-weight: 500;
  line-height: 1.75;
}

/* ----------------------------------------------------------
   TITRES DES SECTIONS
   ---------------------------------------------------------- */

.legal-page h2 {
  position: relative;

  margin: 60px 0 22px;
  padding-top: 22px;

  color: var(--navy, #17233d);

  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-page h2::before {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 52px;
  height: 5px;

  background: var(--coral, #f26b5e);
  border-radius: 999px;
}

.legal-page h3 {
  margin: 34px 0 12px;

  color: var(--navy, #17233d);

  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

/* ----------------------------------------------------------
   TEXTE
   ---------------------------------------------------------- */

.legal-page p,
.legal-page li {
  color: #3f4a60;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.legal-page p {
  margin: 0 0 18px;
}

.legal-page strong {
  color: var(--navy, #17233d);
  font-weight: 700;
}

/* ----------------------------------------------------------
   LISTES
   ---------------------------------------------------------- */

.legal-page ul {
  margin: 18px 0 28px;
  padding-left: 0;

  list-style: none;
}

.legal-page li {
  position: relative;

  margin: 10px 0;
  padding-left: 28px;
}

.legal-page li::before {
  content: "";

  position: absolute;
  top: 0.72em;
  left: 4px;

  width: 8px;
  height: 8px;

  background: var(--coral, #f26b5e);
  border-radius: 50%;

  transform: translateY(-50%);
}

/* ----------------------------------------------------------
   LIENS
   ---------------------------------------------------------- */

.legal-page a:not(.back-home) {
  color: var(--navy, #17233d);

  font-weight: 700;
  text-decoration-color: var(--coral, #f26b5e);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-page a:not(.back-home):hover {
  color: var(--coral, #f26b5e);
}

/* ----------------------------------------------------------
   ENCADRÉ ÉVENTUEL
   ---------------------------------------------------------- */

.legal-note {
  margin: 32px 0;
  padding: 24px 28px;

  background: #fff;

  border: 1px solid rgba(23, 35, 61, 0.1);
  border-left: 5px solid var(--coral, #f26b5e);
  border-radius: 0 18px 18px 0;

  box-shadow: 0 12px 30px rgba(23, 35, 61, 0.06);
}

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

/* ----------------------------------------------------------
   DERNIÈRE SECTION / DATE DE MISE À JOUR
   ---------------------------------------------------------- */

.legal-page h2:last-of-type {
  margin-top: 70px;
}

.legal-page > p:last-child {
  margin-top: 25px;

  color: #70798b;

  font-size: 0.88rem;
  font-weight: 500;
}

/* ----------------------------------------------------------
   FOOTER DE LA PAGE
   ---------------------------------------------------------- */

.legal-footer {
  margin-top: 80px;
  padding-top: 32px;

  border-top: 1px solid rgba(23, 35, 61, 0.15);

  text-align: center;
}

.legal-footer img {
  display: block;

  width: 80px;
  height: auto;

  margin: 0 auto 16px;
}

.legal-footer p {
  margin: 0;

  color: #70798b;

  font-size: 0.85rem;
}

/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 700px) {
 .legal-page {
        width: calc(100% - 24px);
        margin: 20px auto 50px;
        padding: 35px 22px 60px;
    }
  }
  .back-home {
    margin-bottom: 36px;
    padding: 9px 15px;

    font-size: 0.82rem;
  }

  .legal-page h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
    line-height: 1;
  }

  .legal-intro {
    margin-bottom: 45px;

    font-size: 1.02rem !important;
    line-height: 1.7;
  }

  .legal-page h2 {
    margin-top: 48px;
    padding-top: 18px;

    font-size: 1.45rem;
  }

  .legal-page h3 {
    margin-top: 28px;
    font-size: 1.08rem;
  }

  .legal-page p,
  .legal-page li {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .legal-note {
    padding: 20px;
  }
}

/* ----------------------------------------------------------
   IMPRESSION
   ---------------------------------------------------------- */

@media print {
  .back-home,
  .legal-footer {
    display: none;
  }

  .legal-page {
    width: 100%;
    padding: 0;
  }

  .legal-page h1 {
    font-size: 30pt;
  }

  .legal-page h2 {
    break-after: avoid;
  }

  .legal-page p,
  .legal-page li {
    color: #000;
  }
}
