/* ============================================================
   Ampleur.ai — Styles partagés (variables, base, header, footer)
   Chargé sur toutes les pages. Les styles propres à chaque page
   restent dans le <style> de la page elle-même.
   ============================================================ */

  :root{
    --white:#FFFFFF;
    --cream-pale:#F6FBE4;
    --green:#5BC77A;
    --blue:#4C49F2;
    --blue-light:#53B1F9;
    --lilac-pale:#C3B8FA;
    --purple:#8053F6;
    --orange:#FF6B35;
    --pink:#EA34DF;
    --yellow-pale:#FFF3D0;
    --ink:#14120E;
    --graphite:#5B564A;

    /* Thème sombre uniforme */
    --bg:#14120E;
    --fg:#F2EEE5;
    --fg-soft:#B8B3A6;
    --surface:#1F1B14;
    --surface-2:#241F16;
    --line:rgba(255,255,255,0.10);
    --accent:#8C89FF;
    --accent-hover:#6D69F5;
  }
  *{box-sizing:border-box;}
  a, button{ -webkit-tap-highlight-color:transparent; }
  html,body{
    margin:0;padding:0;
    background:var(--bg) !important;
    color-scheme:dark;
    width:100%;
    min-height:100%;
  }
  body{
    padding-top:80px;
    color:var(--fg);
    font-family:'IBM Plex Sans', sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  .wrap{ max-width:800px; margin:0 auto; padding:0 28px; }

  /* ---------- HEADER ---------- */
  site-header{
    display:block;
    position:fixed; top:0; left:0; right:0; z-index:50;
    background:var(--ink);
    border-bottom:1px solid var(--line);
  }
  .header-inner{
    max-width:1180px; margin:0 auto; padding:14px 28px;
    display:flex; align-items:center; justify-content:space-between;
    gap:20px;
  }
  .header-logo{ display:flex; align-items:center; }
  .header-logo img{ height:51px; width:auto; display:block; }
  .header-logo svg{ height:51px; width:auto; display:block; }

  .header-nav{
    display:flex; align-items:center; gap:28px;
  }
  .header-nav a{
    font-size:14px; font-weight:500; color:var(--fg);
    text-decoration:none;
  }
  .header-nav a:hover{ color:var(--orange); }

  .header-actions{ display:flex; align-items:center; gap:16px; }
  .header-phone{
    display:flex; align-items:center; gap:6px;
    font-family:'IBM Plex Mono', monospace;
    font-size:13px; color:var(--fg-soft);
    text-decoration:none;
    white-space:nowrap;
  }
  .header-phone:hover{ color:var(--fg); }
  .header-phone svg{ width:15px; height:15px; flex-shrink:0; }

  .btn-header{
    font-family:'IBM Plex Sans', sans-serif;
    font-weight:600; font-size:14px;
    padding:10px 20px;
    border-radius:8px;
    background:var(--accent); color:var(--ink);
    text-decoration:none; white-space:nowrap;
    border:1.5px solid var(--accent);
    user-select:none; -webkit-user-select:none;
    -webkit-touch-callout:none;
  }
  .btn-header:hover, .btn-header:active{ background:var(--accent-hover); border-color:var(--accent-hover); }

  .burger{
    display:none;
    background:none; border:none; cursor:pointer;
    width:32px; height:32px;
    padding:0; flex-shrink:0;
    align-items:center; justify-content:center;
  }
  .burger span, .burger span::before, .burger span::after{
    content:""; display:block;
    width:22px; height:2px; background:var(--fg);
    position:relative; transition:transform .2s ease, opacity .2s ease;
  }
  .burger span::before{ position:absolute; top:-7px; }
  .burger span::after{ position:absolute; top:7px; }
  .burger.open span{ background:transparent; }
  .burger.open span::before{ transform:rotate(45deg); top:0; }
  .burger.open span::after{ transform:rotate(-45deg); top:0; }

  .mobile-menu{
    display:none;
    flex-direction:column;
    gap:4px;
    padding:16px 28px 22px;
    border-top:1px solid var(--line);
    background:var(--ink);
  }
  .mobile-menu.open{ display:flex; }
  .mobile-menu a{
    padding:10px 0;
    font-size:15px; font-weight:500; color:var(--fg);
    text-decoration:none;
    border-bottom:1px solid var(--line);
  }
  .mobile-menu .btn-header{ text-align:center; margin-top:10px; width:100%; }
  .mobile-menu a.btn-header{ color:var(--ink) !important; background:var(--accent); border-color:var(--accent); }

  @media (max-width: 880px){
    .header-nav{ display:none; }
    .burger{ display:flex; }
    .header-actions .btn-header{ display:none; }
  }
  @media (max-width: 420px){
    .header-phone .phone-number{ display:none; }
  }
  * , *::before, *::after{ min-width:0; }
  html, body{ max-width:100%; overflow-x:hidden; }

  html{ scroll-behavior:smooth; }
  #hero, #positionnement, #a-propos, #contact{
    scroll-margin-top:100px;
  }
  .hero, .section2, .section5, .section6, .faq{
    border-top:1px solid var(--line);
  }
  .hero{ border-top:none; }


  /* ---------- FOOTER ---------- */
  site-footer{ display:block; background:var(--ink); color:var(--white); padding:56px 0 28px; }
  .footer-grid{ display:grid; grid-template-columns:1.2fr 1fr 1.3fr; gap:40px; margin-bottom:40px; }
  .footer-brand{ font-family:'Space Grotesk', sans-serif; font-size:18px; font-weight:700; margin:0 0 10px; }
  .footer-tagline{ font-size:13.5px; color:#B8B3A6; line-height:1.6; max-width:32ch; margin:0; }
  .footer-col h5{
    font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.1em;
    color:#8B8577; margin:0 0 14px;
  }
  .footer-col a{ display:block; font-size:13.5px; color:#E8E4D8; text-decoration:none; margin-bottom:10px; }
  .footer-col a:hover{ color:var(--yellow-pale); }
  .footer-col p{ font-size:13px; color:#B8B3A6; line-height:1.6; margin:0 0 10px; }
  .footer-bottom{
    border-top:1px solid rgba(255,255,255,0.12); padding-top:22px;
    display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px;
    font-size:12.5px; color:#8B8577;
  }
  .footer-bottom a{ color:#8B8577; text-decoration:none; margin-left:16px; }
  .footer-bottom a:hover{ color:var(--white); }

  @media (max-width: 760px){
    .footer-grid{ grid-template-columns:1fr; gap:28px; }
  }

  /* ---------- BANDEAU COOKIES (tarteaucitron) ---------- */
  #tarteaucitronRoot{ font-family:'IBM Plex Sans', sans-serif !important; }
  #tarteaucitronAlertBig{
    background: var(--ink) !important;
    color: var(--white) !important;
    border-top:1px solid rgba(255,255,255,0.1) !important;
    padding:20px 32px !important;
    font-size:14px !important;
    line-height:1.6 !important;
    box-shadow:0 -4px 24px rgba(0,0,0,0.18) !important;
  }
  #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert{ color:#B8B3A6 !important; }
  #tarteaucitronAlertBig a{ color:var(--orange) !important; text-decoration:underline !important; }
  #tarteaucitronAlertBig button{
    font-family:'IBM Plex Sans', sans-serif !important;
    font-size:13px !important;
    font-weight:500 !important;
    border-radius:6px !important;
    padding:9px 20px !important;
    cursor:pointer !important;
    border:none !important;
    margin:4px 6px !important;
    transition:opacity .15s !important;
  }
  #tarteaucitronPersonalize2{
    background: var(--orange) !important;
    color:#fff !important;
  }
  #tarteaucitronAllDenied2{
    background:transparent !important;
    color:#B8B3A6 !important;
    border:1px solid rgba(255,255,255,0.2) !important;
  }
  #tarteaucitronAlertBig button:hover{ opacity:.85 !important; }
