/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #F5F5F5;
    color: #333333;
    line-height: 1.6;
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: static; /* Header non fixe */
    width: 100%;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Liens de navigation (visible sur desktop) */
.nav-links {
    display: flex;
    gap: 30px;
}

/* Masquer les liens de navigation sur mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Cache complètement les liens sur mobile */
    }

    /* Optionnel : Centrer le logo sur mobile */
    nav {
        justify-content: center;
    }

        html {
            font-size: 14px; /* Réduit la taille de base de la police */
        }

        h1 {
            font-size: 1.8rem; /* 1.8 * 14px = ~25px */
        }

        h2 {
            font-size: 1.4rem; /* 1.4 * 14px = ~20px */
        }

        p, a, li {
            font-size: 0.9rem; /* 0.9 * 14px = ~13px */
        }
}

.logo img {
    height: 280px;
}


.nav-links a {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a.active {
    color: #FFD700;
    font-weight: 600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Section Hero */
/* Section Hero */
.hero {
    padding: 40px 20px;
    background-color: #fff;
    margin-bottom: 40px;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-inner img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive pour la section hero */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        gap: 20px;
        text-align: left; /* Alignement à gauche par défaut */
    }

    .hero-inner > div {
        width: 100%;
    }

    .hero-inner img {
        max-width: 100%;
        height: auto;
        margin: 0 auto; /* Centre l'image horizontalement */
    }

    /* Force l'alignement à gauche pour le texte */
    .hero-title {
        text-align: left;
    }

    .hero h2, .hero p {
        text-align: left;
    }

    .hero .btn {
        margin-left: 0; /* Supprime les marges inutiles */
    }
}

.hero-inner > div {
    flex: 1;
}


.hero-title {
    font-size: 2.5rem;
    color: #084037;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    display: block;
}

section h2 {
    font-size: 1.8rem;
    color: #084037;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
     display: flex; /* Utilise flexbox pour aligner le texte et le logo */
     align-items: center; /* Centre verticalement le texte et le logo */
     gap: 10px; /* Espace entre le texte et le logo */
     flex-wrap: wrap; /* Permet au logo de passer à la ligne si nécessaire */
 }

/* Style pour le lien LinkedIn dans le titre */
h2 a {
    display: inline-flex; /* Permet de centrer le SVG verticalement */
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Supprime le soulignement du lien */
}

/* Style pour le SVG LinkedIn */
h2 svg {
    width: 24px; /* Largeur fixe pour le logo */
    height: 24px; /* Hauteur fixe pour le logo */
    vertical-align: middle; /* Alignement vertical (alternative à flexbox) */
}





.hero p {
    margin-bottom: 30px;
    color: #555;
}

/* Boutons */
.btn {
    display: inline-block;
    background-color: #FFD700;
    color: #333333;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn:hover {
    background-color: #FFBE4E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Sections générales */
section {
    padding: 40px 0;
}

section#acompagnements{
    background-image: url('../img/colorimetrie-sourire.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

section#acompagnements .container {
    background-color: rgba(255, 255, 255, 0.9);
}

section .container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

/* Fond gris foncé pour les sections sans carte blanche */
.container-gray {
    background-color: #f0f0f0; /* Gris très léger */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}



section h3 {
    font-size: 1.4rem;
    color: #EF8305;
    margin: 25px 0 15px 0;
    text-align: left !important;
}

section h4 {
    font-size: 1rem;
    color: grey;
    margin: 37px 0 -8px 0
}

/* Sections "soft" (fond gris clair #f9f9f9) */
.soft {
    background-color: #ffffff;
}

.soft .container {
    background-color: transparent;
    box-shadow: none;
    padding: 30px 30px 0;
}

.with-background {
    background-image: url('assets/img/colorimetrie-sourire.jpg');
    opacity: 0.3;
    z-index: -1;
}

/* Alignement à gauche pour les titres et listes */
h3 {
    text-align: left !important;
    width: 100%;
}

/* Style pour les listes */
ul {
    text-align: left !important;
    padding-left: 20px !important;
    margin-left: 0 !important;
}

/* Style pour les éléments de liste */
ul li {
    display: flex !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 5px 0 !important;
}

/* Style pour les icônes dans les listes */
ul li i {
    margin-right: 10px !important;
    margin-top: 2px !important;
    min-width: 20px;
    text-align: center;
}

ul li strong {
    color: #333333;
}

/* Grilles */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Cartes */
.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #c71375;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #333333;
    margin-bottom: 15px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #f9f9f9;
    color: #333333;
    font-weight: 600;
}

table tr:hover {
    background-color: rgba(255, 215, 0, 0.05);
}

/* Pied de page */
footer {
    background-color: #F5F5F5;
    color: dimgrey;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* Style pour la section "VOUS RECONNAISSEZ-VOUS ?" */
.recognition-section {
    text-align: left !important;
}

.recognition-list {
    text-align: left !important; /* Force l'alignement à gauche */
    padding-left: 0 !important; /* Supprime le padding par défaut des listes */
    margin: 20px 0 !important; /* Espacement vertical */
    list-style: none !important; /* Supprime les puces par défaut */
}

.recognition-list li {
    display: flex !important; /* Utilise flexbox pour aligner le texte */
    align-items: flex-start !important; /* Aligne le texte en haut */
    margin-bottom: 10px !important; /* Espace entre les éléments de liste */
    text-align: left !important; /* Force l'alignement à gauche */
    padding: 0 !important; /* Supprime le padding par défaut */
}

.recognition-list li strong {
    margin-right: 5px !important; /* Espace après le texte en gras */
    display: inline !important; /* Assure que le strong reste dans le flux du texte */
}

/* Style pour le sous-titre */
.subtitle {
    text-align: left !important; /* Alignement à gauche */
    margin-top: 20px !important; /* Espace au-dessus du sous-titre */
    font-style: italic; /* Optionnel : style italique pour le sous-titre */
    color: #555 !important; /* Couleur plus claire pour le sous-titre */
}

/* Style pour l'icône LinkedIn dans le menu */
.linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem; /* Taille de l'icône */
    color: #0077B5; /* Couleur officielle LinkedIn */
    transition: color 0.3s ease; /* Animation au survol */
    margin-left: 10px; /* Espace entre "À propos" et l'icône */
}

/* Effet de survol */
.linkedin-icon:hover {
    color: #005582; /* Couleur plus foncée au survol */
}

/* Responsive */
@media (max-width: 768px) {
    .logo img {
        height: 150px;
    }
    .recognition-list,
    .recognition-list li,
    .subtitle {
        text-align: left !important;
        width: 100% !important;
    }

    .linkedin-icon {
        display: none; /* Cache l'icône sur mobile */
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-inner img {
        margin-top: 30px;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    h2 {
        gap: 8px; /* Réduit légèrement l'espace sur mobile */
    }
}

/* Animation pour le titre hero (glissement depuis la gauche) */
.hero-title {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-title span {
    opacity: 0;
    transform: translateX(-200px);
    animation: slideInFromLeft 0.8s ease-out forwards;
    animation-delay: calc(0.2s * var(--span-index, 0));
}

@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Délai pour le premier span */
.hero-title span:nth-child(1) {
    animation-delay: 0.2s;
}

/* Délai pour le deuxième span */
.hero-title span:nth-child(2) {
    animation-delay: 0.6s;
}