/* =========================================================
   csssolutionfiscales.css
   - FUSION: base.css + components.css + sections.css + responsive.css
   - + extraction des <style> inline de index_entreprise.html
   Ordre: BASE -> COMPONENTS -> SECTIONS -> RESPONSIVE -> OVERRIDES
========================================================= */


/* ==== BASE (from assets/css/base.css) ==== */

/* =========================================================
  base.css
  - Variables (palette charcoal-blue)
  - Reset léger
  - Typo + layout + utilitaires
========================================================= */

:root{
  /* ===== Ocean Blue Serenity — palette SOURCE ===== */
  --deep-twilight: #03045e;
  --french-blue: #023e8a;
  --bright-teal-blue: #0077b6;
  --blue-green: #0096c7;
  --turquoise-surf: #00b4d8;
  --sky-aqua: #48cae4;
  --frosted-blue: #90e0ef;
  --frosted-blue-2: #ade8f4;
  --light-cyan: #caf0f8;

  /* ===== Legacy scale (compat) — mapped to Ocean palette ===== */
  --charcoal-50:  var(--light-cyan);
  --charcoal-100: var(--frosted-blue-2);
  --charcoal-200: var(--frosted-blue);
  --charcoal-300: var(--sky-aqua);
  --charcoal-400: var(--turquoise-surf);
  --charcoal-500: var(--blue-green);
  --charcoal-600: var(--bright-teal-blue);
  --charcoal-700: var(--french-blue);
  --charcoal-800: var(--french-blue);
  --charcoal-900: var(--deep-twilight);
  --charcoal-950: var(--deep-twilight);

  /* ===== Palette RÔLES (tokens UX) ===== */
  --bg:    var(--light-cyan);
  --ink:   var(--deep-twilight);
  --muted: color-mix(in srgb, var(--deep-twilight) 72%, var(--bright-teal-blue));

  /* Surfaces */
  --card:      color-mix(in srgb, var(--frosted-blue-2) 78%, transparent);
  --cardSolid: color-mix(in srgb, var(--frosted-blue-2) 94%, transparent);

  /* Lignes & ombres */
  --stroke: color-mix(in srgb, var(--deep-twilight) 14%, transparent);
  --shadow: 0 14px 50px color-mix(in srgb, var(--deep-twilight) 16%, transparent);

  /* Accent */
  --accent: var(--blue-green);
  --accent-2: var(--bright-teal-blue);
  --accent-soft: color-mix(in srgb, var(--turquoise-surf) 22%, transparent);

  /* Focus */
  --focus: var(--sky-aqua);

  /* Radius / layout */
  --radius: 18px;
  --radius-lg: 26px;

  --container: 1120px;
  --gutter: 22px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 700ms;

  /* Typo */
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;
}


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

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height:1.65;
  font-size: 17px;

  font-weight: 650;          /* ? plus de corps */
  letter-spacing: -0.005em;  /* ? densifie lgrement */

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}


img,video{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,textarea{ font:inherit; color:inherit; }

:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ================= LAYOUT ================= */

.container{
  width:min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline:auto;
}

/* ================= TEXT ================= */

.small{ font-size:.92rem; }
.muted{ color: var(--muted); }

/* lead: un poil plus “bleuté” sans perdre le contraste */
.lead{
  font-size: 1.45rem;
  color:  color-mix(in srgb, var(--frosted-blue-2) 94%, transparent); /* ~ charcoal-700 */
	letter-spacing: -0.02em;
	font-weight: 400;
  max-width: 62ch;
	line-height: 1.20;   /* 👈 réduit l’espace entre lignes */
}
.lead-sm{ font-size: 1.02rem; }

.title-xl{
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 12px;
	
	
	
}

.title-lg{
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
  line-height: 1.15;
  margin: 0;
}

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

.section{
  padding: clamp(56px, 6vw, 94px) 0;
  position: relative;
  display: flow-root; /* empêche le margin-collapsing */
}


/* Light section: clair, doux, avec un peu de profondeur */
.section--light{
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--light-cyan) 98%, transparent),  /* 50 */
    color-mix(in srgb, var(--frosted-blue-2) 92%, transparent)   /* 100 */
  );
}

/* Tint: légère teinte bleutée/grisée */
.section--tint{
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--frosted-blue) 26%, transparent),  /* 200 */
    color-mix(in srgb, var(--light-cyan) 98%, transparent)   /* 50 */
  );
}

/* Final: sombre premium, texte clair */
.section--final{
  background: var(--deep-twilight);
  color: color-mix(in srgb, var(--light-cyan) 96%, transparent);
}

.section__head{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-bottom: 26px;
}
/* ================= SECTION TITLES ================= */

/* Centrage du header */
.section__head{
  text-align: center;
  align-items: center;
}

/* Boost taille uniquement dans les sections */
.section__head .title-xl{
  font-size: clamp(2.6rem, 5.4vw, 4.7rem); /* ~ +30% */
}

.section__head .title-lg{
  font-size: clamp(2rem, 3.1vw, 3rem); /* ~ +30% */
}

/* Sous-texte centré */
.section__sub{
  text-align: center;
	 font-size: 0.70rem;
  color:  color-mix(in srgb, var(--frosted-blue-2) 94%, transparent); /* ~ charcoal-700 */
	letter-spacing: -0.02em;
	font-weight: 600;
	 letter-spacing: -0.02em;
  font-size: clamp(1rem, 4.2vw, 1.2rem);
}

.section__sub{
  margin: 0;
  color: color-mix(in srgb, var(--deep-twilight) 78%, transparent); /* sombre mais plus léger */
  max-width: 70ch;
}

.section--final .section__sub{
  color: color-mix(in srgb, var(--light-cyan) 82%, transparent);
}

/* ================= GRID ================= */

.grid-2{
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 18px;
}

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



/* =========================================================
   HERO  Vignettes (fixes cran, bas droite)
========================================================= */

.hero{
  position: relative;
  overflow: hidden;
}

/* conteneur en bas  droite (30px du bas de l'cran) */
.hero__thumbs{
  position: fixed;
  right: 100px;
  bottom: 30px;              /* ? A: 30px du bas de lcran */
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* chaque vignette */
.hero__thumb{
  width: 200px;
  height: 100px;
  background: var(--light-cyan);
  border-radius: 14px;
  box-shadow: 0 18px 40px color-mix(in srgb, #000 28%, transparent);
}

/* (optionnel) images quand tu voudras */
.hero__thumb--1{ background: url("../media/avantagesfiscaux001.webp") center/cover no-repeat; }
.hero__thumb--2{ background: url("../media/avantagesfiscaux002.webp") center/cover no-repeat; }

/* Mobile: on masque */
@media (max-width: 900px){
  .hero__thumbs{ display:none; }
}


/* ==== COMPONENTS (from assets/css/components.css) ==== */

/* =========================================================
  components.css
  - Nav
  - Buttons
  - Cards / callouts
  - Lists, steps, accordion, form
  (Palette: charcoal-blue)
========================================================= */

/* ---------------- NAV ---------------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--light-cyan) 82%, transparent); /* charcoal-50 */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}

.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
}

.brand{ display:flex; gap:10px; align-items:center; }
.brand__mark{
  width: 14px; height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--charcoal-700), var(--charcoal-400));
  box-shadow: 0 10px 30px color-mix(in srgb, var(--deep-twilight) 18%, transparent);
}
.brand__name{
  font-weight: 600;
  letter-spacing: .2px;
  font-size: clamp(0.95rem, 1.1vw, 1.4rem);
}

.nav__links{
  display:flex;
  gap: 16px;
  align-items:center;

  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: .2px;
  line-height: 1;
}

.nav__links a{
  padding: 8px 10px;
  border-radius: 12px;
  color: color-mix(in srgb, var(--deep-twilight) 90%, transparent); /* charcoal-900 */
}
.nav__links a:hover{
  background: color-mix(in srgb, var(--frosted-blue) 28%, transparent); /* charcoal-200 */
}

.nav__burger{
  display:none;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--light-cyan) 88%, transparent); /* charcoal-50 */
  cursor:pointer;
}
.nav__burger span{
  display:block;
  height:2px;
  margin: 6px 10px;
  background: color-mix(in srgb, var(--french-blue) 72%, transparent); /* charcoal-700 */
}

.nav__panel{
  border-top: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--light-cyan) 92%, transparent); /* charcoal-50 */
}
.nav__panelInner{
  display:grid;
  gap: 10px;
  padding: 16px 0 18px;
}
.nav__panelInner a{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent); /* charcoal-700 */
  background: color-mix(in srgb, var(--frosted-blue-2) 92%, transparent); /* charcoal-100 */
}

/* ---------------- BUTTONS ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--french-blue) 22%, transparent); /* charcoal-700 */
  cursor:pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
  position:relative;
  overflow:hidden;
  user-select:none;
}
.btn--lg{ padding: 14px 18px; border-radius: 18px; }
.btn--sm{ padding: 10px 12px; border-radius: 14px; }

/* Primary: sombre premium + texte clair */
.btn--primary{
  color: color-mix(in srgb, var(--light-cyan) 96%, transparent); /* charcoal-50 */
  background: linear-gradient(135deg, var(--charcoal-950), var(--charcoal-700));
  border-color: color-mix(in srgb, var(--frosted-blue-2) 14%, transparent); /* charcoal-100 */
  box-shadow: 0 16px 50px color-mix(in srgb, var(--deep-twilight) 22%, transparent);
}
.btn--primary::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--light-cyan) 18%, transparent), transparent);
  transform: translateX(-70%) rotate(18deg);
  transition: transform 520ms var(--ease);
}
.btn--primary:hover::after{ transform: translateX(70%) rotate(18deg); }

/* Ghost: par défaut sur fond clair (donc plus lisible en “dark text”) */
.btn--ghost{
  background: color-mix(in srgb, var(--frosted-blue-2) 55%, transparent); /* charcoal-100 */
  border-color: color-mix(in srgb, var(--french-blue) 18%, transparent);  /* charcoal-700 */
  color: color-mix(in srgb, var(--deep-twilight) 92%, transparent);         /* charcoal-900 */
}

/* Dans une section sombre, ghost devient clair */
.section--final .btn--ghost{
  background: color-mix(in srgb, var(--light-cyan) 10%, transparent);
  border-color: color-mix(in srgb, var(--light-cyan) 16%, transparent);
  color: color-mix(in srgb, var(--light-cyan) 92%, transparent);
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 60px color-mix(in srgb, var(--deep-twilight) 18%, transparent);
}

/* ---------------- PILL ---------------- */
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;

  background: color-mix(in srgb, var(--deep-twilight) 65%, transparent);          /* charcoal-950 soft */
  border: 1px solid color-mix(in srgb, var(--light-cyan) 14%, transparent); /* clair */
  color: color-mix(in srgb, var(--light-cyan) 90%, transparent);            /* texte clair */

  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 2%, transparent);
  transition: transform 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.pill:hover{
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--deep-twilight) 72%, transparent);          /* charcoal-900 */
  border-color: color-mix(in srgb, var(--light-cyan) 22%, transparent);
}

/* Dans section finale (déjà sombre) : légèrement plus “glassy” */
.section--final .pill{
  background: color-mix(in srgb, var(--light-cyan) 10%, transparent);
  border-color: color-mix(in srgb, var(--light-cyan) 16%, transparent);
  color: color-mix(in srgb, var(--light-cyan) 92%, transparent);
}


/* ---------------- CARDS ---------------- */
.card{
  background: var(--card);
  border: 2px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--deep-twilight) 10%, transparent);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card__title{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* OK/NO conservés */
.card--ok{ border-color: color-mix(in srgb, var(--turquoise-surf) 35%, transparent); }
.card--no{ border-color: color-mix(in srgb, var(--french-blue) 35%, transparent); }

.callout{
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--french-blue) 18%, transparent); /* charcoal-700 */
  background: linear-gradient(180deg, color-mix(in srgb, var(--light-cyan) 98%, transparent), color-mix(in srgb, var(--frosted-blue-2) 90%, transparent)); /* 50 -> 100 */
  padding: 22px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.callout i{ font-size: 22px; margin-top: 2px; color: color-mix(in srgb, var(--french-blue) 82%, transparent); } /* 700 */

.callout--strong{
  background: linear-gradient(135deg, color-mix(in srgb, var(--deep-twilight) 98%, transparent), color-mix(in srgb, var(--french-blue) 92%, transparent)); /* 950 -> 700 */
  color: color-mix(in srgb, var(--light-cyan) 92%, transparent);
  border-color: color-mix(in srgb, var(--light-cyan) 12%, transparent);
}
.callout--strong i{ color: color-mix(in srgb, var(--light-cyan) 88%, transparent); }

.quote{ font-size: 1.15rem; line-height: 1.3; margin: 0 0 14px; }

/* ---------------- LISTS ---------------- */
.iconLine, .bullets li, .checklist li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.iconLine i, .bullets i, .checklist i{
  font-size: 25px;
  margin-top: 2px;
  color: color-mix(in srgb, var(--french-blue) 82%, transparent); /* 700 */
}


.iconLineHero i, .bulletsHero i, .checklistHero i{
  font-size: 20px;
  margin-top: 2px;
  color: color-mix(in srgb, #fff 82%, transparent); /* 700 */
}



.section--final .bullets i{ color: color-mix(in srgb, var(--light-cyan) 82%, transparent); }

.hero__points{
  list-style:none;
  padding:0;
  margin: 18px 0 10px;
  display:grid;
  gap: 10px;
  max-width: 58ch;
}

.bullets, .checklist{
  list-style:none;
  padding:0;
  margin: 0;
  display:grid;
  gap: 10px;
}
.checklist--cols{
  grid-template-columns: 1fr 1fr;
}

.banner{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent);
  background: color-mix(in srgb, var(--frosted-blue) 26%, transparent); /* 200 */
  display:flex;
  gap: 10px;
  align-items:flex-start;
}

/* ---------------- PRINCIPLES ---------------- */
.principles{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.principle{
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--light-cyan) 16%, transparent);
  background: color-mix(in srgb, var(--deep-twilight) 92%, transparent);   /* charcoal-950 */

  padding: 18px;
  display:flex;
  gap: 12px;

  box-shadow: 0 14px 40px color-mix(in srgb, #000 35%, transparent);
}

/* Icône claire */
.principle i{
  font-size: 24px;
  color: color-mix(in srgb, var(--light-cyan) 88%, transparent);
}

/* Titre clair */
.principle h3{
  margin: 0 0 2px;
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
}

/* Texte secondaire clair atténué */
.principle p{
  margin: 0;
  color: color-mix(in srgb, var(--frosted-blue) 80%, transparent); /* charcoal-200 */
}

/* ---------------- STEPS (INVERTED) ---------------- */
.steps{
  display:grid;
  gap: 12px;
  margin-bottom: 18px;
}

/* Carte step sombre */
.step{
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--light-cyan) 16%, transparent);     /* clair */
  background: color-mix(in srgb, var(--deep-twilight) 92%, transparent);              /* charcoal-950 */
  padding: 16px;
  display:grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  box-shadow: 0 14px 40px color-mix(in srgb, #000 35%, transparent);
}

/* Numéro devient clair */
.step__n{
  width: 60px;
  height: 60px;
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--light-cyan) 96%, transparent),   /* charcoal-50 */
    color-mix(in srgb, var(--frosted-blue) 90%, transparent)    /* charcoal-200 */
  );

  color: color-mix(in srgb, var(--deep-twilight) 96%, transparent);  /* charcoal-900 */

  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  letter-spacing: .02em;

  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--deep-twilight) 8%, transparent);
}

/* Titres clairs */
.step__b h3{
  margin: 0 0 2px;
  display:flex;
  gap:10px;
  align-items:center;
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
}

/* Texte secondaire clair atténué */
.step__b p{
  margin: 0;
  color: color-mix(in srgb, var(--frosted-blue) 80%, transparent); /* charcoal-200 */
}

/* ---------------- TRUST ---------------- */
.trust{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Par défaut sur fond clair */
.trust__item{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--frosted-blue-2) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent);
  color: color-mix(in srgb, var(--deep-twilight) 90%, transparent);
}

/* Sur fond sombre (final), on inverse */
.section--final .trust__item{
  background: color-mix(in srgb, var(--light-cyan) 10%, transparent);
  border-color: color-mix(in srgb, var(--light-cyan) 16%, transparent);
  color: color-mix(in srgb, var(--light-cyan) 88%, transparent);
}

.trustGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}
.trustBadge{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--french-blue) 14%, transparent);
  background: color-mix(in srgb, var(--frosted-blue-2) 90%, transparent);
}

/* ---------------- ACCORDION ---------------- */
.accordion{ display:grid; gap: 10px; }
.accItem{
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent);
  background: color-mix(in srgb, var(--frosted-blue-2) 92%, transparent);
  overflow: hidden;
}
.accBtn{
  width:100%;
  text-align:left;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  font-weight: 700;
}
.accPanel{
  padding: 0 18px 16px;
  color: color-mix(in srgb, var(--french-blue) 80%, transparent);
}

/* ---------------- FORM ---------------- */
.form{ display:grid; gap: 12px; }
.field{ display:grid; gap: 6px; }

/* Par défaut: inputs lisibles sur fond clair */
.field input, .field textarea{
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--french-blue) 18%, transparent);
  background: color-mix(in srgb, var(--light-cyan) 75%, transparent);
  padding: 12px 14px;
  color: color-mix(in srgb, var(--deep-twilight) 92%, transparent);
}

.field input::placeholder, .field textarea::placeholder{
  color: color-mix(in srgb, var(--french-blue) 62%, transparent);
}

/* Sur section finale: inputs “dark UI” */
.section--final .field input,
.section--final .field textarea{
  border-color: color-mix(in srgb, var(--light-cyan) 18%, transparent);
  background: color-mix(in srgb, var(--light-cyan) 8%, transparent);
  color: color-mix(in srgb, var(--light-cyan) 92%, transparent);
}
.section--final .field input::placeholder,
.section--final .field textarea::placeholder{
  color: color-mix(in srgb, var(--light-cyan) 55%, transparent);
}

.consent{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: color-mix(in srgb, var(--french-blue) 80%, transparent);
  font-size: .95rem;
}
.section--final .consent{
  color: color-mix(in srgb, var(--light-cyan) 86%, transparent);
}

.form__note{ margin: 0; display:flex; gap:10px; align-items:center; }

.form__status{
  min-height: 22px;
  font-size: .95rem;
}
.form__status.is-ok{ color: color-mix(in srgb, var(--sky-aqua) 92%, transparent); }
.form__status.is-err{ color: color-mix(in srgb, var(--frosted-blue) 92%, transparent); }

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





/* ================================
   NAV DESKTOP (fond clair + logo centré + menus éloignés)
================================ */
@media (min-width: 900px){

  .nav{
    background: color-mix(in srgb, var(--frosted-blue-2) 100%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--french-blue) 10%, transparent);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease,
                backdrop-filter 220ms ease, -webkit-backdrop-filter 220ms ease;
  }

  .nav.is-blur{
    background: color-mix(in srgb, var(--frosted-blue-2) 70%, transparent);
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    border-bottom-color: color-mix(in srgb, var(--french-blue) 14%, transparent);
    box-shadow: 0 10px 30px color-mix(in srgb, #000 10%, transparent);
  }

  /* ✅ GRID: gauche | logo | droite */
  .nav__inner{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
    padding: 14px 0;
    column-gap: 96px; /* ✅ AÈRE entre logo et menus (augmente si besoin) */
  }

  /* Logo centré */
  .brand{
    justify-self:center;
  }
  .brand__name{
    color: color-mix(in srgb, var(--deep-twilight) 92%, transparent);
    font-weight: 700;
    letter-spacing: .3px;
  }
  .brand__mark{
    background: linear-gradient(135deg, color-mix(in srgb, var(--deep-twilight) 85%, transparent), color-mix(in srgb, var(--french-blue) 65%, transparent));
    box-shadow: 0 10px 24px color-mix(in srgb, #000 12%, transparent);
  }

  /* Menus gauche/droite */
  .nav__links{
    display:flex;
    align-items:center;
    gap: 18px;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: .2px;
    line-height: 1;
  }

  .nav__links--left{ justify-self:start; padding-right: 24px; }  /* ✅ pousse un peu plus loin */
  .nav__links--right{ justify-self:end;  padding-left: 24px; }   /* ✅ pousse un peu plus loin */

  .nav__links a{
    color: color-mix(in srgb, var(--deep-twilight) 88%, transparent);
    padding: 10px 12px;
    border-radius: 999px;
    transition: background 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
  }
  .nav__links a:hover{
    background: color-mix(in srgb, var(--french-blue) 8%, transparent);
    color: color-mix(in srgb, var(--deep-twilight) 96%, transparent);
    transform: translateY(-1px);
  }

  .nav__links a[aria-current="page"]{
    background: color-mix(in srgb, var(--french-blue) 10%, transparent);
    color: color-mix(in srgb, var(--deep-twilight) 98%, transparent);
  }

  /* Desktop: burger/panel off */
  .nav__burger{ display:none; }
  .nav__panel{ display:none !important; }
}




/* =========================================================
   BUTTON — Diagnostic (clair sur fond sombre) + icône + sheen
========================================================= */

.btn-diagnostic{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 650;
  letter-spacing: .2px;
  line-height: 1;

  text-decoration: none;
  cursor: pointer;
  user-select: none;

  position: relative;
  overflow: hidden; /* nécessaire pour la brillance */
  transform: translateZ(0);

  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

/* Variante claire sur fond sombre */
.btn-diagnostic--light{
  color: color-mix(in srgb, var(--deep-twilight) 94%, transparent); /* texte sombre */
  background: color-mix(in srgb, var(--light-cyan) 92%, transparent); /* fond clair */
  border: 1px solid color-mix(in srgb, var(--light-cyan) 18%, transparent);
  box-shadow: 0 16px 45px color-mix(in srgb, #000 28%, transparent);
}

/* Icône */
.btn-diagnostic i{
  font-size: 1.15rem;
  opacity: .92;
}

/* Hover */
.btn-diagnostic--light:hover{
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--light-cyan) 98%, transparent);
  border-color: color-mix(in srgb, var(--light-cyan) 28%, transparent);
  box-shadow: 0 20px 70px color-mix(in srgb, #000 32%, transparent);
}

/* Active */
.btn-diagnostic--light:active{
  transform: translateY(0);
  box-shadow: 0 12px 40px color-mix(in srgb, #000 26%, transparent);
}

/* Focus accessibilité */
.btn-diagnostic--light:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--light-cyan) 55%, transparent),
    0 0 0 5px color-mix(in srgb, var(--blue-green) 30%, transparent),
    0 20px 70px color-mix(in srgb, #000 32%, transparent);
}

/* =========================================================
   Micro-brillance (sheen) — très subtile
========================================================= */

.btn-diagnostic::after{
  content:"";
  position:absolute;
  inset:-60%;

  /* bande de brillance */
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, #fff 0%, transparent) 35%,
    color-mix(in srgb, #fff 55%, transparent) 50%,
    color-mix(in srgb, #fff 0%, transparent) 65%,
    transparent 100%
  );

  transform: translateX(-80%) rotate(18deg);
  opacity: .35;
  pointer-events:none;
}

/* Brillance au hover */
.btn-diagnostic:hover::after{
  animation: btnSheen 900ms ease forwards;
}

/* Option: brillance douce automatique toutes les ~7s */
.btn-diagnostic[data-sheen="auto"]::after{
  animation: btnSheenIdle 7s ease-in-out infinite;
}

@keyframes btnSheen{
  from { transform: translateX(-80%) rotate(18deg); }
  to   { transform: translateX(80%)  rotate(18deg); }
}

@keyframes btnSheenIdle{
  0%, 78% { transform: translateX(-85%) rotate(18deg); opacity: 0; }
  82%     { opacity: .28; }
  92%     { transform: translateX(85%) rotate(18deg); opacity: .28; }
  100%    { opacity: 0; }
}


/* ==== SECTIONS (from assets/css/sections.css) ==== */

/* =========================================================
  sections.css — Premium cinematic evolution + custom BG per section
  - HERO
  - Aside note
  - Final + footer
========================================================= */


/* =========================================================
  0) GLOBAL RHYTHM + CUSTOM SECTION BACKGROUNDS
  - Principe: chaque section peut surcharger :
    --section-bg, --section-ink, --section-surface, --section-stroke
  - Override possible via:
    - inline style: style="--section-bg: ...;"
    - classes utilitaires: .bg-*
========================================================= */
:root{
  /* Rythmes */
  --section-pad-y: clamp(56px, 6vw, 92px);
  --section-pad-x: clamp(18px, 4vw, 44px);
  --content-max: 1120px;

  /* Surfaces (palette existante) */
  --glass-bg: color-mix(in srgb, var(--light-cyan) 8%, transparent);
  --glass-stroke: color-mix(in srgb, var(--frosted-blue) 18%, transparent);
  --glass-shadow: 0 18px 70px color-mix(in srgb, var(--deep-twilight) 35%, transparent);

  --hairline: color-mix(in srgb, var(--light-cyan) 18%, transparent);

  /* =========================
     DEFAULTS (tu peux les overrider par section)
  ========================= */
  --section-bg-default: transparent;
  --section-ink-default: inherit;
  --section-surface-default: var(--glass-bg);
  --section-stroke-default: var(--glass-stroke);
}

/* RESET SECTIONS SPACING */
section,
.hero,
.final,
.footer{
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/* =========================================================
  0.1) APPLY "SECTION THEME" (generic)
  - Toute section peut définir:
    --section-bg, --section-ink, --section-surface, --section-stroke
  - Important: on n'impose pas à "section" globalement si tu n'en veux pas,
    mais on te donne un hook propre à activer quand tu veux.
========================================================= */
section{
  /* Hooks (par défaut neutres) */
  background: var(--section-bg, var(--section-bg-default));
  color: var(--section-ink, var(--section-ink-default));
}

/* =========================================================
  1) HERO — "Chapter cover" + focus zone
========================================================= */
.hero{
  position: relative;
  min-height: 100svh; /* stable */
  padding-top: 64px;  /* si tu veux “compenser” la nav */
  display:grid;
  align-items:center;
  overflow:hidden;

  /* ✅ Background pilotable */

  color: var(--section-ink, color-mix(in srgb, var(--light-cyan) 92%, transparent));

  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
}

.hero__media{
  position:absolute;
  inset:0;
	object-position: center bottom; 
  z-index:0;
}

.hero__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
	object-position: center bottom; 
  z-index: 0;
}

/* ✅ Bande floue au-dessus de la vidéo (visible sur mobile + PC) */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 1;
  pointer-events:none;

  /* voile léger + blur */
  background: color-mix(in srgb, var(--deep-twilight) 22%, transparent);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);

  /* ✅ on limite l'effet à la partie haute (bande) */
  mask-image: linear-gradient(to bottom,
    color-mix(in srgb, #000 100%, transparent) 0%,
    color-mix(in srgb, #000 100%, transparent) 28%,
    color-mix(in srgb, #000 0%, transparent) 62%
  );
  -webkit-mask-image: linear-gradient(to bottom,
    color-mix(in srgb, #000 100%, transparent) 0%,
    color-mix(in srgb, #000 100%, transparent) 28%,
    color-mix(in srgb, #000 0%, transparent) 62%
  );
}

/* Le contenu passe au-dessus */
.hero__content{
  position: relative;
  z-index: 2;
}


.hero__top{
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.hero__cta{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:20px;
}

.hero__play{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  border-radius:999px;
  padding:12px 16px;
  border:1px solid color-mix(in srgb, var(--light-cyan) 22%, transparent);
  background: color-mix(in srgb, var(--deep-twilight) 50%, transparent);
  color: color-mix(in srgb, var(--light-cyan) 92%, transparent);
  cursor:pointer;
  display:inline-flex;
  gap:10px;
  align-items:center;
  box-shadow: 0 14px 40px color-mix(in srgb, #000 22%, transparent);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  will-change: transform;
}
.hero__play:hover{
  transform: translateX(-50%) translateY(-2px);
  background: color-mix(in srgb, var(--deep-twilight) 62%, transparent);
  border-color: color-mix(in srgb, var(--light-cyan) 30%, transparent);
}
.hero__play:active{
  transform: translateX(-50%) translateY(0px);
}

/* =========================================================
  2) ASIDE NOTE — "Inset boxed"
========================================================= */
.asideNote{
  border-radius: var(--radius-lg);

  /* ✅ pilotable */
  border:3px solid var(--section-stroke, color-mix(in srgb, var(--blue-green) 20%, transparent));
  background: var(--section-bg, color-mix(in srgb, var(--light-cyan) 92%, transparent));
  color: var(--section-ink, inherit);

  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: 0 14px 45px color-mix(in srgb, var(--deep-twilight) 12%, transparent);
}
.asideNote h3{ margin:0 0 8px; }

/* =========================================================
  3) FINAL — Structure + respiration + profondeur
========================================================= */
.final{
  padding-top:0;
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
  padding-bottom: var(--section-pad-y);

  /* ✅ background pilotable */
  background: var(--section-bg, transparent);
  color: var(--section-ink, inherit);
}

.final__grid{
  max-width: var(--content-max);
  margin: 0 auto;

  display:grid;
  grid-template-columns: 1fr .82fr;
  gap: clamp(14px, 2.4vw, 22px);
  margin-top: clamp(16px, 2.6vw, 22px);
  align-items:start;
}

.card--glass{
  /* ✅ surface pilotable */
  background: var(--section-surface, color-mix(in srgb, var(--light-cyan) 8%, transparent));
  border-color: var(--section-stroke, color-mix(in srgb, var(--light-cyan) 14%, transparent));
  box-shadow: var(--glass-shadow);

  position: relative;
  overflow: hidden;
}
.card--glass::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--light-cyan) 10%, transparent), transparent 42%);
}

.final__aside{
  display:grid;
  gap:12px;
}

.asideCard{
  border-radius: var(--radius-lg);
  border:1px solid var(--section-stroke, color-mix(in srgb, var(--light-cyan) 14%, transparent));
  background: var(--section-surface, color-mix(in srgb, var(--light-cyan) 6%, transparent));
  padding: clamp(16px, 2vw, 20px);
  box-shadow: 0 14px 50px color-mix(in srgb, var(--deep-twilight) 18%, transparent);
}
.asideCard h3{ margin:0 0 8px; }

/* =========================================================
  4) FOOTER — Discret, premium
========================================================= */
.footer{
  margin-top:0;
  border-top:1px solid var(--section-stroke, color-mix(in srgb, var(--light-cyan) 14%, transparent));
  padding-top: 18px;
  padding-bottom: 18px;

  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);

  /* ✅ background pilotable */
  background: var(--section-bg, transparent);
  color: var(--section-ink, inherit);
}

/* =========================================================
  6) OPTIONAL — CLASSES UTILITAIRES (prêtes à l'emploi)
  - Tu peux les mettre sur n’importe quelle section
  - Exemple: <section class="final bg-night ink-cream">...</section>
========================================================= */
.bg-night{ --section-bg: var(--night-bordeaux); }
.bg-cream{ --section-bg: color-mix(in srgb, var(--light-cyan) 92%, transparent); }
.bg-glass{ --section-bg: color-mix(in srgb, var(--light-cyan) 6%, transparent); }

.ink-cream{ --section-ink: color-mix(in srgb, var(--light-cyan) 92%, transparent); }
.ink-dark{ --section-ink: color-mix(in srgb, var(--deep-twilight) 92%, transparent); }

/* Surfaces/strokes si tu veux pousser un look par section */
.surface-glass{ --section-surface: color-mix(in srgb, var(--light-cyan) 8%, transparent); }
.surface-strong{ --section-surface: color-mix(in srgb, var(--light-cyan) 12%, transparent); }
.stroke-soft{ --section-stroke: color-mix(in srgb, var(--light-cyan) 14%, transparent); }
.stroke-strong{ --section-stroke: color-mix(in srgb, var(--light-cyan) 22%, transparent); }

/* =========================================================
  5) MOBILE — Centrage + simplification du glass
========================================================= */
@media (max-width: 768px){

  .hero{
    text-align: center;
  }

  .hero__content{
    display: flex;
    flex-direction: column;
    align-items: center;

    backdrop-filter: blur(6px);
    box-shadow: 0 18px 60px color-mix(in srgb, #000 18%, transparent);

    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__top{
    display:flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero__cta{
    justify-content: center;
  }

  .hero h1,
  .hero p{
    max-width: 32ch;
  }

  .final__grid{
    grid-template-columns: 1fr;
  }
}
/* BIG TEXT reveal — style SPYLT-like */
[data-animate="bigtext"]{
  position: relative;
}

.bt-lineWrap{
  display:block;
  position:relative;
  overflow:hidden;
  padding-bottom: .08em; /* petit “respire” */
}

.bt-line{
  display:block;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: flat;
}

/* La “bar” derrière le texte (l’effet punch visuel) */
.bt-bar{
  position:absolute;
  left:-2%;
  right:-2%;
  top: 56%;
  height: 0.78em;        /* ajuste selon ta typo */
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  border-radius: .16em;
  opacity: .95;
  z-index: 0;

  /* couleur par défaut (remplace par ton token/palette) */
  background: color-mix(in srgb, #fff 14%, transparent);
}

/* le texte passe au-dessus de la bar */
.bt-line{
  position:relative;
  z-index:1;
}







/* =========================================================
  HERO — Vignettes (fixes écran, bas droite) — INTERACTIVES
========================================================= */

.hero{ position: relative; overflow:hidden; }

/* conteneur en bas à droite */
.hero__thumbs{
  position: fixed;
  right: 100px;
  bottom: 30px;
  display:flex;
  flex-direction: column;
  gap: 20px;
  z-index: 3;

  /* ⚠️ Important : cliquable */
  pointer-events: auto;
}

/* lien = vignette */
.hero__thumb{
  width: 200px;
  height: 100px;
  border-radius: 14px;
  box-shadow: 0 18px 40px color-mix(in srgb, #000 28%, transparent);

  display:block;
  position: relative;
  overflow:hidden;

  transform: translate3d(0,-3px,0) scale(1.035);
  will-change: transform, box-shadow;

  transition:
    transform .55s cubic-bezier(.18,.89,.32,1.28), /* inertie */
    box-shadow .45s cubic-bezier(.22,.61,.36,1);
}
/* Images (face principale) */
.hero__thumb--1{ background: url("../media/avantagesfiscaux001.jpg") center/cover no-repeat; }
.hero__thumb--2{ background: url("../media/avantagesfiscaux003.jpg") center/cover no-repeat; }

/* Languette blanche 20px qui remonte “de derrière” */
.hero__thumb::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: 35px;
  background:var(--bright-teal-blue);
  border-radius: 0 0 14px 14px;

  transform: translate3d(0,110%,0);
  transition: transform .55s cubic-bezier(.16,1,.3,1);
  will-change: transform;

  z-index:1;
}


.thumb__label{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:40px;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:14px;
  font-weight:600;
  letter-spacing:.3px;
  color:#fff;

  opacity:0;
  transform: translate3d(0,6px,0);
  transition:
    opacity .25s ease,
    transform .45s cubic-bezier(.16,1,.3,1);

  z-index:2;
  pointer-events:none;
}

.hero__thumb:hover::after,
.hero__thumb:focus-visible::after{
  transform: translate3d(0,0,0);
}

.hero__thumb:hover .thumb__label,
.hero__thumb:focus-visible .thumb__label{
  opacity:1;
  transform: translate3d(0,0,0);
}


/* Légende apparaît (léger délai pour “premium”) */
.hero__thumb:hover .thumb__label,
.hero__thumb:focus-visible .thumb__label{
  opacity: 1;
  transform: translate3d(0,0,0);
  transition-delay: .06s;
}

/* Optionnel : focus ring discret (accessibilité) */
.hero__thumb:focus-visible{
  box-shadow:
    0 26px 70px color-mix(in srgb, #000 38%, transparent),
    0 0 0 2px color-mix(in srgb, var(--light-cyan) 55%, transparent),
    0 0 0 4px color-mix(in srgb, var(--blue-green) 35%, transparent);
}

/* Reduced motion : pas de mouvement, juste affichage immédiat */
@media (prefers-reduced-motion: reduce){
  .hero__thumb{
    transition: none;
  }
  .hero__thumb::after{
    transition: none;
  }
  .thumb__label{
    transition: none;
  }
  .hero__thumb:hover,
  .hero__thumb:focus-visible{
    transform: none;
  }
  .hero__thumb:hover::after,
  .hero__thumb:focus-visible::after{
    transform: translate3d(0,0,0);
  }
  .hero__thumb:hover .thumb__label,
  .hero__thumb:focus-visible .thumb__label{
    opacity: 1;
    transform: none;
  }
}

/* Mobile: on masque comme avant (tu peux aussi choisir de les garder) */
@media (max-width: 900px){
  .hero__thumbs{ display:none; }
}


/* ==== RESPONSIVE (from assets/css/responsive.css) ==== */

/* =========================================================
  responsive.css
  - Breakpoints + nav mobile + grids
========================================================= */

@media (max-width: 980px){
  .principles{ grid-template-columns: 1fr; }
  .checklist--cols{ grid-template-columns: 1fr; }
  .final__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .nav__links{ display:none; }
  .nav__burger{ display:inline-block; }
}

@media (max-width: 520px){
  .card, .callout, .principle, .step{ padding: 16px; }
  .step{ grid-template-columns: 54px 1fr; }
  .step__n{ width:54px; height:54px; border-radius: 16px; }
}
@media (max-width: 768px){
  .lead{
    font-size: 1.05rem;
    letter-spacing: -0.01em;
  }
}


/* ==== OVERRIDES from index_entreprise.html (ex-<style> inline) ==== */


/* --- 01 | NAV — Brand colors --- */

.brand__name{
  color: color-mix(in srgb, var(--deep-twilight) 70%, var(--bright-teal-blue)); /* AVANTAGES et .EU */
}

.brand__name strong{
  color: var(--blue-green); /* FISCAUX */
}


/* --- 02 | NAV — Desktop link colors --- */

/* Desktop nav text links */
.nav__links > a:not(.btn){
  color: var(--bright-teal-blue);
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease;
}

.nav__links > a:not(.btn):hover{
  color: var(--turquoise-surf);
	}


/* --- 03 | SECTION 02 — PROBLÈME overrides --- */

/* =========================================================
   PROBLÈME — colonne gauche sans cadre
========================================================= */

/* cible seulement la première card dans #probleme */
#probleme .grid-2 > .card:first-child{
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
		#probleme .grid-2 > .card:first-child{
  padding-right: clamp(16px, 3vw, 40px);
}


/* --- 04 | SECTION 03 — CALLOUT alert --- */

.callout--alert{
  background: var(--french-blue);
  border-color: color-mix(in srgb, #fff 25%, transparent);
  color: color-mix(in srgb, #fff 95%, transparent);

  box-shadow:
    0 18px 50px color-mix(in srgb, var(--french-blue) 45%, transparent);
}

.callout--alert i{
  color: color-mix(in srgb, #fff 95%, transparent);
}


/* --- 05 | SECTION 05 — APPROCHE (bg card + icon) --- */

.card--bg{
  position: relative;
  background-size: cover;        /* occupe toute la largeur */
  background-position: center;   /* centré horizontalement et verticalement */
  background-repeat: no-repeat;
  overflow: hidden;
}

/* léger voile pour garder lisibilité du texte */
.card--bg::before{
  content:"";
  position:absolute;
  inset:0;
  background: color-mix(in srgb, #000 35%, transparent);
  z-index:0;
}

/* le contenu passe au-dessus */
.card--bg > *{
  position:relative;
  z-index:1;
}
	
	
	
	.section__icon{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom: 22px;
}

.section__icon i{
  font-size: clamp(4.5rem, 8vw, 7rem);
  color: var(--accent, var(--blue-green));
  opacity: .22;
  line-height: 1;
}


/* --- 06 | SECTION 06 — OBJECTIFS grid/cards --- */

/* GRID OBJECTIFS */
/* 5 cards sur une ligne (desktop) */
.objectifs-grid{
  display:grid;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 1100px){
  .objectifs-grid{
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }
}

/* Fallback responsive (tablette/mobile) */
@media (max-width: 1099px){
  .objectifs-grid{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}


/* MINI CARD */
.objective-card{
  background: color-mix(in srgb, var(--frosted-blue-2) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent);
  border-radius: var(--radius-lg);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  box-shadow: 0 10px 34px color-mix(in srgb, var(--deep-twilight) 10%, transparent);
}

.objective-card i{
  font-size: 26px;
  color: color-mix(in srgb, var(--french-blue) 85%, transparent);
}

.objective-card h3{
  margin: 0;
  font-weight: 700;
}

.objective-card p{
  margin: 0;
  color: color-mix(in srgb, var(--french-blue) 75%, transparent);
}

/* FOOTER CENTRÉ */
.objectifs-footer{
  margin-top: 28px;
  display:flex;
  justify-content:center;
}
	/* Mini-card (rappel si tu l’as déjà, garde juste les parties hover si besoin) */
.objective-card{
  position: relative;
  border-radius: var(--radius-lg);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap: 8px;
  background: color-mix(in srgb, var(--frosted-blue-2) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent);
  box-shadow: 0 10px 34px color-mix(in srgb, var(--deep-twilight) 10%, transparent);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.objective-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 54px color-mix(in srgb, var(--deep-twilight) 16%, transparent);
  border-color: color-mix(in srgb, var(--french-blue) 24%, transparent);
}

/* Icône : micro-anim */
.objective-card i{
  font-size: 26px;
  color: color-mix(in srgb, var(--french-blue) 85%, transparent);
  transform-origin: 50% 60%;
  transition: transform 260ms var(--ease), filter 260ms var(--ease), color 260ms var(--ease);
  will-change: transform;
}

/* Au hover : petit lift + mini rotation + glow doux */
.objective-card:hover i{
  transform: translateY(-2px) rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 10px 18px color-mix(in srgb, #000 18%, transparent));
  color: color-mix(in srgb, var(--deep-twilight) 92%, transparent);
}

/* Accessibilité: pas d’animation si reduced motion */
@media (prefers-reduced-motion: reduce){
  .objective-card,
  .objective-card i{
    transition: none !important;
  }
}

	
	
	/* État normal */
.objective-card{
  background: color-mix(in srgb, var(--frosted-blue-2) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent);
  color: color-mix(in srgb, var(--deep-twilight) 92%, transparent);

  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    background 260ms var(--ease),
    border-color 260ms var(--ease),
    color 260ms var(--ease);
}

/* Hover = inversion */
.objective-card:hover{
  transform: translateY(-4px);
  background: color-mix(in srgb, var(--deep-twilight) 92%, transparent);       /* sombre */
  border-color: color-mix(in srgb, var(--light-cyan) 22%, transparent);
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
  box-shadow: 0 18px 54px color-mix(in srgb, var(--deep-twilight) 40%, transparent);
}

/* Titres et textes suivent la couleur inversée */
.objective-card:hover h3,
.objective-card:hover p{
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
}

/* Icône */
.objective-card i{
  color: color-mix(in srgb, var(--french-blue) 85%, transparent);
  transition:
    transform 260ms var(--ease),
    color 260ms var(--ease),
    filter 260ms var(--ease);
}

.objective-card:hover i{
  transform: translateY(-2px) rotate(-6deg) scale(1.06);
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
  filter: drop-shadow(0 10px 18px color-mix(in srgb, #000 45%, transparent));
}
/* ================================
   OBJECTIVE CARD — HOVER PREMIUM
   gradient + glow border + elastic inertia
================================ */

/* Optionnel: tokens locaux (tu peux garder en dur si tu préfères) */
:root{
  --ease-elastic: cubic-bezier(.16, 1, .3, 1);
}

/* Base */
.objective-card{
  position: relative;
  overflow: hidden;

  background: color-mix(in srgb, var(--frosted-blue-2) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--french-blue) 16%, transparent);
  color: color-mix(in srgb, var(--deep-twilight) 92%, transparent);

  transition:
    background 420ms var(--ease-elastic),
    border-color 420ms var(--ease-elastic),
    box-shadow 420ms var(--ease-elastic),
    color 420ms var(--ease-elastic);
}

/* Fine bordure lumineuse + glow (pseudo-element) */
.objective-card::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  opacity: 0;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--light-cyan) 26%, transparent),   /* hairline glow */
    0 16px 60px color-mix(in srgb, var(--deep-twilight) 18%, transparent);   /* ambient */
  transition: opacity 420ms var(--ease-elastic);
}

/* Gradient sombre au hover + inversion */
.objective-card:hover{
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--deep-twilight) 96%, transparent),  /* charcoal-900 */
    color-mix(in srgb, var(--deep-twilight) 92%, transparent)   /* charcoal-950 */
  );
  border-color: color-mix(in srgb, var(--light-cyan) 20%, transparent);
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
}

.objective-card:hover::after{
  opacity: 1;
}

/* Texte suit l’inversion (sécurité) */
.objective-card:hover h3,
.objective-card:hover p{
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
}

/* Icon micro-anim + inversion */
.objective-card i{
  transform-origin: 50% 60%;
  transition:
    transform 520ms var(--ease-elastic),
    color 420ms var(--ease-elastic),
    filter 420ms var(--ease-elastic);
  will-change: transform;
  color: color-mix(in srgb, var(--french-blue) 85%, transparent);
}

.objective-card:hover i{
  transform: translateY(-2px) rotate(-6deg) scale(1.06);
  color: color-mix(in srgb, var(--light-cyan) 95%, transparent);
  filter: drop-shadow(0 14px 22px color-mix(in srgb, #000 45%, transparent));
}

/* ✅ Zoom elastic “inertie” : petit overshoot via keyframes */
.objective-card:hover{
  animation: cardElasticIn 620ms var(--ease-elastic) both;
}
.objective-card{
  animation: none;
}

@keyframes cardElasticIn{
  0%   { transform: translateY(0) scale(1); }
  55%  { transform: translateY(-6px) scale(1.035); } /* overshoot */
  78%  { transform: translateY(-4px) scale(1.02); }  /* recoil */
  100% { transform: translateY(-4px) scale(1.025); } /* settle */
}

/* Optionnel: sortie plus douce quand on quitte le hover */
.objective-card:not(:hover){
  transition:
    transform 520ms var(--ease-elastic),
    background 420ms var(--ease-elastic),
    border-color 420ms var(--ease-elastic),
    box-shadow 420ms var(--ease-elastic),
    color 420ms var(--ease-elastic);
}

/* Accessibilité: réduire les motions */
@media (prefers-reduced-motion: reduce){
  .objective-card,
  .objective-card::after,
  .objective-card i{
    transition: none !important;
    animation: none !important;
  }
}


/* --- 07 | OVERRIDES (inline style block) --- */

.final__head{
  text-align: center;
  margin-inline: auto;
}

.final__head .title-lg,
.final__head .section__sub{
  margin-left: auto;
  margin-right: auto;
}



/* =========================================================
  MODAL  Privacy (cohrent design : glass + accent)
========================================================= */
.footer__link{
  color:#fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity:.9;
}
.footer__link:hover{ opacity:1; }
.footer__sep{ margin: 0 .6rem; opacity:.55; }

.modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* activ en JS */
}

.modal.is-open{ display: block; }

.modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(3, 7, 18, .72);
  backdrop-filter: blur(6px);
}

.modal__dialog{
  position: relative;
  width: min(980px, calc(100% - 28px));
  max-height: calc(100% - 28px);
  margin: 14px auto;
  overflow: hidden;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);

  background: rgba(12, 18, 35, .78);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.modal__head{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.modal__icon{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}
.modal__icon i{ font-size: 20px; color: var(--accent, #00b4d8); }

.modal__titles{ flex:1; min-width: 0; }
.modal__title{
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  color: #fff;
  letter-spacing: .2px;
}
.modal__sub{
  margin: 4px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.modal__close{
  appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  border-radius: 12px;
  width: 40px; height: 40px;
  display:grid; place-items:center;
  cursor:pointer;
}
.modal__close:hover{ background: rgba(255,255,255,.10); }

.modal__body{
  padding: 16px;
  overflow: auto;
  max-height: calc(100vh - 220px);
}

.modal__card{
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.modal__h3{
  margin: 0 0 10px;
  font-size: 18px;
  color: #fff;
}
.modal__muted{ color: rgba(255,255,255,.65); font-weight: 400; }

.modal__meta{
  display:grid;
  gap: 8px;
  padding: 12px 12px;
  margin: 12px 0 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
}
.modal__meta .k{ color: rgba(255,255,255,.65); }
.modal__meta .v{ color: rgba(255,255,255,.92); }

.modal__text p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.86);
  line-height: 1.65;
  font-size: 15px;
}

.modal__foot{
  display:flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Empche scroll body quand modal ouverte */
body.is-modal-open{
  overflow: hidden;
}
/* Mentions lgales  petits complments */
.modal__h4{
  margin: 14px 0 8px;
  font-size: 15px;
  color: rgba(255,255,255,.92);
}

.modal__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.modal__list li{
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.86);
}

.modal__list i{
  color: var(--accent, #00b4d8);
  font-size: 18px;
}

