/* RESET */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

body{

    font-family: Arial, Helvetica, sans-serif;

    background:#f8f9fa;

    color:#222;

}

header{

    background:#111;

    color:white;

}

/* Conteneur bandeau */

.topbar{

    width:100%;

    padding:0;

    margin:0;

    overflow:visible;

}

/* BANDEAU DESKTOP + MOBILE */

.topbar img{

    display:block;

    width:100%;

    height:auto;              /* hauteur naturelle */

    max-width:100%;

    max-height:none;

    object-fit:unset;

}

/* Correction spécifique desktop */

@media screen and (min-width: 769px){

    .topbar img{

        width:100%;

        height:auto !important;

        max-height:none !important;

    }

}

/* Titre */

.topbar h1{

    text-align:center;
    padding:20px;
    margin:0;
    font-size:38px;
    color:#00c3ff;
    background:#111;

}
/* NAVBAR */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 20px;
}

.logo-navbar {
    height: 50px;
    width: auto;
}

.menu {
    display: flex;
    justify-content: center;
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li{
    position:relative;
}

.menu li a{
    display:block;
    padding:18px 25px;
    color:white;
    text-decoration:none;
    transition:0.3s;
}

.menu li a:hover{
    background:#00c3ff;
    color:#111;
}

/* Dropdown */

.submenu{

    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    background:#333;
    list-style:none;
    z-index:999;

}

.submenu li a{

    padding:14px;
    border-bottom:1px solid #444;

}

.dropdown:hover .submenu{

    display:block;

}

/* HERO */

.hero{

    text-align:center;
    padding:60px 20px;
    background:white;

}

.hero h2{
    font-size:34px;
    margin-bottom:15px;
}

.hero p{

    font-size:18px;
    margin-bottom:25px;

}

.hero img{

    width:90%;
    max-width:700px;
    border-radius:10px;

}

/* SERVICES */

.services{
    padding:60px 20px;
    text-align:center;
}

.services h2{
    font-size:30px;
    margin-bottom:25px;
}

.services ul{
    list-style:none;
    margin-bottom:30px;
}

.services li{
    padding:10px;
    font-size:18px;
}

/* CONTACT */

.contact{
    background:#eaf7ff;
    text-align:center;
    padding:60px 20px;
}

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

/* BUTTON */

.btn{
    display:inline-block;
    padding:14px 28px;
    background:#00c3ff;
    color:#111;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#009ed1;
    color:white;
}

/* FOOTER */

footer{

    background:#111;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:40px;

}

/* RESPONSIVE */

@media(max-width:768px){

    .menu{

        flex-direction:column;

    }

    .submenu{

        position:static;

    }

    .dropdown:hover .submenu{

        display:block;

    }

}

/* ===============================
   PAGE TARIFS - SOLUTECH+
=================================*/

.pricing-section{
    padding:70px 30px;
    background:#ffffff;
}

.pricing-section.grey{
    background:#f5f7fa;
}

.pricing-section h2{
    text-align:center;
    font-size:34px;
    margin-bottom:45px;
    color:#111;
}

/* GRID CARTES */
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    max-width:1400px;
    margin:auto;
}

/* CARD */
.card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    transition:0.35s;
    text-align:center;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card h3{
    font-size:24px;
    padding:20px 15px 10px;
    color:#111;
}

.card p{
    padding:0 20px;
    min-height:70px;
    font-size:16px;
    color:#555;
    line-height:1.5;
}

.card span{
    display:block;
    margin:25px auto 25px;
    width:80%;
    padding:14px;
    background:#00c3ff;
    color:#111;
    font-size:22px;
    font-weight:bold;
    border-radius:10px;
}

/* HERO TARIFS */
.hero{
    text-align:center;
    padding:80px 20px;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    color:white;
}

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

.hero p{
    font-size:20px;
    margin-bottom:35px;
}

.hero img{
    width:100%;
    max-width:900px;
    border-radius:18px;
    box-shadow:0 15px 40px rgba(0,0,0,0.35);
}

/* SECTION INFOS */
.contact{
    padding:70px 20px;
    text-align:center;
    background:#eaf7ff;
}

.contact h2{
    font-size:36px;
    margin-bottom:25px;
}

.contact p{
    font-size:20px;
    margin:12px 0;
}

/* BOUTON */
.btn{
    display:inline-block;
    margin-top:25px;
    padding:16px 32px;
    background:#00c3ff;
    color:#111;
    text-decoration:none;
    font-weight:bold;
    border-radius:8px;
    transition:0.3s;
}

.btn:hover{
    background:#0099cc;
    color:#fff;
}

/* NAVBAR ACTIVE */
.navbar .active{
    background:#00c3ff;
    color:#111 !important;
}

/* RESPONSIVE */
@media(max-width:768px){

    .hero h2{
        font-size:34px;
    }

    .pricing-section h2{
        font-size:28px;
    }

    .card img{
        height:190px;
    }

    .card h3{
        font-size:21px;
    }

    .card span{
        font-size:20px;
    }

}