/* ===========================================
   Template traiteur-or — Carton d'invitation
   Cormorant Garamond + Montserrat — Or champagne / Ivoire
   =========================================== */

:root {
    --primary: #B8963E;
    --primary-dark: #8B6914;
    --secondary: #F5EFE0;
    --accent: #2A2218;
    --text: #2A2218;
    --text-light: #FBF8F1;
    --text-muted: #8A7D6A;
    --bg: #FBF8F1;
    --bg-dark: #2A2218;
    --bg-light: #FBF8F1;
    --bg-beige: #F5EFE0;
    --bg-card: #F5EFE0;
    --line: rgba(184,150,62,0.3);
    --border: #DDD6C2;
    --border-light: #E8E2D2;
    --radius: 0px;
    --shadow: 0 12px 48px rgba(42,34,24,0.08);
    --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: 'Montserrat', sans-serif; font-size: 16px; line-height: 1.8; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-weight: 300; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.1; }
a { color: var(--primary); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 680px; }

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

/* NAV — transparent on hero, solid on scroll */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: transparent; z-index: 100; transition: background var(--transition), box-shadow var(--transition); border-bottom: 1px solid var(--line); }
.nav.scrolled { background: rgba(251,248,241,0.97); backdrop-filter: blur(12px); box-shadow: 0 2px 24px rgba(42,34,24,0.06); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; font-weight: 300; color: #fff; text-decoration: none; letter-spacing: 0.5px; }
.nav.scrolled .nav-logo { color: var(--accent); }
.nav-logo-img { height: 38px; width: auto; display: block; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--primary); color: var(--primary); font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; text-decoration: none; }
.nav-links { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.6); font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 300; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #fff; opacity: 1; }
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 20px; height: 1px; background: #fff; transition: all var(--transition); }
.nav.scrolled .nav-toggle span { background: var(--accent); }

/* HERO — Carton d'invitation : centre, symetrique */
.hero-invitation { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 40px 80px; position: relative; overflow: hidden; background: var(--bg); }
.hero-invitation::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(184,150,62,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-invitation-lines { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; width: 100%; max-width: 500px; position: relative; z-index: 1; }
.hero-invitation-lines::before, .hero-invitation-lines::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.hero-invitation-lines span { font-family: 'Cormorant Garamond', serif; font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--primary); font-style: italic; white-space: nowrap; }
.hero-invitation h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.5rem, 8vw, 8rem); font-weight: 400; font-style: italic; color: var(--text); line-height: 1; margin: 0 0 24px; position: relative; z-index: 1; }
.hero-invitation-sub { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 48px; max-width: 440px; position: relative; z-index: 1; }
.hero-invitation-photo { width: 100%; max-width: 700px; aspect-ratio: 16/7; object-fit: cover; margin-top: 64px; position: relative; z-index: 1; }

/* BTN — Carton d'invitation : bordure fine, fond transparent */
.btn-cta { display: inline-block; padding: 14px 48px; border: 1px solid var(--primary); color: var(--text); font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; background: transparent; transition: all var(--transition); cursor: pointer; }
.btn-cta:hover { background: var(--primary); color: #fff; opacity: 1; }
.btn-outline { display: inline-block; background: transparent; color: var(--accent); padding: 14px 48px; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; border: 1px solid var(--accent); cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-outline:hover { background: var(--accent); color: #fff; opacity: 1; }
.btn-cta-large { font-size: 0.75rem; padding: 16px 56px; }

/* SECTIONS — carton d'invitation : fines lignes encadrant chaque section */
.section { padding: 104px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section + .section { border-top: none; }
.section-beige { background: var(--bg-card); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-terracotta { background: var(--primary); color: #fff; }
.section-title { text-align: center; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; font-weight: 400; }
.section-terracotta .section-title { color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 520px; margin: 0 auto 56px; font-size: 14px; line-height: 1.9; font-weight: 300; }
.section-dark .section-subtitle { color: rgba(251,248,241,0.45); }
.section-terracotta .section-subtitle { color: rgba(255,255,255,0.8); }
.section-terracotta .btn-cta { background: #fff; color: var(--primary); border-color: #fff; }
.section-terracotta .btn-cta:hover { background: transparent; color: #fff; border-color: #fff; }

/* A PROPOS — Carton d'invitation : 2 colonnes, ornement central */
.apropos-invitation { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 80px 0; }
.apropos-invitation-text { min-width: 0; text-align: left; }
.invitation-ornement { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.invitation-ornement::before, .invitation-ornement::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.invitation-ornement span { font-family: 'Cormorant Garamond', serif; font-size: 0.7rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--primary); font-style: italic; white-space: nowrap; }
.apropos-invitation-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: 24px; }
.apropos-invitation-text p { font-size: 0.9rem; font-weight: 300; line-height: 1.9; color: var(--text-muted); min-width: 0; }
.apropos-invitation-img { aspect-ratio: 4/5; overflow: hidden; min-width: 0; }
.apropos-invitation-img img { width: 100%; height: 100%; object-fit: cover; }

/* SPLIT generique */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text { min-width: 0; }
.split-text h2 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 16px; color: var(--accent); font-weight: 400; }
.split-text p { font-size: 15px; line-height: 1.9; color: var(--text-muted); font-weight: 300; min-width: 0; }
.split-image { min-width: 0; }
.split-image img { width: 100%; box-shadow: var(--shadow); }
.placeholder-img { background: var(--border-light); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; }
.section-dark .placeholder-img { background: rgba(251,248,241,0.06); color: rgba(251,248,241,0.3); }

/* MENU CARTE */
.menu-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; flex-wrap: wrap; }
.menu-tab { padding: 10px 28px; background: transparent; color: var(--text-muted); border: none; border-bottom: 1px solid var(--border); font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; transition: all var(--transition); }
.menu-tab:hover { color: var(--primary); }
.menu-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.section-dark .menu-tab { color: rgba(251,248,241,0.35); border-bottom-color: rgba(251,248,241,0.1); }
.section-dark .menu-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 680px; margin: 0 auto; }
.menu-item { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--border-light); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { min-width: 0; }
.menu-item-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 400; margin-bottom: 4px; color: var(--text); }
.section-dark .menu-item-info h3 { color: var(--text-light); }
.menu-item-info p { font-size: 13px; color: var(--text-muted); font-style: italic; font-weight: 300; min-width: 0; }
.section-dark .menu-item-info p { color: rgba(251,248,241,0.35); }
.menu-item-prix { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 19px; color: var(--primary); white-space: nowrap; margin-left: 20px; font-weight: 400; }

/* HORAIRES */
.horaires-maison { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--border-light); }
.horaires-table td { padding: 12px 0; font-size: 14px; font-weight: 300; }
.jour { font-weight: 400; width: 130px; letter-spacing: 0.5px; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 20px; }
.coord-item { margin-bottom: 10px; font-size: 14px; color: var(--text-muted); font-weight: 300; }
.coord-item a { color: var(--primary); }
.coord-item strong { color: var(--text); font-weight: 400; }
.map-container { overflow: hidden; }
.map-container iframe { width: 100%; height: 360px; border: none; display: block; }

/* CONTACT — section or */
.contact-phone { margin: 20px 0 16px; }
.phone-number { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(2.5rem, 6vw, 4.5rem); color: #fff; text-decoration: none; display: inline-block; font-weight: 300; }

/* FOOTER */
.footer { background: var(--bg-dark); color: rgba(251,248,241,0.35); padding: 64px 0 32px; font-size: 14px; font-weight: 300; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 26px; color: var(--primary); display: block; margin-bottom: 16px; font-weight: 300; }
.footer h4 { color: rgba(251,248,241,0.35); margin-bottom: 14px; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 400; font-family: 'Montserrat', sans-serif; }
.footer a { color: rgba(251,248,241,0.35); }
.footer a:hover { color: var(--text-light); opacity: 1; }
.footer p { margin-bottom: 6px; line-height: 1.7; min-width: 0; }
.footer-address { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(251,248,241,0.06); padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; }
.footer-credit { color: rgba(251,248,241,0.12); }
.footer-credit a { color: rgba(251,248,241,0.12); }

/* FORMS */
.resa-back { background: none; border: none; color: var(--primary); 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: 400; margin-bottom: 6px; font-size: 0.9rem; letter-spacing: 0.5px; }
.resa-form input, .resa-form select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); font-size: 1rem; box-sizing: border-box; font-family: inherit; background: var(--bg); color: var(--text); border-radius: 0; }
.resa-form input:focus, .resa-form select:focus { outline: none; border-color: var(--primary); }
.form-error { color: #c0392b; font-size: 0.88rem; margin-bottom: 12px; padding: 8px 12px; background: #fdf0ef; }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.resa-success p { color: #666; margin-bottom: 24px; min-width: 0; }

/* LANG */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.5); padding: 3px 7px; font-size: 0.72rem; font-weight: 400; cursor: pointer; letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; line-height: 1.4; }
.nav.scrolled .lang-btn { border-color: rgba(42,34,24,0.2); color: var(--text-muted); }
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.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 var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .apropos-invitation { grid-template-columns: 1fr; gap: 48px; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .horaires-maison { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(251,248,241,0.98); flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
    .nav-links.open { max-height: 440px; }
    .nav-links li { border-bottom: 1px solid var(--border-light); }
    .nav-links a { display: block; padding: 14px 24px; color: var(--text); }
    .hero-invitation { min-height: auto; padding: 100px 24px 56px; }
    .hero-invitation h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
    .hero-invitation-photo { margin-top: 40px; aspect-ratio: 16/9; }
    .section { padding: 72px 0; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
