  :root{
    --bg: #06090b;
    --bg-2: #0a0f12;
    --panel-border: rgba(46, 230, 224, 0.28);
    --cyan: #2ee6e0;
    --cyan-soft: rgba(46, 230, 224, 0.55);
    --white: #f3f7f8;
    --muted: #9aa7ac;
    --muted-2: #7c8a8f;
    --card-bg: linear-gradient(180deg, rgba(46,230,224,0.03), transparent);
  }

  @keyframes pulseGlow{
    0%, 100%{
      box-shadow: 0 0 0px rgba(46,230,224,0);
      border-color: var(--panel-border);
    }
    50%{
      box-shadow: 0 0 30px rgba(46,230,224,0.35), 0 0 60px rgba(46,230,224,0.12);
      border-color: rgba(46,230,224,0.65);
    }
  }

  *{ box-sizing: border-box; }

  html{ scroll-behavior: smooth; background: var(--bg); }

  body{
    margin:0;
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  }

  a, button{ font-family: inherit; }

  .wrap{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(0px, 5vw, 70px);
  }

  /* ---------- HERO ---------- */

  .hero{
    position: relative;
    min-height: 650px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
    padding-top: clamp(88px, 10vh, 128px);
    padding-bottom: 0;
  }

  .hero-left{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    z-index: 3;
    transform: translateY(clamp(-18px, -2vh, 0px));
  }

  .logo{
    display: block;
    width: clamp(288px, 32vw, 450px);
    height: auto;
    filter: drop-shadow(0 0 18px rgba(46,230,224,0.35)) drop-shadow(0 0 40px rgba(46,230,224,0.12));
  }

  .headline{
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(2.16rem, 3.72vw, 3.24rem);
    line-height: 1.06;
    letter-spacing: 0.01em;
    margin: 26px 0 0 0;
  }

  .headline .accent{
    color: var(--cyan);
    text-shadow: 0 0 22px rgba(46,230,224,0.45);
  }

  .headline-divider{
    width: 56px;
    height: 3px;
    background: var(--cyan);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(46,230,224,0.5);
    margin: 18px 0 0 0;
  }

  .sub{
    max-width: 44ch;
    color: var(--muted);
    font-size: clamp(1.03rem, 1.1vw, 1.14rem);
    line-height: 1.6;
    font-weight: 400;
    margin: 10px 0 0 0;
  }

  .cta-row{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin-top: 34px;
  }

  .btn-primary{
    background: var(--cyan);
    color: #041012;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.89rem;
    padding: 17px 28px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 0 0px rgba(46,230,224,0);
    transition: box-shadow .25s ease, transform .2s ease, background .25s ease;
  }
  .btn-primary:hover{
    box-shadow: 0 0 32px rgba(46,230,224,0.55);
    transform: translateY(-1px);
  }
  .btn-primary svg{ width: 16px; height: 16px; transition: transform .25s ease; }
  .btn-primary:hover svg{ transform: translateX(4px); }

  .btn-primary:focus-visible{
    outline: 2px solid var(--white);
    outline-offset: 3px;
  }

  /* ---------- HERO RIGHT VISUAL ---------- */

  .hero-right{
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: clamp(0px, 6vh, 54px);
    z-index: 1;
  }

  .figures{
    position: relative;
    display: block;
    width: 100%;
    max-width: 1138px;
    height: auto;
    margin-bottom: -1px;
    margin-left: clamp(-112px, -8vw, 0px);
    z-index: 2;
    transform: scale(1.15);
    transform-origin: bottom center;
    filter:
      drop-shadow(0 6px 14px rgba(0,0,0,0.7))
      drop-shadow(0 0 3px rgba(46,230,224,0.65))
      drop-shadow(0 0 8px rgba(46,230,224,0.42))
      drop-shadow(0 0 14px rgba(46,230,224,0.22));
  }

  /* ---------- FEATURES STRIP ---------- */

  .features{
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    background: var(--bg);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: -6vh 0 9.75vh 0;
    position: relative;
    z-index: 3;
  }

  .feature{
    padding: 34px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    border-right: 1px solid var(--panel-border);
  }
  .feature:last-child{ border-right: none; }

  .feature-icon{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--cyan-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    box-shadow: 0 0 12px rgba(46,230,224,0.35), 0 0 24px rgba(46,230,224,0.15);
  }
  .feature-icon svg{ width: 20px; height: 20px; }

  .feature h3, .feature h2{
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.86rem;
    color: var(--cyan);
    margin: 0;
    text-shadow: 0 0 10px rgba(46,230,224,0.5), 0 0 20px rgba(46,230,224,0.25);
  }

  .feature p{
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted-2);
    line-height: 1.5;
  }

  /* ---------- RESPONSIVE ---------- */

  @media (max-width: 980px){
    .hero{ grid-template-columns: 1fr; padding-top: 6vh; }
    .hero-right{ min-height: 46vh; order: -1; margin-bottom: 2rem; }
    .hero-left{ padding-right: 0; transform: none; }
    .figures{ width: min(98vw, 680px); max-width: 98vw; margin-left: 0; }
    .features{ grid-template-columns: repeat(6, 1fr); }
    .feature{ grid-column: span 2; }
    .feature:nth-child(4), .feature:nth-child(5){ grid-column: span 3; }
    .feature:nth-child(3){ border-right: none; }
    .feature{ border-bottom: 1px solid var(--panel-border); }
    .feature:nth-child(4), .feature:nth-child(5), .feature:nth-child(6){ border-bottom: none; }
  }

  @media (max-width: 560px){
    .features{ grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(2n){ border-right: none; }
    .feature:nth-child(odd){ border-right: 1px solid var(--panel-border); }
    .feature:nth-child(-n+4){ border-bottom: 1px solid var(--panel-border); }
    .feature:nth-child(5), .feature:nth-child(6){ border-bottom: none; }
    .features{ grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(n){ grid-column: auto; }
    .feature:nth-child(5){ grid-column: 1 / -1; border-right: none; }
  }

  /* Ordinateur uniquement : le bloc logo / titre / paragraphe est centré verticalement sur l'image (sans changer son alignement interne) */
  @media (min-width: 981px){
    .hero-left{
      align-self: end;
      justify-content: center;
      transform: none;
      height: 0;
      margin-bottom: calc(clamp(0px, 6vh, 54px) + 0.213 * min(90vw, 1260px) - 17px); /* 17 px = moitié du .cta-row désormais vide */
    }
    .hero-left > *{ flex-shrink: 0; }
  }

  /* ---------- HEADER / NAVBAR ---------- */
  .site-header{
    position: sticky;
    top: 14px;
    z-index: 100;
    max-width: 1260px;
    width: calc(100% - clamp(0px, 10vw, 140px));
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0px, 2vw, 24px);
    padding: 14px 36px;
    border-radius: 999px;
    background: rgba(6, 9, 11, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 230, 224, 0.45);
    box-shadow: 0 0 18px rgba(46, 230, 224, 0.25), 0 0 45px rgba(46, 230, 224, 0.08), inset 0 0 12px rgba(46,230,224,0.05);
  }
  .site-header .logo-mark{ height: clamp(38px, 4.2vw, 54px); width: auto; filter: drop-shadow(0 0 6px rgba(46,230,224,0.6)); flex-shrink: 0; }
  .site-nav{ display:flex; align-items:center; gap: clamp(34px, 5.4vw, 88px); list-style:none; margin:0; padding:0; flex-wrap: nowrap; }
  .site-nav a{
    font-family:'Rajdhani', sans-serif;
    font-weight:600;
    letter-spacing:0.03em;
    font-size: clamp(0.7rem, 0.95vw, 0.92rem);
    text-transform:uppercase;
    color: var(--muted);
    text-decoration:none;
    white-space:nowrap;
    padding-bottom:6px;
    position:relative;
    transition: color .2s, text-shadow .2s;
  }
  .site-nav a:hover{ color: var(--white); text-shadow: 0 0 10px rgba(46,230,224,0.6), 0 0 20px rgba(46,230,224,0.35); }
  .site-nav a.active{ color: var(--cyan); }
  .site-nav a.active::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:2px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-soft);
    border-radius:2px;
  }
  .header-actions{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
  .logo-link{ display:flex; align-items:center; text-decoration:none; line-height:0; }
  .mobile-menu-btn{
    display: none;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--panel-border);
    background: transparent;
    color: var(--cyan);
    align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: box-shadow .2s, border-color .2s;
  }
  .mobile-menu-btn:hover{ border-color: var(--cyan); box-shadow: 0 0 14px rgba(46,230,224,0.5); }
  .mobile-menu-btn svg{ width: 18px; height: 18px; }
  .hero-beam-mobile{ display: none; }
  .brk-mobile{ display: none; }
  .brk-desktop{ display: inline; }

  .mobile-nav-overlay{
    position: relative;
    z-index: 90;
    background: rgba(6, 9, 11, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    max-height: 0;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: max-height .35s ease, box-shadow .35s ease, border-color .35s ease;
  }
  .mobile-nav-overlay.open{
    max-height: 600px;
    border-bottom: 1px solid var(--cyan);
    box-shadow: 0 2px 18px rgba(46, 230, 224, 0.45), 0 4px 40px rgba(46, 230, 224, 0.2);
  }
  .mobile-nav-links{
    list-style:none; margin:0; padding: 24px 24px 28px;
    display:flex; flex-direction:column; gap: 22px;
  }
  .mobile-nav-links a{
    font-family:'Rajdhani', sans-serif; font-weight:700; text-transform:uppercase;
    letter-spacing:0.03em; font-size: 1.05rem; color: var(--muted); text-decoration:none;
    display: block;
    transition: color .2s, text-shadow .2s;
  }
  .mobile-nav-links a:hover{ color: var(--cyan); text-shadow: 0 0 10px rgba(46,230,224,0.7), 0 0 20px rgba(46,230,224,0.4); }
  .mobile-nav-links a.active{ color: var(--cyan); }

  @media (max-width: 980px){
    .site-header{ flex-wrap: wrap; border-radius: 26px; justify-content:center; }
    .site-nav{ order:3; width:100%; justify-content:center; flex-wrap:wrap; row-gap:10px; padding-top:10px; border-top:1px solid var(--panel-border); margin-top:8px; }
  }

  /* ---------- GOALS / HOW IT WORKS SECTION ---------- */
  .goals-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 0 0 10vh 0;
  }
  .goals-card{
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    background: var(--card-bg);
    padding: 32px 32px 40px;
    transition: border-color .25s, box-shadow .25s;
  }
  .goals-card:hover{
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(46,230,224,0.35), 0 0 60px rgba(46,230,224,0.15), inset 0 0 20px rgba(46,230,224,0.06);
  }
  .goals-card h2{
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.04em;
    font-size: clamp(1.25rem, 1.7vw, 1.65rem);
    color: var(--white);
    text-shadow: 0 0 18px rgba(46,230,224,0.35);
    margin: 0 0 26px 0;
  }

  /* How it works steps */

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

  /* ---------- SOLUTION FOR ALL (replaces goals-section) ---------- */
  .solution-section{ margin-bottom: 9.75vh; }
  .solution-header{
    text-align: center;
    margin-bottom: 40px;
  }
  .solution-header h2{
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: clamp(1.5rem, 2.6vw, 2.3rem);
    color: var(--white);
    text-shadow: 0 0 22px rgba(46,230,224,0.4);
    margin: 0 0 12px 0;
  }
  .solution-header p{
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0 0 18px 0;
  }
  .solution-divider{
    width: 60px;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan-soft);
    margin: 0 auto;
    border-radius: 2px;
  }
  .solution-grid{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
  @media (max-width: 980px){
    .solution-grid{ grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
    .solution-card{ max-width: 85%; margin: 0 auto; width: 100%; }
  }
  @media (max-width: 640px){
    .solution-grid{ grid-template-columns: 1fr; }
    .solution-card{ max-width: 78%; margin: 0 auto; width: 100%; }
  }
  .solution-card{
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    background: var(--card-bg);
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, box-shadow .25s;
  }
  .solution-card:hover{
    border-color: var(--cyan);
    box-shadow: 0 0 25px rgba(46,230,224,0.35), 0 0 60px rgba(46,230,224,0.15);
  }
  .solution-icon{
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 1px solid var(--panel-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    margin-bottom: 16px;
    box-shadow: 0 0 12px rgba(46,230,224,0.35), 0 0 24px rgba(46,230,224,0.15);
  }
  .solution-icon svg{ width: 24px; height: 24px; }
  .solution-title{
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    line-height: 1.15;
    font-size: 0.98rem;
    color: var(--white);
    margin: 0 0 10px 0;
    white-space: nowrap;
  }
  /* Écrans moyens (981–1280 px) : les 5 cartes tiennent dans la largeur (plus de carte coupée à droite) */
  @media (min-width: 981px) and (max-width: 1280px){
    .solution-grid{ grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
    .solution-card{ min-width: 0; padding: 20px 12px 14px; }
    .solution-title{ white-space: normal; font-size: clamp(0.78rem, 1.3vw, 0.98rem); min-height: 2.3em; }
  }
  .solution-card-divider{
    width: 26px; height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-soft);
    border-radius: 2px;
    margin-bottom: 14px;
  }
  .solution-image{
    width: 100%;
    height: 264px;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 16px;
    background: none;
    display: flex; align-items: flex-end; justify-content: center;
    position: relative;
  }
  .solution-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter:
      drop-shadow(0 0 4px rgba(46,230,224,0.9))
      drop-shadow(0 0 12px rgba(46,230,224,0.6))
      drop-shadow(0 0 26px rgba(46,230,224,0.35));
  }
  .solution-image svg{ width: 62%; color: rgba(46,230,224,0.55); }
  .solution-desc{
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 0 0 18px 0;
    flex: 1;
  }

  /* phones */
  .phone{
    position: relative;
    width: 172px;
    aspect-ratio: 9 / 19.3;
    background: #05070a;
    border: 2px solid rgba(46,230,224,0.35);
    border-radius: 26px;
    box-shadow: 0 0 22px rgba(46,230,224,0.18), 0 20px 50px rgba(0,0,0,0.6);
    overflow: hidden;
    flex-shrink: 0;
  }

  /* ---------- FINAL CTA ---------- */
  .final-cta-section{ padding-bottom: 12vh; }
  .final-cta-card{
    text-align: center;
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    background: var(--card-bg);
    padding: 64px 40px;
    animation: pulseGlow 5.38s ease-in-out infinite;
  }
  .final-cta-title{
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.15;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    color: var(--cyan);
    text-shadow: 0 0 22px rgba(46,230,224,0.5);
    margin: 0 0 20px 0;
    /* Filet de sécurité : sur très petit écran, un mot plus large que la
       carte (ex : "ACCOMPAGNEMENT", "TRANSFORMATION") est coupé proprement
       plutôt que de déborder du cadre. Ne change rien tant que le texte
       rentre déjà normalement (voir index.html, dont les <br class="brk-*">
       manuels évitent déjà ce cas — cette règle n'y a donc aucun effet
       visible, elle ne fait qu'ajouter une protection pour les autres
       pages qui réutilisent ce composant sans ce même découpage manuel). */
    overflow-wrap: break-word;
  }
  .final-cta-desc{
    color: var(--muted);
    font-size: 1rem;
    margin: 0 0 34px 0;
  }
  .final-cta-row{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .final-cta-primary{
    display:inline-flex; align-items:center; gap:10px;
    font-family:'Rajdhani', sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:0.02em;
    font-size:0.95rem; color:#06090b; background: var(--cyan);
    border:none; border-radius:10px; padding:17px 30px; cursor:pointer;
    box-shadow: 0 0 18px rgba(46,230,224,0.4);
    transition: filter .2s;
  }
  .final-cta-primary:hover{ filter: brightness(1.1); }
  .final-cta-secondary{
    font-family:'Rajdhani', sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:0.02em;
    font-size:0.95rem; color: var(--cyan); background: transparent;
    border:1px solid var(--cyan); border-radius:10px; padding:17px 30px; cursor:pointer;
    transition: background .2s, box-shadow .2s;
  }
  .final-cta-secondary:hover{ background: rgba(46,230,224,0.1); box-shadow: 0 0 20px rgba(46,230,224,0.5), 0 0 40px rgba(46,230,224,0.25); }

  /* ---------- FOOTER ---------- */
  .site-footer{
    position: relative;
    margin: 0 auto 14px;
    max-width: 1260px;
    width: calc(100% - clamp(0px, 10vw, 140px));
    border-radius: 28px;
    background: rgba(6, 9, 11, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 230, 224, 0.45);
    box-shadow: 0 0 18px rgba(46, 230, 224, 0.25), 0 0 45px rgba(46, 230, 224, 0.08), inset 0 0 12px rgba(46,230,224,0.05);
    padding: 36px 36px 26px;
  }
  .footer-top{
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 26px;
  }
  .footer-logo{ height: clamp(38px, 4.2vw, 54px); width: auto; filter: drop-shadow(0 0 6px rgba(46,230,224,0.6)); margin-bottom: 14px; }
  .footer-desc{ color: var(--muted); font-size: 0.85rem; line-height: 1.55; max-width: 30ch; margin: 0 0 18px 0; }
  .footer-socials{ display: flex; gap: 10px; }
  .footer-social{
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--panel-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    transition: border-color .2s, box-shadow .2s;
  }
  .footer-social:hover{ border-color: var(--cyan); box-shadow: 0 0 12px rgba(46,230,224,0.4); }
  .footer-social svg{ width: 16px; height: 16px; }
  .footer-col h4, .footer-col h3, .footer-col h2{
    font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; font-size: 0.92rem; color: var(--cyan);
    margin: 0 0 13px 0;
    text-shadow: 0 0 10px rgba(46,230,224,0.5), 0 0 20px rgba(46,230,224,0.25);
  }
  .footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
  .footer-col a{
    color: var(--muted); text-decoration: none; font-size: 0.87rem;
    transition: color .2s;
  }
  .footer-col a:hover{ color: var(--cyan); text-shadow: 0 0 10px rgba(46,230,224,0.7), 0 0 20px rgba(46,230,224,0.4); }
  .footer-bottom{
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 20px; border-top: 1px solid var(--panel-border);
    flex-wrap: wrap; gap: 10px;
  }
  .footer-copy{ color: var(--muted-2); font-size: 0.82rem; }
  .footer-tagline{
    font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; font-size: 0.78rem; color: var(--cyan);
  }

  @media (max-width: 900px){
    .footer-top{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 560px){
    .footer-top{ grid-template-columns: 1fr; }
    .site-footer{ border-radius: 22px; padding: 28px 24px 20px; }
  }

  /* ================= PHONE REDESIGN (reference mock) ================= */
  @media (max-width: 640px){

    /* ---- Header: flat full-width bar, sticky, same transparency as desktop ---- */
    .site-header{
      position: sticky;
      top: 0;
      max-width: 100%;
      width: 100%;
      margin: 0;
      padding: 13px 20px;
      border-radius: 0;
      border: none;
      border-bottom: 1px solid var(--cyan);
      background: rgba(6, 9, 11, 0.55);
      box-shadow: 0 2px 18px rgba(46, 230, 224, 0.45), 0 4px 40px rgba(46, 230, 224, 0.2);
      transition: box-shadow .35s ease, border-color .35s ease;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      justify-content: space-between;
      flex-wrap: nowrap;
    }
    .site-header.menu-open{
      border-bottom-color: rgba(255,255,255,0.1);
      box-shadow: none;
    }
    .site-nav{ display: none; }
    .header-actions{ gap: 10px; }
    .mobile-menu-btn{ display: flex; position: relative; z-index: 310; }
    .site-header .logo-mark{ height: clamp(41px, 4.54vw, 58px); }

    /* Menu mobile : reste visuellement attaché au header sticky (sinon le
       panneau se rouvre au niveau de la position d'origine du header dans
       le flux du document, avant tout scroll). --mobile-nav-offset est
       calculé dynamiquement (js/app.js) à partir de la hauteur réelle du
       header, pour que ce comportement reste correct sur toutes les pages. */
    .mobile-nav-overlay{
      position: sticky;
      top: var(--mobile-nav-offset, 0px);
      background: rgba(6, 9, 11, 0.55);
    }

    /* ---- Hero: normal stacked flow, image below buttons ---- */
    .hero{
      display: block;
      min-height: unset;
      padding: 34px 0 0;
    }
    .hero-left{
      width: 100%;
      padding: 0 22px;
      transform: none;
      align-items: center;
      text-align: center;
    }
    .cta-row{ align-items: center; }
    .logo{ width: min(83vw, 345px); }
    .headline{ font-size: clamp(1.9rem, 8vw, 2.4rem); }
    .headline-divider{ display: none; }
    .sub{ display: none; }
    .cta-row{ width: 100%; margin-top: 14px; }
    .btn-primary{
      width: 90%;
      justify-content: center;
      text-align: center;
    }

    .hero-right{
      position: static;
      width: 100%;
      min-height: 0;
      order: 0;
      margin: 34px 0 0;
      padding-bottom: 0;
      display: block;
      overflow: visible;
    }
    .figures{
      width: 110%;
      max-width: none;
      margin: 0 -5%;
      transform: none;
    }
    .hero-beam-mobile{ display: none; }

    /* Final CTA title: break before "ta" instead of after, on mobile only */
    .brk-mobile{ display: inline; }
    .brk-desktop{ display: none; }

    .features{ margin-top: 0; }

    /* ---- Mobile app card: shorter, tighter, title on one line ---- */

    .site-footer{
      max-width: 100%;
      width: 100%;
      margin: 0;
      border-radius: 0;
      border: none;
      border-top: 1px solid var(--cyan);
      background: var(--bg);
      box-shadow: 0 -2px 18px rgba(46, 230, 224, 0.45), 0 -4px 40px rgba(46, 230, 224, 0.2);
      backdrop-filter: none;
      padding: 32px 22px 22px;
    }
    .footer-logo{ height: clamp(41px, 4.54vw, 58px); }
    .footer-top{ text-align: center; }
    .footer-top > div{ display: flex; flex-direction: column; align-items: center; }
    .footer-desc{ text-align: center; }
    .footer-socials{ justify-content: center; }
    .footer-col ul{ align-items: center; }
    .footer-bottom{ justify-content: center; text-align: center; flex-direction: column; }
  }


  /* ================= TABLET ONLY (641px - 980px) ================= */
  @media (min-width: 641px) and (max-width: 980px){

    /* ---- Header on one line ---- */
    .site-header{
      flex-wrap: nowrap;
      justify-content: space-between;
      padding: 10px 18px;
      gap: 6px;
    }
    .site-nav{
      order: 0;
      width: auto;
      flex-wrap: nowrap;
      border-top: none;
      margin-top: 0;
      padding-top: 0;
      gap: clamp(18px, 4.2vw, 46px);
    }
    .site-nav a{ font-size: 0.651rem; }
    .header-actions{ gap: 6px; }
    /* Petites tablettes (641–820 px) : textes et boutons du header un peu plus grands */
    @media (max-width: 820px){
      .site-nav a{ font-size: 0.72rem; }
    }
    /* Petite tablette (641–700 px) : header resserré pour ne jamais dépasser de l'écran */
    @media (max-width: 700px){
      .site-header{ padding: 10px 14px; }
      .site-nav{ gap: 20px; }
    }

    /* ---- Hero: centered text, image below (glued to card), enlarged ---- */
    .hero{ min-height: 0; }
    .hero-left{
      order: 0;
      align-items: center;
      text-align: center;
    }
    .cta-row{ align-items: center; }
    .hero-right{
      position: static;
      order: 1;
      margin: 40px 0 0;
      padding: 0;
      min-height: 0;
      width: 100%;
      justify-content: center;
    }
    .figures{ width: min(73.5vw, 510px); max-width: 73.5vw; margin: 0; transform: none; }
    .features{ margin-top: 0; }

    /* ---- Solution grid: center the incomplete last row ---- */
    .solution-grid{
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      row-gap: 24px;
      column-gap: 20px;
    }
    .solution-card{
      flex: 0 0 calc(33.333% - 14px);
      max-width: calc(33.333% - 14px);
      margin: 0;
    }
  }

  /* ---------- TRÈS PETITS ÉCRANS (≤360px) : cartes d'atouts sans débordement ---------- */
  @media (max-width: 360px){
    .features{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature{ padding: 28px 10px; min-width: 0; }
    .feature h3, .feature h2, .feature p{ overflow-wrap: anywhere; }
  }
