/* ================= HERO CONTACT ================= */

.contact-hero{
position:relative;
min-height:120vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background:url('../images/contact-hero.jpg') center center / cover no-repeat;
padding:120px 20px;
}

.contact-overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}

.contact-hero-content{
position:relative;
z-index:2;
max-width:700px;
}

/* ================= HERO TEXT ================= */

.contact-title{
color:#F77F00;
font-size:48px;
font-weight:bold;
text-shadow:0 4px 20px rgba(0,0,0,0.6);
margin-bottom:10px;
}

.contact-subtext{
color:#F77F00;
font-size:18px;
text-shadow:0 4px 15px rgba(0,0,0,0.6);
}

/* ================= CONTACT SECTION ================= */

.contact-section{
padding:120px 20px;
background:#111;
}

.contact-container{
display:flex;
align-items:center;
gap:60px;
max-width:1200px;
margin:auto;
}

.contact-image img{
width:100%;
max-width:450px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,0.4);
}

.contact-info{
flex:1;
}

.contact-info h2{
margin-bottom:30px;
font-size:35px;
}

/* ================= INFO ITEMS ================= */

.info-item{
display:flex;
gap:15px;
margin-bottom:20px;
color:#ccc;
}

.info-item i{
color:#F77F00;
font-size:18px;
margin-top:4px;
}

/* ================= BUTTONS ================= */

.contact-buttons{
margin-top:30px;
display:flex;
flex-wrap:wrap;
gap:20px;
}

.whatsapp-btn{
background:#25D366;
color:white;
padding:14px 30px;
border-radius:40px;
text-decoration:none;
font-weight:bold;
transition:0.3s;
}

.whatsapp-btn:hover{
background:#1ebe5d;
}

.map-btn{
background:#F77F00;
color:white;
padding:14px 30px;
border-radius:40px;
text-decoration:none;
font-weight:bold;
transition:0.3s;
}

.map-btn:hover{
background:#009E60;
}

/* ================= MAP ================= */

.map-section iframe{
width:100%;
height:400px;
border:0;
}

/* ================= INTRO FORMULAIRE ================= */

.contact-intro{
background:#000;
padding:120px 20px;
}

.intro-container{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
justify-content:space-between;
gap:80px;
}

.intro-left{
flex:1;
}

.intro-left h2{
font-size:48px;
margin-bottom:20px;
}

.intro-left p{
color:#bbb;
}

.intro-right{
flex:1;
}

.intro-form{
display:flex;
flex-direction:column;
gap:20px;
}

.intro-form input,
.intro-form textarea{
width:100%;
padding:18px;
border:none;
background:#eaeaea;
font-size:16px;
border-radius:4px;
}

.intro-form textarea{
resize:none;
}

.intro-form button{
padding:18px;
border:none;
background:linear-gradient(to right,#F77F00,#ffcc00);
color:white;
font-weight:bold;
letter-spacing:3px;
cursor:pointer;
transition:0.3s;
}

.intro-form button:hover{
background:#009E60;
}

/* ================= MESSAGE ALERT ================= */

.form-alert{
max-width:1200px;
margin:0 auto 60px auto;
padding:20px;
text-align:center;
font-weight:bold;
font-size:18px;
border-radius:8px;
animation:fadeIn 0.5s ease-in-out;
}

.form-alert.success{
background:linear-gradient(to right,#009E60,#00c878);
color:white;
}

.form-alert.error{
background:#c0392b;
color:white;
}

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

/* ================= RESPONSIVE TABLET ================= */

@media(max-width:992px){

.contact-container{
flex-direction:column;
text-align:center;
}

.info-item{
justify-content:center;
}

.contact-buttons{
justify-content:center;
}

.intro-container{
flex-direction:column;
text-align:center;
gap:50px;
}

.intro-left h2{
font-size:32px;
}

.intro-right{
width:100%;
}

}

/* ================= RESPONSIVE MOBILE ================= */

@media(max-width:768px){

.contact-hero{
min-height:90vh;
background:url('../images/contact-hero.jpg') center center / contain no-repeat;
background-color:#000;
padding:80px 20px;
}

.contact-title{
font-size:30px;
}

.contact-subtext{
font-size:15px;
}

}
/* ================= FIX ESPACE MOBILE ================= */

@media(max-width:768px){

.contact-intro{
    padding:40px 20px;   /* réduit l'espace */
}

.intro-left h2{
    margin-top:0;
}

}

/* ================= FIX HERO MOBILE ================= */

@media(max-width:768px){

.contact-hero{
    height:auto;                 /* supprime la hauteur forcée */
    min-height:50vh;             /* réduit la taille */
    padding:40px 15px;           /* réduit l'espace haut/bas */
    background-position:center;  /* centre l'image */
}

.contact-hero-content{
    padding:20px 10px;
}

.contact-title{
    font-size:28px;
}

.contact-subtext{
    font-size:14px;
}

}