/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #222;
    line-height: 1.6;
}

/* ------------------ HEADER ---------------------- */
.site-header {
    background-color: #111;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
    color: #fff;
}
/* HOME */
.site-header.header-home {
    height: 100vh;
}
/* AUTRES PAGES */
.site-header.header-inner {
    height: 80vh;
}

.site-header .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.header-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo img {
    height: 80px;
}

/* ---------------------------- NAVIGATION ------------------------------- */
/* Navigation pour ordinateur */
.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.desktop-nav {
    background: #ffffff;
    padding: 12px;
    border-radius: 0 0 20px 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.desktop-nav a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.desktop-nav a:hover {
    background: #f2f2f2;
}

.desktop-nav a.active {
    background: #c9a74d;
    color: #fff;
}


/* Bouton hamburger */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1100;
    width: 46px;
    height: 46px;
    background: #c9a74d;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-toggle span {
    position: absolute;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s ease;
}

/* Position initiale */
.mobile-nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.mobile-nav-toggle span:nth-child(2) {
    opacity: 1;
}

.mobile-nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

/* Position active */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}


/* Navigation élégante pour le mobile */
.mobile-nav {
    display: flex;
    position: fixed;
    top: 16px;
    right: 75px;
    width: 200px;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    padding: 5px;
    z-index: 1050;
    flex-direction: row;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* icônes */
.mobile-nav img {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.mobile-nav a:hover {
    background: #f2f2f2;
}

.mobile-nav a.active {
    background: #c9a74d;
    color: #fff;
}

/* Responsive pour la Navigation */
@media (max-width: 768px) {

    .desktop-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .mobile-nav.open {
        opacity: 1;
        pointer-events: auto;
    }
}







/* ----------------------- HERO WRAPPER ------------------------ */
.hero {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: auto; /* pousse le hero en bas du header */
    margin-bottom: 0;
    max-width: 900px;
}

/* LOGO */
.logo img {
    height: 110px;
    width: auto;
}

.logo a {
    display: inline-block;
}



/* HERO TEXT */
.hero-text {
    margin-top: auto;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-text h1 a {
    color: inherit;
    text-decoration: none;
}

.hero-text h1 a:hover {
    text-decoration: none;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: #c9a74d;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #b08f3e;
}

/* ------------------ HEADER SOCIALS ------------------ */

/* HEADER SOCIALS - simples logos en bas à droite */
.header-socials {
    position: absolute;
    bottom: 30px;
    right: 60px;
    display: flex;
    gap: 15px;
    z-index: 3;
}

.header-socials img {
    width: 32px;
    height: 32px;
    display: block;
}





/* -------------------------- MAIN CONTENT ---------------------------- */
.main-content {
    padding: 0 60px;
    max-width: 1200px;
    margin: auto;
}


/* ---------------------- PAGE TITLES (H2) ---------------------- */
h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 60px 0;
    position: relative;
    padding-left: 20px;
    letter-spacing: 1px;
}

/* Barre verticale or */
h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 70%;
    background: #c9a74d;
    border-radius: 4px;
}

/* Pour les fond sombres */
.project-section.dark h2,
.site-footer h2 {
    color: #fff;
}




/* --------------------------- FOOTER -------------------------------- */
.site-footer {
    background: #1b1b1b;
    color: #ccc;
    text-align: center;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px;
}

.footer-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo {
    width: 34px;
    height: auto;
    flex-shrink: 0;
}

.footer-home-link {
    display: flex;
    align-items: center;
    gap: 12px; /* ajuste si besoin */
    text-decoration: none;
    color: inherit;
}

.footer-home-link h3 {
    margin: 0;
    color: inherit;
}

.footer-home-link:hover {
    text-decoration: none;
}




.footer-block h3 {
    color: #fff;
}

.footer-block ul {
    list-style: none;
}

.footer-block ul li {
    margin-bottom: 10px;
}

.footer-block a {
    color: #ccc;
    text-decoration: none;
}

.footer-block a:hover {
    color: #c9a74d;
}

.footer-bottom {
    padding: 20px;
    background: #111;
    font-size: 14px;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-legal-links a {
    color: #ccc;
    text-decoration: none;
    margin-right: 15px;
    font-size: 14px;
}

.footer-legal-links a:hover {
    color: #c9a74d;
}

.footer-socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Zone cliquable à taille fixe */
.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;        /* TAILLE FIXE */
    height: 36px;       /* TAILLE FIXE */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Icône */
.footer-socials img {
    width: 18px;        /* TAILLE FIXE ICÔNE */
    height: 18px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Hover */
.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.footer-socials a:hover img {
    opacity: 1;
}

/* ---------------- SCROLL TO TOP ---------------- */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #c9a74d;
    color: #000;
    border: none;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn img {
    width: 30px;
    height: 30px;
}

#scrollTopBtn:hover {
    background: #b08f3e;
    transform: translateY(0) scale(1.1);
}

/* visible */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* responsive */
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    #scrollTopBtn img {
        width: 25px;
        height: 25px;
    }
}





/* ---------------- HOME ---------------- */

.home-intro {
    text-align: center;
}

.home-lead {
    font-size: 18px;
    color: #555;
}

/* ---------------- HOME SERVICES ---------------- */

.home-services {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-top: 60px;
}



/* GRID */
.services-grid {
    width: 100%;
    margin: 0 auto;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0px;
}



/* CARD */
.service-card {
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 400px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}

/* IMAGE FOND */
.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* OVERLAY */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.4)
    );
    z-index: 2;
}

/* TEXTE */
.service-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 30px;

    display: flex;
    flex-direction: column;      /* ⬅️ h4 AU-DESSUS du p */
    justify-content: center;     /* centrage vertical */
    align-items: center;         /* centrage horizontal */
    text-align: center;
}

.service-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    max-width: 85%;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 280px;
    }
}




/* ---------------- HOME VALUES ---------------- */

.home-values {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #111;
    color: #fff;
    padding: 160px 40px; /* ⬅️ section plus grande */
}

.values-wrapper {
    max-width: 1200px;
    margin: auto;
}

/* IMAGE ARTISAN EN FILIGRANE CENTRÉE */
.home-values {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #111;
    color: #fff;
    padding: 160px 40px;
    overflow: hidden;
}

.values-bg {
    position: absolute;
    top: 50%;
    left: 50%;             /* centrage horizontal */
    transform: translate(-50%, -50%); /* centrage exact */
    z-index: 1;
    pointer-events: none;
    opacity: 0.07;         /* léger filigrane */
    height: 100%;          /* prend toute la hauteur du bloc */
    width: auto;           /* largeur automatique pour conserver le ratio */
}

.values-bg img {
    height: 100%;          /* l'image prend toute la hauteur */
    width: auto;           /* largeur auto pour conserver le ratio */
    object-fit: cover;
}

/* Le reste du contenu garde z-index plus haut */
.values-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: auto;
}


/* INTRO */
.values-content {
    text-align: center;
    margin-bottom: 120px;
}

.values-content h3 {
    font-size: 36px;
    margin-bottom: 30px;
}

.values-lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* BLOCS */
.values-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-bottom: 120px;
}

.value-point h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #c9a74d;
}

.value-point p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

/* CONCLUSION */
.values-signature {
    text-align: center;
}

.values-signature p {
    font-size: 17px;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    max-width: 800px;
    margin: auto;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .values-points {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ---------------- HOME PROJECTS ---------------- */
.home-projects {
    margin: 80px 0;
    text-align: center;
    padding: 0 20px;
}

/* TITRE H3 */
.home-projects > h3 {
    font-size: 36px;
    font-weight: 700;
    color: #111; /* couleur du titre */
    position: relative;
    display: inline-block;
}

/* Souligné décoratif */
.home-projects > h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #c9a74d; /* couleur or comme tes hover */
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

/* BOUTON VOIR TOUTES LES RÉALISATIONS */
.home-projects .btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #c9a74d;
    color: #c9a74d;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.35s ease;
}

.home-projects .btn-outline:hover {
    background: #c9a74d;
    color: #111;
    transform: translateY(-3px);
}

/* Adaptation mobile */
@media (max-width: 768px) {
    .home-projects > h3 {
        font-size: 28px;
    }

    .home-projects .btn-outline {
        padding: 10px 24px;
        font-size: 14px;
    }
}


/* ================= QUOTE PREMIUM ================= */

.home-quote {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: radial-gradient(
        circle at top,
        #222,
        #111
    );
    padding: 140px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* LIGNE DÉCORATIVE */
.home-quote::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 2px;
    background: #c9a74d;
    transform: translate(-50%, -140px);
    opacity: 0;
    animation: quote-line 1.2s ease forwards;
}

/* TEXTE */
.home-quote blockquote {
    font-size: clamp(24px, 3vw, 34px);
    font-style: italic;
    font-weight: 500;
    color: #fff;
    max-width: 900px;
    margin: auto;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(20px);
    animation: quote-fade 1s ease forwards 0.3s;
}

/* SIGNATURE */
.home-quote span {
    display: block;
    margin-top: 35px;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a74d;
    opacity: 0;
    animation: quote-fade 1s ease forwards 0.6s;
}

/* ANIMATIONS */
@keyframes quote-fade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes quote-line {
    to {
        opacity: 1;
        transform: translate(-50%, -100px);
    }
}

/* ================= CTA FINAL IMMERSIF ================= */

.home-cta-bg {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: brightness(0.35) contrast(1.1);
    animation: ctaSlide 18s infinite;
}

/* Décalage */
.cta-bg img:nth-child(1) { animation-delay: 0s; }
.cta-bg img:nth-child(2) { animation-delay: 6s; }
.cta-bg img:nth-child(3) { animation-delay: 12s; }
.cta-bg img:nth-child(4) { animation-delay: 18s; }
.cta-bg img:nth-child(5) { animation-delay: 24s; }
.cta-bg img:nth-child(6) { animation-delay: 30s; }

@keyframes ctaSlide {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    10% {
        opacity: 1;
    }
    40% {
        opacity: 1;
        transform: scale(1.08);
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.home-cta {
    position: relative;
    padding: 160px 40px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        transparent,
        transparent
    );
}

/* CADRE DORÉ */
.home-cta::before {
    content: '';
    position: absolute;
    inset: 40px;
    border: 2px solid rgba(201,167,77,0.4);
    pointer-events: none;
}

/* TITRE */
.home-cta h3 {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff;
}

/* TEXTE */
.home-cta p {
    font-size: 18px;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 45px;
    line-height: 1.6;
}

/* BOUTON */
.home-cta .btn-primary {
    font-size: 15px;
    padding: 18px 42px;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(201,167,77,0.45);
}








/* ------------------------------- ABOUT PAGE ---------------------------*/
/* ABOUT PAGE */
.about-section {
    max-width: 1200px;
    margin: auto;
}

.about-intro p {
    font-size: 18px;
    color: #444;
    max-width: 800px;
    margin-bottom: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}

/* ------------------ PHOTO ANIMATION ------------------ */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* PHOTO */
.about-photo {
    text-align: center;
}

.about-photo img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.photo-caption {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #777;
}


/* ------------------ ABOUT VALUES FULL-WIDTH ------------------ */

.about-values {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #111;
    padding: 60px 0;
    color: #fff;
    margin-top: 50px;
}

.about-values h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

/* GRID 4 COLONNES */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 30px;

    /* séparateurs dorés entre les colonnes */
    border-right: 2px solid #c9a74d;
}

/* enlever la bordure du dernier élément */
.value-item:last-child {
    border-right: none;
}

/* ICON */
.value-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    opacity: 0.85;
}

/* TEXTE */
.value-item span {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        border-left: none;
        border-right: none;
    }
    .value-item {
        border-right: none;
        border-bottom: 2px solid #c9a74d;
        padding: 20px 15px;
    }
    .value-item:last-child {
        border-bottom: none;
    }
}

/* ------------------ ABOUT FOUNDER ------------------ */

/* ------------------ FOUNDER SECTION ------------------ */

.about-founder {
    padding: 100px 0;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.founder-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.founder-photo img {
    width: 100%;
    max-width: 360px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.founder-role {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #c9a74d;
    margin-bottom: 20px;
}

/* TIMELINE */
.founder-timeline h4,
.founder-skills h4 {
    font-size: 22px;
    margin-bottom: 30px;
}

.founder-timeline {
    position: relative;
    margin-bottom: 80px;
    padding-left: 30px;
    border-left: 2px solid #c9a74d;
}

.timeline-item {
    margin-bottom: 35px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-date {
    font-weight: bold;
    color: #c9a74d;
    font-size: 14px;
}

.timeline-content strong {
    display: block;
    margin: 8px 0;
    font-size: 16px;
}

.timeline-content p {
    color: #555;
    line-height: 1.6;
}

/* ------------------ TIMELINE ANIMATION ------------------ */

.timeline-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.timeline-item:nth-child(1) { transition-delay: 0.1s; }
.timeline-item:nth-child(2) { transition-delay: 0.2s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.4s; }

/* ------------------ FOUNDER QUOTE (DARK) ------------------ */

.founder-quote {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #111;
    padding: 100px 40px;
    text-align: center;
}

.founder-quote blockquote {
    max-width: 900px;
    margin: auto;
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: #ffffff;
}

.founder-quote .quote-author {
    display: block;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #c9a74d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ------------------ SKILLS BADGES ------------------ */

.skills-section {
    margin-top: 80px;
}

.skills-section h3 {
    font-size: 26px;
    margin-bottom: 30px;
}

/* Conteneur */
.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Badge */
.skill-badge {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(201, 167, 77, 0.12);
    color: #c9a74d;
    border: 1px solid rgba(201, 167, 77, 0.4);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.skill-badge.is-visible {
    opacity: 1;
    transform: translateY(0);
}












/* ------------------------------------- PROJECTS ------------------------------- */

/* ---------------- PROJECTS NAV ADVANCED ---------------- */

.projects-nav-wrapper {
    position: relative;
    margin: 50px 0 90px;
    display: flex;
    align-items: center;
    background: none;

    width: 100vw; /* occupe toute la largeur */
    margin-left: calc(-50vw + 50%); /* recentre par rapport à l'écran */
    padding: 0 20px; /* optionnel, pour un petit espace interne */
}

/* NAV */
.projects-nav {
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    background: transparent;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

/* On cache la scrollbar */
.projects-nav::-webkit-scrollbar {
    display: none;
}

.projects-nav ul {
    display: grid;
    grid-auto-flow: column; /* horizontal scrolling */
    grid-auto-columns: minmax(400px, 1fr); /* 400px minimum, s'étend pour remplir l'espace */
    gap: 10px;
    list-style: none;
    padding: 10px 0;
    background: transparent;
}

/* ITEM */
.projects-nav li {
    scroll-snap-align: start;     /* snap complet */
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .projects-nav ul {
        grid-auto-columns: 100%; /* 1 carte visible */
    }
}

/* CARD */
.projects-nav a {
    display: flex;
    aspect-ratio: 3 / 4; /* ratio vertical maîtrisé */
    width: 100%;          /* prend toute la largeur du <li> */
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    align-items: flex-end;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* OVERLAY */
.projects-nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.15)
    );
    transition: background 0.35s ease;
}

/* TITLE */
.projects-nav a span {
    position: relative;
    padding: 15px;
    font-size: 23px;
    font-weight: 300;
    line-height: 1.3;
}

/* HOVER – UNIQUEMENT DANS .projects-section */
.projects-section .projects-nav a:hover {
    transform: translateY(-10px);
}

.projects-section .projects-nav a:hover::before {
    background: linear-gradient(
        to top,
        rgba(201, 167, 77, 0.75),
        rgba(201, 167, 77, 0.25)
    );
}

.projects-section .projects-nav a:hover {
    color: #000;
}


/* NAV BUTTONS */
.projects-nav-btn {
    background: #111;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.projects-nav-btn:hover {
    background: #c9a74d;
    color: #000;
    transform: scale(1.1);
}

.projects-nav-btn.left {
    margin-right: 15px;
}

.projects-nav-btn.right {
    margin-left: 15px;
}





/* ------------------------------------- PROJECTS ------------------------------- */
.project-media {
    position: relative;
}

.projects-section {
    width: 100%;
    margin: 0;
}

/* SECTION COLORS */
.project-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 100px 0;
}


.project-section.light {
    background: #ffffff;
}

.project-section.dark {
    background: #111;
    color: #fff;
}

.project-section.dark p {
    color: #ddd;
}

/* WRAPPER */
.project-wrapper {
    max-width: 1400px;
    margin: auto;
    padding: 0 60px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.project-wrapper.reverse {
    direction: rtl;
}

.project-wrapper.reverse > * {
    direction: ltr;
}

.project-wrapper.normal .project-plan {
    right: -40px;
}

.project-wrapper.reverse .project-plan {
    left: -40px;
}


/* IMAGE */
.project-plan img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #c9a74d;
    background: #fff;
}


/* CONTENT */
.project-content {
    position: relative;
}

.project-content h3 {
    font-size: 26px;
    margin-bottom: 20px;
}

.project-content p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 30px;
}

/* GOLD ACCENT */
.project-section.light h3::after,
.project-section.dark h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #c9a74d;
    margin-top: 15px;
}

/* PLAN */
.project-plan {
    max-width: 70%;
}

.project-plan img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #c9a74d;
    background: #fff;
}


.project-gallery {
    position: relative;
}

.project-gallery img {
    width: auto;
    max-width: 100%;
    max-height: 75vw;

    aspect-ratio: 4 / 3; /* ajuste si nécessaire */
    object-fit: cover;

    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);

    display: block;
    margin: 0 auto;

    transition: transform 0.4s ease;
}

.project-gallery img:hover {
    transform: scale(1.05);
}



.gallery-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.gallery-controls button {
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 26px;
    padding: 10px 16px;
    cursor: pointer;
}





/* ----------------------------- CONTACT PAGE ---------------------------------- */
.contact-section {
    max-width: 900px;
    margin: auto;
}

.contact-intro {
    margin-bottom: 40px;
    color: #555;
}

/* FORM */
.contact-form {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
}

/* TEXTAREA MESSAGE */
.contact-form textarea {
    width: 100%;
    max-width: 100%;
    resize: vertical;          /* ⬅️ uniquement vertical */
    min-height: 140px;
    max-height: 400px;
}


.form-success {
    background: #e8f6ec;
    color: #1f7a3f;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-errors {
    background: #fdecea;
    color: #a72828;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.form-errors ul {
    margin: 0;
    padding-left: 18px;
}


/* Rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Group */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
}

/* Inputs */
.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a74d;
}

/* File input */
.form-group input[type="file"] {
    padding: 8px;
}

/* CAPTCHA placeholder */
.captcha-placeholder {
    height: 80px;
    background: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 6px;
    font-size: 14px;
}

/* Submit button */
.btn-submit {
    margin-top: 20px;
    padding: 16px 30px;
    background: #c9a74d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: #b08f3e;
    transform: translateY(-2px);
}





/* ---------------- MENTIONS LÉGALES ---------------- */

.legal-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px 100px; /* ⬅️ espace bas de 100px */
    line-height: 1.7;
}

.legal-section h3 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #c9a74d;
}

.legal-section p {
    font-size: 15px;
    color: #444;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 60px 20px 100px;
    }

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

.btn-contact {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 28px;
    border: 2px solid #c9a74d;
    color: #c9a74d;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #c9a74d;
    color: #000;
}




/* ---------------- LEGAL / SITEMAP PAGES ---------------- */

.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px 120px;
}

.legal-intro {
    font-size: 17px;
    color: #555;
    margin-bottom: 40px;
    max-width: 700px;
}

/* ---------------- SITEMAP ---------------- */

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 18px;
}

.sitemap-list a {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    padding-left: 24px;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* petit repère visuel */
.sitemap-list a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #c9a74d;
    font-size: 20px;
    line-height: 1;
}

/* hover élégant */
.sitemap-list a:hover {
    color: #c9a74d;
    transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .legal-page {
        padding: 60px 20px 100px;
    }

    .legal-page h2 {
        font-size: 28px;
    }

    .sitemap-list a {
        font-size: 16px;
    }
}






/* ----------------------------------- REQUIRED ----------------------------------------------*/
.required {
    color: #c0392b; /* rouge pro */
    font-weight: bold;
}

.required-note {
    color: #c0392b;
    font-weight: 600;
}





/* ------------------------------ RESPONSIVE POUR LE MOBILE ------------------------------- */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
        margin-top: auto;
        margin-bottom: auto;
    }

    .logo img {
        height: 80px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }

    .header-socials {
        right: 20px;
        bottom: 40px;
    }

    .header-socials img {
        width: 24px;
        height: 24px;
    }

    .main-content {
        padding: 60px 30px;
    }

    h2 {
        font-size: 32px;
        padding-left: 16px;
        margin-bottom: 40px;
    }

    h2::after {
        width: 60px;
    }

    .header-content {
        position: relative;
        z-index: 2;
        height: 100%;
        padding: 0 60px 30px; /* ← plus de padding en haut */
        display: flex;
        flex-direction: column;
    }



    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        margin-bottom: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }



    .about-content {
        grid-template-columns: 1fr;
    }

    .about-photo {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    .value-item {
        border-bottom: 2px solid #c9a74d;
    }
    .value-item:last-child {
        border-bottom: none;
    }
    
    .founder-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-photo img {
        margin: auto;
    }

    .founder-skills ul {
        grid-template-columns: 1fr;
    }


    
    .project-wrapper {
        grid-template-columns: 1fr;
    }

    .project-content p,
    .project-plan {
        max-width: 100%;
    }

    .project-wrapper.reverse {
        direction: ltr;
    }
    
    .project-section {
        padding: 60px 0;
    }



    .contact-form {
        padding: 30px;
    }

}
