/* ==============================
   HERO BANNER
============================== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center center;
    overflow: visible;
    color: #F6EDE7;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-banner h1 {
    font-family: 'Anton', sans-serif;
    font-size: 5rem;
    text-transform: uppercase;
    margin: 0;
    color: #F6EDE7;
}

.hero-banner p {
    font-size: 1.5rem;
    margin-top: 15px;
}

/* ==============================
   BOUTONS HERO & BLOCS
============================== */
.hero-button,
.bloc-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #393837;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid #393837;
    transition: all 0.3s ease;
}

.hero-button:hover,
.bloc-button:hover {
    background-color: transparent;
    color: #393837;
    border: 2px solid #393837;
}

/* Scroll Mouse */
.scroll-mouse {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid #F6EDE7;
    border-radius: 25px;
    z-index: 2;
}

.scroll-mouse span {
    display: block;
    width: 6px;
    height: 6px;
    margin: 5px auto;
    background: #F6EDE7;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity:1; }
    50% { transform: translateY(15px); opacity:0.5; }
    100% { transform: translateY(0); opacity:1; }
}

/* ==============================
   BLOC SERVICE
============================== */
.service-section {
    padding: 80px 20px;
}

.service-section.center {
    text-align: center;
    background-color: #fff;
}

.service-section .content {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

/* Bloc inversé : texte à droite, image à gauche */
.service-section .content.reverse {
    flex-direction: row-reverse;
}

/* Texte */
.service-section .text {
    flex: 1;
    min-width: 250px;
    line-height: 1.6;
}

.service-section .text h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.service-section .text p {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #444;
}

/* Image harmonisée pour tous les blocs */
.service-section .image {
    flex: 1;
    min-width: 250px;
    max-width: 600px;
}

.service-section .image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Bloc Besoin */
.besoin-titre {
    font-size: 25px;
    margin-bottom: 25px;
}

.besoin-liste {
      font-family: 'Arial', sans-serif; /* nouvelle police */
    font-size: 18px;
    max-width: 1200px;
    margin: 0 auto;
      text-align: center; /* texte aligné à gauche */
}

.besoin-liste ul {
    list-style: none;
    padding: 0;
    margin: 0px;
    line-height: 1;
}

.besoin-liste ul li {
    margin-bottom: 15px;    /* espace vertical entre chaque ligne */
}

.besoin-liste ul li::before {
    content: '✔';
    margin-right: 15px;     /* espace entre le check et le texte */
    color: #999;
    font-weight: bold;
}

/* Fade-in global */
.fade-in { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.6s ease-in-out; 
}

.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1024px) {
    .hero-banner h1 { font-size: 4rem; }
    .hero-banner p { font-size: 1.3rem; }
}

@media (max-width: 768px){
    .hero-banner { height: 90vh; min-height: 500px; }
    .hero-banner h1 { font-size: 2.5rem; }
    .hero-banner p { font-size: 1.2rem; }
    .service-section .content { flex-direction: column; }
    .service-section .text { text-align: center; }
    .service-section .image { max-width: 100%; }
    .service-section .image img { height: auto; }
}

/* Correction titre bloc 3 */
.bloc-text-right h2 {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}
