/* ===================== RESET ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

/* ===================== BANDEAU (HEADER) ===================== */
/* LOGO */
/* LOGO dans le bandeau */
/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: #0a2a43;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Logo */
.logo-img {
    height: 70px;
    width: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Nom de l'entreprise */
.company-name {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-align: center;
    flex: 1;
}

/* Navigation */
.topnav {
    display: flex;
    gap: 20px;
}

.btn-nav {
    padding: 10px 18px;
    background: #134d74;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.btn-nav:hover {
    background: #1e73b5;
}


/* ===================== HERO ===================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    /*color: white;*/
    overflow: hidden;
    background: linear-gradient(120deg, rgba(30,115,181,0.8), rgba(0,164,230,0.8));

}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 650px;   /* plus grand que 400px */
    height: 650px;  /* plus grand que 400px */
    background: url('LogoSF.png') no-repeat center center;
    background-size: contain;
    opacity: 0.3;  /* légèrement plus visible */
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}


.hero h1,
.hero p,
.hero .btn {
    position: relative;
    z-index: 1; /* pour passer au-dessus du logo */
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    background: white;
    color: #1e73b5;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    background: #eef5ff;
}

/* ===================== SECTIONS ===================== */
section {
    padding: 80px 40px;
}

/* TITRES DES SECTIONS */
.services h2,
.contact h2,
.expertise h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #0a2a43;
}

/* ===================== SERVICES ===================== */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    width: 280px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    color: #134d74;
}

/* Cartes services RH */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Icone au dessus du titre */
.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

/* Titres cartes */
.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #0a2a43;
}

/* Texte cartes */
.card p {
    font-size: 16px;
    color: #134d74;
    line-height: 1.5;
}


/* ===================== EXPERTISE ===================== */
/* SECTION EXPERTISE */
/* Section */
.expertise {
    padding: 60px 40px;
    text-align: center;
    background-color: #f0f4f8;
}

.expertise h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #0a2a43;
}

/* ---- Grande case Pourquoi l'entreprise ---- */

.why-big-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto 40px auto;
    text-align: left;
    margin-top: 40px; 
}

.why-big-box h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #134d74;
}

.why-big-box p {
    font-size: 18px;
    color: #134d74;
    line-height: 1.7;
}

/* ---- Petite case Qui suis-je ---- */

.expert-main-box {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
    height: auto;
}

/* Photo réduite */
.expert-small-photo {
    width: 200px;
    height: 220px;
    object-fit: cover;
    object-position: center top;  /* ← coupe vers le bas */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.expert-text-block {
    text-align: left;
    flex: 1;
}

.expert-text-block h3 {
    font-size: 24px;
    color: #134d74;
    margin-bottom: 12px;
}

.expert-text-block p {
    font-size: 17px;
    line-height: 1.6;
    color: #134d74;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .expert-main-box {
        flex-direction: column;
        text-align: center;
    }

    .expert-photo-block {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .expert-text-block {
        text-align: center;
    }
}




/* ===================== CONTACT ===================== */
.contact {
    background: #f2f7fc;
    text-align: center;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #134d74;
    max-width: 600px;
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #1e73b5;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s, background 0.2s;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: #134d74;
}

.contact-icon {
    font-size: 28px;
}

.contact-email {
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email:hover {
    color: #eef5ff;
}

/* ===================== FOOTER ===================== */
footer {
    padding: 20px;
    text-align: center;
    background: #0a2a43;
    color: white;
}



/*=====================Animation_scrolle=================*/
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animation.show {
    opacity: 1;
    transform: translateY(0);
}



/*================Style Grossissement au survol ===============*/
/* --- Effet zoom sur TOUTES les cartes / blocs / boîtes du site --- */
.card,
.flip-card,
.expert-box,
.why-box,
.service-box,
.expert-large-photo,
.expert-text,
.photo-col img {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.flip-card:hover,
.expert-box:hover,
.why-box:hover,
.service-box:hover,
.photo-col img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}


/*=========LES FORMULES========*/
/* Section Nos Formules */
.formules {
    padding: 60px 40px;
    text-align: center;
    background-color: #f9f9f9;
}

.formules h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #0a2a43;
}

/* Conteneur des cartes */
.formules-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Carte individuelle */
.formule-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 30px;
    flex: 1 1 300px;
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.formule-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.formule-card h3 {
    font-size: 22px;
    color: #134d74;
    margin-bottom: 15px;
}

.formule-card p {
    font-size: 16px;
    color: #134d74;
    line-height: 1.6;
    margin-bottom: 15px;
}

.formule-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.formule-card ul li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.formule-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #134d74;
    font-weight: bold;
}
