/* ================= GLOBAL STRUCTURE ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    font-size:18px; /* Base */
}

body{
    display:flex;
    flex-direction:column;
    min-height:100vh;
    font-family:Segoe UI, sans-serif;
    background:#ffffff;
    color:#222;
    font-size:1.125rem; /* 18px */
    line-height:1.7;
}

main{
    flex:1;
}

.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* ================= TITRES ================= */

h1{
    font-size:3rem; /* 48px */
    font-weight:700;
}

h2{
    font-size:2rem; /* 32px */
    margin-bottom:20px;
}

h3{
    font-size:1.5rem; /* 24px */
}

p{
    margin-bottom:15px;
}

/* ================= NAVBAR ================= */

.navbar{
    position:fixed;
    top:0;
    width:100%;
    background:#c40000;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
}

.logo{
    color:#fff;
    font-weight:bold;
    font-size:1.5rem;
}

.navbar ul{
    list-style:none;
    display:flex;
    gap:30px;
}

.navbar ul li a{
    color:#fff;
    text-decoration:none;
    font-size:1.125rem;
    transition:0.3s;
}

.navbar ul li a:hover{
    opacity:0.8;
}

/* ================= SLIDER ================= */

.slider{
    position:relative;
    height:100vh;
    margin-top:80px;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    opacity:0;
    transition:opacity 1s ease-in-out;
}

.slide::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

.slide-content{
    position:relative;
    z-index:2;
    color:#fff;
    max-width:800px;
    padding:20px;
}

.slide.active{
    opacity:1;
}

/* Animations */

.fade-in{ animation:fadeIn 1s forwards; }

@keyframes fadeIn{
    from{opacity:0;}
    to{opacity:1;}
}

.slide-left{ animation:slideLeft 1s forwards; }

@keyframes slideLeft{
    from{transform:translateX(100%); opacity:0;}
    to{transform:translateX(0); opacity:1;}
}

.zoom-in{ animation:zoomIn 1s forwards; }

@keyframes zoomIn{
    from{transform:scale(1.3); opacity:0;}
    to{transform:scale(1); opacity:1;}
}

.rotate-in{ animation:rotateIn 1s forwards; }

@keyframes rotateIn{
    from{transform:rotate(-8deg) scale(1.2); opacity:0;}
    to{transform:rotate(0) scale(1); opacity:1;}
}

/* Slider buttons */

.prev, .next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(0,0,0,0.5);
    color:#fff;
    border:none;
    padding:15px;
    cursor:pointer;
    font-size:1.5rem;
}

.prev{ left:20px; }
.next{ right:20px; }

/* ================= PAGE BANNER ================= */

.page-banner{
    height:300px;
    margin-top:80px;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}

.page-banner::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

.page-banner h1{
    position:relative;
    color:#fff;
    font-size:2.8rem;
}

/* ================= SECTIONS ================= */

.section{
    padding:80px 0;
}

.section h2{
    color:#c40000;
}

/* ================= EXPERTISE ================= */

.expertise-container{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.expertise-box{
    flex:1;
    min-width:300px;
    background:#f5f5f5;
    padding:30px;
    border-radius:10px;
    text-align:center;
    transition:0.3s;
}

.expertise-box:hover{
    transform:translateY(-5px);
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.expertise-box img{
    width:60px;
    margin-bottom:15px;
}

.expertise-box p{
    font-size:1rem; /* 16px */
    line-height:1.7;
}

.expertise-box ul{
    text-align:left;
    margin-top:10px;
    font-size:1rem;
    padding-left:20px;
}

.expertise-box li{
    margin-bottom:8px;
}

/* ================= GOOGLE MAP ================= */

.map-container-full {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================= FOOTER ================= */

footer{
    background:#003f88;
    color:#fff;
    text-align:center;
    padding:25px 0;
    width:100%;
    font-size:1rem;
}
/* ================= LOGO ================= */
.logo img{
    height:90px;
    width:auto;
    display:block;
}
/* ================= MENU MOBILE ================= */

.menu-toggle{
    display:none;
    font-size:2rem;
    color:#fff;
    cursor:pointer;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#c40000;
        max-height:0;
        overflow:hidden;
        transition:max-height 0.4s ease;
    }

    .nav-menu.active{
        max-height:500px;
    }

    .nav-links{
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:20px 0;
    }

}
/* ===========================
   FORMULAIRE CONTACT PREMIUM
=========================== */

.contact-form {
    max-width: 100%;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 5px;
    font-size: 16px;
    background: transparent;
    outline: none;
    resize: none;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 5px;
    color: #777;
    font-size: 14px;
    transition: 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -12px;
    font-size: 12px;
    color: #c40000;
}

.form-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: #c40000;
    transition: 0.4s ease;
}

.form-group input:focus ~ .line,
.form-group textarea:focus ~ .line {
    width: 100%;
}

/* Bouton */

.btn-contact {
    background: #c40000;
    color: #fff;
    padding: 14px 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
}

.btn-contact:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
    }
}
/* ================= CONTACT INFO AVEC ICONES ================= */

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex: 1 1 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box i {
    font-size: 24px;
    color: #c40000;
}

.info-box span {
    font-size: 16px;
    color: #333;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
