/*
Theme Name: Au Coche de Briare
Theme URI: https://cochedebriare.fr
Author: Studio web
Author URI: https://cochedebriare.fr
Description: Thème sur-mesure pour Au Coche de Briare — hôtel, restaurant L'Abstract et Le Pub du Coche. Accueil enrichi, pages univers, chambres et contact éditables directement dans les pages. Design crème & or, typographies Cormorant Garamond & EB Garamond.
Version: 1.6.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coche-de-briare
Tags: custom-colors, custom-menu, custom-logo, featured-images, full-width-template, translation-ready, restaurant, hotel
*/

/* ============================================
   AU COCHE DE BRIARE — DESIGN SYSTEM
   Palette crème / or / encre, grain photographique,
   cadres dorés, Cormorant Garamond en display.
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Fond & encres */
    --paper: #F6F0E2;
    --ink: #2B2620;
    --ink-soft: #55493A;
    --ink-muted: #6B5D4B;
    --ink-gold: #8A7350;

    /* Ors */
    --gold-soft: #A9814A;          /* accent sur fond clair */
    --gold-deep: #7C5C31;          /* survol sur fond clair */
    --gold: #C7A566;               /* accent sur fond sombre */
    --gold-line: rgba(169, 129, 74, 0.45);
    --gold-line-soft: rgba(169, 129, 74, 0.25);
    --frame: rgba(214, 183, 128, 0.28);
    --frame-corner: #D6B780;

    /* Sombres */
    --dark: #16110C;
    --dark-2: #1C1610;
    --dark-3: #100C08;

    /* Crèmes (textes sur fond sombre) */
    --cream: #F3EAD6;
    --cream-soft: #E9DFC9;
    --cream-warm: #EDE4CF;

    /* Badge prix */
    --badge-bg: rgba(22, 17, 12, 0.72);
    --badge-txt: #E8D9B8;

    /* Typographies */
    --display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --body: 'EB Garamond', Georgia, 'Times New Roman', serif;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 17px;
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.75;
}

/* Grain photographique sur tout le site */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* Accessibilité : lien d'évitement */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--dark);
    color: var(--cream);
    padding: 12px 20px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
}

/* Décalage quand la barre d'admin WP est visible */
.admin-bar nav.site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar nav.site-nav { top: 46px; } }

/* ============== ANIMATIONS ============== */
@keyframes kenburns {
    from { transform: scale(1.03); }
    to { transform: scale(1.1); }
}
@keyframes scrollline {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============== NAVIGATION ============== */
nav.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 30px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--cream);
    background: linear-gradient(to bottom, rgba(12, 9, 6, 0.45), transparent);
    transition: background 0.4s ease, padding 0.4s ease;
}

nav.site-nav.scrolled {
    background: rgba(22, 17, 12, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 56px;
}

nav.site-nav .brand {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--cream);
    text-decoration: none;
}

nav.site-nav .menu {
    display: flex;
    gap: 38px;
    list-style: none;
    align-items: center;
}

nav.site-nav .menu a {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(243, 234, 214, 0.75);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}

nav.site-nav .menu a:hover,
nav.site-nav .menu .current-menu-item > a,
nav.site-nav .menu .current_page_item > a,
nav.site-nav .menu a.active {
    color: var(--cream);
}

/* Trait doré au survol uniquement (pas sur la page active). */
nav.site-nav .menu a:hover { border-bottom-color: rgba(214, 183, 128, 0.7); }

/* Bouton burger mobile */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 130;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--cream);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    nav.site-nav { padding: 18px 22px; }
    nav.site-nav.scrolled { padding: 14px 22px; }
    nav.site-nav .brand { font-size: 12px; letter-spacing: 0.24em; }
    .nav-toggle { display: block; }

    /* Important : pas de backdrop-filter sur la nav en mobile, sinon elle
       devient le bloc conteneur du menu « position: fixed » (bug : menu collé
       en haut). Le fond opaque suffit visuellement. */
    nav.site-nav,
    nav.site-nav.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Fine ligne sous la barre au défilement — mobile uniquement. */
    nav.site-nav.scrolled { border-bottom: 1px solid var(--frame); }

    /* Accueil : au défilement, fond sombre comme sur les autres pages
       (sinon la barre reste transparente et illisible). */
    body.home-active nav.site-nav.scrolled {
        background: rgba(22, 17, 12, 0.96);
        border-bottom: 1px solid var(--frame);
    }

    nav.site-nav .menu {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        background: var(--dark);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 120;
    }
    nav.site-nav .menu a { font-size: 15px; letter-spacing: 0.22em; }
    .nav-open nav.site-nav .menu { opacity: 1; pointer-events: auto; }

    /* Héros plafonnés à 80% de l'écran en mobile.
       Sélecteurs volontairement spécifiques pour l'emporter sur les
       hauteurs de base (.hero-home 94vh, etc.), quel que soit l'ordre. */
    section.hero,
    section.hero.hero-home,
    section.hero.hero-room { height: 80vh; min-height: 0; }
    section.hero.hero-contact { height: 62vh; min-height: 0; }
}

/* ============== CADRE DORÉ (héros, CTA) ============== */
.gold-frame {
    position: absolute;
    inset: 22px;
    border: 1px solid var(--frame);
    pointer-events: none;
    z-index: 3;
}
.gold-frame .c { position: absolute; width: 14px; height: 14px; }
.gold-frame .c-tl { top: -1px; left: -1px; border-top: 1px solid var(--frame-corner); border-left: 1px solid var(--frame-corner); }
.gold-frame .c-tr { top: -1px; right: -1px; border-top: 1px solid var(--frame-corner); border-right: 1px solid var(--frame-corner); }
.gold-frame .c-bl { bottom: -1px; left: -1px; border-bottom: 1px solid var(--frame-corner); border-left: 1px solid var(--frame-corner); }
.gold-frame .c-br { bottom: -1px; right: -1px; border-bottom: 1px solid var(--frame-corner); border-right: 1px solid var(--frame-corner); }

/* ============== HÉROS ============== */
.hero {
    position: relative;
    height: 84vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
    background: var(--dark);
}

.hero-home { height: 94vh; min-height: 620px; }
.hero-room { height: 78vh; min-height: 520px; }
.hero-contact { height: 62vh; min-height: 480px; }

.hero-bg {
    position: absolute;
    top: -25%;
    left: 0;
    right: 0;
    height: 150%;
    background-size: cover;
    background-position: center;
    background-color: var(--dark);
    transform: scale(1.08);
    will-change: transform;
    animation: kenburns 26s ease-out both alternate infinite;
}
/* Quand le parallax JS est actif, c'est lui qui pilote la transform. */
body.has-parallax .hero-bg { animation: none; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 72% at 50% 45%, rgba(12, 9, 6, 0.52) 0%, rgba(12, 9, 6, 0.22) 45%, rgba(12, 9, 6, 0) 76%),
        linear-gradient(180deg, rgba(12, 9, 6, 0.6) 0%, rgba(12, 9, 6, 0.14) 38%, rgba(12, 9, 6, 0.2) 60%, rgba(22, 17, 12, 0.74) 100%);
}

.hero-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 32px;
    color: var(--cream);
    text-shadow: 0 2px 30px rgba(12, 9, 6, 0.55);
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.hero-logo {
    max-width: 460px;
    width: 80%;
    margin: 0 auto 32px;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}
.hero-logo img { width: 100%; height: auto; display: block; }

.hero-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(38px, 6vw, 60px);
    line-height: 1.08;
    margin: 0 auto 24px;
    color: var(--cream);
    text-wrap: balance;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-content .section-title {
    color: var(--cream);
    margin-bottom: 0;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}
.hero-content .section-title em { color: var(--gold); }

.hero-tagline {
    font-style: italic;
    font-size: 19px;
    line-height: 1.5;
    max-width: 560px;
    color: rgba(243, 234, 214, 0.85);
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.7s backwards;
}

/* Sous-titre SEO discret sous le titre du héros. */
.hero-title-sub {
    display: block;
    font-family: var(--body);
    font-size: 12px;
    font-style: normal;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 16px;
}

/* Ligne animée « défiler » (le texte est masqué) */
.hero-scroll {
    position: absolute;
    bottom: 46px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    font-size: 0;
    color: transparent;
}
.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 56px;
    background: rgba(214, 183, 128, 0.9);
    animation: scrollline 2.6s ease-in-out infinite;
}

/* Lien retour posé sur le héros (fiche chambre) */
.hero-back {
    position: absolute;
    top: 96px;
    left: 56px;
    z-index: 5;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(243, 234, 214, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}
.hero-back:hover { color: var(--cream); }
@media (max-width: 768px) { .hero-back { left: 22px; top: 84px; } }

/* ============== SECTIONS GÉNÉRIQUES ============== */
.section {
    position: relative;
    padding: 110px 48px;
    max-width: 1260px;
    margin: 0 auto;
}
.section-narrow { max-width: 840px; }

.section-eyebrow {
    font-size: 11px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 24px;
    text-align: center;
}

.section-title {
    font-family: var(--display);
    font-size: clamp(34px, 4.4vw, 50px);
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 28px;
    text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--gold-soft); }

/* Filet : ligne — losange — ligne */
.section-divider {
    position: relative;
    width: 160px;
    height: 9px;
    margin: 0 auto 38px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Crect x='2.2' y='2.2' width='5.6' height='5.6' fill='none' stroke='%23A9814A' transform='rotate(45 5 5)'/%3E%3C/svg%3E") center / 9px 9px no-repeat;
}
.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 4px;
    width: 64px;
    height: 1px;
    background: rgba(169, 129, 74, 0.5);
}
.section-divider::before { left: 0; }
.section-divider::after { right: 0; }

.section-text {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 660px;
    margin: 0 auto 24px;
    text-align: center;
    text-wrap: pretty;
}
.section-text:last-child { margin-bottom: 0; }

.section-text.lead {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.6;
    font-style: italic;
    color: #4A4238;
}

/* Grand mot filigrane derrière une introduction */
.watermark {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(110px, 15vw, 220px);
    color: rgba(169, 129, 74, 0.07);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}
.watermark ~ * { position: relative; z-index: 1; }

@media (max-width: 768px) {
    .section { padding: 72px 24px; }
    .section-title { font-size: 32px; }
}

/* ============== FEATURE (image + texte, cadre décalé) ============== */
.features { display: flex; flex-direction: column; gap: 130px; }

.feature {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

.feature-image { position: relative; }

.feature-frame {
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-line);
    transform: translate(-16px, 16px);
    pointer-events: none;
}
.feature.reverse .feature-frame { transform: translate(16px, 16px); }

.feature-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    background: var(--cream-warm);
    box-shadow: 0 34px 70px rgba(22, 17, 12, 0.22);
}
.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.feature-image:hover .feature-media img { transform: scale(1.045); }

.feature-content { position: relative; }

.feature-num {
    position: absolute;
    top: -70px;
    right: -10px;
    font-family: var(--display);
    font-weight: 300;
    font-size: 150px;
    color: rgba(169, 129, 74, 0.1);
    line-height: 1;
    pointer-events: none;
}
.feature.reverse .feature-num { right: auto; left: -10px; }

.feature-eyebrow {
    font-size: 11px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 20px;
}

.feature-content h3 {
    font-family: var(--display);
    font-style: italic;
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 22px;
    color: var(--ink);
}

.feature-content p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 16px;
    text-wrap: pretty;
}
.feature-content p:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
    .features { gap: 80px; }
    .feature, .feature.reverse { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
    .feature-num { display: none; }
    .feature-content h3 { font-size: 28px; }
    .feature-frame { transform: translate(-10px, 10px); }
    .feature.reverse .feature-frame { transform: translate(10px, 10px); }
}

/* Lien texte doré en capitales */
.text-link {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(169, 129, 74, 0.5);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.text-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* ============== INFOS PRATIQUES (colonnes à filets) ============== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.info-block {
    text-align: center;
    padding: 10px 40px;
    border-left: 1px solid rgba(169, 129, 74, 0.3);
}
.info-block:last-child { border-right: 1px solid rgba(169, 129, 74, 0.3); }

.info-block h4 {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 24px;
    font-weight: 400;
}

.info-block p {
    font-size: 15px;
    line-height: 2.05;
    color: var(--ink-soft);
}
.info-block p strong { display: block; font-weight: 400; }
.info-block p em {
    font-family: var(--display);
    font-style: italic;
    font-size: 19px;
    color: var(--ink);
}

@media (max-width: 820px) {
    .info-grid { grid-template-columns: 1fr; gap: 44px; }
    .info-block, .info-block:last-child { border: 0; padding: 0 20px; }
}

/* ============== CTA (fond sombre encadré) ============== */
.cta-section {
    position: relative;
    text-align: center;
    padding: 120px 32px;
    background: var(--dark);
    color: var(--cream-soft);
    overflow: hidden;
}

.cta-frame {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(214, 183, 128, 0.16);
    pointer-events: none;
}

.cta-section > *:not(.cta-frame) { position: relative; }

.cta-section .section-eyebrow { color: var(--gold); }
.cta-section .section-title { color: var(--cream); }
.cta-section .section-title em { color: var(--gold); }
.cta-section .section-text {
    color: rgba(233, 223, 201, 0.7);
    font-style: italic;
    max-width: 460px;
}

.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 48px;
    border: 1px solid rgba(214, 183, 128, 0.6);
    color: var(--badge-txt);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(12, 9, 6, 0.4); }

/* Reflet « shine » qui balaie les boutons au survol. */
.cta-button, .booking-btn { position: relative; overflow: hidden; }
.cta-button::after, .booking-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}
.cta-button:hover::after, .booking-btn:hover::after { left: 150%; }

/* Icônes réseaux sociaux (pied de page). */
.footer-social { display: inline-flex; align-items: center; gap: 9px; }
.footer-ico { display: inline-flex; color: var(--gold); transition: color 0.3s ease; }
.footer-ico svg { display: block; }
.footer-block ul li a.footer-social:hover .footer-ico { color: var(--cream); }
.cta-button.gold { border-color: rgba(214, 183, 128, 0.6); color: var(--badge-txt); }
.cta-button.gold:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* Variante sur fond clair */
.cta-button.on-light { color: var(--ink); border-color: rgba(43, 38, 32, 0.4); margin-top: 0; }
.cta-button.on-light:hover { background: var(--dark); color: var(--badge-txt); border-color: var(--dark); }

/* ============== FOOTER ============== */
footer.site-footer {
    background: var(--dark-3);
    color: rgba(233, 223, 201, 0.65);
    padding: 90px 56px 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1160px;
    margin: 0 auto;
    padding-bottom: 70px;
}

.footer-block h5 {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-brand {
    font-family: var(--display);
    font-size: 15px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-tagline {
    font-style: italic;
    font-size: 14px;
    line-height: 1.9;
    max-width: 260px;
}

.footer-block ul { list-style: none; }
.footer-block ul li { margin-bottom: 12px; font-size: 14px; }
.footer-block ul li a {
    color: rgba(233, 223, 201, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-block ul li a:hover { color: var(--cream); }

.footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(214, 183, 128, 0.14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(233, 223, 201, 0.4);
}
.footer-bottom .legals { display: flex; gap: 28px; }
.footer-bottom a { color: rgba(233, 223, 201, 0.4); text-decoration: none; transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--cream); }

@media (max-width: 968px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    footer.site-footer { padding: 60px 24px 30px; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============== ANIMATIONS AU SCROLL ============== */
.reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
    .hero-bg { animation: none; }
}

/* ============================================
   ACCUEIL ENRICHI
   ============================================ */

/* Livre d'or */
.avis-section {
    position: relative;
    background: var(--dark);
    color: var(--cream-soft);
    padding: 120px 32px;
    overflow: hidden;
}
.avis-mark {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--display);
    font-size: 380px;
    color: rgba(214, 183, 128, 0.06);
    line-height: 1;
    pointer-events: none;
}
.avis-section .section-eyebrow { color: var(--gold); }
.avis-section .section-title { color: var(--cream); }
.avis-section .section-title em { color: var(--gold); }
.avis-head { position: relative; max-width: 680px; margin: 0 auto 80px; }

.avis-grid {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.avis {
    margin: 0;
    padding: 10px 44px;
    border-left: 1px solid rgba(214, 183, 128, 0.18);
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.avis-stars { display: flex; gap: 7px; }
.avis-stars i {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}
.avis blockquote {
    margin: 0;
    font-family: var(--display);
    font-style: italic;
    font-size: 21px;
    line-height: 1.55;
    color: var(--cream-soft);
    text-wrap: pretty;
}
.avis figcaption { margin-top: auto; }
.avis-nom { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.avis-detail { font-size: 13px; font-style: italic; color: rgba(233, 223, 201, 0.55); margin-top: 5px; }

@media (max-width: 900px) {
    .avis-grid { grid-template-columns: 1fr; gap: 44px; }
    .avis { border-left: 0; padding: 0 10px; }
}

/* Cartes L'Abstract / Le Pub */
.duo-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}
.duo-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 4.6;
    color: var(--cream);
    text-decoration: none;
    background: var(--dark-2);
}
.duo-card img, .duo-card .duo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.duo-card:hover img, .duo-card:hover .duo-bg { transform: scale(1.05); }
.duo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 9, 6, 0.05) 40%, rgba(12, 9, 6, 0.78) 100%);
}
.duo-frame {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(214, 183, 128, 0.35);
    pointer-events: none;
}
.duo-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.duo-eyebrow { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.duo-title { font-family: var(--display); font-size: 38px; font-weight: 400; line-height: 1.1; }
.duo-text { margin: 0; font-size: 15px; font-style: italic; color: rgba(243, 234, 214, 0.8); max-width: 380px; }
.duo-link { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }

@media (max-width: 820px) {
    .duo-grid { grid-template-columns: 1fr; }
    .duo-card { aspect-ratio: 4 / 3.6; }
    .duo-content { padding: 28px; }
    .duo-title { font-size: 30px; }
}

/* Nous trouver */
.access-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: stretch;
}
.access-body { display: flex; flex-direction: column; justify-content: center; }
.access-body .section-eyebrow, .access-body .section-title { text-align: left; }
.access-address {
    font-family: var(--display);
    font-style: italic;
    font-size: 20px;
    color: #4A4238;
    margin: 0 0 36px;
}
.access-rows { display: flex; flex-direction: column; border-top: 1px solid rgba(169, 129, 74, 0.3); }
.access-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(169, 129, 74, 0.3);
    font-size: 15px;
}
.access-row .k { color: var(--ink-soft); }
.access-row .v { font-style: italic; color: var(--gold-soft); text-align: right; }
.access-link { margin-top: 36px; }

.access-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch;
}
.access-map {
    position: relative;
    border: 1px solid var(--gold-line);
    background: repeating-linear-gradient(45deg, rgba(169, 129, 74, 0.07) 0px, rgba(169, 129, 74, 0.07) 1px, transparent 1px, transparent 9px);
    min-height: 420px;
    overflow: hidden;
}
.access-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(40%) sepia(8%);
}
.access-photo { position: relative; overflow: hidden; min-height: 420px; background: var(--cream-warm); }
.access-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.access-photo:hover img { transform: scale(1.05); }

@media (max-width: 900px) {
    .access-grid { grid-template-columns: 1fr; }
    .access-media { grid-template-columns: 1fr; }
    .access-map, .access-photo { min-height: 300px; }
}

/* ============================================
   CHAMBRES — cartes (accueil, page Hôtel, autres chambres)
   ============================================ */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    max-width: 1160px;
    margin: 64px auto 0;
}
.rooms-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 968px) { .rooms-grid, .rooms-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .rooms-grid, .rooms-grid-3 { grid-template-columns: 1fr; } }

.room-card { display: block; text-decoration: none; color: var(--ink); }

.room-card-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cream-warm);
    margin-bottom: 24px;
}
.room-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.room-card:hover .room-card-media img { transform: scale(1.06); }

/* Badge prix posé sur la photo */
.room-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--badge-bg);
    color: var(--badge-txt);
    font-size: 13px;
    padding: 6px 14px;
    letter-spacing: 0.06em;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.room-badge em { font-size: 11px; font-style: italic; color: rgba(232, 217, 184, 0.7); }

/* Rangée « n° — filet — catégorie » */
.room-meta {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 12px;
}
.room-meta i { flex: 1; height: 1px; background: rgba(169, 129, 74, 0.35); align-self: center; }

.room-card-body h3 {
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--ink);
}

.room-card-excerpt { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin-bottom: 16px; text-wrap: pretty; }

.room-card-link {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-soft);
    border-bottom: 1px solid rgba(169, 129, 74, 0.5);
    padding-bottom: 4px;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.room-card:hover .room-card-link { color: var(--gold-deep); border-color: var(--gold-deep); }

/* Prix : montant + mention */
.room-price-amount { color: var(--ink); font-weight: 500; }
.room-price-note { font-size: 13px; color: var(--gold-soft); font-style: italic; }

/* ============================================
   CHAMBRES — liste « collection » (page Nos chambres)
   ============================================ */
.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 130px;
    max-width: 1160px;
    margin: 80px auto 0;
}

.room-row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}
.room-row.reverse { direction: rtl; }
.room-row.reverse > * { direction: ltr; }

.room-row-media { position: relative; }
.room-frame {
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-line);
    transform: translate(-16px, 16px);
    pointer-events: none;
}
.room-row.reverse .room-frame { transform: translate(16px, 16px); }

.room-media-inner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--cream-warm);
    box-shadow: 0 32px 66px rgba(22, 17, 12, 0.22);
}
.room-media-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.room-row:hover .room-media-inner img { transform: scale(1.045); }
.room-row .room-badge { right: auto; left: 16px; top: 16px; }

.room-row-body h3 {
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.room-specs {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--ink-gold);
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--gold-line-soft);
}
.room-specs span + span::before { content: '·'; color: rgba(169, 129, 74, 0.5); margin-right: 22px; }

.room-row-excerpt {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 28px;
    text-wrap: pretty;
}

.room-link {
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-soft);
    border-bottom: 1px solid rgba(169, 129, 74, 0.5);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.room-row:hover .room-link { color: var(--gold-deep); border-color: var(--gold-deep); }

@media (max-width: 820px) {
    .rooms-list { gap: 70px; margin-top: 50px; }
    .room-row, .room-row.reverse { grid-template-columns: 1fr; gap: 34px; direction: ltr; }
    .room-row-body h3 { font-size: 28px; }
    .room-frame { transform: translate(-10px, 10px); }
    .room-row.reverse .room-frame { transform: translate(10px, 10px); }
}

/* Prestations communes (page Nos chambres) */
.prestations-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.prestation {
    padding: 10px 28px;
    border-left: 1px solid rgba(169, 129, 74, 0.3);
    text-align: center;
}
.diamond {
    width: 9px;
    height: 9px;
    border: 1px solid var(--gold-soft);
    transform: rotate(45deg);
    margin: 0 auto 20px;
}
.prestation-title {
    font-family: var(--display);
    font-style: italic;
    font-size: 21px;
    color: var(--ink);
    margin-bottom: 8px;
}
.prestation-detail { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }

@media (max-width: 820px) {
    .prestations-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
}
@media (max-width: 520px) {
    .prestations-grid { grid-template-columns: 1fr; }
    .prestation { border-left: 0; }
}

/* ============================================
   CHAMBRE — détail
   ============================================ */

/* Barre de réservation collante */
.booking-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--dark-2);
    border-bottom: 1px solid rgba(214, 183, 128, 0.2);
    color: var(--cream-soft);
}
.admin-bar .booking-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .booking-bar { top: 46px; } }

.booking-bar-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.booking-bar-price { display: flex; align-items: baseline; gap: 10px; }
.booking-bar-price .room-price-amount {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 400;
    color: var(--cream);
}
.booking-bar-price .room-price-note { color: rgba(233, 223, 201, 0.6); }

.booking-bar-specs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: rgba(233, 223, 201, 0.8);
}
.booking-bar-specs span + span::before { content: '·'; color: rgba(214, 183, 128, 0.5); margin-right: 20px; }

.booking-btn {
    background: var(--gold);
    color: var(--dark);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    padding: 14px 34px;
    text-decoration: none;
    transition: background 0.35s ease;
}
.booking-btn:hover, .booking-btn:focus-visible { background: var(--badge-txt); outline: none; }

@media (max-width: 820px) {
    .booking-bar-inner { padding: 14px 22px; }
    .booking-bar-specs { display: none; }
}

/* Description : premier paragraphe en exergue */
.room-desc { text-align: center; }
.room-desc > p:first-child {
    font-family: var(--display);
    font-style: italic;
    font-size: 24px;
    line-height: 1.6;
    color: #4A4238;
    margin-bottom: 26px;
}
.room-desc > p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Galerie de la chambre : 1 grande + vignettes */
.room-gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-auto-rows: 1fr;
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}
.room-gallery .g-item {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    background: var(--cream-warm);
}
.room-gallery .g-item:first-child { grid-row: span 2; min-height: 460px; }
.room-gallery .g-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.room-gallery .g-item:hover img { transform: scale(1.05); }

@media (max-width: 700px) {
    .room-gallery { grid-template-columns: 1fr; }
    .room-gallery .g-item:first-child { grid-row: auto; min-height: 280px; }
}

/* Services & attentions */
.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.services-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(169, 129, 74, 0.22);
    font-size: 16px;
    color: #4A4238;
    text-align: left;
}
.services-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 1px solid var(--gold-soft);
    transform: rotate(45deg);
    flex: none;
}
@media (max-width: 640px) { .services-list { grid-template-columns: 1fr; } }

/* ============================================
   GALERIE ÉDITORIALE (contenus libres)
   ============================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 60px;
}
.gallery-item { position: relative; overflow: hidden; background: var(--cream-warm); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.size-large { grid-column: span 8; aspect-ratio: 4/3; }
.gallery-item.size-medium { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-item.size-wide { grid-column: span 12; aspect-ratio: 21/9; }
.gallery-item.size-half { grid-column: span 6; aspect-ratio: 4/5; }

@media (max-width: 768px) {
    .gallery { grid-template-columns: 1fr; gap: 12px; }
    .gallery-item.size-large, .gallery-item.size-medium,
    .gallery-item.size-wide, .gallery-item.size-half { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ============================================
   PAGE CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.contact-info-block {
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--gold-line-soft);
}
.contact-info-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.contact-info-block h3 {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 6px;
    color: var(--ink);
}
.contact-info-block .label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 16px;
}
.contact-info-block p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 8px; }
.contact-info-block a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(169, 129, 74, 0.5);
    padding-bottom: 1px;
    transition: color 0.3s ease;
}
.contact-info-block a:hover { color: var(--gold-soft); }

/* Formulaire */
.contact-form {
    background: rgba(255, 255, 255, 0.35);
    padding: 48px 40px;
    border: 1px solid var(--gold-line-soft);
}
.contact-form h3 {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 8px;
}
.contact-form .form-note { font-size: 14px; color: var(--ink-muted); margin-bottom: 32px; }

.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 10px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(43, 38, 32, 0.18);
    font-family: var(--body);
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold-soft); }
.form-group textarea { min-height: 140px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Pot de miel anti-spam */
.form-hp { position: absolute; left: -9999px; top: -9999px; }

.form-submit {
    display: inline-block;
    margin-top: 20px;
    padding: 16px 44px;
    background: var(--dark);
    border: 1px solid var(--dark);
    color: var(--badge-txt);
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}
.form-submit:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.form-notice { padding: 16px 18px; margin-bottom: 24px; font-size: 15px; border: 1px solid; }
.form-notice.success { border-color: var(--gold-soft); color: var(--ink); background: rgba(169, 129, 74, 0.1); }
.form-notice.error { border-color: #A3402F; color: #A3402F; background: rgba(163, 64, 47, 0.08); }

/* Carte */
.map-section { margin: 80px auto 0; max-width: 1260px; padding: 0 48px; }
.map-container {
    width: 100%;
    aspect-ratio: 21/9;
    border: 1px solid var(--gold-line);
    position: relative;
    overflow: hidden;
}
.map-container iframe { width: 100%; height: 100%; border: 0; filter: grayscale(40%) sepia(8%); }

@media (max-width: 968px) { .contact-grid { grid-template-columns: 1fr; gap: 60px; } }
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 32px 24px; }
    .map-section { padding: 0 24px; }
}

/* ============================================
   CONTENU ÉDITORIAL (the_content) & divers
   ============================================ */
.entry-content h2, .entry-content h3 { font-family: var(--display); font-weight: 400; margin: 32px 0 16px; }
.entry-content p { margin-bottom: 16px; color: var(--ink-soft); }
.entry-content a { color: var(--gold-deep); }

.alignwide { max-width: 1260px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Placeholder image (aucune image définie) */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background:
        repeating-linear-gradient(45deg, rgba(169, 129, 74, 0.07) 0px, rgba(169, 129, 74, 0.07) 1px, transparent 1px, transparent 9px),
        var(--cream-warm);
    color: var(--ink-gold);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    text-align: center;
    padding: 12px;
}

/* ============================================
   CARTE DU RESTAURANT (L'Abstract)
   Préfixe « carte- » : NE PAS réutiliser « menu-item »,
   classe déjà posée par WordPress sur les <li> du menu de nav.
   ============================================ */
.carte-section .section-text { max-width: 620px; }
.carte-cat { margin: 0 auto 44px; max-width: 640px; }
.carte-cat:last-of-type { margin-bottom: 0; }
.carte-cat-title {
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 20px;
}
.carte-list { list-style: none; }
.carte-item { padding: 16px 0; border-bottom: 1px solid var(--gold-line-soft); }
.carte-item:last-child { border-bottom: none; }
.carte-item-head { display: flex; align-items: baseline; gap: 10px; }
.carte-item-name { font-family: var(--display); font-style: italic; font-size: 21px; color: var(--ink); }
.carte-item-dots { flex: 1; border-bottom: 1px dotted rgba(169, 129, 74, 0.5); transform: translateY(-4px); }
.carte-item-price {
    font-family: var(--display);
    font-size: 19px;
    color: var(--gold-deep);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.carte-item-desc { font-size: 15px; color: var(--ink-muted); margin-top: 5px; max-width: 92%; text-wrap: pretty; }
.carte-note {
    margin: 44px auto 0;
    max-width: 640px;
    text-align: center;
    font-style: italic;
    font-size: 15px;
    color: var(--ink-gold);
    border-top: 1px solid var(--gold-line-soft);
    padding-top: 26px;
}
@media (max-width: 600px) { .carte-item-name { font-size: 18px; } }

/* ============================================
   ACCUEIL — LES TROIS UNIVERS (plein écran)
   ============================================ */
body.home-active { overflow: hidden; height: 100vh; background: var(--dark); }

body.home-active nav.site-nav {
    background: linear-gradient(to bottom, rgba(12, 9, 6, 0.5), transparent);
    pointer-events: none;
}
body.home-active nav.site-nav .brand,
body.home-active nav.site-nav .menu,
body.home-active nav.site-nav .nav-toggle { pointer-events: auto; }

.universes { display: flex; flex-direction: row; height: 100vh; width: 100%; }

.universe {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid rgba(214, 183, 128, 0.12);
    transition: flex 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    color: var(--cream);
    display: block;
    animation: slideIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.universe:last-child { border-right: none; }
.universe:nth-of-type(1) { animation-delay: 0.15s; }
.universe:nth-of-type(2) { animation-delay: 0.3s; }
.universe:nth-of-type(3) { animation-delay: 0.45s; }

/* L'Hôtel (colonne centrale) : plus large et plus lumineux que les deux autres. */
.universe-hotel { flex: 1.4; }
.universe-hotel .universe-bg { filter: grayscale(20%) brightness(0.72); }

.universe-bg {
    position: absolute;
    inset: 0;
    background-color: var(--dark-2);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: grayscale(35%) brightness(0.62);
}
.universe-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Accueil : H1 géolocalisé, discret, en tête de l'écran des univers. */
.home-h1 {
    position: absolute;
    top: 124px;
    left: 0;
    right: 0;
    z-index: 6;
    margin: 0;
    padding: 0 20px;
    text-align: center;
    pointer-events: none;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(18px, 2.3vw, 26px);
    line-height: 1.5;
    color: var(--cream);
    text-shadow: 0 2px 24px rgba(12, 9, 6, 0.75);
}
.home-h1 span {
    display: block;
    font-family: var(--body);
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 20px;
}
@media (max-width: 768px) {
    .home-h1 { top: 84px; font-size: 15px; line-height: 1.4; }
    .home-h1 span { font-size: 9px; letter-spacing: 0.2em; margin-top: 10px; color: rgba(199, 165, 102, 0.85); }
}
.universe-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(12, 9, 6, 0.25) 0%, rgba(12, 9, 6, 0.35) 50%, rgba(12, 9, 6, 0.72) 100%);
    transition: background 0.6s ease;
}
.universe-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 36px 52px;
    text-align: center;
    text-shadow: 0 2px 30px rgba(12, 9, 6, 0.5);
}

/* PC uniquement : seul L'Hôtel est descendu (~150px) ;
   L'Abstract et Le Pub restent centrés. */
@media (min-width: 769px) {
    .universe-hotel .universe-content { transform: translateY(150px); }
}
.universe-eyebrow {
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
}
.universe-logo { margin-bottom: 44px; max-width: 360px; width: 80%; }
.universe-logo img { width: 100%; height: auto; display: block; }
.universe-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 44px;
}
.universe-title em { font-style: italic; color: var(--gold); }
.universe-tagline {
    font-family: var(--display);
    font-style: italic;
    font-size: 18px;
    line-height: 1.55;
    color: var(--cream);
    max-width: 320px;
    margin-bottom: 34px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.universe-cta {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid rgba(214, 183, 128, 0.6);
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--badge-txt);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s, background 0.35s ease, color 0.35s ease;
}
.universe-cta:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

.universe:hover { flex: 1.7; }
.universe:hover .universe-bg { filter: grayscale(0%) brightness(0.82); transform: scale(1.04); }
.universe:hover .universe-overlay { background: linear-gradient(to bottom, rgba(12, 9, 6, 0.15) 0%, rgba(12, 9, 6, 0.25) 50%, rgba(12, 9, 6, 0.55) 100%); }
.universe:hover .universe-tagline,
.universe:hover .universe-cta,
.universe.is-focused .universe-tagline,
.universe.is-focused .universe-cta { opacity: 1; transform: translateY(0); }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 18px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--cream);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.75;
    pointer-events: none;
    background: linear-gradient(to top, rgba(12, 9, 6, 0.6), transparent);
    animation: slideIn 1s ease 0.9s backwards;
}
.home-footer a { pointer-events: auto; color: var(--cream); text-decoration: none; }
.home-footer a:hover { color: var(--gold); }

@media (max-width: 768px) {
    body.home-active { overflow-y: auto; overflow-x: hidden; height: auto; }
    .universes { flex-direction: column; height: auto; }
    .universe {
        height: 70vh;
        min-height: 460px;
        border-right: none;
        border-bottom: 1px solid rgba(214, 183, 128, 0.12);
    }
    /* Sur mobile, L'Hôtel passe en premier (en haut), plus haut, et son
       contenu se cale sous le H1 avec ~50px d'écart. */
    .universe-hotel { order: -1; height: 86vh; }
    .universe-hotel .universe-content { justify-content: flex-start; padding-top: 178px; }
    .universe:hover { flex: 1; }
    .universe-tagline, .universe-cta { opacity: 1; transform: none; }
    .universe-content { padding: 60px 24px 80px; }
    .universe-logo { max-width: 260px; }
    .home-footer { padding: 14px 24px; font-size: 9px; }
}

/* Accueil mobile : le menu fermé (calque plein écran invisible) ne doit PAS
   intercepter les taps sur les univers. Il ne redevient cliquable qu'ouvert.
   Placé en fin de fichier pour l'emporter sur la règle d'accueil. */
@media (max-width: 768px) {
    body.home-active nav.site-nav .menu { pointer-events: none; }
    body.home-active.nav-open nav.site-nav .menu { pointer-events: auto; }
}
