<!DOCTYPE html>
<html lang="fr">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Anglais en ligne — Bienvenue</title>
  <meta name="description" content="Parlez anglais 4 fois plus vite. Visitez notre site ou accédez directement à la plateforme de cours." />
  <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
  
  <!-- Favicon -->
  <link
    rel="icon"
    type="image/x-icon"
    href="/assets/img/favicon.ico"
  />
  <style>
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Poppins', sans-serif;
      background-color: #f5f7f9;
      color: #2c2c2c;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* ── TOPBAR ── */
    .topbar {
      background-color: #00669c;
      padding: 8px 0;
    }
    .topbar-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .topbar-inner span {
      color: #b8d4e3;
      font-size: 13px;
      font-weight: 300;
      letter-spacing: 0.5px;
    }

    /* ── HEADER ── */
    header {
      background-color: #ffffff;
      border-bottom: 1px solid #e0e8ef;
      padding: 30px 24px;
    }
    .header-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .logo-link {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
    }
    .logo-link img {
      height: 156px;
      width: auto;
      display: block;
    }

    /* ── MAIN ── */
    main {
      flex: 1;
      align-items: center;
      padding: 40px;
      margin: 0 auto;
    }
    .container {
      max-width: 860px;
      width: 100%;
      text-align: center;
    }

    .tagline {
      font-size: 13px;
      font-weight: 500;
      color: #e46c0a;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 16px;
    }

    h1 {
      font-size: 38px;
      font-weight: 700;
      color: #00669c;
      line-height: 1.2;
      margin-bottom: 16px;
    }

    .subtitle {
      font-size: 16px;
      font-weight: 300;
      color: #5a6e7c;
      line-height: 1.7;
      max-width: 560px;
      margin: 0 auto 10px;
    }

    /* ── CARDS ── */
    .cards {
      display: flex;
      gap: 24px;
      justify-content: center;
      align-items: stretch;
    }

    .card {
      background: #ffffff;
      border: 1px solid #d6e4ed;
      border-radius: 4px;
      padding: 15px;
      width: 100%;
      max-width: 360px;
      text-align: left;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: border-color 0.2s, box-shadow 0.2s;
      position: relative;
    }

    .card-icon {
      width: 48px;
      height: 48px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }
    .card-icon svg {
      width: 24px;
      height: 24px;
    }

    .card-icon.blue { background-color: #e6f0f7; }
    .card-icon.blue svg { stroke: #00669c; }

    .card-icon.orange { background-color: #fdf0e6; }
    .card-icon.orange svg { stroke: #e46c0a; }

    .card h2 {
      font-size: 17px;
      font-weight: 600;
      color: #00669c;
      margin-bottom: 10px;
    }

    .card p {
      font-size: 14px;
      font-weight: 300;
      color: #5a6e7c;
      line-height: 1.65;
      flex: 1;
      margin-bottom: 28px;
      text-align: justify;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 22px;
      border-radius: 3px;
      font-family: 'Poppins', sans-serif;
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: background-color 0.2s, color 0.2s;
      width: fit-content;
    }

    .btn-primary {
      background-color: #00669c;
      color: #ffffff;
    }
    .btn-primary:hover { background-color: #00243a; }

    .btn-secondary {
      background-color: #e46c0a;
      color: #ffffff;
    }
    .btn-secondary:hover { background-color: #c95e08; }

    .btn svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      flex-shrink: 0;
    }

    /* ── DIVIDER ── */
    .divider {
      display: flex;
      align-items: center;
      color: #b0bec7;
      font-size: 12px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 0 4px;
      flex-shrink: 0;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 640px) {
      h1 { font-size: 28px; }
      .divider { display: none; }
      .cards { flex-direction: column; align-items: center; }
      .card { max-width: 100%; }
    }
  </style>
</head>
<body>

  <div class="topbar">
    <div class="topbar-inner">
      <span>Mieux que dans une salle de classe !</span>
    </div>
  </div>

  <header>
    <div class="header-inner">
      <a href="#" class="logo-link">
        <img src="/assets/site/images/LogoCL.png" alt="Anglais en ligne" />
      </a>
    </div>
  </header>

  <main>
    <div class="container">

      <h1>Bienvenue sur anglaisenligne.cm</h1>

      <div class="cards">

        <!-- Carte site web -->
        <a href="/accueil" class="card">
          <span class="btn btn-primary">
            <svg viewBox="0 0 24 24" fill="none" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
              <circle cx="12" cy="12" r="10"/>
              <path d="M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>
            </svg>
            Visiter notre site internet
            <svg viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
              <path d="M5 12h14M12 5l7 7-7 7"/>
            </svg>
          </span>
        </a>

        <!-- Carte plateforme -->
        <a href="/user/login" class="card">
          <span class="btn btn-secondary">
            <svg viewBox="0 0 24 24" fill="none" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
              <path d="M22 10v6M2 10l10-5 10 5-10 5z"/>
              <path d="M6 12v5c3.33 1.67 8.67 1.67 12 0v-5"/>
            </svg>
            Accéder à la plateforme
            <svg viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
              <path d="M5 12h14M12 5l7 7-7 7"/>
            </svg>
          </span>
        </a>

      </div>
    </div>
  </main>

</body>
</html>