* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* mode clair */
:root {
    color-scheme: light;

    --primary-color: #4A001F;
    --secondary-color: #F5E6CC;
    --accent-color: #A66B42;

    --background-color: #F5E6CC;
    --surface-color: #E8D8C5;
    --text-color: #30252A;
    --soft-color: #F5CCCC;
}

/* mode sombre */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;

        --primary-color: #F5CCCC;
        --secondary-color: #30252A;
        --accent-color: #D9A7A0;

        --background-color: #21171C;
        --surface-color: #30252A;
        --text-color: #F5E6CC;
        --soft-color: #4A001F;
    }
}


/* =====================================
   TYPOGRAPHIE
===================================== */

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Inter",
        "Segoe UI",
        sans-serif;

    background-color: var(--background-color);
    color: var(--text-color);

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =====================================
   HEADER
===================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background-color: var(--background-color);

    border-bottom: 1px solid var(--surface-color);
}

.header-container {
    max-width: 1400px;
    min-height: 82px;

    margin: 0 auto;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================
   LOGO
===================================== */

.logo {
    color: var(--primary-color);

    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.2px;

    white-space: nowrap;
}


/* =====================================
   NAVIGATION
===================================== */

.nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav a {
    position: relative;

    color: var(--text-color);

    font-size: 14px;
    font-weight: 500;

    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-color);
}


/* Soulignement animé */

.nav a:not(.contact-link)::after {
    content: "";

    position: absolute;
    bottom: -7px;
    left: 0;

    width: 0;
    height: 1px;

    background-color: var(--accent-color);

    transition: width 0.3s ease;
}

.nav a:not(.contact-link):hover::after {
    width: 100%;
}


/* =====================================
   CONTACT
===================================== */

.contact-link {
    padding: 12px 23px;

    background-color: var(--primary-color);
    color: var(--secondary-color) !important;

    border-radius: 4px;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.contact-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}


/* =====================================
   MENU MOBILE
===================================== */

.menu-toggle {
    display: none;

    background: none;
    border: none;

    color: var(--text-color);

    font-size: 26px;

    cursor: pointer;
}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .header-container {
        min-height: 72px;
        padding: 0 5%;
    }

    .logo {
        font-size: 22px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;
        padding: 25px 5%;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 25px;

        background-color: var(--background-color);

        border-bottom: 1px solid var(--surface-color);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 16px;
    }

    .contact-link {
        text-align: center;
    }

}


/* =====================================
   ACCESSIBILITÉ
===================================== */

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}


/* ========================================
   HERO
======================================== */

.hero {
    padding: 90px 5%;
    background-color: var(--background-color);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    max-width: 600px;
}

.hero-label,
.presentation-label {
    display: block;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.hero-content h1 {
    color: var(--primary-color);
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero-content h1 span,
.presentation-content h2 span {
    display: block;
    color: var(--accent-color);
}

.hero-description {
    color: var(--text-color);
    font-size: 17px;
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.button-primary,
.button-secondary {
    display: inline-block;
    padding: 14px 23px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.button-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

.button-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.button-secondary {
    color: var(--text-color);
    border: 1px solid var(--surface-color);
}

.button-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.hero-image {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ========================================
   PRESENTATION DE LA CHEFFE
======================================== */

.presentation {
    padding: 110px 5%;
    background-color: var(--surface-color);
}

.presentation-container {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 85px;
}

.presentation-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 4px;
}

.presentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.presentation-content {
    max-width: 600px;
}

.presentation-content h2 {
    color: var(--primary-color);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 30px;
}

.presentation-text {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.9;
}

.presentation-text p {
    margin-bottom: 18px;
}

.presentation-signature {
    display: block;
    color: var(--accent-color);
    font-size: 25px;
    font-family: Georgia, serif;
    font-style: italic;
    margin-top: 30px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

    .hero-container {
        gap: 35px;
    }

    .hero-image {
        height: 420px;
    }

    .presentation-container {
        gap: 40px;
    }

    .presentation-image {
        height: 500px;
    }

}

@media (max-width: 768px) {

    /* HERO */

    .hero {
        padding: 60px 6%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(38px, 9vw, 54px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        height: 380px;
    }


    /* PRESENTATION */

    .presentation {
        padding: 75px 6%;
    }

    .presentation-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .presentation-image {
        height: 450px;
    }

    .presentation-content {
        max-width: 100%;
    }

    .presentation-content h2 {
        font-size: 36px;
    }

}

@media (max-width: 480px) {

    .hero {
        padding: 45px 6%;
    }

    .hero-content h1 {
        font-size: 39px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .hero-image {
        height: 280px;
    }

    .presentation {
        padding: 60px 6%;
    }

    .presentation-image {
        height: 350px;
    }

    .presentation-content h2 {
        font-size: 32px;
    }

}


/* ========================================
   GALERIE HORIZONTALE
======================================== */

.gallery {
    padding: 100px 5%;
    background-color: var(--background-color);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 35px;
}

.gallery-label {
    display: block;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.gallery-heading h2 {
    color: var(--primary-color);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.gallery-heading p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
}

.gallery-controls {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.gallery-arrow,
.lightbox-arrow,
.lightbox-close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-color);
    background-color: var(--background-color);
    color: var(--text-color);
    cursor: pointer;
    transition: 0.25s ease;
}

.gallery-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
}

.gallery-arrow:hover,
.lightbox-arrow:hover,
.lightbox-close:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.gallery-track {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    display: block;
    flex: 0 0 auto;
    height: 360px;
    width: auto;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    overflow: hidden;
}

.gallery-item img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 80vw;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.025);
}


/* ========================================
   LIGHTBOX : AGRANDISSEMENT DES PHOTOS
======================================== */

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 70px 80px;
    background-color: rgba(0, 0, 0, 0.92);
}

.lightbox img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 30px;
}

.lightbox-arrow {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .gallery {
        padding: 75px 6%;
    }

    .gallery-heading {
        align-items: center;
    }

    .gallery-item {
        height: 280px;
    }

    .lightbox {
        gap: 10px;
        padding: 65px 12px 25px;
    }

    .lightbox img {
        max-width: calc(100vw - 120px);
        max-height: 75vh;
    }

    .lightbox-arrow {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

}

@media (max-width: 480px) {

    .gallery {
        padding: 60px 6%;
    }

    .gallery-heading {
        align-items: end;
        gap: 12px;
    }

    .gallery-heading h2 {
        font-size: 30px;
    }

    .gallery-heading p {
        font-size: 14px;
    }

    .gallery-controls {
        gap: 6px;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .gallery-item {
        height: 230px;
    }

    .gallery-track {
        gap: 9px;
    }

    .lightbox {
        gap: 6px;
        padding: 60px 8px 20px;
    }

    .lightbox img {
        max-width: calc(100vw - 100px);
        max-height: 70vh;
    }

    .lightbox-arrow {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

}


/* ========================================
   PRESTATIONS
======================================== */

.services {
    padding: 110px 5%;
    background-color: var(--surface-color);
}

.services-container {
    max-width: 1150px;
    margin: 0 auto;
}

.services-heading {
    max-width: 650px;
    margin-bottom: 65px;
}

.services-label {
    display: block;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.services-heading h2 {
    color: var(--primary-color);
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 600;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.services-heading h2 span {
    display: block;
    color: var(--accent-color);
}

.services-heading p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}


/* LISTE DES PRESTATIONS */

.services-list {
    border-top: 1px solid var(--accent-color);
}

.service-item {
    display: grid;
    grid-template-columns: 70px 1fr 35px;
    align-items: center;
    gap: 25px;
    padding: 32px 10px;
    border-bottom: 1px solid var(--accent-color);
    transition: padding 0.3s ease;
}

.service-item:hover {
    padding-left: 20px;
    padding-right: 0;
}

.service-number {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.7;
    max-width: 650px;
}

.service-arrow {
    color: var(--accent-color);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.service-item:hover .service-arrow {
    transform: translate(4px, -4px);
}


/* BAS DE SECTION */

.services-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-top: 45px;
}

.services-footer p {
    color: var(--text-color);
    font-size: 15px;
}

.services-contact {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

.services-contact:hover {
    color: var(--accent-color);
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .services {
        padding: 75px 6%;
    }

    .services-heading {
        margin-bottom: 45px;
    }

    .service-item {
        grid-template-columns: 35px 1fr 25px;
        gap: 12px;
        padding: 27px 0;
    }

    .service-content h3 {
        font-size: 19px;
    }

    .service-content p {
        font-size: 14px;
    }

    .services-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 35px;
    }

}

@media (max-width: 480px) {

    .services {
        padding: 60px 6%;
    }

    .services-heading h2 {
        font-size: 34px;
    }

    .service-item {
        grid-template-columns: 25px 1fr 18px;
        gap: 10px;
    }

    .service-content h3 {
        font-size: 17px;
    }

    .service-arrow {
        font-size: 19px;
    }

}



/* =========================
   CONTACT
========================= */

.contact {
    padding: 110px 5%;
    background-color: var(--background-color);
    color: var(--text-color);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-heading {
    max-width: 700px;
    margin-bottom: 65px;
}

.contact-label,
.contact-subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.contact-heading h2 {
    color: var(--primary-color);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.contact-heading h2 span {
    color: var(--accent-color);
}

.contact-heading > p {
    max-width: 570px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    padding-top: 45px;
    border-top: 1px solid var(--surface-color);
}

.contact-info h3,
.reservation-info h3 {
    color: var(--primary-color);
    font-size: 25px;
    margin-bottom: 18px;
}

.contact-info > p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 8px;
    transition: color 0.2s ease;
}

.contact-email span {
    color: var(--accent-color);
}

.contact-email:hover {
    color: var(--accent-color);
}

.contact-location {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 45px;
}

.contact-location span {
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
}

.reservation-steps {
    display: flex;
    flex-direction: column;
}

.reservation-step {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--surface-color);
}

.reservation-step:first-child {
    border-top: 1px solid var(--surface-color);
}

.step-number {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
}

.reservation-step h4 {
    color: var(--primary-color);
    font-size: 17px;
    margin-bottom: 9px;
}

.reservation-step p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .contact {
        padding: 75px 6%;
    }

    .contact-heading {
        margin-bottom: 45px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 55px;
        padding-top: 35px;
    }

    .contact-location {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 65px 6%;
    }

    .contact-info h3,
    .reservation-info h3 {
        font-size: 22px;
    }

    .contact-email {
        font-size: 15px;
    }

    .reservation-step {
        grid-template-columns: 32px 1fr;
        gap: 12px;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 8px;
    transition: color 0.2s ease;
}

.contact-phone span {
    color: var(--accent-color);
}

.contact-phone:hover {
    color: var(--accent-color);
}


/* =========================
   FOOTER
========================= */

.footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 65px 5% 25px;
    border-top: 1px solid var(--surface-color);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 55px;
}

.footer-logo {
    color: var(--primary-color);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
}

.footer-top > p {
    max-width: 350px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-contact {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 7px;
}

.footer-contact span {
    color: var(--accent-color);
    margin-left: 8px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--surface-color);
}

.footer-copyright {
    font-size: 12px;
    opacity: 0.75;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a,
.footer-legal a {
    color: var(--text-color);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent-color);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .footer {
        padding: 50px 6% 25px;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 35px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .footer-links,
    .footer-legal {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        font-size: 22px;
    }

    .footer-links,
    .footer-legal {
        gap: 12px 18px;
    }
}
/* =========================
   PAGES LÉGALES
========================= */

.legal-page {
    min-height: 70vh;
    padding: 90px 5%;
    background-color: var(--background-color);
    color: var(--text-color);
}

.legal-container {
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-container h1 {
    color: var(--primary-color);
    font-size: clamp(32px, 5vw, 46px);
    margin-bottom: 35px;
}

.legal-container h2 {
    color: var(--primary-color);
    font-size: 22px;
    margin-top: 35px;
    margin-bottom: 12px;
}

.legal-container p,
.legal-container li {
    font-size: 15px;
    margin-bottom: 12px;
}

.legal-container ul {
    padding-left: 25px;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 65px 6%;
    }
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* =========================
   LOGO HEADER ET FOOTER
========================= */

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    padding: 5px;
    border-radius: 50%;
    background-color: var(--surface-color);
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo {
    font-size: 21px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .logo {
        font-size: 19px;
        gap: 9px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }
}


/* =========================
   ANIMATION LIGHTBOX
========================= */

#lightbox-image {
    will-change: transform, opacity;
}

#lightbox-image.slide-from-right {
    animation: lightbox-slide-right 0.4s ease both;
}

#lightbox-image.slide-from-left {
    animation: lightbox-slide-left 0.4s ease both;
}

@keyframes lightbox-slide-right {
    from {
        opacity: 0;
        transform: translateX(45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes lightbox-slide-left {
    from {
        opacity: 0;
        transform: translateX(-45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #lightbox-image.slide-from-left,
    #lightbox-image.slide-from-right {
        animation: none;
    }
}

.gallery-track {
    overflow-x: auto;
    scroll-snap-type: none;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}


/* =====================================
   PAGE 404
===================================== */

.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.error-header {
    padding: 20px 5%;
    border-bottom: 1px solid var(--surface-color);
}

.error-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 6%;
    text-align: center;
}

.error-content {
    max-width: 650px;
}

.error-label {
    display: block;
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.error-number {
    display: block;
    color: var(--primary-color);
    font-family: Georgia, serif;
    font-size: clamp(110px, 22vw, 190px);
    line-height: 1;
    letter-spacing: -8px;
    opacity: 0.95;
    margin-bottom: 20px;
}

.error-content h1 {
    color: var(--primary-color);
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 22px;
}

.error-content h1 span {
    display: block;
    color: var(--accent-color);
}

.error-content p {
    max-width: 470px;
    margin: 0 auto 35px;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.8;
}

.error-content .button-primary {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.error-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 25px 5%;
    border-top: 1px solid var(--surface-color);
    font-size: 12px;
    color: var(--text-color);
}

.error-footer a {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.error-footer a:hover {
    color: var(--accent-color);
}

@media (max-width: 480px) {
    .error-header {
        padding: 18px 6%;
    }

    .error-main {
        padding: 60px 6%;
    }

    .error-number {
        letter-spacing: -5px;
    }

    .error-footer {
        flex-direction: column;
        text-align: center;
    }
}


/* =====================================
   MISE EN PAGE DES PAGES LEGALES
===================================== */

.legal-container h1 {
    margin-bottom: 12px;
}

.legal-update {
    color: var(--text-soft, #8a7b7f);
    font-size: 0.9rem;
    margin-bottom: 50px;
}

.legal-section {
    margin-bottom: 38px;
}

.legal-section h2 {
    margin-bottom: 16px;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-section ul {
    padding-left: 22px;
    line-height: 1.9;
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* INTRODUCTION ET SIGNATURE DES PAGES LEGALES */

.legal-introduction {
    line-height: 1.8;
    margin-bottom: 40px;
}

.legal-signature {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid var(--surface);
}

.legal-signature strong {
    color: var(--primary);
}

.legal-signature span {
    color: var(--text-soft, #8a7b7f);
    font-size: 0.9rem;
}

/* =====================================
   ACCESSIBILITÉ : CONTRASTE DES TEXTES
===================================== */

/* Couleur accessible en mode clair */
:root {
    --accent-text-color: #754328;
}

/* Couleur accessible en mode sombre */
@media (prefers-color-scheme: dark) {
    :root {
        --accent-text-color: #D9A7A0;
    }
}

/* Petits textes décoratifs et numérotations */
.hero-label,
.presentation-label,
.services-label,
.gallery-label,
.contact-label,
.contact-subtitle,
.service-number,
.step-number,
.contact-location span {
    color: var(--accent-text-color);
}