/* ============================================================
   Chiesi — Asthme Contrôle — Stylesheet
   ============================================================ */

/* ─── Reset ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:        #B90066;
  --pink-mid:    #C50069;
  --pink-dark:   #8C003F;
  --blue-lung:   #2059A4;
  --blue-btn:    #2B5EA7;
  --blue-btn-dk: #1C4A8C;
  --blue-text:   #2E54A1;
  --white:       #ffffff;
  --gray-light:  #f5f5f5;
  --gray-border: #cecece;
  --gray-footer: #e5e5e5;
  --text-dark:   #1a1a1a;
  --text-mid:    #444444;
  --text-muted:  #888888;
  --pink-text:   #C50069;
  --font :"Montserrat", sans-serif;
  --font-title: "Roboto", sans-serif;
  --font-pixel:  'Press Start 2P', monospace;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-pill: 100px;
  --footer-height : 102px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

select option { font-weight: 500; font-style: normal;}

/* .pt-position {
  position: relative;
}

.pt-position img {
  position: absolute;
  left: 18%;
  height: 230px;
  top: -37px;
  z-index: -1;

  @media screen and (max-width :1200px) {
    left: 0%;
  }
}


.pt-position-top img {
  top: -65px;
} */

.container-section { margin: 0 auto; max-width: 1400px; width: 100%;}
.bottom_text { line-height: 1.3;}
.hero-reference { font-size: 12px; font-weight: 300; color: var(--white); text-align: center;}
.bottom_text p { font-size: 20px;}
.bottom_text i { font-size : 12px; font-weight: 300; color: var(--white); }
/* ___ Select 2 ____ */
/* style du select */
.select2-container .select2-selection--single {
    background: #fff !important;
    border: 0 !important;
    border-radius: 6px;
    height: 39px !important;
    padding: 5px 12px !important;

    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}
.select2-selection__placeholder { font-size:20px;font-style: italic !important; color: black !important;}
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background-color: var(--blue-text) !important;}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent var(--blue-text) transparent !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--blue-text) transparent transparent transparent !important;}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px !important;
    right: 5px !important;
}

.select2-search--dropdown { display: none !important;}

/* texte affiché */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;
}

/* placeholder italic */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    font-style: italic;
    color: #555;
}


/* flèche */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}
/* ___ Select 2 ____ */

/* ─── Page Hero (all pages) ──────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
    background-image: url("../images/banniere2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-home { 
  position: relative;
  overflow: hidden;
  background-image: url("../images/banniere1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
   min-height: calc(100vh - var(--footer-height));
}

.mentions {   background: radial-gradient(circle at 71% 25%, #da0d81 10%, #bd157a 25%, #c0147e 75%, #bd157a 90%);
 }
.page-hero--compact , .hero-admin { max-width: 1400px; margin: 0 auto; width: 100%; }

/* Home page: extra bottom padding for the two-column layout */
#hero {
  padding-bottom: 0;
}

.bg-color { 
  background-color: #2E54A1;
  height: 10px;
}
/* ─── Chiesi logo bar ────────────────────────────────────────── */
.hero-logo-bar {
  padding: 22px 40px 10px;
}

.chiesi-logo {
  display: inline-flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

/* ─── Hero body (two-column grid) — questionnaire page ──────── */
.hero-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0 40px 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-col-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════
   HOME PAGE — matches front/index.html + front/assets/css/style.css
   ══════════════════════════════════════════════════════════════ */

/* Font override for home hero */
#hero {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  color: #ffffff;
}

/* ─── Header / logo ──────────────────────────────────────────── */
.header {
  padding: 30px 10px;
  position: relative;
  z-index: 10;
  animation: fadeDown 0.6s ease-out 0.05s both;
}

.header img {
  height: 60px;
  display: block;
}

/* ─── Two-column content ─────────────────────────────────────── */
#content {
  /* display: flex;
  align-items: start;
  justify-content: center;
  gap: 7%; */
  padding: 10px 5% 50px 5%;
  position: relative;
  z-index: 10;
}

.top_section { 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  
  @media screen and (max-width :1024px) { flex-direction: column;}
}

.buttons_section { display: flex; align-items: flex-start;
justify-content: center; gap: 2rem; margin: 1rem 0;

@media screen and (max-width: 647px) { flex-direction: column; align-items: center;
        gap: 0rem;}}
/* ─── Left column ────────────────────────────────────────────── */
#lung_controle {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInLeft 0.75s ease-out 0.15s both;
}
.lung_controle_opacity .lung { opacity: 46%;}
.lung {
  width: 420px;
  height: auto;
  margin-bottom: 30px;
  animation: float 4s ease-in-out infinite;
}

.cta-btn {
  background-color: #ffffff;
  color: #B90066;
  border: none;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
  padding: 1.2rem 2.5rem;
  border-radius: 20px;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  display: inline-block;
  text-align: center;
  font-family: var(--font-title);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

}
.cta-btn:hover { background-color: #E6E6E6; }

#lung_controle p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #ffffff;
  opacity: 0.85;
  font-weight: 700;
  max-width: 500px;
}

/* ─── Right column ───────────────────────────────────────────── */
#conseil {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInRight 0.75s ease-out 0.25s both;
}

.conseil_title {
  margin-bottom: 1.8rem;
}

.conseil_title h1 {
  font-size: 2.5rem;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-align: left;
  font-family: var(--font-title);
}

.conseil_title h1 span {
  font-size: 2.2rem;
  font-family: 'Press Start 2P', cursive;
  color: #d9db29;
  text-shadow:  1px  1px #4b64f3,
               -1px  1px #4b64f3,
                1px -1px #4b64f3,
               -1px -1px #4b64f3;
  margin: 0 2px;
  animation: letterGlow 2.4s ease-in-out 0.9s infinite;
  vertical-align: bottom;
}

.conseil_title h1 strong {
  display: block;
  font-weight: 900;
  font-size: 3.5rem;
  margin-top: 2px;
}

/* ─── 71 % stat ──────────────────────────────────────────────── */
.patients_percentage {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  animation: fadeUp 0.6s ease-out 0.35s both;
}

.percentage h2 {
  font-size: 126px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  margin-right: 20px;
  font-family: var(--font-title);
}

.percentage_desc {
  font-size: 25px;
  line-height: 1.1;
  color: #ffffff;
  max-width: 380px;
  font-family: var(--font-title);
}

.percentage_desc p {
  margin: 0;
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
}

.percentage_desc p span {
  font-weight: bold;
}

/* ─── Asthme banner (ribbon) ─────────────────────────────────── */
.asthme_bar {
  background: #b0006d;
  display: inline-block;
  padding: 10px 40px;
  position: relative;
  margin: 2rem 0 10px;
  color: white;
  text-align: center;
  animation: fadeUp 0.6s ease-out 0.45s both;
}

.asthme_bar::before,
.asthme_bar::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 70%;
  background-color: inherit;
}
.asthme_bar::before { left: -7px; }
.asthme_bar::after  { right: -7px; }

.asthme_bar h3 {
  margin: 0;
  font-size: 25px;
  font-weight: bold;
  letter-spacing: 0.5px;
  color: #ffffff;
  font-family: var(--font-title);
  text-transform: uppercase;
}

.asthme_bar h3 sup { font-size: 13px; font-weight: 300;}
.stepper-step-label {  font-size : 26px;color: var(--pink); @media screen and (max-width:500px) {font-size: 20px;}}
/* ─── Conseils button ────────────────────────────────────────── */
.conseil_button {
  width: 100%;
  display: flex;
  justify-content: center;
  animation: fadeUp 0.6s ease-out 0.55s both;
}

.conseil_btn {
  background-color: #2E54A1;
  color: #fff;
  border: none;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
  padding: 2.2rem 2.5rem 1.8rem;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 280px;
  line-height: 1.4;
  margin-bottom: 0;
  display: inline-block;
  text-align: center;
  text-decoration: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.conseil_btn:hover { background-color: #1e3d7a; }

/* ─── Particle dots ──────────────────────────────────────────── */
.pt {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: particlePulse 3s ease-in-out infinite;
}

/* ─── Keyframe animations ────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes letterGlow {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.6) drop-shadow(0 0 8px currentColor); }
}

@keyframes particlePulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.8); opacity: 1;   }
}

/* ─── Lung illustration ──────────────────────────────────────── */
.lung-container {
  width: 100%;
  max-width: 380px;
}

.lung-container svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.25));
}

/* ─── Privacy text ───────────────────────────────────────────── */
.hero-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  max-width: 380px;
  font-weight: 500;
}

/* ─── Hero headline ──────────────────────────────────────────── */
.hero-headline {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero-headline .line-main {
  display: block;
}

.hero-headline .line-sub {
  display: block;
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
}

/* "ASTHME" pixel art letters */
.asthme-word {
  display: inline-flex;
  gap: 0;
  font-family: var(--font-pixel);
  font-size: clamp(1.1rem, 2.2vw, 1.85rem);
  line-height: 1;
  letter-spacing: 2px;
  vertical-align: middle;
}

.p-A { color: #E8192C; }
.p-S { color: #F7941D; }
.p-T { color: #FFE600; }
.p-H { color: #2ECC71; }
.p-M { color: #00BFFF; }
.p-E { color: #DA70D6; }

/* ─── 71% stat block ─────────────────────────────────────────── */
.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: white;
}

.stat-big {
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: white;
  flex-shrink: 0;
}

.stat-body {
  font-size: 0.92rem;
  line-height: 1.45;
  padding-top: 0.5rem;
}

/* ─── Dark banner ─────────────────────────────────────────────── */
.hero-dark-banner {
  background: var(--pink-dark);
  padding: 13px 22px;
  color: white;
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  font-weight: 700;
  font-style: italic;
  border-radius: 2px;
}

/* ─── References footnote ────────────────────────────────────── */
.hero-refs {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ─── CTA section (home page only) ──────────────────────────── */
.cta-section {
  background: white;
  padding: 50px 40px;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cta-right {
  display: flex;
  justify-content: center;
}

/* ─── Buttons ─────────────────────────────────────────────────── */

/* Outlined verify button */
.btn-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2.5px solid var(--pink);
  color: var(--pink);
  background: white;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all .2s;
  line-height: 1.4;
  min-width: 280px;
}
.btn-verify:hover { background: var(--pink); color: white; }

/* Hero verify card (solid white – inside pink hero, desktop only) */
.btn-verify-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: white;
  color: var(--pink);
  padding: 1.5rem 2.2rem;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: box-shadow .2s;
  line-height: 1.45;
  min-width: 260px;
  border: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.btn-verify-hero:hover { box-shadow: 0 6px 28px rgba(0,0,0,.28); }

/* Blue filled button */
.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--blue-btn);
  color: white;
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s;
  line-height: 1.4;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.btn-blue:hover { background: var(--blue-btn-dk); }

/* Pink filled (form submit) */
.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-mid);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 30px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.btn-pink:hover { background: var(--pink-dark); }

/* Ghost/back button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--pink);
  border: 1.5px solid var(--pink);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(196,0,96,.08); }

/* ─── Desktop/mobile visibility helpers ─────────────────────── */
.hero-cta-desktop { /* visible by default */ }
.hero-cta-mobile  { display: none; }

/* ─── CTA privacy ─────────────────────────────────────────────── */
.cta-privacy {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.5;
  max-width: 320px;
}

/* ─── Resources section ───────────────────────────────────────── */
.resources-section {
  position: relative;
  z-index: 10;
  padding: 4rem 0;
}

.resources-inner {
  max-width: 1400px;
  margin: 0 auto;

  @media screen and (min-width : 1024px) { padding: 0 1rem;}
}

.resources-title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--blue-text);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.resource-card-box { text-align: center; display:flex;
    flex-direction: column;}    
    
.resource-card {
  flex: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--pink);
}

.card-image {
  aspect-ratio: 7/3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-position:bottom;
  transition: filter 0.4s ease;
}

.card-image img:hover {  filter: brightness(0.8); }

.card-content {
  padding: 0 2rem 2rem;
  gap: 0.5rem;
  text-align: left;
}

.card-accent {
  height: 3px;
  width: 150px;
  background: var(--pink);
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--pink);
  line-height: 1.35;
  margin-top: 1.5rem;
}

.card-desc {
  font-size: 12px;
  color: var(--blue-text);
  line-height: 1.55;
  padding-top: 1rem;
}

.card-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #B90066;
  color: white;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.25rem;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  margin: 1.4rem auto 0;
  transition: background .2s;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.visibility-h {
  visibility: hidden;
}

.card-download:hover { background: var(--pink-dark); }

.btn-precedente a { font-weight: 400;}

/* ─── Compact hero (conseils / sub-pages) ────────────────────── */
.page-hero--compact {
  padding-bottom: 2.5rem;
}

.compact-hero-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 0;
  text-align: center;
}

.compact-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: white;
}

.compact-hero-sub {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* ─── Questionnaire page ──────────────────────────────────────── */

/* ─── Stepper ─────────────────────────────────────────────────── */
.stepper-section {
  background: white;
  padding: 2.25rem 1rem 0;
}

.stepper-wrap {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stepper-dots {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.2rem;
  width: 100%;
}

.s-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  background: white;
  flex-shrink: 0;
  transition: all .3s;
}
.s-dot.active { background: var(--pink); }
.s-dot.done   { background: white; border-color: var(--pink); }

.s-line {
  height: 2px;
  width: 46%;
  background: var(--pink);
  flex-shrink: 0;

  @media screen and (max-width : 726px) { width: 45%;}
  @media screen and (max-width : 600px) { width: 44%;}
  @media screen and (max-width : 500px) { width: 43%;}
  @media screen and (max-width : 448px) { width: 42%;}
  @media screen and (max-width : 386px) { width: 41%;}
}

.stepper-title {
  font-size: 26px;
  font-weight: bold;
  color: var(--pink);
  margin-bottom: 0.2rem;

  @media screen and (max-width :500px) { font-size: 22px; }
}

.select2-container .select2-selection--single {
    height: 50px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 16px;
}

.stepper-hint {
  font-size: 20px;
  color: var(--pink);
  margin-bottom: 0;
  font-weight: 400;
}

.stepper-divider {
  width: 100%;
  max-width: 700px;
  height: 2px;
  background: var(--pink);
  margin: 1.25rem auto 0;
}

/* ─── Quest container ─────────────────────────────────────────── */
.quest-container {
  width: 100%!important;
  /* max-width: 700px;
  margin: 0 auto; */
  padding: 2rem 1.5rem 4rem;
}

/* ─── Step panels ─────────────────────────────────────────────── */
.step-panel { }
.step-panel.hidden  { display: none; }
.step-panel.active  { display: block; margin: 0 auto; }
.step-panel.active:nth-child(2) { max-width: 700px;}

/* ─── GINA questions ──────────────────────────────────────────── */
.gina-instruction {
  font-size: 30px;
  font-weight: bold;
  color: var(--blue-text);
  margin: 0 auto 1.75rem;
  line-height: 1.6;
  text-align: left;
  max-width: 1200px;
  width: 100%;
  @media screen and (max-width : 1024px) { font-size: 20px; }
  @media screen and (max-width : 600px) { font-size: 18px; }
}

.border { border: 1px solid #E4E7EC; max-width: 1400px; width: 98%; margin: 0 auto; border-radius: 50%;}
.question-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto 2rem;
}

.question-item {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.question-text {
  font-size: 20px;
  color: black;
  line-height: 1.6;
  padding-left: 20px;
  font-weight: 400;
  position: relative;
}
.question-text::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -13px;
  font-size: 2rem;
  color: var(--blue-text);
  font-family: 'Montserrat';
}

.oui-non-row {
  display: flex;
  justify-content: flex-start;
  gap: 7.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: none;
  transition: background .2s;
  user-select: none;
  min-width: 80px;
}

/* Radio circle */
.radio-inline input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ccc;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

/* Inner dot */
.radio-inline input[type="radio"]::after {
  content: '';
  position: absolute;
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Show dot when checked */
.radio-inline input[type="radio"]:checked::after {
  display: block;
}

/* Step 1: pink when checked */
#form-step1 .radio-inline input[type="radio"]:checked {
  background: var(--pink-mid);
  border-color: var(--pink-mid);
}
#form-step1 .radio-inline:has(input:checked) {
  background: rgba(197, 0, 105, .10);
}

/* Step 2: blue when checked */
#form-step2 .radio-inline input[type="radio"]:checked {
  background: var(--blue-btn);
  border-color: var(--blue-btn);
}
#form-step2 .radio-inline:has(input:checked) {
  background: rgba(43, 94, 167, .08);
}


/* ─── Demographics section ────────────────────────────────────── */
.demo-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--blue-text);
  text-align: center;
  margin-bottom: 0.25rem;
  line-height: 1.2;

  @media screen and (max-width : 500px) { font-size: 20px;}
}

.demo-subtitle {
  font-size: 20px;
  font-style: italic;
  color: var(--text-dark);
  text-align: center;
  margin: 1.75rem 0;
  font-weight: 400;
}

/* ─── Form fields ─────────────────────────────────────────────── */
.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 10px;
}

.form-field label {
  padding-left: 20px;
  font-size: 20px;
  color: black;
  font-weight: 400;
  margin-bottom: 10px;
}
.form-field::before {
    content: "•";
    position: absolute;
    left: 7px;
    top: -13px;
    font-size: 2rem;
    color: var(--blue-text);
    font-family: 'Montserrat';
  }
.premature-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7.5rem;
}
.premature-row .oui-non-row {
  margin-top: 0;
}

@media (max-width: 1024px) { .premature-row { gap: 5rem; } }
@media (max-width: 768px)  { .premature-row { gap: 3.5rem; } }
@media (max-width: 480px)  { .premature-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; } }

.form-field label.bold {
  font-weight: 700;
}

.form-select {
  width: 100%;
  padding: 0.72rem 2.5rem 0.72rem 0.9rem;
  font-family: var(--font);
  font-size: 0.87rem;
  color: var(--text-dark);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232B5EA7'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center / 22px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color .2s;
  font-style: italic;
}
.form-select:focus { outline: none;}
.form-select.has-value { color: var(--text-dark); }

/* ─── Radio grid (multi-option questions) ─────────────────────── */
.radio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.radio-grid-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 8px;
  transition: background .15s;
  user-select: none;
}
.radio-grid-cell:hover { background: rgba(43, 94, 167, .05); }

.radio-grid-cell input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #fff;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.radio-inline span { font-size: 20px; font-weight: 400; color: black;}
.radio-grid-cell input[type="radio"]::after {
  content: '';
  position: absolute;
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio-grid-cell input[type="radio"]:checked { background: var(--blue-btn); border-color: var(--blue-btn); }
.radio-grid-cell input[type="radio"]:checked::after { display: block; }
#form-step2 .radio-grid-cell:has(input:checked) { background: rgba(43, 94, 167, .07); }

/* ─── Form errors ─────────────────────────────────────────────── */
.form-error {
  background: rgba(200,0,80,.06);
  border: 1px solid rgba(200,0,80,.2);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  color: #c00040;
  font-size: 0.84rem;
  margin: 0.75rem auto 0;
  max-width:700px;
}

.hidden { display: none !important; }

.field-error {
  font-size: 0.74rem;
  color: #c00040;
  font-weight: 600;
  display: block;
  min-height: 1rem;
  margin-bottom: 5px;
}

.btn-admin { font-size: 0.80rem;}
.last-error { display: none !important;}
/* ─── Form actions ────────────────────────────────────────────── */
.form-actions {
  display: flex;
  justify-content: flex-start;
  margin: 1rem auto 0;
  max-width: 700px;
}

.form-actions--split {
  justify-content: space-between;
}

/* ─── Result panel ────────────────────────────────────────────── */
.result-score-line {
  font-size: 30px;
  font-weight: bold;
  color: var(--blue-text);
  letter-spacing: 0.04em;
  margin: 1.5rem auto 1.25rem;
  text-align: center;
  max-width: 637px;
  width: 100%;

  @media screen and (max-width : 500px) { font-size: 22px;}
}

.result-message {
  text-align: center;
  margin-bottom: 2.5rem;
  background-color: #ffffff;
}

.result-message p {
  font-size: 25px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1.55;

  @media screen and (max-width : 800px) { font-size: 20px;}
  @media screen and (max-width : 600px) { font-size: 18px;}
}

.result-bottom-grid {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  padding-top: 1rem;
}
.result-bottom-grid .border-line { border: 1px solid var(--pink); height: 250px;}
.result-thumb {
  width: 50%;
}
.result-thumb img {
  max-width: 100%;
  height: auto;
  display: block;
}

.result-cta-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 42%;
}

.result-cta-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--pink);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.result-cta-text strong {
  color: var(--pink);
  font-weight: 700;
}

.result-message, .result-bottom-grid { max-width: 637px; margin-left: auto; margin-right: auto; width: 100%; }
/* ─── Loading overlay ─────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #eee;
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin .65s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Honeypot ────────────────────────────────────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ─── Admin ───────────────────────────────────────────────────── */
.admin-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 2.5rem 2rem;
  max-width: 940px;
  margin: 0 auto;
}
.admin-wrap h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .87rem;
  margin: 1.25rem 0;
}
.admin-table th, .admin-table td {
  padding: .6rem .9rem;
  border: 1px solid #eee;
  text-align: left;
}
.admin-table th { background: #f5f5f5; font-weight: 700; }
.export-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  align-items: center;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer-bg {
max-width: 1450px;
width: 100%;
margin: 0 auto;
}
.site-footer {
  color:black;
  font-size: 16px;
  line-height: 1.6;
  padding: 20px 1rem;
  width: 100%;
  position: relative;
  z-index: 10;
  animation: fadeUp 0.6s ease-out 0.75s both;
  font-weight: 400;
  max-width: 1400px;
  margin: 0 auto;
}
.site-footer-wrap { 
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 10px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.site-footer a {
  text-transform: uppercase;
  text-decoration: underline;
} 

/* ─── Responsive ──────────────────────────────────────────────── */

/* ── Tablet ≤ 900px ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Questionnaire / conseils hero */
  .hero-body { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero-col-left { align-items: center; }
  .hero-col-right { align-items: center; }
  .hero-dark-banner { text-align: center; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem;}

  /* Home hero */
  .conseil_title h1 { font-size: 1.4rem; }
  .conseil_title h1 strong { font-size: 1.5rem; }
  .conseil_title h1 span { font-size: 1.3rem;}
  .percentage h2 { font-size: 4.5rem; }
  .percentage_desc { font-size: 1.2rem; }
  .text_block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  /* .lung { width: 340px; } */
}

/* ── Mobile ≤ 768px ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Home hero: stack columns */
  #content {
    flex-direction: column;
    align-items: start;
    gap: 2rem;
    padding: 10px 5% 30px;
  }

  #lung_controle { max-width: 100%; width: 100%; }

  .lung { width: 100%; max-width: 500px; margin-bottom: 20px; }

  #conseil { max-width: 100%; width: 100%; align-items: center; }

  .conseil_title { margin-bottom: 2.3rem; text-align: center; }
  /* .conseil_title h1 { font-size: 1.2rem; }
  .conseil_title h1 span { font-size: 0.75em; }
  .conseil_title h1 strong { font-size: 1.4rem; } */

  .patients_percentage { justify-content: center; margin-bottom: 1.8rem; }
  .percentage h2 { font-size: 3.5rem; }
  .percentage_desc { font-size: 1rem; max-width: 220px; }

  .asthme_bar { width: fit-content; margin: 10px 0 20px; padding: 10px 20px; }
  /* .asthme_bar h3 { font-size: 0.9rem; } */

  /* .cta-btn, .conseil_btn { font-size: 1.1rem; padding: 1rem 1.5rem;} */
  .conseil_btn br { display: none;}


  /* Questionnaire / conseils */
  .hero-logo-bar { padding: 18px 20px 8px; }
  .hero-body { padding: 0 20px 30px; gap: 1.25rem; }
  .resources-section { padding: 3rem 20px; }
  /* .s-line { width: 250px; } */

  /* Form */
  .asthme-word { font-size: 0.95rem; letter-spacing: 1px; }

  .result-bottom-grid { flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
  .result-thumb { width: max-content; }
  .result-bottom-grid .result-cta-block .btn-blue br { display: none; }
  .result-bottom-grid .result-cta-block .btn-blue { margin: 0 auto; width: fit-content; }
  .result-bottom-grid .border-line {
    height: 1px;
    width: 100%;
    margin-top: 0;
  }

.result-cta-block { width: 100%;}

.result-cta-block .result-cta-text br { display: none;}

.result-cta-block .result-cta-text { text-align: center;}
}


@media screen and (max-width : 600px) { .cards-grid  { grid-template-columns: 1fr;}}
/* @media screen and (max-width: 591px) { .s-line{ width : 145px; } } */
/* ── Small mobile ≤ 480px ───────────────────────────────────── */
@media (max-width: 480px) {
  .header { padding: 12px 16px; }

  .conseil_title h1 { font-size: 1.2rem; } 
   .conseil_title h1 strong { font-size: 1.2rem; }
   .conseil_title h1 span { font-size : 1.2rem}

  .percentage h2 { font-size: 2.8rem; }
  .percentage_desc { font-size: 0.9rem; }

  .asthme_bar h3 { font-size: 0.8rem; }

  .cta-btn, .conseil_btn { font-size: 0.95rem; padding: 0.9rem 1.2rem; }

  #lung_controle p { font-size: 0.75rem; }

}

/* ── Cookie consent icon ────────────────────────────────────── */
#cookie-icon-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
  padding: 0;
}
#cookie-icon-btn:hover {
  background: var(--pink-dark);
  transform: scale(1.08);
}

/* ── Tarteaucitron panel overrides ──────────────────────────── */
#tarteaucitronRoot button#tarteaucitron-acceptAll,
#tarteaucitronRoot .tarteaucitronAllow {
  background-color: var(--pink) !important;
}
#tarteaucitronRoot button#tarteaucitron-denyAll,
#tarteaucitronRoot .tarteaucitronDeny {
  background-color: var(--text-mid) !important;
}

/* ─── PDF Cards (Conseils) ───────────────────────────────────── */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pdf-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1.25rem 1.5rem;
  gap: 1rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(227,0,122,.12);
}

.pdf-card-icon {
  flex-shrink: 0;
}

.pdf-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.pdf-badge {
  display: inline-block;
  background: #FDEEF5;
  color: var(--pink);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(227,0,122,.2);
}

.pdf-card-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.4;
}

.pdf-card-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pink);
  color: #fff;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  text-decoration: none;
  margin-top: auto;
}

.pdf-card-download:hover {
  background: var(--pink-dark);
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .pdf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pdf-grid { grid-template-columns: 1fr; }
}
/* ─── Mentions légales — hero extras ─────────────────────────── */
.ml-hero { min-height: 220px; display: flex; flex-direction: column; }

.ml-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 5% 3rem;
  gap: 0.5rem;
}

.ml-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
}

.ml-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.ml-hero-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,.6);
  margin-top: 0.25rem;
}

/* ─── Mentions légales — page layout ─────────────────────────── */
.ml-wrap {
  background: #f5f6fa;
  padding: 3rem 1.5rem 5rem;
}

/* Quick-nav pills */
.ml-quicknav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.ml-qnav-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  transition: background .15s, color .15s, border-color .15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.ml-qnav-pill:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* Sections container */
.ml-sections {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Back link */
.ml-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-mid);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid #d8d8d8;
  background: #fff;
  transition: border-color .15s, color .15s;
  align-self: flex-start;
  margin-top: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.ml-back-link:hover { border-color: var(--pink); color: var(--pink); }

.ml-section {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid #eee;
  overflow: hidden;
  scroll-margin-top: 2rem;
}

.ml-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  background: linear-gradient(135deg, #FDEEF5 0%, #fff 60%);
  border-bottom: 1px solid #f0e0ea;
}

.ml-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.ml-section-head h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.ml-section-body {
  padding: 1.5rem 1.75rem;
}

.ml-section-body p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

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

/* Info row (key-value pairs) */
.ml-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ml-info-item {
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 160px;
}

.ml-info-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ml-info-value {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
}

.ml-info-value a { color: var(--pink); text-decoration: underline; }

/* Rights list */
.ml-rights-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1rem;
  margin: 0.75rem 0 1rem;
}

.ml-rights-list li {
  font-size: 0.84rem;
  color: var(--text-mid);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.ml-rights-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

/* Notice / warning boxes */
.ml-notice,
.ml-warning {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-top: 1rem;
}

.ml-notice {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
}

.ml-warning {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
}

.ml-notice-icon { color: #3B82F6; flex-shrink: 0; margin-top: 2px; }
.ml-warning-icon { color: #F97316; flex-shrink: 0; margin-top: 2px; }

.ml-notice p,
.ml-warning p {
  font-size: 0.84rem !important;
  color: var(--text-mid) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.ml-notice a { color: #2563EB; text-decoration: underline; }
.ml-warning a { color: #EA580C; text-decoration: underline; }

/* Contact card */
.ml-contact-card {
  font-style: normal;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.ml-contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-mid);
}

.ml-contact-row svg { flex-shrink: 0; color: var(--pink); }
.ml-contact-row a { color: var(--pink); text-decoration: underline; }
.ml-contact-row strong { color: var(--text-dark); }

/* Responsive */
@media (max-width: 600px) {
  .ml-hero-title { font-size: 1.7rem; }
  .ml-section-head { padding: 1rem 1.25rem; }
  .ml-section-body { padding: 1.1rem 1.25rem; }
  .ml-num { width: 30px; height: 30px; font-size: 0.65rem; }
  .ml-rights-list { grid-template-columns: 1fr; }
  .ml-wrap { padding: 2rem 1rem 4rem; }
}

/* ─── Admin result legend ────────────────────────────────────── */
.result-legend {
  background: #f7f9fc;
  border: 1px solid #e4e8ef;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
}

.result-legend-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-dark);
  margin-bottom: 1.1rem;
}

.result-legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.result-legend-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  border-top: 3px solid #ccc;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.result-legend-item--controle  { border-top-color: #22a06b; }
.result-legend-item--partiel   { border-top-color: #f59e0b; }
.result-legend-item--non-controle { border-top-color: #e3007a; }

.result-legend-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.result-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #ccc;
}

.result-legend-item--controle   .result-legend-dot { background: #22a06b; }
.result-legend-item--partiel    .result-legend-dot { background: #f59e0b; }
.result-legend-item--non-controle .result-legend-dot { background: #e3007a; }

.result-legend-header strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  font-family: monospace;
}

.result-legend-item p {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 700px) {
  .result-legend-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .oui-non-row { gap: 5rem; }
}

@media (max-width: 768px) {
  .oui-non-row { gap: 3.5rem; }
  .bottom_text p { font-size: 18px;}
}

@media (max-width: 480px) {
  .oui-non-row { gap: 2rem; }
  .bottom_text p { font-size: 16px;}
}

/* ── Very small ≤ 420px ─────────────────────────────────────── */
@media (max-width: 420px) {
  .btn-verify, .btn-blue { min-width: unset; width: 100%; }
  .oui-non-row { gap: 1.5rem; }
  .radio-inline { min-width: unset; }
  .form-actions--split { flex-direction: column; gap: 0.75rem; align-items: stretch; }

}

@media (max-width: 390px) {
  .step-panel.active:nth-child(2) { max-width: 100%; width: 100%; }
  .quest-container {
    width: 100%;
    padding: 2rem 10px 4rem;
  }
}


@media screen and (min-width : 1024px) and (max-width: 1239px) {
  .conseil_title h1 {
    font-size: 1.8rem;
  }

  .conseil_title h1 strong {
    font-size: 1.8rem;
  }

  .conseil_title h1 span {
    font-size: 1.8rem;
  }
}