/* RESET SIMPLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #e6e4e4;
}

/* HEADER */
header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #ffecdf;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .logo {
    height: 40px;
}

header .logo-container img {
    height: 80px; /* taille finale du logo */
    transition: all 0.3s ease;
}

/* NAV caché au départ */
header nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;   /* largeur du panneau */
    height: 100%;
    background: #ffecdf; /* garde ton thème */
    flex-direction: column; /* IMPORTANT → vertical */
    padding-top: 80px;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    z-index: 1000;
}

/* Quand menu est ouvert */
header nav.open {
    display: flex; /* flex pour la colonne */
    transform: translateX(0);
}

/* La liste UL en colonne */
header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* ← liens les uns sous les autres */
    width: 100%;
}

/* Les LI */
header nav ul li {
    /*margin: 20px 0;*/
    text-align: center;
}

/* Les liens */
header nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 10px;
}


/*#menu-toggle {*/
/*    display: none;*/
/*    font-size: 1.5rem;*/
/*    background: none;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*}*/

/* Bouton menu */
#menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

#menu-toggle span {
    display: block;
    height: 3px;
    background: #333; /* couleur selon ton thème */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animation en X quand le menu est ouvert */
#menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

#menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
/* NAV actif */
nav a.active {
    font-weight: bold;
    color: #816447;   /* couleur du thème */
    border-bottom: 2px solid #816447; /* petit soulignement élégant */
    padding-bottom: 2px;
}
nav ul li {
    padding: 0.4rem 1rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}
nav ul li:hover {
    background: #c6b5a9;
}


/* HERO */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 70vh;
    background: linear-gradient(rgba(255,236,223,0.9), rgba(89, 62, 44, 0.7)),
    url("images/bg-hero.jpg") center/cover no-repeat;
    padding: 2rem;
}
.hero-content {
    max-width: 700px;
}
#hero h1 {
    font-size: 3rem;
    color: #fff;
}
#hero h2 {
    font-size: 2rem;
    margin: 1rem 0;
    color: #816447;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #504e49;
}
#hero img {
    width: 200px;
}
h1, h4{
    color: #816447;
}

.btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: #816447;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

button a{
    color: #fff;
    text-decoration: none;
}
.btn:hover {
    background: #9a7b5c;
}

/* SECTIONS */
.section-center {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
    background-color: #e6e4e4;
}

.section-center h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #816447;
}

/* TEAM GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.card {
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    text-align: center;
}
.team-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 3px solid #ddd;
}

/* BOUTONS */
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #816447;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

/* PHRASE CLÉ */
.highlight {
    font-weight: bold;
    color: #333;
    margin-top: 1rem;
    background: #f9f9f9;
    padding: 0.8rem 1rem;
    border-left: 4px solid #816447;
    border-radius: 8px;
}



/* FOOTER */
footer {
    width: 100%;                /* prend toute la largeur */
    text-align: center;
    padding: 1.5rem;
    background: #593E2C;        /* couleur pleine (sans transparence) */
    margin-top: 3rem;
    color: #fff;
}

.italic {
    font-style: italic;
}

/* Icônes sociales */
.social-links {
    margin-top: 1rem;
}

.social-icon {
    display: inline-block;
    background: #fff;             /* Cercle blanc autour */
    color: #593E2C;               /* Marron du thème */
    border-radius: 50%;
    padding: 0.6rem;
    font-size: 1.2rem;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #E4405F;   /* Couleur officielle d’Instagram */
    color: #fff;
    transform: scale(1.1);
}

/* Liens légaux dans le footer */
footer .legale {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #f1f1f1; /* couleur claire pour contraster */
    text-align: center;
}

footer .legale a,
footer .legale a:link,
footer .legale a:visited {
    color: #f1f1f1 !important; /* couleur forcée */
    text-decoration: none !important; /* pas de soulignement par défaut */
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

footer .legale a:hover,
footer .legale a:active {
    color: #FFD700 !important; /* couleur accent */
    text-decoration: underline;
}





/* --- SERVICES --- */
.services {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 4rem 0;
}
.service-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: #c6b5a9;
    border-radius: 16px;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.service-block.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-icon {
    font-size: 3rem;
    flex-shrink: 0;
}
.service-text {
    max-width: 700px;
}
.service-text h3 {
    color: #816447;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}
.service-text p {
    font-size: 1rem;
    line-height: 1.5;
}

/* --- CONTACT --- */

/* Formulaire */
.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form label {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: #816447;
    outline: none;
}

/* Cases à cocher présentées en grille */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin: .5rem 0 1rem;
}

/* Carte de service (checkbox + texte) */
.check-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border .2s ease, box-shadow .2s ease, transform .05s ease;
}
.check-card:hover {
    border-color: #816447;
    box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
.check-card:active { transform: scale(.995); }
.check-card input {
    width: 18px;
    height: 18px;
}


/* Bouton du formulaire */
.form .button {
    background: #816447;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.form .button:hover {
    background: #9a7b5c;
}

/* Coordonnées */
.section-center h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #816447;
}

.section-center p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.center{
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    nav.open ul {
        display: flex;
    }
    #menu-toggle {
        display: block;
    }
    .service-block {
        flex-direction: column;
        text-align: center;
    }
}

/* A PROPOS */

/* TITRES */
.section-center h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-weight: 700;
    color: #593E2C;
}

/* INTRO */
.intro p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* CARTES */
.card {
    padding: 2rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* TEAM */
.team-card {
    background: #fdfcfb;
}
.team-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid #816447;
}
/* GRID 4 colonnes (valeurs + équipe) */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: stretch;
}

/* Icônes LinkedIn */
.team a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #816447;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}
.team a:hover {
    color: #0a66c2; /* couleur officielle LinkedIn */
}

.btn.linkedin {
    margin-top: 0.8rem;
    background: #0A66C2;
    color: #fff;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.btn.linkedin:hover {
    background: #084182;
}


/* ENGAGEMENTS */
.engagement-list {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
    text-align: left;
}
.engagement-list li {
    margin: 0.6rem 0;
    font-size: 1.1rem;
    background: #fff;
    padding: 0.8rem 1rem;
    border-left: 4px solid #816447;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.grid-4_engagements {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes forcées */
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .grid-4_engagements {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

@media (max-width: 600px) {
    .grid-4_engagements {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
}


