:root{
    --bg: #0b0b14;
    --bg-2: #12121e;
    --card: #15151f;
    --card-border: #24242f;
    --text: #f2f2f5;
    --text-dim: #9b9ba8;
    --purple: #7c5cff;
    --purple-2: #9d7bff;
    --teal: #2ee6c8;
    --grad: linear-gradient(90deg, var(--teal), var(--purple-2));
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{ scroll-behavior: smooth; }
  body{
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
  }
  a{ color:inherit; text-decoration:none; }
  .wrap{ max-width: 1180px; margin: 0 auto; padding: 0 32px; }
  ::selection{ background: rgba(124,92,255,0.35); }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
    outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px;
  }

  @media (prefers-reduced-motion: reduce){
    *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  }

  /* ---------- Reveal on scroll ---------- */
  .reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible{ opacity:1; transform: translateY(0); }
  .reveal-stagger > *{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal-stagger.visible > *{ opacity:1; transform: translateY(0); }
  .reveal-stagger.visible > *:nth-child(1){ transition-delay: .05s; }
  .reveal-stagger.visible > *:nth-child(2){ transition-delay: .12s; }
  .reveal-stagger.visible > *:nth-child(3){ transition-delay: .19s; }
  .reveal-stagger.visible > *:nth-child(4){ transition-delay: .26s; }
  .reveal-stagger.visible > *:nth-child(5){ transition-delay: .33s; }
  .reveal-stagger.visible > *:nth-child(6){ transition-delay: .40s; }

  /* Header */
  header{
    position: sticky; top:0; z-index: 50;
    background: rgba(11,11,20,0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--card-border);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding: 18px 32px;
    max-width: 1180px; margin: 0 auto;
  }
  .brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px; }
  .brand .logo{
    width:36px; height:36px; border-radius:10px;
    background: var(--grad);
    display:flex; align-items:center; justify-content:center;
    font-size:18px;
    transition: transform .3s ease;
  }
  .brand:hover .logo{ transform: rotate(-8deg) scale(1.08); }
  .nav-links{ display:flex; gap:32px; font-size:14.5px; color: var(--text-dim); }
  .nav-links a{ position:relative; padding: 4px 0; transition: color .2s ease; }
  .nav-links a::after{
    content:""; position:absolute; left:0; bottom:0; width:0; height:1.5px;
    background: var(--grad); transition: width .25s ease;
  }
  .nav-links a:hover{ color: var(--text); }
  .nav-links a:hover::after{ width:100%; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding: 11px 22px; border-radius: 30px;
    font-weight:700; font-size:14.5px;
    cursor:pointer; border:none;
    transition: transform .2s ease, box-shadow .2s ease, opacity .15s ease;
    position: relative; overflow: hidden;
  }
  .btn:hover{ transform: translateY(-2px); }
  .btn-primary{ background: var(--grad); color: #0b0b14; }
  .btn-primary:hover{ box-shadow: 0 10px 30px -8px rgba(124,92,255,0.6); }
  .btn-outline{ background: transparent; color: var(--text); border: 1px solid var(--card-border); }
  .btn-outline:hover{ border-color: var(--purple-2); }
  .btn-ghost{ background: rgba(255,255,255,0.06); color: var(--text); }

  @media (max-width: 860px){ .nav-links{ display:none; } }

  /* Mobile menu */
  .menu-toggle{
    display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;
  }
  .menu-toggle span{ width:22px; height:2px; background: var(--text); border-radius:2px; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2){ opacity:0; }
  .menu-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  @media (max-width: 860px){ .menu-toggle{ display:flex; } }

  .mobile-menu{
    display:none; flex-direction:column;
    background: var(--bg-2); border-bottom: 1px solid var(--card-border);
    max-height:0; overflow:hidden; transition: max-height .3s ease;
  }
  @media (max-width: 860px){ .mobile-menu{ display:flex; } }
  .mobile-menu.open{ /* max-height défini dynamiquement en JS selon le contenu réel */ }
  body.no-scroll{ overflow: hidden; }
  .mobile-menu a{
    padding: 16px 32px; color: var(--text-dim); font-size:15px; border-top: 1px solid var(--card-border);
  }
  .mobile-menu a:hover{ color: var(--text); }

  /* Hero */
  .hero{
    padding: 90px 0 70px;
    position:relative;
    overflow:hidden;
  }
  .hero-glow{
    position:absolute; inset:0; pointer-events:none; z-index:0;
    background: radial-gradient(500px circle at var(--mx,70%) var(--my,20%), rgba(124,92,255,0.18), transparent 60%);
    transition: background .1s ease;
  }
  .hero::before{
    content:"";
    position:absolute; top:-200px; right:-150px;
    width:600px; height:600px; border-radius:50%;
    background: radial-gradient(circle, rgba(124,92,255,0.2), transparent 70%);
    pointer-events:none;
  }
  .hero-grid{
    display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items:center;
    position:relative; z-index:1;
  }
  @media (max-width: 900px){ .hero-grid{ grid-template-columns:1fr; } }

  .hero h1{
    font-size: 48px; font-weight: 900; line-height: 1.12; letter-spacing:-0.01em;
    margin-bottom: 22px;
  }
  .hero h1 .accent{
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero p.lead{
    font-size: 17px; color: var(--text-dim); max-width: 520px; margin-bottom: 32px;
  }
  .hero-ctas{ display:flex; gap:14px; margin-bottom: 26px; flex-wrap:wrap; }
  .trust-row{ display:flex; gap:24px; flex-wrap:wrap; font-size: 13.5px; color: var(--text-dim); }
  .trust-row span{ display:flex; align-items:center; gap:7px; }
  .trust-row .dot{ width:16px; height:16px; border-radius:50%; background: rgba(46,230,200,0.15); color: var(--teal); display:flex; align-items:center; justify-content:center; font-size:10px; }

  /* Hero mockup */
  .mockup-wrap{ position:relative; }
  .mockup{
    background: var(--bg-2);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
    transition: transform .4s ease;
    display: flex;
    flex-direction: column;
    height: 360px;
  }
  .mockup-wrap:hover .mockup{ transform: translateY(-4px); }
  .mockup-topbar{ display:flex; gap:6px; margin-bottom:18px; flex-shrink:0; }
  .mockup-topbar span{ width:10px; height:10px; border-radius:50%; background: var(--card-border); }
  .mockup-subject{
    font-size: 13px; font-weight:700; color: var(--text-dim);
    padding-bottom: 12px; margin-bottom: 14px;
    border-bottom: 1px solid var(--card-border);
    flex-shrink: 0;
  }
  #animChat{
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .chat-bubble{
    background: var(--card);
    border: 1px solid var(--card-border);
    flex-shrink: 0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 13.5px;
    max-width: 85%;
  }
  .chat-bubble.customer{ color: var(--text-dim); }
  .chat-bubble.bot{
    margin-left: auto;
    background: rgba(124,92,255,0.12);
    border-color: rgba(124,92,255,0.3);
    color: var(--text);
  }
  .msg-time{
    display:block;
    margin-top: 6px;
    font-size: 10.5px;
    color: var(--text-dim);
    opacity: 0.6;
  }
  .chat-bubble.bot .msg-time{ text-align:right; }
  .typing-dots{ display:inline-flex; gap:4px; padding: 4px 0; }
  .typing-dots span{
    width:6px; height:6px; border-radius:50%;
    background: var(--text-dim);
    animation: typingPulse 1s infinite ease-in-out;
  }
  .typing-dots span:nth-child(2){ animation-delay:.15s; }
  .typing-dots span:nth-child(3){ animation-delay:.3s; }
  @keyframes typingPulse{
    0%,80%,100%{ opacity:.25; transform:scale(0.7); }
    40%{ opacity:1; transform:scale(1); }
  }
  .cursor-blink::after{ content:"|"; animation: blink 0.9s infinite; color: var(--teal); }
  @keyframes blink{ 50%{ opacity:0; } }

  .stat-float{
    position:absolute; bottom:-24px; left: -20px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.7);
    max-width: calc(100% - 24px);
  }
  @media (max-width: 900px){
    .stat-float{ left: 12px; bottom:-20px; }
  }
  .stat-float .num{ font-size: 30px; font-weight: 900; color: var(--teal); line-height:1; }
  .stat-float .lbl{ font-size: 12.5px; color: var(--text-dim); margin-top:4px; }

  /* Sections */
  section{ padding: 90px 0; position:relative; }
  .eyebrow{
    color: var(--teal); font-weight:800; font-size:13px; letter-spacing:0.12em;
    text-transform: uppercase; margin-bottom: 14px;
  }
  h2{ font-size: 34px; font-weight: 900; letter-spacing:-0.01em; margin-bottom: 18px; max-width: 640px; }
  section > .wrap > p.sub{ color: var(--text-dim); font-size: 16px; max-width: 560px; margin-bottom: 50px; }

  /* Principle banner */
  .principle{
    background: linear-gradient(180deg, rgba(124,92,255,0.08), transparent), var(--bg-2);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 70px 0;
  }
  .principle-inner{
    max-width: 780px; margin: 0 auto; text-align:center;
  }
  .principle-quote{
    font-size: 26px; font-weight: 800; line-height:1.4; letter-spacing:-0.01em;
    margin-bottom: 18px;
  }
  .principle-quote .hl{
    background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  .principle p.detail{ color: var(--text-dim); font-size: 15.5px; max-width: 520px; margin: 0 auto; }

  /* Advantages grid */
  .cards-grid{
    display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  }
  @media (max-width: 900px){ .cards-grid{ grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 620px){ .cards-grid{ grid-template-columns: 1fr; } }
  .card{
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  }
  .card:hover{
    transform: translateY(-6px);
    border-color: rgba(124,92,255,0.4);
    box-shadow: 0 20px 40px -20px rgba(124,92,255,0.35);
  }
  .card-icon{
    width:44px; height:44px; border-radius:10px;
    background: rgba(124,92,255,0.15);
    display:flex; align-items:center; justify-content:center;
    font-size:20px; margin-bottom:18px;
    transition: transform .3s ease;
  }
  .card:hover .card-icon{ transform: scale(1.12) rotate(-4deg); }
  .card h3{ font-size: 18px; font-weight:800; margin-bottom:8px; }
  .card p{ font-size: 14.5px; color: var(--text-dim); }

  /* Comparison table */
  .compare-wrap{
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    overflow: hidden;
  }
  .compare-row{
    display:grid; grid-template-columns: 1.3fr 1fr 1fr;
    border-bottom: 1px solid var(--card-border);
  }
  .compare-row:last-child{ border-bottom:none; }
  .compare-row.head{ background: rgba(255,255,255,0.03); font-weight:800; font-size:13.5px; }
  .compare-row > div{ padding: 18px 22px; font-size:14.5px; }
  .compare-row > div:first-child{ color: var(--text-dim); }
  .compare-row .col-them{ color: var(--text-dim); }
  .compare-row .col-us{ color: var(--teal); font-weight:700; position:relative; }
  .compare-row.head .col-us{ color:var(--teal); }
  @media (max-width: 620px){
    .compare-row{ grid-template-columns: 1fr; }
    .compare-row.head{ display:none; }
    .compare-row > div:first-child{ font-weight:800; color: var(--text); padding-bottom:4px; }
    .compare-row > div{ padding: 10px 18px; }
    .compare-row{ padding-top:8px; padding-bottom:8px; }
    .compare-row .col-them::before{ content:"Un poste dédié : "; color: var(--text); font-weight:700; }
    .compare-row .col-us::before{ content:"Optimabot : "; }
  }

  /* How it works */
  .steps{ display:flex; flex-direction:column; gap:0; max-width: 640px; }
  .step{
    display:flex; gap: 18px; position:relative; padding-bottom: 26px;
  }
  .step:last-child{ padding-bottom:0; }
  .step::before{
    content:""; position:absolute; left:19px; top:42px; bottom:0; width:1px;
    background: var(--card-border);
  }
  .step:last-child::before{ display:none; }
  .step-num{
    font-size: 13px; font-weight:900; color: var(--bg);
    background: var(--grad);
    flex-shrink:0; width:40px; height:40px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    z-index:1;
  }
  .step h3{ font-size: 16px; font-weight:800; margin-bottom:5px; padding-top:6px; }
  .step p{ color: var(--text-dim); font-size: 13.5px; }
  .step .step-detail{
    margin-top:8px; font-size:12.5px; color: var(--text-dim);
    background: var(--card); border:1px solid var(--card-border);
    border-radius:10px; padding:12px 16px;
  }

  /* Founder section */
  .founder{
    max-width: 720px; margin: 0 auto; text-align:center;
  }
  .founder-mark{
    font-family: Georgia, serif; font-size: 64px; line-height:1; font-weight:900;
    background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
    margin-bottom: 6px; opacity: 0.85;
  }
  .founder blockquote{ font-size: 19px; line-height:1.6; font-style:italic; color: var(--text); margin-bottom:18px; }
  .founder .signoff{ font-weight:800; }
  .founder .signoff span{ display:block; font-weight:500; color:var(--text-dim); font-size:13.5px; margin-top:2px; }

  .usecase-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  @media (max-width: 900px){ .usecase-grid{ grid-template-columns: repeat(2,1fr); } }
  @media (max-width: 620px){ .usecase-grid{ grid-template-columns: 1fr; } }
  .usecase-tag{ font-size:13px; font-weight:800; margin-bottom:16px; }
  .usecase-q{ font-size:14px; color:var(--text-dim); font-style:italic; padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid var(--card-border); }
  .usecase-a{ font-size:14px; padding:12px 14px; background:rgba(124,92,255,0.08); border:1px solid rgba(124,92,255,0.2); border-radius:10px; }

  /* Pricing */
  .pricing-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; }
  @media (max-width: 720px){ .pricing-grid{ grid-template-columns: 1fr; } }
  .price-card{
    background: var(--card); border: 1px solid var(--card-border); border-radius: 16px;
    padding: 24px 22px; transition: transform .3s ease, box-shadow .3s ease;
  }
  .price-card:hover{ transform: translateY(-4px); }
  .price-card.featured{
    border-color: var(--purple);
    background: linear-gradient(180deg, rgba(124,92,255,0.08), transparent 40%), var(--card);
  }
  .price-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 16px; }
  .price-top h3{ font-size: 17px; font-weight:800; }
  .pill{ font-size: 10.5px; font-weight:700; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.06); color: var(--text-dim); }
  .pill.hot{ background: var(--grad); color:#0b0b14; }
  .price-amount{ font-size: 34px; font-weight:900; margin-bottom:2px; }
  .price-amount .unit{ font-size:14px; font-weight:600; color: var(--text-dim); }
  .price-monthly{ font-size: 15px; font-weight:800; color: var(--teal); margin-bottom: 18px; }
  .price-monthly .unit{ font-size:12px; font-weight:600; color: var(--text-dim); }
  .feature-list{ list-style:none; display:flex; flex-direction:column; gap:9px; margin-bottom: 16px; }
  .feature-list li{ display:flex; gap:9px; font-size:13px; color: var(--text-dim); align-items:flex-start; }
  .feature-list li .check{ color: var(--teal); font-weight:900; flex-shrink:0; }
  .scarcity{
    font-size: 11.5px; color: var(--teal); font-weight:700;
    display:flex; align-items:center; gap:8px;
    background: rgba(46,230,200,0.08); border:1px solid rgba(46,230,200,0.25);
    padding: 7px 11px; border-radius: 8px;
  }
  .scarcity .pulse-dot{
    width:7px; height:7px; border-radius:50%; background: var(--teal);
    animation: pulseDot 1.6s infinite ease-in-out;
  }
  @keyframes pulseDot{ 0%,100%{ box-shadow: 0 0 0 0 rgba(46,230,200,0.5);} 70%{ box-shadow: 0 0 0 8px rgba(46,230,200,0);} }

  /* CTA band */
  .cta-band{
    max-width: 1180px; margin: 0 auto; padding: 36px 28px;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px;
    background: var(--card); border:1px solid var(--card-border); border-radius: 18px;
  }
  .cta-band h3{ font-size:19px; font-weight:800; }
  .cta-band p{ color:var(--text-dim); font-size:13.5px; margin-top:4px; }

  /* FAQ */
  .faq-list{ max-width: 680px; }
  .faq-item{
    border-bottom: 1px solid var(--card-border);
  }
  .faq-q{
    display:flex; align-items:center; justify-content:space-between;
    padding: 16px 4px; cursor:pointer; font-weight:700; font-size:14.5px;
  }
  .faq-q .plus{ font-size:18px; color:var(--teal); transition: transform .3s ease; flex-shrink:0; margin-left:16px; }
  .faq-item.open .faq-q .plus{ transform: rotate(45deg); }
  .faq-a{
    max-height:0; overflow:hidden; transition: max-height .35s ease, padding .35s ease;
    color: var(--text-dim); font-size:13.5px; padding: 0 4px;
  }
  .faq-item.open .faq-a{ max-height:220px; padding: 0 4px 16px; }

  /* Contact / CTA form */
  .cta-section{ background: var(--bg-2); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
  .cta-head{ text-align:center; max-width: 620px; margin: 0 auto 44px; }
  .cta-head h2{ margin: 0 auto 14px; }
  .cta-head p{ color: var(--text-dim); font-size: 16px; }
  .form-card{ background: var(--card); border: 1px solid var(--card-border); border-radius: 18px; padding: 36px; max-width: 720px; margin: 0 auto; }
  .form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
  @media (max-width: 600px){ .form-row{ grid-template-columns: 1fr; } }
  label{ display:block; font-size: 13.5px; font-weight:700; margin-bottom: 8px; }
  label .req{ color: var(--teal); }
  input, select, textarea{
    width:100%; background: var(--bg); border: 1px solid var(--card-border); color: var(--text);
    padding: 12px 14px; border-radius: 8px; font-size: 14px; font-family: inherit;
    transition: border-color .2s ease;
  }
  input::placeholder, textarea::placeholder{ color: #565660; }
  textarea{ resize: vertical; min-height: 100px; }
  input:focus, select:focus, textarea:focus{ outline:none; border-color: var(--purple); }
  .submit-btn{
    width:100%; padding: 15px; border-radius: 30px; border:none;
    background: var(--grad); color:#0b0b14; font-weight:800; font-size:15px;
    cursor:pointer; margin-top: 8px; transition: transform .2s ease, box-shadow .2s ease;
  }
  .submit-btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(124,92,255,0.6); }

  footer{ padding: 40px 0; text-align:center; color: var(--text-dim); font-size: 13.5px; }

/* ---------- Avantages trimmed : badges secondaires ---------- */
.mini-badges{
  display:flex; flex-wrap:wrap; gap:12px; margin-top: 30px;
}
.mini-badge{
  font-size: 13px; color: var(--text-dim);
  background: var(--card); border: 1px solid var(--card-border);
  padding: 8px 16px; border-radius: 20px;
  display:flex; align-items:center; gap:7px;
}
.mini-badge .dot2{ color: var(--teal); }

/* ---------- Le calcul, mis en avant ---------- */
.calc-highlight{
  display:grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items:center;
  max-width: 780px; margin: 0 auto 46px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 20px;
  padding: 40px 36px;
}
@media (max-width: 700px){
  .calc-highlight{ grid-template-columns: 1fr; text-align:center; }
  .calc-vs{ display:none; }
}
.calc-side{ text-align:center; }
.calc-side .calc-num{ font-size: 40px; font-weight:900; line-height:1; margin-bottom:8px; }
.calc-side.them .calc-num{ color: var(--text-dim); }
.calc-side.us .calc-num{
  background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.calc-side .calc-lbl{ font-size: 13.5px; color: var(--text-dim); }
.calc-vs{
  font-size: 13px; font-weight:800; color: var(--text-dim);
  width:36px; height:36px; border-radius:50%; border:1px solid var(--card-border);
  display:flex; align-items:center; justify-content:center;
}

/* ---------- Cas d'usage, icônes propres ---------- */
.usecase-icon{
  width:44px; height:44px; border-radius:10px;
  background: rgba(124,92,255,0.15);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; margin-bottom:16px;
}
.usecase-tag{ font-size:15px; font-weight:800; margin-bottom:16px; }

/* ---------- Tarifs, mensuel mis en avant ---------- */
.price-monthly-big{ font-size: 32px; font-weight:900; margin-bottom:3px; }
.price-monthly-big .unit{ font-size:14px; font-weight:600; color: var(--text-dim); }
.price-install-small{ font-size: 12.5px; color: var(--text-dim); margin-bottom: 18px; }
.price-install-small .amount{ font-weight:700; color: var(--text); }

/* ---------- Page hero (pages secondaires) ---------- */
.page-hero{ padding-top: 44px; padding-bottom: 6px; }
.page-hero h1{ font-size: 30px; font-weight:900; letter-spacing:-0.01em; margin-bottom:10px; }
.page-hero p{ color: var(--text-dim); font-size:15px; max-width:560px; }

/* ---------- Email preview component (hero + cas d'usage) ---------- */
.email-window{
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
}
.email-topbar{ display:flex; gap:6px; margin-bottom:14px; }
.email-topbar span{ width:10px; height:10px; border-radius:50%; background: var(--card-border); }
.email-meta{ font-size:12px; color: var(--text-dim); margin-bottom:14px; }
.email-meta b{ color: var(--text); font-weight:700; }
.email-subject{
  font-size: 13px; font-weight:700; color: var(--text-dim);
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}
.email-msg{
  font-size: 13px; color: var(--text); line-height:1.55;
  padding: 11px 13px; background: var(--card); border: 1px solid var(--card-border);
  border-radius: 9px; margin-bottom: 11px;
}
.email-sender{ font-size:10.5px; font-weight:800; color: var(--text-dim); text-transform:uppercase; letter-spacing:0.05em; margin-bottom:5px; }
.email-reply{
  font-size: 13px; color: var(--text); line-height:1.55;
  padding: 11px 13px; background: rgba(124,92,255,0.1); border: 1px solid rgba(124,92,255,0.3);
  border-radius: 9px;
}
.email-reply .email-sender{ color: var(--teal); }
.reply-timer{ font-size:10.5px; color: var(--teal); font-weight:700; margin: 8px 0; display:flex; align-items:center; gap:6px; }
.reply-timer::before{ content:"↳"; }

/* Cas d'usage : cartes format email */
.usecase-email-grid{ display:flex; flex-direction:column; gap:14px; max-width: 680px; }
.usecase-email-card{
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 18px 20px; transition: transform .3s ease, border-color .3s ease;
}
.usecase-email-card:hover{ transform: translateY(-3px); border-color: rgba(124,92,255,0.35); }
.usecase-email-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-size:11.5px; font-weight:800; color: var(--teal);
  text-transform:uppercase; letter-spacing:0.05em; margin-bottom:12px;
}

/* ---------- Corrections mobile ---------- */
@media (max-width: 640px){
  .hero h1{ font-size: 32px; }
  .principle-quote{ font-size: 21px; }
  h2{ font-size: 26px; }
  .page-hero h1{ font-size: 24px; }
}
@media (max-width: 860px){
  .nav .btn-primary{ padding: 9px 14px; font-size: 13px; }
  .nav{ gap: 8px; }
  .nav .brand{ font-size: 16px; }
  .nav .brand .logo{ width: 30px; height: 30px; font-size: 15px; }
}
@media (max-width: 400px){
  .nav .btn-primary{ display:none; }
}
.mobile-menu-cta{
  padding: 16px 32px !important; border-top: 1px solid var(--card-border);
  background: rgba(124,92,255,0.08);
}
.mobile-menu-cta a{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--grad); color:#0b0b14; font-weight:800; font-size:14px;
  padding: 10px 20px; border-radius: 30px;
}

/* ---------- Pages annexes : espacement resserré (moins de contenu par page) ---------- */
.section-compact{ padding: 34px 0; }
.section-compact h2{ margin-bottom: 10px; }
.section-compact .sub{ margin-bottom: 26px; }
