/* =====================================================
   1. PARAMÈTRES GLOBAUX & SCROLL
===================================================== */
/* Empêche tout débordement horizontal (mobile) */
html, body{
  width: 100%;
  overflow-x: hidden;
}

/* Encore plus strict sur les sections avec formes */
.hero,
.navbar{
  overflow-x: clip; /* mieux que hidden quand supporté */
}


html {
  scroll-behavior: smooth;
}

#philosophie,
#methodologie,
#quisuisje,
#faq,
#contact {
  scroll-margin-top: 100px; /* ajuste selon la hauteur de ton header */
}

/* =====================================================
   2. VARIABLES CSS
===================================================== */

:root {
  --primary: #6C63FF;
  --background-soft: #F8F8FC;
  --background-accent: #F2F1FF;

  --text-dark: #1C1C28;
  --text-medium: #4A4A5A;
  --text-light: #6E6E80;

  --border-subtle: rgba(0, 0, 0, 0.06);
  
}

/* =====================================================
   3. RESET & BASE
===================================================== */


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

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.7;
}

html {
  scroll-behavior: smooth;
}

/* =====================================================
   4. NAVBAR
===================================================== */


.navbar {
  position: fixed;
  width: 100%;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.nav-contact {
  position: absolute;
  right: 20px;
}

@media (max-width: 860px){
  .nav-container{
    justify-content: flex-end;
  }

  .nav-toggle{
    display: block;
    margin-left: auto;
    z-index: 1002;
  }

  .navbar nav{
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: min(92vw, 390px);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 34px 24px;

    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(28, 28, 40, 0.10);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(-50%);
    transition: opacity 0.22s ease, visibility 0.22s ease;
  }

  .navbar.nav-open nav{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
  }

  .navbar nav a{
    margin-left: 0;
    font-size: 18px;
    letter-spacing: 0.2px;
  }

  .navbar{
    padding: 18px 22px;
  }

  .navbar.scrolled{
    padding: 14px 22px;
  }
}

/* ===============================
   NAV LINKS — effet push discret
================================ */

.navbar nav a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;

  padding: 6px 10px;
  border-radius: 8px;

  transition:
    transform 0.12s ease,
    background 0.18s ease,
    color 0.18s ease;
}

/* Hover général */
.navbar nav a:hover {
  color: var(--primary);
  background: rgba(108, 99, 255, 0.06);
  transform: translateY(1px);
}

.navbar nav a:active {
  transform: translateY(2px);
  background: rgba(108, 99, 255, 0.10);
}

/* =========================
   BURGER ULTRA STABLE
========================= */

.nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span{
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transform-origin: center;
  transition: all 0.25s ease;
}

/* Positionnement FIXE (pas de translate cumulatif) */
.nav-toggle span:nth-child(1){
  top: 14px;
  transform: translateX(-50%);
}

.nav-toggle span:nth-child(2){
  top: 20px;
  transform: translateX(-50%);
}

.nav-toggle span:nth-child(3){
  top: 26px;
  transform: translateX(-50%);
}

/* Animation vers croix */
.navbar.nav-open .nav-toggle span:nth-child(1){
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.navbar.nav-open .nav-toggle span:nth-child(2){
  opacity: 0;
}

.navbar.nav-open .nav-toggle span:nth-child(3){
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 860px){
  .nav-toggle{
    display: block;
  }

  .navbar nav{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 24px;
    padding: 40px 20px;

    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border-subtle);

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;

    transition: all 0.35s ease;
  }

  .navbar.nav-open nav{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar nav a{
    margin-left: 0;
    font-size: 18px;
    letter-spacing: 0.3px;
  }

  .navbar{
    padding: 18px 22px;
  }

  .navbar.scrolled{
    padding: 14px 22px;
  }
  
}

/* ===============================
   CONTACTEZ-MOI — accent premium (
================================ */

.navbar nav a:last-child {
  color: var(--primary);
  font-weight: 600;
  position: relative;
}

/* Ligne centrée + courte (60%) + animée */
.navbar nav a:last-child::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;

  width: 60%;           /* 1) plus courte */
  height: 1px;          /* état normal */
  border-radius: 2px;

  background: var(--primary);
  opacity: 0.35;

  /* 3) animation subtile */
  transform-origin: center;
  scale: 0.85;          /* ligne un peu “rentrée” */
  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    height 0.15s ease,
    scale 0.18s ease;
}

/* Hover : violet plus foncé + ligne plus dense + déploiement */
.navbar nav a:last-child:hover {
  color: #574FE8;
}

.navbar nav a:last-child:hover::after {
  background: #574FE8;
  opacity: 0.75;
  height: 2px;          /* 2) s’épaissit */
  scale: 1;             /* 3) se déploie */
}

/* ===============================
   4.1 LOGO TYPOGRAPHIQUE
================================ */

.nav-logo a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;              /* IMPORTANT pour le ::after */
  transition: all 0.25s ease;
}

.logo-symbol {
  width: 18px;
  height: 18px;
  margin-right: 3px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

/* Animation très subtile au hover */
.nav-logo a:hover .logo-symbol {
  transform: rotate(-6deg);
  color: #574FE8;
}


.logo-firstname {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: var(--text-dark);
}

.logo-lastname {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.25s ease;
}

.logo-text{
  position: relative;
  display: inline-block;
}

.logo-text::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #574FE8;
  transition: width 0.25s ease;
}

.nav-logo a:hover .logo-text::after{
  width: 100%;
}


/* Hover : VALLIN plus foncé */
.nav-logo a:hover .logo-lastname {
  color: #574FE8;
}

.nav-logo a:hover {
  transform: translateY(-1px);
}

/* ===============================
   4.2 NAVBAR – Version scroll académique
================================ */

.navbar {
  position: fixed;
  width: 100%;
  padding: 20px 40px;

  background: rgba(255, 255, 255, 0.35); /* beaucoup plus transparent */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); /* compatibilité Safari */

  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);

  z-index: 1000;

  transition:
    padding 0.25s ease,
    background 0.25s ease,
    backdrop-filter 0.25s ease;
}

.navbar.scrolled {
  padding: 12px 40px;

  background: rgba(255, 255, 255, 0.45); /* légèrement plus dense */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}


/* Liens plus denses au scroll */
.navbar.scrolled nav a {
  letter-spacing: 0.2px;
  margin-left: 22px; /* légèrement réduit (avant 25px) */
}


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

.hero {
  position: relative;
  padding: 180px 20px 140px;
  text-align: center;
  overflow: hidden;
  background: #faf9ff;
}

.hero-inner {
  max-width: 820px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* background glow */

.hero-bg {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(110, 72, 255, 0.15) 0%,
    rgba(110, 72, 255, 0.05) 40%,
    transparent 70%
  );
  z-index: 1;
}

/* location */

.hero-location {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b7b8a;
  margin-bottom: 20px;
}

/* title */

.hero-title {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 26px;
  color: #111;
}

.hero-title span {
  color: #6c4cff;
}

/* description */

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
}

/* buttons */

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.btn-primary {
  background: #6c4cff;
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.25s;
}

.btn-primary:hover {
  background: #5b3ee6;
}

.btn-secondary {
  border: 1px solid #ddd;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  background: white;
}

.btn-secondary:hover {
  border-color: #bbb;
}

/* bottom text */

.hero-sub {
  font-size: 15px;
  color: #777;
}

/* responsive */

@media (max-width: 768px) {

  .hero {
    padding: 140px 20px 90px;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

}

/* Correction HERO mobile */
@media (max-width: 768px) {

  .hero {
    padding-top: calc(80px + 2rem);
  }

}

/* =====================================================
   8. BLOC 2 – SCHÉMA & STRUCTURE
===================================================== */

.title-accent {
  color: var(--primary);
  font-weight: 700;
}

.bloc-2 {
  padding: 80px 24px 140px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* === TITRE & INTRO === */

.bloc-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 28px;
  color: #1c1c1c;
}

.bloc-intro {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 100px auto;
  line-height: 1.7;
  color: #000;
}

/* =========================================
   COMPARAISON — style minimal (2 panneaux)
========================================= */

.clarification-compare{
  max-width: 1020px;
  margin: 0 auto 90px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

/* Panneaux */
.compare-panel{
  border-radius: 18px;
  padding: 34px 34px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

/* Fonds teintés */
.compare-panel.is-red{
  background: #fff1f2;
  border-color: rgba(198,40,40,0.16);
}
.compare-panel.is-green{
  background: #ecfff4;
  border-color: rgba(27,142,62,0.16);
}

/* En-têtes */
.panel-head h3{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.compare-panel.is-red .panel-head h3{ color:#c62828; }
.compare-panel.is-green .panel-head h3{ color:#1b8e3e; }

@media (max-width: 768px) {

  .bloc-2 {
    padding: 64px 16px 90px;
  }

  .schema-wrapper {
    display: block;
  }

  .box {
    padding: 24px 14px;
    border-radius: 20px;
    min-height: auto;
  }

  .clarification-compare {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 auto 40px;
  }

  .compare-panel {
    padding: 22px 16px 18px;
    border-radius: 16px;
  }

  .panel-head {
    margin-bottom: 18px;
  }

  .panel-head h3 {
    font-size: 22px;
    line-height: 1.15;
  }

  .panel-head p {
    font-size: 14px;
    line-height: 1.4;
  }

  .panel-note {
    width: 100%;
    margin: 14px auto 18px;
    padding: 16px 14px 14px;
    border-radius: 12px;
    transform: none !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.12);
  }

  .panel-note:hover {
    transform: none !important;
  }

  .note-title {
    font-size: 15px;
  }

  .note-list {
    gap: 8px;
  }

  .note-list li {
    font-size: 13.5px;
    line-height: 1.45;
    padding-left: 0;
  }

  .panel-footer {
    margin-left: 0;
    margin-top: 10px;
  }

  .panel-label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .panel-footer-card .panel-list li {
    font-size: 13.5px;
    line-height: 1.45;
    padding-left: 26px;
  }

  .bloc2-conclusion {
    font-size: 16px;
    line-height: 1.65;
    margin-top: 36px;
  }
}
/* ==================================
   Fond danger — double croix subtile
================================== */

.compare-panel.is-red{
  position: relative;
  overflow: hidden;
}

/* ==================================
   HEADERS – hiérarchie + visibilité
================================== */

.panel-head{
  text-align: center;
  margin-bottom: 30px;
}

/* Titre principal : plus visible */
.panel-head h3{
  margin: 0;
  font-size: 28px;        /* + visible */
  font-weight: 750;       /* plus “dense” */
  letter-spacing: -0.4px;
  line-height: 1.15;
}

/* Sous-titre : plus petit, plus léger, mais lisible */
.panel-head p{
  margin: 10px 0 0;
  font-size: 15px;        /* lisible */
  font-weight: 500;
  opacity: 0.78;          /* hiérarchie sans disparaître */
  line-height: 1.35;
}

/* Séparateur discret (cohérence / structure) */
.panel-head::after{
  content:"";
  display:block;
  width: 46px;
  height: 2px;
  margin: 16px auto 0;
  border-radius: 999px;
  opacity: 0.35;
}

/* Couleurs cohérentes */
.compare-panel.is-red .panel-head h3,
.compare-panel.is-red .panel-head p{
  color: #d32f2f;
}
.compare-panel.is-red .panel-head::after{
  background: #c62828;
}

.compare-panel.is-green .panel-head h3,
.compare-panel.is-green .panel-head p{
  color: #1e9c48;
}
.compare-panel.is-green .panel-head::after{
  background: #1b8e3e;
}

/* Petit boost de contraste (sans effet marketing) */
.compare-panel.is-red .panel-head h3{ text-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.compare-panel.is-green .panel-head h3{ text-shadow: 0 1px 0 rgba(0,0,0,0.06); }

/* Rouge plus lumineux */
.compare-panel.is-red{
  background: linear-gradient(
    180deg,
    #fff5f5 0%,
    #ffe3e3 100%
  );
  border-color: rgba(198,40,40,0.25);
}

/* Vert plus lumineux */
.compare-panel.is-green{
  background: linear-gradient(
    180deg,
    #f2fff6 0%,
    #dff7e7 100%
  );
  border-color: rgba(27,142,62,0.25);
}

/* “Note” blanche au milieu */
.panel-note{
  margin: 22px auto 26px;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 26px 70px rgba(0,0,0,0.18);
  padding: 18px 18px 16px;
  position: relative;
}

/* Inclinaisons */
.panel-note.tilt-left{ transform: rotate(-2.2deg); }
.panel-note.tilt-right{ transform: rotate(2.2deg); }

/* Petit “trait” coloré en haut de la note */
.compare-panel.is-red .panel-note::before,
.compare-panel.is-green .panel-note::before{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 4px;
  border-radius: 0 0 10px 10px;
}
.compare-panel.is-red .panel-note::before{
  background: rgba(198,40,40,0.95);
}
.compare-panel.is-green .panel-note::before{
  background: rgba(27,142,62,0.95);
}

/* Contenu note */
.note-title{
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 6px;
}
.note-sub{
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-light);
}

.note-sep{
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 14px 0;
}

.note-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;   /* espace sous la ligne */
  display: grid;
  gap: 10px;
}

.note-list li{
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  padding-left: 8px;
  position: relative;
}

/* Bas des panneaux */
.panel-footer{
  margin-top: 6px;
  margin-left: 18px;   /* léger décalage vers la droite */
  margin-left: 22px;
}

.cta-beam {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cta-beam:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(108, 99, 255, 0.16);
}

.cta-beam-border {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1px;
  background: conic-gradient(
    from 0deg,
    rgba(108, 99, 255, 0.18),
    rgba(108, 99, 255, 0.85),
    rgba(160, 155, 255, 0.65),
    rgba(108, 99, 255, 0.18)
  );
  animation: cta-spin 6s linear infinite;
}

.cta-beam-bg {
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 120%, rgba(108, 99, 255, 0.22), transparent 52%),
    linear-gradient(180deg, #7a72ff 0%, #6c63ff 55%, #5d54f2 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -8px 20px rgba(55, 45, 150, 0.18);
}

.cta-beam-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.16;
  animation: cta-dots 12s linear infinite;
}

.cta-beam-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cta-beam-content iconify-icon {
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.cta-beam:hover .cta-beam-content iconify-icon {
  transform: scale(1.05);
}

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

@keyframes cta-dots {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 24px 24px;
  }
}

/* mobile */
@media (max-width: 640px) {
  .cta-beam {
    width: 100%;
  }

  .cta-beam-content {
    width: 100%;
    padding: 0.95rem 1.35rem;
    font-size: 0.92rem;
  }
}
html {
  scroll-behavior: smooth;
}

#philosophie {
  scroll-margin-top: 110px;
}

/* ==================================
   BLOC 2 — Footer version carte structurée
================================== */

/* Couleurs contextuelles – version plus visible */

.compare-panel.is-red .panel-label::after,
.compare-panel.is-green .panel-label::after{
  content:"";
  display:block;
  width: 36px;
  height: 2px;
  margin-top: 6px;
  border-radius: 999px;
}

.compare-panel.is-red .panel-label::after{
  background: #b71c1c;
}

.compare-panel.is-green .panel-label::after{
  background: #15803d;
}

/* Liste plus lisible */
.panel-footer-card .panel-list{
  gap: 12px;
}

.panel-footer-card .panel-list li{
  font-size: 14px;
  line-height: 1.55;
}

.panel-label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: rgba(0,0,0,0.45);
}

/* Couleurs contextuelles */

.compare-panel.is-red .panel-label{
  color: #b71c1c;
}

.compare-panel.is-green .panel-label{
  color: #15803d;
}

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

.panel-list li{
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.45;
  padding-left: 22px;
  position: relative;
}

/* ==================================
   BLOC 2 — Icônes (cercle + symbole centré)
================================== */

.panel-footer-card .panel-list li{
  position: relative;
  padding-left: 30px;
  line-height: 1.35;
}

.panel-footer-card .panel-list li::before{
  content: "";
  position: absolute;
  left: 0;

  top: 50%;
  transform: translateY(-52%);

  width: 18px;
  height: 18px;
  border-radius: 999px;

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

  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

/* On n'utilise plus ::after */
.panel-footer-card .panel-list li::after{
  content: none !important;
}

/* Rouge */
.panel-footer-card .is-red-list li::before{
  content: "×";
  color: #c62828;
  border: 1.6px solid #c62828;
  background: rgba(198, 40, 40, 0.10);
}

/* Vert */
.panel-footer-card .is-green-list li::before{
  content: "✓";
  color: #1b8e3e;
  border: 1.6px solid #1b8e3e;
  background: rgba(27, 142, 62, 0.10);
}

/* ==================================
   Note blanche — Floating UI moderne
================================== */

.panel-note{
  transform-style: preserve-3d;
  transform-origin: center;
  perspective: 1000px;

  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.45s cubic-bezier(.22,.61,.36,1);

  will-change: transform;
}

/* Inclinaison par défaut */
.tilt-left{
  transform: rotate(-2.5deg) translateY(0);
}

.tilt-right{
  transform: rotate(2.5deg) translateY(0);
}

/* Hover moderne */
.panel-note:hover{
  transform:
    rotate(0deg)
    scale(1.05)
    translateY(-8px);

  box-shadow:
    0 40px 80px rgba(0,0,0,0.12),
    0 15px 30px rgba(0,0,0,0.10);
}

/* ==================================
   BLOC 2 — Conclusion
================================== */

.bloc2-conclusion {
  max-width: 850px;
  margin: 60px auto 0 auto;
  text-align: center;
  color: #000;
  font-size: 18px;
  line-height: 1.7;
}

.bloc2-conclusion p {
  margin-bottom: 15px;
}

.bloc2-conclusion strong {
  font-weight: 600;
}

.bloc2-video {
  max-width: 720px;
  margin: 40px auto;
}

.bloc2-video iframe {
  width: 100%;
  height: 405px;
  border-radius: 10px;
}


/* === RESPONSIVE === */

@media (max-width: 900px) {
 .schema-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 80px;
}

/* === BOÎTES PLUS LARGES ET PLUS PRÉSENTES === */

.box {
  flex: 1;
  padding: 65px 55px; /* plus généreux */
  border-radius: 22px;
  background-color: #2b2b31; /* gris profond légèrement bleuté */
  color: #f2f2f2;
  display: flex;
  flex-direction: column;
  min-height: 420px; /* plus massif */
  transition: transform 0.4s ease;
}

/* Titres plus visibles */

.box-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 35px;
  color: #ffffff;
}

/* Texte des listes */

.box li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 22px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #d8d8dc;
  line-height: 1.6;
}

/* Bullet violet plus lumineux */

.box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #9f87ff; /* violet légèrement plus lumineux */
  font-weight: 600;
}


}

/* ===============================
   BLOC 3 – COURS DE PHILOSOPHIE
================================ */

#philosophie {
  background: var(--background-accent);
  padding: 110px 20px 90px;
}

.bloc-3 {
  padding: 110px 20px 70px;
  background: #ffffff;
}

.bloc-3-title {
  text-align: center;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 40px;
  color: var(--text-dark);
  position: relative;
}
.title-accent {
  color: var(--primary);
  font-weight: 700;
}


.bloc-3-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 14px auto 0;
}

.bloc-3--title span {
  color: var(--primary);
}

.bloc-3 {
  position: relative;
}

.bloc3-intro {
  max-width: 850px;
  margin: 0 auto 60px auto;
  text-align: center;
  line-height: 1.7;
  color: #000;
}

.bloc3-intro strong {
  color: #000;
  font-weight: 600;
}

.bloc3-accroche {
  text-align: center;
  font-size: 26px;
  line-height: 0.7; /* réduit l’espace vertical */
  margin-bottom: 40px;
  color: #000;
}

.bloc3-accroche strong {
  font-weight: 800;
}

.bloc-3-text {
  max-width: 760px;
  margin: 0 auto 40px auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  text-align: center;
}

.bloc-3-infos {
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}

.bloc-3-infos li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-dark);
}

.method-steps {
  display: flex;
  justify-content: center;
  gap: 50px; /* un peu plus d’espace entre les blocs */
  margin: 80px 0;
}

.method-steps .step {
  flex: 1;
  width: 300px;   /* largeur confortable */
  min-height: 480px;  /* hauteur légèrement plus grande */

  padding: 55px 38px; /* plus d’air interne */

  border: 3px solid #bdbdbd;
  border-radius: 10px; /* coins légèrement arrondis */

  background: white;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 55px;
}

.step-number {
  width: 50px;
  height: 50px;
  border: 2px solid #6f5cff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #6f5cff;
  margin-bottom: 25px;
  font-size: 16px;
  transition: background-color 0.25s ease, 
              color 0.25s ease, 
              border-color 0.25s ease;
}

.method-steps .step:hover .step-number {
  background-color: #6f5cff;
  color: white;
  border-color: #6f5cff;
}

.method-steps .step:hover {
  border-color: #6f5cff;
}

/* Intro secondaire – bloc Philosophie */

#philosophie .bloc3-intro-strong{
  max-width: 820px;
  margin: 0 auto 55px;

  font-size: 21px;
  line-height: 1.65;
  text-align: center;
  letter-spacing: -0.2px;

  color: var(--text-dark);
}

/* ==================================
   PHILOSOPHIE — Cartes (3 sous-blocs)
================================== */

#philosophie .philo-cards{
  max-width: 980px;
  margin: 70px auto 55px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

#philosophie .philo-card{
  position: relative;
  overflow: hidden;

  padding: 34px 30px 30px;
  border-radius: 18px;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);

  box-shadow: 0 26px 70px rgba(18, 18, 24, 0.10);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

#philosophie .philo-card:hover{
  transform: translateY(-2px);
  border-color: rgba(108, 99, 255, 0.18);
  box-shadow:
    0 34px 82px rgba(18, 18, 24, 0.12),
    0 0 0 1px rgba(108, 99, 255, 0.10);
}

/* Halo doux en fond (très discret) */
#philosophie .philo-card::after{
  content:"";
  position:absolute;
  inset: -90px -120px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.14),
    rgba(108, 99, 255, 0.00) 65%
  );
  pointer-events:none;
  opacity: 0.85;
}

/* Badge rond en haut à droite */
#philosophie .philo-badge{
  position: absolute;
  right: -18px;
  top: -18px;

  width: 92px;
  height: 92px;
  border-radius: 999px;

  background: rgba(108, 99, 255, 0.92);
  box-shadow: 0 18px 48px rgba(108, 99, 255, 0.18);

  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

#philosophie .philo-badge-number{
  color: #fff;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.3px;

  padding: 0 0 18px 22px;
}

/* Icône */
#philosophie .philo-icon{
  width: 46px;
  height: 46px;

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

  color: var(--primary);
  margin-bottom: 18px;
}

#philosophie .philo-icon svg{
  width: 40px;
  height: 40px;
}

/* Titre + texte */
#philosophie .philo-card-title{
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.2px;
  line-height: 1.25;

  margin-bottom: 10px;
  color: var(--text-dark);
}

#philosophie .philo-card-text{
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-medium);
  max-width: 42ch;
}

/* ===== Correction responsive bloc philosophie ===== */

@media (max-width: 768px) {

  .bloc3-accroche{
    line-height: 1.3;
    margin-bottom: 50px;
  }

  .bloc3-intro-strong{
    line-height: 1.45;
    margin-top: 6px;
    margin-bottom: 18px;
  }

}

/* Responsive */
@media (max-width: 980px){
  #philosophie .philo-cards{
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 720px;
  }

  #philosophie .philo-card{
    padding: 28px 24px 24px;
  }

  #philosophie .philo-card-text{
    max-width: 68ch;
  }
}

.step h3 {
  min-height: 56px;   /* stabilise la hauteur du titre */
  display: flex;
  align-items: center;
  justify-content: center;
}


.step-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;

  text-align: left;
  width: 100%;
}

.step-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 15.5px;     /* avant 14px */
  line-height: 1.6;      /* plus respirant */
  color: #333;           /* un peu plus dense */
}


/* Bullet personnalisé */
.step-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #6f5cff;
  font-size: 18px;  /* légèrement plus grand */
}

/* Puces personnalisées */

.bloc-3-infos li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}


/* ===============================
   BLOC 4 – COURS DE MÉTHODOLOGIE
================================ */
.bloc-4 {
  padding: 80px 20px 120px;
  background: var(--background-accent);
}


.bloc-4-title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 40px;
  color: var(--text-dark);
  position: relative;
}

.bloc-4-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 14px auto 0;
}

.bloc-4--title span {
  color: var(--primary);
}

.bloc-4 {
  position: relative;
}

.bloc-4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  
  width: 75%;
  height: 1px;
  background-color: #dcdcdc;
}

.bloc-4-title {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 40px;
  color: var(--text-dark);
}

/* ==================================
   BLOC 4 — Layout split (texte / stepper)
================================== */

.methodologie-split{
  margin-top: 56px;

  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.methodologie-copy{
  display: flex;
  justify-content: center;
}

.methodologie-copy .bloc-4-text{
  max-width: 480px;        /* un peu plus étroit */
  text-align: center;      /* centré visuellement */
  margin: 0 auto;

  line-height: 1.8;
}

/* Colonne droite : stepper */
.methodologie-stepper{
  display: flex;
  justify-content: flex-end;
}

.methodologie-stepper .stepper-box--methodo{
  width: 100%;
  max-width: 620px;
  margin: 0;

  /* on enlève l’effet “carte” */
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;

  position: relative;

  /* intégration premium */
  padding-left: 28px;
}

/* Rail vertical discret (structure éditoriale) */
.methodologie-stepper .stepper-box--methodo::before{
  content:"";
  position:absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 99px;

  
}

/* Step */
.stepper-step{
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
  position: relative;
}

.stepper-step:last-child{ margin-bottom: 0; }

/* Ligne interne de connexion (entre cercles) */
.stepper-line{
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: -26px;
  width: 2px;
  z-index: 1;
  display: none !important;

  background: linear-gradient(
    to bottom,
    rgba(108, 99, 255, 0.00),
    rgba(108, 99, 255, 0.18),
    rgba(108, 99, 255, 0.00)
  );
}

.stepper-step:last-child .stepper-line{ display: none; }

/* Cercle numéroté — premium discret */
.stepper-circle{
  width: 40px;
  height: 40px;
  border-radius: 50%;

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

  flex-shrink: 0;
  z-index: 2;

  font-weight: 650;
  font-size: 14px;

  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid rgba(108, 99, 255, 0.55);

  box-shadow:
    0 10px 22px rgba(108, 99, 255, 0.10),
    0 0 0 4px rgba(108, 99, 255, 0.06);
}

.stepper-content{ flex: 1; }

/* Titres + labels */
.stepper-title{
  font-weight: 650;
  color: var(--text-dark);
  letter-spacing: -0.15px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.stepper-status{
  display: inline-flex;
  align-items: center;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;

  padding: 3px 10px;
  border-radius: 999px;

  border: 1px solid rgba(108, 99, 255, 0.14);
  background: rgba(108, 99, 255, 0.05);
  color: rgba(108, 99, 255, 0.95);

  margin-bottom: 8px;
}

.stepper-time{
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--text-medium);
  max-width: 62ch;
}

/* Micro-hover très discret */
.stepper-step{
  border-radius: 14px;
  padding: 6px 8px;
  margin-left: -8px;
  margin-right: -8px;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.stepper-step:hover{
  background: rgba(108, 99, 255, 0.03);
  transform: translateY(-1px);
}

/* États — optionnels (si tu gardes active/pending dans le HTML) */
.stepper-active .stepper-circle{
  border-color: rgba(108, 99, 255, 0.90);
  box-shadow:
    0 14px 30px rgba(108, 99, 255, 0.14),
    0 0 0 5px rgba(108, 99, 255, 0.08);
}

.stepper-pending .stepper-circle{
  color: rgba(28,28,40,0.58);
  border-color: rgba(0,0,0,0.12);
  box-shadow:
    0 10px 22px rgba(18,18,24,0.06),
    0 0 0 4px rgba(0,0,0,0.03);
}

.stepper-pending .stepper-status{
  border-color: rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
  color: rgba(28,28,40,0.65);
}

.stepper-pending .stepper-title{
  color: rgba(28,28,40,0.86);
}

/* Responsive */
@media (max-width: 900px){
  .methodologie-split{
    align-items: center;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .methodologie-copy .bloc-4-text{
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
  }

  .methodologie-stepper{
    justify-content: center;
  }

  .methodologie-stepper .stepper-box--methodo{
    max-width: 720px;
  }
}

@media (max-width: 640px){
  .stepper-time{ font-size: 14px; }
}

.bloc-4-infos {
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}

.bloc-4-infos li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-dark);
}

.bloc-4-infos li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* ==================================
   BLOC 4 — Intro centrée + grille 2x2
================================== */

.methodologie-center{
  margin-top: 60px;
  text-align: center;
}

/* Texte d'introduction */
.methodologie-intro{
  max-width: 720px;
  margin: 0 auto 50px;
  line-height: 1.9;
  font-size: 16.5px;
  color: var(--text-dark);
}

/* ===============================
   Grille des 4 étapes
================================ */

.methodologie-steps-grid{
  max-width: 920px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 60px; /* vertical / horizontal */

  align-items: start;
}

/* Chaque bloc étape */
.methodologie-steps-grid .stepper-step{
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 12px 8px;

  border-radius: 16px;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

/* Micro-hover premium */
.methodologie-steps-grid .stepper-step:hover{
  background: rgba(108, 99, 255, 0.04);
  transform: translateY(-1px);
}

/* Suppression totale des lignes verticales */
.methodologie-steps-grid .stepper-line{
  display: none !important;
}

/* Cercle */
.methodologie-steps-grid .stepper-circle{
  width: 40px;
  height: 40px;
  margin-top: 2px;

  font-size: 14px;
  font-weight: 600;

  background: #ffffff;
  color: var(--primary);

  border: 1px solid rgba(108, 99, 255, 0.55);

  box-shadow:
    0 8px 18px rgba(108, 99, 255, 0.12),
    0 0 0 4px rgba(108, 99, 255, 0.05);

  transition: all 0.3s ease;
}

/* Micro-hover */
.methodologie-steps-grid .stepper-step:hover .stepper-circle{
  box-shadow:
    0 12px 26px rgba(108, 99, 255, 0.18),
    0 0 0 6px rgba(108, 99, 255, 0.08);
}

/* ÉTAPE 2 — Ligne centrale ultra subtile */

.methodologie-steps-grid{
  position: relative;
}

.methodologie-steps-grid::before{
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 1px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.00),
    rgba(0,0,0,0.06),
    rgba(0,0,0,0.00)
  );

  transform: translateX(-50%);
}

@media (max-width: 900px){
  .methodologie-steps-grid::before{
    display: none;
  }
}

/* ÉTAPE 3 — Minimalisme académique */

.methodologie-steps-grid .stepper-status{
  display: none;
}

.methodologie-steps-grid .stepper-time{
  font-size: 14px;
  color: rgba(28,28,40,0.75);
}

.methodologie-steps-grid .stepper-step{
  padding: 4px 4px;
}

.methodologie-steps-grid .stepper-circle{
  border: 1px solid rgba(0,0,0,0.25);
  color: rgba(0,0,0,0.7);
}

/* Titres */
.methodologie-steps-grid .stepper-title{
  font-weight: 650;
  color: var(--text-dark);
  margin-bottom: 6px;
}

/* Badge */
.methodologie-steps-grid .stepper-status{
  display: inline-flex;
  align-items: center;

  font-size: 12px;
  font-weight: 600;

  padding: 3px 10px;
  border-radius: 999px;

  border: 1px solid rgba(108, 99, 255, 0.15);
  background: rgba(108, 99, 255, 0.05);
  color: var(--primary);

  margin-bottom: 8px;
}

/* Texte descriptif */
.methodologie-steps-grid .stepper-time{
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-medium);
}

/* Texte du stepper aligné à gauche */
.methodologie-steps-grid .stepper-content{
  text-align: left;
}

.methodologie-steps-grid .stepper-title,
.methodologie-steps-grid .stepper-status,
.methodologie-steps-grid .stepper-time{
  text-align: left;
}

/* ==================================
   Méthodologie — animation au scroll + numéros progressifs
================================== */

/* État initial (avant apparition) */
.methodologie-steps-grid .stepper-step{
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(.25,.8,.25,1),
    background 0.25s ease;
  will-change: opacity, transform;
}

/* Quand visible */
.methodologie-steps-grid .stepper-step.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger léger (apparition progressive) */
.methodologie-steps-grid .stepper-step:nth-child(1){ transition-delay: 0.05s; }
.methodologie-steps-grid .stepper-step:nth-child(2){ transition-delay: 0.12s; }
.methodologie-steps-grid .stepper-step:nth-child(3){ transition-delay: 0.18s; }
.methodologie-steps-grid .stepper-step:nth-child(4){ transition-delay: 0.24s; }

/* Numéros progressifs (1 plus dense → 4 plus léger) */
.methodologie-steps-grid .stepper-step:nth-child(1) .stepper-circle{
  border-color: rgba(108,99,255,0.70);
  color: rgba(108,99,255,0.95);
  box-shadow:
    0 10px 22px rgba(108,99,255,0.14),
    0 0 0 4px rgba(108,99,255,0.06);
}

.methodologie-steps-grid .stepper-step:nth-child(2) .stepper-circle{
  border-color: rgba(108,99,255,0.55);
  color: rgba(108,99,255,0.85);
  box-shadow:
    0 8px 18px rgba(108,99,255,0.11),
    0 0 0 4px rgba(108,99,255,0.05);
}

.methodologie-steps-grid .stepper-step:nth-child(3) .stepper-circle{
  border-color: rgba(108,99,255,0.42);
  color: rgba(108,99,255,0.75);
  box-shadow:
    0 7px 16px rgba(108,99,255,0.09),
    0 0 0 4px rgba(108,99,255,0.04);
}

.methodologie-steps-grid .stepper-step:nth-child(4) .stepper-circle{
  border-color: rgba(108,99,255,0.30);
  color: rgba(108,99,255,0.65);
  box-shadow:
    0 6px 14px rgba(108,99,255,0.07),
    0 0 0 4px rgba(108,99,255,0.03);
}

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce){
  .methodologie-steps-grid .stepper-step{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===============================
   Responsive
================================ */

@media (max-width: 900px){

  .methodologie-steps-grid{
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 720px;
  }

  .methodologie-intro{
    margin-bottom: 36px;
  }
}

/* ===============================
   BLOC 5 – QUI SUIS-JE
================================ */

.bloc-5 {
  padding: 80px 20px 60px;
  background: #ffffff;
}

.bloc-5-title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 40px;
  color: var(--text-dark);
  position: relative;
}

.bloc-5-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 14px auto 0;
}

.bloc-5--title span {
  color: var(--primary);
}

/* Carte intérieure */

.about-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 55px;

  display: flex;
  gap: 70px;
  align-items: center;

  border-radius: 22px;
  border: 1px solid rgba(7, 7, 7, 0.1);

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fbfbff 100%
  );

  box-shadow:
    10px 18px 38px rgba(0, 0, 0, 0.05),
    35px 35px 35px rgba(0, 0, 0, 0.04);
}

/* ===============================
   QUI SUIS-JE — PHOTO (premium)
================================ */

.about-photo{
  flex-shrink: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden; /* permet un rendu net + masque */
}

/* “cadre” subtil (violet très léger) */
.about-photo::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(108, 99, 255, 0.18);
  pointer-events:none;
  z-index: 2;
}

/* halo très doux derrière la photo */
.about-photo::after{
  content:"";
  position:absolute;
  inset: -18px -22px auto auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.18), rgba(108, 99, 255, 0) 70%);
  pointer-events:none;
  z-index: 1;
  opacity: 0.9;
}

.about-photo img{
  display:block;
  width: 280px;
  height: 380px;         /* hauteur fixe = rendu éditorial */
  object-fit: cover;
  object-position: 50% 75%; /* descend légèrement le cadrage */
  border-radius: 18px;

  filter: saturate(0.96) contrast(1.03);
  transform: translateZ(0);

  box-shadow:
    0 28px 70px rgba(0,0,0,0.10),
    0 1px 0 rgba(255,255,255,0.65) inset;

  transition:
    transform 0.45s cubic-bezier(.25,.8,.25,1),
    box-shadow 0.45s cubic-bezier(.25,.8,.25,1),
    filter 0.45s ease;
}

.about-photo img:hover{
  transform: translateY(-3px);
  filter: saturate(1.02) contrast(1.05);

  box-shadow:
    0 36px 90px rgba(0,0,0,0.14),
    0 0 0 1px rgba(108, 99, 255, 0.10);
}

@media (max-width: 768px) {
  .about-photo img {
    object-fit: cover;
    object-position: center 10%; 
  }

}

/* ===============================
   QUI SUIS-JE – Photo ronde mobile
================================ */

@media (max-width: 768px) {

  .about-photo {
    display: flex;
    justify-content: center;
  }

  .about-photo img {
    width: 220px;
    height: 220px;          /* carré parfait */
    object-fit: cover;      /* garde un bon cadrage */
    object-position: center 30%; /* ajuste si besoin */
    border-radius: 50%;     /* transforme en rond */
  }

}

/* Texte */

.about-text {
  flex: 1;
}

.about-text p {
  position: relative;
  padding-left: 24px;
  margin-bottom: 26px;

  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-text p::before {
  content: "▷";
  position: absolute;
  left: 0;
  top: 2px;
  color: #6f5cff;
  font-size: 16px;
}

.about-text strong {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===============================
   QUI SUIS-JE – Responsive Mobile
================================ */

@media (max-width: 768px) {

  .about-card {
    flex-direction: column;
    align-items: center; /* centre les enfants */
    text-align: center;
  }

  .about-photo {
    width: 100%;
    display: flex;
    justify-content: center; /* centre l'image horizontalement */
    margin-bottom: 30px;
  }

  .about-photo img {
    width: 220px;          /* taille maîtrisée */
    max-width: 80%;
    height: auto;
    display: block;
    border-radius: 12px;   /* optionnel si déjà présent */
  }

  .about-text {
    text-align: left; /* garde le texte sérieux et lisible */
  }

}

/* ===============================
   BLOC 6 – FAQ
================================ */

.bloc-faq {
  padding: 80px 20px 80px;
  background: #ffffff;
}

.faq-title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 40px;
  color: var(--text-dark);
  position: relative;
}

.faq-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 14px auto 0;
}

.faq-title span {
  color: var(--primary);
}

/* Item */
.faq-item {
  max-width: 800px;
  margin: 0 auto 22px auto;

  border-radius: 16px;
  border: 2px solid rgba(0, 0, 0, 0.08);

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fbfbff 100%
  );

  box-shadow:
    0 30px 18px rgba(100, 100, 100, 0.04),
    0 10px 0 rgba(108, 99, 255, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  overflow: hidden;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.06),
    0 2px 0 rgba(108, 99, 255, 0.06);
}

.faq-item.active {
  box-shadow:
    0 12px 32px rgba(108, 99, 255, 0.12),
    0 0 0 1px rgba(108, 99, 255, 0.15);
}


/* Question */

.faq-question {
  width: 100%;
  padding: 24px 28px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;

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

  transition: background 0.25s ease;
}

.faq-question:hover {
  background: rgba(108, 99, 255, 0.03);
}


/* Icône */

.faq-icon {
  transition: transform 0.3s ease;
  color: #6f5cff;
}

/* Réponse */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 26px;
}

.faq-answer p {
  padding: 0 0 22px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

.faq-answer ul {
  list-style-position: outside;
  padding-left: 18px;     /* enlève l'indentation par défaut */
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 14px; /* on garde un espace en dessous */
  padding-left: 18px;  /* garde l’alignement propre */
}

.faq-answer ul li {
  margin-left: 0;
}


/* Actif */

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
}

/* ===============================
   BLOC 7 – CONTACT
================================ */

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

.contact-section {
  padding: 110px 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--background-soft) 100%);
}

.contact-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(108, 99, 255, 0.10);
  border-radius: 28px;
  box-shadow:
    0 10px 60px rgba(211, 207, 207, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  overflow: hidden;
}

.contact-card-header {
  padding: 42px 42px 28px;
  border-bottom: 1px solid rgba(108, 99, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(242, 241, 255, 0.75) 0%, rgba(255, 255, 255, 0.82) 20%);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.08);
  border: 1px solid rgba(108, 99, 255, 0.12);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.contact-card-header h2 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.contact-intro {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-medium);
}

.phone-reveal-btn {
  margin-left: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.phone-reveal-btn:hover {
  opacity: 0.78;
}

.phone-number {
  margin-left: 8px;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}

.hidden-phone {
  display: none;
}

.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;
}

.contact-alert {
  margin: 0 42px 20px;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.contact-alert.hidden {
  display: none;
}

.contact-alert--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #14532d;
}

.contact-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #7f1d1d;
}

.contact-alert__title {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}

.contact-alert__text {
  margin: 8px 0 0;
}

.contact-alert__actions {
  margin: 10px 0 0;
  font-size: 14px;
}

.contact-alert__link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-alert__link:hover {
  opacity: 0.85;
}

.contact-alert__sep {
  margin: 0 0.35em;
  opacity: 0.5;
}

.contact-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.contact-submit-wrap {
  margin-top: 8px;
}

.contact-form {
  padding: 34px 42px 42px;
}

.contact-field + .contact-field {
  margin-top: 22px;
}

.contact-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(28, 28, 40, 0.10);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 16px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-light);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(108, 99, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.10);
  background: #fff;
}

.contact-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-field-error {
  position: static;
  width: auto;
  height: auto;
  margin: 8px 0 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #b91c1c;
}

.contact-submit {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 16px;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  box-shadow: 0 12px 30px rgba(108, 99, 255, 0.22);
}

.contact-submit:hover {
  transform: translateY(-1px);
  background: #5f57f5;
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.15);
}

.contact-submit-spinner {
  display: none;
  width: 22px;
  height: 22px;
  margin-left: 0;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.contact-submit-spinner.is-visible {
  display: inline-block;
}

#contact-submit-text.is-hidden {
  display: none;
}

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

@media (max-width: 768px) {
  .contact-section {
    padding: 54px 16px;
  }

  .contact-wrapper {
    width: 100%;
  }

  .contact-card {
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid rgba(108, 99, 255, 0.10);
    border-radius: 24px;
    box-shadow:
      0 10px 36px rgba(30, 30, 60, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.7) inset;
    overflow: hidden;
  }

  .contact-card-header {
    padding: 28px 22px 20px;
    background: linear-gradient(
      180deg,
      rgba(242, 241, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.88) 24%
    );
    border-bottom: 1px solid rgba(108, 99, 255, 0.10);
  }

  .contact-card-header h2 {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .contact-intro {
    font-size: 15px;
    line-height: 1.65;
    max-width: 100%;
  }

  .phone-reveal-btn {
    display: inline;
    margin-left: 4px;
  }

  .phone-number {
    display: inline-block;
    margin-left: 6px;
    margin-top: 4px;
    word-break: break-word;
  }

  .contact-alert {
    margin: 0 22px 14px;
  }

  .contact-form {
    padding: 22px 22px 26px;
  }

  .contact-field + .contact-field {
    margin-top: 18px;
  }

  .contact-field label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .contact-field input,
  .contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 15px 16px;
    font-size: 16px;
  }

  .contact-field textarea {
    min-height: 160px;
  }

  .contact-submit {
    margin-top: 22px;
    min-height: 52px;
    border-radius: 14px;
    font-size: 15px;
  }
}

/* ===============================
   BLOC 8 – FOOTER
================================ */

.site-footer {
  width: 100%;
  background: #000000;
  padding: 30px 20px 40px;
  font-family: 'Inter', sans-serif;
  color: #e5e5e5;
  position: relative;
  overflow: hidden;
}

.footer-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 48px;
  align-items: start;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #ffffff;
}

.footer-title a {
  color: #ffffff;
  text-decoration: none;
}

.footer-title a:hover {
  color: #d7d2ff;
}

.footer-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
}

.footer-list::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.72);
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  display: block;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  color: #d0d0d0;
  padding: 8px 0 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-list a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.footer-cgv {
  margin-top: 18px;
}

.footer-cgv a {
  display: inline-block;
  color: #d0d0d0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.footer-cgv a:hover {
  color: #ffffff;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: right;
}

.footer-copyright {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.footer-copyright:hover {
  color: #d7d2ff;
}

.footer-bottom {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  text-align: center;
  background: #000000;
  position: relative;
  z-index: 2;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0 0 16px;
}

.footer-legal {
  margin: 0;
  font-size: 12px;
  color: #8b8b8b;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 28px 18px 22px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-column {
    width: 100%;
  }

  .footer-title {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .footer-list {
    padding-left: 14px;
  }

  .footer-list a {
    font-size: 16px;
    padding: 10px 0 10px 10px;
  }

  .footer-cgv {
    margin-top: 14px;
  }

  .footer-cgv a {
    font-size: 16px;
    line-height: 1.5;
  }

  .footer-right {
    justify-content: flex-start;
    text-align: left;
  }

  .footer-copyright {
    font-size: 15px;
  }

  .footer-bottom {
    margin-top: 24px;
  }
}

/* ===============================
   PAGE CGV – HARMONISATION
================================ */

.legal-page {
  padding: 160px 20px 120px; /* cohérent avec hero */
  background: #ffffff;
}

.legal-page .container {
  max-width: 820px; /* même largeur que hero */
}

.legal-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 60px;
  letter-spacing: -0.3px;
  position: relative;
}

.legal-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 16px auto 0;
}

/* Texte principal */

.legal-content p {
  margin-bottom: 22px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-dark);
}

/* Sections */

.legal-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 60px;
  margin-bottom: 22px;
  color: var(--text-dark);
  letter-spacing: -0.2px;
  position: relative;
}

/* Ligne subtile sous chaque section */

.legal-content h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin-top: 10px;
}

/* Listes */

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.legal-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

/* Fil d’Ariane */

.breadcrumb {
  font-size: 13px;
  margin-bottom: 40px;
  color: var(--text-light);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--text-medium);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-sep {
  margin: 0 6px;
  color: var(--text-light);
}

/* ===============================
   BACK TO TOP – version fixe premium
================================ */

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;

  width: 52px;
  height: 52px;

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

  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.25);

  background: #ffffff;
  color: var(--primary);

  cursor: pointer;

  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.3s ease,
    background 0.25s ease;

  z-index: 900;
}

/* Icône */
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Apparition */
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover discret */
.back-to-top:hover {
  background: rgba(108, 99, 255, 0.06);
  box-shadow: 0 8px 22px rgba(108, 99, 255, 0.15);
}

.back-to-top::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: rgba(108, 99, 255, 0.08);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.back-to-top.visible::after {
  opacity: 0.12;
}



/* ===============================
   PRICING CARD – Split premium (desktop)
================================ */

.pricing-card{
  max-width: 880px;
  margin: 48px auto 0;
  padding: 26px 28px;

  position: relative;
  overflow: hidden;

  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);

  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);

  box-shadow:
    0 26px 70px rgba(18, 18, 24, 0.10),
    0 1px 0 rgba(255,255,255,0.7) inset;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.pricing-card::before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(
    to bottom,
    rgba(108, 99, 255, 0.0),
    rgba(108, 99, 255, 0.55),
    rgba(108, 99, 255, 0.0)
  );
  opacity: 0.55;
}

.pricing-card::after{
  content:"";
  position:absolute;
  inset: -90px -140px auto auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.12),
    rgba(108, 99, 255, 0.0) 65%
  );
  pointer-events: none;
  opacity: 0.85;
}

.pricing-card:hover{
  transform: translateY(-2px);
  border-color: rgba(108, 99, 255, 0.18);
  box-shadow:
    0 34px 82px rgba(18, 18, 24, 0.12),
    0 0 0 1px rgba(108, 99, 255, 0.10);
}

/* Grille 2 colonnes */
.pricing-card-grid{
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 26px;

  position: relative;
  z-index: 1;
}

/* Colonne gauche */
.pricing-left{
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centre verticalement */
  align-items: flex-start;   /* texte à gauche */
  height: 100%;
  padding: 10px 10px 10px 0;
}

.pricing-plan{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-dark);
  opacity: 0.9;
}

.pricing-sub{
  margin: 8px 0 0;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--text-light);
  letter-spacing: 0.2px;
}

/* Ligne prix + séparateur */
.price-row{
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}

.price-main{
  font-size: 44px;          /* avant ~36px */
  font-weight: 650;         /* un peu plus dense */
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--text-dark);
}

.price-unit{
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.2px;

  transform: translateY(-6px); /* remonte légèrement pour un alignement premium */
}

.price-row{
  margin-top: 8px;
  margin-bottom: 10px;
  gap: 10px; /* si ton gap était plus grand */
}

.price-integer{
  color: var(--primary);
}

.price-unit{
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.2px;
}

.pricing-note{
  margin: 12px 0 0;
  margin-top: 14px;
  margin-bottom: 26px;   /* espace avant bouton */
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.55;
}

/* Colonne droite – checklist plus premium */
.pricing-right{
  padding-left: 26px;
  border-left: 1px solid rgba(0,0,0,0.06);

  display: flex;
  align-items: center;   /* centre verticalement */
}

.pricing-right .check-list{
  width: 100%;
}

.check-list{
  list-style: none;
  padding: 0;
  margin: 0;

  display:flex;
  flex-direction:column;
  gap: 0;
}

.check-list-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;

  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dark);
}

.pricing-card .check-list-item + .check-list-item{
  border-top: 1px solid rgba(0,0,0,0.03);
}

.check-icon{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;

  width: 18px;
  height: 18px;
  border-radius: 999px;

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

  color: var(--primary);
  background: rgba(108, 99, 255, 0.08); /* très léger */
  transform: translateY(1px);
}

/* Responsive : on repasse en colonne */
@media (max-width: 820px){
  .pricing-card-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pricing-right{
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 10px;
  }

  .price-main{
    font-size: 32px;
  }
}

@media (max-width: 820px){

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

  .check-list-item{
    display: grid;
    grid-template-columns: 22px 1fr; /* colonne fixe icône */
    align-items: start;
    column-gap: 12px;
    padding: 0;
  }

  .check-icon{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    margin-top: 3px; /* ajuste verticalement */
    transform: none; /* supprime anciens décalages */
  }

}

/* Micro soulignement premium */
.pricing-plan--philo{
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.pricing-plan--philo::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(108,99,255,0.85),
    rgba(108,99,255,0.25)
  );
  opacity: 0.9;
}

/* CTA discret dans la carte */
.pricing-cta{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;

  color: var(--primary);
  opacity: 0.9;

  padding: 8px 10px;
  border-radius: 999px;

  background: rgba(108, 99, 255, 0.06);
  border: 1px solid rgba(108, 99, 255, 0.14);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
}

.pricing-cta:hover{
  transform: translateY(-1px);
  opacity: 1;
  background: rgba(108, 99, 255, 0.09);
  border-color: rgba(108, 99, 255, 0.22);
}

.pricing-cta span{
  transition: transform 0.25s ease;
}

.pricing-cta:hover span{
  transform: translateX(2px);
}


/* ===============================
   Ajustement espacement carte philosophie
================================ */

#philosophie .method-steps{
  margin-bottom: 55px;
}

/* Alignement carte sur la grille des 3 steps */
#philosophie .pricing-card{
  max-width: 880px;
}

/* ===============================
   CTA carte – centré premium
================================ */

.pricing-left{
  display: flex;
  flex-direction: column;
  align-items: flex-start;  /* alignement gauche */
  text-align: left;         /* texte à gauche */
}

.pricing-left .pricing-cta{
  margin-top: 26px;
}

@media (max-width: 520px){
  .price-main{
    font-size: 36px;
  }
  .price-unit{
    transform: translateY(-4px);
  }
}

.btn-primary--small{
  padding: 12px 28px;
  font-size: 14.5px;
  border-radius: 50px;

  background: var(--primary);
  color: white;

  box-shadow: 0 6px 18px rgba(108, 99, 255, 0.22);

  transition: all 0.25s ease;
}

.btn-primary--small:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(108, 99, 255, 0.30);
}

/* Supprime le pulse du HERO dans la carte */
.btn-primary--small::after{
  animation: none;
}

/* ===============================
   Prix – rendu typographique éditorial
================================ */

.price-row{
  display: flex;
  align-items: baseline;
  justify-content: flex-start; /* prix à gauche */
}

.price-main{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;

  font-size: 46px;        /* nombre “éditorial” */
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--text-dark);
}

.price-integer{
  color: var(--primary);
}

/* € plus fin et plus petit */
.price-currency{
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--text-dark);
  opacity: 0.85;

  transform: translateY(-4px); /* fait “symbol” typographique */
}

/* / heure discret et bien aligné */
.price-unit{
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.2px;

  transform: translateY(-8px);
}

@media (max-width: 520px){
  .price-main{ font-size: 38px; }
  .price-currency{ font-size: 22px; transform: translateY(-3px); }
  .price-unit{ transform: translateY(-6px); }
}

/* ==================================
   Hover ultra premium – carte
================================== */

.pricing-card .btn-primary::after{
  display: none;
}

.pricing-card .btn-primary{
  background: var(--primary);
  color: #ffffff;

  box-shadow:
    0 8px 22px rgba(108, 99, 255, 0.18);

  transform: translateY(0);
  transition:
    transform 0.35s cubic-bezier(.25,.8,.25,1),
    box-shadow 0.35s cubic-bezier(.25,.8,.25,1);
}

/* Hover très doux */
.pricing-card .btn-primary:hover{
  background: var(--primary); /* aucune variation */
  color: #ffffff;

  transform: translateY(-1.5px);

  box-shadow:
    0 14px 40px rgba(108, 99, 255, 0.22);
}

/* ==================================
   SUPPRESSION BULLETS DANS PRICING
================================== */

.pricing-card ul,
.pricing-card li {
  list-style: none;
}

.pricing-card li::before {
  content: none !important;
}

/* ==================================
   PRICING CARD — Large mais équilibré
================================== */

/* Philosophie — même gabarit que Méthodologie */
#philosophie .pricing-card{
  max-width: 1000px;
  padding: 32px 48px;
}

#philosophie .pricing-card-grid{
  gap: 32px;
}

#philosophie .check-list-item{
  padding: 5px 0;
  font-size: 14px;
}

#philosophie .pricing-note{
  margin-bottom: 22px;
}

/* Soulignement premium Méthodologie */
.pricing-plan--methodo{
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.pricing-plan--methodo::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  border-radius: 99px;
   background: linear-gradient(
    90deg,
    rgba(108,99,255,0.85),
    rgba(108,99,255,0.25)
  );
  opacity: 0.9;
}

/* ==================================
   PRICING CARD — même gabarit (Méthodologie)
================================== */

#methodologie .pricing-card{
  max-width: 1000px;
  padding: 32px 48px;
}

#methodologie .pricing-card-grid{
  gap: 32px;
}

#methodologie .check-list-item{
  padding: 5px 0;         /* réduit l’espace vertical */
  font-size: 14px;
}

#methodologie .pricing-note{
  margin-bottom: 22px;
}

/* ===============================
   QUI SUIS-JE — RESPONSIVE
================================ */

@media (max-width: 900px){

  .about-card{
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 34px;
  }

  .about-photo img{
    width: 100%;
    height: 360px;
  }

}

/* ===============================
   BLOC AVIS (Google) — sous HERO
================================ */

.reviews-block {
  margin-top: 10px;
  padding-top: 0;
  margin-bottom: 30px;
  background: var(--background-soft);
  padding-bottom: 40px;
}

.reviews-container{
  max-width: 1100px;
}

.reviews-title{
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.reviews-title::after{
  content:"";
  display:block;
  width: 60px;
  height: 2px;
  background: var(--primary);
  margin: 14px auto 0;
  opacity: 0.9;
}

/* Résumé */
.reviews-summary{
  max-width: 820px;
  margin: 0 auto 34px;
  padding: 16px 18px;

  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  box-shadow: 0 18px 46px rgba(18, 18, 24, 0.06);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reviews-summary-left{
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-summary-rating{
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.reviews-summary-score{
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.3px;
  color: var(--text-dark);
}

.reviews-stars{
  font-size: 16px;
  letter-spacing: 2px;
  color: #f4b400; /* jaune “Google-like” */
  transform: translateY(-2px);
  opacity: 0.95;
}

.reviews-summary-meta{
  display: grid;
  gap: 2px;
}

.reviews-summary-label{
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-dark);
  opacity: 0.82;
}

.reviews-summary-count{
  font-size: 13.5px;
  color: var(--text-light);
}

/* Google badge */
.reviews-google{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(108, 99, 255, 0.04);

  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.reviews-google:hover{
  transform: translateY(-1px);
  background: rgba(108, 99, 255, 0.06);
  border-color: rgba(108, 99, 255, 0.18);
}

.reviews-google-g{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 750;
  color: #ffffff;
  background: conic-gradient(from 180deg, #34a853, #4285f4, #ea4335, #fbbc05, #34a853);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.reviews-google-text{
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  opacity: 0.92;
}

/* Carrousel */
.reviews-carousel{
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.reviews-viewport{
  overflow: hidden;
  border-radius: 18px;
}

.reviews-track{
  display: flex;
  gap: 18px;
  padding: 10px;

  will-change: transform;
  transition: transform 0.55s cubic-bezier(.16,.84,.44,1);
}

.review-card{
  flex: 0 0 calc((100% - 36px) / 3); /* 3 cartes desktop */
  min-width: 0;

  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;

  box-shadow: 0 26px 70px rgba(18, 18, 24, 0.08);
  padding: 18px 18px 16px;

  position: relative;
  overflow: hidden;

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.review-card:hover{
  transform: translateY(-2px);
  border-color: rgba(108, 99, 255, 0.18);
  box-shadow: 0 34px 82px rgba(18, 18, 24, 0.10);
}

.review-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.review-person{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.review-avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.14);
  color: var(--primary);

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

  font-weight: 750;
}

.review-name{
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(28,28,40,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date{
  font-size: 12.5px;
  color: var(--text-light);
  margin-top: 1px;
}

.review-google-mini{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: conic-gradient(from 180deg, #34a853, #4285f4, #ea4335, #fbbc05, #34a853);
  opacity: 0.95;
  flex-shrink: 0;
}

.review-stars{
  font-size: 13px;
  letter-spacing: 2px;
  color: #f4b400;
  margin-bottom: 10px;
}

.review-text{
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-medium);
}

/* Focus carte active */

.review-card{
  opacity: 0.85;
  transform: scale(0.97);
  transition: 
    transform 0.4s cubic-bezier(.16,.84,.44,1),
    opacity 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.review-card.is-active{
  opacity: 1;
  transform: scale(1);
  border-color: rgba(108, 99, 255, 0.22);
  box-shadow: 0 36px 90px rgba(18,18,24,0.14);
}

/* ==================================
   AVIS — Focus au hover (override)
================================== */

/* Quand la souris est dans le carrousel :
   on neutralise l'effet .is-active pour laisser le hover décider */
@media (hover: hover){
  .reviews-carousel:hover .review-card.is-active{
    opacity: 0.85;
    transform: scale(0.97);
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 26px 70px rgba(18, 18, 24, 0.08);
  }

  /* La carte réellement survolée devient "active" visuellement */
  .reviews-carousel:hover .review-card:hover{
    opacity: 1;
    transform: scale(1);
    border-color: rgba(108, 99, 255, 0.22);
    box-shadow: 0 36px 90px rgba(18,18,24,0.14);
  }
}

/* Nav buttons */
.reviews-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);

  box-shadow: 0 18px 46px rgba(18,18,24,0.12);

  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  color: var(--text-dark);

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

  transition: transform 0.2s ease, background 0.2s ease;
}

.reviews-nav:hover{
  transform: translateY(-50%) scale(1.03);
  background: rgba(108, 99, 255, 0.06);
}

.reviews-nav.prev{ left: -14px; }
.reviews-nav.next{ right: -14px; }

/* Dots */
.reviews-dots{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.reviews-dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.reviews-dot.is-active{
  background: rgba(108,99,255,0.75);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 980px){
  .review-card{ flex-basis: calc((100% - 18px) / 2); } /* 2 cartes */
  .reviews-nav.prev{ left: -8px; }
  .reviews-nav.next{ right: -8px; }
}

@media (max-width: 620px){
  .reviews-summary{
    flex-direction: column;
    align-items: flex-start;
  }

  .review-card{ flex-basis: 100%; } /* 1 carte */
  .reviews-nav{ display: none; } /* swipe / dots suffisent sur mobile */
}

@media (max-width: 768px) {
  .schema-wrapper {
    display: block !important;
  }

  .box {
    padding: 22px 12px !important;
    border-radius: 22px !important;
    min-height: auto !important;
  }

  .clarification-compare {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin: 0 auto 28px !important;
  }

  .compare-panel {
    padding: 20px 14px 18px !important;
    border-radius: 18px !important;
  }

  .panel-head {
    margin-bottom: 18px !important;
  }

  .panel-head h3 {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .panel-head p {
    margin-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .panel-head::after {
    margin-top: 12px !important;
    width: 38px !important;
  }

  .panel-note {
    width: 100% !important;
    margin: 0 0 18px 0 !important;
    padding: 14px 14px 12px !important;
    border-radius: 14px !important;
    transform: none !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10) !important;
  }

  .panel-note.tilt-left,
  .panel-note.tilt-right,
  .panel-note:hover {
    transform: none !important;
  }

  .note-title {
    font-size: 14px !important;
  }

  .note-sep {
    margin: 12px 0 !important;
  }

  .note-list {
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .note-list li {
    font-size: 13px !important;
    line-height: 1.45 !important;
    padding-left: 0 !important;
  }

  .panel-footer {
    margin: 0 !important;
  }

  .panel-label {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }

  .panel-footer-card .panel-list {
    gap: 12px !important;
  }

  .panel-footer-card .panel-list li {
    font-size: 13px !important;
    line-height: 1.45 !important;
    padding-left: 24px !important;
  }
}
/* =========================================
   COMPARAISON — responsive propre
========================================= */

@media (max-width: 768px) {
  .clarification-compare {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    max-width: 100% !important;
    margin: 0 auto 32px !important;
  }

  .compare-panel {
    padding: 24px 18px 22px !important;
    border-radius: 20px !important;
  }

  .panel-head {
    margin-bottom: 18px !important;
  }

  .panel-head h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .panel-head p {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-top: 8px !important;
  }

  .panel-head::after {
    width: 38px !important;
    margin-top: 12px !important;
  }

  .panel-note {
    width: 100% !important;
    margin: 0 0 18px 0 !important;
    padding: 18px 16px !important;
    border-radius: 16px !important;
    transform: none !important;
    box-shadow: 0 10px 24px rgba(18,18,24,0.08) !important;
  }

  .panel-note.tilt-left,
  .panel-note.tilt-right,
  .panel-note:hover {
    transform: none !important;
  }

  .note-title {
    font-size: 15px !important;
  }

  .note-sep {
    margin: 12px 0 !important;
  }

  .note-list {
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .note-list li {
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding-left: 0 !important;
    color: #2d313d !important;
    opacity: 1 !important;
  }

  .panel-footer {
    margin: 0 !important;
  }

  .panel-label {
    font-size: 11px !important;
    margin-bottom: 10px !important;
  }

  .panel-footer-card .panel-list {
    gap: 12px !important;
  }

  .panel-footer-card .panel-list li {
    font-size: 14px !important;
    line-height: 1.45 !important;
    padding-left: 28px !important;
    color: #2d313d !important;
    opacity: 1 !important;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .back-to-top:hover {
    box-shadow: none;
  }

  .back-to-top::after {
    inset: -2px;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .back-to-top:hover {
    box-shadow: none;
  }

  .site-footer,
  .footer-bottom {
    background: #000000;
  }
}
