/* ===========================================
   Template hotel-velours — L'Écrin — DM Serif Display + Outfit
   Cinématique : photo 100vh, titre ancré bas-gauche, vert forêt + or
   =========================================== */

:root {
    --primary: #C9A252;
    --secondary: #FAF8F2;
    --accent: #1B3A2D;
    --text: #1A1A1A;
    --text-light: #FAF8F2;
    --text-muted: #7A7A6E;
    --bg-dark: #1B3A2D;
    --bg-light: #FAF8F2;
    --bg-beige: #FAF8F2;
    --bg-deep: #0F2318;
    --border: #E4E0D8;
    --radius: 2px;
    --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: 'Outfit', 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: 'DM Serif Display', serif; font-weight: 400; 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(--accent); color: rgba(250,248,242,0.85); text-align: center; padding: 10px 40px 10px 20px; font-size: 13px; font-weight: 500; position: fixed; top: 0; left: 0; right: 0; z-index: 300; letter-spacing: 0.5px; }
.bandeau-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* === NAV : transparente → vert foncé 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(15,35,24,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: 'DM Serif Display', serif; font-style: italic; font-size: 22px; color: #fff; text-decoration: none; }
.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: 'DM Serif Display', 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: 'Outfit', sans-serif; font-size: 11px; font-weight: 500; 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 : cinématique 100vh, titre ancré en bas === */
.hero { position: relative; height: 100vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,35,24,0.92) 0%, rgba(15,35,24,0.3) 50%, rgba(0,0,0,0.08) 100%); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 52px 72px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-main { flex: 1; min-width: 0; }
.hero-eyebrow { font-family: 'Outfit', sans-serif; font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; font-weight: 500; display: block; }
.hero h1 { font-style: italic; font-size: clamp(3rem, 5.5vw, 7rem); color: #fff; line-height: 0.88; }
.hero-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; padding-bottom: 6px; flex-shrink: 0; max-width: 280px; }
.hero-tagline { font-size: 13px; color: rgba(255,255,255,0.55); text-align: right; line-height: 1.7; font-style: italic; }
.hero-sep { width: 28px; height: 1px; background: var(--primary); margin-left: auto; }

/* === BTN === */
.btn-cta { display: inline-block; background: var(--primary); color: var(--accent); padding: 13px 36px; font-family: 'Outfit', sans-serif; font-size: 11px; font-weight: 600; 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: #B8922A; opacity: 1; }
.btn-cta-large { font-size: 12px; padding: 16px 48px; margin-top: 20px; }
.section-terracotta .btn-cta { background: var(--primary); color: var(--bg-deep); }
.contact-phone { margin: 28px 0 8px; }
.phone-number { font-family: 'DM Serif Display', serif; font-style: italic; font-size: clamp(2.5rem, 5vw, 4.5rem); color: #fff; text-decoration: none; display: inline-block; line-height: 0.9; }

/* === SECTIONS === */
.section { padding: 96px 0; }
.section-beige { background: var(--bg-beige); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-terracotta { background: var(--bg-dark); color: var(--text-light); }
.section-title { font-style: italic; font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 12px; }
.section-beige .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; }
.section-dark .section-subtitle, .section-terracotta .section-subtitle { color: rgba(250,248,242,0.5); }

/* === À PROPOS : section sombre, grand titre italic + texte === */
.apropos-hotel { display: grid; grid-template-columns: 5fr 3fr; gap: 80px; align-items: center; }
.apropos-hotel-text .apropos-num { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 100px; line-height: 0.8; color: var(--primary); opacity: 0.15; display: block; margin-bottom: -16px; }
.apropos-hotel-text h2 { font-style: italic; font-size: clamp(2rem, 3.5vw, 3.5rem); color: var(--text-light); margin-bottom: 24px; }
.apropos-hotel-text p { font-size: 15px; line-height: 1.9; color: rgba(250,248,242,0.6); }
.apropos-hotel-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.placeholder-img { background: rgba(250,248,242,0.08); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; color: rgba(250,248,242,0.3); font-size: 14px; }

/* === CATALOGUE === */
.menu-tabs { display: flex; gap: 0; margin-bottom: 48px; border-bottom: 1px solid rgba(250,248,242,0.15); }
.section-beige .menu-tabs { border-bottom-color: var(--border); }
.menu-tab { padding: 14px 32px 12px; background: transparent; color: rgba(250,248,242,0.4); border: none; border-bottom: 1px solid transparent; margin-bottom: -1px; font-family: 'DM Serif Display', serif; font-style: italic; font-size: 20px; cursor: pointer; transition: all var(--transition); }
.section-beige .menu-tab { color: var(--text-muted); }
.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 rgba(250,248,242,0.1); }
.section-beige .menu-item { border-bottom-color: var(--border); }
.menu-item:first-child { border-top: 1px solid rgba(250,248,242,0.1); }
.section-beige .menu-item:first-child { border-top-color: var(--border); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info h3 { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 22px; margin-bottom: 4px; color: var(--text-light); }
.section-beige .menu-item-info h3 { color: var(--accent); }
.menu-item-info p { font-size: 12px; color: rgba(250,248,242,0.4); }
.section-beige .menu-item-info p { color: var(--text-muted); }
.menu-item-prix { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 20px; color: var(--primary); white-space: nowrap; margin-left: 32px; }

/* === SPLIT (horaires) === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-text h2 { font-style: italic; font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 24px; color: var(--accent); }
.split-text p { font-size: 14px; line-height: 1.85; color: var(--text-muted); }
.split-image img { width: 100%; }

/* === HORAIRES === */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--border); }
.horaires-table td { padding: 12px 0; font-size: 14px; }
.jour { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; width: 130px; color: var(--accent); }
.ferme .heures { color: #ccc; }
.coordonnees { margin-top: 24px; }
.coord-item { margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.coord-item a { color: var(--accent); }
.map-container iframe { width: 100%; height: 100%; min-height: 320px; border: none; }

/* === FOOTER === */
.footer { background: var(--bg-deep); color: rgba(250,248,242,0.3); padding: 64px 0 28px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 26px; color: #fff; display: block; margin-bottom: 14px; }
.footer h4 { color: rgba(250,248,242,0.5); margin-bottom: 14px; font-family: 'Outfit', sans-serif; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; font-weight: 500; }
.footer a { color: rgba(250,248,242,0.3); }
.footer a:hover { color: #fff; opacity: 1; }
.footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(250,248,242,0.08); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; }
.footer-credit { color: rgba(250,248,242,0.15); }
.footer-credit a { color: rgba(250,248,242,0.15); }

/* === Formulaires === */
.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: 18px; }
.resa-form label { display: block; font-weight: 500; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px; color: var(--text-muted); font-family: 'Outfit', sans-serif; }
.resa-form input, .resa-form select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; box-sizing: border-box; font-family: 'Outfit', sans-serif; background: #fff; }
.resa-form input:focus, .resa-form select:focus { outline: none; border-color: var(--accent); }
.form-error { color: #c0392b; font-size: 0.88rem; margin-bottom: 12px; padding: 10px 16px; background: #fdf0ef; }
.resa-success { text-align: center; padding: 48px 0; }
.resa-success-icon { font-size: 3rem; color: var(--primary); margin-bottom: 12px; }
.resa-success h3 { font-style: italic; font-size: 1.8rem; margin-bottom: 8px; font-weight: 400; }
.resa-success p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }

/* ---- Switcher langue ---- */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 20px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.5); border-radius: 0; padding: 4px 8px; font-size: 10px; font-weight: 500; font-family: 'Outfit', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all 0.2s; line-height: 1.4; }
.lang-btn.active { background: var(--primary); border-color: var(--primary); color: var(--accent); }

.whatsapp-float { position: fixed; bottom: 28px; right: 28px; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.25); z-index: 90; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.08); opacity: 1; }

@media (max-width: 900px) {
    .hero-content { padding: 40px 32px; flex-direction: column; align-items: flex-start; gap: 24px; }
    .hero-aside { align-items: flex-start; }
    .hero-tagline { text-align: left; }
    .hero-sep { margin-left: 0; }
    .apropos-hotel { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: rgba(15,35,24,0.98); flex-direction: column; gap: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
    .nav-links.open { max-height: 400px; }
    .nav-links li { border-bottom: 1px solid rgba(250,248,242,0.08); }
    .nav-links a { display: block; padding: 15px 24px; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split-image { order: -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .section { padding: 64px 0; }
}
