:root{
  --bg:#F2F0EB;
  --ink:#0c1630;
  --text:#000E33;
  --primary:#0D1073;
  --muted:rgba(12,22,48,.70);
  --muted2:rgba(12,22,48,.58);
  --line:rgba(12,22,48,.10);
  --pill:rgba(12,22,48,.10);
  --dark:#071331;
  --darkText:#F2F0EB;
  --card:#ffffff;
  --shadow:0 18px 50px rgba(0,0,0,.12);
  --radius:22px;
  --radiusLg:28px;
  --w:1100px;
  --header-h: 72px;  
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height:1.6;
}

main{
  overflow: visible;
  padding-top: var(--header-h);
}


a{color:inherit;text-decoration:none}
.container{width:min(var(--w), calc(100% - 48px)); margin-inline:auto}

/* Typography */
h1,h2,h3{
  font-family:"Libre Franklin", sans-serif;
  line-height:1.05;
  margin:0 0 14px;
}
h1{font-size: clamp(44px, 5.2vw, 64px);line-height: 1.05; letter-spacing:.2px}
h2{font-size: clamp(30px, 3.6vw, 46px)}
h3{font: size 20px}

.italic-typo {
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight:600;
}
.break{
  display:block;
}
.lead{
  margin:0 0 18px;
  color:var(--text);
  font-size:16px;
  max-width:46ch;
}
.lead strong{
  font-weight:700;
  color:#000E33;
}
.lead--sm{font-size:16px; color:var(--text); max-width:52ch}
.center-title{ text-align:center; margin:0 0 54px}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:600;
  font-size:16px;
  cursor:pointer;
  user-select:none;
  transition:transform .08s ease, filter .15s ease, background .15s ease;
}
.btn:active{transform:translateY(1px)}
/* Boutons bleus */
.btn--primary{
  background:var(--primary);
  color:#F2F0EB;
}
.btn--primary:hover{
  background:#34389A;
  color:#F2F0EB;
  border-color:transparent;
  filter:none;
}
.btn--soft{
  background:var(--primary);
  color:#f2f0eb;
  border-color:var(--primary);
}
.btn--soft:hover{
  background:#34389A;
  color:#F2F0EB;
  border-color:transparent;
}

/* CTA clair sur fond sombre (blog + about) */
.dark-box .btn--soft{
  background: #f2f0eb;
  color: #000E33;
  border-color: #f2f0eb;
}

.dark-box .btn--soft:hover{
  background:#34389A;
  color:#F2F0EB;
  border-color:transparent;
}

.btn--block{width:100%}



/* Header */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #F2F0EB;
}
.header__inner{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 274px;
  min-height: 72px
}
@media (max-width: 720px){
  .header__inner{
    gap: 24px;
  }
}
.brand{
  display: flex;
  align-items: center;
}
.brand img{
  height: 52px;      /* ajuste selon ton logo */
  width: auto;
  display: block;
}
@media (max-width: 720px){
  .brand img{
    height: 44px;
  }
}
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:0;
  background:#ffffff;
  border:1px solid transparent;
  border-radius:9999px;
}
.nav__link{
  font-size:14px;
  font-family: Poppins, sans-serif;
  padding:8px 12px;
  border-radius:999px;
  color:#000E33;
  font-weight:400;
  white-space:nowrap;
}
.nav__link:hover{background:rgba(12,22,48,.06)}
.nav__link.is-active{ 
  background: none;
  color: #000E33;
}

.header .btn{
  justify-self:end;  
  padding: 8px 16px;
  font-size: 14px;
}

@media (min-width: 721px) and (max-width: 1100px){
  .header__inner{
    gap: 24px;
  }

  .nav{
    gap: 8px;
    width: fit-content;
    justify-self: center;
  }
}

.burger{
  display:none;
  width:44px;
  height:44px;
  background:transparent;
  border:none;
  cursor:pointer;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:6px;
  position:relative;
  z-index:10001;
}

.burger span{
  position: absolute;
  width:24px;
  height:3px;
  background:#000E33;
  border-radius:3px;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
  left:50%;
  top:50%;
}
/*Position avant clic*/
.burger span:nth-child(1){
  transform: translate(-50%, -10px);
}

.burger span:nth-child(2){
  transform: translate(-50%, -50%);
}

.burger span:nth-child(3){
  transform: translate(-50%, 8px);
}



/* ☰ → ✕ */
.burger.active span:nth-child(1){
  transform: translate(-50%, -50%) rotate(45deg);
}

.burger.active span:nth-child(2){
  opacity: 0;
}

.burger.active span:nth-child(3){
  transform: translate(-50%, -50%) rotate(-45deg);
}


.mobile-nav{
  background:var(--bg);
  display:none;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  z-index:10000;
}

/* Haut : logo */
.mobile-nav__top{
  width:100%;
  display:flex;
  justify-content:flex-start;
}

.mobile-nav__logo{
  height: 58px;
  width: auto;
}

.mobile-nav__link{
  display:block;
  font-size: 18px;
  padding: 16px 0;
  font-weight: 500;
  color: #000E33;
}


.mobile-nav.is-open{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__cta{
  margin-top: 16px;
  align-self: flex-start;
}


/* Sections */
.section{
  padding:64px 0;  
}
.copy{
  display: flex;
  flex-direction: column;
  gap: 24px; /* desktop : même espacement que le hero */
}
@media (max-width: 720px){
  .copy{
    gap: 18px; /* mobile */
  }
}

/* HERO */
.hero h1{
  max-width: 486px;
}

.section.hero{
  padding-top: 72px;
}
@media (max-width: 720px){
  .section.hero{
    padding-top: 24px;
  }
  .hero h1{
  max-width: 100%;
  } 
  .hero .lead{
  max-width: 100%;
  }
}

.hero__grid{
  display:grid;
  grid-template-columns: 1fr 1.15fr;
  gap:56px;
  align-items:start;
}
.hero__copy{
  margin-top: 16px;
}
@media (max-width: 720px){
  .hero__copy{
    margin-top: 24px;
    gap: 18px;
  }
}

.hero__copy .btn{
  align-self: flex-start;
}

.hero__media{display:flex; justify-content:flex-end}

/* GUIDE */
.guide__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:54px;
  align-items:center;
}
.guide__media{display:flex; justify-content:flex-start}

.guide__img{
  width: 420px;          /* même logique que le placeholder */
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}

@media (max-width: 720px){
  .guide__img{
    width: 100%;
    max-width: 420px;
  }
}


.guide__copy{padding-left:6px}

.guide__copy .btn {
  align-self: flex-start;
}

/* Placeholders (match the gray rounded blocks) */
.placeholder--guide{width:420px; max-width:100%; height:190px}
.placeholder--newsletter{width:420px; max-width:100%; height:250px}
.placeholder--about{width:420px; max-width:100%; height:260px}

.hero__img{
  width: 588px;          /* Figma desktop */
  height: 544px;         /* Figma desktop */
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radiusLg);
  display: block;
}
@media (max-width: 720px){
  .hero__img{
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}



/* DARK BOXES (blog + about) */
.dark-box{
  background:var(--dark);
  border-radius:34px;
  padding:74px 44px 54px;
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
}
.dark-box__head{text-align:center}
.dark-box__title{color:#F2F0EB; margin:0 0 24px}
.dark-box__subtitle{
  margin:0;
  color:var(--darkText);
  font-size:16px;
}
.dark-box__cta{display:flex; justify-content:center; margin-top:22px}
.dark-box__subtitle--left{ text-align:left; max-width:48ch }

/* Posts */
.posts{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:44px;
  margin:34px 0 34px;
}
.post{
  background:var(--card);
  border-radius:18px;
  overflow:clip;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.post__img{
  height: 256px;
  overflow: hidden;          /* coupe ce qui dépasse */
  border-radius: 18px 18px 0 0;
}

.post__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;         /* remplit sans déformer */
  display: block;
}

.post__body{padding:14px 14px 18px}
.post__meta{
  display: inline-block;
  background: #000E33;
  color: #F2F0EB;
  font-size: 14px;
  border-radius: 30px;
  padding: 5px 14px; 
  margin-bottom:8px
}
.post__title{margin:14px 0; color:var(--ink)}

/* Testimonials */
.testimonials{padding-top:76px}
.review{
  margin-inline:auto;
  width:85%;
  background:rgba(255,255,255,.62);
  border:1px solid var(--line);
  border-radius:24px;
  padding:56px;
  display:grid;
  grid-template-columns: 154px 1fr;
  gap:18px;
  align-items:center;
  color:var(--text);
}
.review__avatar{
  width:124px;height:124px;border-radius:999px;
  background:#f2f0eb;
  border:1px solid rgba(0,0,0,.04);
  overflow: hidden;
}
.review__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position: center top;          /* remplit sans déformer */
  display:block;
}
.review__stars{letter-spacing:2px; font-size:24px; margin-bottom:8px; text-align:right}
.review__text{margin:0 0 34px; color:var(--text); font-size:16px}
.review__meta{font-size:13px}
.review__name{font-weight:700; margin-bottom:2px}
.review__details{color:var(--text); font-size:13px}

.review__nav{
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:10px;
}
.arrow{
  width:40px;height:40px;
  border-radius:999px;
  border:1px solid var(--line);
  background:transparent;
  cursor:pointer;
}
.arrow:hover{background:rgba(12,22,48,.06)}

/* Newsletter */
.newsletter__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:56px;
  align-items:center;
}
.newsletter__media{
  display: flex;
  justify-content: flex-end; /* même logique que le hero */
}

.newsletter__img{
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  object-fit: cover;
}
@media (max-width: 720px){

  .newsletter__copy{
    width:100%;
  }

  .newsletter__copy h2,
  .newsletter__copy .lead{
    max-width:100%;
  }

  .newsletter__media{
    width:100%;
    justify-content:flex-start;
  }

  .newsletter__img{
    width:100%;
    max-width:none;
    height:auto;
  }
}


.signup{margin-top:14px; width:min(360px, 100%)}
.signup input{
  width:100%;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(12,22,48,.16);
  background:rgba(255,255,255,.70);
  padding:0 14px;
  outline:none;
}
.signup input:focus{
  border-color:rgba(12,22,48,.36);
  box-shadow:0 0 0 4px rgba(12,22,48,.08);
}
.signup button{margin-top:34px}
.signup__hint{margin-top:8px; font-size:12px; color:var(--text)}

/* About */
.dark-box--about{
  padding:74px 54px;
  text-align: left;
}
.dark-box--about .dark-box__title{
  max-width: 18ch;     /* même sensation que guide/newsletter */
}

.dark-box--about .dark-box__subtitle{
  font-size: 16px;     /* même taille que .lead--sm */
  line-height: 1.6;
  max-width: 46ch;
}

.about__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;              /* même rythme que newsletter */
  align-items: center;
}
.about__media{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}

.about__img{
  max-width: 100%;
  border-radius: 22px;
  object-fit: cover;
  display: block;
}
@media (max-width: 720px){
  .about__media{
    justify-content: center;
  }

  .about__img{
    width: 100%;
    max-width: 520px;
    height: 250px;
  }

  .about__copy{
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .dark-box--about .dark-box__title,
  .dark-box--about .dark-box__subtitle{
    max-width: 100%;
  }
}

.about__copy{
  min-width: 0;
}
.about__copy .btn{
  margin-top:6px;
  align-self: flex-start;
}

/* Final CTA */
.final{padding-top:32px; padding-bottom:64px}
.final__inner{display:flex; flex-direction:column; align-items:center; gap:10px}

/* Footer */
.footer{padding:38px 0 18px}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap:22px;
  align-items:start;
  background: #ffffff;
  padding: 54px;
  border-radius: 24px;
}
.footer__brand{
  display:flex;
  flex-direction:column;
  align-items: center;
  
}
.footer__brand,
.footer__tagline{
  grid-column: 1;
}
.footer__tagline{font-size:12px;margin-top: 12px;max-width: 22ch; color:var(--text);text-align: center;}
.footer__title{font-weight:700; font-size:12px; margin-bottom:10px; color:rgba(12,22,48,.92)}
.footer__col a{
  display:block;
  font-size:12px;
  color:var(--text);
  padding:6px 0;
}
.footer__col a:hover{color:rgba(12,22,48,.92)}
.footer__bottom{margin-top:18px; text-align:center; color:var(--text)}

/* Responsive */
@media (max-width: 980px){
  .dark-box{padding:54px 22px 44px}
  .dark-box--about{padding:34px 22px} 
}

@media (min-width: 721px) and (max-width: 1024px){
  .posts{gap:20px}
  .footer__grid{
    grid-template-columns: clamp(125px, 14vw, 140px) clamp(24px, 5vw, 52px) clamp(118px, 13vw, 134px) clamp(88px, 9.5vw, 96px) clamp(124px, 14vw, 140px) clamp(94px, 10.5vw, 106px);
    gap:10px;
    justify-content:center;
    padding:24px clamp(14px, 2vw, 24px);
  }
  .footer__brand{grid-column:1}
  .footer__brand img{max-width:100%;height:auto}
  .footer__col:nth-of-type(2){grid-column:3}
  .footer__col:nth-of-type(3){grid-column:4}
  .footer__col:nth-of-type(4){grid-column:5}
  .footer__col:nth-of-type(5){grid-column:6}
  .footer__col{min-width:0}
  .footer__title{
    font-size:11px;
    white-space:nowrap;
  }
}

@media (max-width: 720px){
  .hero__grid, .guide__grid, .newsletter__grid, .about__grid{grid-template-columns:1fr}
  .hero__media{justify-content:center}
  .footer__grid{grid-template-columns: 1fr;align-items: start;}

  .header__inner{
  grid-template-columns: 1fr auto;
  }
  .nav, .header .btn{
  display:none}
  .burger{
  display:flex;
  }
  .posts{grid-template-columns:1fr}
  .review{grid-template-columns:1fr; text-align:left}
  .review__stars{text-align:left}
  .section{padding:54px 0}

  .mobile-nav{
    position: fixed;
    top: 72px; /* hauteur du header */
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);

    background: var(--bg);
    padding: 24px;

    display: flex;
    flex-direction: column;

    z-index: 10000;

    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
  }  

  .mobile-nav.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav__cta{
    margin-top: auto; /* CTA en bas */
    width: 100%;
  }
}

  html, body{
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}


/* ===============================
   HOME — card article cliquable
=============================== */

/* Card */
#accueil .post{
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Lift + ombre */
#accueil .post:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

/* Lien overlay — DOIT être AU-DESSUS */
#accueil .post__link{
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* Contenu visible SOUS le lien */
#accueil .post__img,
#accueil .post__body{
  position: relative;
  z-index: 1;
}

/* Micro-zoom image */
#accueil .post__img img{
  transition: transform .35s ease;
}

#accueil .post:hover .post__img img{
  transform: scale(1.04);
}

/* Mobile / tactile : pas de hover */
@media (hover: none), (pointer: coarse){
  #accueil .post:hover{
    transform: none;
    box-shadow: none;
  }

  #accueil .post:hover .post__img img{
    transform: none;
  }
}

/* PROMESSE PÉDAGOGIQUE — titre en 3 verbes (scopé, n'impacte pas l'autre section .guide) */
.guide--promise .promise-title{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  margin-bottom: 14px; /* cohérent avec tes h2 */
}

/* Espacement entre les verbes */
.guide--promise .promise-title span + span{
  margin-top: 6px;
}

/* Optionnel : si tu veux un léger effet "progression" */
.guide--promise .promise-title span:nth-child(2),
.guide--promise .promise-title span:nth-child(3){
  margin-left: 0;
}
.guide--promise .promise__img {
  width: 82%;
  aspect-ratio: 4/5; /* ajuste ici */
  object-fit: cover;
  border-radius: 20px;
}
@media (max-width: 720px){
.guide--promise .promise__img{  
    width: 341px;
    max-width: 100%;
    aspect-ratio: auto;     /* enlève le cadre fixe */
    height: auto;
    object-fit: contain;
  }

  .guide--promise .guide__media {
    justify-content: center;
  }

  .guide--promise .promise-title{
    align-items: flex-start;
    text-align: left;
  }
  .guide--promise .guide__copy{
    align-items: flex-start;
    text-align: left;       /* centre le texte */
  }

  .guide--promise .lead{
    max-width: 100%;          /* évite la limite 46ch */
  }
} 
.final__lead{
  max-width: 100%;
  width: 100%;
  text-align: center;
}
/* Inverser uniquement la section guide matériel */
.guide--reverse .guide__grid{
  grid-template-columns: .95fr 1.05fr;
}

.guide--reverse .guide__media{
  order: 2;
}

.guide--reverse .guide__copy{
  order: 1;
}
/* =========================
   NAV — Dropdown Blog
========================= */

/* Desktop dropdown */
.nav__dropdown{ position: relative; }
.nav__dropdown summary,
.mobile-nav__dropdown summary{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
}
.nav__dropdown summary::-webkit-details-marker,
.mobile-nav__dropdown summary::-webkit-details-marker{ display:none; }

.nav__dropdown > summary::after,
.mobile-nav__dropdown > summary::after{
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav__dropdown[open] > summary::after,
.mobile-nav__dropdown[open] > summary::after{
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav__submenu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  min-width: 175px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 8px;
  z-index: 10002;
}

.nav__dropdown--about .nav__submenu{
  right: 0;
  left: auto;
}

.nav__sublink{
  display:inline-block;
  padding: .65rem 1rem;
  font-size: 14px;
  color: #000E33;
}
.nav__sublink:hover{ background: rgba(12,22,48,.06); }

.mobile-nav__submenu{
  padding-left: 12px;
  display: flex;
  flex-direction: column;
}

.mobile-nav__dropdown > summary{
  width: 100%;
  justify-content: space-between;
}

.mobile-nav__sublink{
  display:block;
  padding: 10px 0;
  font-size: 16px;
  color: #000E33;
  opacity: .9;
}
@media (hover: hover) and (pointer: fine){

  .nav__dropdown > summary.nav__link{
    padding: 8px 14px;
    border-radius: 999px;
    transition: background .2s ease, transform .15s ease;
  }

  .nav__dropdown > summary.nav__link:hover{
    background: rgba(12, 22, 48, 0.08);
    transform: translateY(-1px);
  }
@media (hover: hover) and (pointer: fine){

  .nav__sublink{
    border-radius: 999px;
    padding: 8px 14px;
    display: inline-block; /* IMPORTANT */
    transition: background .2s ease;
  }

  .nav__sublink:hover{
    background: rgba(12, 22, 48, 0.08);
  }

}
}

/* =========================
   Bannière de consentement
   ========================= */

.cookie-banner {
  position: fixed;
  left: 7%;
  bottom: 40px;
  z-index: 1000;
  width: min(815px, 86vw);
  background: #000E33;
  color: #F2F0EB;
  border-radius: 28px;
  padding: 48px 64px;
  box-sizing: border-box;
}

.cookie-banner__content {
  width: 100%;
}

.cookie-banner__text h2 {
  margin: 0 0 22px;
  color: #F2F0EB;
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.cookie-banner__text p {
  margin: 0;
  max-width: 680px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.cookie-banner__text a,
.cookie-banner__preferences {
  color: #F2F0EB;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.cookie-banner__preferences {
  margin-right: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  cursor: pointer;
}

.cookie-banner__button {
  min-width: 190px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #F2F0EB;
  color: #000E33;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* =========================
   Préférences de cookies
   ========================= */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 14, 51, 0.45);
  box-sizing: border-box;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 48px 56px;
  background: #000E33;
  color: #F2F0EB;
  border-radius: 28px;
  box-sizing: border-box;
}

.cookie-modal__close {
  position: absolute;
  top: 24px;
  right: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #F2F0EB;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal__panel h2 {
  margin: 0 48px 14px 0;
  color: #F2F0EB;
  font-family: "Libre Franklin", sans-serif;
  font-size: 32px;
  line-height: 1.2;
}

.cookie-modal__intro {
  margin: 0 0 32px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(242, 240, 235, 0.3);
}

.cookie-modal__category h3 {
  margin: 0 0 8px;
  color: #F2F0EB;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.cookie-modal__category p {
  margin: 0;
  max-width: 430px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-modal__required {
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.cookie-modal__learn-more {
  color: #F2F0EB;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

/* Interrupteur mesure d'audience */

.cookie-switch {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__slider {
  position: absolute;
  inset: 0;
  border: 2px solid #F2F0EB;
  border-radius: 999px;
  transition: 0.2s;
}

.cookie-switch__slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #F2F0EB;
  border-radius: 50%;
  transition: 0.2s;
}

/* Interrupteur activé : fond bleu CTA */
.cookie-switch input:checked + .cookie-switch__slider {
  background: #0D1073;
}

.cookie-switch input:checked + .cookie-switch__slider::before {
  transform: translateX(24px);
}

.cookie-switch input:focus-visible + .cookie-switch__slider {
  outline: 2px solid #F2F0EB;
  outline-offset: 4px;
}

.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;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .cookie-banner__text h2 {
    margin-bottom: 18px;
    font-size: 24px;
  }

  .cookie-banner__text p {
    font-size: 15px;
    line-height: 1.6;
  }

  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
  }

  .cookie-banner__preferences {
    order: 3;
    margin: 8px 0 0;
    text-align: center;
    font-size: 15px;
  }

  .cookie-banner__button {
    width: fit-content;
    min-width: 0;
    align-self: center;
    padding: 12px 24px;
    font-size: 15px;
  }

  /* Modale cookies - mobile */
  .cookie-modal {
    padding: 20px;
  }

  .cookie-modal__panel {
    width: 100%;
    max-height: calc(100vh - 40px);
    padding: 32px 24px;
    border-radius: 22px;
  }

  .cookie-modal__close {
    top: 20px;
    right: 22px;
    font-size: 26px;
  }

  .cookie-modal__panel h2 {
    margin: 0 36px 14px 0;
    font-size: 24px;
  }

  .cookie-modal__intro {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .cookie-modal__category {
    gap: 20px;
    padding: 20px 0;
  }

  .cookie-modal__category h3 {
    font-size: 16px;
  }

  .cookie-modal__category p {
    font-size: 13px;
  }

  .cookie-modal__required {
    font-size: 12px;
    text-align: right;
  }

  .cookie-modal__actions {
    justify-content: center;
    margin-top: 24px;
  }
}
/* ===============================
   NEWSLETTER — Vérification email
   =============================== */

.newsletter-confirmation {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.newsletter-confirmation__content {
  width: min(900px, 100%);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter-confirmation__eyebrow {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.newsletter-confirmation h1 {
  max-width: none;
  white-space: nowrap;
  margin-bottom: 28px;
  color: var(--text);
}

.newsletter-confirmation__lead {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.newsletter-confirmation__content > p:not(.newsletter-confirmation__eyebrow) {
  max-width: 590px;
}

.newsletter-confirmation__content > p {
  margin-top: 0;
}

.newsletter-confirmation__note {
  margin-bottom: 34px;
  color: var(--text);
  font-size: 16px;
}

.newsletter-confirmation .btn {
  margin-top: 8px;
}


@media (max-width: 720px) {

  .newsletter-confirmation {
    min-height: 520px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .newsletter-confirmation__content {
    width: 100%;
    padding-inline: 12px;
  }

  .newsletter-confirmation h1 {
    white-space: normal;
    width: 100%;
    max-width: 100%;
    font-size: 36px;
    line-height: 1.08;
    margin-bottom: 28px;
    text-align: center;
  }

  .newsletter-confirmation__lead,
  .newsletter-confirmation__content > p:not(.newsletter-confirmation__eyebrow) {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .newsletter-confirmation__lead {
    font-size: 16px;
  }

  .newsletter-confirmation__note {
    margin-bottom: 28px;
    font-size: 16px;
    color: var(--text);
  }
}