/* ==========================================================================
   Kwiscat Photo - Feuille de styles principale
   Design sobre, élégant, fond noir (#000000) et typographies professionnelles
   ========================================================================== */

@import url('fonts.css');

:root {
    --bg-color: #000000;
    --card-bg: #111111;
    --card-border: #222222;
    --text-primary: #f0f0f0;
    --text-secondary: #999999;
    --text-muted: #666666;
    --accent-color: #ffffff;
    --accent-hover: #cccccc;
    --accent-gold: #c8a45d;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --font-main: 'Sintony', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    --transition: all 0.25s ease;
    --container-max-width: 1320px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.25rem;
}

/* Layout Container */
.container {
    width: 92%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: var(--bg-color);
    border-bottom: 1px solid #1a1a1a;
    padding: 1.5rem 0 1rem;
    position: relative;
    z-index: 100;
}

.header-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.header-banner img {
    max-width: 360px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
}

.header-tagline {
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Floating social sidebar on left */
.floating-social-sidebar {
    position: fixed;
    top: 36%;
    left: 10px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.9);
    border: 1px solid #2a2a2a;
    color: #888888;
    transition: var(--transition);
}

.floating-social-icon:hover {
    background-color: #333333;
    color: #ffffff;
    border-color: #555555;
    transform: scale(1.08);
}

.floating-social-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

@media (max-width: 992px) {
    .floating-social-sidebar {
        display: none;
    }
}

/* Navigation bar */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #181818;
    border-bottom: 1px solid #181818;
    padding: 0.75rem 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-menu li.separator {
    color: var(--text-muted);
    user-select: none;
    font-size: 0.8rem;
}

.nav-menu a {
    color: #999999;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.5rem;
    position: relative;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0.5rem;
    right: 0.5rem;
    height: 2px;
    background-color: var(--accent-color);
}

/* Social links in header */
.header-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #161616;
    color: #aaaaaa;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: #333333;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #ffffff;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: var(--transition);
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.site-main {
    flex-grow: 1;
    padding: 2.5rem 0 4rem;
}

.page-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.breadcrumbs .sep {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================================================
   Home Page - Exact Replica of PhotoDeck layout
   ========================================================================== */
.home-showcase {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

.home-photo-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 2px;
}

.home-main-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* Barre sombre translucide en surimpression directe sur la photo */
.home-quote-bar {
    position: absolute;
    bottom: 18px;
    left: 14px;
    right: 14px;
    background-color: rgba(0, 0, 0, 0.72);
    border-radius: 3px;
    padding: 1rem 1.5rem;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
}

.home-quote-bar .quote-title {
    color: #d0d0d0;
    font-size: 1.35rem;
    line-height: 1.5;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
    font-weight: 400;
}

.home-quote-bar .quote-author {
    color: #888888;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0;
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Texte "À propos de moi..." sous la photo */
.home-about-wrapper {
    text-align: justify;
    margin-bottom: 3rem;
}

.home-about-title {
    font-size: 1.25rem;
    line-height: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: left;
    font-family: var(--font-heading);
}

.home-about-paragraph {
    color: #777777;
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.home-about-signature {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .home-quote-bar {
        bottom: 8px;
        left: 8px;
        right: 8px;
        padding: 0.6rem 0.8rem;
    }
    .home-quote-bar .quote-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    .home-quote-bar .quote-author {
        font-size: 0.8rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: #e0e0e0;
    color: #000000;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #444444;
}

.btn-outline:hover {
    border-color: #ffffff;
    color: #ffffff;
    background-color: #111111;
}

/* ==========================================================================
   Photo Grid (Portfolio & Sub-Galleries)
   ========================================================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.photo-card {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
    border-radius: 2px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.photo-card:hover img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.photo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.photo-card:hover .photo-card-overlay {
    opacity: 1;
}

/* ==========================================================================
   PhotoDeck Thumbs Wall & Portfolio Media Wall System
   ========================================================================== */
.site-main-portfolio .container,
.container-portfolio {
    max-width: 1680px;
    width: 94%;
}

.page_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 1.6rem;
}

.page_title_nav {
    display: flex;
    align-items: center;
    margin: 0;
    font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #666666;
}

@media screen and (max-width: 600px) {
    .page_title_nav {
        font-size: 1.4rem;
    }
}

.page_title_nav a.back {
    display: inline-flex;
    align-items: center;
    color: #666666;
    padding-right: 0.4rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.page_title_nav a.back svg {
    width: 9px;
    height: 24px;
    fill: currentColor;
    display: block;
}

@media (hover: hover) and (pointer: fine) {
    .page_title_nav a.back:hover {
        color: #cccccc;
    }
}

.page_title_with_back {
    color: #ffffff;
    margin-left: 0.2rem;
}

.page_actions.gallery_actions {
    display: flex;
    align-items: center;
    margin: 0;
}

.submit_small.gallery_share.share_icon {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background-color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTYiIHdpZHRoPSIxNiI+PGcgZmlsbD0iIzAwMCI+PGNpcmNsZSBjeD0iNCIgY3k9IjgiIHI9IjIiLz48Y2lyY2xlIGN4PSIxMSIgY3k9IjMiIHI9IjIiLz48Y2lyY2xlIGN4PSIxMSIgY3k9IjEzIiByPSIyIi8+PHBhdGggZD0iTTQgNy41bDctNXYxbC03IDUiLz48cGF0aCBkPSJNNCA3LjVsNyA1djFsLTctNXoiLz48L2c+PC9zdmc+");
    transition: background-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .submit_small.gallery_share.share_icon:hover {
        background-color: #cccccc;
    }
}

.gallery_block {
    position: relative;
    margin: 0 auto 2rem auto;
    max-width: 100%;
}

.gallery_intro_desc {
    font-size: 1rem;
    line-height: 1.55;
    color: #999999;
    margin: 0 0 1.8rem 0;
    text-align: left;
}

/* Thumbs Wall Container */
.medias-list.thumbs_wall {
    position: relative;
    width: 100%;
    clear: both;
    gap: 12px;
    transition: height 0.3s ease;
}

.medias-list.thumbs_wall_vertical {
    min-height: 400px;
}

/* Media Slide Item */
.medias-list > .media_slide {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.5s ease;
    will-change: transform, opacity;
}

.medias-list > .media_slide .thumb {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.medias-list > .media_slide .media_wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #1a1a1a;
    margin: 0;
}

.medias-list > .media_slide .media_wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;
    font-size: 0;
    line-height: 0;
    transition: transform 0.25s ease;
    will-change: transform;
}

/* Zoom Hover Effect (Exactement 1.07x comme PhotoDeck) */
@media (hover: hover) and (pointer: fine) {
    .medias-list > .media_slide:hover .media_wrap img {
        transform: scale(1.07);
    }
}

/* Media Link Overlay */
.media_link_overlay {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none !important;
}

/* Media Content Overlay (Bottom Action Bar) */
.medias-list > .media_slide .thumb .media_content_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.medias-list > .media_slide .thumb .media_content_overlay .overlay_ctrl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #666666;
    pointer-events: auto;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .medias-list > .media_slide .thumb .media_wrap:hover .media_content_overlay {
        visibility: visible;
        opacity: 1;
    }
    .medias-list > .media_slide .thumb .media_content_overlay .overlay_ctrl:hover {
        background-color: rgba(255, 255, 255, 0.25);
        transform: scale(1.1);
    }
}

/* Lightbox Icon */
.overlay_ctrl .lightbox_icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUgOGwyIDMgNC02IiBmaWxsPSJub25lIiBzdHJva2U9IiM2NjYiIHN0cm9rZS13aWR0aD0iMS41Ii8+PGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzY2NiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+");
    transition: background-image 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .overlay_ctrl:hover .lightbox_icon {
        background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUgOGwyIDMgNC02IiBmaWxsPSJub25lIiBzdHJva2U9IiNjY2MiIHN0cm9rZS13aWR0aD0iMS41Ii8+PGNpcmNsZSBjeD0iOCIgY3k9IjgiIHI9IjciIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2NjYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+");
    }
}

/* Fade-In Animation On Scroll/Load (Exactement comme PhotoDeck) */
body:not(.no-in-viewport-animations) .animation_fadein {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

body:not(.no-in-viewport-animations) .animation_fadein.shown {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Galleries Overview / Subgalleries Grid
   ========================================================================== */
.gallery-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 3rem;
}

.gallery-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.gallery-card:hover {
    border-color: #444444;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.gallery-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #050505;
}

.gallery-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.gallery-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.gallery-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* ==========================================================================
   Password Gate (Galeries protégées)
   ========================================================================== */
.password-gate-container {
    max-width: 460px;
    margin: 4rem auto;
    padding: 2.5rem 2rem;
    background-color: #0d0d0d;
    border: 1px solid #222222;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.lock-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.lock-icon-wrapper svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.password-gate-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.password-gate-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.password-gate-form .form-group {
    margin-bottom: 1.25rem;
}

.password-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: #181818;
    border: 1px solid #333333;
    border-radius: 4px;
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 2px;
    transition: var(--transition);
}

.password-input:focus {
    outline: none;
    border-color: #ffffff;
    background-color: #202020;
}

/* ==========================================================================
   Offres et Tarifs (Style PhotoDeck exact : max-width 70em / 1120px)
   ========================================================================== */
.site-main-offres .container,
.container-offres {
    max-width: 70em; /* 1120px - exact PhotoDeck custom text_block */
    width: 90%;
    margin: 0 auto;
}

.site-main-offres .page_title_with_back {
    color: #888888;
}

.offres-intro-banner {
    text-align: center;
    max-width: 58em;
    margin: 2rem auto 3rem auto;
}

.offres-intro-banner p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #cccccc;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    width: 100%;
    margin: 0 auto 4rem auto;
}

.service-card {
    background-color: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.service-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #1a1a1a;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.04);
}

.service-card-content {
    padding: 1.2rem 0 0 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
    line-height: 1.4;
}

.service-card-content p {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 820px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 540px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.download-catalog-box {
    background-color: #111111;
    border: 1px dashed #333333;
    border-radius: 6px;
    padding: 2.5rem;
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
}

.download-catalog-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Page Info / À Propos (Moteur et Grille PhotoDeck exacts)
   ========================================================================== */
.site-main-a-propos .container,
.container-a-propos,
.text_block.custom {
    max-width: 70em; /* 1120px - exact PhotoDeck custom text_block */
    width: 90%;
    margin: 0 auto;
    color: #666666;
    font-size: 1rem;
    line-height: 1.6rem;
}

/* Page Meta / Nav Title */
.page_meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 1em;
    margin-bottom: 1.6rem;
}

.page_title_nav {
    border: 0;
    padding: 0;
    text-shadow: none;
    text-align: left;
    font-style: normal;
    font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
    font-weight: 900;
    color: #666666;
    margin: 0 0 1.6rem;
    display: flex;
    align-items: center;
}

h1.page_title_nav {
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.page_title_nav a {
    color: #666666;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page_title_nav a:hover,
.page_title_nav a:focus,
.page_title_nav a:active {
    color: #cccccc;
}

.page_title_nav a svg {
    width: 9px;
    height: 24px;
    fill: currentColor;
    margin-right: 0.8rem;
}

.page_title_with_back {
    color: #666666;
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 12-Column Grid System (PhotoDeck exact row-12) */
.row-12 {
    clear: both;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: -0.8rem;
    margin-left: -0.8rem;
    margin-bottom: 1.6rem;
}

.row-12:last-of-type {
    margin-bottom: 0;
}

.row-12 > [class*="col-"] {
    position: relative;
    box-sizing: border-box;
    scroll-snap-align: center;
    margin-left: 0.8rem;
    margin-right: 0.8rem;
}

.row-12 > .col-1 { flex: 1 1 8.333333%; }
.row-12 > .col-3 { flex: 3 3 25%; }
.row-12 > .col-4 { flex: 4 4 33.333333%; }
.row-12 > .col-5 { flex: 5 5 41.666666%; }
.row-12 > .col-6 { flex: 6 6 50%; }
.row-12 > .col-8 { flex: 8 8 66.666666%; }

/* Elements généraux */
div.elem {
    position: relative;
    margin-bottom: 1.6rem;
    color: #666666;
    font-size: 1rem;
    line-height: 1.6rem;
}

div.elem.align_center {
    text-align: center;
}

div.elem p {
    margin-top: 0;
    margin-bottom: 1.6rem;
    color: #666666;
    line-height: 1.6rem;
}

div.elem p:last-of-type {
    margin-bottom: 0;
}

div.elem:last-of-type {
    margin-bottom: 0;
}

div.elem h2 {
    font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
    font-weight: 900;
    color: #666666;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

div.elem a {
    color: #888888;
    text-decoration: underline;
    transition: color 0.2s ease;
}

div.elem a:hover {
    color: #ffffff;
}

/* Image Element PhotoDeck */
div.elem[data-type="image"] {
    line-height: 0;
    min-width: 90px;
}

div.elem[data-type="image"] .elem_wrap {
    display: inline-block;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

div.elem[data-type="image"] .media_wrap {
    width: 100%;
    box-sizing: border-box;
}

div.elem[data-type="image"] .media_wrap.intrinsic_ratio {
    height: 0;
    overflow: hidden;
    display: block;
    position: relative;
}

div.elem[data-type="image"] .media_wrap.intrinsic_ratio img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    display: block;
}

/* Spacer & Line */
div.elem[data-type="spacer"],
div.elem[data-type="line"] {
    min-height: 1.6rem !important;
    padding-bottom: 3.2rem;
    position: relative;
}

div.elem[data-type="line"] hr {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    border: none;
    background-color: #222222;
    height: 1px;
    margin: 0;
}

/* Quotes PhotoDeck avec grand guillemet exact */
div.elem[data-type="quote"] {
    margin-bottom: 2.4rem;
}

div.elem[data-type="quote"] blockquote {
    padding: 0 120px 0 0;
    min-width: 180px;
    min-height: 70px;
    margin: 0;
    position: relative;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA3NSA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGcgaWQ9ImcyIiBmaWxsPSIjNjY2Ij48cGF0aCBkPSJtMzMuOSAyNWMtMi42MyAxNS0yMy44IDM1LjUtMjguOSAzMC0wLjk1Ni00LjE2IDEzLjktOS43NSAxOC45LTI1LjUgMy4wNy0xNS43IDE0LjUtMjUuNiAxMC4xLTQuNTR6Ii8+PGNpcmNsZSBjeD0iMjAiIGN5PSIxNSIgcj0iMTUiLz48L2c+PHVzZSB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzOS44IC4wNzY4KSIgeGxpbms6aHJlZj0iI2cyIi8+PC9zdmc+Cg==");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 100px 70px;
}

div.elem[data-type="quote"] p.large {
    font-size: 1.3rem;
    line-height: 2.4rem;
    color: #666666;
    font-style: normal;
    margin: 0 0 0.8rem 0;
}

div.elem[data-type="quote"] footer {
    display: block;
    font-style: normal;
    margin-top: 0.8rem;
}

div.elem[data-type="quote"] p.small {
    font-size: 0.8rem;
    line-height: 1.6rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Animations fadein et slide-bottom */
.animation_fadein {
    transition: opacity 0.5s ease-in-out;
}
.animation_slide_bottom {
    transition: opacity 0.5s ease-in-out;
}
.animation_slide_bottom > * {
    transition: transform 0.5s ease-in-out;
}
.animation_slide_bottom.shown > * {
    transform: none;
    opacity: 1;
}
.animation_fadein.shown {
    opacity: 1;
}

/* Adaptation Responsive */
@media screen and (max-width: 600px) {
    .row-12 {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    .row-12 > [class*="col-"] {
        margin-left: 0;
        margin-right: 0;
    }
    .row-12 > [class*="col-"]:not(:last-of-type) {
        margin-bottom: 1.6rem;
    }
    .row-12 > [class*="col-"]:has(> div.elem[data-type="spacer"]:first-child:last-child) {
        display: none;
    }
    div.elem[data-type="quote"] blockquote {
        padding: 80px 0 0 0;
        background-position: top left;
    }
    div.elem[data-type="quote"] p.large {
        font-size: 1.25rem;
        line-height: 2.4rem;
    }
    h1.page_title_nav {
        font-size: 1.4rem;
        line-height: 2.4rem;
    }
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
}

.contact-info-panel h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.contact-info-list {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.contact-info-item svg {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-form-panel {
    background-color: #0d0d0d;
    border: 1px solid #222222;
    padding: 2.5rem;
    border-radius: 6px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cccccc;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: #161616;
    border: 1px solid #303030;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: #ffffff;
    background-color: #1e1e1e;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #ffffff;
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Alert messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.15);
    border: 1px solid var(--success-color);
    color: #2ecc71;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid var(--danger-color);
    color: #e74c3c;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #060606;
    border-top: 1px solid #161616;
    padding: 3rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-brand h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #121212;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .home-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-hero {
        grid-template-columns: 1fr;
    }
    .about-photo {
        max-width: 300px;
        margin: 0 auto;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0a0a0a;
        border-bottom: 1px solid #222222;
        padding: 1.5rem 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    }
    .main-nav.is-open {
        display: block;
    }
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .nav-menu li.separator {
        display: none;
    }
    .nav-menu a {
        display: block;
        padding: 0.5rem;
        font-size: 1.05rem;
        border-bottom: 1px solid #161616;
    }
    .quote-banner blockquote {
        font-size: 1.35rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 1.5rem;
    }
}


/* ==========================================================================
   Page Blog & Actualités & Vue Article Unique
   ========================================================================== */
.blog-filter-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.blog-filter-btn {
    padding: 0.45rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #0f0f0f;
    color: #888888;
    border: 1px solid #222222;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background-color: #0e0e0e;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    border-color: #333333;
    transform: translateY(-3px);
}

.blog-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
    background-color: #000000;
    position: relative;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: #777777;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-meta .meta-category,
.article-meta-badge .meta-category {
    color: var(--accent-gold);
    font-weight: 700;
}

.blog-card-title {
    font-size: 1.25rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.blog-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--accent-gold);
}

.blog-card-excerpt {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

.blog-card-footer {
    padding-top: 1rem;
    border-top: 1px solid #161616;
}

.blog-read-more {
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.blog-read-more:hover {
    color: var(--accent-gold);
    transform: translateX(3px);
}

/* Article unique (Single post) */
.article-single-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta-badge {
    font-size: 0.85rem;
    color: #777777;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.article-full-title {
    font-size: 2.2rem;
    line-height: 1.3;
    color: #ffffff;
    margin: 0.5rem 0 1.25rem 0;
    font-family: var(--font-heading);
    font-weight: 900;
}

.article-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #cccccc;
    margin-bottom: 1.75rem;
    font-style: italic;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.25rem;
}

.article-featured-image {
    aspect-ratio: 16 / 9;
    max-height: 520px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 2.5rem;
    background-color: #000000;
    border: 1px solid #1a1a1a;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body {
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 3.5rem;
}

.article-body p {
    margin-bottom: 1.6rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    background: #0e0e0e;
    border-left: 3px solid var(--accent-gold);
    color: #aaaaaa;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0 1.5rem 1.5rem;
    line-height: 1.75;
}

.article-body a {
    color: #ffffff;
    text-decoration: underline;
}

.article-footer-card {
    background: #0e0e0e;
    border: 1px solid #222222;
    border-radius: 6px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.article-footer-card h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.article-footer-card p {
    color: #888888;
    max-width: 580px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 1.5rem;
}

.article-nav-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    max-width: 48%;
}

.article-nav-item .nav-direction {
    font-size: 0.78rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.article-nav-item .nav-title {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.article-nav-item:hover .nav-title {
    color: var(--accent-gold);
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .article-full-title {
        font-size: 1.7rem;
    }
    .article-nav-links {
        flex-direction: column;
        gap: 1.25rem;
    }
    .article-nav-item {
        max-width: 100%;
    }
}
