* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #192b45;
}

a {
    text-decoration: none;
}

/* EN-TETE */
.entete {
    height: 82px;
    background: #0c1930;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6% 0 100px;
}

.logo {
    color: white;
    font-size: 25px;
    font-weight: bold;
}

.logo span {
    color: #56b9ff;
}

.entete-info {
    color: #9eafc8;
    font-size: 13px;
}

/* MENU HAMBURGER */
.menu {
    position: fixed;
    top: 18px;
    left: 20px;
    z-index: 1000;
}

.menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #213b60;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 24px;
    list-style: none;
    transition: background 0.2s;
}

.menu summary::-webkit-details-marker {
    display: none;
}

.menu summary:hover {
    background: #326399;
}

.menu .fermer {
    display: none;
}

.menu[open] .hamburger {
    display: none;
}

.menu[open] .fermer {
    display: inline;
}

.menu nav {
    position: fixed;
    top: 82px;
    left: 0;
    width: 265px;
    height: calc(100vh - 82px);
    background: #122641;
    padding: 35px 20px;
    box-shadow: 8px 0 25px rgba(0,0,0,0.15);
    animation: ouvrir 0.25s ease;
}

@keyframes ouvrir {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.menu-titre {
    color: #82a6ce;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.menu nav a {
    display: block;
    padding: 15px;
    margin-bottom: 8px;
    color: #e3edfa;
    border-radius: 9px;
    transition: background 0.2s;
}

.menu nav a:hover {
    background: #24466e;
}

/* SECTION PRINCIPALE */
.hero {
    background: #0c1930;
    color: white;
    padding: 75px 6% 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.etiquette {
    color: #319eea;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.13;
    margin: 20px 0;
    max-width: 650px;
}

.hero .description {
    color: #b5c4d9;
    line-height: 1.8;
    font-size: 17px;
    max-width: 540px;
}

.hero-image img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.bouton-principal,
.bouton-secondaire {
    display: inline-block;
    padding: 15px 22px;
    border-radius: 9px;
    font-weight: bold;
    font-size: 14px;
    transition: transform 0.2s, background 0.2s;
}

.bouton-principal {
    background: #258be0;
    color: white;
}

.bouton-principal:hover {
    background: #1673c1;
    transform: translateY(-2px);
}

.bouton-secondaire {
    color: white;
    border: 1px solid #5d7394;
}

.bouton-secondaire:hover {
    background: #203b60;
}

/* AVANTAGES */
.avantages {
    max-width: 1200px;
    margin: auto;
    padding: 85px 25px;
}

.section-titre {
    text-align: center;
    margin-bottom: 40px;
}

.section-titre h2 {
    font-size: 34px;
    margin: 12px 0;
}

.section-titre > p:last-child {
    color: #66758b;
}

.cartes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.carte {
    background: white;
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.035);
    transition: transform 0.2s, box-shadow 0.2s;
}

.carte:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #e9f3ff;
    color: #247bd0;
    border-radius: 12px;
    font-size: 25px;
    margin-bottom: 20px;
}

.carte h3 {
    margin: 0 0 12px;
}

.carte p {
    color: #66758b;
    line-height: 1.7;
}

/* SECTION CONTACT */
.appel-action {
    background: #e8f1fc;
    text-align: center;
    padding: 65px 20px;
}

.appel-action h2 {
    font-size: 30px;
}

.appel-action p {
    color: #5d6e84;
    margin-bottom: 30px;
}

/* PAGE SERVICES */
.services-intro {
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(37, 139, 224, 0.22),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #0c1930,
            #162f53
        );

    color: white;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.services-intro h1 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 15px auto;
    max-width: 750px;
}

.services-intro > p:last-child {
    color: #b5c4d9;
}

/* PIED DE PAGE */
footer {
    background: #0c1930;
    color: white;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 6%;
}

footer strong {
    font-size: 20px;
}

footer p {
    color: #aebed3;
    font-size: 13px;
    line-height: 1.7;
}

/* TABLETTE */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 50px 5% 70px;
        gap: 30px;
    }

    .hero-image img {
        height: 330px;
    }

    .cartes {
        grid-template-columns: 1fr 1fr;
    }
}

/* TELEPHONE */
@media (max-width: 600px) {
    .entete {
        height: 72px;
        padding: 0 15px 0 75px;
    }

    .logo {
        font-size: 21px;
    }

    .entete-info {
        display: none;
    }

    .menu {
        top: 13px;
        left: 12px;
    }

    .menu nav {
        top: 72px;
        height: calc(100vh - 72px);
        width: min(280px, 85vw);
    }

    .hero {
        padding: 45px 20px 60px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero .description {
        font-size: 15px;
    }

    .hero-image img {
        height: 240px;
    }

    .cartes {
        grid-template-columns: 1fr;
    }

    .avantages {
        padding: 55px 20px;
    }

    .section-titre h2 {
        font-size: 27px;
    }

    .boutons {
        flex-direction: column;
    }

    .boutons a {
        text-align: center;
    }

    .appel-action h2 {
        font-size: 25px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
}

/* ==========================================
   PAGE CONTACT - HEBERGEPRO
   ========================================== */

.page-contact {
    min-height: 80vh;
    background: linear-gradient(135deg, #0b1931, #163b65);
    padding: 70px 24px 100px;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    color: white;
}

.contact-etiquette {
    color: #60b7ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.contact-intro h1 {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.contact-intro > p:last-child {
    color: #b9cbe2;
    font-size: 17px;
    line-height: 1.8;
}

.contact-contenu {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 55px;
    align-items: center;
}

.contact-presentation {
    color: white;
}

.contact-symbole {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(68, 163, 255, 0.15);
    border: 1px solid rgba(120, 190, 255, 0.25);
    border-radius: 18px;
    color: #69baff;
    font-size: 30px;
    margin-bottom: 25px;
}

.contact-presentation h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.3;
    margin-bottom: 20px;
}

.contact-presentation > p {
    color: #b9cbe2;
    line-height: 1.9;
    margin-bottom: 30px;
}

.contact-avantages {
    display: grid;
    gap: 15px;
}

.contact-avantages p {
    color: #dbe9fa;
    font-size: 15px;
}

.contact-carte {
    background: #ffffff;
    padding: 38px;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.contact-carte:hover {
    transform: translateY(-4px);
}

.contact-carte-entete {
    margin-bottom: 28px;
}

.contact-pastille {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #e9f3ff;
    color: #2388df;
    border-radius: 12px;
    font-size: 22px;
    margin-bottom: 18px;
}

.contact-carte-entete h2 {
    color: #10213c;
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-carte-entete p {
    color: #718096;
    font-size: 14px;
}

.contact-formulaire {
    display: grid;
    gap: 22px;
}

.contact-champ {
    display: grid;
    gap: 9px;
}

.contact-champ label {
    color: #233650;
    font-size: 14px;
    font-weight: 600;
}

.contact-champ label span {
    color: #2388df;
}

.contact-champ input,
.contact-champ textarea {
    width: 100%;
    padding: 15px 17px;
    border: 1px solid #dbe3ed;
    border-radius: 11px;
    background: #f8fafc;
    color: #10213c;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-champ textarea {
    resize: vertical;
    min-height: 145px;
}

.contact-champ input:focus,
.contact-champ textarea:focus {
    border-color: #2388df;
    box-shadow: 0 0 0 4px rgba(35, 136, 223, 0.12);
    background: white;
}

.contact-envoyer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: none;
    border-radius: 11px;
    background: #2388df;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.contact-envoyer:hover {
    background: #126fc1;
    transform: translateY(-2px);
}

.contact-note {
    color: #8290a3;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 800px) {
    .page-contact {
        padding: 50px 18px 70px;
    }

    .contact-contenu {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-intro {
        margin-bottom: 40px;
    }

    .contact-carte {
        padding: 25px 20px;
    }
}

/* ========================================
   NOUVELLE NAVIGATION HEBERGEPRO
   ======================================== */

/* Barre de navigation principale */

.entete {
    height: 82px;
    padding: 0 6%;
    background: #0c1930;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* Liens du menu ordinateur */

.navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navigation a {
    color: #dce9f8;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: #56b9ff;
}

/* Bouton Contact */

.navigation .navigation-contact {
    background: #2388df;
    color: white;
    padding: 12px 22px;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.navigation .navigation-contact:hover {
    background: #1674c4;
    color: white;
    transform: translateY(-2px);
}

/* Le hamburger est caché sur ordinateur */

.menu-mobile {
    display: none;
}

/* ========================================
   VERSION TELEPHONE
   ======================================== */

@media (max-width: 768px) {

    .entete {
        height: 72px;
        padding: 0 5%;
    }

    .logo {
        font-size: 23px;
    }

    /* Cacher le menu horizontal */

    .navigation {
        display: none;
    }

    /* Afficher le hamburger */

    .menu-mobile {
        display: block;
        position: relative;
    }

    .menu-mobile summary {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: #213b60;
        border-radius: 10px;
        color: white;
        font-size: 24px;
        cursor: pointer;
        list-style: none;
    }

    .menu-mobile summary::-webkit-details-marker {
        display: none;
    }

    .menu-mobile summary:hover {
        background: #326399;
    }

    /* Menu déroulant */

    .menu-mobile nav {
        position: absolute;
        top: 55px;
        right: 0;
        width: 210px;
        padding: 12px;
        background: #142846;
        border: 1px solid #2d4667;
        border-radius: 14px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        z-index: 20;
    }

    .menu-mobile nav a {
        display: block;
        color: white;
        padding: 13px 15px;
        border-radius: 8px;
        font-size: 15px;
    }

    .menu-mobile nav a:hover {
        background: #24466e;
    }
}


/* =====================================
   ESPACE MEMBRES - HEBERGEPRO
   ===================================== */

.espace-membres {
    background: #f3f7fc;
}

/* Section de bienvenue */

.membres-hero {
    background: linear-gradient(120deg, #0c1930, #173c67);
    color: white;
    padding: 105px 8%;
}

.membres-hero-contenu {
    max-width: 850px;
}

.membres-etiquette {
    color: #49adff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.membres-hero h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.membres-description {
    color: #c4d6eb;
    font-size: 17px;
    line-height: 1.8;
    max-width: 650px;
}

.membres-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.membres-bouton-principal,
.membres-bouton-secondaire {
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    transition: 0.25s ease;
}

.membres-bouton-principal {
    background: #2388df;
    color: white;
}

.membres-bouton-principal:hover {
    background: #1473c4;
    transform: translateY(-3px);
}

.membres-bouton-secondaire {
    color: white;
    border: 1px solid #6685a7;
}

.membres-bouton-secondaire:hover {
    background: rgba(255,255,255,0.1);
}

/* Section des ressources */

.membres-ressources {
    padding: 85px 8%;
}

.membres-section-titre {
    text-align: center;
    margin-bottom: 45px;
}

.membres-section-titre h2 {
    font-size: clamp(27px, 3vw, 38px);
    color: #102542;
    margin-bottom: 15px;
}

.membres-section-titre > p:last-child {
    color: #657991;
}

.membres-grille {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1150px;
    margin: auto;
}

.membres-carte {
    background: white;
    padding: 35px;
    border-radius: 18px;
    border: 1px solid #e1e9f3;
    box-shadow: 0 8px 25px rgba(10,30,60,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.membres-carte:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10,30,60,0.1);
}

.membres-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #e8f3ff;
    color: #2388df;
    border-radius: 13px;
    font-size: 25px;
    margin-bottom: 25px;
}

.membres-carte h3 {
    color: #102542;
    font-size: 21px;
    margin-bottom: 12px;
}

.membres-carte p {
    color: #657991;
    line-height: 1.7;
    margin-bottom: 22px;
}

.membres-carte a {
    color: #1679cc;
    font-weight: bold;
}

.membres-carte a:hover {
    text-decoration: underline;
}

/* Section finale */

.membres-action {
    background: #e6f1ff;
    text-align: center;
    padding: 75px 8%;
}

.membres-action h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.membres-action p {
    color: #657991;
    margin-bottom: 30px;
}

.membres-action a {
    display: inline-block;
    background: #2388df;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
}

.membres-action a:hover {
    background: #1473c4;
}

/* Adaptation mobile */

@media (max-width: 768px) {

    .membres-hero {
        padding: 70px 6%;
    }

    .membres-ressources {
        padding: 65px 6%;
    }

    .membres-grille {
        grid-template-columns: 1fr;
    }

    .membres-carte {
        padding: 27px;
    }

    .membres-action {
        padding: 60px 6%;
    }
}
