/* =========================
   GLOBAL
========================= */

@font-face {
    font-family: 'Bebas Kai';
    src: url('fonts/Bebas Kai.woff2') format('woff2');
    font-display: block;
}

@font-face {
    font-family: 'Impact';
    src: url('fonts/Impact.woff2') format('woff2');
    font-display: block;
}

body {
    margin: 0;
    padding: 0;
    background: #fffafa;
    font-family: 'Bebas Kai', sans-serif;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #fffafa #101010;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 0;
}


/* =========================
   HEADER
========================= */

.header-table {
    background: #101010;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px #101010;
}

.nav-table { width: 100%; }
.nav-left { text-align: left; width: 20%; }
.nav-center { text-align: center; width: 60%; }
.nav-right { text-align: right; width: 20%; }

.small-image {
    width: 156px;
    height: auto;
    display: block;
}

.small-image2 {
    width: 80px;
    height: auto;
    margin-right: 50px;
}


/* =========================
   MENU
========================= */

.menu-link {
    color: #fffafa;
    text-decoration: none;
    font-size: clamp(1.6rem, 5vw, 4rem);
    text-shadow: 2px 1px 4px #fffafa;
    margin: 20px;
}

.menu-link:hover {
    color: #101010;
    text-shadow: 2px 1px 4px #fffafa;
    transition: color 0.2s ease;
}


/* =========================
   PAGE INTRO
========================= */

.prestations-content { background: #fffafa; }

.prestations-text {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 44px 0 0;
}

.services-intro {
    max-width: 920px;
    margin: 0 auto 62px;
    text-align: center;
}

/* Même taille et mêmes propriétés typographiques pour les trois titres */
.intro-kicker,
.section-heading h2 {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: normal;
    letter-spacing: 2px;
}

.intro-kicker {
    display: inline-block;
    margin: 0 0 23px;
    color: #800000;
    text-shadow: 2px 1px 4px #800000;
    line-height: 1.1;
}

.services-intro p {
    margin: 0;
    color: #252222;
    font-family: 'decotech', sans-serif;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: bold;
    line-height: 1.45;
    letter-spacing: .3px;
}


/* =========================
   SECTION HEADINGS
========================= */

.service-section { margin: 0 0 58px; }

.section-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(16, 16, 16, .22);
}

.section-symbol {
    display: inline-block;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #800000;
    box-shadow: 0 0 0 5px rgba(128, 0, 0, .10);
    margin: 0 2px 0 3px;
}

.section-heading h2 {
    margin: 0;
    color: #101010;
}


/* =========================
   FULL-WIDTH BANNERS
========================= */

.service-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 24px;
    padding: 0;
    overflow: hidden;
    background: #101010;
    line-height: 0;
}

.service-banner img {
    display: block;
    width: 100%;
    height: clamp(150px, 22vw, 300px);
    object-fit: cover;
    object-position: center;
}


/* =========================
   SERVICE PANELS
========================= */

.service-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
    padding: 30px 34px 34px;
    background: #f1ebeb;
    border-left: 3px solid #800000;
}

.service-copy p {
    margin: 0;
    color: #302a2a;
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(18px, 1.45vw, 21px);
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: .05px;
    text-align: left;
}


/* =========================
   SERVICE LISTS
========================= */

.service-list h3 {
    margin: 2px 0 16px;
    color: #800000;
    font-family: 'Bebas Kai', sans-serif;
    font-size: 17px;
    font-weight: normal;
    letter-spacing: 2px;
}

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

.service-list li {
    position: relative;
    margin: 0;
    padding: 11px 0 11px 20px;
    border-bottom: 1px solid rgba(16, 16, 16, .13);
    color: #101010;
    font-family: 'decotech', sans-serif;
    font-size: clamp(20px, 1.55vw, 23px);
    font-weight: bold;
    line-height: 1.42;
    letter-spacing: .7px;
    text-align: left;
}

.service-list li:first-child { border-top: 1px solid rgba(16, 16, 16, .13); }

.service-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 19px;
    width: 6px;
    height: 6px;
    background: #800000;
    border-radius: 50%;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
    color: #777;
    font-size: .9rem;
    margin: 28px 20px 22px;
}

.footer-social {
    width: 50px;
    height: 50px;
    object-fit: contain;
    vertical-align: middle;
    opacity: .9;
}

.legal-link {
    color: inherit;
    text-decoration: none;
    opacity: .75;
    transition: opacity .2s ease;
}

.legal-link:hover {
    opacity: 1;
    text-decoration: underline;
}


/* =========================
   TABLET
========================= */

@media screen and (max-width: 800px) {
    .prestations-text {
        width: calc(100% - 44px);
        padding-top: 32px;
    }

    .services-intro { margin-bottom: 42px; }

    .service-banner img { height: clamp(150px, 28vw, 230px); }

    .service-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px 22px 26px;
    }

    .service-section { margin-bottom: 42px; }

    .service-copy p {
        font-size: 19px;
        line-height: 1.75;
    }
}


/* =========================
   MOBILE
========================= */

@media screen and (max-width: 600px) {
    .nav-table tr {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-left,
    .nav-center,
    .nav-right { width: auto; }

    .small-image { width: 76px; }

    .small-image2 {
        width: 42px;
        margin-right: 8px;
    }

    .menu-link {
        margin: 0 4px;
        font-size: clamp(1.15rem, 4vw, 1.6rem);
    }

    .prestations-text {
        width: calc(100% - 32px);
        padding-top: 28px;
    }

    /* Même taille mobile pour PRESTATIONS, PHOTOGRAPHIE et VIDÉO */
    .intro-kicker,
    .section-heading h2 {
        font-size: 29px;
        letter-spacing: 2px;
    }

    .services-intro p {
        font-size: 23px;
        line-height: 1.5;
    }

    .section-heading {
        gap: 14px;
        margin-bottom: 14px;
    }

    .section-symbol {
        flex-basis: 11px;
        width: 11px;
        height: 11px;
    }

    .service-banner { margin-bottom: 18px; }

    .service-banner img { height: clamp(120px, 38vw, 180px); }

    .service-panel {
        padding: 20px 16px 22px;
        gap: 24px;
    }

    .service-copy p {
        font-size: 17px;
        line-height: 1.6;
    }

    .service-list li {
        font-size: 19px;
        letter-spacing: .55px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .service-list li::before { top: 17px; }

    .site-footer {
        flex-direction: column;
        gap: 8px;
    }
}


/* =========================
   IMAGE PROTECTION
========================= */

.protected-image {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.copyright-popup {
    position: fixed;
    z-index: 999999;
    background: #fffafa;
    color: #101010;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: .85rem;
    line-height: 1.4;
    box-shadow: 0 0 18px rgba(0, 0, 0, .35);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease;
}

.copyright-popup.is-visible {
    opacity: 1;
    transform: translateY(0);
}

a,
img { -webkit-tap-highlight-color: transparent; }


/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar { width: 15px; }

::-webkit-scrollbar-track {
    background: #101010;
    border-radius: 14px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}

::-webkit-scrollbar-thumb {
    background: #fffafa;
    border-radius: 14px;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, .3);
}


/* =========================
   SECTION TARIFS
========================= */
.tarifs-section {
    margin: 0 0 58px;
    padding: 0;
    background: transparent;
}

.tarifs-section .section-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(16, 16, 16, .22);
}

.tarifs-section .section-symbol {
    display: inline-block;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #800000;
    box-shadow: 0 0 0 5px rgba(128, 0, 0, .10);
    margin: 0 2px 0 3px;
}

.tarifs-section .section-heading h2 {
    margin: 0;
    color: #101010;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: normal;
    letter-spacing: 2px;
}

.tarifs-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: stretch;
    padding: 30px 28px;
    background: #f1ebeb;
    border-left: 3px solid #800000;
    box-sizing: border-box;
}

.tarifs-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: 28px;
    border-right: 1px solid rgba(16, 16, 16, .16);
}

.tarifs-copy h3 {
    width: 100%;
    margin: 0 0 18px;
    padding-bottom: 12px;
    color: #800000;
    border-bottom: 1px solid rgba(16, 16, 16, .14);
    font-family: 'Impact', sans-serif;
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: normal;
    letter-spacing: 2px;
}

.tarifs-copy p {
    margin: 0 0 24px;
    color: #353030;
    font-family: 'decotech', sans-serif;
    font-size: clamp(17px, 1.45vw, 23px);
    line-height: 1.65;
}

/* Stylized Buttons by Paraskevas Dinakis (perry_nt), From Left adapted to DAI ART */
.tarifs-contact-button {
    --def: #fffafa;
    --inv: #800000;
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow: hidden;
    display: inline-block;
    padding: 1.05rem 2.1rem;
    border: 0;
    background: transparent;
    color: var(--inv);
    font-family: 'Impact', sans-serif;
    font-size: 17px;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.tarifs-contact-button::before,
.tarifs-contact-button::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    width: 0;
    height: 100%;
    transition: inherit;
}

.tarifs-contact-button::before {
    right: 0;
    border: 1px solid var(--inv);
    border-left: 0;
    border-right: 0;
}

.tarifs-contact-button::after {
    left: 0;
    background: var(--inv);
}

.tarifs-contact-button:hover,
.tarifs-contact-button:focus-visible {
    color: var(--def);
    transition-delay: .5s;
}

.tarifs-contact-button:hover::before,
.tarifs-contact-button:focus-visible::before {
    width: 100%;
    transition-delay: 0s;
}

.tarifs-contact-button:hover::after,
.tarifs-contact-button:focus-visible::after {
    width: 100%;
    transition-delay: .35s;
}

.tarifs-contact-button:focus-visible {
    outline: 2px solid #800000;
    outline-offset: 5px;
}

.tarifs-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-content: center;
    min-width: 0;
}

.tarif-image-link {
    display: block;
    min-width: 0;
    overflow: hidden;
    background: #fffafa;
    line-height: 0;
    cursor: zoom-in;
    border: 1px solid rgba(16, 16, 16, .12);
    transition: border-color .2s ease, transform .2s ease;
}
.tarif-image-link:hover {
    border-color: #800000;
    transform: translateY(-2px);
}
.tarif-image-link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

@media screen and (max-width: 900px) {
    .tarifs-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 24px 20px;
    }

    .tarifs-copy {
        padding-right: 0;
        padding-bottom: 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(16, 16, 16, .16);
    }
}

@media screen and (max-width: 600px) {
    .tarifs-section { margin-bottom: 42px; }
    .tarifs-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tarifs-copy p { font-size: 17px; }
    .tarifs-contact-button { width: 100%; box-sizing: border-box; }
}


/* Correction explicite : ombre bordeaux du titre PRESTATIONS */
.services-intro h2.intro-kicker {
    color: #800000 !important;
    text-shadow: 2px 1px 4px #800000 !important;
}

/* Sécurise l'animation From Left sur le bouton de contact */
.tarifs-copy a.tarifs-contact-button {
    isolation: isolate;
    position: relative;
    z-index: 0;
}
.tarifs-copy a.tarifs-contact-button::before,
.tarifs-copy a.tarifs-contact-button::after {
    z-index: -1;
}
.tarifs-copy a.tarifs-contact-button::after {
    background: #800000;
}
.tarifs-copy a.tarifs-contact-button:hover,
.tarifs-copy a.tarifs-contact-button:focus-visible {
    color: #fffafa;
}


/* =========================
   VISIONNEUSE TARIFS
========================= */
body.tarifs-viewer-open {
    overflow: hidden;
}
.tarifs-viewer {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #101010;
    z-index: 100000;
    overflow: hidden;
}
.tarifs-viewer.is-open {
    display: block;
}
.tarifs-viewer .viewer-stage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.tarifs-viewer .viewer-track {
    display: flex;
    align-items: center;
    height: 100vh;
    will-change: transform;
}
.tarifs-viewer .viewer-slide {
    width: 100vw;
    height: 100vh;
    flex: 0 0 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 9vw;
    box-sizing: border-box;
}
.tarifs-viewer .viewer-slide img {
    display: block;
    width: auto;
    height: auto;
    max-width: 82vw;
    max-height: 82vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}
.tarifs-viewer .viewer-close,
.tarifs-viewer .viewer-arrow {
    position: fixed;
    z-index: 100003;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fffafa;
    cursor: pointer;
    transition: opacity .25s ease;
}
.tarifs-viewer .viewer-close {
    top: 18px;
    right: 28px;
    font-family: 'Bebas Kai', sans-serif;
    font-size: 4rem;
    line-height: 1;
    opacity: .75;
}
.tarifs-viewer .viewer-arrow {
    top: 50%;
    width: 70px;
    height: 70px;
    transform: translateY(-50%);
    font-family: 'Bebas Kai', sans-serif;
    font-size: 6rem;
    line-height: 1;
    opacity: .65;
}
.tarifs-viewer .viewer-close:hover,
.tarifs-viewer .viewer-arrow:hover { opacity: 1; }

/* Flèches fixées au viewport, même principe que la version sombre validée */
#tarifsViewerPrev,
#tarifsViewerNext {
    position: fixed !important;
    top: 50vh !important;
    bottom: auto !important;
    width: 70px !important;
    height: 70px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transform: translateY(-50%) !important;
    z-index: 100010 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #fffafa !important;
    font-family: 'Bebas Kai', sans-serif !important;
    font-size: 6rem !important;
    line-height: 1 !important;
    opacity: .65 !important;
    cursor: pointer !important;
}
#tarifsViewerPrev { left: 25px !important; right: auto !important; }
#tarifsViewerNext { right: 25px !important; left: auto !important; }
#tarifsViewerPrev:hover,
#tarifsViewerNext:hover { opacity: 1 !important; }

@media screen and (max-width: 768px) {
    .tarifs-viewer .viewer-slide { padding: 0 4vw; }
    .tarifs-viewer .viewer-slide img { max-width: 92vw; max-height: 78vh; }
    .tarifs-viewer .viewer-close { top: 12px; right: 16px; font-size: 3rem; }
    #tarifsViewerPrev { left: 4px !important; }
    #tarifsViewerNext { right: 4px !important; }
    #tarifsViewerPrev, #tarifsViewerNext { font-size: 4rem !important; }
}
