/* ========== RESET DE BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Corps global */
  body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background: linear-gradient(135deg, #fafafa 0%, #ececec 100%);
    color: #fff; 
    line-height: 1.4;
  }
  
  /* Liens */
  a {
    color: #FF6600;
    text-decoration: none;
    transition: color 0.3s;
  }
  a:hover {
    color: #FF3300;
  }
  
  /* HEADER (dégradé noir) */
  .site-header {
    background: linear-gradient(135deg, #000 0%, #222 100%);
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    border-radius: 0 0 15px 15px; /* arrondi bas */
  }
  .logo-container {
    margin-bottom: 10px;
  }
  .brand-logo {
    max-height: 60px;
    height: auto;
  }
  .site-header h1 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    margin: 0;
  }
  
  /* Navigation */
  .top-nav {
    margin-top: 10px;
  }
  .top-nav a {
    background: #FF6600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin: 5px;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
  }
  .top-nav a:hover {
    background: #FF3300;
    transform: translateY(-2px);
  }
  
  /* FOOTER (dégradé) */
  .site-footer {
    background: linear-gradient(135deg, #222 0%, #000 100%);
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.4);
    border-radius: 15px 15px 0 0; /* arrondi haut */
  }
  .site-footer p {
    font-size: 0.9rem;
    margin: 0;
  }
  
  /* BOUTONS */
  .btn-choose, .btn-big-choice {
    display: inline-block;
    background: #FF6600;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
  }
  .btn-choose {
    padding: 10px 20px;
    margin-top: 10px;
  }
  .btn-choose:hover {
    background: #FF3300;
    transform: translateY(-2px);
  }
  .btn-big-choice {
    padding: 15px 30px;
    font-size: 1rem;
  }
  .btn-big-choice:hover {
    background: #FF3300;
    transform: translateY(-2px);
  }
  
  /* PAGE ACCUEIL (index.html) */
  .home-header {
    padding: 40px 0;
  }
  .home-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 50vh;
    justify-content: center;
    text-align: center;
    color: #333;
  }
  .home-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #000;
  }
  .home-choice-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* OFFRES (box / energie) */
  .offer-container {
    display: grid;
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  .offer-card {
    background: #fff;
    color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .offer-content {
    padding: 20px;
    flex: 1;
  }
  .offer-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  
  /* Ruban PROMO arrondi */
  .promo-ribbon {
    width: 110px;
    height: 30px;
    background: #e74c3c;
    color: #fff;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    left: -35px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border-radius: 8px;
  }
  
  /* BOX-SPECIFIC (petites icônes) */
  .box-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000;
  }
  .box-details {
    list-style: none;
    margin: 10px 0 15px;
    padding: 0;
  }
  .box-details li {
    margin-bottom: 5px;
  }
  /* Conteneur d'icônes (Box, phone, vod...) en petit */
  .box-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
  }
  .box-icon {
    width: 40px;
    height: auto;
  }
  
  /* Prix "moyen constaté" vs "votre prix" */
  .price-center {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 10px;
    margin: 15px 0;
  }
  .old-price-block, .new-price-block {
    display: inline-block;
    text-align: center;
  }
  .old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
  }
  .new-price {
    font-size: 1.8rem;
    color: #FF3300;
    font-weight: 900;
  }
  .highlight {
    background: #FFE8E8;
    padding: 5px 7px;
    border-radius: 8px;
  }
  .price-label {
    font-size: 0.7rem;
    color: #666;
  }
  .saving-flash {
    font-size: 1rem;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  /* ENERGY-SPECIFIC (petites icônes Élec/Gaz) */
  .energy-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
  }
  .energy-icon {
    width: 40px;
    height: auto;
  }
  .energy-title {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 10px;
  }
  .energy-advantage {
    display: inline-block;
    background: #FF6600;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 6px 12px;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .energy-details {
    list-style: none;
    margin: 10px 0 15px;
    padding: 0;
  }
  .energy-details li {
    margin-bottom: 5px;
  }
  
  /* PAGE OUT */
  .out-content {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
  }
  .out-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .brand-logo {
      max-height: 50px;
    }
    .site-header h1 {
      font-size: 1.4rem;
    }
    .promo-ribbon {
      width: 90px;
      height: 25px;
      line-height: 25px;
      top: 15px;
      left: -30px;
      font-size: 0.8rem;
    }
    .new-price {
      font-size: 1.6rem;
    }
    .energy-advantage {
      font-size: 1.2rem;
    }
    .box-title, .energy-title {
      font-size: 1.1rem;
    }
    .price-center {
      flex-direction: column;
      gap: 5px;
    }
  }
  