a {color: #8C0000;}
a:hover {color: #F59300; }


/* Slider */
h1.sppb-fullwidth-title  {margin-bottom:0px !Important; text-shadow: 1px 1px 1px #000000; }
h1.sppb-fullwidth-title { font-size: 5rem !Important; }
.sppb-slider-wrapper.sppb-slider-fullwidth-wrapper .sppb-slideshow-fullwidth-item-bg .container .sppb-slideshow-fullwidth-item-text { font-size: 1.2rem !Important;  text-shadow: 1px 1px 1px #000000; font-weight: 500;}




@media (max-width: 576px) and (orientation: portrait) {
  h1.sppb-fullwidth-title {
    font-size: 3rem !Important;
    line-height: 3rem !Important;
    text-shadow: 1px 1px 1px #000000;
  }
  
  div.sppb-slideshow-fullwidth-item-text { font-size: 0.8rem !Important;  }
  .sppb-slider-wrapper.sppb-slider-fullwidth-wrapper .sppb-slideshow-fullwidth-item-bg .container .sppb-slideshow-fullwidth-item-text {
    text-transform: inherit; 
}
   .sppb-slideshow-fullwidth-item-text p {
   display: none !Important; 
  }
div.owl-dots {display:none;}
div.customNavigation  {display:none;}


  .sppb-teams-wrapper .sppb-teams .sppb-team .sppb-team-wrapper .sppb-team-img {
    width: 135px !important;
    margin-right: 10px !important;
    margin-top: -5px !important;
    float: left !important;
  }

  #sppb-addon-1480328480 .sppb-introtext {
    clear: both !important;
  }

.sppb-teams-wrapper .sppb-teams .sppb-team .sppb-team-wrapper .sppb-team-info .sppb-team-name {
  font-size: 18px;
  text-transform: inherit;
  letter-spacing: 0px !Important;
}


/* Carrés */
  .sppb-addon-overlay-image-content {
    height: calc(100vw - 30px) !important;
  }
  
  
  #sp-page-builder .sppb-section-title.sppb-text-center .sppb-title-subheading {
    display: inline-block;
    max-width: 95%;
}



}


.offcanvas-menu .nav-child li a {
  line-height: 1.2; 
    margin-bottom: 5px;
    
}
/* Cacher tous les sous-menus de niveau 3 
.sp-megamenu-parent .sp-dropdown .sp-dropdown,
.sp-megamenu-parent .sp-dropdown .nav-child,
.offcanvas-menu .nav-child .nav-child {
    display: none !important;
}

Supprimer les flèches des items qui ont des enfants cachés 
.sp-megamenu-parent .sp-dropdown li.sp-has-child > a:after,
.offcanvas-menu .nav-child li.parent > a:after {
    display: none !important;
    content: "" !important;
}

/* 

/* Effet Noir & Blanc + Zoom fluide */
/* =============================================
   COMMUN A TOUTES LES CLASSES NET
   ============================================= */

/* =============================================
   COMMUN A TOUTES LES CLASSES NET
   ============================================= */

[class*="Net"] .overlay-background-image {
  filter: grayscale(100%);
  transition: all 0.6s ease-in-out;
}

[class*="Net"] .overlay-background-image-wrapper {
  overflow: hidden;
  transition: all 0.6s ease-in-out;
}

[class*="Net"]:hover .overlay-background-image-wrapper {
  transform: scale(1.1);
}

[class*="Net"]:hover .overlay-background-image {
  filter: grayscale(0%);
}

[class*="Net"] .overlay-image-title {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(115, 115, 115, 0.35);
  padding: 14px 20px 14px 16px;
  border-left: 5px solid;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

[class*="Net"] .sppb-addon-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px;
  font-size: 1.4em;
  text-shadow: 2px 2px 1px #000000;
  transition: all 0.3s ease;
  margin: 0;
  line-height: 1.2;
  position: relative;
  z-index: 10;
}

[class*="Net"]:hover .sppb-addon-title {
  color: #FFFFFF !important;
  text-shadow: 2px 2px 1px #000000;
}

[class*="Net"] .sppb-addon-subtitle {
  color: #FFFFFF !important;
  text-shadow: 2px 2px 5px #000000;
  font-weight: 100 !important;
  margin-top: 8px;
  position: relative;
  z-index: 10;
  white-space: normal;
  word-break: break-word;
}

/* =============================================
   COULEURS PAR CLASSE
   ============================================= */

.NetBordeaux .overlay-image-title  { border-color: #8C0000; }
.NetBleu .overlay-image-title      { border-color: #1F628F; }
.NetJaune .overlay-image-title     { border-color: #E3B709; }
.NetRouge .overlay-image-title     { border-color: #DB1F1F; }
.NetViolet .overlay-image-title    { border-color: #613F8C; }
.NetOrange .overlay-image-title    { border-color: #F59300; }
.NetGris .overlay-image-title      { border-color: #737373; }
.NetVert .overlay-image-title      { border-color: #9dcd5a; }
.NetBleuClair .overlay-image-title { border-color: #4FC6DB; }
.NetParme .overlay-image-title     { border-color: #D3B1E3; }

/* =============================================
   MOBILE PORTRAIT
   ============================================= */

@media (max-width: 576px) and (orientation: portrait) {
  [class*="Net"] .overlay-image-title {
    padding: 12px 24px 12px 7px;
  }

  [class*="Net"] .sppb-addon-title {
    font-size: 1.1em;
  }

  [class*="Net"] .sppb-addon-subtitle {
    font-size: 0.85em;
    margin-top: 4px;
  }
}


/* Styles du formulaire de contact - Responsive */
.contact-form-container {
    max-width: 900px;
    margin: 0rem auto 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.contact-form h3 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
    padding-bottom: 1rem;
    position: relative;  /* Pour positionner le soulignement */
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;  /* Le soulignement prend 50% de largeur */
    height: 2px;
    background-color: #8C0000;
}

/* Système de grille */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 1rem -10px;
}

.form-group {
    padding: 0 10px;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.col-half {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-full {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Style des labels */
.form-group label {
   font-family: "League Spartan", sans-serif;
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 600;
    font-size: 1.25rem;
}

.form-group .required {
    color: #dc3545;
    margin-left: 3px;
}

/* Style des champs */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "League Spartan", sans-serif;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fafafa;
}

.form-group textarea {
  min-height: 300px !Important;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
    background: #fff;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Style du bouton */
.submit-btn {
    background: linear-gradient(135deg, #8C0000 0%, #8C0000 100%);
    color: white;
  font-family: "League Spartan", sans-serif;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #F59300 0%, #F59300 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Messages de retour */
#form-messages {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Style du reCAPTCHA (géré par Joomla) */
.g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

/* Version mobile */
@media screen and (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .col-half {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Version très petits écrans */
@media screen and (max-width: 480px) {
    .contact-form-container {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }
}

/* SOLUTION : Réduire l'espace entre le message et le bouton */
.contact-form .form-row:has(textarea) {
    margin-bottom: 0 !important;
}

.contact-form .form-group.col-full {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ajustement fin */
#message {
    margin-bottom: 20px !important;
}

/* Le captaca reste bien positionné */
.g-recaptcha {
    margin: 2px 0 0 0 !important;
    line-height: 0 !important;
}

/* Le bouton reste où il est */
.submit-btn {
    margin-top: 0 !important;
}




