/* ===================================================================
   BLOC BANNIÈRE PAGE - CSS MAYAGE
   Fichier : assets/css/banniere-page.css
   =================================================================== */

   .mayage-banniere-page {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
  }
  
  /* ===================================================================
     COULEURS DE FOND
     =================================================================== */
  
  .mayage-banniere-page--bg-rouge {
    background: linear-gradient(135deg, #e94a42 0%, #d63031 100%);
  }
  
  .mayage-banniere-page--bg-vert {
    background: linear-gradient(135deg, #95c11f 0%, #6ab04c 100%);
  }
  
  .mayage-banniere-page--bg-bleu {
    background: linear-gradient(135deg, #005e99 0%, #003d66 100%);
  }
  
  /* ===================================================================
     CONTAINER ET CONTENU
     =================================================================== */
  
  .mayage-banniere-page__container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
  }
  
  .mayage-banniere-page__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out;
  }
  
  /* ===================================================================
     TYPOGRAPHIE
     =================================================================== */
  
  .mayage-banniere-page__title {
    font-family: var(--font-logo, "Comfortaa", sans-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .mayage-banniere-page__subtitle {
    font-family: var(--font-body, "Nunito", sans-serif);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    max-width: 800px;
    transition: all 0.3s ease;
  }
  
  /* ===================================================================
     COULEURS DE TEXTE
     =================================================================== */
  
  /* Texte blanc */
  .mayage-banniere-page--text-blanc .mayage-banniere-page__title,
  .mayage-banniere-page--text-blanc .mayage-banniere-page__subtitle {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Texte noir */
  .mayage-banniere-page--text-noir .mayage-banniere-page__title,
  .mayage-banniere-page--text-noir .mayage-banniere-page__subtitle {
    color: #2d3748;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
  }
  
  /* ===================================================================
     EFFET DÉCORATIF (OPTIONNEL)
     =================================================================== */
  
  .mayage-banniere-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
  }
  
  /* ===================================================================
     ANIMATIONS
     =================================================================== */
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .mayage-banniere-page__title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }
  
  .mayage-banniere-page__subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
  }
  
  /* ===================================================================
     RESPONSIVE DESIGN
     =================================================================== */
  
  @media (max-width: 768px) {
    .mayage-banniere-page {
      padding: 2rem 0;
      min-height: 150px;
    }
    
    .mayage-banniere-page__container {
      padding: 0 1rem;
    }
    
    .mayage-banniere-page__content {
      gap: 0.75rem;
    }
    
    .mayage-banniere-page__title {
      font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .mayage-banniere-page__subtitle {
      font-size: clamp(0.9rem, 3vw, 1.1rem);
    }
  }
  
  @media (max-width: 480px) {
    .mayage-banniere-page {
      padding: 1.5rem 0;
      min-height: 120px;
    }
    
    .mayage-banniere-page__container {
      padding: 0 0.5rem;
    }
    
    .mayage-banniere-page__content {
      gap: 0.5rem;
    }
  }
  
  /* ===================================================================
     ÉTATS POUR L'ÉDITEUR
     =================================================================== */
  
  .mayage-banniere-page--preview {
    border: 2px dashed #ccc;
    background: #f9f9f9 !important;
    color: #333 !important;
  }
  
  .mayage-banniere-page--preview .mayage-banniere-page__title,
  .mayage-banniere-page--preview .mayage-banniere-page__subtitle {
    color: #333 !important;
    text-shadow: none !important;
  }
  
  .mayage-banniere-page--preview::before {
    display: none;
  }
  
  /* ===================================================================
     ACCESSIBILITÉ
     =================================================================== */
  
  @media (prefers-reduced-motion: reduce) {
    .mayage-banniere-page__title,
    .mayage-banniere-page__subtitle,
    .mayage-banniere-page__content {
      animation: none !important;
    }
  }
  
  .mayage-banniere-page:focus-within {
    outline: 3px solid rgba(42, 184, 203, 0.6);
    outline-offset: 2px;
  }
  
  /* ===================================================================
     PRINT STYLES
     =================================================================== */
  
  @media print {
    .mayage-banniere-page {
      background: none !important;
      color: #000 !important;
      padding: 1rem 0;
    }
    
    .mayage-banniere-page::before {
      display: none;
    }
    
    .mayage-banniere-page__title,
    .mayage-banniere-page__subtitle {
      color: #000 !important;
      text-shadow: none !important;
    }
  }