/* ===== VARIABLES CSS ===== */
    :root {
      --abyss: #0D1B2A;
      --caraibe: #01b6d8;
      --coral: #FF7F50;
      --pearl: #F6F7F9;
      --ink: #111111;
      --muted: rgba(0,0,0,.65);
      --border-light: rgba(0,0,0,.06);
      --border-medium: rgba(0,0,0,.08);
      --border-dashed: rgba(0,0,0,.12);
      --success: #10b981;
      --warning: #f59e0b;
      --error: #ef4444;
    }

    /* ===== RESET & BASE ===== */
    * { 
      box-sizing: border-box; 
    }

    html, body { 
      margin: 0; 
      padding: 0; 
      font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; 
      color: var(--ink); 
      background: var(--pearl); 
    }

    a { 
      color: inherit; 
      text-decoration: none; 
    }

    h1, h2, h3, h4 { 
      margin: 0; 
      color: var(--abyss); 
    }

    h1 { font-size: 50px; line-height: 1.1; }
    h2 { font-size: 35px; }
    h3 { font-size: 20px; }
    h4 { font-size: 18px; }

    p { 
      color: var(--muted); 
    }

    ul, ol {
      margin: 0;
      padding: 0;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    /* ===== LAYOUT ===== */
    .container { 
      max-width: 1140px; 
      margin: 0 auto; 
      padding: 0 20px; 
    }

    .section { 
      padding: 50px 0; 
    }

    .grid { 
      display: grid; 
      gap: 24px; 
    }

    .grid-2 { 
      grid-template-columns: 1fr; 
    }

    .grid-3 { 
      grid-template-columns: 1fr; 
    }

    /* ===== COMPOSANTS ===== */
    
    /* Boutons */
    .btn { 
      display: inline-flex; 
      align-items: center; 
      justify-content: center; 
      gap: 8px; 
      padding: 12px 18px; 
      border-radius: 12px; 
      border: 0; 
      cursor: pointer; 
      font-weight: 700; 
      transition: all 0.2s ease;
      font-size: 14px;
    }

    .btn-sm {
      padding: 8px 14px;
      font-size: 12px;
    }

    .btn-primary { 
      background: var(--coral); 
      color: #fff; 
    }

    .btn-primary:hover { 
      background-color: #e26f46; 
    }

    .btn-primary.abyss { 
      background-color: var(--abyss); 
    }

    .btn-accent { 
      background: var(--coral); 
      color: #fff; 
      font-weight: 900; 
    }

    .btn-accent:hover { 
      background: #e26f46; 
    }

    .btn-secondary {
      background: #fff;
      color: var(--abyss);
      border: 1px solid var(--border-medium);
    }

    .btn-secondary:hover {
      background: var(--pearl);
    }

    .btn-success {
      background: var(--success);
      color: #fff;
    }

    .btn-success:hover {
      background: #059669;
    }

    .btn-light { 
      background: #fff; 
      color: var(--abyss); 
      border: 1px solid var(--border-medium); 
    }

    /* Cartes */
    .card { 
      background: #fff; 
      border-radius: 16px; 
      padding: 18px; 
      box-shadow: 0 8px 24px rgba(13,27,42, 0.06); 
      border: 1px solid var(--border-light);
      display: flex; 
      flex-direction: column; 
      justify-content: space-between; 
    }

    .card.hover:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 32px rgba(13,27,42, 0.12);
      transition: all 0.2s ease;
    }

    .card > *:last-child { 
      margin-top: auto; 
    }

    .card.ribbon { 
      border: 2px solid var(--caraibe); 
      background: rgba(1,182,216,.05); 
      box-shadow: 0 0 16px rgba(1,182,216,.25); 
    }

    /* Formulaires */
    .form-group {
      margin-bottom: 16px;
    }

    .form-label {
      display: block;
      font-weight: 600;
      color: var(--abyss);
      margin-bottom: 6px;
      font-size: 14px;
    }

    .form-input {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border-medium);
      border-radius: 8px;
      font-size: 14px;
      transition: border-color 0.2s ease;
    }

    .form-input:focus {
      outline: none;
      border-color: var(--caraibe);
      box-shadow: 0 0 0 3px rgba(1,182,216,.1);
    }

    .form-input.error {
      border-color: var(--error);
    }

    /* Badges et Pills */
    .badge { 
      display: inline-flex; 
      align-items: center; 
      gap: 8px; 
      background: #fff; 
      border: 1px solid var(--border-light); 
      color: var(--abyss); 
      padding: 6px 10px; 
      border-radius: 999px; 
      font-size: 12px; 
    }

    .badge-urgency {
      background: #ffe4dc;
      color: #8a3a1b;
      border-radius: 999px;
      padding: 6px 10px;
      font-weight: 800;
      font-size: 12px;
    }

    .badge.success { background: var(--success); color: white; border: none; }
    .badge.warning { background: var(--warning); color: white; border: none; }
    .badge.error { background: var(--error); color: white; border: none; }

    .tag {
      display: inline-block;
      background: rgba(1,182,216,.1);
      color: var(--abyss);
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 600;
      margin: 2px;
    }

    .pill { 
      display: inline-flex; 
      justify-content: center; 
      gap: 8px; 
      background: rgba(255,127,80,.1); 
      color: var(--abyss); 
      border-radius: 999px; 
      padding: 6px 10px; 
      font-size: 12px; 
      font-weight: 700; 
    }

    .bar { 
      background: #fff; 
      border: 1px dashed var(--border-dashed); 
      border-radius: 12px; 
      padding: 10px 14px; 
      display: flex; 
      gap: 10px; 
      align-items: center; 
      justify-content: center; 
    }

    /* Navigation & Breadcrumbs */
    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 20px;
    }

    .breadcrumb a {
      color: var(--caraibe);
    }

    .breadcrumb-sep {
      color: var(--border-medium);
    }

    /* Icônes et éléments visuels */
    .feat-icon { 
      width: 36px; 
      height: 36px; 
      border-radius: 10px; 
      background: rgba(255,127,80,.12); 
      display: grid; 
      place-items: center; 
      color: var(--coral); 
      font-weight: 800; 
    }

    .how-num { 
      width: 36px; 
      height: 36px; 
      background: var(--abyss); 
      color: #fff; 
      border-radius: 10px; 
      display: grid; 
      place-items: center; 
      font-weight: 800; 
    }

    /* ===== HEADER ===== */
    header { 
      position: sticky; 
      top: 0; 
      z-index: 50; 
      backdrop-filter: blur(8px); 
      background: rgba(1, 182, 216, 0.75); 
      padding: 0 20px; 
      border-bottom: 1px solid var(--border-light); 
    }

    .header-wrap { 
      display: flex; 
      align-items: center; 
      justify-content: space-between; 
      padding: 8px 0; 
      position: relative;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .logo { 
      display: flex; 
      align-items: center; 
      gap: 10px; 
    }

    .logo-mark { 
      width: 150px; 
      height: 150px; 
      border-radius: 12px; 
      background: white; 
      display: grid; 
      place-items: center; 
    }

    .logo-text { 
      font-weight: 800; 
      letter-spacing: .06em; 
      color: var(--abyss); 
    }

    /* Styles communs navigation */
    .nav a { 
      color: white; 
      font-weight: 600; 
      font-size: 14px; 
      text-transform: uppercase; 
      letter-spacing: 0.05em; 
      position: relative; 
      padding: 4px 0; 
      transition: all 0.3s ease;
    }

    .nav a::after { 
      content: ""; 
      position: absolute; 
      left: 0; 
      bottom: 0; 
      width: 0; 
      height: 2px; 
      background: white; 
      transition: width 0.3s ease; 
    }

    .nav a:hover::after { 
      width: 100%; 
    }

   /* User menu */
    .user-menu {
      position: relative;
      display: inline-block;
    }

    .user-avatar {
      width: 40px;
      height: 40px;
      background: rgba(255,255,255,0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .user-avatar:hover {
      background: rgba(255,255,255,0.3);
    }

    .user-dropdown {
      position: absolute;
      top: 100%;
      right: 0;
      background: white;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      border: 1px solid var(--border-light);
      min-width: 200px;
      padding: 8px 0;
      margin-top: 8px;
      display: none;
    }

    .user-dropdown.show {
      display: block;
    }

    .user-dropdown a {
      display: block;
      padding: 12px 16px;
      color: var(--ink);
      font-size: 14px;
      transition: background 0.2s ease;
    }

    .user-dropdown a:hover {
      background: var(--pearl);
    }

    .user-dropdown .divider {
      height: 1px;
      background: var(--border-light);
      margin: 8px 0;
    }

    /* ===== HAMBURGER MENU (MOBILE) ===== */
    .menu-toggle {
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 4px;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.7);
      background: transparent;
      cursor: pointer;
      padding: 0;
    }

    .menu-toggle span {
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: #fff;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    /* Animation croix quand ouvert */
    .menu-toggle.is-open span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }
    .menu-toggle.is-open span:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.is-open span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    /* ===== SECTIONS SPÉCIFIQUES ===== */
    
    /* Hero */
    #hero.section { 
      padding-top: 10px; 
    }

    /* Garantie */
    .guarantee {
      display: flex;
      gap: 12px;
      align-items: center;
      background: #fff;
      border: 1px solid var(--border-medium);
      border-radius: 12px;
      padding: 12px;
    }

    /* Listes de fonctionnalités */
    .feature-list { 
      display: grid; 
      gap: 16px; 
      grid-template-columns: repeat(1, 1fr); 
    }

    .how-steps { 
      display: grid; 
      gap: 16px; 
      grid-template-columns: repeat(1, 1fr); 
    }

    /* Pricing */
    .pricing { 
      display: grid; 
      gap: 16px; 
      grid-template-columns: repeat(1, 1fr); 
    }

    .price { 
      border: 1px solid var(--border-light); 
    }

    /* Logos secteurs */
    .logos {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .logos > div {
      flex: 0 1 auto;
      padding: 6px 12px;
      background: rgba(0,0,0,.06);
      border-radius: 8px;
      font-weight: 700;
      color: rgba(0,0,0,.7);
      white-space: nowrap;
    }

    /* FAQ */
    .faq { 
      background: #fff; 
      border-radius: 16px; 
      border: 1px solid var(--border-light); 
    }

    details { 
      border-bottom: 1px solid var(--border-light); 
      padding: 14px 16px; 
    }

    details:last-child { 
      border-bottom: 0; 
    }

    summary { 
      cursor: pointer; 
      font-weight: 600; 
      color: var(--abyss); 
    }

    #faq ul,
    #faq ul li {
      color: var(--muted);
    }

    /* ===== PAGES SPÉCIFIQUES ===== */

    /* Page d'accueil */
    .hero { padding-top: 10px; }

    /* Page Blog */
    .blog-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .blog-grid {
      display: grid;
      gap: 24px;
      grid-template-columns: 1fr;
    }

    .blog-card {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .blog-image {
      width: 100%;
      height: 200px;
      background: var(--pearl);
      border-radius: 8px;
      margin-bottom: 16px;
      object-fit: cover;
    }

    .blog-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .blog-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--abyss);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .blog-excerpt {
      flex: 1;
      font-size: 14px;
      line-height: 1.5;
      margin-bottom: 16px;
    }

    .read-more {
      align-self: flex-start;
      color: var(--caraibe);
      font-weight: 600;
      font-size: 14px;
    }

    /* Page Article */
    .article-header {
      text-align: center;
      margin-bottom: 40px;
      padding-bottom: 40px;
      border-bottom: 1px solid var(--border-light);
    }

    .article-title {
      font-size: 42px;
      line-height: 1.2;
      margin-bottom: 16px;
    }

    .article-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 20px;
    }

    .article-tags {
      display: flex;
      justify-content: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .article-content {
      max-width: 800px;
      margin: 0 auto;
      font-size: 16px;
      line-height: 1.7;
    }

    .article-content h2 {
      font-size: 28px;
      margin: 40px 0 16px 0;
    }

    .article-content h3 {
      font-size: 22px;
      margin: 32px 0 12px 0;
    }

    .article-content p {
      margin-bottom: 16px;
    }

    .article-content ul, .article-content ol {
      margin: 16px 0;
      padding-left: 24px;
    }

    .article-content li {
      margin-bottom: 8px;
    }

    /* Page Compte */
    .account-nav {
      display: flex;
      gap: 24px;
      margin-bottom: 32px;
      border-bottom: 1px solid var(--border-light);
      padding-bottom: 16px;
    }

    .account-nav a {
      color: var(--muted);
      font-weight: 600;
      padding: 8px 0;
      position: relative;
      transition: color 0.2s ease;
    }

    .account-nav a:hover {
      color: var(--abyss);
    }

    .account-nav a.active {
      color: var(--caraibe);
    }

    .account-nav a.active::after {
      content: "";
      position: absolute;
      bottom: -17px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--caraibe);
    }

    .account-section {
      display: none;
    }

    .account-section.active {
      display: block;
    }

    .stats-grid {
      display: grid;
      gap: 20px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      margin-bottom: 32px;
    }

    .stat-card {
      text-align: center;
      padding: 24px;
    }

    .stat-number {
      font-size: 32px;
      font-weight: 800;
      color: var(--abyss);
      display: block;
    }

    .stat-label {
      font-size: 14px;
      color: var(--muted);
      margin-top: 4px;
    }

    .audit-history {
      display: grid;
      gap: 16px;
    }

    .audit-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px;
      border-radius: 8px;
      border: 1px solid var(--border-light);
    }

    .audit-info h4 {
      margin-bottom: 4px;
    }

    .audit-date {
      font-size: 12px;
      color: var(--muted);
    }

    /* ===== UTILITAIRES ===== */
    .hidden { display: none !important; }
    .text-center { text-align: center; }
    .text-right { text-align: right; }
    .text-muted { color: var(--muted); }
    .text-success { color: var(--success); }
    .text-warning { color: var(--warning); }
    .text-error { color: var(--error); }
    .mb-0 { margin-bottom: 0; }
    .mb-1 { margin-bottom: 8px; }
    .mb-2 { margin-bottom: 16px; }
    .mb-3 { margin-bottom: 24px; }
    .mt-3 { margin-top: 24px; }

    /* ===== ANIMATIONS ===== */
    .fade-in {
      animation: fadeIn 0.5s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ===== PAGE STATES ===== */
    body.page-home main { background: var(--pearl); }
    body.page-blog main { background: white; }
    body.page-account main { background: var(--pearl); }

    /* ===== FOOTER ===== */
    footer { 
      background: var(--caraibe); 
      color: white; 
      padding: 0 20px; 
      border-top: 1px solid var(--border-light); 
    }

    footer a, 
    footer strong, 
    footer .small, 
    footer .logo-text { 
      color: white !important; 
    }

    .foot { 
      display: grid; 
      gap: 24px; 
      grid-template-columns: repeat(1, 1fr); 
    }

    /* ===== UTILITAIRES ===== */
    .small { 
      font-size: 12px; 
      color: rgba(0,0,0,.6); 
    }

    .text-white { 
      color: white; 
    }

    .eyebrow {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      background: rgba(1,182,216,.10);
      color: var(--abyss);
    }

    /* ===== ALTERNANCE SECTIONS (page d'accueil uniquement) ===== */
    body.page-home #homePage > section:nth-of-type(odd) { 
      background: rgba(1,182,216,.06); 
    }

    body.page-home #homePage > section:nth-of-type(even) { 
      background: #fff; 
    }

    body.page-home #homePage > section:not(:first-of-type) { 
      position: relative; 
    }

    body.page-home #homePage > section:not(:first-of-type)::before {
      content: "";
      position: absolute;
      top: 0; 
      left: 50%;
      transform: translateX(-50%);
      width: min(100%, 1140px);
      height: 1px;
      background: linear-gradient(to right, transparent, rgba(0,0,0,.08), transparent);
    }

    /* ===== SCROLL MARGINS ===== */
    #features, #how, #pricing, #faq, #cta, #whynow, #proof, #seo-geo-static, #booster, #cases { 
      scroll-margin-top: 150px; 
    }

    #ordersList { 
      display: flex; 
      flex-direction: column; 
      gap: 12px; 
    }

    /* ===== NAVIGATION MOBILE ===== */
    @media (max-width: 767px) {
      .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 10px 20px 14px;
        background: rgba(1, 182, 216, 0.96);
        flex-direction: column;
        gap: 10px;
      }

      .nav.open {
        display: flex;
      }
    }

    /* ===== RESPONSIVE DESKTOP ===== */
    @media (min-width: 768px) {
      .menu-toggle {
        display: none;
      }

      .nav {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        padding: 0;
        gap: 24px;
      }
      
      .section { 
        padding: 50px 0; 
      }
      
      h1 { 
        font-size: 64px; 
      }
      
      h2 { 
        font-size: 44px; 
      }
      
      h3 { 
        font-size: 24px; 
      }
      
      .grid-2 { 
        grid-template-columns: repeat(2, 1fr); 
      }
      
      .grid-3 { 
        grid-template-columns: repeat(3, 1fr); 
      }

      .blog-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .article-title {
        font-size: 56px;
      }
      
      .feature-list { 
        grid-template-columns: repeat(4, 1fr); 
      }
      
      .how-steps { 
        grid-template-columns: repeat(3, 1fr); 
      }
      
      .pricing { 
        grid-template-columns: repeat(3, 1fr); 
      }
      
      .foot { 
        grid-template-columns: 2fr 1fr 1fr 1fr; 
      }

      .article-hero-image {
        max-width: 700px;
        margin: 0 auto;
        display: block;
       }
      
      #hero.section { 
        padding-top: 10px; 
      }
    }

    @media (min-width: 1024px) {
      .blog-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }