/* ==========================================================================
   CONATUS - FEUILLE DE STYLE PRINCIPALE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES GLOBALES (Couleurs, Typographies)
   -------------------------------------------------------------------------- */
:root {
  --ink: #080b2a;         /* Bleu très foncé - Fond principal */
  --ink-2: #0f1240;       /* Bleu foncé secondaire */
  --violet: #8f6bff;      /* Couleur d'accentuation (violet) */
  --blanc: #ffffff;       /* Blanc pur */
  --paper: #a9a9a9;       /* Gris clair pour le texte standard */
  --muted: #aaa9bf;       /* Gris bleuté pour les textes secondaires */
  --line: rgba(238, 236, 255, 0.17); /* Couleur des lignes de séparation */
  
  --display: 'Playfair Display', Georgia, serif; /* Typo des titres */
  --body: 'Manrope', sans-serif;                 /* Typo du corps de texte */
  --mono: 'DM Mono', monospace;                  /* Typo monospace (labels, notes) */
}

/* --------------------------------------------------------------------------
   2. RESET ET STYLES DE BASE
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Permet un défilement fluide lors des clics sur les ancres */
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  overflow-x: hidden; /* Empêche le défilement horizontal */
}

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

.site-shell {
  overflow: hidden;
}
/* Ajustez la valeur (ex: 80px à 100px) selon la hauteur de votre barre de navigation */
section[id],
.section[id],
#hero,
#contact,
#methode,
#vision {
  scroll-margin-top: 100px;
}
/* --------------------------------------------------------------------------
   3. NAVIGATION (Header)
   -------------------------------------------------------------------------- */
.nav-wrap {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease;
}

/* Classe ajoutée en JavaScript quand on scrolle */
.nav-wrap.scrolled {
  background: rgba(8, 11, 42, 0.85);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1240px, calc(100% - 64px));
  height: 90px;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 38px;
  margin-left: auto;
  margin-right: 45px;
  color: #ebebe5;
  font-size: 16px;
  font-family: var(--mono);
}

.nav-links a, .text-link {
  transition: color 0.25s;
}

.nav-links a:hover, .text-link:hover {
  color: var(--blanc);
}

/* Boutons de la navigation */
.nav-cta {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 13px 18px;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: background 0.25s, border 0.25s;
  color: #ebebe5;
}

.nav-cta span, .button span {
  font-size: 17px;
  margin-left: 10px;
  color: #ebebe5;
}

.nav-cta:hover {
  background: rgba(143, 107, 255, 0.14);
  border-color: var(--violet);
}

.menu-toggle {
  display: none; /* Masqué sur grand écran */
  background: none;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. SECTION HERO (Accueil)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow: hidden;
  background: linear-gradient(120deg, #030412 0%, #101349 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(174, 160, 255, 0.08) 1px, transparent 1px), 
                    linear-gradient(90deg, rgba(174, 160, 255, 0.08) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  /* 2 colonnes sur grand écran : texte à gauche, sphère à droite */
  grid-template-columns: 1.2fr 0.8fr; 
  align-items: center;
  gap: 40px;
  background: transparent;

}


.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

/* --- Typographie Titres & Sur-titres --- */
h1, h2 {
  font-size: clamp(68px, 9vw, 132px);
  line-height: 0.91;
  letter-spacing: -0.07em;
  font-weight: 600;
  margin: 31px 0 32px;
  color: var(--blanc);
}

h1 em, h2 em {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.07em;
  color: var(--muted);
}

.eyebrow, .section-kicker {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow-line {
  height: 1px;
  width: 42px;
  background: var(--violet);
}

.hero-lede {
  max-width: 350px;
  color: #bebed0;
  font-size: 14px;
  line-height: 1.8;
}

/* --- Boutons d'action Hero --- */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  padding: 17px 21px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s, background 0.25s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--violet);
  color: white;
}

.button-primary:hover {
  transform:translateY(-7px); border-color:rgba(171,149,255,.48); box-shadow:inset 0 1px rgba(255,255,255,.13),0 30px 90px rgba(39,16,100,.38);
  background:linear-gradient(145deg,rgba(62,42,113,.38),rgba(15,10,29,.84) 65%);
}

.text-link {
  font-size: 11px;
  color: #d8d5e5;
}

.text-link span {
  font-size: 16px;
  margin-left: 9px;
  color: var(--violet);
}

/* --- Éléments décoratifs Hero --- */
.hero-side {
  position: absolute;
  right: max(32px, calc((100% - 1240px) / 2));
  top: 41%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8887a4;
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}

.side-rule {
  height: 1px;
  width: 44px;
  background: var(--violet);
}

.vertical {
  writing-mode: vertical-rl;
  margin-top: 120px;
}

.hero-note {
  position: absolute;
  right: max(32px, calc((100% - 1240px) / 2));
  bottom: 15%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #9b9ab2;
  font: 10px/1.6 var(--mono);
}

.note-dot {
  width: 6px;
  height: 6px;
  background: var(--violet);
  border-radius: 50%;
  margin-top: 3px;
  box-shadow: 0 0 15px var(--violet);
}

.scroll-cue {
  position: absolute;
  bottom: 29px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  align-items: center;
  color: #84839d;
  font: 9px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--violet), transparent);
  animation: scroll 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   5. SPHÈRE ANIMÉE (L'idée)
   -------------------------------------------------------------------------- */
.hero-orb-wrapper {
  /* FLUX NORMAL : Aucun position: absolute ici */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Hauteur minimale pour laisser la place à l'orbe de grossir sans déborder */
  min-height: 320px;
  background: radial-gradient(circle at 60% 57%, rgba(175, 60, 60, 0.35), transparent 43%);
}

.idea-orb {
  /* Taille responsive adaptative */
  width: clamp(200px, 20vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #8f6bff, #1c1b51, #010102);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Propriété autonome pour ne pas entrer en conflit avec le JS */
  scale: 1;
  
  transition: scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.4s ease, 
              background 0.4s ease;
}

/* Texte à l'intérieur */
.orb-label {
  opacity: 0;
  color: #fff;
  font-weight: 600;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* État activé au clic : grossit de 15-20% depuis son centre */
.idea-orb.action-triggered {
  scale: 1.18;
  background: radial-gradient(circle at 30% 30%, #8f6bff, #531a4c, #130c3b);
  box-shadow: 0 0 50px rgba(143, 107, 255, 0.4);
}

.idea-orb.action-triggered .orb-label {
  opacity: 1;
  color: #fff;
}@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}
/* --------------------------------------------------------------------------
   ADAPTATION MOBILE & TABLETTE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-container {
    /* Bascule sur 1 seule colonne : le texte en haut, la sphère en bas */
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-orb-wrapper {
    min-height: 260px;
  }
    /* Contact Mobile */
  .contact {
    padding: 80px 20px 90px;
    text-align: center;
  }
  
  .contact-layout {
    /* 1 seule colonne : texte en haut, formulaire en bas */
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-info .eyebrow {
    justify-content: center;
  }
  
  .contact-info h2 {
    font-size: clamp(38px, 11vw, 56px);
    margin: 20px 0 30px;
  }

  .contact-info .button {
    margin: 0 auto;
  }

  .contact-glow {
    left: 50%;
    top: 30%;
    width: 320px;
    height: 320px;
  }
}
/* --------------------------------------------------------------------------
   6. TICKER (Texte défilant)
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.25rem 0 1.4rem;
  background: rgba(8, 11, 41, 1);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.16);
}

.ticker::before,
.ticker::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: min(13vw, 10rem);
  content: '';
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, #080b2a, transparent); /* Fondu ajusté sur le fond principal */
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, #080b2a, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  white-space: nowrap;
  color: #ffffff;
  font-size: clamp(2rem, 1vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-family: var(--display);
  color: var(--blanc);
}

.ticker__item .spark {
  color: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.52em;
  letter-spacing: 0;
}

/* Met en pause le défilement au survol */
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { 
  animation-play-state: paused; 
}

/* --------------------------------------------------------------------------
   7. SECTIONS STANDARDS (Vision & Méthode)
   -------------------------------------------------------------------------- */
.section {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
}

.vision {
  padding: 50px 0 170px;
}

.section-kicker {
  justify-content: space-between;
  color: #8f8eaa;
}

.section-kicker span {
  color: #777691;
}

.vision-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 11%;
  align-items: flex-start;
}

.vision h2, .method h2 {
  font-size: clamp(46px, 6vw, 82px);
  margin: 58px 0 0;
}

.vision-body {
  padding-bottom: 7px;
  color: var(--paper);
  font-size: 14px;
  line-height: 1.85;
  max-width: 360px;
}

.vision-body p {
  margin: 50px 0 18px;
}
.vision-guide {
  padding-left: 1.3rem;
  border-left: 2px solid #8f6bff;
  box-shadow: -7px 0 20px
    rgba(143, 107, 255, .18);
  color: var(--muted);
}
/* Bouton rond "Notre approche" */
.circle-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(206,191,255,.16);
  border-radius: 50%;
  font: 11px/1.35 var(--mono);
  color: var(--blanc);
  margin-top: 35px;
  transition: background 0.3s, transform 0.3s;
  letter-spacing: 0em;
  background:linear-gradient(145deg,rgba(62,42,113,.38),rgba(15,10,29,.84) 65%);
}

.circle-link strong {
  font-size: 20px;
  font-weight: 400;
}

.circle-link:hover {
  transform:translateY(-7px); border-color:rgba(171,149,255,.48); box-shadow:inset 0 1px rgba(255,255,255,.13),0 30px 90px rgba(39,16,100,.38);
}

/* --- Section Méthode --- */
.method {
  padding: 0 0 170px;
}

.method-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 67px;
}

.method h2 {
  margin: 0;
}

.method-intro .section-kicker {
  width: 44%;
  padding-top: 7px;
}

/* Card — Glassmorphism & Subtle Glow */
.cards-v1 { --v1-ink:#0c0817; --v1-panel:rgba(25,16,50,.72); --v1-line:rgba(206,191,255,.16); --v1-violet:#8f6bff; --v1-text:#f3efff; --v1-muted:#aaa1c4; color:var(--v1-text); font-family:Manrope, ui-sans-serif, sans-serif; }
.cards-v1-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.card-v1 { position:relative; isolation:isolate; min-height:360px; overflow:hidden; padding:26px; border:1px solid var(--v1-line); border-radius:24px; background:linear-gradient(145deg,#080b2a,rgba(15,10,29,.84) 65%); box-shadow:inset 0 1px rgba(255,255,255,.08),0 24px 70px rgba(0,0,0,.22); backdrop-filter:blur(18px); transition:transform .45s cubic-bezier(.2,.8,.2,1),border-color .3s,box-shadow .3s; }
.card-v1::before { content:""; position:absolute; z-index:-1; width:220px; height:220px; left:var(--spot-x,30%); top:var(--spot-y,20%); transform:translate(-50%,-50%); border-radius:50%; background:radial-gradient(circle,rgba(143,107,255,.24),transparent 68%); filter:blur(12px); opacity:.7; transition:left .18s,top .18s; pointer-events:none; }
.card-v1:hover { transform:translateY(-7px); border-color:rgba(171,149,255,.48); box-shadow:inset 0 1px rgba(255,255,255,.13),0 30px 90px rgba(39,16,100,.38); }
.card-v1__top,.card-v1__meta { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.card-v1__index { color:var(--v1-violet); font:600 11px/1 'DM Mono',monospace; letter-spacing:.12em; }
.card-v1__status { display:inline-flex; align-items:center; gap:7px; color:var(--v1-muted); font-size:11px; }
.card-v1__status::before { content:""; width:6px; height:6px; border-radius:50%; background:#bda9ff; box-shadow:0 0 12px #8f6bff; }
.card-v1__icon { display:grid; place-items:center; width:48px; height:48px; margin:30px 50px 30px 220px; border:1px solid rgba(255,255,255,.13); border-radius:14px; color:#c9baff; background:rgba(143,107,255,.1); font-size:20px; }
.card-v1 h3 { margin:0 0 12px; color:var(--v1-text); font:500 clamp(24px,2.2vw,31px)/1.05 Georgia,serif; letter-spacing:-.04em; }
.card-v1 p { max-width:27ch; margin:0; color:var(--v1-muted); font-size:13px; line-height:1.65; }
.card-v1__meta { position:absolute; right:26px; bottom:25px; left:26px; padding-top:16px; border-top:1px solid rgba(255,255,255,.1); color:#d6cfff; font:11px 'DM Mono',monospace; }
@media (max-width:780px){.cards-v1-grid{grid-template-columns:1fr}.card-v1{min-height:310px}.card-v1__icon{margin-top:35px}}


h3 {
  font-size: 24px;
  letter-spacing: -0.04em;
  margin: 55px 0 15px;
  color: var(--blanc)
}

.method-cards p {
  color: #9998af;
  max-width: 235px;
  font-size: 14px;
  line-height: 1.7;
}

.card-arrow {
  position: absolute;
  right: 27px;
  bottom: 25px;
  color: var(--violet);
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   8. SECTION CONTACT
   -------------------------------------------------------------------------- */
.contact {
  width: 100%;
  position: relative;
  text-align: center;
  min-height: auto;
  overflow: hidden;
  padding: 130px max(32px, calc((100% - 1120px) / 2));
  background: #17124b;
  overflow: hidden;
}

/* Repère relatif pour que la lueur soit calée sur ce bloc */
.contact-info {
  position: relative;
}

/* La lueur centrée derrière le contenu de contact-info */
.contact-glow {
  position: absolute;
  /* Taille fluide et responsive */
  width: clamp(280px, 35vw, 450px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  
  /* Centrage parfait sur le bloc contact-info */
  left: 50%;
  top: 45%; /* Légèrement remonté pour être bien au cœur du titre */
  transform: translate(-50%, -50%);
  
  background: radial-gradient(circle, rgba(143, 107, 255, 0.45) 0%, rgba(143, 107, 255, 0.15) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0; /* Reste bien en arrière-plan */
}

/* On s'assure que les textes et boutons passent devant la lueur */
.contact-info .eyebrow,
.contact-info h2,
.contact-actions {
  position: relative;
  z-index: 1;
}

/* Grille 2 colonnes */
.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
}
.contact-info h2 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  margin: 25px 0 25px;
}

/* Colonne Gauche */
.contact-info .eyebrow {
  justify-content: center;
  color: var(--muted);
}

.contact-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #b2b1c4;
  max-width: 420px;
  margin-bottom: 35px;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px; /* Espace entre les deux boutons */
  justify-content: space-around;
}

.button-light {
  background: var(--blanc);
  color: var(--ink);
  font-weight: 700;
}

.button-light:hover {
  background: #f0f0f5;
  transform: translateY(-2px);
}

.contact .button-light span {
  color: var(--violet);
}

/* Colonne Droite (Formulaire Tally) */
.contact-form-wrap {
  background: linear-gradient(310deg,rgba(62,42,113,.38),rgba(15,10,29,.84) 65%); box-shadow:inset 0 1px rgba(255,255,255,.08),0 24px 70px rgba(0,0,0,.22);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.contact-form-wrap iframe {
  border: none;
  width: 100%;
}
/* --------------------------------------------------------------------------
   9. PIED DE PAGE (Footer)
   -------------------------------------------------------------------------- */
footer {
  width: min(1240px, calc(100% - 64px));
  margin: auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  color: #777691;
  font: 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-items: center;
}

footer .brand {
  color: var(--paper);
  font-family: var(--body);
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   10. ANIMATIONS (Keyframes & Classes utilitaires)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.38s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll {
  0%, 100% {
    opacity: 0.3;
    transform: scaleY(0.5);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* Gestion du mode mouvement réduit pour l'accessibilité */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { 
    animation: none; 
    transform: translateX(0); 
  }
  .ticker__group[aria-hidden="true"] { 
    display: none; 
  }

}


/* --------------------------------------------------------------------------
   11. RESPONSIVE DESIGN (Mobiles & Tablettes)
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  /* Navigation Mobile */
  .nav {
    width: calc(100% - 40px);
    height: 90px;
  }
  
  .nav-links, .nav-cta {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
  }
  
  .menu-toggle i {
    display: block;
    width: 23px;
    height: 1px;
    background: var(--paper);
  }
  
  .nav-links.open {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    top: 74px;
    right: 20px;
    margin: 0;
    padding: 23px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  
  /* Hero Mobile */
  .hero {
    min-height: 710px;
    padding: 120px 20px 80px;
  }
  
  .hero-grid {
    background-size: 65px 65px;
  }
  
  .hero h1 {
    font-size: clamp(62px, 19vw, 100px);
  }
  
  .hero-side, .hero-note {
    display: none;
  }
  
  .hero-lede {
    font-size: 13px;
    max-width: 310px;
  }
  
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  
  .scroll-cue {
    left: auto;
    right: 20px;
    transform: none;
  }
  
  /* Sections Mobile */
  .section {
    width: calc(100% - 40px);
  }
  
  .vision {
    padding: 20px 0 110px;
  }
  
  .vision-layout {
    display: block;
  }
  
  .vision h2, .method h2 {
    font-size: clamp(44px, 13vw, 68px);
    margin: 45px 0 42px;
  }
  
  .vision-body {
    max-width: 100%;
  }
  
  .method {
    padding-bottom: 110px;
  }
  
  .method-intro {
    display: block;
    margin-bottom: 45px;
  }
  
  .method-intro .section-kicker {
    width: 100%;
  }
  
  .method-cards {
    grid-template-columns: 1fr;
  }
  
  .method-cards article, .method-cards article + article {
    min-height: 220px;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  
  h3 {
    margin: 35px 0 12px;
  }
  
  .contact h2 {
    font-size: clamp(51px, 15vw, 80px);
  }
  
  /* Footer Mobile */
  footer {
    width: calc(100% - 40px);
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  
  .hero-container {
    /* Bascule sur 1 seule colonne : le texte en haut, la sphère en bas */
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-orb-wrapper {
    min-height: 260px;
  }
    /* Contact Mobile */
  .contact {
    width:100%;
    padding: 80px 20px 90px;
    text-align: center;
  }

  .contact-actions {
    justify-content: center;
    gap: 12px;
  }

  .contact-layout {
    /* 1 seule colonne : texte en haut, formulaire en bas */
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-info .eyebrow {
    justify-content: center;
  }
  
  .contact-info h2 {
    font-size: clamp(38px, 11vw, 56px);
    margin: 20px 0 30px;
  }

  .contact-info .button {
    margin: 0 auto;
  }

  .contact-glow {
    left: 50%;
    top: 30%;
    width: 320px;
    height: 320px;
  }

    /* Contact Form Mobile */
  .contact-form-wrap {
    padding: 18px 2px; /* Réduit drastiquement les marges internes pour donner de l'air aux champs */
    border-radius: 16px;
    width: 100%;
  }
    footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 35px 20px 40px;
  }
}
/* ==========================================================================
   PAGE MENTIONS LÉGALES
   ========================================================================== */
.legal-header {
  padding: 24px 30px;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-header .nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-content {
  padding: 80px 20px 100px;
  min-height: 80vh;
}

.legal-hero {
  text-align: center;
  margin-bottom: 50px;
}

.legal-hero h1 {
  font-size: clamp(34px, 6vw, 54px);
  margin: 15px 0 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-updated {
  font-size: 14px;
  color: var(--muted, rgba(255, 255, 255, 0.5));
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 45px;
  backdrop-filter: blur(10px);
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.legal-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section ul li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.6;
}

.legal-section ul li strong {
  color: #fff;
}

.legal-section a {
  color: #8f6bff;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.legal-section a:hover {
  opacity: 0.8;
}

.legal-section code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
  color: #8f6bff;
}

.legal-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-link:hover {
  color: #fff;
}

/* Responsive Mentions Légales */
@media (max-width: 760px) {
  .legal-card {
    padding: 25px 20px;
    border-radius: 16px;
  }

  .legal-content {
    padding: 50px 16px 70px;
  }
}
