:root {
    /* --- ROOT VARS --- */
    --root-primary: #0F4C3A;
    --root-primary-light: #1A6B54;
    --root-accent: #22C55E;
    --root-accent-hover: #16A34A;
    --root-dark: #0f172a; /* Off-black */
    --root-text: #334155;
    --root-text-light: #64748b;
    --root-bg: #FFFFFF;
    --root-bg-light: #f8fafc;
    --root-bg-dark: #0f172a;
    --root-border: #e2e8f0;
    
    --root-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --root-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --root-shadow-diffusion: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
    
    --root-font-heading: 'Outfit', sans-serif;
    --root-font-body: 'Plus Jakarta Sans', sans-serif;

    /* --- CONCEPT-A VARS (For Header/Hero) --- */
    --color-primary: #0F2819;
    --color-accent: #22C55E;
    
    --container-width: 1320px;
    
    --header-height: 80px;
}

/* ═══════ BASE (Root Style applied to the body) ═══════ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--root-font-body);
    color: var(--root-text);
    background: var(--root-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

*:focus-visible {
    outline: 2px solid var(--root-accent);
    outline-offset: 2px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
ul { list-style: none; }

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ═══════ CONCEPT-A HEADER & HERO ═══════ */

.header h1, .header h2, .header h3, .header h4,
.hero h1, .hero h2, .hero h3, .hero h4 {
    font-family: var(--root-font-heading);
    color: white;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Layout tools for CA parts */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 32px; }

/* Buttons CA */
.btn--primary, .btn--secondary, .btn--outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 8px; font-weight: 600; padding: 12px 28px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, box-shadow 0.2s;
    font-size: 1rem; border: none; cursor: pointer;
}
.btn--primary { background-color: var(--color-accent); color: white; }
.btn--primary:hover { background-color: var(--root-accent-hover); box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2); transform: translateY(-2px); }

.btn--secondary { background-color: var(--color-primary); color: white; }
.btn--secondary:hover { background-color: var(--color-dark); transform: translateY(-2px); }

.btn--outline { border: 2px solid rgba(255,255,255,0.2); color: white; background: transparent; }
.btn--outline:hover { border-color: white; background: white; color: var(--color-primary); transform: translateY(-2px); }

.btn--lg { padding: 18px 36px; font-size: 1.1rem; }

.btn--primary:active, .btn--secondary:active, .btn--outline:active, .btn-primary:active, .btn-outline:active {
    transform: scale(0.98) translateY(0);
}

/* CA Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background 0.3s, border 0.3s, height 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: transparent;
}
.header--scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    height: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1), var(--root-shadow-diffusion);
}
.header__container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo__text { font-size: 1.5rem; color: var(--color-primary); letter-spacing: -0.05em; font-weight: 800; }
.logo__bold { font-weight: 900; color: var(--color-accent); }
.nav__list { display: flex; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav__link { text-decoration: none; color: var(--color-primary); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav__link:hover { color: var(--color-accent); }

/* Dropdown Styles */
.nav__item--dropdown { position: relative; }
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    box-shadow: var(--root-shadow-diffusion);
    opacity: 0;
    visibility: hidden;
    padding: 12px 0;
    min-width: 280px;
    list-style: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 60;
}
.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(12px);
}
.nav__dropdown li a {
    display: block;
    padding: 12px 24px;
    color: var(--root-text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.nav__dropdown li a:hover {
    background: var(--root-bg-light);
    color: var(--root-primary);
}

.menu-toggle { display: none; }
.header--scrolled .logo__text { color: var(--color-primary); }

.header:not(.header--scrolled) .logo__text { color: white; }
.header:not(.header--scrolled) .nav__link { color: white; }
.header:not(.header--scrolled) .nav__link:hover { color: var(--color-accent); }

/* CA Hero */
.hero { min-height: 100dvh; height: auto; padding: 100px 0 60px; display: flex; align-items: center; position: relative; color: white; overflow: hidden; background: var(--color-primary); }
.hero__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; }

/* Single Background for Hero */
.hero__bg-single {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(105deg, rgba(15, 40, 25, 0.95) 0%, rgba(15, 40, 25, 0.85) 45%, rgba(15, 40, 25, 0.3) 100%); z-index: 1; pointer-events: none; }
.hero__container { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 800px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero__tagline { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); padding: 7px 14px; border-radius: 100px; font-size: 0.82rem; font-weight: 600; margin-bottom: 0; backdrop-filter: blur(10px); color: white; border: 1px solid rgba(255,255,255,0.12); }
.hero__tagline--family { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.3); }
.hero__tagline--review { background: rgba(15, 76, 58, 0.32); border-color: rgba(255,255,255,0.2); }
.hero__dot { width: 7px; height: 7px; background: var(--color-accent); border-radius: 50%; box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); flex-shrink: 0; }
.hero__title { font-size: 3.5rem; color: white; margin-bottom: 20px; letter-spacing: -0.04em; line-height: 1.08; }
.text-gradient {
    background: linear-gradient(135deg, var(--color-accent), #a3e635);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__description { font-size: 1.1rem; color: rgba(255,255,255,0.88); font-weight: 400; margin-bottom: 32px; max-width: 580px; line-height: 1.6; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══════ ROOT REST OF PAGE (From Root) ═══════ */

/* Typo for root sections */
main > section:not(.hero) h1, main > section:not(.hero) h2, main > section:not(.hero) h3, main > section:not(.hero) h4,
.footer h1, .footer h2, .footer h3, .footer h4 {
    font-family: var(--root-font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--root-dark);
    letter-spacing: -0.02em;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.bg-light { background: var(--root-bg-light); }
.bg-dark { background: var(--root-bg-dark); color: #fff; }

.section-header { margin-bottom: 60px; max-width: 600px; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.7); }

.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--root-accent-hover);
    background: rgba(34, 197, 94, 0.1);
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.tag-light { background: rgba(255,255,255,0.1); color: #fff; }

.section-title { font-size: 2.5rem; letter-spacing: -0.03em; }
.section-title em { font-style: normal; color: var(--root-primary); }
.light .section-title em { color: var(--root-accent); }

/* Root Buttons */
.btn-primary, .btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.btn-primary {
    border: 2px solid transparent;
    background: var(--root-primary);
    color: #fff;
    box-shadow: var(--root-shadow);
}
.btn-primary:hover {
    background: var(--root-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--root-shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--root-dark);
    border: 2px solid var(--root-border);
}
.btn-outline:hover {
    border-color: var(--root-dark);
    background: var(--root-bg-light);
    transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* QUALIFICATIONS */
.qualifications {
    background: var(--root-bg-light);
    overflow: hidden;
}

/* Chiffres fusionnés dans la section confiance */
.trust-chiffres {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--root-primary);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
}

.trust-chiffre {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.trust-chiffre:last-child { border-right: none; }

.trust-chiffre strong {
    display: block;
    font-family: var(--root-font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.trust-chiffre span {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

@media (max-width: 768px) {
    .trust-chiffres { grid-template-columns: repeat(2, 1fr); }
    .trust-chiffre:nth-child(2) { border-right: none; }
    .trust-chiffre:nth-child(1),
    .trust-chiffre:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
}

.qualif-logos-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    padding: 40px 0;
    border-top: 1px solid var(--root-border);
    border-bottom: 1px solid var(--root-border);
    margin-bottom: 40px;
}

.qualif-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qualif-logo-item img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.qualif-logo-item span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--root-text-light);
}

.qualif-trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.trust-pill {
    flex: 1 1 180px;
    max-width: 240px;
}

.trust-pill {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--root-border);
    border-radius: 16px;
    padding: 20px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.trust-pill:hover {
    box-shadow: var(--root-shadow);
    transform: translateY(-2px);
}

.trust-pill svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--root-primary);
}

.trust-pill strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--root-dark);
    margin-bottom: 2px;
}

.trust-pill span {
    font-size: 0.8rem;
    color: var(--root-text-light);
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .qualif-trust-pills { grid-template-columns: repeat(3, 1fr); }
    .qualif-logos-strip { gap: 32px; }
}
@media (max-width: 768px) {
    .qualif-trust-pills { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .qualif-trust-pills { grid-template-columns: 1fr; }
    .qualif-logos-strip { gap: 24px; }
    .qualif-logo-item img { height: 40px; }
}

/* Google Reviews */
.reviews {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-card {
    position: relative;
    padding: 24px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card::before {
    display: none;
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.review-card__identity {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.review-card__author {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #202124;
    line-height: 1.3;
}

.review-card__verified {
    flex-shrink: 0;
}

.review-card__source {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #70757a;
    line-height: 1.3;
}

.review-card__google-logo {
    height: 14px;
    width: auto;
    vertical-align: middle;
}

.review-card__stars {
    margin-top: 14px;
    color: #fbbc05;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    line-height: 1;
}

.review-card__text {
    margin-top: 10px;
    color: #3c4043;
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card__readmore {
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a73e8;
    text-decoration: none;
}

.review-card__readmore:hover {
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { padding: 20px; }
}

/* Root Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 40px; left: 8%; right: 8%; height: 2px;
    background: var(--root-border); z-index: 0;
}
.step {
    background: #fff; padding: 32px; border-radius: 24px;
    border: 1px solid var(--root-border); position: relative; z-index: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--root-shadow-diffusion); border-color: transparent; }
.step-num {
    width: 52px; height: 52px; background: var(--root-primary); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; margin-bottom: 24px;
    box-shadow: 0 0 0 8px #fff;
    font-family: var(--root-font-heading);
}
.step h3 { font-size: 1.15rem; margin-bottom: 12px; }
.step p { color: var(--root-text-light); font-size: 0.95rem; flex-grow: 1; }
.step-detail {
    display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap;
    padding-top: 16px; border-top: 1px solid var(--root-border);
}
.step-detail span {
    font-size: 0.75rem; font-weight: 700; color: var(--root-primary);
    background: rgba(15, 76, 58, 0.06); padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}

/* Root Solutions */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sol-card {
    background: #fff; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--root-border);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; height: 100%;
}
.sol-card:hover { transform: translateY(-8px); box-shadow: var(--root-shadow-diffusion); border-color: transparent; }
.sol-img { height: 200px; overflow: hidden; position: relative; }
.sol-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.sol-card:hover .sol-img img { transform: scale(1.05); }
.sol-content { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.sol-content h3 { font-size: 1.25rem; margin-bottom: 12px; }
.sol-content p { font-size: 0.95rem; color: var(--root-text-light); margin-bottom: 24px; flex: 1; }
.link-arrow { font-size: 0.9rem; font-weight: 700; color: var(--root-primary); transition: color 0.2s; }
.sol-card:hover .link-arrow { color: var(--root-accent-hover); }
.sol-card--featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.sol-card--featured .sol-img { height: 100%; min-height: 320px; }
.sol-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--root-accent); color: #fff;
    padding: 6px 14px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 700;
}
.sol-specs {
    list-style: none; padding: 0; margin: 0 0 24px;
    display: flex; flex-direction: column; gap: 12px;
}
.sol-specs li {
    font-size: 0.9rem; color: var(--root-text); font-weight: 500;
    padding-left: 24px; position: relative;
}
.sol-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Root Réalisations - Carousel Infinite Marquee */
.realisations { overflow: hidden; } /* Ensure no horizontal scrollbar from marquee */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin: 0 -24px; /* Pull out of wrap padding */
    width: calc(100% + 48px);
}
/* Optional subtle fades on edges for smooth entry/exit */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--root-bg-dark), transparent);
}
.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--root-bg-dark), transparent);
}

.carousel-track {
    display: flex;
    gap: 32px;
    width: max-content;
    /* Animate horizontally. Total width depends on number of items. */
    animation: marquee 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 16px)); } /* 50% shift because content is doubled + half gap */
}

.carousel-item {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    cursor: pointer;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.2);
}

.carousel-item:hover img {
    transform: scale(1.05);
}

/* Root Aides */
.aides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.aide-card {
    background: #fff; padding: 40px; border-radius: 24px;
    border: 1px solid var(--root-border);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.aide-card:hover { transform: translateY(-8px); box-shadow: var(--root-shadow-diffusion); }
.aide-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.aide-header h3 { font-size: 1.25rem; margin: 0; }
.aide-montant { font-size: 0.8rem; font-weight: 700; color: var(--root-primary); background: rgba(15, 76, 58, 0.08); padding: 4px 10px; border-radius: 6px; white-space: nowrap; margin-top: 4px; }
.aide-card > p { font-size: 0.95rem; color: var(--root-text-light); margin-bottom: 24px; line-height: 1.6; }
/* Root Zone - High Agency Design */
.zone { overflow: visible; padding: 140px 0; }
.zone-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: center; }
.zone-content h2 { font-size: 3.5rem; margin-bottom: 24px; letter-spacing: -0.04em; line-height: 1.05; }
.zone-content h2 em { font-style: normal; color: var(--root-primary); }
.zone-content p { font-size: 1.1rem; color: var(--root-text-light); margin-bottom: 32px; max-width: 480px; line-height: 1.7; }
.zone-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; padding: 0; list-style: none; }
.zone-list li {
    font-size: 1.05rem; color: var(--root-dark); font-weight: 600;
    padding-left: 36px; position: relative;
    line-height: 1.5;
}
.zone-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.zone-visual-wrapper {
    position: relative;
    transform: translateY(-40px); /* Asymmetric Offset */
}
.zone-visual { 
    position: relative; 
    border-radius: 2.5rem; 
    overflow: hidden; 
    height: 600px; 
    box-shadow: var(--root-shadow-diffusion);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
}
/* Liquid Glass Inner Border */
.zone-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    pointer-events: none;
    z-index: 2;
}
.zone-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); -webkit-transform: translateZ(0); transform: translateZ(0); }
.zone-visual:hover .zone-img { transform: scale(1.05); }

/* Diagonal Split for dual images */
.zone-visual--split {
    position: relative;
}
.zone-visual--split .zone-img--left,
.zone-visual--split .zone-img--right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.zone-visual--split .zone-img--left {
    -webkit-clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);
    clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);
    z-index: 1;
}
.zone-visual--split .zone-img--right {
    -webkit-clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
    clip-path: polygon(58% 0, 100% 0, 100% 100%, 42% 100%);
    z-index: 1;
}
.zone-split-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.zone-split-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    -webkit-clip-path: polygon(56.5% 0, 59.5% 0, 43.5% 100%, 40.5% 100%);
    clip-path: polygon(56.5% 0, 59.5% 0, 43.5% 100%, 40.5% 100%);
}
.zone-split-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    -webkit-clip-path: polygon(57.7% 0, 58.3% 0, 42.3% 100%, 41.7% 100%);
    clip-path: polygon(57.7% 0, 58.3% 0, 42.3% 100%, 41.7% 100%);
}

/* Liquid Glass Floating Badge */
.zone-float-card {
    position: absolute;
    bottom: -24px;
    left: -40px; /* Offset the card to break the grid */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    animation: float-y 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.zone-float-icon {
    width: 52px;
    height: 52px;
    background: var(--root-primary);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.zone-float-text strong {
    display: block;
    color: var(--root-dark);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    font-family: var(--root-font-heading);
    margin-bottom: 2px;
}
.zone-float-text span {
    display: block;
    font-size: 0.9rem;
    color: var(--root-text-light);
    font-weight: 500;
}

/* Root Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-left h2 { font-size: 3rem; margin-bottom: 16px; letter-spacing: -0.03em; }
.contact-left > p { font-size: 1.1rem; color: var(--root-text-light); margin-bottom: 48px; }
.contact-cards { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
    display: flex; gap: 24px; align-items: center;
    background: #fff; padding: 24px; border-radius: 20px;
    border: 1px solid var(--root-border);
}
.contact-item .icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(15, 76, 58, 0.05); border-radius: 12px; }
.contact-item strong { display: block; color: var(--root-dark); font-size: 1.05rem; margin-bottom: 4px; }
.contact-item p { color: var(--root-text-light); font-size: 0.95rem; margin: 0; }
.contact-item a { color: var(--root-primary); font-weight: 600; }
.contact-item a:hover { color: var(--root-accent-hover); }

/* Form Styles */
.contact-form {
    background: #fff; padding: 48px; border-radius: 32px;
    border: 1px solid var(--root-border);
    box-shadow: var(--root-shadow-diffusion);
    margin-top: 150px;
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 32px; letter-spacing: -0.02em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; text-align: left; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--root-dark); }
.form-group label span { color: #ef4444; }

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 16px; margin: 0;
    background: var(--root-bg-light); border: 1px solid var(--root-border);
    border-radius: 12px; font-size: 1rem; color: var(--root-dark); font-family: var(--root-font-body);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--root-primary); background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 76, 58, 0.1);
}

.error-msg { display: none; font-size: 0.85rem; color: #ef4444; font-weight: 500; margin-top: 4px; }
.form-group.is-error .error-msg { display: block; animation: fadeIn 0.3s; }
.form-group.is-error input { border-color: #ef4444; background: #fef2f2; }
.form-group.is-error input:focus { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.submit-icon { flex-shrink: 0; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); margin-right: 4px; }
.btn-primary:hover .submit-icon { transform: translateX(3px) translateY(-1px); }

.form-note { text-align: center; font-size: 0.85rem; color: var(--root-text-light); margin-top: 24px; }

#submitBtn {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background-color 0.4s ease;
}
#submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(15, 76, 58, 0.3);
}
#submitBtn:active {
    transform: scale(0.98) translateY(0);
}

/* Root Footer */
.footer { background: var(--root-dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer .logo { color: #fff; margin-bottom: 24px; display: inline-flex; align-items: center; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;}
.footer .logo strong { color: var(--root-accent); font-weight: 800;}
.brand-col p { font-size: 0.95rem; line-height: 1.6; margin: 0; }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; font-family: var(--root-font-heading); font-weight: 700; }
.footer-col a { display: block; margin-bottom: 12px; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--root-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 32px 0; text-align: center; font-size: 0.9rem; }

/* RESPONSIVE ROOT */
@media (max-width: 1200px) {
    .hero__title { font-size: 3rem; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
}
@media (max-width: 1024px) {
    .steps { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr 1fr; }
    .sol-card--featured { grid-column: span 2; }
    .contact-wrap { grid-template-columns: 1fr; }
    .aides-grid { grid-template-columns: 1fr; }
    .zone-wrap { grid-template-columns: 1fr; text-align: left; gap: 60px; }
    .zone-content h2 { font-size: 3rem; }
    .zone-visual-wrapper { transform: translateY(0); max-width: 100%; margin: 0 auto; }
    .zone-visual { height: auto; aspect-ratio: 1 / 1; -webkit-transform: translateZ(0); transform: translateZ(0); }
    .zone-float-card { left: -16px; bottom: -16px; }

    .zone-visual--split .zone-img--left {
        position: static !important;
        inset: auto !important;
        -webkit-clip-path: none !important;
        clip-path: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    .zone-visual--split .zone-img--right,
    .zone-split-line {
        display: none !important;
    }

}
@media (max-width: 992px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 32px 24px;
        border-top: 1px solid var(--root-border);
        box-shadow: var(--root-shadow-diffusion);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav--open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .nav__item--dropdown { width: 100%; }
    .nav__dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        margin-top: 12px;
        display: none;
        min-width: auto;
    }
    .nav__item--dropdown:hover .nav__dropdown {
        transform: none;
    }
    .nav__item--dropdown.open .nav__dropdown { display: block; }
    .nav__link { color: var(--root-dark) !important; font-size: 1.1rem; }
    
    .menu-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; }
    .menu-toggle__line { width: 24px; height: 2px; background: var(--color-primary); transition: transform 0.3s, opacity 0.3s; }
    .header:not(.header--scrolled) .menu-toggle__line { background: #fff; }
    
    .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--color-primary); }
    .menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) { transform: translateY(-0px) rotate(-45deg); background: var(--color-primary); }

    .hero__title { font-size: 2.6rem; }
}
@media (max-width: 768px) {
    .hero { padding: 100px 0 40px; }
    
    .hero__bg-single {
        /* Adjusted for mobile */
        background-position: center;
    }
    
    .hero__overlay {
        background: linear-gradient(to top, rgba(15, 40, 25, 0.95) 0%, rgba(15, 40, 25, 0.8) 60%, rgba(15, 40, 25, 0.5) 100%);
    }

    .hero__title { font-size: 2rem; }
    .hero__description { font-size: 1rem; }
    .solutions-grid { grid-template-columns: 1fr; }
    .sol-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 32px 24px; }
    .zone-visual { border-radius: 1.5rem; -webkit-transform: translateZ(0); transform: translateZ(0); }
    .zone-content h2 { font-size: 2.2rem; }
}

/* ═══════ SEO SECTIONS ═══════ */

/* Breadcrumbs */
.breadcrumb {
    padding: 16px 0 0;
    margin-top: calc(var(--header-height) + 16px);
}
.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--root-text-light);
    flex-wrap: wrap;
}
.breadcrumb__list a {
    color: var(--root-primary);
    font-weight: 600;
}
.breadcrumb__list a:hover { color: var(--root-accent-hover); }
.breadcrumb__sep { color: var(--root-border); user-select: none; }

/* FAQ Accordion */
.faq { padding: 100px 0; }
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--root-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item:hover { border-color: rgba(15, 76, 58, 0.2); }
.faq-item.open { border-color: var(--root-primary); box-shadow: 0 4px 20px rgba(15, 76, 58, 0.08); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 24px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--root-dark);
    font-family: var(--root-font-heading);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    line-height: 1.4;
}
.faq-question:hover { color: var(--root-primary); }
.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(15, 76, 58, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--root-primary); color: #fff; }
.faq-icon svg { width: 16px; height: 16px; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.95rem;
    color: var(--root-text-light);
    line-height: 1.7;
}
.faq-answer-inner strong { color: var(--root-dark); }

/* Zone d'intervention (links grid on expertise pages) */
.zone-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.zone-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(15, 76, 58, 0.05);
    border: 1px solid rgba(15, 76, 58, 0.1);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--root-primary);
    transition: background 0.2s, transform 0.2s;
}
.zone-links a:hover {
    background: var(--root-primary);
    color: #fff;
    transform: translateY(-1px);
}

/* Cross-links / Related services */
.crosslinks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.crosslink-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--root-border);
    border-radius: 16px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.crosslink-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--root-shadow);
    border-color: transparent;
}
.crosslink-card span {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--root-dark);
}
.crosslink-icon {
    width: 44px;
    height: 44px;
    background: rgba(15, 76, 58, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--root-primary);
}

/* Content blocks for enriched pages */
.content-block { max-width: 800px; margin: 0 auto 48px; }
.content-block h3 { font-size: 1.4rem; margin-bottom: 16px; }
.content-block p { font-size: 1rem; color: var(--root-text); line-height: 1.7; margin-bottom: 16px; }
.content-block ul { margin-bottom: 16px; padding-left: 0; }
.content-block ul li {
    font-size: 0.95rem;
    color: var(--root-text);
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}
.content-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Section description */
.section-desc {
    font-size: 1.05rem;
    color: var(--root-text-light);
    margin-top: 16px;
    max-width: 600px;
    line-height: 1.6;
}

/* Blog cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--root-border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--root-shadow-diffusion); }
.blog-card__img { height: 200px; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__content { padding: 28px; }
.blog-card__tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--root-accent-hover); margin-bottom: 12px; display: inline-block; }
.blog-card__content h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.3; }
.blog-card__content p { font-size: 0.92rem; color: var(--root-text-light); margin-bottom: 16px; line-height: 1.6; }

/* Article body */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 1.8rem; margin: 48px 0 20px; }
.article-body h3 { font-size: 1.3rem; margin: 36px 0 16px; }
.article-body p { font-size: 1.05rem; line-height: 1.8; color: var(--root-text); margin-bottom: 20px; }
.article-body ul, .article-body ol { margin-bottom: 20px; padding-left: 24px; }
.article-body li { font-size: 1rem; line-height: 1.7; margin-bottom: 8px; color: var(--root-text); }
.article-body blockquote {
    border-left: 4px solid var(--root-accent);
    padding: 20px 24px;
    margin: 32px 0;
    background: var(--root-bg-light);
    border-radius: 0 16px 16px 0;
    font-size: 1.05rem;
    color: var(--root-text);
}
.article-meta { font-size: 0.88rem; color: var(--root-text-light); margin-bottom: 32px; }

/* Certif badges inline */
.certif-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}
.certif-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(15, 76, 58, 0.05);
    border: 1px solid rgba(15, 76, 58, 0.12);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--root-primary);
}
.certif-badge svg { width: 16px; height: 16px; }

/* Responsive for new sections */
@media (max-width: 768px) {
    .faq-question { padding: 20px; font-size: 0.95rem; }
    .faq-answer-inner { padding: 0 20px 20px; }
    .crosslinks { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .breadcrumb { margin-top: calc(var(--header-height) + 8px); }
}