/* =====================================================
   VARIABLES GLOBALES
   ===================================================== */
:root {
  --blue-eu: #1f4fd8;
  --yellow-eu: #f5c400;
  --green-eu: #2fbf71;
  --dark: #1c1c1c;
  --light: #f4f6f8;
  --white: #ffffff;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid #ddd;
  z-index: 10;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.site-header nav a {
  margin-left: 20px;
  font-weight: 500;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: linear-gradient(135deg, var(--blue-eu), var(--green-eu));
  color: var(--white);
  padding: 55px 20px; /* RÉDUCTION ~35 % */
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Logo SVG dans le hero */
.logo-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 18px; /* RÉDUIT */
}

/* =====================================================
   BOUTONS
   ===================================================== */
.hero-buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  margin: 8px;
}

.btn-primary {
  background: var(--white);
  color: var(--blue-eu);
}

.btn-secondary {
  border: 2px solid var(--white);
  color: var(--white);
}

/* =====================================================
   SECTIONS & CONTAINERS
   ===================================================== */
section {
  padding: 65px 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 35px;
  text-align: center;
}

/* =====================================================
   OVERVIEW (cartes rapides)
   ===================================================== */
.overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}

.overview div {
  background: var(--light);
  padding: 28px 20px;
  border-radius: 16px;
  font-weight: 600;
}

/* =====================================================
   WHY / LISTES
   ===================================================== */
.why,
.why-short {
  background: var(--light);
}

.why ul,
.why-short ul {
  list-style: none;
  max-width: 720px;
  margin: auto;
  padding: 0;
}

.why li,
.why-short li {
  margin: 14px 0;
  font-size: 1.05rem;
}

/* =====================================================
   CARDS (alternatives, remplacer, etc.)
   ===================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.badge {
  display: inline-block;
  background: var(--blue-eu);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.usage {
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =====================================================
   HOW / STEPS
   ===================================================== */
.how .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step {
  background: var(--light);
  padding: 25px;
  border-radius: 16px;
  font-weight: 600;
}

/* =====================================================
   SIGNATURE
   ===================================================== */
.signature {
  background: linear-gradient(135deg, var(--light), var(--white));
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #ccc;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .hero {
    padding: 45px 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }
}
