/* ===========================================================
   Tsingy Technologies — Prototype homepage
   Fond #061429 + radial-gradient · Bruno Ace (titres courts) + Inter
   =========================================================== */

:root{
  --bg:#061429;
  /* Dégradé de marque — repris directement du fond du logo tsingytech (bleu -> violet -> magenta) */
  --grad-a:#0064BB;   /* bleu logo, coin haut-gauche */
  --grad-mid:#6B4CB3; /* violet intermédiaire */
  --grad-b:#B332B7;   /* magenta logo, coin bas-droit */
  --eyebrow:#E1525C;   /* rouge éclairci texte — AA (4.88:1) sur --bg */
  --accent:#B9252E;    /* rouge marque — boutons / bordures / icônes */
  --white:#FFFFFF;
  --line:rgba(255,255,255,.14);
  --line-soft:rgba(255,255,255,.08);
  --card-bg:rgba(255,255,255,.045);
  --card-bg-hover:rgba(255,255,255,.08);
  --container:1440px;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-pill:999px;
  --ff-display:'Bruno Ace', system-ui, sans-serif;
  --ff-body:'Inter', system-ui, sans-serif;
  --ease:cubic-bezier(.19,1,.22,1);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
}

body{
  background:var(--bg);
  color:var(--white);
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  position:relative;
}
/* Note technique : overflow-x:hidden a été retiré de html/body. La CSS spec force
   overflow-y à passer en "auto" dès que overflow-x est "hidden" pendant que overflow-y
   reste "visible" — ce qui transformait html/body en faux conteneurs de scroll et
   cassait position:sticky (ex. sidebar sommaire de la page article). Le confinement
   du débordement horizontal mobile (halos ambiants, etc.) est déjà assuré individuellement
   par overflow-x:hidden sur chaque "section" — donc ce filet de sécurité global n'était
   plus nécessaire et causait plus de dégâts qu'il n'en évitait. */

/* Radial-gradient d'ambiance, position fixed, couleurs alignées sur le fond du logo (bleu -> violet -> magenta) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 6%, rgba(0,100,187,.32), transparent 40%),
    radial-gradient(circle at 92% 94%, rgba(179,50,183,.30), transparent 42%),
    radial-gradient(circle at 50% 45%, rgba(107,76,179,.18), transparent 55%);
  background-size:160% 160%;
  animation:ambientDrift 26s ease-in-out infinite alternate;
}
@keyframes ambientDrift{
  0%{background-position:0% 0%, 100% 100%, 50% 45%}
  50%{background-position:12% 8%, 88% 92%, 44% 52%}
  100%{background-position:4% 14%, 96% 84%, 56% 40%}
}
@media (prefers-reduced-motion: reduce){
  body::before{animation:none}
}

/* Halo qui suit le curseur (désactivé au clavier/tactile et en reduced-motion) */
.cursor-halo{
  position:fixed;
  top:0;left:0;
  width:520px;height:520px;
  margin-left:-260px;margin-top:-260px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,100,187,.30), rgba(179,50,183,.16) 45%, transparent 72%);
  pointer-events:none;
  z-index:2;
  opacity:0;
  transition:opacity .5s var(--ease);
  will-change:transform;
  filter:blur(4px);
}
.cursor-halo.active{opacity:1}
@media (hover:none), (prefers-reduced-motion: reduce){
  .cursor-halo{display:none}
}

/* Halos statiques (même style que le halo du curseur) pour casser le bleu uni du fond */
.ambient-halo{
  position:absolute;
  width:520px;height:520px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,100,187,.30), rgba(179,50,183,.16) 45%, transparent 72%);
  pointer-events:none;
  z-index:0;
  filter:blur(4px);
}
.halo-top{top:-160px;left:-180px}
.halo-mid{top:35%;right:-200px}
@media (max-width:960px){
  .ambient-halo{width:320px;height:320px}
  .halo-top{top:-100px;left:-100px}
  .halo-mid{right:-90px}
}

main, header, footer{position:relative;z-index:1}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit;background:none;border:none;color:inherit;cursor:pointer}
input,textarea,select{font:inherit}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 48px;
}
@media (max-width:960px){ .container{padding:0 24px} }
@media (max-width:560px){ .container{padding:0 18px} }

section{position:relative;overflow-x:hidden;padding:120px 0;border-top:1px solid var(--line-soft)}
@media (max-width:768px){ section{padding:76px 0} }

.eyebrow{
  font-family:var(--ff-body);
  font-weight:700;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--eyebrow);
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--eyebrow);display:inline-block;border-radius:2px}

h1,h2,h3{font-family:var(--ff-display);font-weight:400;color:var(--white);line-height:1.15}

h1{font-size:clamp(30px,3.8vw,52px);letter-spacing:.005em}
h2{font-size:clamp(22px,2.7vw,34px);margin-bottom:20px}
h2 .accent{color:var(--eyebrow)}
.grad-text{
  background:linear-gradient(100deg,var(--grad-a),var(--grad-mid) 55%,var(--grad-b));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.h1-red{color:var(--eyebrow)}
h3{font-size:19px;font-family:var(--ff-body);font-weight:700;margin-bottom:8px;color:var(--white)}
h3.display{font-family:var(--ff-display);font-weight:400;font-size:22px}

p{color:var(--white);opacity:.86}
.section-head{max-width:680px;margin-bottom:56px}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head.wide{max-width:920px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 30px;
  border-radius:var(--radius-pill);
  font-weight:700;
  font-size:14px;
  letter-spacing:.01em;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(135deg,var(--grad-a),var(--grad-b));
  color:var(--white);
  box-shadow:0 8px 24px -8px rgba(107,76,179,.55);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 28px -6px rgba(107,76,179,.7)}
.btn-outline{
  border:1px solid var(--line);
  color:var(--white);
}
.btn-outline:hover{border-color:var(--eyebrow);color:var(--eyebrow)}
.btn-sm{padding:10px 20px;font-size:13px}

.icon{
  width:52px;height:52px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:14px;
  background:rgba(225,82,92,.16);
  border:1px solid rgba(225,82,92,.4);
  color:var(--eyebrow);
  flex-shrink:0;
  transition:background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.icon svg{width:26px;height:26px;stroke-width:1.8}

/* ---------------- Header ---------------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:22px 0;
  transition:background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  padding:14px 0;
  background:rgba(6,20,41,.82);
  backdrop-filter:blur(14px);
  border-color:var(--line-soft);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{height:60px;width:auto;display:block}
.brand-tag{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.55);border-left:1px solid var(--line);padding-left:12px;margin-left:2px;white-space:nowrap}
@media (max-width:1300px){ .brand-tag{display:none} }
.main-nav{display:flex;align-items:center;gap:22px}
.main-nav a:not(.btn){font-size:13.5px;font-weight:500;color:rgba(255,255,255,.82);position:relative;padding:4px 0;white-space:nowrap}
.main-nav a:not(.btn)::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--eyebrow);transform:scaleX(0);transition:transform .3s var(--ease)}
.main-nav a:not(.btn):hover{color:var(--white)}
.main-nav a:not(.btn):hover::after{transform:scaleX(1)}
.main-nav a.btn{flex-shrink:0}
.header-cta{display:flex;align-items:center;gap:18px}
.burger{display:none;width:26px;height:20px;position:relative;flex-direction:column;justify-content:space-between}
.burger span{display:block;height:2px;background:var(--white);border-radius:2px;transition:transform .3s,opacity .3s}
.burger.open span:nth-child(1){transform:translateY(9px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

/* Mobile : le menu remplit tout l'écran ; le reste de la page glisse vers la gauche (effet "push")
   pendant que le menu arrive depuis la droite. Le burger reste au-dessus du menu pour pouvoir
   le refermer (icône burger → croix). */
@media (max-width:960px){
  .main-nav{
    position:fixed;inset:0;
    width:100%;height:100%;height:100dvh;
    background:#0a1b36;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    padding:32px;
    gap:8px;
    transform:translateX(100%);
    transition:transform .45s var(--ease);
    border-left:none;
    z-index:150;
  }
  .main-nav.open{transform:translateX(0)}
  .main-nav a:not(.btn){font-size:24px;padding:12px 0;width:100%}
  .main-nav a.btn{margin-top:20px}
  .burger{display:flex;position:relative;z-index:160}

  body.nav-open{overflow:hidden}
  main, .site-footer{transition:transform .45s var(--ease)}
  body.nav-open main, body.nav-open .site-footer{transform:translateX(-100%)}
  body.nav-open .whatsapp-float{opacity:0;pointer-events:none;transition:opacity .25s}
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative;
  overflow:hidden;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  padding-top:140px;
  border-top:none;
}
.hero .container{
  display:flex;
  align-items:center;
}
.hero-copy{width:56%;max-width:640px;flex-shrink:0}
.hero-copy h1{margin-bottom:22px}
.hero-copy h1 .line{display:block}
.hero-copy .baseline{font-size:17px;color:rgba(255,255,255,.78);max-width:520px;margin-bottom:36px}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:44px}
.hero-stats{display:flex;gap:36px;flex-wrap:wrap}
.hero-stats div b{display:block;font-family:var(--ff-display);font-size:22px;color:var(--white)}
.hero-stats div span{font-size:12px;color:rgba(255,255,255,.6)}

/* Galeries défilantes plaquées au bord droit de la page (full-bleed, pas de container), sous le header */
.hero-galleries{
  position:absolute;
  top:132px;
  right:0;
  bottom:0;
  width:42vw;
  overflow:hidden;
  pointer-events:none;
  mask-image:linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  -webkit-mask-image:linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
}
/* Un seul bloc rigide incliné (les deux colonnes ensemble) : les cartes restent parfaitement
   alignées entre elles, contrairement à une rotation appliquée carte par carte. Surdimensionné
   et centré pour ne laisser aucun espace vide dans les coins de la zone visible. */
.hero-galleries-inner{
  position:absolute;
  top:50%;
  left:50%;
  width:90%;
  height:90%;
  display:flex;
  gap:16px;
  transform:translate(-50%,-50%) rotate(4deg);
  transform-origin:center;
}
.gallery-col{flex:1;display:flex;flex-direction:column;gap:22px;min-width:0}
.gallery-col img{
  border-radius:var(--radius-md);
  border:1px solid var(--line);
  box-shadow:0 20px 40px -24px rgba(0,0,0,.6);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
  pointer-events:auto;
}
.gallery-col img:hover{transform:scale(1.045);box-shadow:0 26px 50px -22px rgba(0,0,0,.7)}
.gallery-track{display:flex;flex-direction:column;gap:22px;animation:scrollUp 34s linear infinite}
.gallery-col.reverse .gallery-track{animation-name:scrollDown}
@keyframes scrollUp{ from{transform:translateY(0)} to{transform:translateY(-50%)} }
@keyframes scrollDown{ from{transform:translateY(-50%)} to{transform:translateY(0)} }
@media (prefers-reduced-motion: reduce){
  .gallery-track{animation:none}
}

/* Mobile : le hero-copy occupe seul le premier écran (100vh/100vw, header compris dans le
   padding-top), les 3 stats tiennent sur une seule ligne, et hero-galleries redescend sous
   ce premier écran en bandeau horizontal de hauteur fixe (45vh) qui défile en 2 bandeaux
   opposés — plus d'inclinaison ni de recadrage 90%/130%, pas de risque de débordement. */
@media (max-width:960px){
  .hero{padding-top:0;align-items:stretch;min-height:0;flex-direction:column}
  .hero .container{flex-direction:column}
  .hero-copy{
    width:100%;max-width:none;
    min-height:100vh;
    min-height:100dvh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding-top:112px;
  }

  .hero-stats{flex-wrap:nowrap;gap:14px}
  .hero-stats div{flex:1;min-width:0}
  .hero-stats div b{font-size:18px}
  .hero-stats div span{font-size:10.5px;white-space:nowrap}

  .hero-galleries{
    position:relative;
    top:auto;right:auto;bottom:auto;
    width:100%;
    height:45vh;
    margin-top:0;
    mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  }
  .hero-galleries-inner{
    position:static;
    width:100%;height:100%;
    display:flex;
    flex-direction:column;
    gap:14px;
    transform:none;
  }
  .gallery-col{flex:1;flex-direction:row;gap:14px;min-height:0}
  .gallery-track{flex-direction:row;gap:14px;height:100%;animation-name:scrollLeftMobile;animation-duration:26s}
  .gallery-col.reverse .gallery-track{animation-name:scrollRightMobile}
  .gallery-col img{height:100%;width:auto;aspect-ratio:16/11;flex-shrink:0;object-fit:cover}
}
@keyframes scrollLeftMobile{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes scrollRightMobile{ from{transform:translateX(-50%)} to{transform:translateX(0)} }

/* ---------------- WhatsApp flottant ---------------- */
.whatsapp-float{
  position:fixed;
  right:26px;bottom:26px;
  z-index:90;
  width:60px;height:60px;
  border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 26px -8px rgba(37,211,102,.7);
  transition:transform .3s var(--ease);
}
.whatsapp-float:hover{transform:scale(1.08)}
.whatsapp-float svg{width:28px;height:28px;fill:#fff}

/* ---------------- Qui sommes-nous ---------------- */
.about .container{display:grid;grid-template-columns:.85fr 1.15fr;gap:64px;align-items:start}
.about-photo{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);aspect-ratio:4/5;position:relative}
.about-photo .placeholder{
  position:absolute;inset:0;
  background:linear-gradient(150deg, rgba(0,100,187,.20), rgba(179,50,183,.20));
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px;
}
.about-photo .placeholder svg{width:56px;height:56px;opacity:.5}
.about-photo .placeholder span{font-size:12px;color:rgba(255,255,255,.55);max-width:220px}
.about-text h3{font-size:23px;margin-bottom:18px;line-height:1.3}
.about-text p{margin-bottom:16px;max-width:640px}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:40px;padding-top:32px;border-top:1px solid var(--line-soft)}
.stat b{display:block;font-family:var(--ff-display);font-size:clamp(24px,2.6vw,34px);color:var(--white)}
.stat span{font-size:12.5px;color:rgba(255,255,255,.6);display:block;margin-top:6px}

@media (max-width:900px){
  .about .container{grid-template-columns:1fr;gap:36px}
  .about-photo{aspect-ratio:16/9}
  .stat-row{grid-template-columns:repeat(2,1fr)}
}

/* ---------------- Services ---------------- */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.service-card{
  position:relative;
  background:var(--card-bg);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);
  padding:32px 28px;
  transition:background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover{
  background:var(--card-bg-hover);
  border-color:rgba(56,146,255,.55);
  transform:translateY(-6px);
  box-shadow:0 0 0 1px rgba(56,146,255,.35), 0 0 70px 6px rgba(0,100,187,.45), 0 30px 60px -20px rgba(0,0,0,.6);
}
.service-card:hover .icon{
  background:linear-gradient(135deg,var(--grad-a),var(--grad-b));
  border-color:transparent;
  color:var(--white);
  transform:scale(1.06);
}
.service-card .icon{margin-bottom:20px}
.service-card p{font-size:14.5px;margin-bottom:18px}
.card-link{font-size:13px;font-weight:700;color:var(--eyebrow);display:inline-flex;align-items:center;gap:6px}
.card-link svg{width:14px;height:14px;transition:transform .3s var(--ease)}
.service-card:hover .card-link svg{transform:translateX(4px)}

@media (max-width:960px){ .services-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:640px){ .services-grid{grid-template-columns:1fr} }

/* ---------------- Atouts ---------------- */
.atouts-layout{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:60px;
  align-items:center;
  max-width:1180px;
  margin:0 auto;
}
.atouts-list{display:flex;flex-direction:column;gap:28px}
.atouts-list li{display:flex;align-items:flex-start;gap:18px}
.atouts-list .icon{margin-top:2px}
.atouts-list h3{font-size:16.5px;margin-bottom:5px}
.atouts-list p{font-size:13.5px}

.atouts-card{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:46px 38px 40px;
  background:linear-gradient(165deg, rgba(0,100,187,.24), rgba(107,76,179,.2) 55%, rgba(179,50,183,.24));
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:0 40px 80px -40px rgba(0,0,0,.6);
}
.atouts-card .eyebrow{margin-bottom:16px}
.atouts-card-title{
  font-family:var(--ff-body);
  font-weight:700;
  font-size:23px;
  line-height:1.35;
  color:var(--white);
  margin-bottom:34px;
}
.atouts-orbit{position:relative;width:170px;height:170px;margin:0 auto 36px}
.orbit-ring{position:absolute;inset:0;border-radius:50%;border:1px dashed rgba(255,255,255,.28);animation:orbitSpin 22s linear infinite}
.orbit-ring.ring-2{inset:24px;border-color:rgba(255,255,255,.4);animation-duration:16s;animation-direction:reverse}
@keyframes orbitSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
.atouts-logo{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60px;height:auto;filter:drop-shadow(0 6px 18px rgba(0,0,0,.4))}
.orbit-dot{position:absolute;width:12px;height:12px;border-radius:50%;box-shadow:0 0 14px 3px currentColor}
.orbit-dot.dot-1{top:-6px;left:50%;margin-left:-6px;background:var(--grad-b);color:var(--grad-b)}
.orbit-dot.dot-2{top:22px;right:-2px;background:var(--grad-mid);color:var(--grad-mid)}
.orbit-dot.dot-3{bottom:-6px;left:50%;margin-left:-6px;background:var(--grad-a);color:var(--grad-a)}
.orbit-dot.dot-4{bottom:22px;left:-2px;background:var(--grad-mid);color:var(--grad-mid)}
.atouts-checks{display:flex;flex-direction:column;gap:12px;text-align:left;max-width:230px;margin:0 auto}
.atouts-checks li{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:600;color:var(--white)}
.atouts-checks svg{width:18px;height:18px;color:var(--eyebrow);flex-shrink:0}

@media (max-width:900px){
  .atouts-layout{grid-template-columns:1fr;gap:44px}
  .atouts-card{max-width:420px;margin:0 auto}
}
@media (prefers-reduced-motion: reduce){
  .orbit-ring{animation:none}
}

/* ---------------- Process ---------------- */
.process-list{display:flex;flex-direction:column;max-width:760px;margin:0 auto}
.process-step{display:grid;grid-template-columns:64px 1fr;gap:28px}
.step-track{display:flex;flex-direction:column;align-items:center}
.step-num{
  width:52px;height:52px;border-radius:50%;
  border:1px solid var(--accent);
  background:rgba(185,37,46,.14);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--ff-display);font-size:17px;color:var(--white);
  flex-shrink:0;
}
.step-line{width:1px;flex:1;background:var(--line);margin:6px 0;min-height:40px}
.process-step:last-child .step-line{display:none}
.step-card{background:var(--card-bg);border:1px solid var(--line-soft);border-radius:var(--radius-md);padding:26px 28px;margin-bottom:28px}
.step-card .kicker{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--eyebrow);font-weight:700;display:block;margin-bottom:6px}
.step-card p{font-size:14.5px}
.process-cta{text-align:center;margin-top:52px}
.process-cta p{margin-top:14px;font-size:13.5px;color:rgba(255,255,255,.65)}

/* ---------------- Témoignages ---------------- */
.testimonials-wrap{position:relative;max-width:760px;margin:0 auto}
.testi-track{overflow:hidden;border-radius:var(--radius-lg)}
.testi-slides{display:flex;transition:transform .5s var(--ease)}
.testi-slide{min-width:100%;background:var(--card-bg);border:1px solid var(--line-soft);border-radius:var(--radius-lg);padding:44px 40px;text-align:center}
.stars{color:var(--eyebrow);font-size:16px;letter-spacing:3px;margin-bottom:18px}
.testi-slide p{font-size:16.5px;line-height:1.7;max-width:560px;margin:0 auto 26px}
.testi-person{display:flex;align-items:center;justify-content:center;gap:12px}
.testi-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--grad-a),var(--grad-b));flex-shrink:0}
.testi-person b{display:block;font-size:14px}
.testi-person span{display:block;font-size:12px;color:rgba(255,255,255,.6)}
.testi-dots{display:flex;justify-content:center;gap:10px;margin-top:28px}
.testi-dots button{width:9px;height:9px;border-radius:50%;background:var(--line);transition:background .3s,transform .3s}
.testi-dots button.active{background:var(--eyebrow);transform:scale(1.3)}

/* ---------------- FAQ ---------------- */
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.faq-item{
  background:var(--card-bg);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-md);
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.faq-item.open{background:var(--card-bg-hover);border-color:var(--line)}
.faq-q{
  width:100%;
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;
  padding:22px 24px;
  text-align:left;
  font-family:var(--ff-body);
  font-weight:700;
  font-size:16px;
  color:var(--white);
  transition:color .3s var(--ease);
}
.faq-q:hover{color:var(--eyebrow)}
.faq-q .plus{width:22px;height:22px;flex-shrink:0;position:relative}
.faq-q .plus::before,.faq-q .plus::after{content:"";position:absolute;background:var(--eyebrow);border-radius:2px;transition:transform .3s var(--ease)}
.faq-q .plus::before{left:0;top:50%;width:100%;height:2px;transform:translateY(-50%)}
.faq-q .plus::after{top:0;left:50%;width:2px;height:100%;transform:translateX(-50%)}
.faq-item.open .faq-q .plus::after{transform:translateX(-50%) rotate(90deg);opacity:0}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.faq-a p{padding:0 24px 22px;font-size:14.5px;max-width:700px}

/* ---------------- Blog ---------------- */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:44px}
.blog-card{background:var(--card-bg);border:1px solid var(--line-soft);border-radius:var(--radius-lg);overflow:hidden;transition:transform .3s var(--ease), border-color .3s}
.blog-card:hover{transform:translateY(-4px);border-color:var(--line)}
.blog-thumb{height:150px;overflow:hidden;background:linear-gradient(150deg,var(--grad-a),var(--grad-b))}
.blog-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease)}
.blog-card:hover .blog-thumb img{transform:scale(1.06)}
.blog-body{padding:24px 26px}
.blog-meta{display:flex;gap:12px;font-size:11.5px;color:rgba(255,255,255,.55);text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.blog-meta .cat{color:var(--eyebrow);font-weight:700}
.blog-body h3{font-size:17px;margin-bottom:10px}
.blog-body p{font-size:13.5px;margin-bottom:16px}
.blog-actions{text-align:center}
@media (max-width:960px){ .blog-grid{grid-template-columns:1fr} }

/* ---------------- Page Blog (archive) ---------------- */
.blog-hero{border-top:none;padding:200px 0 24px}
.blog-hero .section-head{margin-bottom:0}
.blog-hero-sub{max-width:560px;margin:18px auto 0;color:rgba(255,255,255,.75);font-size:15.5px}

.blog-listing{padding-top:16px}

.blog-featured{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  background:var(--card-bg);
  border:1px solid var(--line-soft);
  border-radius:var(--radius-lg);
  overflow:hidden;
  margin-bottom:56px;
}
.blog-featured-media{min-height:320px;overflow:hidden;background:linear-gradient(150deg,var(--grad-a),var(--grad-mid) 55%,var(--grad-b))}
.blog-featured-media img{width:100%;height:100%;object-fit:cover;display:block}
.blog-featured-body{padding:48px 52px;display:flex;flex-direction:column;justify-content:center}
.blog-featured-body .blog-meta{margin-bottom:16px}
.blog-featured-body h2{font-size:clamp(22px,2.3vw,30px);margin-bottom:16px}
.blog-featured-body p{font-size:15px;margin-bottom:28px;max-width:520px}
@media (max-width:960px){
  .blog-featured{grid-template-columns:1fr}
  .blog-featured-media{min-height:200px}
  .blog-featured-body{padding:32px 28px}
}

.blog-loader{
  display:flex;align-items:center;justify-content:center;gap:10px;
  height:0;overflow:hidden;opacity:0;
  font-size:13px;color:rgba(255,255,255,.6);
  transition:opacity .3s var(--ease);
}
.blog-loader.active{height:auto;opacity:1;padding:30px 0}
.blog-loader .spinner{
  width:16px;height:16px;border-radius:50%;
  border:2px solid var(--line);border-top-color:var(--eyebrow);
  animation:blogSpin .8s linear infinite;
}
@keyframes blogSpin{ to{transform:rotate(360deg)} }
.blog-end{text-align:center;padding:12px 0 0;font-size:13.5px;color:rgba(255,255,255,.55)}

.blog-cta-banner{
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  background:linear-gradient(120deg, rgba(0,100,187,.25), rgba(179,50,183,.22));
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:48px 56px;
}
.blog-cta-banner p{opacity:.8;margin-top:6px}
.blog-cta-banner .btn{flex-shrink:0}
@media (max-width:768px){
  .blog-cta-banner{flex-direction:column;text-align:center;padding:36px 28px}
}

/* ---------------- Page Article (single) ---------------- */
.article-hero{
  border-top:none;
  position:relative;
  min-height:52vh;
  display:flex;
  align-items:flex-end;
  padding:200px 0 56px;
  overflow:hidden;
}
.article-hero-media{position:absolute;inset:0;z-index:-1}
.article-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.article-hero-media::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(6,20,41,.5) 0%, rgba(6,20,41,.78) 60%, var(--bg) 100%);
}
.article-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;color:rgba(255,255,255,.65);margin-bottom:18px}
.article-breadcrumb a{color:rgba(255,255,255,.65);transition:color .2s}
.article-breadcrumb a:hover{color:var(--white)}
.article-hero h1{max-width:820px;margin-bottom:18px}
.article-hero-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:rgba(255,255,255,.72)}
.article-hero-meta span{display:inline-flex;align-items:center;gap:6px}

/* overflow-x:hidden hérité de la règle générique "section" transforme silencieusement
   overflow-y en "auto" (règle CSS : visible+non-visible -> auto), ce qui casse le
   position:sticky de la sidebar (nouveau conteneur de scroll imbriqué). Cette section
   ne contient pas de halo à offset négatif, donc aucun risque à repasser en visible. */
.article-body{padding-top:56px;overflow:visible}
/* align-items:start est indispensable : par défaut (stretch), la sidebar est étirée à la
   hauteur de la colonne de contenu, ce qui empêche position:sticky de s'activer. */
.article-layout{display:grid;grid-template-columns:1fr 280px;gap:64px;align-items:start}

.article-content{max-width:720px}
.article-content > *{margin-bottom:22px}
.article-content h2{font-family:var(--ff-body);font-weight:800;font-size:24px;margin-top:14px;scroll-margin-top:120px}
.article-content h3{font-size:18px;scroll-margin-top:120px}
.article-content p{font-size:16px;line-height:1.75;color:rgba(255,255,255,.85);text-align:justify;text-justify:inter-word;hyphens:auto}
.article-content ul,.article-content ol{padding-left:22px;color:rgba(255,255,255,.85)}
.article-content li{margin-bottom:8px;line-height:1.65}
.article-content blockquote{
  border-left:3px solid var(--eyebrow);
  padding:4px 0 4px 22px;
  font-family:var(--ff-body);
  font-size:18px;
  font-style:italic;
  color:var(--white);
}
.article-content figure{margin:0}
.article-content figure img{width:100%;border-radius:var(--radius-md);display:block}
.article-content figcaption{font-size:12.5px;color:rgba(255,255,255,.55);margin-top:10px;text-align:center}

.article-sidebar{position:sticky;top:110px;display:flex;flex-direction:column;gap:28px}
.article-toc, .article-share{border:1px solid var(--line-soft);border-radius:var(--radius-md);padding:22px;background:var(--card-bg)}
.article-toc-title, .article-share-title{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:14px}
.article-toc ul{list-style:none}
.article-toc li{margin-bottom:2px}
.article-toc a{
  display:block;
  padding:7px 0 7px 14px;
  border-left:2px solid var(--line-soft);
  font-size:13.5px;
  color:rgba(255,255,255,.65);
  transition:color .2s, border-color .2s;
}
.article-toc a.sub{padding-left:26px;font-size:12.5px}
.article-toc a:hover{color:var(--white)}
.article-toc a.active{color:var(--eyebrow);border-color:var(--eyebrow);font-weight:600}

.article-share-buttons{display:flex;gap:10px}
.article-share-buttons a, .article-share-buttons button{
  width:38px;height:38px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.05);border:1px solid var(--line-soft);
  color:var(--white);transition:background .25s, border-color .25s;
  position:relative;
}
.article-share-buttons svg{width:16px;height:16px}
.article-share-buttons a:hover, .article-share-buttons button:hover{background:var(--accent);border-color:var(--accent)}
.article-share-buttons button.copied{background:var(--eyebrow);border-color:var(--eyebrow)}
.article-share-buttons .copied-tip{
  position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);
  background:var(--white);color:var(--bg);font-size:11px;font-weight:700;
  padding:4px 9px;border-radius:6px;white-space:nowrap;
  opacity:0;pointer-events:none;transition:opacity .2s;
}
.article-share-buttons button.copied .copied-tip{opacity:1}

@media (max-width:1080px){
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{position:static;flex-direction:row;flex-wrap:wrap}
  .article-toc, .article-share{flex:1;min-width:240px}
}
@media (max-width:600px){
  .article-hero{min-height:auto;padding:170px 0 36px}
  .article-sidebar{flex-direction:column}
}

/* ---------------- Contact ---------------- */
.contact .container{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px}
.contact-intro p{margin-bottom:36px;max-width:420px}
.contact-item{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px}
.contact-item .icon{width:44px;height:44px;margin-top:2px}
.contact-item .icon svg{width:20px;height:20px}
.contact-item b{display:block;font-size:15px;margin-bottom:3px}
.contact-item a,.contact-item span:not(.icon){font-size:13.5px;color:rgba(255,255,255,.7);display:block}
.contact-item a:hover{color:var(--eyebrow)}
.social-links{display:flex;gap:10px}
.social-links a{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(225,82,92,.16);border:1px solid rgba(225,82,92,.4);
  color:var(--eyebrow);
  transition:background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.social-links a svg{width:17px;height:17px}
.social-links a:hover{background:linear-gradient(135deg,var(--grad-a),var(--grad-b));border-color:transparent;color:var(--white);transform:translateY(-3px)}

.contact-form{
  position:relative;
  z-index:3;
  background:rgba(2,8,20,.55);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:38px 36px;
  box-shadow:0 40px 80px -50px rgba(0,0,0,.6);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.field{margin-bottom:16px}
.field label{display:block;font-size:12.5px;font-weight:600;margin-bottom:8px;color:rgba(255,255,255,.75)}
.field input,.field textarea{
  width:100%;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px 14px;
  color:var(--white);
  font-size:14px;
  transition:border-color .3s;
}
.field input::placeholder,.field textarea::placeholder{color:rgba(255,255,255,.35)}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--eyebrow)}

/* Zone de dépôt de fichier façon "dropzone" */
.file-drop{
  position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:6px;
  border:1.5px dashed var(--line);
  border-radius:14px;
  padding:26px 20px;
  text-align:center;
  cursor:pointer;
  background:rgba(255,255,255,.04);
  transition:border-color .3s, background .3s;
}
.file-drop:hover{border-color:var(--eyebrow);background:rgba(225,82,92,.08)}
.file-drop svg{width:26px;height:26px;color:var(--eyebrow)}
.file-drop-title{font-size:13.5px;font-weight:700;color:var(--white)}
.file-drop-sub{font-size:11.5px;color:rgba(255,255,255,.5)}
.file-input-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.field-check{display:flex;align-items:flex-start;gap:10px;margin:22px 0}
.field-check input{width:16px;height:16px;margin-top:3px;accent-color:var(--accent)}
.field-check label{font-size:12.5px;color:rgba(255,255,255,.65);line-height:1.5}
.field-check a{color:var(--eyebrow);text-decoration:underline}
.form-note{font-size:11.5px;color:rgba(255,255,255,.45);margin-top:14px}

@media (max-width:900px){
  .contact .container{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
}

/* ---------------- Footer ---------------- */
.site-footer{padding:36px 0;border-top:1px solid var(--line-soft)}
.site-footer .container{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.site-footer p{font-size:13px;color:rgba(255,255,255,.55)}
.footer-links{display:flex;gap:22px;flex-wrap:wrap}
.footer-links a{font-size:13px;color:rgba(255,255,255,.55)}
.footer-links a:hover{color:var(--eyebrow)}
@media (max-width:600px){
  .site-footer .container{flex-direction:column;text-align:center;justify-content:center;gap:14px}
  .site-footer p{font-size:11.5px}
  .footer-links{justify-content:center;gap:16px}
  .footer-links a{font-size:11.5px}
}

/* ---------------- Utilities ---------------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease), transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
}
