/* ============================================
   CREA BOIS VAL FRED — Stylesheet
   Bleu Majorel + Accents dorés — Artisanat du bois
   ============================================ */
:root {
    --primary: #1E40AF;
    --primary-dark: #1E3A8A;
    --primary-light: #3B82F6;
    --accent: #D97706;
    --accent-light: #F59E0B;
    --accent-dark: #B45309;
    --bg: #FFFBF0;
    --bg-alt: #F0EFE8;
    --bg-dark: #0F172A;
    --text: #1C1917;
    --text-light: #6B7280;
    --text-white: #F9FAFB;
    --border: #E5E7EB;
    --shadow: 0 4px 30px rgba(30,64,175,0.08);
    --shadow-lg: 0 20px 60px rgba(30,64,175,0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #F7F5F0;
    border-top: 5px solid #3B2416;
    border-bottom: 10px solid var(--primary);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
    transition: var(--transition);
    overflow: visible;
}
.navbar.scrolled {
    background: #F7F5F0;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.16);
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
    padding: 0 24px;
    min-height: 92px;
    position: relative;
}
.nav-logo {
    display: flex; align-items: center; gap: 14px;
    color: var(--primary);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    min-height: 92px;
}
.nav-logo-mark {
    display: flex;
    align-items: flex-end;
    height: 108px;
    margin-bottom: -10px;
}
.nav-logo-mark img {
    width: auto;
    height: 108px;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    background: transparent;
    filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.18));
    transition: transform 0.35s ease, filter 0.35s ease;
}
.nav-logo:hover .nav-logo-mark img {
    transform: translateY(-2px) scale(1.03);
    filter: drop-shadow(0 6px 14px rgba(30, 64, 175, 0.28));
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}
.nav-logo-text strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 30px);
    letter-spacing: 0.02em;
    color: var(--primary);
    white-space: nowrap;
}
.nav-logo-text small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(12px, 1.2vw, 15px);
    font-weight: 500;
    color: #7A7F89;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-light); position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary); color: white;
    padding: 10px 20px; border-radius: 50px;
    font-size: 14px; font-weight: 600;
    transition: var(--transition);
    flex-shrink: 0;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }

/* ========== HERO ========== */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease-in-out; transform: scale(1.05); }
.hero-slide.active { opacity: 1; transform: scale(1); transition: opacity 1.2s, transform 8s ease-out; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(30,58,138,0.88) 0%, rgba(30,64,175,0.60) 50%, rgba(0,0,0,0.35) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 0 24px; }
.hero-badge {
    display: inline-block;
    background: rgba(217,119,6,0.25); border: 1px solid rgba(217,119,6,0.6);
    color: #FCD34D; padding: 8px 20px;
    border-radius: 50px; font-size: 13px; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 24px; animation: fadeInDown 1s 0.2s both;
}
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(42px, 8vw, 90px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.hero-line { display: block; overflow: hidden; }
.hero-line.accent { color: #FCD34D; }
.hero-subtitle { font-size: 22px; opacity: 0.85; max-width: 500px; margin: 0 auto 32px; animation: fadeInUp 1s 0.8s both; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeInUp 1s 1s both; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(217,119,6,0.35); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; text-align: center; color: rgba(255,255,255,0.6); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.3); margin: 8px auto 0; animation: scrollPulse 2s infinite; }
.hero-dots { position: absolute; bottom: 40px; right: 40px; z-index: 2; display: flex; gap: 8px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; transition: 0.3s; }
.hero-dot.active { background: var(--accent); border-color: var(--accent); }

/* ========== SECTIONS ========== */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 50px); font-weight: 700; color: var(--primary-dark); line-height: 1.2; margin-bottom: 12px; }
.section-desc { font-size: 17px; color: var(--text-light); max-width: 550px; margin: 0 auto; }

/* ========== ABOUT ========== */
.section-about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro { font-size: 18px; line-height: 1.8; color: var(--text); margin-bottom: 32px; }
.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; padding: 20px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border-left: 3px solid var(--primary); }
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-left-color: var(--accent); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; flex-shrink: 0; }
.feature-item h3 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.about-images { position: relative; }

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    /* box-shadow: var(--shadow-lg); */
    aspect-ratio: 16 / 10;    
    background: none !important;
}
.about-img-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
}
.about-img-accent { position: absolute; bottom: -30px; right: -30px; width: 200px; height: 160px; border-radius: var(--radius); overflow: hidden; border: 4px solid white; box-shadow: var(--shadow-lg); }
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.about-stats { position: absolute; top: -20px; left: -20px; background: var(--primary); color: white; border-radius: var(--radius); padding: 20px 24px; text-align: center; box-shadow: 0 8px 30px rgba(30,64,175,0.3); }
.stat-number { display: block; font-size: 42px; font-weight: 800; font-family: 'Playfair Display', serif; line-height: 1; }
.stat-label { font-size: 12px; opacity: 0.8; letter-spacing: 0.05em; text-transform: uppercase; }

/* ========== RÉALISATIONS ========== */
.section-realisations { background: var(--bg-alt); }
.realisations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.real-slider-wrap { position: relative; overflow: hidden; }
.real-slider-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.real-slider-track .real-card { flex: 0 0 calc((100% - 48px) / 3); width: calc((100% - 48px) / 3); min-width: calc((100% - 48px) / 3); max-width: calc((100% - 48px) / 3); }
.real-controls { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.real-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primary); background: transparent; color: var(--primary); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.real-btn:hover { background: var(--primary); color: white; }
.real-card { border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow); transition: var(--transition); display: block; }
.real-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(30,64,175,0.15); }
.real-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.real-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.real-card:hover .real-card-img img { transform: scale(1.08); }
.real-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,58,138,0.92) 0%, rgba(30,64,175,0.4) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; opacity: 0; transition: opacity 0.4s; }
.real-card:hover .real-card-overlay { opacity: 1; }
.real-card-overlay h3 { color: white; font-size: 16px; font-weight: 700; margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.real-card-overlay p { color: rgba(255,255,255,0.85); font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
.real-card-categories { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.real-cat { background: var(--accent); color: white; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.real-cat.dark { background: var(--primary); }
.real-card-date { font-size: 12px; color: rgba(255,255,255,0.6); }
.real-card-link { display: inline-flex; align-items: center; gap: 6px; color: #FCD34D; font-size: 13px; font-weight: 600; margin-top: 8px; }
.real-card-body-simple { padding: 20px; }
.real-card-body-simple h3 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.real-card-body-simple p { font-size: 14px; color: var(--text-light); }
.real-card-date.dark { color: var(--accent); display: inline-block; margin-top: 8px; }

/* ========== OÙ NOUS TROUVER ========== */
.section-trouver { background: var(--primary-dark); color: white; }
.section-trouver .section-tag { color: var(--accent-light); }
.section-trouver .section-title { color: white; }
.section-trouver .section-title .accent { color: #FCD34D; }
.section-trouver .section-desc { color: rgba(255,255,255,0.7); }
.trouver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trouver-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 36px 28px; transition: var(--transition); }
.trouver-card:hover { background: rgba(255,255,255,0.10); border-color: rgba(217,119,6,0.4); transform: translateY(-4px); }
.trouver-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; margin-bottom: 20px; }
.trouver-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: white; margin-bottom: 12px; }
.trouver-card p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 16px; }
.trouver-list { margin-top: 12px; }
.trouver-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.trouver-list li:last-child { border-bottom: none; }
.trouver-list li i { color: var(--accent-light); margin-top: 2px; flex-shrink: 0; }

/* ========== ACTUALITÉS ========== */
.section-actualites { background: var(--bg); }
.actu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.actu-slider-wrap { position: relative; overflow: hidden; }
.actu-slider-track { display: flex; gap: 28px; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.actu-slider-track .actu-card { flex: 0 0 calc((100% - 56px) / 3); width: calc((100% - 56px) / 3); min-width: calc((100% - 56px) / 3); max-width: calc((100% - 56px) / 3); }
.actu-controls { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.actu-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primary); background: transparent; color: var(--primary); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.actu-btn:hover { background: var(--primary); color: white; }
.actu-card { border-radius: var(--radius); overflow: hidden; background: white; box-shadow: var(--shadow); transition: var(--transition); display: block; }
.actu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.actu-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.actu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.actu-card:hover .actu-card-img img { transform: scale(1.05); }
.actu-date-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: white; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.actu-date-text { display: block; font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.actu-card-body { padding: 24px; }
.actu-card-body h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; line-height: 1.4; }
.actu-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.actu-readmore { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 14px; font-weight: 600; transition: gap 0.2s; }
.actu-card:hover .actu-readmore { gap: 10px; color: var(--accent); }

/* ========== AVIS ========== */
.section-avis { background: var(--bg-alt); }
.avis-slider-wrap { position: relative; overflow: hidden; }
.avis-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.avis-card { flex: 0 0 calc((100% - 48px) / 3); width: calc((100% - 48px) / 3); min-width: calc((100% - 48px) / 3); max-width: calc((100% - 48px) / 3); background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: var(--transition); display: block; border-top: 3px solid var(--primary); color: inherit; }
.avis-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.avis-stars { color: var(--accent); font-size: 18px; margin-bottom: 16px; display: flex; gap: 4px; }
.avis-text { font-size: 17px; line-height: 1.8; color: var(--text); font-style: italic; margin-bottom: 20px; font-family: 'Cormorant Garamond', serif; }
.avis-footer { display: flex; align-items: center; gap: 14px; }
.avis-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.avis-author { font-weight: 700; font-size: 15px; color: var(--primary-dark); }
.avis-date { font-size: 12px; color: var(--text-light); }
.avis-controls { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.avis-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primary); background: transparent; color: var(--primary); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.avis-btn:hover { background: var(--primary); color: white; }

/* ========== CONTACT ========== */
.section-contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border-left: 3px solid var(--primary); }
.contact-item:hover { transform: translateX(4px); border-left-color: var(--accent); }
.contact-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; flex-shrink: 0; }
.contact-item h3 { font-size: 14px; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item p { font-size: 15px; color: var(--text); line-height: 1.6; }
.contact-item a { color: var(--primary); }
.contact-item a:hover { color: var(--accent); }
.contact-socials { display: flex; gap: 12px; padding-top: 8px; }
.contact-social-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); }
.contact-social-btn:hover { background: var(--accent); transform: translateY(-3px); }
.contact-map iframe { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ========== FOOTER ========== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 60px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo {
    width: 72px; height: 72px; object-fit: contain;
    margin-bottom: 18px;
    background: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
    transition: transform 0.35s ease, filter 0.35s ease;
}
.footer-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 14px rgba(197, 35, 67, 0.35));
}
.footer-brand p { font-size: 14px; line-height: 1.8; opacity: 0.7; }
.footer-links h4, .footer-contact h4 { font-size: 14px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-links ul { margin-top: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact p { font-size: 14px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact i { color: var(--accent); width: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact a:hover { color: var(--accent-light); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); color: white; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.footer-socials a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: 0.5; }
.footer-admin a { color: rgba(255,255,255,0.3); }
.footer-admin a:hover { color: var(--accent-light); }

/* ========== BACK TO TOP ========== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; z-index: 999; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: white; border: none; cursor: pointer; font-size: 18px; box-shadow: 0 4px 15px rgba(30,64,175,0.4); opacity: 0; transform: translateY(20px); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ========== EMPTY STATE ========== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); font-size: 16px; font-style: italic; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 1; height: 40px; } 50% { opacity: 0.3; height: 25px; } }
[data-anim] { opacity: 0; transform: translateY(40px); }
[data-anim="fade-right"] { transform: translateX(-40px); }
[data-anim="fade-left"] { transform: translateX(40px); }
[data-anim].animated { opacity: 1; transform: translate(0); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
[data-anim="stagger"].animated .real-card,
[data-anim="stagger"].animated .actu-card,
[data-anim="stagger"].animated .trouver-card { animation: fadeInUp 0.6s both; }
[data-anim="stagger"].animated .real-card:nth-child(1), [data-anim="stagger"].animated .actu-card:nth-child(1), [data-anim="stagger"].animated .trouver-card:nth-child(1) { animation-delay: 0.1s; }
[data-anim="stagger"].animated .real-card:nth-child(2), [data-anim="stagger"].animated .actu-card:nth-child(2), [data-anim="stagger"].animated .trouver-card:nth-child(2) { animation-delay: 0.2s; }
[data-anim="stagger"].animated .real-card:nth-child(3), [data-anim="stagger"].animated .actu-card:nth-child(3), [data-anim="stagger"].animated .trouver-card:nth-child(3) { animation-delay: 0.3s; }
[data-anim="stagger"].animated .real-card:nth-child(4) { animation-delay: 0.4s; }
[data-anim="stagger"].animated .real-card:nth-child(5) { animation-delay: 0.5s; }
[data-anim="stagger"].animated .real-card:nth-child(6) { animation-delay: 0.6s; }
[data-anim="stagger"].animated .real-card:nth-child(7) { animation-delay: 0.7s; }
[data-anim="stagger"].animated .real-card:nth-child(8) { animation-delay: 0.8s; }
[data-anim="stagger"].animated .real-card:nth-child(9) { animation-delay: 0.9s; }

/* ========== LEGAL PAGE ========== */
.legal-page { padding: 120px 0 80px; min-height: 100vh; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--primary-dark); margin-bottom: 40px; }
.legal-content h2 { font-size: 22px; color: var(--primary); margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.legal-content h3 { font-size: 17px; color: var(--primary-dark); margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.8; color: var(--text-light); margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; }
.legal-content ul li { list-style: disc; margin-bottom: 6px; }
.legal-content a { color: var(--accent); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; margin-bottom: 24px; }
.legal-back:hover { color: var(--accent); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .realisations-grid { grid-template-columns: repeat(2, 1fr); }
    .actu-grid { grid-template-columns: repeat(2, 1fr); }
    .trouver-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .real-slider-track .real-card { flex: 0 0 calc((100% - 24px) / 2); width: calc((100% - 24px) / 2); min-width: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
    .actu-slider-track .actu-card { flex: 0 0 calc((100% - 28px) / 2); width: calc((100% - 28px) / 2); min-width: calc((100% - 28px) / 2); max-width: calc((100% - 28px) / 2); }
    .avis-card { flex: 0 0 calc((100% - 24px) / 2); width: calc((100% - 24px) / 2); min-width: calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
    .nav-container { min-height: 78px; padding: 0 16px; }
    .nav-logo { gap: 10px; min-height: 78px; }
    .nav-logo-mark { height: 88px; margin-bottom: -10px; }
    .nav-logo-mark img { height: 88px; }
    .nav-logo-text strong { font-size: 18px; }
    .nav-logo-text small { font-size: 11px; letter-spacing: 0.1em; }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #F7F5F0; padding: 20px 24px; gap: 16px;
        box-shadow: 0 10px 30px rgba(30,64,175,0.1);
        border-bottom: 4px solid var(--primary);
    }
    .realisations-grid { grid-template-columns: 1fr; }
    .actu-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .hero-dots { right: 20px; bottom: 20px; }
    .hero-title { font-size: clamp(36px, 10vw, 60px); }
    .real-slider-track .real-card { flex: 0 0 100%; width: 100%; min-width: 100%; max-width: 100%; }
    .actu-slider-track .actu-card { flex: 0 0 100%; width: 100%; min-width: 100%; max-width: 100%; }
    .avis-card { flex: 0 0 100%; width: 100%; min-width: 100%; max-width: 100%; }
    .about-img-accent { display: none; }

    .about-img-main { aspect-ratio: 4 / 3; background: none !important; }
    .about-img-main img { object-position: 50% 18%; }

    .about-stats { position: static; margin-top: 16px; display: inline-block; }
    .section { padding: 60px 0; }
}
