/*
Theme Name: Chez-Tran
Theme URI: https://www.chez-tran.com/
Author: Arnaud & AI
Description: Thème sur-mesure pour le restaurant Chez-Tran.
Version: 1.0.0
Text Domain: cheztran
*/

:root {
    --primary-color: #2a4620; /* Vert foncé */
    --secondary-color: #ccde9b; /* Vert clair */
    --text-color: #333333;
    --bg-color: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Bandeau Supérieur (Top Bar Chez-Tran)
   ========================================================================== */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.88em;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(42, 70, 32, 0.12);
}

.top-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}

.top-bar-schedule {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.95em;
    letter-spacing: 0.2px;
}

.top-bar-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.top-bar-contact a:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.top-bar-address {
    font-weight: 500;
    white-space: nowrap;
}

.top-bar-separator {
    color: var(--primary-color);
    opacity: 0.45;
    font-weight: 300;
}

.top-bar-phone a {
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   En-tête (Header Chez-Tran - 2 Niveaux Centrés)
   ========================================================================== */
.site-header {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0 25px 0;
    text-align: center;
}

.site-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 22px;
}

.site-title {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
}

.site-title a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    max-height: 85px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.site-subtitle,
.site-description {
    font-size: 0.92em;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 10px 0 0 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center;
    display: block;
    width: 100%;
}

/* Navigation Principale (Centrée rigoureusement sur l'axe vertical) */
.main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.header-menu-list,
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.header-menu-list li,
.main-navigation li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.header-menu-list a,
.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.08em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    position: relative;
    transition: color 0.25s ease, background-color 0.25s ease;
    border-radius: 4px;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.4;
}

.header-menu-list a::after,
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.header-menu-list a:hover::after,
.header-menu-list li.current-menu-item a::after,
.header-menu-list li.current_page_item a::after,
.main-navigation a:hover::after,
.main-navigation li.current-menu-item a::after,
.main-navigation li.current_page_item a::after {
    width: 80%;
}

.header-menu-list a:hover,
.header-menu-list li.current-menu-item a,
.header-menu-list li.current_page_item a,
.main-navigation a:hover,
.main-navigation li.current-menu-item a,
.main-navigation li.current_page_item a {
    color: var(--secondary-color);
}

.site-main {
    padding: 40px 0;
    min-height: 60vh;
}

/* ==========================================================================
   Pied de page (Footer Chez-Tran)
   ========================================================================== */
.site-footer {
    background: #182c13;
    color: #e2e8dc;
    font-size: 0.95em;
    line-height: 1.6;
    margin-top: 60px;
}

.footer-main {
    padding: 65px 0 45px 0;
    border-top: 3px solid var(--secondary-color);
}

/* 1. En-tête de marque & Menu Horizontal */
.footer-brand-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 10px;
}

.footer-logo {
    max-height: 75px;
    width: auto;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.footer-tagline {
    font-size: 0.88em;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0 0 22px 0;
}

/* Navigation Principale Horizontale (Strictement sans retours à la ligne) */
.footer-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-menu-links li {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.footer-menu-links li a {
    color: #e2e8dc;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-block;
}

.footer-menu-links li a:hover,
.footer-menu-links li.current-menu-item a,
.footer-menu-links li.current_page_item a {
    color: var(--secondary-color);
    background: rgba(204, 222, 155, 0.12);
}

/* Ligne de séparation élégante */
.footer-sep {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 222, 155, 0.3), transparent);
    margin: 30px auto 45px auto;
    max-width: 900px;
}

/* 2. Grille d'informations pratiques (3 blocs aérés) */
.footer-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    align-items: stretch;
}

.footer-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.footer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(204, 222, 155, 0.25);
}

.footer-card-icon {
    font-size: 2.2em;
    line-height: 1;
    margin-bottom: 14px;
}

.footer-card .footer-heading {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.25em;
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-card .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 1px;
}

.footer-card-text {
    color: #c7d4c2;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 14px 0;
}

.footer-maps-wrap {
    margin-top: auto;
}

.footer-maps-link {
    color: var(--secondary-color);
    font-size: 0.88em;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-maps-link:hover {
    color: #ffffff;
}

/* Téléphone (Strictement insécable / Sans retour à la ligne) */
.footer-phone-wrap {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.22em;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    letter-spacing: 0.8px;
    white-space: nowrap !important;
    word-break: keep-all;
    min-width: 190px;
}

.footer-phone-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Horaires */
.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    width: 100%;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    color: #d7e2d1;
    font-size: 0.92em;
}

.footer-hours-list .day {
    font-weight: 600;
    color: #ffffff;
}

.footer-hours-list .time {
    color: var(--secondary-color);
    font-weight: 500;
}

.footer-closed {
    margin: 4px 0 0 0;
    font-size: 0.85em;
    color: #e8a87c;
    font-style: italic;
    line-height: 1.4;
}

/* Sous-footer / Copyright */
.footer-bottom {
    background: #101e0c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 0.85em;
    color: #92a48b;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    color: #a4b89c;
    font-style: italic;
}

/* Styles pour La Carte */
.menu-section {
    margin-bottom: 50px;
}

.menu-section h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 22px;
    font-family: var(--font-heading);
    font-size: 1.6em;
}

/* Ligne d'un plat (Disposition aérée et propre) */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(42, 70, 32, 0.12);
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.menu-item-thumb-link {
    display: block;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(42, 70, 32, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    background: #f4f6f2;
}

.menu-item-thumb-link:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(42, 70, 32, 0.25);
}

.menu-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-item-info {
    display: flex;
    flex-direction: column;
    padding-right: 15px;
    flex-grow: 1;
    min-width: 0;
}

.menu-item-title {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--text-color);
    line-height: 1.3;
}

.menu-item-desc {
    font-size: 0.88em;
    color: #666;
    margin-top: 4px;
    font-style: italic;
    line-height: 1.45;
}

/* ==========================================================================
   Badges Tarifs Aérés (Sur Place, À Emporter, Vins)
   ========================================================================== */
.item-prices-group {
    display: grid;
    grid-template-columns: 100px 100px;
    gap: 12px;
    flex-shrink: 0;
    justify-content: flex-end;
}

.wine-prices-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.price-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 7px 8px;
    width: 100%;
    min-width: 0;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.wine-price-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 7px 16px;
    min-width: 86px;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.price-chip:hover,
.wine-price-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
}

/* Badge 1 : Sur Place (Vert Chez Tran) - Toujours ancré à gauche en colonne 1 */
.chip-sp {
    grid-column: 1;
    background: #f3f8f1;
    border: 1px solid #c8dcc3;
}
.chip-sp:hover {
    border-color: var(--primary-color);
    background: #eaf3e7;
}
.chip-sp .chip-label {
    color: #3b5f25;
}
.chip-sp .chip-val {
    color: var(--primary-color);
}

/* Badge 2 : À Emporter (Terracotta / Ambre chaleureux) - Ancré à droite en colonne 2 */
.chip-emp {
    grid-column: 2;
    background: #fdf6ed;
    border: 1px solid #ebd5b8;
}
.chip-emp:hover {
    border-color: #b36219;
    background: #fbf0e0;
}
.chip-emp .chip-label {
    color: #9c5c1b;
}
.chip-emp .chip-val {
    color: #82430b;
}

/* Badges Vins (Contenance) */
.wine-price-chip {
    background: #fbfdf9;
    border: 1px solid #d2ded0;
}
.wine-price-chip:hover {
    border-color: var(--primary-color);
    background: #f0f6ec;
}
.wine-label {
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    color: #5f7a30;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}
.wine-val {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.wine-price-chip.chip-emp {
    background: #fbf0e0;
    border-color: #f1cfb3;
}
.wine-price-chip.chip-emp:hover {
    border-color: #d49b6a;
    background: #f6e6d0;
}
.wine-price-chip.chip-emp .wine-label {
    color: #9c5c1b;
}
.wine-price-chip.chip-emp .wine-val {
    color: #82430b;
}

.chip-label {
    font-size: 0.74em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
    line-height: 1;
    white-space: nowrap;
}

.chip-val {
    font-size: 1.08em;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .item-prices-group {
        grid-template-columns: 92px 92px;
        gap: 10px;
        align-self: flex-start;
        justify-content: flex-start;
    }
    .wine-prices-group {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
    .price-chip,
    .wine-price-chip {
        min-width: 0;
        padding: 6px 6px;
    }
}




/* Lightbox Modal Native */
.cheztran-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cheztran-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.cheztran-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 25, 12, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cheztran-lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: cheztranZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cheztranZoomIn {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cheztran-lightbox-close {
    position: absolute;
    top: -42px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 4px;
}

.cheztran-lightbox-close:hover {
    color: var(--secondary-color);
    transform: scale(1.15);
}

.cheztran-lightbox-content {
    background: #ffffff;
    padding: 12px 12px 18px 12px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cheztran-lightbox-img {
    max-width: 85vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.cheztran-lightbox-caption {
    margin: 12px 0 0 0;
    font-family: var(--font-heading);
    font-size: 1.15em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .price-header { grid-template-columns: 1fr 85px 65px; gap: 8px; font-size: 0.75em; }
    .menu-item { grid-template-columns: 1fr 85px 65px; gap: 8px; padding: 10px 0; }
    .menu-item-left { gap: 10px; }
    .menu-item-thumb-link { width: 52px; height: 52px; border-radius: 8px; }
    .menu-item-title { font-size: 0.98em; }
    .menu-item-desc { font-size: 0.82em; }
    .price-sp { font-size: 0.95em; }
    .price-emp { font-size: 0.88em; }
}


/* ==========================================================================
   Styles Page d'Accueil Éditoriale (Design Magazine Chez-Tran)
   ========================================================================== */
.home-hero {
    max-width: 1200px;
    margin: 20px auto 70px auto;
    padding: 20px 0 30px 0;
}

.home-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.home-hero-text {
    flex: 1.1;
    text-align: left;
}

.home-hero h1 {
    font-size: 2.8em;
    line-height: 1.15;
    margin-bottom: 22px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.home-hero h1 .subtitle {
    display: block;
    font-size: 0.55em;
    font-family: var(--font-body);
    font-weight: 600;
    color: #6b843a;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 14px;
}

.home-hero p.intro-text {
    font-size: 1.2em;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 0 35px 0;
    font-weight: 400;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.home-hero-actions .btn-cta-outline {
    margin-left: 0;
}

.home-hero-media {
    flex: 1;
    position: relative;
}

.home-hero-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(42, 70, 32, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 5px solid #ffffff;
    aspect-ratio: 4 / 3;
}

.home-hero-frame p {
    margin: 0;
    padding: 0;
    display: contents;
}

.home-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-hero-frame:hover img {
    transform: scale(1.03);
}

.home-hero-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(42, 70, 32, 0.22);
}

.btn-cta:hover {
    background-color: #1a2f13;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(42, 70, 32, 0.3);
}

.btn-cta-outline {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 30px;
    border-radius: 40px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.btn-cta-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- Sections Magazine (Alternance Gauche / Droite) --- */
.magazine-section {
    margin: 80px 0;
}

.magazine-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 90px;
}

.magazine-row:last-child {
    margin-bottom: 40px;
}

.magazine-row.reverse {
    flex-direction: row-reverse;
}

.magazine-media {
    flex: 1.1;
    position: relative;
}

.magazine-media-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.magazine-media-frame img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.magazine-media-frame:hover img {
    transform: scale(1.03);
}

/* Badge décoratif flottant sur la photo */
.magazine-badge {
    position: absolute;
    bottom: -15px;
    right: 25px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--secondary-color);
    z-index: 2;
}

.magazine-row.reverse .magazine-badge {
    right: auto;
    left: 25px;
}

/* Colonne Texte Éditorial */
.magazine-text {
    flex: 1;
    padding: 10px 0;
}

.magazine-eyebrow {
    display: inline-block;
    font-size: 0.8em;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6b843a;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.magazine-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--secondary-color);
}

.magazine-text h2 {
    font-size: 2.5em;
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-family: var(--font-heading);
}

.magazine-divider {
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin-bottom: 25px;
    border-radius: 2px;
}

.magazine-text p {
    font-size: 1.1em;
    line-height: 1.85;
    color: #444;
    margin-bottom: 20px;
}

.magazine-text p.lead {
    font-size: 1.18em;
    font-weight: 500;
    color: #2b3524;
    line-height: 1.8;
}

.magazine-quote {
    margin: 25px 0 0 0;
    padding: 16px 22px;
    border-left: 3px solid var(--secondary-color);
    background-color: #fafbf8;
    font-style: italic;
    font-size: 0.98em;
    color: #555;
    border-radius: 0 8px 8px 0;
}

/* Diptyque photo magazine (2 photos assemblées) */
.magazine-diptych {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    position: relative;
}

.magazine-diptych-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.magazine-diptych-item:first-child {
    transform: translateY(-15px);
}

.magazine-diptych-item:last-child {
    transform: translateY(15px);
}

.magazine-diptych-item img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.magazine-diptych-item:hover img {
    transform: scale(1.04);
}

/* --- 4 Blocs Piliers (Design validé par l'utilisateur) --- */
.home-features-wrapper {
    margin: 80px 0;
    padding: 50px 0;
    position: relative;
}

.home-features-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

.home-features-header h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e7ebe0;
    border-radius: 12px;
    padding: 32px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(42, 70, 32, 0.08);
    border-color: var(--secondary-color);
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 2em;
    font-weight: 700;
    color: #6b843a;
    margin-bottom: 12px;
    line-height: 1;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.35em;
    color: var(--primary-color);
    margin: 0 0 12px 0;
}

.feature-desc {
    font-size: 0.95em;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   Page Contact (Chez-Tran)
   ========================================================================== */
.page-id-7 .entry-header,
.page-id-107 .entry-header,
.post-107 .entry-header {
    display: none;
}

.contact-page-wrapper {
    max-width: 1050px;
    margin: 20px auto 60px auto;
}

.contact-intro-card {
    text-align: center;
    background: #fbfcfb;
    border: 1px solid #e2e9df;
    border-radius: 16px;
    padding: 50px 30px;
    margin-bottom: 45px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.035);
}

.contact-eyebrow {
    display: inline-block;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6b843a;
    margin-bottom: 12px;
}

.contact-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.6em;
    line-height: 1.2;
    margin: 0 0 18px 0;
}

.contact-title .accent-text {
    color: #436331;
}

.contact-divider {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto 22px auto;
    border-radius: 2px;
}

.contact-lead {
    font-size: 1.15em;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 680px;
    margin: 0 auto 30px auto;
}

.contact-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.35em;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(42, 70, 32, 0.25);
    transition: all 0.3s ease;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.btn-contact-phone:hover {
    background-color: #1a2f13;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 70, 32, 0.35);
    color: var(--secondary-color) !important;
}

.contact-subcta {
    font-size: 0.9em;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Grille 2 Colonnes (Adresse & Horaires) */
.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 50px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e5ebe2;
    border-radius: 14px;
    padding: 35px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.contact-card-icon {
    font-size: 2.4em;
    line-height: 1;
    margin-bottom: 14px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.45em;
    margin: 0 0 15px 0;
    position: relative;
    padding-bottom: 10px;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

.contact-card-info {
    color: #4a4a4a;
    font-size: 1.05em;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.contact-card-action {
    margin-top: auto;
}

.btn-card-link {
    display: inline-block;
    color: var(--primary-color);
    background: rgba(204, 222, 155, 0.25);
    font-weight: 600;
    font-size: 0.92em;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-card-link:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.contact-hours-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    width: 100%;
    max-width: 340px;
}

.contact-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-bottom: 1px dashed #e0e5de;
    font-size: 1em;
    color: #333333;
}

.contact-hours-list .day {
    font-weight: 600;
    color: var(--primary-color);
}

.contact-hours-list .time {
    font-weight: 500;
    color: #4a4a4a;
}

.contact-closed-notice {
    margin: 8px 0 0 0;
    font-size: 0.9em;
    color: #c06030;
    font-style: italic;
    font-weight: 600;
    background: #fff4ed;
    border: 1px solid #ffd8c2;
    padding: 6px 14px;
    border-radius: 6px;
}

/* Carte Google Maps */
.contact-map-section {
    margin-top: 40px;
}

.contact-map-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5em;
    text-align: center;
    margin-bottom: 20px;
}

.contact-map-frame {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e5de;
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* --- Responsive Design Magazine --- */
@media (max-width: 900px) {
    .magazine-row,
    .magazine-row.reverse {
        flex-direction: column;
        gap: 35px;
        margin-bottom: 60px;
    }

    .magazine-media-frame img {
        height: 320px;
    }

    .magazine-diptych-item:first-child,
    .magazine-diptych-item:last-child {
        transform: none;
    }

    .magazine-diptych-item img {
        height: 240px;
    }

    .home-hero {
        margin: 10px auto 40px auto;
        padding: 10px 0 20px 0;
    }

    .home-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

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

    .home-hero p.intro-text {
        margin: 0 auto 25px auto;
    }

    .home-hero-actions {
        justify-content: center;
    }

    .home-hero-media {
        width: 100%;
        max-width: 540px;
    }

    .home-hero h1 {
        font-size: 2.2em;
    }

    .magazine-text h2 {
        font-size: 2em;
    }

    .btn-cta-outline {
        margin-left: 0;
        margin-top: 15px;
    }

    .footer-grid-3 {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
        gap: 25px;
    }

    .footer-menu-links {
        gap: 20px;
    }

    .contact-title {
        font-size: 2.1em;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-map-frame iframe {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .home-hero h1 {
        font-size: 1.95em;
    }

    .home-hero p.intro-text {
        font-size: 1.05em;
    }

    .home-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .home-hero-actions a {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .contact-intro-card {
        padding: 35px 20px;
    }

    .contact-title {
        font-size: 1.8em;
    }

    .btn-contact-phone {
        font-size: 1.15em;
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
    }

    .contact-map-frame iframe {
        height: 300px;
    }

    .top-bar {
        font-size: 0.8em;
        padding: 8px 10px;
    }

    .top-bar-contact {
        gap: 6px;
    }

    .top-bar-separator {
        display: none;
    }

    .top-bar-address {
        white-space: normal;
        display: block;
        width: 100%;
        text-align: center;
    }

    .footer-menu-links {
        gap: 12px;
    }

    .footer-menu-links li a {
        font-size: 0.9em;
        padding: 5px 10px;
    }

    .footer-phone-btn {
        font-size: 1.1em;
        padding: 9px 18px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-hours-list li {
        font-size: 0.88em;
    }
}

/* ==========================================================================
   Page Mentions Légales & Pied de page
   ========================================================================== */
.footer-legal-link {
    color: #a4b89c;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.footer-legal-link:hover {
    color: #ffffff;
}

.legal-page-wrapper {
    max-width: 900px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

.legal-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 45px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef3eb;
    color: #333333;
    line-height: 1.7;
}

.legal-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    color: #23431d;
    margin: 0 0 15px 0;
    text-align: center;
}

.legal-subtitle {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 35px;
    text-align: center;
    border-bottom: 1px solid #eef3eb;
    padding-bottom: 25px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35em;
    color: #23431d;
    margin: 25px 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #eef3eb;
}

.legal-section p {
    margin: 0 0 12px 0;
    color: #444444;
}

.legal-section ul {
    margin: 10px 0 16px 20px;
    padding: 0;
}

.legal-section li {
    margin-bottom: 6px;
    color: #444444;
}

.legal-section a {
    color: #23431d;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 25px 20px;
    }
    .legal-main-title {
        font-size: 1.8em;
    }
}


