/*
Theme Name: La Roulotte
Theme URI: https://laroulotte.fr
Author: La Roulotte
Description: Thème personnalisé pour La Roulotte – Location de bases de vie BTP en Île-de-France.
Version: 2.0
Text Domain: laroulotte
*/

/* ── POLICES APERTURA ── */
@font-face { font-family: 'Apertura'; src: url('fonts/Apertura_Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apertura'; src: url('fonts/Apertura_Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apertura'; src: url('fonts/Apertura_Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apertura'; src: url('fonts/Apertura_Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apertura Condensed'; src: url('fonts/Apertura_Condensed.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apertura Condensed'; src: url('fonts/Apertura_Medium_Condensed.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Apertura Condensed'; src: url('fonts/Apertura_Bold_Condensed.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
    --gold: #C9A84C;
    --gold-light: #E2C47A;
    --gold-dark: #9E7A2E;
    --black: #545454;
    --cream: #FAF8F4;
    --cream-mid: #F2EDE4;
    --grey-mid: #E0D9CE;
    --text-dark: #545454;
    --text-mid: #6B6258;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Apertura', 'Barlow', sans-serif; color: var(--text-dark); background: var(--white); overflow-x: hidden; }

/* ── TOP BAR ── */
.topbar { background: var(--gold); color: var(--black); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; padding: 9px 40px; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: var(--black); text-decoration: none; transition: opacity 0.2s; }
.topbar a:hover { opacity: 0.7; }
.topbar .topbar-left { display: flex; gap: 32px; align-items: center; }
.topbar .topbar-right { display: flex; gap: 24px; align-items: center; }
.topbar svg { width: 14px; height: 14px; fill: var(--black); margin-right: 6px; vertical-align: middle; }

/* ── HEADER ── */
header { background: var(--white); padding: 0 40px; display: flex; justify-content: space-between; align-items: center; height: 80px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 24px rgba(201,168,76,0.12); border-bottom: 2px solid var(--gold); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 215px !important; width: auto !important; display: block; }
.logo-img-footer { height: 56px; width: auto; max-width: 180px; display: block; object-fit: contain; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { font-family: 'Apertura', 'Barlow', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dark); text-decoration: none; padding: 8px 16px; transition: color 0.2s; position: relative; }
nav a::after { content: ''; position: absolute; bottom: 4px; left: 16px; right: 16px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.25s ease; }
nav a:hover { color: var(--gold-dark); }
nav a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--gold); color: var(--black) !important; padding: 10px 22px !important; font-weight: 700 !important; letter-spacing: 0.1em; transition: background 0.2s !important; margin-left: 8px; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

/* ── HERO ── */
.hero { display: grid; grid-template-columns: 1fr 360px; min-height: 580px; position: relative; overflow: hidden; }
.hero-photo { position: relative; background: var(--cream-mid); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; display: block; }
.hero-content { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% - 360px); display: flex; flex-direction: column; justify-content: center; padding: 60px 64px; z-index: 2; }
.hero-tag { display: inline-block; background: var(--gold); color: var(--black); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 14px; margin-bottom: 24px; width: fit-content; }
.hero h1 { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: clamp(38px, 5vw, 62px); font-weight: 800; line-height: 1.05; color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-desc { font-size: 16px; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,0.9); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--gold); color: var(--black); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 14px 32px; text-decoration: none; transition: all 0.25s; border: 2px solid var(--gold); }
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-outline { display: inline-block; background: transparent; color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 14px 32px; text-decoration: none; border: 2px solid rgba(255,255,255,0.6); transition: all 0.25s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Hero sidebar */
.hero-sidebar { background: var(--gold); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.hero-sidebar h2 { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--black); margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid rgba(0,0,0,0.12); }
.service-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; cursor: pointer; transition: transform 0.2s; }
.service-item:hover { transform: translateX(4px); }
.service-icon { width: 44px; height: 44px; background: rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-icon svg { width: 22px; height: 22px; stroke: var(--black); fill: none; stroke-width: 1.5; }
.service-text h3 { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--black); margin-bottom: 3px; }
.service-text p { font-size: 12px; color: rgba(0,0,0,0.55); font-weight: 400; }

/* ── SEARCH BAR ── */
.search-section { background: var(--cream); border-bottom: 1px solid var(--grey-mid); padding: 24px 40px; display: flex; align-items: center; gap: 0; }
.search-label { color: var(--gold-dark); font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; margin-right: 32px; }
.search-bar { display: flex; flex: 1; background: var(--white); overflow: hidden; border: 1px solid var(--grey-mid); }
.search-field { flex: 1; padding: 13px 20px; border: none; outline: none; font-family: 'Apertura', 'Barlow', sans-serif; font-size: 14px; color: var(--text-dark); border-right: 1px solid var(--grey-mid); background: transparent; }
.search-field::placeholder { color: #bbb; }
.search-btn { background: var(--gold); border: none; padding: 13px 28px; cursor: pointer; font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--black); transition: background 0.2s; display: flex; align-items: center; gap: 8px; }
.search-btn:hover { background: var(--gold-dark); color: var(--white); }
.search-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ── STATS BAR ── */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--grey-mid); padding: 32px 40px; display: flex; justify-content: center; gap: 80px; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 900; color: var(--gold); line-height: 1; display: block; }
.stat-label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); margin-top: 6px; display: block; }

/* ── SECTION SHARED ── */
section { padding: 80px 40px; }
.section-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.section-title { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 16px; line-height: 1.05; }
.section-sep { width: 48px; height: 3px; background: var(--gold); margin-bottom: 24px; }
.section-intro { font-size: 16px; line-height: 1.75; color: var(--text-mid); max-width: 640px; margin-bottom: 48px; }

/* ── CATALOGUE ── */
.catalogue-section { background: var(--white); }
.catalogue-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border: 2px solid var(--grey-mid); background: transparent; font-family: 'Apertura', 'Barlow', sans-serif; font-size: 13px; font-weight: 600; color: var(--text-mid); cursor: pointer; transition: all 0.2s; letter-spacing: 0.03em; display: flex; align-items: center; gap: 8px; }
.filter-btn:hover, .filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--black); }
.filter-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { border: 1px solid var(--grey-mid); background: var(--white); overflow: hidden; transition: all 0.25s; cursor: pointer; display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--gold); box-shadow: 0 8px 40px rgba(201,168,76,0.18); transform: translateY(-3px); }
.catalogue-cat-header { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; padding: 16px 0 4px; margin-top: 16px; border-top: 2px solid var(--gold); }
.catalogue-cat-header:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.catalogue-cat-label { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-dark); white-space: nowrap; }
.catalogue-cat-line { flex: 1; height: 1px; background: var(--grey-mid); }
.product-card { border: 1px solid var(--grey-mid); background: var(--white); overflow: hidden; transition: all 0.25s; cursor: pointer; }
.product-card:hover { border-color: var(--gold); box-shadow: 0 8px 40px rgba(201,168,76,0.18); transform: translateY(-3px); }
.product-img { height: 200px; background: var(--cream); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #f5f0e8 0%, #ece5d8 100%); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.product-img-placeholder svg { width: 48px; height: 48px; stroke: var(--gold); fill: none; stroke-width: 1; opacity: 0.5; }
.product-img-placeholder span { font-size: 11px; color: #bbb; letter-spacing: 0.1em; text-transform: uppercase; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--black); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; }
.product-info { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-specs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
a.product-cta { margin-top: auto; }.product-category { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.product-name { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 8px; line-height: 1.2; }
.product-desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.product-specs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.spec-tag { font-size: 11px; background: var(--cream); color: var(--text-mid); padding: 3px 10px; font-weight: 500; border: 1px solid var(--grey-mid); }
.product-cta { width: 100%; padding: 11px; background: transparent; border: 2px solid var(--gold); color: var(--gold-dark); font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: all 0.2s; }
.product-cta:hover { background: var(--gold); color: var(--black); }

/* ── POURQUOI NOUS (fond blanc luxe) ── */
.why-section { background: var(--cream); position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border: 80px solid rgba(201,168,76,0.08); border-radius: 50%; }
.why-section .section-title { color: var(--text-dark); }
.why-section .section-intro { color: var(--text-mid); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--grey-mid); }
.why-item { background: var(--white); padding: 36px 28px; transition: background 0.25s; }
.why-item:hover { background: var(--cream); }
.why-number { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 48px; font-weight: 800; color: rgba(201,168,76,0.2); line-height: 1; margin-bottom: 16px; }
.why-icon { width: 48px; height: 48px; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.why-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.why-title { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 10px; }
.why-desc { font-size: 13px; line-height: 1.7; color: var(--text-mid); }

/* ── ENGAGEMENTS ── */
.engagements-section { background: var(--white); }
.engagements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.engagement-visual { background: var(--cream-mid); height: 400px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid var(--grey-mid); }
.engagement-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.engagement-visual-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--gold); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }
.engagement-list { display: flex; flex-direction: column; gap: 20px; }
.engagement-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px; background: var(--cream); border-left: 3px solid var(--gold); transition: all 0.2s; }
.engagement-item:hover { transform: translateX(4px); background: var(--white); box-shadow: 0 4px 20px rgba(201,168,76,0.1); }
.engagement-item svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.5; flex-shrink: 0; margin-top: 2px; }
.engagement-item h3 { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 4px; }
.engagement-item p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ── AVIS CLIENTS ── */
.reviews-section { background: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); padding: 32px 28px; position: relative; border-top: 3px solid transparent; border: 1px solid var(--grey-mid); transition: all 0.2s; }
.review-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(201,168,76,0.12); }
.review-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.star { color: var(--gold); font-size: 18px; }
.review-text { font-size: 14px; line-height: 1.75; color: var(--text-mid); font-style: italic; margin-bottom: 20px; }
.review-author { font-weight: 700; font-size: 13px; color: var(--text-dark); letter-spacing: 0.05em; }
.review-company { font-size: 12px; color: var(--gold-dark); margin-top: 3px; }
.quote-mark { position: absolute; top: 16px; right: 24px; font-size: 64px; color: var(--grey-mid); font-family: Georgia, serif; line-height: 1; }

/* ── DEVIS SECTION ── */
.devis-section { background: var(--gold); padding: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.devis-form-side { padding: 64px 60px; background: var(--gold); }
.devis-form-side .section-title { color: var(--black); }
.devis-form-side .section-sep { background: var(--black); }
.devis-info-side { background: var(--cream); padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-grid.full { grid-template-columns: 1fr; }
.form-input { width: 100%; padding: 13px 16px; border: none; border-bottom: 2px solid rgba(0,0,0,0.15); background: rgba(255,255,255,0.65); font-family: 'Apertura', 'Barlow', sans-serif; font-size: 14px; color: var(--black); outline: none; transition: border-color 0.2s, background 0.2s; }
.form-input::placeholder { color: rgba(0,0,0,0.4); }
.form-input:focus { border-bottom-color: var(--black); background: rgba(255,255,255,0.95); }
.form-submit { margin-top: 20px; padding: 14px 40px; background: var(--black); color: var(--gold); border: 2px solid var(--black); font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; transition: all 0.25s; }
.form-submit:hover { background: transparent; color: var(--black); }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; background: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; stroke: var(--black); fill: none; stroke-width: 1.8; }
.contact-item-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 3px; }
.contact-item-value { font-size: 15px; font-weight: 600; color: var(--text-dark); }
.contact-item-value a { color: var(--text-dark); text-decoration: none; }
.contact-item-value a:hover { color: var(--gold-dark); }
.social-links { display: flex; gap: 12px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--grey-mid); }
.social-link { width: 40px; height: 40px; background: var(--text-dark); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background 0.2s; }
.social-link:hover { background: var(--gold); }
.social-link svg { width: 18px; height: 18px; fill: var(--white); }
.social-link:hover svg { fill: var(--black); }

/* ── FOOTER (fond crème luxe) ── */
footer { background: var(--cream); border-top: 2px solid var(--gold); color: var(--text-mid); padding: 56px 40px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; line-height: 1.75; margin-top: 16px; color: var(--text-mid); max-width: 280px; }
.footer-col h4 { font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-mid); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-dark); }
.footer-bottom { border-top: 1px solid var(--grey-mid); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-mid); }
.footer-bottom a { color: var(--text-mid); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-dark); }
.groupe-mention { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); }
.groupe-mention span { color: var(--gold-dark); font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr 300px; }
    .hero-content { width: calc(100% - 300px); padding: 40px 48px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .topbar { display: none; }
    header { padding: 0 20px; }
    nav { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-content { position: relative; width: 100%; padding: 40px 24px; }
    .hero-photo { display: none; }
    .hero-sidebar { padding: 32px 24px; }
    section { padding: 56px 24px; }
    .stats-bar { gap: 40px; flex-wrap: wrap; padding: 24px; }
    .devis-section { grid-template-columns: 1fr; }
    .engagements-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .search-section { flex-direction: column; gap: 16px; padding: 24px; }
    .search-label { margin-right: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-tag { animation: fadeUp 0.5s ease 0.1s both; }
.hero h1 { animation: fadeUp 0.5s ease 0.2s both; }
.hero-desc { animation: fadeUp 0.5s ease 0.35s both; }
.hero-actions { animation: fadeUp 0.5s ease 0.5s both; }

/* Scroll animations (JS-triggered) */
.anim-ready { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.anim-ready.visible { opacity: 1; transform: translateY(0); }

/* ── HEADER SCROLLED ── */
header.scrolled { box-shadow: 0 4px 32px rgba(201,168,76,0.22); }

/* ── HERO LAYOUT FIX ── */
.hero { background: var(--cream-mid); }
.hero-content { background: linear-gradient(to right, rgba(13,13,13,0.72) 60%, transparent 100%); }

/* ── PRODUCT CTA AS LINK ── */
a.product-cta { display: block; text-align: center; text-decoration: none; }

/* ── FORM TEXTAREA ── */
textarea.form-input { resize: vertical; min-height: 100px; font-family: 'Apertura', 'Barlow', sans-serif; }
select.form-input { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9' fill='none' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ── ZONE DEPARTEMENTS (referenced in older draft, kept for compat) ── */
.zone { background: var(--cream-mid); }
.zone-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1100px; margin: 0 auto; }
.zone-deps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dep-item { background: var(--white); border: 1px solid var(--grey-mid); padding: 16px 12px; text-align: center; transition: all 0.2s; }
.dep-item:hover { border-color: var(--gold); background: var(--gold); }
.dep-item:hover .dep-num, .dep-item:hover span:last-child { color: var(--black); }
.dep-num { display: block; font-family: 'Apertura Condensed', 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: var(--gold-dark); }
.dep-item span:last-child { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); margin-top: 4px; display: block; }

/* ── MENU MOBILE ── */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); transition: all 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--gold); padding: 20px; flex-direction: column; gap: 4px; z-index: 200; }
    header nav.nav-open { display: flex; }
    nav a { padding: 12px 16px; border-bottom: 1px solid var(--cream); }
    .nav-cta { margin-left: 0; text-align: center; }
}

/* ── PAGES LÉGALES ── */
.legal-hero { background: var(--black); padding: 48px 40px; border-bottom: 3px solid var(--gold); }
.legal-page-title { font-family: 'Apertura Condensed', sans-serif; font-size: 48px; font-weight: 800; color: var(--white); text-transform: uppercase; margin: 12px 0 16px; }
.legal-page-sub { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 600px; }
.legal-container { max-width: 860px; margin: 0 auto; padding: 48px 40px 80px; }
.legal-section { margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid var(--grey-mid); }
.legal-section h2 { font-family: 'Apertura Condensed', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.legal-section p, .legal-section li { font-size: 14px; line-height: 1.85; color: var(--text-mid); margin-bottom: 12px; }
.legal-section ul { padding-left: 20px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-table th, .legal-table td { padding: 10px 16px; text-align: left; border-bottom: 1px solid var(--grey-mid); }
.legal-table th { width: 220px; font-weight: 600; color: var(--text-dark); background: var(--cream); }
.legal-table td { color: var(--text-mid); }
.legal-note { background: var(--cream); border-left: 3px solid var(--gold); padding: 12px 16px; font-style: italic; }
.legal-update { font-size: 12px; color: var(--text-mid); text-align: right; margin: 24px 0; border-top: 1px solid var(--grey-mid); padding-top: 8px; }
.legal-back { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline-dark { display: inline-block; background: transparent; color: var(--text-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 14px 28px; text-decoration: none; border: 2px solid var(--grey-mid); transition: all 0.25s; }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold-dark); }
.legal-toc { background: var(--cream); border-left: 4px solid var(--gold); padding: 24px 28px; margin-bottom: 40px; }
.legal-toc h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.legal-toc a { color: var(--text-mid); text-decoration: none; font-size: 13px; }
.legal-toc li { margin-bottom: 6px; }