/* ===========================
   BRESSE MAINTENANCE ELECTRICITE
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f4f6f9;
    color:#333;
    line-height:1.6;
}

/**************** TOP BAR ****************/

.topbar{
    background:#0a2c54;
    color:white;
    padding:10px 8%;
    text-align:right;
    font-size:15px;
}

.topbar a{
    color:white;
    text-decoration:none;
    font-weight:600;
}

.topbar a:hover{
    color:#ffd000;
}

/**************** NAVBAR ****************/

.navbar{

    height:95px;

    background:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 8%;

    position:sticky;

    top:0;

    z-index:1000;

    box-shadow:0 3px 20px rgba(0,0,0,.08);

}

.logo img{

    height:80px;

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    color:#0a2c54;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

nav a:hover{

    color:#ffd000;

}

.btn-menu{

    background:#ffd000;

    color:#111;

    padding:14px 24px;

    border-radius:40px;

    text-decoration:none;

    font-weight:bold;

    transition:.3s;

}

.btn-menu:hover{

    transform:translateY(-3px);

}

/**************** HERO ****************/

.hero{

    min-height:700px;

    background:
    linear-gradient(rgba(8,32,60,.70),rgba(8,32,60,.70)),
    url("hero.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    position:relative;

}
.hero-content{

    width:100%;
    max-width:1400px;
    height:100%;

    display:flex;
    justify-content:flex-end;
    align-items:center;

    position:relative;

}

.hero h1{

    font-size:58px;

    margin-bottom:25px;

    line-height:1.2;

}

.hero p{

    font-size:24px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;
    flex-direction:column;
    gap:20px;

}

/**************** BOUTONS ****************/

.btn-jaune{

    background:#FFD000;

    color:#111;

    padding:18px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    display:inline-block;

    width:240px;

    text-align:center;

    transition:.3s;

}

.btn-blanc{

    background:white;

    color:#0a2c54;

    padding:18px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    display:inline-block;

    width:240px;

    text-align:center;

    transition:.3s;

}
.btn-jaune:hover,

.btn-blanc:hover{

    transform:translateY(-4px);

}

.btn-vert{

    background:#28a745;
    color:white;

    padding:18px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    display:inline-block;

    width:240px;

    text-align:center;

    transition:.3s;

}

.btn-vert:hover{

    background:#218838;

    transform:translateY(-4px);

}

/**************** SECTIONS ****************/

section{

    padding:90px 8%;

}

h2{

    text-align:center;

    font-size:42px;

    color:#0a2c54;

    margin-bottom:60px;

}

/**************** SERVICES ****************/

.services{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.service{

    background:white;

    border-radius:20px;

    padding:40px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.service:hover{

    transform:translateY(-10px);

}

.icone{

    font-size:55px;

    margin-bottom:20px;

}

.service h3{

    color:#0a2c54;

    margin-bottom:15px;

}

/**************** AVANTAGES ****************/

.avantages{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

}

.avantages div{

    background:#0a2c54;

    color:white;

    text-align:center;

    padding:25px;

    border-radius:15px;

    font-weight:600;

}

/**************** REALISATIONS ****************/

.centre{

    text-align:center;

    font-size:20px;

}

/**************** CONTACT ****************/

.contact{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    flex-wrap:wrap;

}

.contact h3{

    color:#0a2c54;

    margin-bottom:20px;

}

.contact p{

    margin-bottom:12px;

}

/**************** FOOTER ****************/

footer{

    background:#08192d;

    color:white;

    text-align:center;

    padding:35px;

}

/**************** RESPONSIVE ****************/

@media(max-width:900px){

.topbar{

    text-align:center;

}

.navbar{

    flex-direction:column;

    height:auto;

    padding:20px;

}

.logo img{

    height:90px;

    margin-bottom:20px;

}

nav{

    flex-wrap:wrap;

    justify-content:center;

    margin-bottom:20px;

}

.hero{

    height:auto;

    padding:120px 20px;

}

.hero h1{

    font-size:38px;

}

.hero p{

    font-size:18px;

}

.hero-buttons{

    flex-direction:column;

}

h2{

    font-size:32px;

}

.contact{

    flex-direction:column;

    text-align:center;

}

}
