/* ============================================================
   Campus Pass — Design tokens & styles
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --violet:       #4A1FD1;
  --violet-nuit:  #2A0E7A;
  --violet-clair: #5B33E0;
  --lavande:      #F4F0FF;
  --encre:        #1E1442;
  --texte:        #3B3358;
  --texte-2:      #4A4266;
  --texte-3:      #5C5475;
  --jaune:        #FFE04A;
  --corail:       #FF6B8B;
  --creme:        #FFF6E3;
  --bord-creme:   #EADFC8;
  --vert-acces:   #12825A;
  --wave:         #1DA9E6;
  --orange-money: #F26A00;
  --blanc:        #FFFFFF;

  --r-sm:   14px;
  --r-md:   20px;
  --r-lg:   24px;
  --r-xl:   28px;
  --r-pill: 999px;

  --max-w: 1200px;
  --gap-h: 24px;
  --section-py: 96px;

  --font-titre: 'Bricolage Grotesque', Arial, sans-serif;
  --font-texte: 'Plus Jakarta Sans', Arial, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-texte);
  color: var(--encre);
  background: var(--blanc);
  overflow-x: hidden;
}

a { color: var(--violet); }
a:hover { color: var(--violet-nuit); }

h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Focus visible global */
:focus-visible {
  outline: 3px solid var(--jaune);
  outline-offset: 2px;
}

/* ---- Conteneur ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gap-h);
}

/* ---- Boutons ---- */
.btn-jaune {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  background: var(--jaune);
  color: var(--violet-nuit);
  font-family: var(--font-texte);
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-jaune:hover { opacity: 0.9; color: var(--violet-nuit); }

.btn-contour {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  border: 2px solid rgba(255,255,255,0.55);
  color: var(--blanc);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-contour:hover { border-color: rgba(255,255,255,0.9); color: var(--blanc); }

.btn-sm-jaune {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--jaune);
  color: var(--violet-nuit);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}
.btn-sm-jaune:hover { opacity: 0.9; color: var(--violet-nuit); }

/* ---- Étiquette overline ---- */
.overline {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--violet);
}
.overline--jaune { color: var(--jaune); }
.overline--nuit  { color: var(--violet-nuit); }

/* ---- Titres de section ---- */
.h2-section {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -1.2px;
  color: var(--violet-nuit);
  text-wrap: balance;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--violet);
  color: var(--blanc);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blanc);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 21px;
}

.logo-by {
  font-size: 12px;
  font-weight: 600;
  color: #E3DBFF;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 26px;
  font-weight: 600;
  font-size: 15px;
}

.site-nav a {
  color: var(--blanc);
  text-decoration: none;
  transition: opacity 0.15s;
}
.site-nav a:hover { opacity: 0.75; color: var(--blanc); }

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blanc);
  padding: 6px;
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding-bottom: 10px;
  }
  .site-nav.open { display: flex; }
  .burger { display: flex; align-items: center; }
  .header-cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--violet);
  color: var(--blanc);
  overflow: hidden;
}

.hero-orb-1 {
  position: absolute;
  right: -140px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--violet-clair);
  pointer-events: none;
}

.hero-orb-2 {
  position: absolute;
  left: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 70px;
  border: 3px solid rgba(255,255,255,0.18);
  transform: rotate(18deg);
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding-top: 56px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero-content {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-badge {
  align-self: flex-start;
  background: var(--corail);
  color: var(--violet-nuit);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transform: rotate(-2deg);
}

.hero-h1 {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -2px;
  text-wrap: balance;
}

.hero-h1-hl {
  background: var(--jaune);
  color: var(--violet-nuit);
  padding: 0 14px;
  border-radius: 16px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-desc {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
  color: #EFEAFF;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #E3DBFF;
}

.hero-bullet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* Hero visual */
.hero-visual {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  height: 560px;
  max-width: 520px;
  margin: 0 auto;
}

.hero-phone {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 270px;
  height: 548px;
  border-radius: 44px;
  background: #120B33;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(18,11,51,0.6);
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  background: var(--vert-acces);
  color: var(--blanc);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 46px 20px 20px;
  gap: 14px;
}

.hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.85);
  background: #7A4FD0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 34px;
  flex: none;
}

.hero-acces-label {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
}

.hero-acces-sub {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.hero-card-id {
  width: 100%;
  background: var(--blanc);
  color: var(--encre);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.hero-card-id-name {
  font-weight: 800;
  font-size: 16px;
}

.hero-card-id-promo {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texte-3);
}

.hero-card-id-time {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #E7E3F3;
  margin-top: 8px;
  padding-top: 8px;
}

.hero-card-id-time-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texte-3);
}

.hero-card-id-time-val {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 22px;
  color: var(--vert-acces);
}

.hero-phone-hint {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
}

/* Floating cards */
.hero-float-qr {
  position: absolute;
  left: 0;
  top: 70px;
  width: 190px;
  background: var(--blanc);
  color: var(--encre);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 20px 40px -18px rgba(18,11,51,0.55);
  transform: rotate(-4deg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-float-qr-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-float-qr img {
  width: 162px;
  height: 162px;
  display: block;
}

.hero-float-qr-hint {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--texte-3);
}

.hero-float-pay {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: 230px;
  background: var(--blanc);
  color: var(--encre);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -18px rgba(18,11,51,0.55);
  transform: rotate(3deg);
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-float-pay-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E2F3EB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-float-pay-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-float-pay-title {
  font-weight: 800;
  font-size: 15px;
}

.hero-float-pay-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texte-3);
}

@media (max-width: 700px) {
  .hero-visual { height: 420px; }
  .hero-phone { width: 200px; height: 406px; }
  .hero-phone-screen { padding: 36px 14px 14px; }
  .hero-avatar { width: 72px; height: 72px; font-size: 26px; }
  .hero-acces-label { font-size: 22px; }
  .hero-float-qr { width: 140px; left: -10px; }
  .hero-float-qr img { width: 112px; height: 112px; }
  .hero-float-pay { width: 180px; font-size: 13px; }
  .hero-float-pay-title { font-size: 13px; }
}

/* ============================================================
   BANDEAU PAIEMENTS
   ============================================================ */
.bandeau-paiements {
  background: var(--violet-nuit);
  color: var(--blanc);
}

.bandeau-paiements .container {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.bandeau-label {
  font-weight: 700;
  font-size: 15px;
  color: #D9D0FF;
  margin-right: 6px;
}

.pill {
  font-weight: 800;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.pill--wave   { background: var(--wave); color: var(--blanc); }
.pill--om     { background: var(--orange-money); color: var(--blanc); }
.pill--white  { background: var(--blanc); color: var(--violet-nuit); }
.pill--jaune  { background: var(--jaune); color: var(--violet-nuit); }

/* ============================================================
   COMMENT CA MARCHE
   ============================================================ */
.section-comment {
  background: var(--creme);
}

.section-comment .container {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}

.step-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 2px solid var(--bord-creme);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 22px;
  flex: none;
}
.step-num--violet { background: var(--violet); color: var(--blanc); }
.step-num--corail { background: var(--corail); color: var(--violet-nuit); }
.step-num--jaune  { background: var(--jaune);  color: var(--violet-nuit); }

.step-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 22px;
  color: var(--violet-nuit);
}

.step-desc {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--texte-2);
}

/* ============================================================
   FONCTIONNALITES
   ============================================================ */
.section-features {
  background: var(--blanc);
}

.section-features .container {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.features-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.features-header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}

.features-header-right {
  max-width: 420px;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--texte-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  gap: 20px;
}

.feat-card {
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-card--violet { background: var(--violet); color: var(--blanc); }
.feat-card--nuit   { background: var(--violet-nuit); color: var(--blanc); }
.feat-card--lavande { background: var(--lavande); color: var(--encre); }

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.feat-icon--jaune  { background: var(--jaune); }
.feat-icon--violet { background: var(--violet); }
.feat-icon--corail { background: var(--corail); }

.feat-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 23px;
}
.feat-card--lavande .feat-title { color: var(--violet-nuit); }

.feat-desc {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}
.feat-card--violet .feat-desc,
.feat-card--nuit   .feat-desc  { color: #EFEAFF; }
.feat-card--lavande .feat-desc  { color: var(--texte-2); }

/* ============================================================
   POUR QUI
   ============================================================ */
.section-pourqui {
  background: var(--jaune);
}

.section-pourqui .container {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.pourqui-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.pourqui-card {
  background: var(--blanc);
  border-radius: 26px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pourqui-title {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 25px;
  color: var(--violet-nuit);
}

.pourqui-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--texte);
}

.pourqui-item {
  display: flex;
  gap: 10px;
}

.pourqui-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 8px;
}
.pourqui-dot--violet { background: var(--violet); }
.pourqui-dot--corail { background: var(--corail); }
.pourqui-dot--vert   { background: var(--vert-acces); }

.pourqui-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.pourqui-tags-label {
  font-weight: 800;
  font-size: 15px;
  color: var(--violet-nuit);
}

.pourqui-tag {
  background: var(--violet-nuit);
  color: var(--blanc);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}

/* ============================================================
   SECURITE + DEMARRAGE
   ============================================================ */
.section-securite {
  background: var(--blanc);
}

.section-securite .container {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.secu-card {
  flex: 1 1 460px;
  min-width: 0;
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.secu-card--lavande { background: var(--lavande); }
.secu-card--violet  { background: var(--violet); color: var(--blanc); }

.secu-h2 {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.8px;
}
.secu-card--lavande .secu-h2 { color: var(--violet-nuit); }

.secu-paras {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.secu-p {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--texte);
}

.secu-p b { color: var(--violet-nuit); }

.demarrage-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demarrage-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.demarrage-badge {
  flex: none;
  min-width: 92px;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  text-align: center;
}
.demarrage-badge--jaune { background: var(--jaune); color: var(--violet-nuit); }
.demarrage-badge--corail { background: var(--corail); color: var(--violet-nuit); }

.demarrage-text {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: #EFEAFF;
}

/* ============================================================
   FAQ
   ============================================================ */
.section-faq {
  background: var(--creme);
}

.section-faq .container {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
}

.faq-h2 {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -1.2px;
  color: var(--violet-nuit);
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  background: var(--blanc);
  border-radius: var(--r-md);
  padding: 22px 26px;
  border: 2px solid var(--bord-creme);
}

details.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 800;
  font-size: 18px;
  color: var(--violet-nuit);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }

.faq-chev {
  flex: none;
  font-size: 26px;
  line-height: 1;
  color: var(--violet);
  transition: transform 0.2s;
}

details.faq-item[open] .faq-chev {
  transform: rotate(45deg);
}

.faq-answer {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--texte-2);
}

/* ============================================================
   DEMO FORM
   ============================================================ */
.section-demo {
  position: relative;
  background: var(--violet);
  color: var(--blanc);
  overflow: hidden;
}

.demo-orb {
  position: absolute;
  left: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--violet-clair);
  pointer-events: none;
}

.section-demo .container {
  position: relative;
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}

.demo-left {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-h2 {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -1.5px;
  text-wrap: balance;
}

.demo-h2 span { color: var(--jaune); }

.demo-desc {
  max-width: 460px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  color: #EFEAFF;
}

.demo-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.demo-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blanc);
  text-decoration: none;
  transition: opacity 0.15s;
}
.demo-contact-link:hover { opacity: 0.8; color: var(--blanc); }

.demo-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: #25D366;
  color: var(--blanc);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.demo-whatsapp:hover { opacity: 0.9; color: var(--blanc); }

/* Form */
.demo-form {
  flex: 1 1 460px;
  min-width: 0;
  background: var(--blanc);
  color: var(--encre);
  border-radius: var(--r-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
  box-shadow: 0 30px 60px -24px rgba(18,11,51,0.6);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--texte);
}

.form-input,
.form-select {
  min-height: 50px;
  padding: 0 14px;
  border: 2px solid #DCD5EE;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 16px;
  color: var(--encre);
  background: var(--blanc);
  box-sizing: border-box;
  transition: border-color 0.15s;
  width: 100%;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--violet);
  outline: none;
}

.form-input.error { border-color: var(--corail); }

.form-error-msg {
  font-size: 13px;
  font-weight: 600;
  color: var(--corail);
  display: none;
}
.form-error-msg.visible { display: block; }

.form-submit {
  grid-column: 1 / -1;
  min-height: 56px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--violet);
  color: var(--blanc);
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s;
}
.form-submit:hover { opacity: 0.9; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-legal {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--texte-3);
  text-align: center;
}

.form-notice {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  display: none;
}
.form-notice.success {
  display: block;
  background: #E2F3EB;
  color: var(--vert-acces);
  border: 2px solid #A8DFC8;
}
.form-notice.error {
  display: block;
  background: #FDEAEF;
  color: #9B1C3D;
  border: 2px solid #F5A6BB;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--encre);
  color: #D9D0FF;
}

.site-footer .container {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-brand-name {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 18px;
  color: var(--blanc);
}

.footer-brand-sub {
  font-size: 13px;
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  font-weight: 600;
}

.footer-nav a {
  color: #D9D0FF;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-nav a:hover { color: var(--blanc); }

.footer-copy {
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px var(--gap-h) 100px;
}

.legal-main h1 {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1px;
  color: var(--violet-nuit);
  margin-bottom: 8px;
}

.legal-main .updated {
  font-size: 14px;
  font-weight: 600;
  color: var(--texte-3);
  margin-bottom: 48px;
  display: block;
}

.legal-main h2 {
  font-family: var(--font-titre);
  font-weight: 800;
  font-size: 24px;
  color: var(--violet-nuit);
  margin: 36px 0 10px;
}

.legal-main p,
.legal-main li {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--texte-2);
  margin-bottom: 10px;
}

.legal-main ul { list-style: disc; padding-left: 24px; }

.todo {
  background: #FFFBE6;
  border: 2px dashed var(--jaune);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #6B5600;
  margin: 8px 0;
}

/* ============================================================
   UTILS
   ============================================================ */
.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;
}
