/* ==========================================================================
   IMPORTS
   ========================================================================== */
@import "variables-2sy-V9r.css";
@import "components-xSRKLe3.css";

/* ==========================================================================
   BASE
   ========================================================================== */
html,
body {
    overflow-x: hidden;
}

body {
    background-color: var(--blanc);
    margin: 0;
    font-family: var(--font-textes);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-titres);
}

p {
    font-family: var(--font-textes);
    font-size: 16px;
    line-height: 1.7;
    color: var(--bleu-nuit);
}

.main-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to top, var(--bleu-nuit), var(--cerulean));
    color: var(--blanc);
    padding: 1.5rem;
    position: relative;
    height: 80px;
    box-sizing: border-box;
}

.site-header-logo-img {
    height: 40px;
    width: auto;
    margin-left: 1rem;
}

.site-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex: 1;
}

.nav-link {
    color: var(--clair);
    font-family: var(--font-titres);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.nav-cta {
    display: none;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--blanc);
    border-radius: 2px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    display: flex;
    width: 100%;
    min-height: 650px;
}

.hero-content {
    flex: 1;
    margin: 2rem;
    padding-top: 4rem;
    padding-left: 2rem;
    position: relative;
    overflow: visible;
}

.hero-content a {
    margin-left: 4rem;
}

.hero-btn {
    margin-top: 4rem;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 2rem 1rem 4rem;
    color: var(--bleu-nuit);
}

.accroche {
    font-family: var(--font-titres);
    font-size: 32px;
    font-weight: 600;
    margin: 2rem 2rem 2rem 4rem;
    color: var(--cerulean);
    width: 70%;
}

.hero-bulles {
    position: absolute;
    top: -120px;
    left: -500px;
    width: 130%;
    height: 130%;
    z-index: -1;
}

.hero-image {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.hero-vagues {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-capture {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-capture-1 {
    top: 420px;
    left: 280px;
    width: 440px;
    z-index: 2;
}

.hero-capture-2 {
    top: 110px;
    left: 250px;
    width: 450px;
    z-index: 3;
}

.hero-capture-3 {
    top: 180px;
    left: -20px;
    width: 320px;
    z-index: 1;
}

.hero-capture-4 {
    top: 60px;
    left: 680px;
    width: 250px;
    z-index: 4;
}

.section-header {
    text-align: center;
    padding: 2rem 1.5rem 2rem;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--cerulean);
    margin: 1.5rem auto 0;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--bleu-nuit);
}

.section-paragraphe {
    font-size: 24px;
    font-family: var(--font-titres);
    font-weight: 600;
    color: var(--cerulean);
}

@media (min-width: 1025px) and (max-width: 1960px) {

    .hero,
    .hero-image {
        min-height: auto;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .hero-content {
        flex: 1;
        margin: 0;
        padding: 2rem;
    }

    .hero-bulles {
        top: -80px;
        left: -70px;
        width: 100%;
        height: 90%;
    }

    .hero-title {
        font-size: 40px;
    }

    .accroche {
        font-size: 24px;
    }

    .hero-capture-1 {
        top: 300px;
        left: 140px;
        width: 300px;
        z-index: 2;
    }

    .hero-capture-2 {
        top: 120px;
        left: 170px;
        width: 280px;
        z-index: 3;
    }

    .hero-capture-3 {
        top: 70px;
        left: -20px;
        width: 220px;
        z-index: 1;
    }

    .hero-capture-4 {
        display: none;
    }
}

@media (min-width: 1281px) and (max-width: 1500px) {
    .hero-content {
        flex: 1;
        margin: 0;
        padding: 2rem;
    }

    .hero-bulles {
        top: -40px;
        left: -150px;
        width: 100%;
        height: 100%;
    }

    .hero-capture-1 {
        top: 330px;
        left: 180px;
        width: 400px;
        z-index: 2;
    }

    .hero-capture-2 {
        top: 90px;
        left: 210px;
        width: 350px;
        z-index: 3;
    }

    .hero-capture-3 {
        top: 70px;
        left: -20px;
        width: 320px;
        z-index: 1;
    }

    .hero-capture-4 {
        display: none;
    }
}

@media (min-width: 1501px) and (max-width: 1710px) {
    .hero-bulles {
        top: -40px;
        left: -150px;
        width: 100%;
        height: 100%;
    }

    .hero-capture-1 {
        top: 330px;
        left: 180px;
        width: 380px;
        z-index: 2;
    }

    .hero-capture-2 {
        top: 70px;
        left: 200px;
        width: 380px;
        z-index: 3;
    }

    .hero-capture-3 {
        top: 90px;
        left: -20px;
        width: 300px;
        z-index: 1;
    }

    .hero-capture-4 {
        top: 160px;
        left: 500px;
        width: 180px;
        z-index: 4;
    }
}

@media (min-width: 1711px) and (max-width: 1960px) {
    .hero-bulles {
        top: -40px;
        left: -290px;
        width: 100%;
        height: 120%;
    }

    .hero-capture-1 {
        top: 350px;
        left: 260px;
        width: 420px;
        z-index: 2;
    }

    .hero-capture-2 {
        top: 60px;
        left: 220px;
        width: 420px;
        z-index: 3;
    }

    .hero-capture-3 {
        top: 80px;
        left: -20px;
        width: 350px;
        z-index: 1;
    }

    .hero-capture-4 {
        top: 100px;
        left: 600px;
        width: 200px;
        z-index: 4;
    }
}

/* ==========================================================================
   PROJETS
   ========================================================================== */
.section-projets {
    background-color: var(--clair);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    padding-bottom: 4rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.section-cartes {
    background-color: var(--blanc);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.projects {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
}

.card-project-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}

.page-hero {
    background:
        /*linear-gradient(to bottom, var(--bleu-nuit),*/
        var(--clair);
    padding: 2rem 1.5rem;
    text-align: center;
}

.page-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--bleu-nuit);
    margin: 0 0 1rem 0;
}

.page-hero-subtitle {
    font-size: 20px;
    font-family: var(--font-titres);
    font-weight: 600;
    color: var(--cerulean);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--cerulean);
    margin: 1.5rem auto 0;
}

.card-project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-project {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-project-link:hover .card-project {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.projects-cta {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--lavande);
}

.projects-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--bleu-nuit);
    margin: 0 0 1rem 0;
}

.projects-cta-text {
    font-size: 18px;
    font-family: var(--font-textes);
    color: var(--bleu-nuit);
    opacity: 0.8;
    /*max-width: 500px;*/
    margin: 0 auto 2rem;
}

.projets-btn {
    margin-top: 2rem;
}

/* ==========================================================================
   PAGE POUR CHAQUE PROJET
   ========================================================================== */
.project-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.project-detail-header {
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.badge-warning {
    background-color: #fdf0dd;
    color: #b46b1c;
}

.project-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--bleu-nuit);
    margin: 0;
}

.project-detail-hero {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-bottom: 2.5rem;
}

.project-detail-block {
    margin-bottom: 2rem;
}

.project-detail-block h3 {
    font-size: 24px;
    color: var(--bleu-nuit);
    margin-bottom: 0.75rem;
}

.project-detail-block p {
    margin-bottom: 1rem;
}

.project-detail-captures {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.project-detail-captures figure {
    flex: 1;
    min-width: 240px;
    margin: 0;
}

.project-detail-captures img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.project-detail-captures figcaption {
    text-align: center;
    font-size: 14px;
    color: var(--bleu-nuit);
    opacity: 0.7;
    margin-top: 0.5rem;
}

.project-detail-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.project-detail-back {
    text-align: center;
    padding-top: 3rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.section-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 3rem;
    /*padding: 3rem 1.5rem;*/
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 0 auto;
    padding: 2rem;
}

.service-card {
    background-color: var(--blanc);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-card-stripe {
    height: 8px;
}

.service-card-stripe-cerulean {
    background-color: var(--cerulean);
}

.service-card-stripe-mint {
    background-color: var(--mint);
}

.service-card-stripe-indigo {
    background-color: var(--indigo);
}

.service-card-stripe-bleunuit {
    background-color: var(--bleu-nuit);
}

.service-card-content {
    padding: 24px;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    background-color: var(--clair);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bleu-nuit);
    margin-bottom: 16px;
}

.service-card-icon .icon-svg {
    width: 26px;
    height: 26px;
}

.service-card-content h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: var(--bleu-nuit);
}

.service-card-content p {
    margin-top: 1rem;
    color: var(--bleu-nuit);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 16px;
}

/* ==========================================================================
    COMPETENCES
   ========================================================================== */
.section-competences {
    background-color: var(--lavande);
    padding: 3rem 1.5rem;
    box-sizing: border-box;
    /*margin: 3rem 0 auto 0;*/
}

.competences-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--bleu-nuit);
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.competences-intro {
    font-size: 18px;
    color: var(--bleu-nuit);
    opacity: 0.75;
    text-align: center;
    max-width: auto;
    margin: 1.5rem auto 2.5rem;
}

.competences-title,
.competences-intro {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.competences-blocks {
    display: flex;
    gap: 2rem;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.competence-block {
    flex: 1;
    min-width: 0;
    padding: 1.5rem;
    background-color: var(--blanc);
    border-radius: 12px;
}

.competence-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--bleu-nuit);
    margin-bottom: 2rem;
    margin-top: 0;
}

.competence-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.competence-tags .tag {
    font-size: 14px;
    font-family: var(--font-textes);
    padding: 5px 12px;
}

.services-cta {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--blanc);
}

.services-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--bleu-nuit);
    margin: 0 0 1rem 0;
}

.services-cta-text {
    font-size: 18px;
    color: var(--bleu-nuit);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* ==========================================================================
    A PROPOS
   ========================================================================== */
.apropos-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    background-image: linear-gradient(var(--cerulean) 2px, transparent 2px);
    background-size: 2px 14px;
    background-repeat: repeat-y;
    background-position: center top;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-text {
    flex: 1;
}

.timeline-spacer {
    flex: 1;
}

.timeline-label {
    display: block;
    font-family: var(--font-titres);
    font-size: 24px;
    font-weight: 700;
    color: var(--cerulean);
    margin-bottom: 0.5rem;
}

.timeline-text p {
    margin-top: 1rem;
    color: var(--bleu-nuit);
    opacity: 0.8;
    font-size: 16px;
}

.timeline-badge {
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--lavande);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-badge .icon-svg {
    width: 36px;
    height: 36px;
    color: var(--indigo);
}

/*.timeline-step:nth-child(1) .timeline-badge {
    width: 110px;
    height: 110px;
}

.timeline-step:nth-child(2) .timeline-badge {
    width: 135px;
    height: 135px;
}

.timeline-step:nth-child(3) .timeline-badge {
    width: 160px;
    height: 160px;
}

.timeline-step:nth-child(4) .timeline-badge {
    width: 185px;
    height: 185px;
}*/

.apropos-intro {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
    text-align: center;
}

.apropos-intro p {
    font-size: 18px;
    color: var(--bleu-nuit);
    /*margin-bottom: 2rem;*/
}

.apropos-cta {
    text-align: center;
    padding: 4rem 1.5rem;
    background-color: var(--lavande);
}

.apropos-cta-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--bleu-nuit);
    margin: 0 0 1rem 0;
}

.apropos-cta-text {
    font-size: 18px;
    color: var(--bleu-nuit);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ==========================================================================
    FAQ
   ========================================================================== */
.section-faq {
    background-color: var(--clair);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
}

.section-faq .section-header,
.section-faq .faq-list {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    border-bottom: 1px solid rgba(58, 124, 165, 0.2);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    padding: 1.5rem 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-titres);
    font-size: 18px;
    font-weight: 600;
    color: var(--bleu-nuit);
}

.faq-question span:first-child {
    flex: 1;
    min-width: 0;
}

.faq-icon {
    flex-shrink: 0;
    display: flex;
    color: var(--cerulean);
    transition: transform 0.25s ease;
}

.faq-chevron-svg {
    width: 20px;
    height: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ol {
    padding-bottom: 1.5rem;
    margin: 0;
}

.faq-answer ol {
    padding-left: 1.25rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
    FORMULAIRE DE CONTACT
   ========================================================================== */
.section-contact {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.form {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    align-items: flex-start;
}

.infos {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.infos-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.infos-card p {
    margin: 0;
    font-size: 15px;
    opacity: 0.8;
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background-color: var(--lavande);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bleu-nuit);
    margin-bottom: 16px;
}

.contact-card-icon .icon-svg {
    width: 26px;
    height: 26px;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    font-family: var(--font-titres);
    font-weight: 600;
    color: var(--bleu-nuit);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 0.5px solid var(--ciel);
    border-radius: 8px;
    background-color: var(--clair);
    font-family: var(--font-textes);
    font-size: 16px;
    color: var(--bleu-nuit);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cerulean);
}

.form-hint {
    color: var(--bleu-nuit);
    opacity: 0.8;
}

/* Honeypot — invisible pour un humain, visible pour un robot qui lit le HTML brut */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--cerulean);
}

.form-checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 15px;
}

.form-checkbox a {
    color: var(--cerulean);
    text-decoration: underline;
}

.contact-success {
    background-color: var(--clair);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.contact-success p {
    margin: 0;
    font-size: 18px;
    color: var(--bleu-nuit);
}

.contact-error {
    background-color: #fdf0dd;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-error p {
    margin: 0;
    color: #b46b1c;
    font-size: 16px;
}

/* ==========================================================================
    MENTIONS LÉGALES/POLITIQUE DE CONFIDENTIALITÉ
   ========================================================================== */
.legal-page {
    padding-bottom: 2rem;
}

.titre-mentions {
    font-size: 48px;
    font-weight: 800;
    color: var(--bleu-nuit);
    margin: 0 0 1rem 0;
}

.titre-paragraphe-mentions {
    font-size: 24px;
    font-family: var(--font-titres);
    font-weight: 700;
    color: var(--bleu-nuit);
    margin: 2rem 4rem 1rem 4rem;
}

.paragraphe-mentions {
    font-size: 16px;
    font-family: var(--font-textes);
    line-height: 1.7;
    color: var(--bleu-nuit);
    margin: 2rem 4rem 1rem 4rem;
}

.paragraphe-mentions::after {
    content: '';
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: var(--cerulean);
    opacity: 0.5;
    margin: 1.5rem auto 0;
}

.paragraphe-mentions:last-child::after {
    display: none;
}

.legal-page-note {
    display: block;
    margin: 3rem 4rem 1rem 4rem;
    font-size: 14px;
    color: var(--bleu-nuit);
    opacity: 0.6;
}

/* ==========================================================================
    FOOTER
   ========================================================================== */
.site-footer {
    /*background: linear-gradient(to top, var(--bleu-nuit), var(--cerulean));*/
    background-color: var(--bleu-nuit);
    padding: 2rem 1.5rem;
}

.site-footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-footer-logo {
    height: 32px;
    width: auto;
}

.site-footer-links {
    display: flex;
    gap: 2rem;
}

.site-footer-links a {
    color: var(--clair);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.85;
}

.site-footer-links a:hover {
    opacity: 1;
}

.site-footer-copyright {
    color: var(--blanc);
    opacity: 0.6;
    font-size: 13px;
    margin: 0;
}

.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(27, 51, 71, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}

.lightbox.visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--blanc);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem;
}

/* Indique que les captures sont cliquables */
.project-detail-captures img {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.project-detail-captures img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   RESPONSIVE — Ajustements communs mobile et tablette (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .burger-btn {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .site-header {
        flex-wrap: wrap;
        height: auto;
    }

    .site-header-nav {
        display: none;
        width: 100%;
        flex-basis: 100%;
        order: 3;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
        margin-top: 1rem;
    }

    .site-header-nav.active {
        display: flex;
    }

    .nav-cta {
        display: inline-block;
        margin-top: 1rem;
    }

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

    .site-footer-links {
        gap: 1.5rem;
    }
}

/* ==========================================================================
   RESPONSIVE — TABLETTE (max-width: 1024px)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero-bulles {
        top: -50px;
        left: -40px;
        width: 50%;
        height: auto;
    }

    .hero-content a {
        margin-left: 0;
    }

    .hero-title {
        font-size: 36px;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .accroche {
        font-size: 24px;
        margin-left: 1rem;
    }

    .hero-content {
        margin: 1rem;
        padding: 1rem;
    }

    .hero-content a {
        margin-left: 1rem;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        min-height: 500px;
    }

    .hero-captures-wrapper {
        position: relative;
        width: 750px;
        height: 100%;
    }

    .hero-capture-1 {
        top: 300px;
        left: 260px;
        width: 350px;
    }

    .hero-capture-2 {
        top: 50px;
        left: 210px;
        width: 360px;
    }

    .hero-capture-3 {
        top: 120px;
        left: 10px;
        width: 270px;
    }

    .hero-capture-4 {
        top: 40px;
        left: 550px;
        width: 200px;
    }

    .services-grid {
        gap: 16px;
        padding: 1.5rem;
    }

    .service-card-content h2 {
        font-size: 20px;
    }
}

/* ==========================================================================
    RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }

    .hero-bulles {
        top: -20px;
        left: -20px;
        width: 100%;
        height: 100%;
    }

    .hero-content {
        flex: 1;
        margin: 0;
        margin-top: 1.5rem;
        padding: 0;
    }

    .hero-content a {
        margin: 1.5rem;
    }

    .hero-btn {
        margin: 0;
    }

    .hero-title {
        font-size: 32px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .accroche {
        font-size: 24px;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .hero-image {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-capture {
        display: none;
    }

    .hero-capture-1,
    .hero-capture-2 {
        display: block !important;
        position: relative;
        top: 0;
        left: 0;
        width: 85%;
        margin: 0 auto 1.5rem auto;
        z-index: 5;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 1.5rem;
    }

    .section-header {
        margin: 0;
    }

    .section-services,
    .section-projets,
    .section-apropos {
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 2rem;
    }

    .competences-blocks {
        flex-direction: column;
    }

    .projects {
        flex-direction: column;
    }

    .timeline-step,
    .timeline-step-right {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .timeline-badge {
        order: -1;
    }

    .timeline-spacer {
        display: none;
    }

    .timeline-text {
        position: relative;
        z-index: 1;
        background-color: var(--blanc);
        padding: 0.5rem 0;
    }

    .faq-list {
        max-width: auto;
    }

    .form {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .infos {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
    }

    .infos-card:nth-child(1),
    .infos-card:nth-child(2) {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .infos-card:nth-child(3) {
        flex: 1 1 100%;
    }

    .project-title {
        font-size: 28px;
    }

    .project-detail-captures {
        flex-direction: column;
    }
}