/* Styles du site public (pages /, /prestations, /realisations, /a-propos, /contact).
   Les tokens (couleurs, typo, gabarit) sont dans tokens.css, chargé avant ce fichier. */
  *{ box-sizing: border-box; margin: 0; padding: 0; }
  html{ scroll-behavior: smooth; }
  html{
    overflow-x: hidden;
    max-width: 100vw;
  }
  body{
    font-family: var(--body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  /* ---------- AMBIENT BACKGROUND ---------- */
  .ambient{
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }
  .ambient::before{
    content: "";
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
  }
  .orb{
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    will-change: transform;
  }
  .orb-1{ top: -200px; left: -150px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 254,0.45) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite; }
  .orb-2{ top: 30%; right: -250px; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(30,122,255,0.35) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse; }
  .orb-3{ bottom: -200px; left: 30%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,91,255,0.3) 0%, transparent 70%);
    animation: float 30s ease-in-out infinite; }

  @keyframes float{
    0%, 100%{ transform: translate(0,0) scale(1); }
    50%     { transform: translate(40px,-30px) scale(1.1); }
  }

  /* Noise overlay */
  body::after{
    content:"";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.025;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
  }

  /* ---------- TYPOGRAPHY ---------- */
  h1, h2, h3, h4{ font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
  .display{
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
  }
  .eyebrow{
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .eyebrow::before,
  .eyebrow::after{
    content: "";
    width: 40px; height: 1px;
    background: var(--blue);
    flex-shrink: 0;
  }
  /* Les mots accent passent en BLEU UNI (plus de dégradé) */
  .gradient-text{
    color: var(--blue);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
  }

  /* ============================================
     CARTES — base mutualisée (background + border)
     Les radius et paddings restent gérés individuellement
     ============================================ */
  .expertise-card,
  .filter-pill,
  .price-card,
  .project,
  .tech-pill,
  .testi{
    background: var(--surface);
    border: 1px solid var(--border);
  }

  /* ---------- LAYOUT ---------- */
  .container{
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
  }
  section{
    padding: 120px 0;
    position: relative;
    z-index: 2;
  }
  .section-header{
    margin-bottom: 72px;
    max-width: 920px;
  }
  .section-header h2{
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 24px;
    margin-bottom: 28px;
    line-height: 1.02;
    letter-spacing: -0.035em;
    display: block;        /* simple, fiable, marche sur tous les écrans */
  }
  /* Barre décorative sous le H2 (alignée à gauche, façon "underline" éditorial) */
  .section-header h2::after{
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg,
                var(--blue) 0%,
                rgba(30,122,255,0.3) 60%,
                transparent 100%);
    margin: 28px 0 0;
  }

  /* H2 CENTRÉ avec rail dégradé en dessous (même pattern que .page-hero h1)
     IMPORTANT : on override le .section-header h2 global (display:flex)
     et son ::after (barre latérale à droite) */
  .h2-centered{
    text-align: center;
    margin: 24px auto 28px;
    max-width: 920px;
  }
  .section-header .h2-centered h2,
  .h2-centered h2{
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 0;
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-family: var(--display);
    font-weight: 600;
    text-align: center;
    display: block;          /* annule display:flex */
    gap: 0;                  /* annule gap */
    flex-wrap: nowrap;       /* annule flex-wrap */
    width: 100%;             /* prend toute la largeur */
  }
  /* Annule la barre à droite (flex:1) du .section-header h2 global */
  .section-header .h2-centered h2::after,
  .h2-centered h2::after{
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg,
                transparent 0%,
                var(--blue) 50%,
                transparent 100%);
    margin: 32px auto 0;
    flex: none;              /* annule flex:1 */
    min-width: 0;            /* annule min-width:60px */
    align-self: auto;
  }
  .section-header p{
    color: var(--ink-2);
    font-size: 1.1rem;
    max-width: 580px;
  }

  /* ---------- NAV ---------- */
  .nav{
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    /* même largeur que le contenu des .container */
    width: calc(100% - 2 * var(--gutter));
    max-width: calc(var(--container) - 2 * var(--gutter));
    background: #000925;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s var(--t1);
  }
  .nav.scrolled{
    background: #000925;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    border-color: var(--border-2);
  }
  .nav-brand{
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
  }
  /* Logo image (PNG/WebP) - nav + footer
     mix-blend-mode: screen → le fond noir du PNG disparaît,
     seuls les traits bleus + blancs restent visibles
     → le logo se fond dans n'importe quel fond sombre */
  .logo-img{
    display: block;
    width: auto;
    height: auto;
    /* pas de blend mode : la nav et le footer sont au même #000925 que le fond du logo */
  }
  .logo-nav{
    height: 56px;
    margin: -10px 0;  /* compense l'agrandissement sans pousser la nav */
  }
  .logo-footer{
    height: 64px;
    margin: -8px 0;
  }
  
  .nav-links{
    display: flex;
    gap: 6px;
    list-style: none;
  }
  .nav-links a{
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s var(--t1);
    cursor: pointer;
  }
  .nav-links a:hover{
    color: var(--ink);
    background: var(--surface-2);
  }
  .nav-links a.active{
    color: var(--ink);
    background: var(--surface-2);
  }
  .nav-cta{
    background: var(--ink);
    color: var(--bg);
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--t1);
    border: none;
    font-family: var(--body);
  }
  .nav-cta:hover{
    background: var(--blue);
    color: var(--ink);
    transform: translateY(-1px);
  }
  .menu-toggle{
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--ink);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
  }

  /* ---------- CONTENU DE LA PAGE (<main class="view">) ---------- */
  .view{
    display: block;
    animation: viewIn 0.6s var(--t1) both;
  }
  /* Ancres des offres (/prestations#offer-…) : sous la nav fixe. */
  #nos-offres, [id^="offer-"]{ scroll-margin-top: 100px; }
  @keyframes viewIn{
    from{ opacity: 0; transform: translateY(20px); }
    to  { opacity: 1; transform: translateY(0); }
  }

  /* ---------- HERO ---------- */
  .hero{
    min-height: 100vh;
    padding-top: 180px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;          /* empêche les animations de déborder horizontalement */
  }
  /* .hero est en flex : sans width, le conteneur se rétrécit à son contenu (visible sur tablette) */
  .hero > .container{ width: 100%; }
  .hero-grid{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;   /* centre les deux colonnes verticalement l'une par rapport à l'autre */
    width: 100%;
  }

  .hero h1{
    margin-bottom: 24px;
  }
  .hero-sub{
    font-size: 1.15rem;
    color: var(--ink-2);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.6;
  }
  .hero-ctas{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
  }
  .btn{
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--t1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--body);
  }
  /* ============================================
     BOUTONS PRIMAIRES UNIFIÉS (.btn-primary + .price-cta + .form-submit)
     Pattern : blanc au repos → bleu uni au hover via calque ::before
     ============================================ */
  .btn-primary,
  .price-cta,
  .form-submit{
    background: var(--ink);
    color: var(--bg);
    position: relative;
    overflow: hidden;
  }
  .btn-primary::before,
  .price-cta::before,
  .form-submit::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--blue);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
  }
  .btn-primary span,
  .price-cta span,
  .form-submit span{
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
  }
  .btn-primary:hover,
  .price-cta:hover,
  .form-submit:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 180, 254,0.3);
  }
  .btn-primary:hover::before,
  .price-cta:hover::before,
  .form-submit:hover::before{
    opacity: 1;
  }
  .btn-primary:hover span,
  .price-cta:hover span,
  .form-submit:hover span{
    color: white;
  }

  .btn-ghost{
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border-2);
  }
  .btn-ghost:hover{
    background: var(--surface-2);
    border-color: var(--blue);
    transform: translateY(-2px);
  }

  .hero-meta{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 40px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }
  .hero-meta-item .num{
    font-family: var(--display);
    font-weight: 700;
    font-size: 2.25rem;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 10px;
    height: 2.25rem;
    display: flex;
    align-items: center;
  }
  .hero-meta-item .num svg{
    width: 2.25rem;
    height: 2.25rem;
  }
  .hero-meta-item .lbl{
    font-size: 12.5px;
    color: var(--ink-2);
    line-height: 1.4;
    letter-spacing: 0.01em;
  }
  @media (max-width: 600px){
    .hero-meta{ grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .hero-meta-item .num{ font-size: 1.75rem; height: 1.75rem; }
    .hero-meta-item .num svg{ width: 1.75rem; height: 1.75rem; }
  }

  /* Hero visual — code preview card */
  /* ============================================
     ★ LOGO ANIMATION (Option 3) — fade + scale + glow + barre blanche
     ============================================ */
  .hero-visual{
    position: relative;
    max-width: 580px;
    justify-self: end;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0;
    margin-top: -220px;           /* remonte fortement l'animation */
  }

  .logo-anim-stage{
    position: relative;
    width: 100%;
    padding: 0 0 30px;             /* ni padding-top ni latéral : le cadre du logo va jusqu'au bord droit du menu */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Halo bleu derrière le logo */
  .logo-anim-stage::before{
    content: "";
    position: absolute;
    inset: -20px 5%;
    background: radial-gradient(ellipse at center,
                rgba(0, 180, 254,0.28) 0%,
                rgba(30,122,255,0.14) 40%,
                transparent 75%);
    filter: blur(60px);
    opacity: 0;
    z-index: 0;
    animation: haloIn 1.8s var(--t1) 0.6s forwards,
               haloPulse 5s ease-in-out 2.4s infinite;
  }

  /* Wrapper du logo (transform indépendant) */
  .logo-anim-wrap{
    position: relative;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transform: scale(0.88) translateY(12px);
    animation: logoIn 1.6s var(--t1) 0.2s forwards;
  }
  .logo-anim-wrap img{
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: lighten;  /* fait disparaître le fond #000925 du PNG sur fond plus sombre */
    filter: drop-shadow(0 16px 40px rgba(0, 180, 254,0.18));
  }

  /* Particules lumineuses */
  .logo-particle{
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
    opacity: 0;
    z-index: 2;
  }
  .logo-particle.p1{ top: 18%; left: 6%;   animation: particleIn 1s var(--t1) 1.8s forwards, particleFloat 4s ease-in-out 3s infinite; }
  .logo-particle.p2{ top: 72%; left: 12%;  animation: particleIn 1s var(--t1) 2.0s forwards, particleFloat 5s ease-in-out 3.5s infinite; }
  .logo-particle.p3{ top: 28%; right: 8%;  animation: particleIn 1s var(--t1) 2.1s forwards, particleFloat 4.5s ease-in-out 3s infinite; }
  .logo-particle.p4{ top: 78%; right: 18%; animation: particleIn 1s var(--t1) 2.3s forwards, particleFloat 5.5s ease-in-out 4s infinite; }
  .logo-particle.p5{ top: 50%; left: 50%;  animation: particleIn 1s var(--t1) 2.4s forwards, particleFloat 4s ease-in-out 3.2s infinite; }

  @keyframes logoIn{
    0%   { opacity: 0; transform: scale(0.88) translateY(12px); filter: blur(8px); }
    60%  { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
  }
  @keyframes haloIn{ to { opacity: 1; } }
  @keyframes haloPulse{
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.08); }
  }
  @keyframes particleIn{ to { opacity: 1; } }
  @keyframes particleFloat{
    0%, 100% { transform: translate(0, 0); opacity: 0.6; }
    50%      { transform: translate(8px, -10px); opacity: 1; }
  }

  /* Bouton replay */
  /* Réduction des animations pour utilisateurs sensibles */
  @media (prefers-reduced-motion: reduce){
    .logo-anim-wrap, .logo-anim-stage::before, .logo-particle{
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
      filter: none !important;
    }
  }

  /* ---------- EXPERTISES ---------- */
  .expertise-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .expertise-card{
    padding: 32px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--t1);
    cursor: pointer;
  }
  .expertise-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  /* Hover commun aux cartes cliquables (expertise + project) :
     mêmes border-color, transform varie selon le type de carte */
  .expertise-card:hover,
  .project:hover{
    border-color: rgba(0, 180, 254,0.3);
  }
  .expertise-card:hover{ transform: translateY(-4px); }
  .project:hover{ transform: translateY(-6px); }
  .expertise-card:hover::before{ opacity: 1; }
  .expertise-icon{
    width: 48px; height: 48px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }
  .expertise-card h3{
    font-size: 1.15rem;
    margin-bottom: 12px;
    position: relative; z-index: 1;
  }
  .expertise-card ul{
    list-style: none;
    position: relative; z-index: 1;
  }
  .expertise-card li{
    font-size: 13px;
    color: var(--ink-2);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .expertise-card li::before{
    content: "";
    width: 3px; height: 3px;
    background: var(--blue);
    border-radius: 50%;
  }
  /* ============================================
     AUDIENCE CARDS — section "Pour qui" sur la page d'accueil
     3 cartes (1 par cible) qui linkent vers la page Prestations
     ============================================ */
  .audience-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .audience-card{
    padding: 36px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--t1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
  }
  .audience-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  .audience-card > *{
    position: relative;
    z-index: 1;
  }
  .audience-card:hover{
    border-color: rgba(0, 180, 254,0.3);
    transform: translateY(-4px);
  }
  .audience-card:hover::before{ opacity: 1; }
  .audience-icon{
    width: 48px; height: 48px;
    background: var(--bg-3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 20px;
  }
  .audience-target{
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(0, 180, 254,0.08);
    border: 1px solid rgba(0, 180, 254,0.2);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    align-self: flex-start;
  }
  .audience-card h3{
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--ink);
  }
  .audience-card p{
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.55;
    margin-bottom: 20px;
    flex: 1;
  }
  .audience-link{
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    font-family: var(--display);
    letter-spacing: -0.01em;
    transition: transform 0.3s;
    display: inline-block;
  }
  .audience-card:hover .audience-link{
    transform: translateX(4px);
  }
  @media (max-width: 960px){
    .audience-grid{ grid-template-columns: 1fr; }
  }


  .why-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .why-features{
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
  }
  .why-feature{
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
  }
  .why-feature:last-child{ border-bottom: none; }
  .why-feature-num{
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--blue);
    flex-shrink: 0;
    font-feature-settings: 'tnum';
  }
  .why-feature h4{
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .why-feature p{
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .why-visual{
    aspect-ratio: 1;
    background: transparent;     /* plus de fond carré */
    border: none;                /* plus de contour */
    padding: 40px;               /* garde l'air autour pour que les planètes ne touchent rien */
    position: relative;
    /* overflow visible pour que glow et scintillements puissent déborder */
  }
  .why-orbit{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .orbit-ring{
    position: absolute;
    border: 1px solid var(--border);
    border-radius: 50%;
  }
  .orbit-ring.r1{ width: 60%; height: 60%; }
  .orbit-ring.r2{ width: 80%; height: 80%; }
  .orbit-ring.r3{ width: 100%; height: 100%; }
  .orbit-center{
    width: 160px; height: 160px;
    background: #000925;     /* même fond que le logo → fondu parfait */
    border: 1px solid rgba(0, 180, 254,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 180, 254,0.35),
                inset 0 0 24px rgba(0, 180, 254,0.08);
    z-index: 2;
    padding: 18px;
    overflow: hidden;
  }
  .orbit-logo{
    width: 100%;
    height: auto;
    display: block;
  }
  /* 8 nodes répartis uniformément (45° d'écart) sur le cercle médian
     Positionnés par coordonnées en % calculées trigonométriquement.
     Rayon = 40% (cercle médian r2 qui fait 80% du conteneur). */
  .orbit-node{
    position: absolute;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;     /* recentre par rapport au point top/left */
    background: var(--surface);   /* aligné sur le fond des cartes */
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }
  /* Positions précises sur le cercle (8 points à 45° d'écart) */
  .node-1{ top: 10%;    left: 50%;    }  /* 0°   - haut */
  .node-2{ top: 21.72%; left: 78.28%; }  /* 45°  - haut-droite */
  .node-3{ top: 50%;    left: 90%;    }  /* 90°  - droite */
  .node-4{ top: 78.28%; left: 78.28%; }  /* 135° - bas-droite */
  .node-5{ top: 90%;    left: 50%;    }  /* 180° - bas */
  .node-6{ top: 78.28%; left: 21.72%; }  /* 225° - bas-gauche */
  .node-7{ top: 50%;    left: 10%;    }  /* 270° - gauche */
  .node-8{ top: 21.72%; left: 21.72%; }  /* 315° - haut-gauche */

  /* ============================================
     PLANÈTES — Points blancs scintillants sur les orbites
     ============================================ */
  .planet-orbit{
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .planet-orbit-inner{
    animation: orbit-reverse 60s linear infinite;
  }
  .planet-orbit-outer{
    animation: orbit 110s linear infinite;
  }

  .planet{
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F5F7FA;
    box-shadow:
      0 0 8px rgba(245,247,250,0.9),
      0 0 16px rgba(245,247,250,0.5),
      0 0 24px rgba(0, 180, 254,0.3);
    margin: -4px 0 0 -4px;     /* centre exact sur le point */
    animation: twinkle 3s ease-in-out infinite;
  }

  /* Planètes intérieures — PILE sur la ring r1 (rayon 30%) */
  .pi-1{ top: 24.02%; left: 65.00%; animation-delay: 0s;   }  /*  30° */
  .pi-2{ top: 75.98%; left: 65.00%; animation-delay: 0.8s; }  /* 150° */
  .pi-3{ top: 50.00%; left: 20.00%; animation-delay: 1.6s; }  /* 270° */

  /* Planètes extérieures — PILE sur la ring r3 (rayon 50%) */
  .po-1{ top: 3.81%; left: 69.13%; animation-delay: 0.3s; }  /*  22.5° */
  .po-2{ top: 69.13%; left: 96.19%; animation-delay: 1.1s; }  /* 112.5° */
  .po-3{ top: 96.19%; left: 30.87%; animation-delay: 1.9s; }  /* 202.5° */
  .po-4{ top: 30.87%; left: 3.81%; animation-delay: 2.4s; }  /* 292.5° */

  /* Scintillement : pulsation d'opacité et de glow */
  @keyframes twinkle{
    0%, 100%{
      opacity: 0.4;
      transform: scale(0.85);
    }
    50%{
      opacity: 1;
      transform: scale(1.15);
    }
  }
  @keyframes orbit-reverse{
    from{ transform: rotate(0deg); }
    to  { transform: rotate(-360deg); }
  }

  @keyframes orbit{
    from{ transform: rotate(0deg); }
    to  { transform: rotate(360deg); }
  }
  /* Contre-rotation : annule la rotation du parent pour garder les labels droits */
  @keyframes counter-orbit{
    from{ transform: rotate(0deg); }
    to  { transform: rotate(-360deg); }
  }
  .orbit-rotate{
    position: absolute;
    inset: 0;
    animation: orbit 80s linear infinite;
  }
  /* Les nodes contre-tournent à la MÊME vitesse → restent droits visuellement */
  .orbit-rotate .orbit-node{
    animation: counter-orbit 80s linear infinite;
  }

  /* ---------- TECH STACK ---------- */
  .tech-grid{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    margin-top: 48px;
  }
  .tech-pill{
    padding: 18px 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
    transition: all 0.3s;
    cursor: default;
  }
  .tech-pill:hover{
    color: var(--blue);
    border-color: rgba(0, 180, 254,0.4);
    background: var(--grad-soft);
  }
  .tech-pill .tp-ico{
    display: block;
    margin: 0 auto 10px;
    color: var(--blue);
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
    transition: transform 0.3s var(--t1);
  }
  .tech-pill:hover .tp-ico{
    transform: translateY(-2px) scale(1.05);
  }

  /* ---------- TESTIMONIALS ---------- */
  .testi-grid{
    display: grid;
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
    gap: 20px;
  }
  .testi{
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .testi-quote{
    font-family: var(--display);
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.5;
    flex: 1;
  }
  .testi-author{
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .testi-avatar{
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1rem;
  }
  .testi-info strong{
    display: block;
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
  }
  .testi-info span{
    font-size: 12px;
    color: var(--ink-3);
  }

  /* ---------- SERVICES VIEW ---------- */
  .page-hero{
    padding-top: 180px;
    padding-bottom: 60px;
    text-align: center;
  }
  .page-hero h1{
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 20px auto;
    max-width: 800px;
    position: relative;
  }
  /* Barre décorative centrée sous les H1 des pages */
  .page-hero h1::after{
    content: "";
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg,
                transparent 0%,
                var(--blue) 50%,
                transparent 100%);
    margin: 32px auto 0;
  }
  .page-hero p{
    color: var(--ink-2);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
  }

  /* ============================================
     SURFACE CARD : fond premium avec glow décoratif
     Utilisé par .service-block et .contact-form
     ============================================ */
  .service-block,
  .contact-form{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
  }
  .service-block::before,
  .contact-form::before{
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
  }
  .service-block > *,
  .contact-form > *{
    position: relative;
    z-index: 1;
  }
  /* Overrides spécifiques à .service-block */
  .service-block{
    margin-bottom: 80px;
    padding: 48px;
  }
  .service-head{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    position: relative; z-index: 1;
  }
  .service-num{
    width: 56px; height: 56px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.3rem;
    background-clip: text;
    -webkit-background-clip: text;
    color: var(--blue);
  }
  .service-head h3{
    font-size: 1.8rem;
    margin-bottom: 4px;
  }
  .service-head p{
    color: var(--ink-3);
    font-size: 14px;
  }
  .service-features{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative; z-index: 1;
  }
  .service-feature h5{
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .service-feature h5::before{
    content: "";
    width: 6px; height: 6px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--blue);
  }
  .service-feature ul{
    list-style: none;
  }
  .service-feature li{
    font-size: 14px;
    color: var(--ink-2);
    padding: 5px 0;
  }

  /* ---------- PRICING ---------- */
  .pricing-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .price-card{
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;            /* contient le calque grad-soft du hover */
    transition: all 0.4s var(--t1);
    display: flex;
    flex-direction: column;
  }
  /* La carte Business utilise les mêmes styles que les autres au repos
     (le bouton CTA dégradé garde sa différenciation visuelle) */
  .price-card.featured{
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: none;
    transform: none;
  }
  /* Hover : même effet que les expertise-card (calque grad-soft bleu doux) */
  .price-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    border-radius: inherit;
  }
  .price-card.reveal:hover,
  .price-card:hover{
    border-color: rgba(0, 180, 254,0.5);
    box-shadow: 0 20px 60px rgba(0, 180, 254,0.15);
    transform: translateY(-10px);
  }
  .price-card:hover::before{
    opacity: 1;
  }
  /* Carte Business : même comportement */
  .price-card.featured.reveal:hover,
  .price-card.featured:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 180, 254,0.15);
    border-color: rgba(0, 180, 254,0.5);
  }
  /* S'assurer que le contenu reste au-dessus du calque ::before */
  .price-card > *{
    position: relative;
    z-index: 1;
  }
  /* Badge "Pour qui" au-dessus du nom de l'offre */
  .price-target{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 180, 254,0.08);
    border: 1px solid rgba(0, 180, 254,0.2);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
    line-height: 1;
  }
  .price-target svg{
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0;
  }
  
  .price-name{
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
  }
  .price-tagline{
    color: var(--ink-2);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
  }
  .price-features{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
  }
  .price-features li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .price-features li svg{
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--blue);
  }
  /* .price-cta : overrides spécifiques (taille pleine largeur, alignement bas de carte) */
  .price-cta{
    display: block;
    text-decoration: none;
    line-height: normal;         /* lien (ex-bouton) : même hauteur qu'un <button> */
    width: 100%;
    margin-top: auto;            /* pousse le bouton en bas de la carte */
    padding: 14px;
    text-align: center;
    border: 1px solid var(--ink);
    border-radius: 12px;
    font-weight: 600;
    font-family: var(--body);
    cursor: pointer;
    transition: all 0.3s var(--t1);
    font-size: 14px;
    isolation: isolate;          /* contient le ::before dans le bouton */
  }
  .price-cta span{
    display: block;              /* prend toute la largeur pour centrage */
  }
  .price-cta:hover{
    border-color: var(--blue);
  }

  /* ---------- PROJECTS ---------- */
  .projects-filter{
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }
  .filter-pill{
    padding: 8px 16px;
    border-radius: 100px;
    color: var(--ink-2);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--body);
    font-weight: 500;
  }
  .filter-pill:hover, .filter-pill.active{
    background: var(--blue);
    color: white;
    border-color: transparent;
  }
  .projects-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .project{
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--t1);
  }

  .project-visual{
    aspect-ratio: 16 / 10;
    background: var(--bg-3);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
  }
  /* Badge « En cours » : projets en développement (data-status="en-cours") */
  .project-status{
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 9, 37, 0.72);
    border: 1px solid rgba(0, 180, 254, 0.35);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
  .project-status::before{
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 10px var(--blue);
    animation: statusPulse 1.8s ease-in-out infinite;
  }
  @keyframes statusPulse{
    0%, 100%{ opacity: 0.45; }
    50%     { opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce){
    .project-status::before{ animation: none !important; }
  }
  .project-visual svg,
  .project-visual img{
    width: 100%; height: 100%;
  }
  .project-info{
    padding: 24px 28px;
  }
  .project-cat{
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 10px;
  }
  .project-info h4{
    font-size: 1.3rem;
    margin-bottom: 8px;
  }
  .project-info p{
    color: var(--ink-2);
    font-size: 14px;
  }
  .project-tags{
    display: flex;
    gap: 6px;
    margin-top: 16px;
    flex-wrap: wrap;
  }
  .project-tag{
    font-size: 11px;
    padding: 4px 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--ink-3);
    font-family: var(--mono);
  }

  /* ---------- ABOUT ---------- */
  .about-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
  }
  .about-content h2{
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
  }
  .about-content p{
    color: var(--ink-2);
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.7;
  }
  .about-content p strong{
    color: var(--ink);
  }

  /* ---------- ABOUT VALUES — grille ADN ---------- */
  .about-values{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .value-card{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    transition: transform 0.3s var(--t1), border-color 0.3s var(--t1);
  }
  .value-card:hover{
    transform: translateY(-3px);
    border-color: rgba(0, 180, 254, 0.4);
  }
  .value-ico{
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(0, 180, 254, 0.08);
    border: 1px solid rgba(0, 180, 254, 0.2);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  .value-card h5{
    font-size: 1rem;
    color: var(--ink);
    margin: 0 0 6px;
    font-weight: 600;
  }
  .value-card p{
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
  }
  @media (max-width: 600px){
    .about-values{ grid-template-columns: 1fr; }
  }

  /* ---------- TIMELINE V2 — visuelle moderne avec ligne et étapes ---------- */
  .timeline-v2{
    margin-top: 80px;
  }
  .timeline-track{
    position: relative;
    padding-left: 40px;
  }
  /* Ligne verticale continue à gauche */
  .timeline-line{
    position: absolute;
    left: 14px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: linear-gradient(180deg,
                var(--border) 0%,
                var(--border) 60%,
                rgba(0, 180, 254, 0.6) 100%);
  }
  /* Chaque étape : flex en row pour centrer verticalement le point par rapport à la carte
     IMPORTANT : on utilise margin-bottom (pas padding-bottom) sinon le flex
     align-items: center calcule le centre incluant le padding et désaligne le point. */
  .timeline-step{
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    /* État initial pour l'animation au scroll */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--t1), transform 0.7s var(--t1);
  }
  .timeline-step.in-view{
    opacity: 1;
    transform: translateY(0);
  }
  .timeline-step:last-child{
    margin-bottom: 0;
  }
  /* Barre horizontale qui relie le point à la carte (branche de liaison) */
  .timeline-step::before{
    content: "";
    position: absolute;
    left: -25px;
    top: 50%;
    width: 25px;
    height: 1px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
  }
  .timeline-step-now::before{
    background: linear-gradient(90deg,
                rgba(0, 180, 254, 0.8) 0%,
                rgba(0, 180, 254, 0.3) 100%);
  }
  /* Point sur la ligne — centré verticalement par rapport à la carte grâce au flex align-items: center du parent */
  .timeline-dot{
    position: absolute;
    left: -33px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--ink-3);
    z-index: 1;
    transition: border-color 0.3s, transform 0.3s;
  }
  /* Point pulsant pour l'étape actuelle (Codia Labs) */
  .timeline-dot-pulse{
    width: 16px;
    height: 16px;
    left: -34px;
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 180, 254, 0.15),
                0 0 0 8px rgba(0, 180, 254, 0.08);
    animation: timelineDotPulse 2.4s ease-in-out infinite;
  }
  @keyframes timelineDotPulse{
    0%, 100% {
      box-shadow: 0 0 0 4px rgba(0, 180, 254, 0.15),
                  0 0 0 8px rgba(0, 180, 254, 0.08);
    }
    50% {
      box-shadow: 0 0 0 6px rgba(0, 180, 254, 0.25),
                  0 0 0 14px rgba(0, 180, 254, 0.12);
    }
  }
  /* Carte qui contient le contenu */
  .timeline-card{
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    transition: transform 0.3s var(--t1), border-color 0.3s var(--t1);
  }
  .timeline-card:hover{
    transform: translateX(4px);
    border-color: var(--border-2);
  }
  .timeline-step:hover .timeline-dot:not(.timeline-dot-pulse){
    border-color: var(--blue);
    transform: translateY(-50%) scale(1.2);
  }
  /* Carte spéciale pour Codia Labs (actuelle) */
  .timeline-card-now{
    border-color: rgba(0, 180, 254, 0.3);
    background: linear-gradient(180deg,
                rgba(0, 180, 254, 0.04) 0%,
                var(--surface) 100%);
  }
  .timeline-card-now:hover{
    border-color: rgba(0, 180, 254, 0.5);
  }
  /* En-tête de la carte : période */
  .timeline-meta{
    margin-bottom: 10px;
  }
  .timeline-period{
    font-family: var(--mono);
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .timeline-card h4{
    font-size: 1.15rem;
    margin: 0 0 8px;
    color: var(--ink);
  }
  .timeline-card p{
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0;
  }
  @media (max-width: 600px){
    .timeline-track{ padding-left: 32px; }
    .timeline-line{ left: 10px; }
    .timeline-dot{ left: -29px; }
    .timeline-dot-pulse{ left: -30px; }
    .timeline-card{ padding: 20px 22px; }
    .timeline-card h4{ font-size: 1.05rem; }
  }
  @media (prefers-reduced-motion: reduce){
    .timeline-step{
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* ---------- CONTACT ---------- */
  .contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
  }
  .contact-info h2{
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
  }
  .contact-info p{
    color: var(--ink-2);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
  }
  .contact-method{
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }
  .contact-method-ico{
    width: 44px; height: 44px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
  }
  .contact-method-info strong{
    display: block;
    font-size: 14px;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 500;
  }
  .contact-method-info a, .contact-method-info span{
    color: var(--ink);
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
  }
  .contact-method-info a:hover{ color: var(--blue); }

  /* Overrides spécifiques à .contact-form */
  .contact-form{
    padding: 40px;
  }
  .form-field{
    margin-bottom: 20px;
  }
  .form-field label{
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .form-field input,
  .form-field textarea,
  .form-field select{
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid var(--border-2);
    border-radius: 10px;
    color: var(--ink);
    font-family: var(--body);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .form-field textarea{ resize: vertical; min-height: 120px; }
  /* Champs obligatoires et mention d'information (RGPD, règle C20 du standard) */
  .form-req{ color: var(--blue); }
  .form-mention{ margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
  .form-mention a{ color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
  .form-mention a:hover{ color: var(--blue); }
  /* Retours du formulaire (vues du module contact : public/modules/contact/contact.project.js) */
  .form-feedback{ margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--st-fail); }
  .form-submit.is-sent,
  .form-submit.is-sent:hover{ background: var(--st-ok); border-color: var(--st-ok); }
  .form-submit.is-error,
  .form-submit.is-error:hover{ background: var(--st-fail); border-color: var(--st-fail); }
  /* Écran tactile : 16px minimum, sinon iOS zoome au focus et décale la page */
  @media (hover: none) and (pointer: coarse){
    .form-field input,
    .form-field textarea,
    .form-field select{ font-size: 16px; }
  }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus{
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 180, 254, 0.15);
  }
  .form-field input::placeholder,
  .form-field textarea::placeholder{
    color: var(--ink-3);
  }
  /* Select : neutraliser le style natif et ajouter un chevron customisé */
  .form-field select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%2300b4fe' stroke-width='1.5' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
  }
  .form-field select option{
    background: var(--bg);
    color: var(--ink);
  }
  .form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  /* .form-submit : overrides spécifiques (taille pleine largeur du formulaire) */
  .form-submit{
    width: 100%;
    padding: 16px;
    border: 1px solid var(--ink);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--body);
    font-size: 15px;
    margin-top: 8px;
    isolation: isolate;
  }
  .form-submit:hover{
    border-color: var(--blue);
  }

  /* ---------- CTA SECTION ---------- */
  .cta-section{
    padding: 100px 0;
  }
  .cta-card{
    padding: 80px 60px;
    background: rgba(0, 180, 254,0.08);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-card::before{
    content:"";
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 180, 254,0.2) 0%, transparent 60%);
    pointer-events: none;
  }
  .cta-card h2{
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    position: relative; z-index: 1;
  }
  .cta-card p{
    color: var(--ink-2);
    font-size: 1.15rem;
    max-width: 540px;
    margin: 0 auto 40px;
    position: relative; z-index: 1;
  }
  .cta-card .hero-ctas{
    justify-content: center;
    margin-bottom: 0;
    position: relative; z-index: 1;
  }

  /* ---------- FOOTER (spacing réduit, tailles d'éléments inchangées) ---------- */
  footer{
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
    background: #000925;
    position: relative;
    z-index: 2;
  }
  .footer-grid{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 28px;
  }
  .footer-brand{
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
  }
  .footer-tag{
    color: var(--ink-3);
    font-size: 14px;
    max-width: 280px;
    line-height: 1.6;
  }
  .footer-col h5{
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 12px;
    font-weight: 500;
  }
  .footer-col ul{ list-style: none; }
  .footer-col li{ margin-bottom: 8px; }
  .footer-col a{
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    cursor: pointer;
  }
  .footer-col a:hover{ color: var(--blue); }
  .footer-col a.footer-social{ display: inline-flex; align-items: center; gap: 8px; }
  .footer-bottom{
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--ink-3);
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-legal{
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
  }
  .footer-legal a{
    color: var(--ink-3);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    padding: 0 12px;
  }
  .footer-legal a:first-child{ padding-left: 0; }
  .footer-legal a:last-child{ padding-right: 0; }
  .footer-legal a:hover{ color: var(--blue); }
  /* Séparateur point entre les liens (sauf avant le 1er) */
  .footer-legal a + a{
    position: relative;
  }
  .footer-legal a + a::before{
    content: "·";
    color: var(--ink-3);
    font-size: 22px;
    line-height: 1;
    opacity: 0.7;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -55%);
  }

  /* ============================================
     BANDEAU COOKIES — minimaliste bas de page
     ============================================ */
  .cookie-banner{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #000925;
    border-top: 1px solid var(--border-2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .cookie-banner.visible{
    transform: translateY(0);
  }
  .cookie-banner-content{
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .cookie-banner-text{
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 280px;
  }
  .cookie-banner-text strong{ color: var(--ink); font-weight: 600; }
  .cookie-banner-text a{
    color: var(--blue);
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .cookie-banner-text a:hover{ opacity: 0.8; }
  .cookie-banner-actions{
    display: flex;
    gap: 10px;
    flex-shrink: 0;
  }
  .cookie-banner-btn{
    padding: 9px 18px;
    border-radius: 8px;
    font-family: var(--body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid var(--border-2);
  }
  .cookie-banner-btn-secondary{
    background: var(--surface);
    color: var(--ink);
    border-color: var(--border-2);
    transition: background 0.3s var(--t1), border-color 0.3s var(--t1), transform 0.3s var(--t1);
  }
  .cookie-banner-btn-secondary:hover{
    background: var(--surface-2);
    border-color: var(--blue);
    transform: translateY(-2px);
  }
  .cookie-banner-btn-primary{
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--t1), box-shadow 0.3s var(--t1), border-color 0.3s var(--t1);
  }
  .cookie-banner-btn-primary::before{
    content: "";
    position: absolute;
    inset: 0;
    background: var(--blue);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
  }
  .cookie-banner-btn-primary span{
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }
  .cookie-banner-btn-primary:hover{
    transform: translateY(-2px);
    border-color: var(--blue);
    box-shadow: 0 14px 40px rgba(0, 180, 254, 0.3);
  }
  .cookie-banner-btn-primary:hover::before{
    opacity: 1;
  }
  .cookie-banner-btn-primary:hover span{
    color: white;
  }
  @media (max-width: 720px){
    .cookie-banner-content{ padding: 16px var(--gutter); gap: 16px; }
    .cookie-banner-actions{ width: 100%; }
    .cookie-banner-btn{ flex: 1; }
  }

  /* ============================================================
     LOGO SVG — ANIMATION DE SCAN AU DÉMARRAGE
     ============================================================
     Toutes les 30s, sur les logos visibles au chargement (nav + hero) :
     - Tous les éléments du logo sont invisibles au démarrage
     - La barre #Separator (native du SVG) est utilisée comme "barre de scan" :
       elle commence à gauche, glisse de gauche à droite (1.2s),
       puis revient se positionner au centre (sa position native) à 2s
     - Chaque élément apparaît au moment où la barre passe sur sa position X
     - Couleur de la barre : bleue pendant le scan, blanche à sa position finale
     - Cycle total : 30s (animation 2s + repos 28s)
     ------------------------------------------------------------ */

  /* === BARRE DE SCAN = SEPARATOR NATIF ===
     Position native : x=554.91 dans la viewBox 0-1672
     Donc translateX(-555px) ≈ position extrême gauche
          translateX(+1115px) ≈ position extrême droite
          translateX(0) = position naturelle (au repos) */
  .logo-svg-scan #Separator{
    transform-box: fill-box;
    transform-origin: center;
    animation: separatorScan 20s linear infinite;
  }
  @keyframes separatorScan{
    /* PHASE 0 : délai initial — tout invisible (0 → 5% = 0 → 1s) */
    0%, 5% { transform: translateX(-555px) scaleY(2.72); fill: #00b4fe; opacity: 0; }
    /* PHASE 1 : la barre apparaît à gauche en PLEINE HAUTEUR (5% → 15% = 1 → 3s) */
    5.25%   { transform: translateX(-555px) scaleY(2.72); fill: #00b4fe; opacity: 1; }
    15%     { transform: translateX(1115px) scaleY(2.72); fill: #00b4fe; opacity: 1; }
    /* PHASE 2 : retour vers le centre, toujours en pleine hauteur (15% → 17.5% = 3 → 3.5s) */
    17.5%   { transform: translateX(0)      scaleY(2.72); fill: #00b4fe; opacity: 1; }
    /* PHASE 3 : transformation finale — la barre RETRÉCIT à sa taille native + change de couleur
       (17.5% → 19.5% = 3.5 → 3.9s) */
    19.5%   { transform: translateX(0)      scaleY(1);    fill: #ffffff; opacity: 1; }
    /* REPOS : barre figée à sa position et taille naturelles jusqu'à la fin du cycle */
    20%, 100% { transform: translateX(0) scaleY(1); fill: #ffffff; opacity: 1; }
  }

  /* === ÉLÉMENTS DU LOGO ===
     Tous invisibles au démarrage, apparaissent au passage de la barre scan.
     Chacun a son propre keyframe avec un timing calibré sur sa position X. */
  .logo-svg-scan #Logo_-_Left_Parenthesis,
  .logo-svg-scan #Logo_-_Vertical_Bar,
  .logo-svg-scan #Logo_-_Right_Parenthesis,
  .logo-svg-scan #CODIA_-_C,
  .logo-svg-scan #CODIA_-_O_-_Left_Parenthesis,
  .logo-svg-scan #CODIA_-_O_-_Right_Parenthesis,
  .logo-svg-scan #CODIA_-_D,
  .logo-svg-scan #CODIA_-_I,
  .logo-svg-scan #CODIA_-_A,
  .logo-svg-scan #LABS_-_L,
  .logo-svg-scan #LABS_-_A,
  .logo-svg-scan #LABS_-_B,
  .logo-svg-scan #LABS_-_S{
    /* État initial : lettre totalement clippée par la droite (invisible).
       fill-box : le clip-path se réfère à la bounding box du path,
       donc inset(0 100% 0 0) clippe vraiment chaque lettre individuellement. */
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path-box: fill-box;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }

  /* === TIMINGS D'APPARITION calibrés sur position X (viewBox 0-1672) ===
     Formule : % apparition = 3.33 + (X / 1672) * 6.67
     (phase scan = 3.33% → 10% du cycle 30s, soit 1s → 3s) */
  .logo-svg-scan #Logo_-_Left_Parenthesis       { animation-name: appearAt395; }
  .logo-svg-scan #Logo_-_Vertical_Bar           { animation-name: appearAt453; }
  .logo-svg-scan #Logo_-_Right_Parenthesis      { animation-name: appearAt487; }
  .logo-svg-scan #CODIA_-_C                     { animation-name: appearAt593; }
  .logo-svg-scan #LABS_-_L                      { animation-name: appearAt637; }
  .logo-svg-scan #CODIA_-_O_-_Left_Parenthesis  { animation-name: appearAt669; }
  .logo-svg-scan #LABS_-_A                      { animation-name: appearAt708; }
  .logo-svg-scan #CODIA_-_O_-_Right_Parenthesis { animation-name: appearAt720; }
  .logo-svg-scan #CODIA_-_D                     { animation-name: appearAt768; }
  .logo-svg-scan #LABS_-_B                      { animation-name: appearAt781; }
  .logo-svg-scan #LABS_-_S                      { animation-name: appearAt854; }
  .logo-svg-scan #CODIA_-_I                     { animation-name: appearAt862; }
  .logo-svg-scan #CODIA_-_A                     { animation-name: appearAt897; }

  /* Keyframes : invisible → visible au % donné → reste visible → invisible 0.5% avant fin */
  @keyframes appearAt395{ 0%, 6.06% { clip-path: inset(0 100% 0 0); } 6.60%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt453{ 0%, 6.95% { clip-path: inset(0 100% 0 0); } 7.10%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt487{ 0%, 7.47% { clip-path: inset(0 100% 0 0); } 7.94%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt593{ 0%, 8.94% { clip-path: inset(0 100% 0 0); } 9.75%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt637{ 0%, 9.71% { clip-path: inset(0 100% 0 0); } 10.05%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt669{ 0%, 10.15% { clip-path: inset(0 100% 0 0); } 10.52%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt708{ 0%, 10.71% { clip-path: inset(0 100% 0 0); } 11.10%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt720{ 0%, 10.89% { clip-path: inset(0 100% 0 0); } 11.21%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt768{ 0%, 11.62% { clip-path: inset(0 100% 0 0); } 12.50%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt781{ 0%, 11.82% { clip-path: inset(0 100% 0 0); } 12.18%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt854{ 0%, 12.84% { clip-path: inset(0 100% 0 0); } 13.20%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt862{ 0%, 12.93% { clip-path: inset(0 100% 0 0); } 13.08%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
  @keyframes appearAt897{ 0%, 13.48% { clip-path: inset(0 100% 0 0); } 14.41%, 99.5% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }

  /* ---------- COMPARATIF vs SaaS ---------- */
  .comparison-section{
    padding: 100px 0;
    position: relative;
  }
  .comparison-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .comparison-col{
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: transform 0.3s var(--t1), border-color 0.3s var(--t1);
  }
  .comparison-col-codia{
    border-color: rgba(0, 180, 254, 0.3);
    background: linear-gradient(180deg,
                rgba(0, 180, 254, 0.04) 0%,
                var(--surface) 100%);
  }
  .comparison-col-codia::before{
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(180deg,
                rgba(0, 180, 254, 0.5) 0%,
                rgba(0, 180, 254, 0) 50%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  .comparison-col:hover{
    transform: translateY(-4px);
  }
  .comparison-col-head{
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .comparison-col-title{
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .comparison-col-saas .comparison-col-title{
    color: var(--ink-2);
  }
  .comparison-col-codia .comparison-col-title{
    color: var(--blue);
  }
  .comparison-col-sub{
    font-size: 13px;
    color: var(--ink-3);
    font-family: var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .comparison-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .comparison-list li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--ink);
  }
  .comparison-list li em{
    color: var(--ink-3);
    font-style: normal;
    font-size: 13px;
  }
  .comparison-col-saas .comparison-list li{
    color: var(--ink-2);
  }
  .comparison-icon{
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    margin-top: 1px;
  }
  .comparison-icon-neg{
    background: rgba(255, 255, 255, 0.06);
    color: var(--ink-3);
    border: 1px solid var(--border);
  }
  .comparison-icon-pos{
    background: rgba(0, 180, 254, 0.15);
    color: var(--blue);
    border: 1px solid rgba(0, 180, 254, 0.3);
  }
  @media (max-width: 768px){
    .comparison-grid{ grid-template-columns: 1fr; gap: 16px; }
    .comparison-col{ padding: 32px 24px; }
    .comparison-section{ padding: 64px 0; }
  }

  /* ---------- LOGO SVG — PARENTHESES BREATHING ----------
     Respiration lumineuse de TOUS les éléments graphiques du logo
     (lettres CODIA, LABS, barre verticale, parenthèses, séparateur).
     Le rectangle de fond reste fixe pour éviter l'effet "rectangle qui zoom".
     S'applique uniquement aux logos NON-scan (orbit) en permanence. */
  .logo-svg:not(.logo-svg-scan) #Logo_-_Left_Parenthesis,
  .logo-svg:not(.logo-svg-scan) #Logo_-_Right_Parenthesis,
  .logo-svg:not(.logo-svg-scan) #Logo_-_Vertical_Bar,
  .logo-svg:not(.logo-svg-scan) #Separator,
  .logo-svg:not(.logo-svg-scan) #CODIA_-_C,
  .logo-svg:not(.logo-svg-scan) #CODIA_-_O_-_Left_Parenthesis,
  .logo-svg:not(.logo-svg-scan) #CODIA_-_O_-_Right_Parenthesis,
  .logo-svg:not(.logo-svg-scan) #CODIA_-_D,
  .logo-svg:not(.logo-svg-scan) #CODIA_-_I,
  .logo-svg:not(.logo-svg-scan) #CODIA_-_A,
  .logo-svg:not(.logo-svg-scan) #LABS_-_L,
  .logo-svg:not(.logo-svg-scan) #LABS_-_A,
  .logo-svg:not(.logo-svg-scan) #LABS_-_B,
  .logo-svg:not(.logo-svg-scan) #LABS_-_S{
    animation: parenBreathe 2.4s ease-in-out infinite;
    will-change: opacity, filter;
  }
  @keyframes parenBreathe{
    0%, 100% {
      opacity: 1;
      filter: drop-shadow(0 0 0 rgba(0, 180, 254, 0));
    }
    50% {
      opacity: 0.4;
      filter: drop-shadow(0 0 20px rgba(0, 180, 254, 1));
    }
  }

  /* Accessibilité : désactivation pour les utilisateurs sensibles aux animations */
  @media (prefers-reduced-motion: reduce){
    .logo-svg *{
      animation: none !important;
      opacity: 1 !important;
    }
  }

  /* ---------- REVEAL ANIMATION ---------- */
  .reveal{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--t1), transform 0.8s var(--t1);
  }
  .reveal.in{
    opacity: 1;
    transform: translateY(0);
  }

  /* ---------- MOBILE NAV PANEL ---------- */
  .mobile-menu{
    display: none;
    position: fixed;
    inset: 0;
    background: #000925;       /* même fond que la nav-bar → continuité parfaite */
    z-index: 99;
    padding: 100px 32px 32px;
  }
  .mobile-menu.open{ display: block; }
  .mobile-menu a{
    display: block;
    padding: 18px 0;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 1024px){
    .hero-grid, .why-grid, .about-grid, .contact-grid{
      grid-template-columns: 1fr;
      gap: 60px;
    }
    .expertise-grid{ grid-template-columns: repeat(2, 1fr); }
    .service-features{ grid-template-columns: repeat(2, 1fr); }
    .pricing-grid{ grid-template-columns: 1fr; }
    .price-card.featured{ transform: none; }
    .projects-grid{ grid-template-columns: 1fr; }
    .testi-grid{ grid-template-columns: 1fr; }
    .footer-grid{ grid-template-columns: 1fr 1fr; gap: 40px; }
    .tech-grid{ grid-template-columns: repeat(4, 1fr); }
    .hero-visual{ justify-self: center; max-width: 480px; margin-top: 0; padding-top: 40px; }
  }
  /* Confinement supplémentaire des animations en mobile */
  @media (max-width: 1024px){
    section{ overflow: hidden; }
    .why-visual{ overflow: visible; }      /* on garde le débordement subtil mais contenu par la section */
  }

  @media (max-width: 720px){
    section{ padding: 80px 0; }
    .nav-links{ display: none; }
    .menu-toggle{ display: flex; }
    .nav-cta{ display: none; }
    .expertise-grid{ grid-template-columns: 1fr; }
    .service-features{ grid-template-columns: 1fr; }
    .service-block{ padding: 32px 24px; }
    .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom{ flex-direction: column; gap: 16px; }
    .form-row{ grid-template-columns: 1fr; }
    .hero{ padding-top: 140px; }
    .cta-card{ padding: 50px 28px; }
    .tech-grid{ grid-template-columns: repeat(2, 1fr); }
  }

  /* ---- Vigi : section « Veille continue » (vue Prestations) ---- */
  .vigi-title{ font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-top: 24px; margin-bottom: 24px; line-height: 1.04; letter-spacing: -0.03em; }
  .vigi-lead{ color: var(--ink-2); font-size: 1.05rem; line-height: 1.65; }
  .vigi-card{ display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--blue-line); box-shadow: 0 30px 80px rgba(0, 180, 254, 0.08); }
  .vigi-avatar{ width: 132px; height: 132px; border-radius: 32px; overflow: hidden; box-shadow: 0 0 0 1px var(--blue-line); }
  .vigi-avatar svg{ display: block; width: 100%; height: 100%; }
  @keyframes vigiScan{ 0%, 100%{ transform: translateY(-92px); } 50%{ transform: translateY(92px); } }
  .vigi-eye{ animation: vigiScan 6s ease-in-out infinite; }
  .vigi-name{ font-family: var(--display); font-weight: 700; font-size: 2rem; letter-spacing: -0.02em; margin-top: 6px; }
  .vigi-role{ font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
  .vigi-note{ color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }
  .vigi-checks{ list-style: none; margin: 6px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; }
  .vigi-checks li{ display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); color: var(--ink); font-size: 0.95rem; }
  .vigi-ok{ display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(40, 200, 64, 0.12); color: #28c840; flex-shrink: 0; }
  .vigi-ok svg{ width: 13px; height: 13px; }
  .vigi-when{ font-family: var(--mono); font-size: 0.75rem; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; }
  @media (max-width: 720px){
    .vigi-card{ padding: 26px; }
    .vigi-avatar{ width: 104px; height: 104px; border-radius: 26px; }
  }
  @media (prefers-reduced-motion: reduce){
    .vigi-eye{ animation: none; }
  }

  /* ---------- CONCIERGE IA (Codi) ---------- */
  #cc-launcher{ position:fixed; right:22px; bottom:22px; z-index:900; width:60px; height:60px; border-radius:50%; cursor:pointer;
    background:var(--bg,#000925); border:1.5px solid rgba(0,180,254,0.55); display:none; align-items:center; justify-content:center;
    box-shadow:0 10px 30px rgba(0,180,254,0.35), 0 0 0 5px rgba(0,180,254,0.08); transition:transform .2s var(--t1,ease); touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
  /* Survol animé seulement avec une souris : sur iOS, une transition au « hover » retarde le clic du toucher */
  @media (hover:hover){ #cc-launcher:hover{ transform:translateY(-2px) scale(1.04); } }
  #cc-launcher:active{ transform:scale(0.94); transition-duration:.08s; }
  #cc-launcher svg{ width:40px; height:40px; }
  /* ---------- CODI : persona IA (visage = logo, la barre est l'œil) ---------- */
  .codi-eye{ transform-box:fill-box; transform-origin:center; animation:codiBlink 5s infinite; }
  @keyframes codiBlink{ 0%, 93%, 100%{ transform:scaleY(1); } 96%{ transform:scaleY(0.12); } }
  .is-thinking .codi-look{ animation:codiScan 1.1s ease-in-out infinite; }
  .is-thinking .codi-eye{ animation:none; }
  @keyframes codiScan{ 0%, 100%{ transform:translateX(-11px); } 50%{ transform:translateX(11px); } }
  .is-talking .codi-eye{ animation:codiTalk .35s ease-in-out infinite alternate; }
  @keyframes codiTalk{ from{ transform:scaleY(0.5); } to{ transform:scaleY(1); } }
  @media (prefers-reduced-motion: reduce){
    .codi-eye, .codi-look{ animation:none !important; }
  }
  .cc-avatar{ position:relative; flex:0 0 auto; width:40px; height:40px; }
  .cc-avatar svg{ width:40px; height:40px; display:block; border-radius:12px; box-shadow:0 0 0 1px rgba(0,180,254,0.3); }
  .cc-avatar .dot{ position:absolute; right:-2px; bottom:-2px; width:10px; height:10px; border-radius:50%; background:#28c840; border:2px solid var(--bg,#000925); }
  #cc-panel{ position:fixed; right:22px; bottom:22px; z-index:901; width:min(380px, calc(100vw - 32px)); height:min(560px, calc(100vh - 44px));
    background:#050f2b; border:1px solid rgba(0,180,254,0.28); border-radius:18px; overflow:hidden; display:none; flex-direction:column;
    box-shadow:0 24px 70px rgba(0,9,37,0.6); }
  #cc-panel.open{ display:flex; }
  .cc-head{ background:var(--bg,#000925); padding:14px 16px; display:flex; align-items:center; gap:10px; border-bottom:1px solid rgba(0,180,254,0.18); }
  .cc-head b{ font-family:var(--display,'Sora'),sans-serif; color:#fff; font-size:14px; font-weight:700; }
  .cc-head span{ font-size:11px; color:#8a97ad; }
  .cc-head .x{ margin-left:auto; background:none; border:none; color:#8a97ad; font-size:20px; cursor:pointer; line-height:1; padding:2px 6px; }
  .cc-head .x:hover{ color:#fff; }
  .cc-msgs{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; }
  .cc-msg{ max-width:82%; padding:9px 12px; border-radius:14px; font-size:13.5px; line-height:1.5; white-space:pre-wrap; }
  .cc-msg.bot{ align-self:flex-start; background:#0f1e3d; color:#e7edf5; border-bottom-left-radius:4px; }
  .cc-msg.me{ align-self:flex-end; background:var(--blue,#00b4fe); color:#001426; border-bottom-right-radius:4px; }
  .cc-msg a{ color:var(--blue,#00b4fe); }
  .cc-typing{ align-self:flex-start; color:#8a97ad; font-size:12px; padding:4px 6px; }
  .cc-foot{ border-top:1px solid rgba(255,255,255,0.07); padding:10px; display:flex; gap:8px; align-items:flex-end; }
  .cc-foot textarea{ flex:1; resize:none; max-height:96px; min-height:40px; border:1px solid rgba(255,255,255,0.12); background:#0a1531; color:#fff;
    border-radius:10px; padding:9px 11px; font-family:var(--body,'Inter'),sans-serif; font-size:13.5px; line-height:1.4; }
  .cc-foot textarea:focus{ outline:none; border-color:var(--blue,#00b4fe); }
  .cc-foot textarea::placeholder{ color:#5f6f88; }
  .cc-send{ flex:0 0 auto; width:40px; height:40px; border-radius:10px; border:none; background:var(--blue,#00b4fe); color:#001426; cursor:pointer; font-size:17px; }
  .cc-send:disabled{ opacity:.4; cursor:default; }
  .cc-legal{ font-size:9.5px; color:#5f6f88; text-align:center; padding:0 12px 9px; line-height:1.4; }
  .cc-legal a{ color:#8a97ad; }

  /* Téléphone : chat plein écran, calé sur la zone visible (clavier compris, via JS) */
  @media (max-width:600px){
    #cc-launcher{ right:16px; bottom:16px; }
    #cc-panel{ top:0; left:0; right:0; bottom:auto; width:100%; height:100vh; height:100dvh; border:none; border-radius:0; box-shadow:none; }
    .cc-head{ padding:14px 12px 14px 18px; }
    .cc-head b{ font-size:16px; }
    .cc-head span{ font-size:12px; }
    .cc-head .x{ font-size:30px; padding:4px 10px; }
    .cc-msgs{ padding:18px 16px; gap:12px; }
    .cc-msg{ max-width:88%; font-size:15px; }
    .cc-foot{ padding:10px 12px; }
    .cc-send{ width:44px; height:44px; }
    .cc-legal{ font-size:11px; padding:0 16px 10px; }
  }
  html.cc-open, html.cc-open body{ overflow:hidden; }
  /* Écran tactile : 16px minimum, sinon iOS zoome au focus */
  @media (hover:none) and (pointer:coarse){
    .cc-foot textarea{ font-size:16px; }
  }
