  /*
  
  body {
      font-family: system-ui, sans-serif;
      margin: 0;
      padding: 0;
      background: #f4f6f8;
      color: #222;
    }
    header {
      background: #ffffff;
      padding: 2rem;
      text-align: center;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }
    header h1 {
      margin: 0;
      font-size: 2rem;
    }
    main {
      padding: 2rem;
      max-width: 1000px;
      margin: auto;
    }
    .tool-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }
    .tool {
      background: white;
      padding: 1.5rem;
      border-radius: 8px;
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
      transition: 0.2s ease;
    }
    .tool:hover {
      transform: translateY(-4px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .tool h2 {
      margin-top: 0;
      font-size: 1.2rem;
      color: #00449e;
    }
    .tool p {
      font-size: 0.95rem;
      color: #444;
    }
    .tool a {
      display: inline-block;
      margin-top: 0.5rem;
      color: #0066cc;
      text-decoration: none;
      font-weight: bold;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin: 1rem 0 0;
        gap: 1rem;
      }
      
      .menu li a {
        text-decoration: none;
        color: #0066cc;
        font-weight: bold;
      }
      .menu li a:hover {
        text-decoration: underline;
      }

      .analyse-form {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .analyse-form input[type="text"] {
        flex: 1 1 400px;
        max-width: 600px;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border: 2px solid #ccc;
        border-radius: 6px;
        transition: border-color 0.3s ease;
      }
      
      .analyse-form input[type="text"]:focus {
        border-color: #0066cc;
        outline: none;
      }
      
      .analyse-form button {
        background-color: #0066cc;
        color: #fff;
        border: none;
        padding: 0.8rem 1.2rem;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      
      .analyse-form button:hover {
        background-color: #004a99;
      }

      */

      body {
        font-family: system-ui, sans-serif;
        margin: 0;
        padding: 0;
        background: #f4f6f8;
        color: #222;
        line-height: 1.6;
      }
      
      header {
        background: #ffffff;
        padding: 1.5rem 2rem;
        text-align: center;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
      }
      
      header h1 {
        margin: 0;
        font-size: 2.2rem;
        color: #00449e;
      }
      
      header p {
        margin: 0.5rem 0 1rem;
        font-size: 1rem;
        color: #555;
      }
      
      .logo-area {
        display: flex;
        align-items: center; /* C’est ça qui centre verticalement */
        gap: 0.5rem;
        text-decoration: none;
        color: inherit;
      }
      
      .site-name {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
      }

      .header-inner a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column; /* Pour empiler logo et menu */
        align-items: center;     /* ⬅️ Centre horizontalement */
        justify-content: center;
       /* padding: 1rem 2rem; */
      }

      nav ul {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
      }
      
      nav ul li a {
        text-decoration: none;
        color: #0066cc;
        font-weight: 600;
        padding: 0.5rem;
      }
      
      nav ul li a:hover {
        text-decoration: underline;
      }
      
      main {
        padding: 2rem;
        max-width: 1200px;
        margin: auto;
      }
      
      .tool-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
      }
      
      .tool {
        background: white;
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
        transition: 0.2s ease;
      }
      
      .tool:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      }
      
      .tool h3 {
        margin-top: 0;
        font-size: 1.2rem;
        color: #00449e;
      }
      
      .tool p {
        font-size: 0.95rem;
        color: #444;
      }
      
      .tool a {
        display: inline-block;
        margin-top: 0.5rem;
        color: #0066cc;
        text-decoration: none;
        font-weight: bold;
      }
      
      .tool a:hover {
        text-decoration: underline;
      }
      
      footer {
        background: #f8f9fa;
        text-align: center;
        padding: 1rem;
        margin-top: 2rem;
        font-size: 0.9rem;
        color: #666;
        border-top: 1px solid #e0e0e0;
      }

      body {
        font-family: system-ui, sans-serif;
        margin: 0;
        padding: 0;
        background: #f4f6f8;
        color: #222;
        line-height: 1.6;
      }
      
      header {
        background: #ffffff;
        padding: 2rem;
        text-align: center;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
      }
      
      header h1 {
        margin: 0;
        font-size: 2.2rem;
        color: #00449e;
      }
      
      header p {
        margin: 0.5rem 0 0;
        font-size: 1rem;
        color: #555;
      }
      
      footer {
        background: #f8f9fa;
        text-align: center;
        padding: 1rem;
        margin-top: 2rem;
        font-size: 0.9rem;
        color: #666;
        border-top: 1px solid #e0e0e0;
      }
      
      main {
        padding: 2rem;
        max-width: 1000px;
        margin: auto;
      }
      
      .container {
        background: white;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
        margin-bottom: 2rem;
      }
      
      .container h2,
      .container h3 {
        margin-top: 0;
        color: #00449e;
      }
      
      .info {
        margin: 0.4rem 0;
      }
      
      .thumbnail {
        display: block;
        max-width: 100%;
        border-radius: 4px;
        margin: 1rem 0;
      }
      
      /* Barre de recherche stylée */
      .analyse-form {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
        justify-content: center;
      }
      
      .analyse-form input[type="text"] {
        flex: 1 1 400px;
        max-width: 600px;
        padding: 0.8rem 1rem;
        font-size: 1rem;
        border: 2px solid #ccc;
        border-radius: 6px;
        transition: border-color 0.3s ease;
      }
      
      .analyse-form input[type="text"]:focus {
        border-color: #0066cc;
        outline: none;
      }
      
      .analyse-form button {
        background-color: #0066cc;
        color: #fff;
        border: none;
        padding: 0.8rem 1.2rem;
        border-radius: 6px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      
      .analyse-form button:hover {
        background-color: #004a99;
      }

      /* Loader */
.loader {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-top: 1.5rem;
    animation: blink 1s infinite;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
  }
  
  /* Animation d'apparition */
  .result-container {
    opacity: 0;
    transform: translateY(20px);
    animation: appear 0.6s ease-out forwards;
  }
  
  @keyframes appear {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }


  .reset-button {
    padding: 0.6rem 1.2rem;
    background: #eaeaea;
    color: #333;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .reset-button:hover {
    background: #d0d0d0;
  }

  .result-box {
    background: #fefefe;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }

  .recaptcha-wrapper {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    transform: scale(0.88);
    transform-origin: left top;
  }