/* ===========================================
   Template caviste-millesime — La Revue — Fraunces + Inter
   Photo haute / bande éditoriale encre, bordeaux & crème
   =========================================== */

:root {
    --primary: #8C1A3A;
    --secondary: #FAF7F2;
    --accent: #120508;
    --text: #1A0A0D;
    --text-light: #FAF7F2;
    --text-muted: #7A6060;
    --bg-ink: #120508;
    --bg-light: #FAF7F2;
    --bg-beige: #FAF7F2;
    --bg-rose: #F7EDED;
    --border: #E8DDD8;
    --radius: 1px;
    --transition: 350ms ease;
    --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg-beige); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 300; line-height: 1.05; }
a { color: var(--primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
.container-narrow { max-width: 720px; }

.bandeau-promo { background: var(--primary); color: #fff; text-align: center; padding: 10px 40px 10px 20px; font-size: 13px; position: fixed; top: 0; left: 0; right: 0; z-index: 300; }
.bandeau-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* === NAV : transparente → encre au scroll === */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: transparent; z-index: 200; transition: background var(--transition); }
.nav.scrolled { background: rgba(18,5,8,0.97); backdrop-filter: blur(12px); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { max-width: 1120px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: 'Fraunces', serif; font-style: italic; font-size: 22px; color: #fff; text-decoration: none; font-weight: 300; }
.nav-logo-img { height: 36px; width: auto; display: block; object-fit: contain; filter: brightness(0) invert(1); }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--primary); color: var(--primary); font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; text-decoration: none; }
.nav-links { list-style: none; display: flex; gap: 40px; }
.nav-links a { color: rgba(255,255,255,0.6); font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); opacity: 1; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: #fff; transition: all var(--transition); }

/* === HERO : photo haut (60vh) + bande éditoriale encre en bas === */
.hero { display: flex; flex-direction: column; padding-top: 0; }
.hero-photo { height: 60vh; min-height: 380px; overflow: hidden; position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: rgba(18,5,8,0.22); pointer-events: none; }
.hero-band { background: var(--bg-ink); padding: 52px 72px 60px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.hero-band-left { flex: 1; min-width: 0; }
.hero-label { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: var(--primary); font-weight: 500; margin-bottom: 20px; display: block; }
.hero h1 { font-style: italic; font-size: clamp(3.5rem, 7vw, 8rem); color: #fff; line-height: 0.82; font-weight: 300; }
.hero-band-right { flex-shrink: 0; max-width: 300px; display: flex; flex-direction: column; gap: 24px; padding-bottom: 6px; align-items: flex-start; }
.hero-tagline { font-family: 'Fraunces', serif; font-style: italic; font-size: 15px; color: rgba(250,247,242,0.5); line-height: 1.75; font-weight: 300; }
.hero-overlay { display: none; }
.hero-content { display: none; }

/* === BTN === */
.btn-cta { display: inline-block; background: var(--primary); color: #fff; padding: 13px 36px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; border-radius: var(--radius); }
.btn-cta:hover { background: #6E1430; opacity: 1; }
.btn-cta-large { font-size: 12px; padding: 16px 48px; margin-top: 24px; }
.section-terracotta .btn-cta { background: var(--primary); color: #fff; }
.contact-phone { margin: 28px 0 8px; }
.phone-number { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(2.5rem, 5vw, 5rem); color: var(--primary); text-decoration: none; display: inline-block; line-height: 0.9; }

/* === SECTIONS === */
.section { padding: 96px 0; }
.section-beige { background: var(--bg-beige); }
.section-rose { background: var(--bg-rose); }
.section-dark { background: var(--bg-ink); color: var(--text-light); }
.section-terracotta { background: var(--bg-ink); color: var(--text-light); }
.section-title { font-style: italic; font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 12px; font-weight: 300; }
.section-beige .section-title, .section-rose .section-title { color: var(--accent); }
.section-dark .section-title, .section-terracotta .section-title { color: var(--text-light); }
.section-subtitle { color: var(--text-muted); max-width: 540px; margin: 0 auto 56px; font-size: 14px; line-height: 1.8; text-align: center; font-style: italic; font-family: 'Fraunces', serif; }
.section-dark .section-subtitle, .section-terracotta .section-subtitle { color: rgba(250,247,242,0.5); }

/* === À PROPOS : éditorial 1fr/3fr + photo pleine largeur === */
.apropos-revue { display: grid; grid-template-columns: 1fr 3fr; gap: 64px; margin-bottom: 64px; align-items: start; }
.apropos-revue-meta { padding-top: 8px; }
.apropos-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 80px; line-height: 0.8; color: var(--primary); opacity: 0.2; display: block; margin-bottom: 16px; font-weight: 300; }
.apropos-meta-tag { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--text-muted); font-weight: 500; display: block; }
.apropos-revue-text h2 { font-style: italic; font-size: clamp(2rem, 3.5vw, 3rem); color: var(--accent); margin-bottom: 24px; font-weight: 300; line-height: 1.05; }
.apropos-revue-text p { font-size: 15px; line-height: 1.9; color: var(--text-muted); max-width: 600px; }
.apropos-photo { width: 100%; height: 48vh; overflow: hidden; }
.apropos-photo img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img { background: var(--border); height: 300px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; }

/* === CATALOGUE === */
.menu-tabs { display: flex; gap: 0; margin-bottom: 48px; border-bottom: 1px solid var(--border); }
.menu-tab { padding: 14px 32px 12px; background: transparent; color: var(--text-muted); border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; cursor: pointer; transition: all var(--transition); font-weight: 300; }
.menu-tab:hover { color: var(--primary); }
.menu-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 800px; }
.menu-item { display: flex; align-items: baseline; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--border); gap: 20px; }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-name { font-family: 'Fraunces', serif; font-style: italic; font-size: 18px; color: var(--accent); font-weight: 300; }
.menu-item-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.menu-item-price { font-family: 'Fraunces', serif; font-style: italic; font-size: 16px; color: var(--primary); white-space: nowrap; flex-shrink: 0; font-weight: 300; }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 28px; }
.catalogue-card { background: var(--bg-rose); padding: 28px; border: 1px solid var(--border); }
.catalogue-card-img-wrap { display: none; }
.catalogue-card-name { font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; color: var(--accent); font-weight: 300; margin-bottom: 8px; }
.catalogue-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.catalogue-card-price { font-size: 14px; color: var(--primary); font-weight: 500; margin-top: 12px; }

/* === HORAIRES === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-text { min-width: 0; }
.split-image { overflow: hidden; aspect-ratio: 4/3; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table tr { border-bottom: 1px solid var(--border); }
.horaires-table tr.ferme td { color: var(--text-muted); opacity: 0.5; }
.horaires-table td { padding: 14px 0; font-size: 14px; }
.horaires-table td.jour { font-weight: 500; width: 120px; }
.coordonnees { margin-top: 28px; }
.coord-item { font-size: 14px; margin-bottom: 8px; }
.coord-item a { color: var(--primary); }
.map-container { overflow: hidden; }
.map-container iframe { width: 100%; height: 100%; border: 0; display: block; }

/* === CONTACT === */
.contact-form { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(250,247,242,0.5); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 13px 16px; background: rgba(250,247,242,0.06); border: 1px solid rgba(250,247,242,0.15); color: var(--text-light); font-family: 'Inter', sans-serif; font-size: 14px; border-radius: var(--radius); transition: border var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
.form-honey { display: none; }
.form-success { background: rgba(140,26,58,0.15); border: 1px solid rgba(140,26,58,0.3); color: var(--text-light); padding: 16px 20px; font-size: 14px; }
.form-error { background: rgba(200,50,50,0.1); border: 1px solid rgba(200,50,50,0.2); color: #f99; padding: 16px 20px; font-size: 14px; }

/* === FOOTER === */
.footer { background: var(--bg-ink); color: rgba(250,247,242,0.5); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-logo { font-family: 'Fraunces', serif; font-style: italic; font-size: 20px; color: var(--text-light); display: block; margin-bottom: 12px; font-weight: 300; }
.footer-address, .footer p { font-size: 13px; line-height: 1.7; }
.footer a { color: rgba(250,247,242,0.5); font-size: 13px; }
.footer a:hover { color: var(--primary); opacity: 1; }
.footer h4 { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(250,247,242,0.3); margin-bottom: 14px; font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(250,247,242,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.footer-credit a { color: rgba(250,247,242,0.3); }
.footer-credit a:hover { color: var(--primary); opacity: 1; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .hero-band { flex-direction: column; gap: 28px; padding: 40px 32px 48px; }
    .hero-band-right { max-width: 100%; }
    .apropos-revue { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
    .apropos-revue-meta { display: flex; align-items: center; gap: 20px; }
    .split { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav-links { display: none; flex-direction: column; gap: 0; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--bg-ink); padding: 20px 0; border-top: 1px solid rgba(250,247,242,0.1); z-index: 199; }
    .nav-links.open { display: flex; }
    .nav-links a { color: rgba(250,247,242,0.7); padding: 14px 32px; }
    .nav-toggle { display: flex; }
    .container { padding: 0 24px; }
}
@media (max-width: 600px) {
    .hero-photo { height: 50vh; }
    .hero-band { padding: 36px 20px 44px; }
    .hero h1 { font-size: clamp(3rem, 10vw, 5rem); }
    .apropos-photo { height: 36vh; }
    .footer-grid { grid-template-columns: 1fr; }
    .menu-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
