/* ===========================================
   Template avocat-conseil — "Cabinet juridique parisien"
   Cormorant Garamond italic + Jost light — Bleu nuit / Or
   =========================================== */

:root {
    --nuit: #0D1B2A;
    --nuit-mid: #142236;
    --or: #B8963E;
    --or-light: rgba(184,150,62,0.18);
    --or-line: rgba(184,150,62,0.28);
    --bg: #F8F6F1;
    --bg-off: #F0EDE6;
    --text: #1A1208;
    --text-muted: #7A6E5E;
    --line: rgba(26,18,8,0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Jost', sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* === BANDEAU PROMO === */
.bandeau-promo { background: var(--or); color: #fff; text-align: center; padding: 10px 40px 10px 20px; font-size: 14px; font-weight: 500; position: fixed; top: 0; left: 0; right: 0; z-index: 200; }
.bandeau-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* === NAV === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 22px 56px;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s, border-color 0.35s;
}
.nav.scrolled { background: var(--nuit); border-bottom-color: var(--or-line); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { display: contents; }
.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-weight: 400; font-style: italic;
    color: #fff; letter-spacing: 0.06em;
}
.nav-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--nuit); color: var(--or); font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; font-style: italic; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
    font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 300;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: rgba(255,255,255,0.55); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--or); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: #fff; margin: 5px 0; }

/* === BTN === */
.btn-cta {
    display: inline-block;
    background: transparent; color: var(--or);
    border: 1px solid var(--or); padding: 13px 40px;
    font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 400;
    letter-spacing: 0.25em; text-transform: uppercase;
    text-decoration: none; white-space: nowrap; transition: all 0.25s;
    cursor: pointer;
}
.btn-cta:hover { background: var(--or); color: var(--nuit); }
.btn-cta-large { font-size: 0.8rem; padding: 18px 48px; margin-top: 24px; }
.section-terracotta .btn-cta { border-color: #fff; color: #fff; }
.section-terracotta .btn-cta:hover { background: #fff; color: var(--or); }
.contact-phone { margin: 24px 0 8px; }
.phone-number { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 300; color: var(--or); text-decoration: none; display: inline-block; font-style: italic; }
.section-terracotta .phone-number { color: #fff; }

/* === HERO CABINET === */
.hero-cabinet {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 100vh; background: var(--nuit);
    position: relative;
}
.hero-cabinet-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 64px 80px 72px;
    border-right: 1px solid var(--or-line);
    min-width: 0;
}
.hero-eyebrow {
    font-family: 'Jost', sans-serif; font-size: 0.62rem; font-weight: 300;
    letter-spacing: 0.5em; text-transform: uppercase; color: var(--or);
    display: block; margin-bottom: 32px;
}
.hero-cabinet-left h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 400; font-style: italic;
    color: #fff; line-height: 1.05; margin-bottom: 48px;
}
.hero-domaines { list-style: none; margin-bottom: 48px; }
.hero-domaine-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
    min-width: 0; transition: border-color 0.2s;
}
.hero-domaine-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.hero-domaine-num {
    font-family: 'Cormorant Garamond', serif; font-size: 0.8rem; font-style: italic;
    color: var(--or); min-width: 28px; flex-shrink: 0;
}
.hero-domaine-item span:last-child {
    font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 300;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.6); min-width: 0;
}
.hero-cabinet-right {
    padding: 80px 72px 80px 56px;
    display: flex; align-items: center; min-width: 0;
}
.hero-cabinet-frame {
    position: relative; width: 100%; flex: 1;
}
.hero-cabinet-frame::before {
    content: ''; position: absolute; inset: -12px;
    border: 1px solid var(--or-line); pointer-events: none; z-index: 2;
}
.hero-cabinet-frame img {
    width: 100%; min-height: 520px; object-fit: cover;
    object-position: center top; display: block;
    filter: grayscale(15%) contrast(1.05);
}

/* === A PROPOS === */
.apropos-cabinet {
    display: grid; grid-template-columns: 3fr 2fr;
    gap: 72px; align-items: center; min-width: 0;
}
.apropos-cabinet-text { min-width: 0; }
.apropos-tag {
    font-family: 'Jost', sans-serif; font-size: 0.62rem; font-weight: 300;
    letter-spacing: 0.45em; text-transform: uppercase; color: var(--or);
    display: block; margin-bottom: 18px;
}
.apropos-cabinet-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; font-style: italic;
    color: var(--text); margin-bottom: 20px; min-width: 0;
}
.apropos-cabinet-text p {
    font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 300;
    color: var(--text-muted); line-height: 1.85; margin-bottom: 32px; min-width: 0;
}
.apropos-cabinet-img { aspect-ratio: 3/4; overflow: hidden; min-width: 0; }
.apropos-cabinet-img img { width: 100%; height: 100%; object-fit: cover; }

/* === SECTIONS === */
.section { padding: 96px 0; }
.section-beige { background: var(--bg-off); }
.section-dark { background: var(--nuit); color: #fff; }
.section-terracotta { background: var(--or); color: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.container-narrow { max-width: 700px; }
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; font-style: italic;
    color: var(--text); margin-bottom: 48px; text-align: center;
}
.section-terracotta .section-title { color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; font-size: 15px; font-weight: 300; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.5); }
.section-terracotta .section-subtitle { color: rgba(255,255,255,0.7); }

/* === TABS (catalogue) === */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab-btn {
    background: none; border: none; cursor: pointer;
    font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 300;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-muted); padding: 12px 24px;
    border-bottom: 1px solid transparent; margin-bottom: -1px; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--or); border-bottom-color: var(--or); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Dark section tabs (menu_carte) */
.menu-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.menu-tab { padding: 10px 24px; background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.15); font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }
.menu-tab:hover { border-color: var(--or); color: var(--or); }
.menu-tab.active { background: var(--or); border-color: var(--or); color: #fff; }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 700px; margin: 0 auto; }
.menu-item { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { min-width: 0; }
.menu-item-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; margin-bottom: 4px; color: #fff; font-style: italic; }
.menu-item-info p { font-size: 13px; color: rgba(255,255,255,0.45); font-family: 'Jost', sans-serif; min-width: 0; }
.menu-item-prix { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--or); font-weight: 400; white-space: nowrap; margin-left: 16px; }

/* === PRODUITS === */
.produit-item {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 16px 0; border-bottom: 1px solid var(--line); gap: 16px;
}
.produit-nom { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--text); }
.produit-desc { font-family: 'Jost', sans-serif; font-size: 0.85rem; font-weight: 300; color: var(--text-muted); margin-top: 4px; }
.produit-prix { font-family: 'Jost', sans-serif; font-size: 0.85rem; font-weight: 400; color: var(--or); white-space: nowrap; flex-shrink: 0; }

/* === HORAIRES === */
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 300; }
.horaires-table .jour { font-weight: 400; color: var(--text); min-width: 100px; }
.horaires-table tr.ferme td { opacity: 0.4; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 32px; }
.coord-item { font-family: 'Jost', sans-serif; font-size: 0.9rem; font-weight: 300; color: var(--text-muted); margin-bottom: 10px; }
.coord-item a { color: var(--or); }

/* === MAP === */
.map-container { overflow: hidden; }
.map-container iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }

/* === SPLIT === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-text { min-width: 0; }
.split-text h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2rem; font-weight: 400; margin-bottom: 16px; }
.split-text p { color: var(--text-muted); line-height: 1.8; font-weight: 300; min-width: 0; }
.split-image { min-width: 0; }
.split-image img { width: 100%; object-fit: cover; }

/* === PLACEHOLDER === */
.placeholder-img { background: var(--bg-off); display: flex; align-items: center; justify-content: center; min-height: 200px; border: 1px solid var(--line); }
.placeholder-img span { color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.1em; }
.section-dark .placeholder-img { background: rgba(255,255,255,0.08); }

/* === FOOTER === */
.footer { background: #0A1628; color: rgba(255,255,255,0.45); padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: #fff; display: block; margin-bottom: 12px; font-style: italic; }
.footer h4 { color: rgba(255,255,255,0.6); margin-bottom: 12px; font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; font-family: 'Jost', sans-serif; font-style: normal; font-weight: 400; }
.footer a { color: rgba(255,255,255,0.45); }
.footer a:hover { color: #fff; }
.footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }
.footer-credit { color: rgba(255,255,255,0.15); }
.footer-credit a { color: rgba(255,255,255,0.15); }

/* === FORMULAIRES (Reservation + C&C) === */
.resa-back { background: none; border: none; color: var(--or); cursor: pointer; font-size: 0.9rem; margin-bottom: 16px; padding: 0; text-decoration: underline; }
.resa-form .form-group { margin-bottom: 16px; }
.resa-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.92rem; }
.resa-form input, .resa-form select { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; font-size: 1rem; box-sizing: border-box; font-family: inherit; }
.resa-form input:focus, .resa-form select:focus { outline: none; border-color: var(--or); }
.form-error { color: #c0392b; font-size: 0.88rem; margin-bottom: 12px; padding: 8px 12px; background: #fdf0ef; border-radius: 2px; }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3.5rem; color: var(--or); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.resa-success p { color: #666; margin-bottom: 24px; }

/* === SWITCHER LANGUE === */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: inherit; border-radius: 0; padding: 3px 7px; font-size: 0.72rem; font-weight: 500; cursor: pointer; letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; line-height: 1.4; }
.lang-btn:hover { background: rgba(255,255,255,0.2); }
.lang-btn.active { background: var(--or); border-color: var(--or); color: #fff; }

/* === WHATSAPP === */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 90; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .nav { padding: 16px 24px; }
    .nav-links {
        display: none; position: fixed; inset: 0;
        background: var(--nuit); flex-direction: column;
        align-items: center; justify-content: center; gap: 24px; z-index: 200;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero-cabinet { grid-template-columns: 1fr; }
    .hero-cabinet-left { padding: 100px 24px 48px; border-right: none; border-bottom: 1px solid var(--or-line); }
    .hero-cabinet-right { padding: 40px 24px 56px; }
    .hero-cabinet-frame img { min-height: 280px; }
    .apropos-cabinet { grid-template-columns: 1fr; gap: 40px; }
    .split { grid-template-columns: 1fr; }
    .split-image { order: -1; }
    .container { padding: 0 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section { padding: 60px 0; }
}

@media (max-width: 360px) {
    .hero-cabinet-left h1 { font-size: 2.2rem; }
}
