/* Variables globales */

:root {
  --color-bg-main: #235c42;      /* Vert principal */
  --color-bg-button: #00401a;    /* Vert foncé pour les boutons */
  --color-primary: #f4c01e;      /* Or pour les titres et accents */
  --color-accent: #fcbe2d;       /* Orange clair pour les transitions */
  --color-accent-dark: #ff952a;  /* Orange foncé pour les transitions */
  --color-white: #fefefe;
  --font-family: 'ADLaM Display', cursive;
  --hero-title: 3rem;
  --title: 2.5rem;
  --subtitle: 1.7rem;
  --list: 1.5rem;
  --header-h: 0px; /* rempli dynamiquement par JS */
}

/* Réinitialisation de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-white);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

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

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

html {
  scroll-behavior: smooth;
}

 
 /* Barre de progression de page (scroll) */
.scroll-progress{
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 4px;       /* épaisseur de la barre */
  z-index: 2000;                  /* > header (z=1000) */
  pointer-events: none;           /* ne bloque pas les clics du header */
}
.scroll-progress__bar{
  display: block;
  width: 100%; 
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-dark));
  transition: transform .08s linear; /* MAJ fluide */
  will-change: transform;
}
 
 /* Conteneur de section */
.section {
  position: relative;
  padding: 3rem 1rem;
  overflow: hidden;
  background-color: var(--color-bg-main);
  z-index: 0;
  justify-content: center;       /* Centre horizontalement dans la page */
  align-items: center;           /* Centre verticalement */
  margin: 0 auto;                /* Centre le bloc */
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
  scroll-margin-top: var(--header-h);
}

/* === Fond pattern + lueurs animées TRÈS visibles === */
.section::before{
  content:"";
  position:absolute;
  inset:0;
  /* Place le décor sous le contenu (.container a z-index:1) */
  z-index:-1;
  /* 1) ton pattern + 2/3 spots radiaux bien visibles */
  background:
    url('assets/bg_pattern.jpg') center/cover no-repeat,
    radial-gradient(240px 240px at var(--g1x,18%) var(--g1y,28%), rgba(244,192,30,0.42), transparent 70%),
    radial-gradient(320px 320px at var(--g2x,82%) var(--g2y,72%), rgba(255,149,42,0.32), transparent 72%),
    radial-gradient(260px 260px at var(--g3x,50%) var(--g3y,50%), rgba(0,64,26,0.40), transparent 74%);
  /* Animation des positions des lueurs via variables CSS */
  animation: glowsMove 3s ease-in-out infinite;
  will-change: background-position, opacity;
}

/* Animation des “hotspots” (on bouge les centres) */
@keyframes glowsMove{
  0%   { --g1x:14%; --g1y:24%; --g2x:86%; --g2y:76%; --g3x:48%; --g3y:42%; opacity:.05; }
  25%  { --g1x:28%; --g1y:18%; --g2x:78%; --g2y:66%; --g3x:54%; --g3y:58%; opacity:1; }
  50%  { --g1x:36%; --g1y:26%; --g2x:70%; --g2y:60%; --g3x:52%; --g3y:66%; opacity:.05; }
  75%  { --g1x:22%; --g1y:34%; --g2x:84%; --g2y:70%; --g3x:46%; --g3y:54%; opacity:.2; }
  100% { --g1x:14%; --g1y:24%; --g2x:86%; --g2y:76%; --g3x:48%; --g3y:42%; opacity:.05; }
}

/* Accessibilité : pas d’anim si réduit */
@media (prefers-reduced-motion: reduce){
  .section::before{ animation:none; }
}


/* gradient mask layer to smooth transitions at the top and bottom of each section */
.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    to bottom,
    var(--color-bg-main) 0%,
    rgba(35, 92, 66, 0.0) 30%,
    rgba(35, 92, 66, 0.0) 60%,
    var(--color-bg-main) 85%
  );
  z-index: -1;
  pointer-events: none;
}

.section.is-visible {
  opacity: 1;
  transform: none;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .section { transition: none; opacity: 1; transform: none; }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(35, 92, 66, 0.95);
  backdrop-filter: blur(0px);
  z-index: 1000;
  transition: box-shadow .25s ease, background-color .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  background-color: rgba(35,92,66,0.98);
}

.site-header .header-inner{ transition: padding .22s ease; }
.site-header.is-scrolled .header-inner{ padding: .6rem 1.05rem; }

@media (min-width: 901px) {
  .site-header.is-scrolled .main-nav { 
    transform: scale(0.9) translateX(-80px) translateY(-1px);
  }
  .site-header.is-scrolled .logo {
  transform: translateX(50px) scale(0.7); /* rapproche vers la nav */
  margin-right: 0;                          /* pas d'espace excessif */
}
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.05rem;             /* plus grand par défaut */
  max-width: 1400px;
  margin: 0 auto;
  transition: padding .25s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  transition: transform .25s ease, margin-right .25s ease; 
}

.logo img {
  width: 30%;
  height: auto;
}

.menu-toggle{
  display: none; /* visible seulement en mobile */
  background: transparent;
  border: 0;
  padding: .4rem;
  color: var(--color-white);
  cursor: pointer;
}

.menu-toggle .icon-close{ display: none; }

.main-nav {
  width: 90%;
  display: flex;
  align-items: center;
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
  transition: transform .25s ease;
}

.main-nav a {
  display: grid;
  place-items: center;
  min-inline-size: 7.5ch;   /* largeur mini par item (à ajuster) */
  padding: 0.35rem 0.8rem;  /* réserve verticale pour le scale */
  white-space: nowrap;
  position: relative;
  transition: color 0.3s, transform 0.4s ease;
  overflow: hidden;         /* empêche d’empiéter */
}

/* Le scale ne s’applique que sur le contenu */
.main-nav a > span {
  display: inline-block;
  transform-origin: center;
  transition: transform .25s ease, color .3s ease;
}

/* Effet au survol */
.main-nav a:hover > span,
.main-nav a.active > span {
  transform: scale(1.05);
  color: var(--color-primary);
}

.main-nav a:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--color-accent);
  pointer-events: none;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  transform: scale(1.10); /* grossit de 5% */
  /*font-size: 1.5rem;*/
}

.header-separator {
  height: 10px;
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-dark));
}

/* Boutons */
.button {
  position: relative;            /* ancre le ::before au bouton */
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: background-color 0.3s, color 0.3s, transform 0.2s, flex-grow 0.4s ease;
  overflow: visible; /* pour laisser dépasser le halo si besoin */
  isolation: isolate; /* important pour le z-index du ::before */
  z-index: 0;                    /* plan de base */
}

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

.button-secondary {
  background-color: var(--color-bg-button);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.button:hover {
  transform: translateY(-2px);
  flex-grow: 2.5;
}

.button-primary:hover {
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-dark));
  animation: ctaPulse .9s ease-in-out infinite;
}

/* AJOUT – petit pulse sur les CTA primaires */
@keyframes ctaPulse {
  0%, 100% { transform: translateY(-2px) scale(1); }
  50%      { transform: translateY(-2px) scale(1.03); }
}

.button-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-bg-main);
}

.button::before {
  content: "";
  position: absolute;
  inset: -16%;                   /* dépasse pour qu’on voie le halo autour */
  border-radius: inherit;        /* suit la forme “pilule” */
  background: radial-gradient(
    circle,
    rgba(255, 215, 0, 0.6) 0%,
    rgba(255, 215, 0, 0.35) 45%,
    rgba(255, 215, 0, 0.15) 65%,
    rgba(255, 215, 0, 0) 100%
  );
  filter: blur(10px);         /* halo doux */
  opacity: 0;                /* caché au départ */
  transform: scale(0.9);     /* léger zoom-in à l’apparition */
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.25,1,.5,1);
  z-index: -1;                /* derrière .aura-circle (z=1), .decor-aura (z=2), .chef-tablet (z=3) */
  pointer-events: none;      /* ne bloque pas le hover */
}

.button:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Accessibilité : réduit l’animation si l’utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .button::before { transition: none; }
  .button { transition: none; }
}

/* section Hero */
.hero-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  max-width: 1200px;            /* largeur max lisible */
  margin-inline: auto;          /* centre dans la page */
  padding-inline: 1rem;
}

.hero-section{ 
  --hero-gap: clamp(32px, 8vw, 120px);  /* espace adaptable */
  margin-bottom: clamp(32px, 8vw, 120px);
}


.hero-text {
  flex: 0 0 45%;
  min-width: 600px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin-inline:auto;
}

/* AJOUT – parallaxe garantit que le transform agit bien et reste fluide */
.hero-images img,
.aura-circle,
.decor-aura,
.chef-tablet { will-change: transform; }


.hero-images {
  flex: 0 0 55%;
  position: relative;
  min-width: 280px;
  display: grid;
  place-items: center;   /* centre tous les calques */
  aspect-ratio: 1 / 1;   /* zone carrée responsive (peut être 4/3) */
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 0; 
  overflow: visible;
  /*height: 380px;*/
}

/* Tous les enfants occupent la même “cellule” => superposés */
.hero-images > * {
  grid-area: 1 / 1;
  position: relative;    /* pour que z-index marche partout */
  display: block;
}

.hero-title {
  font-size: var(--hero-title);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.1rem;
}

.hero-subtitle {
  font-size: var(--subtitle);
  margin-bottom: 1rem;
  color: var(--color-white);
}

.hero-list {
  list-style: none;
  margin-bottom: 1.5rem;
  max-width: 50ch;         /* largeur confortable */
}

.hero-list li {
  position:relative;
  text-align: left;
  font-size: var(--list);
}

.hero-list li::before {
  position: absolute;           /* plus d'absolu */
  content: '✓';
  left:-1em;
  top:.1em;
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--list);
}


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

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Images utilisées dana hero-images */
.aura-circle {
  width: 120%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: var(--color-bg-button);
  z-index: 1;
}

.decor-aura {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  opacity: 0.8;
  overflow: hidden;
  z-index: 2;
}

.chef-tablet {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
}

/* NEW — Halo supernova derrière les visuels */
.hero-halo{
  grid-area: 1 / 1;
  position: relative;
  z-index: 0;                  /* derrière .aura (1), .decor (2), .chef (3) */
  width: 110%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
  will-change: transform, opacity;
  animation: haloPulse 6s ease-in-out infinite;
  transform: translateZ(0);
}

/* couche “rayons” + lueur large qui tourne lentement */
.hero-halo::before{
  content: '';
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  /* superposition : lueur douce + rayons coniques */
  background:
    radial-gradient(circle at 50% 50%,
      rgba(252,190,45,0.35) 0%,
      rgba(255,149,42,0.25) 22%,
      rgba(244,192,30,0.12) 44%,
      rgba(244,192,30,0.04) 62%,
      rgba(244,192,30,0.00) 80%
    ),
    repeating-conic-gradient(
      from 0deg,
      rgba(255,230,150,0.18) 0deg 6deg,
      rgba(255,230,150,0.00) 6deg 12deg
    );
  mix-blend-mode: screen;
  animation: haloSpin 30s linear infinite;
  will-change: transform;
}

/* highlight qui suit un peu la souris (centre mobile) */
.hero-halo::after{
  content: '';
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at var(--mx,50%) var(--my,50%),
      rgba(255,255,255,0.28) 0%,
      rgba(255,255,255,0.16) 40%,
      rgba(255,255,255,0.00) 80%
    );
  mix-blend-mode: screen;
  transition: background-position .12s linear;
  will-change: background-position;
}

/* Animations */
@keyframes haloSpin{
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes haloPulse{
  0%,100% { opacity: 1.75; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.1); }
}

/* Réduction d’animations si demandé */
@media (prefers-reduced-motion: reduce){
  .hero-halo,
  .hero-halo::before{ animation: none; }
}



/* Feature strip (hero bottom) */
.feature-strip {
  margin: 2.5rem auto 0;
  max-width: 1300px;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.feature-section { padding-top: 0; }

.feature-strip-left {
  flex: 3;
  background-color: var(--color-white);
  color: var(--color-bg-button);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* AJOUT – soulèvement et lueur */
.strip-item {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  border-radius: 10px;
  padding: .6rem .8rem;
}
.strip-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  background-color: rgba(0,64,26, .06);
}

/* icône qui “pop” */
.strip-icon { transition: transform .25s ease; }
.strip-item:hover .strip-icon { transform: scale(1.1) rotate(-2deg); }


.strip-icon {
  width: auto;
  height: auto;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-icon svg {
  width: auto;
  height: auto;
}

.strip-item p {
  flex: 1;
}

.feature-strip-right {
  flex: 1;
  background: var(--color-bg-button);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex-grow .4s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  isolation: isolate; /* pour contenir les effets internes */
}

.feature-strip-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 50%, rgba(244,192,30,.18), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}

.feature-strip-right:hover {
  flex-grow: 2;
  transform: scale(1.03);              /* un peu plus visible */
  box-shadow: inset 0 0 0 2px rgba(244,192,30,.25);
  background: linear-gradient( to right, #064a22, var(--color-bg-button) );
}


.strip-contact {
  position: relative;
  z-index: 1;                           /* au-dessus du halo */
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--list);
  transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  transform-origin: center;
}

.feature-strip-right:hover {
  flex-grow: 2; /* prend un peu plus de place */
}

.feature-strip-right:hover::before { opacity: 1; }

.feature-strip-right:hover .strip-contact {
  transform: translateY(-1px) scale(1.12);
  color: var(--color-primary);
  letter-spacing: .5px;
}

/* Section 2 – Pain points */
.pains-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.pains-image {
  flex: 1 1 30%;
  display: flex;
  justify-content: center;
}

.pains-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: var(--color-bg-button);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pains-circle img {
  max-width: 120%;   /* conserve la marge autour */
  max-height: 120%;  /* ajuste aussi la hauteur */
  object-fit: contain; /* évite la déformation */
}

.pains-text {
  flex: 1 1 70%;
  min-width: 280px;
  max-width: 700px;
  text-align: center;      /* titres et paragraphes centrés */
  margin-inline: auto;
}

.pains-title {
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pains-subtitle {
  font-size: var(--title);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.pains-intro {
  font-size: var(--subtitle);
  margin-bottom: 0.8rem;
}

.pains-list-box {
  background: linear-gradient( to bottom right, rgba(0,64,26,0.96), rgba(0,64,26,0.88) );
  padding: 1rem 1.5rem;
  border-radius: 12px;
  /* léger trait pour le contraste */
  border: 1px solid rgba(255,255,255,0.10);
  /* ombre plus marquée pour le détacher du pattern */
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  margin: 1rem 0;
  max-width: 70ch;          /* largeur de lecture */
  text-align: left;         /* contenu de la liste lisible */
  position: relative; 
  z-index: 2;            /* ↑ un chouïa pour dépasser tout décor */
  isolation: isolate;    /* crée un contexte propre au cas où */
}

.pains-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pains-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.2rem;
}

.pains-list li::before {
  content: '*';
  position: absolute;
  left: 0;
  top: .1em;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.pains-continue {
  font-size: 1.3rem;
  margin-top: 0.8rem;
}

.pains-outro {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.6rem;
}

/* Section 3 – Yes image inside blob */
.yes-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;            /* largeur max lisible */
  margin-inline: auto;
}

.yes-blob {
  min-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 36px;
}

.yes-image {
  width: 100%;
  height:100%;
  display:block;
  object-fit:cover;       /* équivalent de background-size: cover */
  object-position:50% 15%;/* équivalent de background-position */
  filter:brightness(.95);
   /* Masques horizontaux + verticaux */
  -webkit-mask-image: 
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  -webkit-mask-composite: destination-in;   /* fusionne les 2 */
  -webkit-mask-repeat: no-repeat;

          mask-image: 
    linear-gradient(to right, transparent, black 10%, black 90%, transparent),
    linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
          mask-composite: intersect;
          mask-repeat: no-repeat;
}


.yes-blob::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  z-index:1;
  /* transparent au centre -> vert aux bords */
  background:
    radial-gradient(120% 120% at 50% 50%,
      rgba(35,92,66,0)    60%,
      rgba(35,92,66,.18)  80%,
      rgba(35,92,66,.38)  90%,
      var(--color-bg-main) 100%);
}

.yes-section{
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Section 4 – Solution */
.solution-section {
  padding-top: 0;
}

.solution-top {
  position:relative;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.solution-text {
  text-align: center;      /* centre le texte */
  max-width: 1200px;       /* largeur max pour éviter que ça s’étale trop */
  margin: 0 auto;          /* centre le bloc horizontalement */
  padding: 0 1rem;         /* un peu d’air sur petits écrans */
}

.solution-title {
  align-items: center;
  justify-content: center;
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.solution-title .brand {
  color: var(--color-primary);
}

.solution-subtitle {
  font-size: var(--title);
  font-weight: 700;
  color: var(--color-primary);
}

.solution-bottom {
  text-align: center;
  
}

.phone-title {
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 1rem;
}

.phone-card {
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: var(--color-bg-button); /* vert foncé */
  border-radius: 24px;                      /* coins arrondis */

  justify-content: center;
  align-items: center;
  max-width: 400px;                         /* largeur max du cadre */
  margin-inline: auto;                      /* centre horizontalement */
  margin-bottom: 1.5rem;
}

.phone-card img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px; /* léger arrondi de l'image aussi si tu veux */
  object-fit: contain; /* pas rognée */
}

.phone-list {
  display: grid;
  justify-content: center;   /* centre chaque ligne (shrink-to-fit) */
  margin-bottom: 1rem;
}

.phone-list li {
  display: grid;
  grid-template-columns: auto 1fr; /* coche | texte */
  align-items: start;
  column-gap: .6rem;
  padding: 0;                 /* plus d'indent forcée */
  margin: .25rem 0;
  text-align: left;
  font-size: var(--list);
}

.phone-list li::before {
  position: static;           /* plus d'absolu */
  content: '✓';
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1.2;
  transform: translateY(.1em);
  font-size: var(--list);
}

.phone-note {
  font-size: var(--title);
  color: var(--color-primary);
  font-weight: 700;
}

/* Section 5 – Testimonials */
.testimonial-section {
  text-align: center;
  margin-top: 0;
  padding-top: 0;

}

.testimonial-title {
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 2rem;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.testimonial-card {
  background-color: var(--color-bg-button);
  border-radius: 12px;
  padding: 1.5rem;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--color-primary);
}

.testimonial-card h4 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.testimonial-card p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-white);
}

.testimonial-bottom {
  margin-top: 3rem;
  text-align: center;
}

.no-need-title {
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 1rem;
}

.no-need-title .brand {
  color: var(--color-primary);
}

.no-need-list {
  list-style: none;
  display: inline-block;
  text-align: left;
  font-size: var(--list);
  margin-bottom: 1rem;
}

.no-need-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
}

.no-need-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--list);
}

.no-need-note {
  font-size: var(--title);
  color: var(--color-primary);
  font-weight: 700;
}

/* Section 6 – Demo */
.demo-section {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}

.demo-title {
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.demo-subtitle {
  font-size: var(--subtitle);
  margin-bottom: 1.5rem;
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.timeline {
  display: flex;
  justify-content: space-between;
  --dot: 28px;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-top: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-primary);
  top: calc(2rem + var(--dot) / 2);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  z-index: 0;
  transition: transform 1s ease;
}

/* AJOUT – quand visible, la ligne se remplit */
.timeline.is-visible::before { transform: translateY(-50%) scaleX(1); }

/* petits “pop” sur les cercles */
.timeline-circle {
  transition: transform .35s ease;
}
.timeline.is-visible .timeline-circle {
  transform: scale(1.1);
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary);
  margin: 0 auto 0.5rem;
  width: var(--dot);
  height: var(--dot);
}

.timeline-step span {
  font-size: 1.2rem;
  display: block;
}

/* Section 7 – Support */
.support-section {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}

.support-title {
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.support-text {
  font-size: var(--subtitle);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.support-text .emph {
  color: var(--color-primary);
  font-weight: 700;
}

.support-btn {
  margin-bottom: 2rem;
}
.support-image{
  justify-content: center;   /* centre horizontalement */
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  
  align-items:center;

   -webkit-mask-image: 
    linear-gradient(to right, transparent, black 12%, black 88%, transparent),
    linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  -webkit-mask-composite: destination-in; 
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 100% 100%;

          mask-image: 
    linear-gradient(to right, transparent, black 12%, black 88%, transparent),
    linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
          mask-composite: intersect;
          mask-repeat: no-repeat;
          mask-position: center;
          mask-size: 100% 100%;
	
}
.support-image img {
  max-width: 750px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section 8 – CTA and form */
.cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-left {
  flex: 1 1 55%;
  min-width: 280px;
}

.cta-right {
  flex: 1 1 40%;
  min-width: 280px;
  background-color: var(--color-bg-button);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-title {
  font-size: var(--title);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align:center;
}

.cta-text {
  font-size: var(--subtitle);
  line-height: 1.5;
  text-align:center;
}

.cta-text .brand.emph {
  color: var(--color-primary);
  font-weight: 700;
}

.form-title {
  font-size: var(--subtitle);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
  text-align:center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row.two-cols {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 1.2rem;
  resize: none;
}

/* AJOUT – glow doux au focus */
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 4px rgba(244, 192, 30, .2);
}

/* erreur “shake” rapide (optionnel) */
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.form-group input.error,
.form-group textarea.error {
  animation: shake .35s ease both;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.15);
}

.form-group .error,
.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-error {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-bottom: -0.5rem;
}

.form-submit {
  width: fit-content;
  align-self: center;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  background-color: var(--color-bg-button);
}

/* Champ téléphone (intl-tel-input) */
.iti{ width:100%; }

/* Liste déroulante : texte vert foncé */
.iti__country-list{
  background:#fff;
  color: var(--color-bg-button);
}
.iti__country-list .iti__country-name,
.iti__country-list .iti__dial-code{
  color: var(--color-bg-button);
  opacity: 1;
  font-weight: 600;
}
.iti__country-list .iti__country.iti__highlight{
  background: rgba(0,64,26,.08);
}

/* Champ de recherche dans la liste */
.iti__search-input{
  color: var(--color-bg-button);
}
.iti__search-input::placeholder{
  color: rgba(0,64,26,.7);
}

/* Placeholder par défaut (desktop) */
input::placeholder,
textarea::placeholder {
  font-size: 1rem; /* taille par défaut */
}

/* Responsive adjustments */
@media (max-width: 900px) {
	:root {
  --hero-title: 2.5rem;
  --title: 1.5rem;
  --subtitle: 1.5rem;
  --list: 1.2rem;
  --header-h:60px;
}

	input::placeholder,
	textarea::placeholder {
		font-size: 0.5rem; /* ou ce que tu veux */
	}

  .menu-toggle{ display: inline-flex; align-items: center; justify-content: center; }
  
  .main-nav{
    position: fixed;
	top: 0;
    right: 0;          /* occupe la hauteur, collée à droite */
    width: min(78vw, 360px);
	height: auto; 
    background: #235C42;;
    box-shadow: -8px 0 24px rgba(0,0,0,.35);
    transform: translateX(100%);
    transition: transform .28s ease;
    display: flex;
    flex-direction: column;
	align-items: stretch;     /* ← les liens prennent toute la largeur */
    flex-wrap: nowrap;        /* ← pas de wrap horizontal */
    padding: 1rem;
    gap: 0;
    z-index: 1100;               /* au-dessus du header */
  }

  .main-nav a{
    font-size: 1.05rem;
    border-radius: 8px;
	display: flex;           /* ← remplace le display:grid desktop */
    align-items: center;
	overflow:visible;
	line-height:1.35;
	width: 100%;
    padding: 1rem 0.9rem;
    text-align: left;
    white-space: normal;      /* ← autorise le retour à la ligne */
    min-inline-size: 0;       /* ← annule la largeur mini desktop */
    transform: none;          /* ← pas de scale sur mobile */
  }
  .main-nav a + a{ border-top: 1px solid rgba(255,255,255,.08); }
  .main-nav a:hover{ background: rgba(255,255,255,.06); transform: none; }

  /* Le span n’a plus besoin d’animation/scale en mobile */
  .main-nav a > span{
    display: block;
    transform: none;
  }
 

  /* Overlay sombre */
  .nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(1px);
    z-index: 900;
	cursor: pointer;           /* indique qu’on peut cliquer pour fermer */
  }

  /* État ouvert (appliqué sur le body) */
  body.nav-open .main-nav{ transform: translateX(0); }
  body.nav-open .nav-overlay{ display: block; }
  body.nav-open .menu-toggle .icon-burger{ display: none; }
  body.nav-open .menu-toggle .icon-close{ display: inline; }

  /* empêcher le scroll de fond */
  body.nav-open{ overflow: hidden; }


  .hero-container {
    flex-wrap: wrap;            /* autorise le retour à la ligne */
    justify-content: center;    /* garde le bloc centré */
  }
  .hero-text,
  .hero-images {
    flex: 0 1 90%;             /* chaque colonne prend toute la largeur */
    min-width: 0;               /* évite les débordements */
  }
  .pains-container,
  .solution-top,
  .cta-container {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }
  
  /* centre les boutons dans la rangée */
  .cta-buttons{
    justify-content: center;     /* ← aligne au centre */
    width: 100%;                 /* pour que le centrage soit net */
  }

  /* au cas où un bouton prenne toute la ligne, garde-le centré */
  .cta-buttons .button{
    align-self: center;
  }
 
  .hero-images {
    height: 300px;
	margin-bottom: 20px;
  }
  .hero-section{ --hero-gap: clamp(40px, 14vw, 140px);  padding-bottom: clamp(200px, 18vw, 240px); /* espace forcé sous le héros */}
  .feature-strip {
    flex-direction: column;
	margin-top: 0;
  }
  .feature-strip-left,
  .feature-strip-right {
    width: 100%;
  }
  .feature-section {
  padding-top: 0;   /* supprime le coussin interne en haut */
}

  .solution-halfcircle {
    width: 100%;
    height: 250px;
    border-radius: 150px 150px 0 0;
  }
  .solution-bottom .phone-card {
    width: 200px;
  }
  .timeline{
    display:block;
    --dot:24px;
    max-width:540px;
    margin:0 auto;
    padding:0;
    position:relative;
	--content-w: 480px;                 /* largeur cible du bloc */
	margin-inline: auto;                /* centre horizontalement */
	align-self:center;
	justify-self:center;
  }

  /* Ligne VERTICALE (on annule ‘right’ et ‘height’ de la version desktop) */
  .timeline::before{
    top:0;
    bottom:0;
    left: calc((var(--dot)/2) + 0.60rem);  /* au centre de la colonne des ronds */
    right: auto;            /* <<< reset important */
    width:3px;
    height:auto;            /* <<< reset important */
    background: var(--color-primary);
    transform: scaleY(0);               /* anim de haut en bas */
    transform-origin: top center;
    transition: transform 1s ease;
    z-index:0;
    display:block;
  }
  .timeline.is-visible::before{ transform: scaleY(1); }

  /* Grille : [col rond] [col texte] */
  .timeline-step{
    width: 100%;
    margin: 0;
	display:grid;
    grid-template-columns: calc(var(--dot) + 1.5rem) 1fr;
    align-items:center;
    gap:.75rem;
    text-align:left;
    padding:.75rem 0;
    position:relative;
    z-index:1;  /* au-dessus de la ligne */
  }

  /* Rond centré pile sur la ligne */
  .timeline-circle{
    width:var(--dot);
    height:var(--dot);
    border-radius:50%;
    background:var(--color-primary);
    justify-self:center;   /* centre dans la 1re colonne */
    margin:0;              /* annule le margin desktop */
  }

  .timeline-step span{
    display:block;
    font-size:1.1rem;
    text-align:left;
  }
  .cta-right {
    width: 100%;
  }
  .cta-left {
    width: 100%;
  }
}

/* Accessibilité : pas de transition si demandé */
@media (prefers-reduced-motion: reduce){
  .scroll-progress__bar{ transition: none; }
}

