:root{
  --aubergine:#211126;
  --aubergine-2:#32153c;
  --linen:#f6efe6;
  --linen-2:#fffaf4;
  --ink:#171019;
  --purple:#6541a5;
  --purple-bright:#7e43d3;
  --pink:#e82574;
  --red:#ed3d4e;
  --cyan:#26a9b8;
  --orange:#f47b20;
  --yellow:#f6bf22;
  --green:#43a98e;
  --white:#fff;
  --muted:#725f73;
  --line:rgba(82,48,90,.16);
  --glass:rgba(255,255,255,.09);
  --shadow:0 24px 70px rgba(47,21,55,.15);
  --radius:30px;
  --radius-sm:20px;
}

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

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--ink);
  background:var(--linen);
  font-family:"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

button,
input,
select,
textarea{
  font:inherit;
}

img{
  max-width:100%;
  display:block;
}

button{
  cursor:pointer;
}

.wrap{
  width:min(1200px,91vw);
  margin:auto;
}


/* =========================================================
   SECTIONS
========================================================= */

.section{
  padding:88px 0;
  position:relative;
  overflow:hidden;
}

.section.linen{
  background:var(--linen);
  color:var(--ink);
}

.section.linen2{
  background:var(--linen-2);
  color:var(--ink);
}

.section.aubergine{
  background:var(--aubergine);
  color:#fff;
}

.section.gradient{
  background:linear-gradient(
    125deg,
    #672e9f 0%,
    #e32977 46%,
    #f2811d 100%
  );
  color:#fff;
}

.section.pattern{
  background:
    var(--linen)
    url("../brand/bg3.webp")
    center/cover;
  color:var(--ink);
}

.section.pattern-dark{
  background:
    var(--aubergine)
    url("../brand/bg6.webp")
    center/cover;
  color:#fff;
  background-blend-mode:soft-light;
}

/* Sécurise le contraste des sections sombres */
.section.aubergine,
.section.pattern-dark,
.section.gradient{
  --section-text:#fff;
  --section-muted:#eadfeb;
  --section-card:rgba(255,255,255,.09);
  --section-card-border:rgba(255,255,255,.16);
}

.section:before,
.section:after{
  pointer-events:none;
}


/* =========================================================
   CONTRASTE GLOBAL SECTIONS SOMBRES
========================================================= */

/* Titres */
.section.aubergine h1,
.section.aubergine h2,
.section.aubergine h3,
.section.aubergine h4,
.section.aubergine h5,
.section.aubergine h6,

.section.pattern-dark h1,
.section.pattern-dark h2,
.section.pattern-dark h3,
.section.pattern-dark h4,
.section.pattern-dark h5,
.section.pattern-dark h6,

.section.gradient h1,
.section.gradient h2,
.section.gradient h3,
.section.gradient h4,
.section.gradient h5,
.section.gradient h6{
  color:#fff;
}

/* Paragraphes */
.section.aubergine p,
.section.pattern-dark p,
.section.gradient p{
  color:#eadfeb;
}

/* Liens classiques */
.section.aubergine a:not(.btn),
.section.pattern-dark a:not(.btn),
.section.gradient a:not(.btn){
  color:inherit;
}


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

.nav{
  position:sticky;
  top:0;
  z-index:300;
  background:rgba(33,17,38,.94);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(16px);
}

.nav-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:24px;
}

.logo img{
  width:150px;
  height:auto;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:20px;
  margin-left:auto;
}

.nav-links a{
  color:#fff;
  font-size:14px;
  font-weight:800;
  opacity:.84;
  position:relative;
}

.nav-links a:hover,
.nav-links a.active{
  opacity:1;
}

.nav-links a.active:after{
  content:"";
  position:absolute;
  height:3px;
  border-radius:5px;
  background:linear-gradient(
    90deg,
    var(--pink),
    var(--orange)
  );
  left:0;
  right:0;
  bottom:-12px;
}

.nav-actions{
  display:flex;
  gap:9px;
}

.mobile-toggle{
  display:none;
  background:none;
  border:1px solid rgba(255,255,255,.3);
  color:#fff;
  border-radius:12px;
  padding:9px 12px;
}


/* =========================================================
   BOUTONS
========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:0;
  border-radius:999px;
  padding:12px 20px;
  font-weight:900;
  transition:
    .2s transform,
    .2s box-shadow,
    .2s opacity;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn.primary{
  background:linear-gradient(
    90deg,
    var(--pink),
    var(--orange)
  );
  color:#fff;
  box-shadow:0 12px 32px rgba(232,37,116,.26);
}

.btn.cyan{
  background:var(--cyan);
  color:#fff;
}

.btn.yellow{
  background:var(--yellow);
  color:var(--ink);
}

.btn.light{
  background:#fff;
  color:var(--aubergine);
}

.btn.dark{
  background:var(--aubergine);
  color:#fff;
}

.btn.outline{
  background:transparent;
  color:#fff;
  border:1.5px solid rgba(255,255,255,.65);
}

.btn.outline-dark{
  background:transparent;
  color:var(--aubergine);
  border:1.5px solid var(--aubergine);
}

.btn.big{
  padding:15px 24px;
}


/* =========================================================
   TITRES / EYEBROW
========================================================= */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--pink);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  font-weight:900;
}

.aubergine .eyebrow,
.gradient .eyebrow,
.pattern-dark .eyebrow{
  color:#ff7bab;
}

.heading{
  max-width:760px;
  margin-bottom:34px;
}

.heading.center{
  text-align:center;
  margin:0 auto 38px;
}

.heading h2{
  font-size:clamp(38px,5vw,64px);
  letter-spacing:-.045em;
  line-height:.98;
  margin:8px 0 15px;
}

.heading p{
  font-size:17px;
  line-height:1.65;
  color:var(--muted);
}

.aubergine .heading p,
.gradient .heading p,
.pattern-dark .heading p{
  color:#eadfeb;
}

.accent{
  color:var(--pink);
}

.gradient-text{
  background:linear-gradient(
    90deg,
    var(--pink),
    var(--orange),
    var(--cyan)
  );
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}


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

.hero{
  min-height:700px;
  background:
    var(--aubergine)
    url("../brand/bg6.webp")
    center/cover;
  color:#fff;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(
      circle at 75% 35%,
      rgba(232,37,116,.18),
      transparent 38%
    ),
    linear-gradient(
      90deg,
      rgba(33,17,38,.98),
      rgba(33,17,38,.66) 52%,
      rgba(33,17,38,.28)
    );
}

.hero .wrap{
  position:relative;
  z-index:2;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:50px;
  align-items:center;
  padding:66px 0;
}

.hero h1{
  font-size:clamp(52px,7vw,96px);
  line-height:.9;
  letter-spacing:-.055em;
  margin:10px 0 22px;
}

.hero p.lead{
  font-size:19px;
  line-height:1.62;
  color:#f1e7f2;
  max-width:680px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.hero-art{
  position:relative;
  min-height:540px;
}

.hero-card{
  position:absolute;
  border-radius:28px;
  border:7px solid #fff;
  box-shadow:0 28px 70px rgba(0,0,0,.35);
  object-fit:cover;
}

.hero-card.one{
  width:55%;
  left:3%;
  top:9%;
  transform:rotate(-7deg);
}

.hero-card.two{
  width:49%;
  right:1%;
  top:28%;
  transform:rotate(7deg);
}

.hero-card.three{
  width:46%;
  left:25%;
  bottom:0;
  transform:rotate(-1deg);
}

.mascot-float{
  position:absolute;
  z-index:5;
  filter:drop-shadow(0 18px 15px rgba(0,0,0,.28));
  animation:bob 4s ease-in-out infinite;
}

.mascot-float.pix{
  width:31%;
  right:-2%;
  bottom:-4%;
}

.mascot-float.beaty{
  width:26%;
  left:-4%;
  bottom:-2%;
  animation-delay:-1.6s;
}

.doodle{
  position:absolute;
  z-index:4;
  animation:spinfloat 8s ease-in-out infinite;
}

.doodle.star{
  width:46px;
  right:10%;
  top:4%;
}

.doodle.music{
  width:40px;
  left:2%;
  top:7%;
  animation-delay:-2s;
}

@keyframes bob{
  50%{
    transform:translateY(-13px) rotate(2deg);
  }
}

@keyframes spinfloat{
  50%{
    transform:translateY(-10px) rotate(12deg);
  }
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}

.chip{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  padding:7px 11px;
  border-radius:99px;
  color:#fff;
  font-size:12px;
}


/* =========================================================
   MARQUEE
========================================================= */

.marquee{
  overflow:hidden;
  background:var(--yellow);
  color:var(--aubergine);
  font-weight:900;
  text-transform:uppercase;
}

.marquee-track{
  display:flex;
  width:max-content;
  animation:marquee 24s linear infinite;
  padding:12px 0;
}

.marquee-track span{
  padding:0 28px;
}

.marquee-track span:after{
  content:" ✦";
  color:var(--pink);
}

@keyframes marquee{
  to{
    transform:translateX(-50%);
  }
}


/* =========================================================
   GRILLES
========================================================= */

.grid{
  display:grid;
  gap:18px;
}

.grid.cols-2{
  grid-template-columns:repeat(2,1fr);
}

.grid.cols-3{
  grid-template-columns:repeat(3,1fr);
}

.grid.cols-4{
  grid-template-columns:repeat(4,1fr);
}

.grid.cols-6{
  grid-template-columns:repeat(6,1fr);
}


/* =========================================================
   CARDS CLAIRES
========================================================= */

.card{
  background:rgba(255,250,244,.94);
  color:var(--ink);
  border:1px solid rgba(92,55,95,.12);
  border-radius:var(--radius);
  padding:25px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.card h1,
.card h2,
.card h3,
.card h4{
  color:var(--ink);
}

.card h3{
  margin:9px 0 8px;
  font-size:22px;
}

.card p{
  color:var(--muted);
  line-height:1.55;
}

.card .icon{
  width:48px;
  height:48px;
  border-radius:15px;
  display:grid;
  place-items:center;
  font-size:24px;
  background:linear-gradient(
    135deg,
    #fff,
    var(--linen)
  );
  border:1px solid var(--line);
  color:var(--aubergine);
}


/* =========================================================
   CARDS SOMBRES EXPLICITES
========================================================= */

.card.dark-card{
  background:var(--aubergine);
  color:#fff;
  border-color:rgba(255,255,255,.12);
}

.card.dark-card h1,
.card.dark-card h2,
.card.dark-card h3,
.card.dark-card h4{
  color:#fff;
}

.card.dark-card p{
  color:#dacdde;
}


/* =========================================================
   CORRECTION IMPORTANTE :
   CARDS DANS SECTIONS SOMBRES
========================================================= */

/*
Les cartes classiques présentes dans une section sombre restent
claires et doivent donc conserver un texte foncé.

On NE force pas leur texte en blanc.
*/

.section.aubergine .card:not(.dark-card),
.section.pattern-dark .card:not(.dark-card),
.section.gradient .card:not(.dark-card){
  background:rgba(255,250,244,.96);
  color:var(--ink);
  border-color:rgba(255,255,255,.18);
}

.section.aubergine .card:not(.dark-card) h1,
.section.aubergine .card:not(.dark-card) h2,
.section.aubergine .card:not(.dark-card) h3,
.section.aubergine .card:not(.dark-card) h4,

.section.pattern-dark .card:not(.dark-card) h1,
.section.pattern-dark .card:not(.dark-card) h2,
.section.pattern-dark .card:not(.dark-card) h3,
.section.pattern-dark .card:not(.dark-card) h4,

.section.gradient .card:not(.dark-card) h1,
.section.gradient .card:not(.dark-card) h2,
.section.gradient .card:not(.dark-card) h3,
.section.gradient .card:not(.dark-card) h4{
  color:var(--ink);
}

.section.aubergine .card:not(.dark-card) p,
.section.pattern-dark .card:not(.dark-card) p,
.section.gradient .card:not(.dark-card) p{
  color:var(--muted);
}


/* =========================================================
   MOMENT CARDS
========================================================= */

.moment-card{
  transition:.25s;
}

.moment-card:hover{
  transform:translateY(-5px) rotate(-.5deg);
}


/* =========================================================
   SPLIT / PHOTO STACK
========================================================= */

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.photo-stack{
  position:relative;
  min-height:500px;
}

.photo-stack img{
  position:absolute;
  width:67%;
  border-radius:28px;
  border:6px solid #fff;
  box-shadow:var(--shadow);
}

.photo-stack img:first-child{
  top:0;
  left:0;
  transform:rotate(-5deg);
}

.photo-stack img:nth-child(2){
  right:0;
  bottom:0;
  transform:rotate(6deg);
}

.photo-stack .mascot{
  width:33%;
  left:35%;
  bottom:5%;
  border:0;
  box-shadow:none;
  transform:none;
  filter:drop-shadow(
    0 16px 20px rgba(0,0,0,.22)
  );
}


/* =========================================================
   BAND
========================================================= */

.band{
  padding:38px;
  border-radius:38px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:30px;
  align-items:center;
  background:linear-gradient(
    120deg,
    var(--purple),
    var(--pink)
  );
  color:#fff;
  box-shadow:var(--shadow);
}

.band h1,
.band h2,
.band h3{
  color:#fff;
}

.band h2{
  font-size:clamp(34px,5vw,56px);
  margin:6px 0 12px;
  line-height:.98;
}

.band p{
  line-height:1.6;
  color:#f8edf8;
}

.band-mascots{
  display:flex;
  align-items:end;
  justify-content:center;
}

.band-mascots img{
  width:34%;
  margin:0 -3%;
  filter:drop-shadow(
    0 12px 12px rgba(0,0,0,.22)
  );
}


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

.page-hero{
  min-height:570px;
  background:
    var(--aubergine)
    url("../brand/bg4.webp")
    center/cover;
  color:#fff;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.page-hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(33,17,38,.98),
    rgba(33,17,38,.58),
    rgba(33,17,38,.18)
  );
}

.page-hero .wrap{
  position:relative;
  z-index:2;
}

.page-hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:45px;
  align-items:center;
  padding:55px 0;
}

.page-hero h1{
  font-size:clamp(50px,6vw,82px);
  line-height:.92;
  letter-spacing:-.05em;
  margin:10px 0 20px;
  color:#fff;
}

.page-hero p{
  font-size:18px;
  color:#eee4ef;
  line-height:1.62;
}

.page-hero-art{
  position:relative;
  min-height:430px;
}

.page-hero-art .photo{
  position:absolute;
  left:0;
  top:5%;
  width:70%;
  border:7px solid #fff;
  border-radius:27px;
  box-shadow:var(--shadow);
  transform:rotate(-5deg);
}

.page-hero-art .main-mascot{
  position:absolute;
  right:1%;
  bottom:-4%;
  width:43%;
  z-index:3;
  filter:drop-shadow(
    0 14px 18px rgba(0,0,0,.3)
  );
}


/* =========================================================
   UNIVERS / FILTERS
========================================================= */

.universe-bar{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:28px;
}

.universe-btn{
  border:1px solid var(--line);
  background:var(--linen-2);
  color:var(--aubergine);
  padding:11px 16px;
  border-radius:999px;
  font-weight:900;
}

.universe-btn.active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(
    90deg,
    var(--purple),
    var(--pink)
  );
}


/* =========================================================
   EXPERIENCE CARDS
========================================================= */

.experience-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.experience-card{
  background:#fff;
  color:var(--ink);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:.25s;
  cursor:pointer;
  border:2px solid transparent;
}

.experience-card:hover{
  transform:translateY(-6px);
  border-color:var(--pink);
}

.experience-card.hidden{
  display:none;
}

.experience-card img{
  height:220px;
  width:100%;
  object-fit:cover;
}

.experience-card .body{
  padding:18px;
}

.experience-card .tag,
.status-badge{
  display:inline-flex;
  padding:5px 9px;
  border-radius:99px;
  font-size:11px;
  font-weight:900;
  background:#f4eafb;
  color:var(--purple);
}

.experience-card h3{
  font-size:21px;
  margin:10px 0 6px;
  color:var(--ink);
}

.experience-card p{
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
  margin:0;
}


/* =========================================================
   PARTENAIRES
========================================================= */

.partner-card{
  cursor:pointer;
  transition:.25s;
}

.partner-card:hover{
  transform:translateY(-5px);
}

.partner-mark{
  height:118px;
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:26px;
  text-align:center;
  padding:16px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(
    135deg,
    var(--purple),
    var(--pink)
  );
}

.partner-card:nth-child(3n+2) .partner-mark{
  background:linear-gradient(
    135deg,
    var(--cyan),
    var(--purple)
  );
}

.partner-card:nth-child(3n) .partner-mark{
  background:linear-gradient(
    135deg,
    var(--orange),
    var(--pink)
  );
}

.status-badge.real{
  background:#daf5ea;
  color:#126e56;
}

.status-badge.pilot{
  background:#e7f7fb;
  color:#147285;
}

.status-badge.partner{
  background:#efe8fa;
  color:#5b3197;
}

.status-badge.concept{
  background:#fff0cf;
  color:#8a5d00;
}


/* =========================================================
   ARTICLE / CAS
========================================================= */

.article-hero{
  padding:80px 0 55px;
  background:
    var(--linen)
    url("../brand/bg2.webp")
    center/cover;
}

.article-shell{
  max-width:850px;
  margin:auto;
}

.article-shell h1{
  font-size:clamp(44px,6vw,72px);
  line-height:.95;
  letter-spacing:-.045em;
  margin:14px 0 20px;
  color:var(--aubergine);
}

.article-shell .lead{
  font-size:20px;
  line-height:1.65;
  color:var(--aubergine-2);
  font-weight:700;
}

.article-cover{
  margin-top:30px;
  border-radius:32px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.article-cover img{
  width:100%;
  max-height:570px;
  object-fit:cover;
}

.article-body{
  max-width:850px;
  margin:auto;
  font-family:"Trebuchet MS",Arial,sans-serif;
  font-size:18px;
  line-height:1.75;
}

.article-body h2,
.article-body h3{
  font-family:
    "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  color:var(--aubergine);
}

.callout{
  padding:25px;
  border-radius:25px;
  background:#fff;
  color:var(--ink);
  border-left:6px solid var(--pink);
  margin:28px 0;
}


/* =========================================================
   TIMELINE / STEPS
========================================================= */

.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.step{
  border-radius:24px;
  background:var(--linen-2);
  color:var(--ink);
  padding:22px;
  border:1px solid var(--line);
}

.step h1,
.step h2,
.step h3,
.step h4{
  color:var(--ink);
}

.step p{
  color:var(--muted);
}

.step strong{
  display:block;
  color:var(--purple);
  font-size:30px;
  margin-bottom:8px;
}


/* =========================================================
   FIX PRINCIPAL LAB / SECTIONS SOMBRES

   Sur une section aubergine ou pattern-dark :
   les .step deviennent sombres/translucides
   et le texte est blanc.
========================================================= */

.section.aubergine .step,
.section.pattern-dark .step{
  background:rgba(255,255,255,.09);
  color:#fff;
  border-color:rgba(255,255,255,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 18px 40px rgba(0,0,0,.08);
}

.section.aubergine .step h1,
.section.aubergine .step h2,
.section.aubergine .step h3,
.section.aubergine .step h4,

.section.pattern-dark .step h1,
.section.pattern-dark .step h2,
.section.pattern-dark .step h3,
.section.pattern-dark .step h4{
  color:#fff;
}

.section.aubergine .step p,
.section.pattern-dark .step p{
  color:#eadfeb;
}

.section.aubergine .step strong,
.section.pattern-dark .step strong{
  color:#ff7bab;
}


/*
Si une timeline se retrouve sur .gradient,
les cases restent volontairement claires
pour conserver un contraste très lisible.
*/

.section.gradient .step{
  background:rgba(255,250,244,.96);
  color:var(--ink);
  border-color:rgba(255,255,255,.22);
}

.section.gradient .step h1,
.section.gradient .step h2,
.section.gradient .step h3,
.section.gradient .step h4{
  color:var(--ink);
}

.section.gradient .step p{
  color:var(--muted);
}

.section.gradient .step strong{
  color:var(--purple);
}


/* =========================================================
   KPI
========================================================= */

.kpi-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
}

.kpi{
  background:#fff;
  color:var(--ink);
  border-radius:25px;
  padding:24px;
  text-align:center;
  border:1px solid var(--line);
}

.kpi h1,
.kpi h2,
.kpi h3{
  color:var(--ink);
}

.kpi p{
  color:var(--muted);
}

.kpi b{
  display:block;
  font-size:38px;
  color:var(--pink);
}


/* KPI dans fond sombre */
.section.aubergine .kpi,
.section.pattern-dark .kpi{
  background:rgba(255,255,255,.09);
  color:#fff;
  border-color:rgba(255,255,255,.18);
}

.section.aubergine .kpi h1,
.section.aubergine .kpi h2,
.section.aubergine .kpi h3,
.section.pattern-dark .kpi h1,
.section.pattern-dark .kpi h2,
.section.pattern-dark .kpi h3{
  color:#fff;
}

.section.aubergine .kpi p,
.section.pattern-dark .kpi p{
  color:#eadfeb;
}

.section.aubergine .kpi b,
.section.pattern-dark .kpi b{
  color:#ff7bab;
}


/* =========================================================
   CONTACT
========================================================= */

.contact{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:42px;
  background:linear-gradient(
    135deg,
    #32153c,
    #1f1024
  );
  padding:44px;
  border-radius:38px;
  color:#fff;
  box-shadow:0 28px 70px rgba(0,0,0,.18);
}

.contact h1,
.contact h2,
.contact h3{
  color:#fff;
}

.contact h2{
  font-size:clamp(38px,5vw,58px);
  margin:8px 0 14px;
}

.contact p{
  line-height:1.6;
  color:#eadfeb;
}

.contact-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  border:1px solid rgba(255,255,255,.16);
  border-radius:15px;
  background:rgba(255,255,255,.09);
  color:#fff;
  padding:14px;
  outline:none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color:rgba(255,255,255,.5);
  background:rgba(255,255,255,.12);
}

.contact-form select option{
  color:#111;
  background:#fff;
}

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

.contact-form ::placeholder{
  color:#d6c9d8;
}

.contact-form .full{
  grid-column:1/-1;
}

.form-note{
  font-family:"Trebuchet MS",Arial,sans-serif;
  font-size:12px!important;
  color:#cdbdce!important;
}

.form-note a{
  text-decoration:underline;
}

.contact-status{
  font-size:13px;
  color:#aef1d4;
}


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

.footer{
  background:#150a19;
  color:#d9cddd;
  padding:42px 0 24px;
}

.footer-top{
  display:flex;
  gap:34px;
  align-items:flex-start;
}

.footer-logo{
  width:150px;
}

.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-left:auto;
  font-size:13px;
}

.footer-links a:hover{
  color:#fff;
}

.footer-small{
  border-top:1px solid rgba(255,255,255,.1);
  margin-top:30px;
  padding-top:18px;
  font-family:"Trebuchet MS",Arial,sans-serif;
  font-size:12px;
  color:#9f90a1;
  display:flex;
  justify-content:space-between;
  gap:20px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:.65s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

.tilt{
  transform-style:preserve-3d;
}


/* =========================================================
   DRAWER EXPERIENCES
========================================================= */

.drawer{
  position:fixed;
  inset:0;
  z-index:600;
  pointer-events:none;
  visibility:hidden;
}

.drawer.open{
  pointer-events:auto;
  visibility:visible;
}

.drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(17,6,20,.72);
  opacity:0;
  transition:.35s;
}

.drawer.open .drawer-backdrop{
  opacity:1;
}

.drawer-panel{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:min(610px,94vw);
  overflow:auto;
  background:var(--linen-2);
  color:var(--ink);
  padding:28px 32px 42px;
  transform:translateX(100%);
  transition:.4s cubic-bezier(.2,.75,.2,1);
  box-shadow:-20px 0 70px rgba(0,0,0,.25);
}

.drawer.open .drawer-panel{
  transform:none;
}

.drawer-close{
  position:sticky;
  top:0;
  float:right;
  z-index:2;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:var(--aubergine);
  color:#fff;
  font-size:26px;
}

.drawer-visual{
  border-radius:25px;
  overflow:hidden;
  margin:35px 0 20px;
}

.drawer-visual img{
  width:100%;
  height:320px;
  object-fit:cover;
}

.drawer h2{
  font-size:40px;
  line-height:1;
  margin:9px 0;
  color:var(--ink);
}

.drawer-lead{
  font-size:17px;
  line-height:1.55;
  color:var(--muted);
}

.experience-flow{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.experience-flow div{
  background:#fff;
  color:var(--ink);
  border-radius:18px;
  padding:15px;
  border:1px solid var(--line);
}

.experience-flow b{
  display:block;
  color:var(--pink);
  margin-bottom:8px;
}

.experience-flow span{
  font-family:"Trebuchet MS",Arial,sans-serif;
  font-size:13px;
  line-height:1.45;
  color:#5e5260;
}

.value-list{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}

.value-list span{
  background:#eee4f6;
  color:var(--purple);
  border-radius:99px;
  padding:7px 10px;
  font-size:12px;
  font-weight:900;
}


/* =========================================================
   COOKIES
========================================================= */

.cookie-bar{
  position:fixed;
  z-index:900;
  left:18px;
  right:18px;
  bottom:18px;
  display:none;
}

.cookie-bar.show{
  display:block;
}

.cookie-card{
  max-width:980px;
  margin:auto;
  background:var(--aubergine);
  color:#fff;
  border:2px solid rgba(255,255,255,.16);
  border-radius:28px;
  box-shadow:0 26px 80px rgba(0,0,0,.35);
  padding:20px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:16px;
  align-items:center;
}

.cookie-mascot{
  width:88px;
}

.cookie-card h3{
  margin:0 0 5px;
  font-size:21px;
  color:#fff;
}

.cookie-card p{
  font-family:"Trebuchet MS",Arial,sans-serif;
  margin:0;
  color:#ded0e0;
  font-size:13px;
  line-height:1.45;
}

.cookie-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.cookie-actions .btn{
  font-size:12px;
  padding:10px 13px;
}

.cookie-modal{
  position:fixed;
  inset:0;
  z-index:950;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(20,8,24,.76);
}

.cookie-modal.open{
  display:flex;
}

.cookie-modal-card{
  width:min(660px,95vw);
  max-height:88vh;
  overflow:auto;
  background:var(--linen-2);
  color:var(--ink);
  border-radius:30px;
  padding:28px;
  box-shadow:var(--shadow);
}

.cookie-modal-card h1,
.cookie-modal-card h2,
.cookie-modal-card h3{
  color:var(--ink);
}

.cookie-modal-card h2{
  font-size:36px;
  margin:0 0 10px;
}

.cookie-choice{
  display:flex;
  gap:15px;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding:17px 0;
}

.cookie-choice p{
  font-family:"Trebuchet MS",Arial,sans-serif;
  margin:4px 0 0;
  color:var(--muted);
  font-size:13px;
}


/* =========================================================
   SWITCH
========================================================= */

.switch{
  position:relative;
  width:54px;
  height:30px;
  flex:0 0 54px;
}

.switch input{
  opacity:0;
  width:0;
  height:0;
}

.slider{
  position:absolute;
  inset:0;
  background:#cfc2ce;
  border-radius:99px;
  transition:.2s;
}

.slider:before{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  left:4px;
  top:4px;
  background:#fff;
  border-radius:50%;
  transition:.2s;
}

.switch input:checked + .slider{
  background:var(--pink);
}

.switch input:checked + .slider:before{
  transform:translateX(24px);
}


/* =========================================================
   LEGAL
========================================================= */

.legal{
  max-width:900px;
  margin:auto;
  font-family:"Trebuchet MS",Arial,sans-serif;
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
}

.legal h1,
.legal h2,
.legal h3{
  font-family:
    "Arial Rounded MT Bold",
    "Trebuchet MS",
    Arial,
    sans-serif;
  color:var(--aubergine);
}

.legal h1{
  font-size:52px;
  line-height:1;
}

.legal-box{
  background:#fff;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:22px;
  padding:20px;
  margin:18px 0;
}

.legal-box h1,
.legal-box h2,
.legal-box h3{
  color:var(--aubergine);
}

.legal-box p{
  color:var(--ink);
}

.placeholder{
  background:#fff0c9;
  color:#79530a;
  padding:2px 5px;
  border-radius:4px;
  font-weight:bold;
}


/* =========================================================
   PROTECTION SUPPLÉMENTAIRE CONTRASTE

   Ces règles évitent les héritages de couleur indésirables.
========================================================= */

/* Les éléments clairs restent foncés même dans un parent sombre */

.section.aubergine .experience-card,
.section.pattern-dark .experience-card,
.section.gradient .experience-card,

.section.aubergine .callout,
.section.pattern-dark .callout,
.section.gradient .callout,

.section.aubergine .legal-box,
.section.pattern-dark .legal-box,
.section.gradient .legal-box{
  color:var(--ink);
}

.section.aubergine .experience-card h1,
.section.aubergine .experience-card h2,
.section.aubergine .experience-card h3,
.section.pattern-dark .experience-card h1,
.section.pattern-dark .experience-card h2,
.section.pattern-dark .experience-card h3,
.section.gradient .experience-card h1,
.section.gradient .experience-card h2,
.section.gradient .experience-card h3{
  color:var(--ink);
}

.section.aubergine .experience-card p,
.section.pattern-dark .experience-card p,
.section.gradient .experience-card p{
  color:var(--muted);
}


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

@media(max-width:1000px){

  .nav-links{
    display:none;
  }

  .nav-actions{
    display:none;
  }

  .mobile-toggle{
    display:block;
    margin-left:auto;
  }

  .nav.open .nav-links{
    display:flex;
    position:absolute;
    left:0;
    right:0;
    top:78px;
    background:#211126;
    padding:22px 5vw;
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .band,
  .contact{
    grid-template-columns:1fr;
  }

  .hero-art{
    min-height:510px;
  }

  .grid.cols-4,
  .grid.cols-6{
    grid-template-columns:repeat(2,1fr);
  }

  .experience-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .timeline,
  .kpi-row{
    grid-template-columns:repeat(2,1fr);
  }

  .cookie-card{
    grid-template-columns:auto 1fr;
  }

  .cookie-actions{
    grid-column:1/-1;
    justify-content:flex-start;
  }
}


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

@media(max-width:640px){

  .section{
    padding:65px 0;
  }

  .logo img{
    width:128px;
  }

  .hero{
    min-height:auto;
  }

  .hero-grid{
    padding:45px 0;
  }

  .hero h1,
  .page-hero h1{
    font-size:48px;
  }

  .hero-art{
    min-height:430px;
  }

  .hero-card.one{
    width:62%;
  }

  .hero-card.two{
    width:56%;
  }

  .hero-card.three{
    width:55%;
    left:22%;
  }

  .mascot-float.pix{
    width:38%;
  }

  .mascot-float.beaty{
    width:33%;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .grid.cols-6,
  .experience-grid,
  .timeline,
  .kpi-row{
    grid-template-columns:1fr;
  }

  .heading h2{
    font-size:40px;
  }

  .contact{
    padding:26px;
  }

  .contact-form{
    grid-template-columns:1fr;
  }

  .contact-form .full{
    grid-column:auto;
  }

  .experience-flow{
    grid-template-columns:1fr;
  }

  .footer-top{
    flex-direction:column;
  }

  .footer-links{
    margin-left:0;
  }

  .footer-small{
    flex-direction:column;
  }

  .page-hero-art{
    min-height:370px;
  }

  .cookie-card{
    grid-template-columns:1fr;
  }

  .cookie-mascot{
    width:64px;
  }

  .cookie-actions{
    grid-column:auto;
  }
}

/* =========================================================
   CORRECTION LISIBILITÉ — PAGES CAS D'USAGE
========================================================= */

.article-hero{
  position:relative;
  isolation:isolate;
}

/* Léger voile Lin pour calmer le background sans le supprimer */
.article-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(246,239,230,.18);
  z-index:-1;
  pointer-events:none;
}

/* Titre principal */
.article-shell h1{
  color:#211126;
  text-shadow:0 2px 14px rgba(255,255,255,.18);
}

/* Texte d'introduction des cas */
.article-shell .lead{
  color:#32153c;
  font-weight:700;
  line-height:1.65;
}

/* Au cas où des paragraphes seraient ajoutés directement dans le hero */
.article-shell > p:not(.status-badge){
  color:#32153c;
}

/* Première phrase / accroche encore un peu plus présente */
.article-shell .lead strong,
.article-shell .lead b{
  color:#211126;
  font-weight:900;
}

/* Badge conservé parfaitement lisible */
.article-shell .status-badge{
  position:relative;
  z-index:2;
}