/* ============================================
   Jarrige Stéphane — Façadier Peintre Plâtrier
   ============================================ */

:root {
    --brand: #1A4384;
    --brand-dark: #0F2A54;
    --brand-mid: #2A5699;
    --brand-soft: #E8EEF6;
    --stone: #8B8178;
    --stone-light: #D4CFC8;
    --bg: #F4F6F9;
    --bg-alt: #EAEFF5;
    --bg-dark: #0C1B33;
    --text: #1C2430;
    --text-light: #5A6575;
    --text-white: #F7F9FC;
    --border: #D5DCE6;
    --shadow: 0 8px 28px rgba(15, 42, 84, 0.08);
    --shadow-lg: 0 18px 48px rgba(15, 42, 84, 0.14);
    --radius: 4px;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font: 'Manrope', system-ui, sans-serif;
    --display: 'Fraunces', Georgia, serif;
    /* Compat pages secondaires */
    --primary: var(--brand);
    --primary-dark: var(--brand-dark);
    --primary-light: var(--brand-mid);
    --accent: var(--brand);
    --accent-dark: var(--brand-dark);
    --accent-light: var(--brand-mid);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--brand); }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(244, 246, 249, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 4px 24px rgba(15, 42, 84, 0.06);
}
.nav-container {
    max-width: 1140px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 24px; gap: 16px;
    min-height: 72px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin: -4px 0; }
.nav-logo img {
    height: 68px; width: auto; max-width: 280px;
    object-fit: contain; object-position: left center;
    display: block;
}
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.nav-links a {
    font-size: 13px; font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.01em;
    position: relative; transition: color 0.25s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--brand);
    transition: width 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand); color: white;
    padding: 11px 18px; border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    transition: var(--transition); white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-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(--brand-dark); transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== HERO ========== */
.hero {
    position: relative; height: 100vh; min-height: 620px;
    overflow: hidden; display: flex; align-items: flex-end;
    padding-bottom: 12vh;
}
.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 8s ease-out;
    transform: scale(1.06);
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 27, 51, 0.25) 0%, rgba(12, 27, 51, 0.55) 45%, rgba(12, 27, 51, 0.88) 100%),
        linear-gradient(90deg, rgba(12, 27, 51, 0.55) 0%, transparent 55%);
}
.hero-content {
    position: relative; z-index: 2;
    width: min(720px, 92vw);
    margin: 0 auto 0 8vw;
    color: white;
}
.hero-brand {
    font-family: var(--display);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    animation: fadeInDown 0.9s 0.15s both;
}
.hero-title {
    font-family: var(--display);
    font-size: clamp(34px, 6vw, 64px);
    font-weight: 700; line-height: 1.08;
    margin-bottom: 16px;
    animation: fadeInUp 0.9s 0.3s both;
}
.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    opacity: 0.9; max-width: 460px; margin-bottom: 28px;
    font-weight: 500;
    animation: fadeInUp 0.9s 0.45s both;
}
.hero-actions {
    display: flex; gap: 12px; flex-wrap: wrap;
    animation: fadeInUp 0.9s 0.6s both;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px; border-radius: var(--radius);
    font-size: 14px; font-weight: 700;
    transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: #fff; color: var(--brand-dark); }
.btn-primary:hover { background: var(--brand-soft); transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.hero-scroll {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    z-index: 2; text-align: center; color: rgba(255,255,255,0.65);
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 600;
}
.scroll-line { width: 1px; height: 36px; background: rgba(255,255,255,0.35); 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: 10px; height: 10px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.55); background: transparent;
    cursor: pointer; transition: 0.3s; padding: 0;
}
.hero-dot.active { background: #fff; border-color: #fff; }

/* ========== SECTIONS ========== */
.section { padding: 96px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 800;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--brand); margin-bottom: 12px;
}
.section-title {
    font-family: var(--display);
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 650; color: var(--brand-dark);
    line-height: 1.15; margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.section-desc {
    font-size: 16px; color: var(--text-light);
    max-width: 640px; margin: 0 auto; line-height: 1.7;
}

/* Intro */
.section-intro {
    background:
        radial-gradient(ellipse at top right, rgba(26, 67, 132, 0.08), transparent 50%),
        var(--bg);
}
.intro-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}
.intro-copy .section-title { text-align: left; }
.intro-copy p { color: var(--text-light); margin-bottom: 14px; font-size: 16px; }
.prestations-list {
    display: grid; gap: 0;
    border-top: 1px solid var(--border);
}
.prestations-list li {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 600; color: var(--brand-dark); font-size: 15px;
}
.prestations-list i {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--brand); background: var(--brand-soft);
    border-radius: var(--radius); font-size: 14px;
}

/* Entreprise */
.section-entreprise { background: #fff; }
.entreprise-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.entreprise-visual {
    overflow: hidden; border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
}
.entreprise-visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,67,132,0.12), transparent 55%);
    pointer-events: none;
}
.entreprise-visual img {
    width: 100%; height: 480px; object-fit: cover;
}
.entreprise-copy .section-title { text-align: left; }
.entreprise-copy p { color: var(--text-light); margin-bottom: 16px; font-size: 16px; }
.entreprise-objectif {
    font-family: var(--display);
    font-size: 22px; color: var(--brand-dark);
    font-weight: 600; margin: 20px 0 28px !important;
}
.entreprise-copy .btn-primary {
    background: var(--brand); color: #fff;
}
.entreprise-copy .btn-primary:hover { background: var(--brand-dark); }

/* Services */
.section-ravalement { background: var(--bg-alt); }
.section-isolation { background: #fff; }
.service-split {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}
.service-split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.service-split.reverse .service-media { order: 2; }
.service-split.reverse .service-body { order: 1; }
.service-media {
    overflow: hidden; border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.service-media img { width: 100%; height: 420px; object-fit: cover; }
.service-body h3 {
    font-family: var(--display);
    font-size: 26px; color: var(--brand-dark);
    margin-bottom: 18px; font-weight: 650;
}
.service-body > p { color: var(--text-light); margin-top: 18px; }
.check-list { display: grid; gap: 10px; }
.check-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}
.check-list li::before {
    content: '';
    position: absolute; left: 0; top: 8px;
    width: 14px; height: 14px;
    border: 2px solid var(--brand);
    border-radius: 2px;
    background:
        linear-gradient(var(--brand), var(--brand)) center / 8px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) center / 2px 8px no-repeat;
}

/* Engagements */
.section-engagements {
    background:
        linear-gradient(160deg, var(--brand-dark) 0%, var(--brand) 100%);
    color: #fff;
}
.section-engagements .section-tag { color: rgba(255,255,255,0.7); }
.section-engagements .section-title { color: #fff; }
.engagements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.15);
}
.engagements-grid li {
    background: rgba(12, 27, 51, 0.35);
    padding: 28px 22px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
.engagements-grid strong {
    display: block;
    font-family: var(--display);
    font-size: 22px;
    color: #fff;
    font-weight: 650;
    margin-bottom: 4px;
}

/* ========== RÉALISATIONS ========== */
.section-realisations { background: var(--bg); }
.realisations-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.real-card { display: block; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.real-card-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.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.06); }
.real-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12,27,51,0.92) 0%, transparent 58%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 22px; opacity: 0; transition: opacity 0.35s;
}
.real-card:hover .real-card-overlay { opacity: 1; }
.real-card-overlay h3 { color: white; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.real-card-overlay p { color: rgba(255,255,255,0.8); font-size: 14px; }
.real-card-link { color: #fff; font-size: 13px; font-weight: 700; margin-top: 10px; }
.real-card-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.real-cat {
    display: inline-block; padding: 5px 10px;
    background: rgba(255,255,255,0.14); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.real-cat.dark { background: var(--brand-soft); color: var(--brand); }
.real-card-body-simple { background: #fff; min-height: 100%; padding: 24px; box-shadow: var(--shadow); }
.real-card-body-simple h3 { color: var(--brand-dark); font-size: 20px; margin-bottom: 8px; }
.real-card-body-simple p { color: var(--text-light); font-size: 14px; line-height: 1.6; }
.real-card-date.dark { color: var(--brand); display: inline-block; margin-top: 10px; }
.avis-card { color: inherit; text-decoration: none; }

/* ========== ACTUALITÉS ========== */
.section-actualites { background: #fff; }
.actu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.actu-card {
    display: block;
    background: var(--bg);
    overflow: hidden;
    transition: var(--transition);
}
.actu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.actu-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.actu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.actu-card:hover .actu-card-img img { transform: scale(1.04); }
.actu-date-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--brand); color: white;
    padding: 4px 12px;
    font-size: 12px; font-weight: 700;
}
.actu-card-body { padding: 20px; }
.actu-card-body h3 { font-size: 18px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.actu-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.actu-readmore { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 700; font-size: 13px; }

.site-pagination,
.actu-pagination {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 16px; margin-top: 48px;
}
.site-page-numbers,
.actu-page-numbers { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.site-page-num,
.actu-page-num {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    font-size: 14px; font-weight: 600;
    color: var(--text-light); background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.site-page-num:hover,
.actu-page-num:hover { color: var(--brand); border-color: var(--brand); }
.site-page-num.active,
.actu-page-num.active {
    background: var(--brand); color: #fff; border-color: var(--brand);
    pointer-events: none;
}
.site-page-ellipsis {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 28px; height: 42px;
    color: var(--text-light); font-weight: 700; letter-spacing: 0.08em;
    user-select: none;
}
.site-page-btn,
.actu-page-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    font-size: 14px; font-weight: 600; color: var(--brand);
    background: #fff; border: 1px solid var(--border);
    transition: var(--transition);
}
.site-page-btn:hover:not(.disabled),
.actu-page-btn:hover:not(.disabled) { background: var(--brand); color: #fff; border-color: var(--brand); }
.site-page-btn.disabled,
.actu-page-btn.disabled { opacity: 0.4; cursor: default; }

.section-ajax-body {
    position: relative;
    transition: opacity 0.25s ease;
}
.section-ajax-body.is-loading {
    opacity: 0.45;
    pointer-events: none;
}
.section-ajax-body.is-loading::after {
    content: '';
    position: absolute;
    top: 24px; left: 50%;
    width: 28px; height: 28px;
    margin-left: -14px;
    border: 3px solid var(--brand-soft);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: pageSpin 0.7s linear infinite;
    z-index: 2;
}
@keyframes pageSpin { to { transform: rotate(360deg); } }

/* ========== AVIS ========== */
.section-avis { background: var(--bg-dark); color: white; }
.section-avis .section-title { color: white; }
.section-avis .section-tag { color: rgba(255,255,255,0.65); }
.avis-slider-wrap { position: relative; overflow: hidden; }
.avis-track { display: flex; gap: 24px; transition: transform 0.5s ease; width: 100%; align-items: stretch; }
.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: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 28px;
}
.avis-stars { color: #E8B84A; font-size: 15px; margin-bottom: 14px; }
.avis-text {
    font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.85);
    margin-bottom: 20px; font-style: italic;
    white-space: normal; overflow-wrap: anywhere;
}
.avis-footer { display: flex; align-items: center; gap: 12px; }
.avis-avatar {
    width: 42px; height: 42px; min-width: 42px; border-radius: 50%;
    background: var(--brand-mid); color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; overflow: hidden;
}
.avis-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avis-author { font-weight: 700; font-size: 15px; }
.avis-date { font-size: 13px; opacity: 0.5; }
.avis-controls {
    display: flex; justify-content: center; gap: 12px; margin-top: 32px;
}
.avis-btn {
    width: 46px; height: 46px;
    border: 1px solid rgba(255,255,255,0.2); background: transparent;
    color: white; font-size: 16px; cursor: pointer;
    transition: 0.3s; display: flex; align-items: center; justify-content: center;
}
.avis-btn:hover { background: var(--brand); border-color: var(--brand); }

/* ========== CONTACT ========== */
.section-contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.contact-item {
    display: flex; gap: 16px; padding: 20px; align-items: center;
    background: #fff;
    border-left: 3px solid var(--brand);
    transition: var(--transition);
    flex: 1;
}
.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact-icon {
    width: 46px; height: 46px; min-width: 46px;
    background: var(--brand);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.contact-item h3 { font-size: 14px; font-weight: 800; color: var(--brand-dark); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-item p { font-size: 15px; color: var(--text-light); line-height: 1.55; }
.contact-item a { color: var(--brand); font-weight: 600; transition: 0.25s; }
.contact-item a:hover { color: var(--brand-dark); }
.contact-map {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    height: 100%;
    min-height: 420px;
}
.contact-map iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== FOOTER ========== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.72); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 36px; }
.footer-brand a { display: inline-block; }
.footer-logo {
    height: 88px; width: auto; max-width: 260px; object-fit: contain;
    margin-bottom: 12px;
    background: #fff; padding: 8px 12px; border-radius: var(--radius);
}
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-links h4, .footer-contact h4 {
    font-size: 13px; font-weight: 800; color: white;
    margin-bottom: 16px; letter-spacing: 0.08em; text-transform: uppercase;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: 0.25s; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 14px; margin-bottom: 10px; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { width: 18px; color: #8FAAD4; margin-right: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 10px;
    font-size: 13px; opacity: 0.7;
}
.footer-bottom a:hover { color: #fff; }
.footer-admin a { color: rgba(255,255,255,0.35); }
.footer-admin a:hover { color: #fff; }

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 46px; height: 46px;
    background: var(--brand); color: white;
    border: none; cursor: pointer; font-size: 16px;
    box-shadow: 0 8px 22px rgba(26, 67, 132, 0.35);
    opacity: 0; transform: translateY(16px);
    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(--brand-dark); transform: translateY(-3px); }

/* Lightbox */
.real-lightbox {
    display: none; position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,0.92);
    align-items: center; justify-content: center; flex-direction: column;
}
.real-lightbox[hidden] { display: none !important; }
#rlb-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; z-index: 2;
}
#rlb-prev, #rlb-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.12); border: none; color: #fff;
    font-size: 22px; width: 46px; height: 46px; cursor: pointer;
}
#rlb-prev { left: 16px; }
#rlb-next { right: 16px; }
#rlb-img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
#rlb-title { color: #fff; font-size: 17px; font-weight: 700; margin-top: 14px; text-align: center; }
#rlb-counter { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 6px; }

.empty-state {
    text-align: center; padding: 60px 20px;
    color: var(--text-light); font-size: 16px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 36px; }
    50% { opacity: 0.35; height: 22px; }
}

[data-anim] { opacity: 0; transform: translateY(36px); }
[data-anim="fade-right"] { transform: translateX(-36px); }
[data-anim="fade-left"] { transform: translateX(36px); }
[data-anim].animated { opacity: 1; transform: translate(0); transition: all 0.75s 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 .prestations-list li,
[data-anim="stagger"].animated .engagements-grid li {
    animation: fadeInUp 0.55s both;
}
[data-anim="stagger"].animated .real-card:nth-child(1),
[data-anim="stagger"].animated .actu-card:nth-child(1),
[data-anim="stagger"].animated .prestations-list li:nth-child(1),
[data-anim="stagger"].animated .engagements-grid li:nth-child(1) { animation-delay: 0.05s; }
[data-anim="stagger"].animated .real-card:nth-child(2),
[data-anim="stagger"].animated .actu-card:nth-child(2),
[data-anim="stagger"].animated .prestations-list li:nth-child(2),
[data-anim="stagger"].animated .engagements-grid li:nth-child(2) { animation-delay: 0.1s; }
[data-anim="stagger"].animated .real-card:nth-child(3),
[data-anim="stagger"].animated .actu-card:nth-child(3),
[data-anim="stagger"].animated .prestations-list li:nth-child(3),
[data-anim="stagger"].animated .engagements-grid li:nth-child(3) { animation-delay: 0.15s; }
[data-anim="stagger"].animated .real-card:nth-child(4),
[data-anim="stagger"].animated .actu-card:nth-child(4),
[data-anim="stagger"].animated .prestations-list li:nth-child(4),
[data-anim="stagger"].animated .engagements-grid li:nth-child(4) { animation-delay: 0.2s; }
[data-anim="stagger"].animated .real-card:nth-child(5),
[data-anim="stagger"].animated .actu-card:nth-child(5),
[data-anim="stagger"].animated .prestations-list li:nth-child(5),
[data-anim="stagger"].animated .engagements-grid li:nth-child(5) { animation-delay: 0.25s; }
[data-anim="stagger"].animated .real-card:nth-child(6),
[data-anim="stagger"].animated .actu-card:nth-child(6),
[data-anim="stagger"].animated .prestations-list li:nth-child(6),
[data-anim="stagger"].animated .engagements-grid li:nth-child(6) { animation-delay: 0.3s; }
[data-anim="stagger"].animated .engagements-grid li:nth-child(7) { animation-delay: 0.35s; }
[data-anim="stagger"].animated .engagements-grid li:nth-child(8) { animation-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 12px; }
}

@media (max-width: 1024px) {
    .intro-layout,
    .entreprise-grid,
    .service-split,
    .service-split.reverse,
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .service-split.reverse .service-media,
    .service-split.reverse .service-body { order: initial; }
    .entreprise-visual img,
    .service-media img { height: 340px; }
    .realisations-grid,
    .actu-grid { grid-template-columns: repeat(2, 1fr); }
    .engagements-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { margin-left: 24px; margin-right: 24px; }
    .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) {
    .navbar {
        position: -webkit-sticky;
        position: sticky;
        top: 0; z-index: 9999;
    }
    .hero {
        height: calc(100vh - 72px);
        height: calc(100dvh - 72px);
        min-height: 520px;
        align-items: center;
        padding-bottom: 0;
    }
    .nav-container { padding: 6px 16px; min-height: 60px; }
    .nav-logo img { height: 54px; max-width: 220px; }
    .footer-logo { height: 72px; max-width: 220px; }
    .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: #fff;
        padding: 18px 22px; gap: 14px;
        box-shadow: 0 12px 30px rgba(15, 42, 84, 0.12);
    }
    .realisations-grid,
    .actu-grid,
    .engagements-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-dots { right: 16px; bottom: 18px; }
    .hero-scroll { display: none; }
    .avis-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    .section { padding: 64px 0; }
}
