/**
 * Hom Access - Modern Bootstrap 5 Template
 * Contemporary Design with Advanced CSS Features
 * Copyright (C) 2026 Oui.onl. All rights reserved.
 */

/* ========================================================================
   MODERN CSS VARIABLES & THEMING
   ======================================================================== */

:root {
    /* Colors - Hom Access Brand Palette (from original site) */
    --primary-color: #a7c839;
    --secondary-color: #3c3c3b;
    --accent-color: #9cc603;
    --dark-color: #3c3c3b;
    --light-color: #f8fafc;

    /* Header & Footer Colors */
    --header-bg-color: #ffffff;
    --footer-bg-color: #3c3c3b;
    --footer-text-color: #ffffff;

    /* Logo Dimensions */
    --logo-width: 200px;
    --logo-width-mobile: 120px;

    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography - Open Sans (original Hom Access font) */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --header-height: 80px;
    --section-padding: 4rem;
    --content-max-width: 1400px;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-base: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

/* ========================================================================
   BASE STYLES
   ======================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Remove default Bootstrap container padding for full-width sections */
.container, .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* Add padding back to content areas */
.modern-header .container,
.modern-header .container-fluid,
.site-main .container,
.site-main .container-fluid,
.modern-footer .container,
.modern-footer .container-fluid,
.breadcrumb-section .container,
.breadcrumb-section .container-fluid,
.top-info-bar .container,
.top-info-bar .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .modern-header .container,
    .modern-header .container-fluid,
    .site-main .container,
    .site-main .container-fluid,
    .modern-footer .container,
    .modern-footer .container-fluid,
    .breadcrumb-section .container,
    .breadcrumb-section .container-fluid,
    .top-info-bar .container,
    .top-info-bar .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .modern-header .container,
    .modern-header .container-fluid,
    .site-main .container,
    .site-main .container-fluid,
    .modern-footer .container,
    .modern-footer .container-fluid,
    .breadcrumb-section .container,
    .breadcrumb-section .container-fluid,
    .top-info-bar .container,
    .top-info-bar .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--link-color, var(--primary-color));
    text-decoration: none;
    transition: all var(--transition-base);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================================================
   TOP INFO BAR
   ======================================================================== */

.top-info-bar {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-900) 100%);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.top-info-bar a {
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
}

.top-info-bar a:hover {
    color: white;
}

.top-info-bar i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* ========================================================================
   MODERN HEADER
   ======================================================================== */

.modern-header {
    background: var(--header-bg-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1100;
    transition: all var(--transition-base);
}

.modern-header.sticky-top {
    position: sticky;
    top: 0;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modern-header.sticky-top.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.modern-header .navbar {
    padding: 1.25rem 0;
    transition: padding var(--transition-base);
}

.modern-header.sticky-top.scrolled .navbar {
    padding: 0.75rem 0;
}

/* Logo/Brand Styling */
.navbar-brand-wrapper {
    flex-shrink: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--dark-color);
    transition: transform var(--transition-base);
    padding: 0;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--dark-color);
}

.site-logo {
    max-height: 50px;
    width: auto;
    transition: all var(--transition-base);
}

.modern-header.sticky-top.scrolled .site-logo {
    max-height: 40px;
}

.brand-name {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--gray-600);
    margin-top: 0.25rem;
    -webkit-text-fill-color: var(--gray-600);
}

/* Navigation */
.navbar-collapse {
    flex-grow: 1;
}

.navbar-nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.navbar-nav-wrapper .nav,
.navbar-nav-wrapper .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.navbar-nav-wrapper .nav-item,
.navbar-nav-wrapper li {
    position: relative;
}

/* Ensure dropdown parent has enough padding for hover bridge */
.navbar-nav-wrapper .nav-item.dropdown {
    padding-bottom: 0;
}

.navbar-nav-wrapper .nav-link,
.navbar-nav-wrapper a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-base);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.navbar-nav-wrapper .nav-link::before,
.navbar-nav-wrapper a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-nav-wrapper .nav-link:hover::before,
.navbar-nav-wrapper a:hover::before,
.navbar-nav-wrapper .nav-link.active::before,
.navbar-nav-wrapper .active a::before,
.navbar-nav-wrapper .current a::before {
    width: 80%;
}

.navbar-nav-wrapper .nav-link:hover,
.navbar-nav-wrapper a:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.navbar-nav-wrapper .nav-link.active,
.navbar-nav-wrapper .active a,
.navbar-nav-wrapper .current a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown Menu */
.navbar-nav-wrapper .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    margin-top: 0;
    background: white;
    animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    z-index: 1050;
    position: absolute;
    top: 100%;
    left: 0;
}

/* Create invisible bridge to prevent hover gap */
.navbar-nav-wrapper .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

/* Keep dropdown open on hover */
.navbar-nav-wrapper .dropdown:hover > .dropdown-menu {
    display: block;
}

/* Ensure dropdown toggle is clickable and hoverable */
.navbar-nav-wrapper .dropdown > .nav-link {
    position: relative;
}

/* Dropdown arrow icon */
.navbar-nav-wrapper .dropdown-arrow {
    font-size: 0.625rem;
    margin-left: 0.375rem;
    transition: transform var(--transition-fast);
    opacity: 0.7;
}

.navbar-nav-wrapper .dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav-wrapper .dropdown-item {
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.navbar-nav-wrapper .dropdown-item:hover {
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05));
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Header Extras */
.header-extras {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.header-extras .btn {
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* Phone CTA Button */
.phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.phone-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.4);
    color: white;
}

.phone-cta i {
    font-size: 1rem;
}

/* Mobile phone button */
.offcanvas-extras .phone-cta {
    justify-content: center;
}

/* Header Map CTA Button */
.header-map-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    min-width: 48px;
    height: 48px;
}

.header-map-cta:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.header-map-cta i {
    font-size: 1.125rem;
}

/* Mobile map button with text */
.offcanvas-extras .header-map-cta {
    justify-content: center;
    padding: 0.75rem 1.5rem;
    min-width: auto;
    width: auto;
    height: auto;
}

/* Burger Menu Button */
.burger-menu {
    border: none;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--transition-base);
}

.burger-menu:hover {
    transform: scale(1.05);
}

.burger-menu:focus {
    outline: none;
    box-shadow: none;
}

.burger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-menu:hover .burger-line {
    background: var(--primary-color);
}

/* Offcanvas Sidebar */
.offcanvas,
#offcanvasMenu {
    width: 320px !important;
    max-width: 85vw;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.offcanvas-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.offcanvas-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
}

.offcanvas-logo {
    max-height: 40px;
    width: auto;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.offcanvas-header .btn-close:hover {
    opacity: 1;
}

.offcanvas-body {
    padding: 0;
    overflow-y: auto;
}

/* Offcanvas Navigation */
.offcanvas-nav {
    padding: 1rem 0;
}

.offcanvas-nav .nav {
    width: 100%;
}

.offcanvas-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
}

.offcanvas-nav .nav-link {
    padding: 1rem 1.5rem;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-base);
    position: relative;
}

.offcanvas-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.offcanvas-nav .nav-link:hover,
.offcanvas-nav .nav-link:focus {
    background: var(--gray-50);
    color: var(--primary-color);
    padding-left: 2rem;
}

.offcanvas-nav .nav-link:hover::before,
.offcanvas-nav .nav-link.active::before {
    transform: scaleY(1);
}

.offcanvas-nav .nav-link.active {
    background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.1), transparent);
    color: var(--primary-color);
    font-weight: 600;
}

/* Offcanvas Dropdown */
.offcanvas-nav .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: var(--gray-50);
    box-shadow: none;
}

.offcanvas-nav .dropdown-item {
    padding: 0.875rem 1.5rem 0.875rem 3rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
}

.offcanvas-nav .dropdown-item::before {
    content: '›';
    position: absolute;
    left: 2rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.offcanvas-nav .dropdown-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.offcanvas-nav .dropdown-item:hover {
    background: var(--white);
    color: var(--primary-color);
    padding-left: 3.5rem;
}

/* Offcanvas Modules */
.offcanvas-modules {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.offcanvas-extras {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

/* Offcanvas Legal Menu */
.offcanvas-legal-menu {
}

/* ========================================================================
   HERO BANNER
   ======================================================================== */

.hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.3;
}

/* ========================================================================
   BREADCRUMBS
   ======================================================================== */

.breadcrumb-section {
    background: var(--gray-100);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--gray-800);
}

/* ========================================================================
   MAIN CONTENT
   ======================================================================== */

.site-main {
    min-height: calc(100vh - 400px);
}

.content-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

/* With Sidebars */
.content-grid:has(.sidebar-left):has(.sidebar-right) {
    grid-template-columns: 280px 1fr 280px;
}

.content-grid:has(.sidebar-left):not(:has(.sidebar-right)) {
    grid-template-columns: 280px 1fr;
}

.content-grid:has(.sidebar-right):not(:has(.sidebar-left)) {
    grid-template-columns: 1fr 280px;
}

.main-content {
    min-width: 0;
}

/* Component Wrapper */
.component-wrapper {
    background: white;
}



/* ========================================================================
   MODULES & CARDS
   ======================================================================== */

.moduletable,
.module {
    margin-bottom: 2rem;
}

.moduletable-card,
.module-card,
.sidebar .moduletable,
.sidebar .module {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.moduletable-card:hover,
.module-card:hover,
.sidebar .moduletable:hover,
.sidebar .module:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.moduletable h3,
.module h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-100);
    position: relative;
    color: var(--dark-color);
}

.moduletable h3::after,
.module h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* ========================================================================
   CTA (CALL TO ACTION) SECTION
   ======================================================================== */

.cta-section {
    /* Module handles its own styling */
}

/* ========================================================================
   MODERN FOOTER
   ======================================================================== */

.modern-footer {
    background: var(--footer-bg-color);
    color: var(--footer-text-color);
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    padding: 3rem 0;
}

.footer-grid {
    gap: 2rem;
}

/* Footer Logo */
.footer-logo-col {
    display: flex;
    align-items: flex-start;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo {
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 1;
}

/* Footer Columns */
.footer-col {
    min-width: 0;
}

.footer-col .moduletable {
    margin-bottom: 1.5rem;
}

.footer-col .moduletable:last-child {
    margin-bottom: 0;
}

.footer-col h3,
.footer-col .module-title {
    color: var(--footer-text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Footer-2: 2 columns layout */
.footer-col-2 ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-col-2 ul li {
    width: 50%;
}

.footer-col ul li a,
.footer-col a {
    display: block;
    width: 100%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    padding: 0.25rem 0;
}

.footer-col ul li a:hover,
.footer-col a:hover {
    color: #fff;
    padding-left: 0.25rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer Extra (full width footer position) */
.footer-extra {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content h3 {
    color: var(--footer-text-color);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.footer-content h3::after {
    background: var(--primary-color);
}

.footer-content a {
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.footer-content a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p,
.footer-bottom span {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: white;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Tarteaucitron - Hide default icon (we handle cookie panel opening in footer) */
#tarteaucitronIcon {
    display: none !important;
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8125rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.footer-social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-social-links a i {
    font-size: 0.875rem;
}

/* ========================================================================
   BUTTONS
   ======================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(var(--primary-rgb), 0.39);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(var(--primary-rgb), 0.5);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background: var(--gray-300);
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--accent-color);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========================================================================
   FORMS
   ======================================================================== */

.form-control,
.form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-base);
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    background: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

/* ========================================================================
   CARDS
   ======================================================================== */

.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
    background: white;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-img-top {
    transition: transform var(--transition-slow);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================================================
   ALERTS & MESSAGES
   ======================================================================== */

.alert {
    border: none;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    box-shadow: var(--shadow-sm);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 1.25rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: #f0fdf4;
    border-left-color: #22c55e;
    color: #166534;
}

.alert-danger {
    background: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-left-color: #f59e0b;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-left-color: #3b82f6;
    color: #1e40af;
}

/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */

/* Tablet and Below */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 3rem;
    }

    .content-grid {
        grid-template-columns: 1fr !important;
    }

    .navbar-collapse {
        margin-top: 1.5rem;
        padding: 1.5rem;
        background: white;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav-wrapper {
        margin: 0;
        flex-direction: column;
    }

    .navbar-nav-wrapper .nav,
    .navbar-nav-wrapper .menu {
        flex-direction: column;
        width: 100%;
    }

    .navbar-nav-wrapper .nav-link,
    .navbar-nav-wrapper a {
        padding: 0.875rem 1rem;
        border-bottom: 1px solid var(--gray-100);
    }

    .header-extras {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-100);
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .component-wrapper {
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    :root {
        --section-padding: 2rem;
    }

    html {
        font-size: 14px;
    }

    .site-main {
        padding: 2rem 0;
    }

    .component-wrapper {
        padding: 1.25rem;
        border-radius: var(--radius-base);
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .moduletable-card,
    .module-card,
    .sidebar .moduletable,
    .sidebar .module {
        padding: 1.25rem;
    }
}

/* ========================================================================
   UTILITIES
   ======================================================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Print Styles */
@media print {
    .modern-header,
    .breadcrumb-section,
    .sidebar,
    .modern-footer,
    .back-to-top,
    .top-info-bar {
        display: none !important;
    }

    .component-wrapper {
        box-shadow: none;
        padding: 0;
    }
}

/* ========================================================================
   MODELES CATEGORY LAYOUT
   ======================================================================== */

.modeles-layout {
    padding: 3rem 0;
}

/* Header */
.modeles-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modeles-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.modeles-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
}

/* Category Cards (First Level) */
.modeles-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modeles-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.modeles-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--gray-100);
}

.modeles-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.modeles-card:hover .modeles-card-image img {
    transform: scale(1.1);
}

.modeles-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modeles-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.modeles-card-description {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}
h1.allmedias-page-title {font-size:4.5rem;font-weight:700;}
.modeles-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--primary-color);
    color: #FFF;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    align-self: flex-start;
}

.modeles-card-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.modeles-card-btn i {
    transition: transform var(--transition-base);
}

.modeles-card-btn:hover i {
    transform: translateX(4px);
}

/* Subcategories Section */
.modeles-subcategories {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modeles-subcategories-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.modeles-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    color: var(--dark-color);
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.modeles-back-btn:hover {
    background: var(--gray-200);
    transform: translateX(-4px);
}

.modeles-back-btn i {
    transition: transform var(--transition-base);
}

.modeles-back-btn:hover i {
    transform: translateX(-4px);
}

.modeles-subcategories-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    font-family: var(--font-heading);
}

.modeles-subcategories-content {
    position: relative;
    min-height: 300px;
}

/* Subcategory List */
.modeles-subcategories-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Subcategory Cards - Horizontal Layout */
.modeles-subcat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: row;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 300px;
    max-height: 400px;
}

/* Image on left (default) */
.modeles-subcat-card.image-left {
    flex-direction: row;
}

/* Image on right (alternating) */
.modeles-subcat-card.image-right {
    flex-direction: row-reverse;
}

.modeles-subcat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px) !important;
}

.modeles-subcat-image {
    position: relative;
    overflow: hidden;
    background: var(--gray-100);
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 300px;
    max-height: 400px;
}

.modeles-subcat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.modeles-subcat-card:hover .modeles-subcat-image img {
    transform: scale(1.05);
}

.modeles-subcat-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modeles-subcat-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.modeles-subcat-title::after {
    content: ' Hom';
    color: var(--primary-color);
    font-weight: 700;
}

.modeles-subcat-description {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.modeles-subcat-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    align-self: flex-start;
}

.modeles-subcat-link:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.modeles-subcat-link::after {
    content: '→';
    font-size: 1.25rem;
    transition: transform var(--transition-base);
}

.modeles-subcat-link:hover::after {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 767.98px) {
    .modeles-layout {
        padding: 2rem 0;
    }

    .modeles-header {
        margin-bottom: 2rem;
    }

    .modeles-title {
        font-size: 1.75rem;
    }

    .modeles-card-body {
        padding: 1.5rem;
    }

    .modeles-card-title {
        font-size: 1.5rem;
    }

    .modeles-subcategories-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modeles-subcategories-title {
        font-size: 1.5rem;
    }

    /* Stack subcategory cards vertically on mobile */
    .modeles-subcat-card,
    .modeles-subcat-card.image-left,
    .modeles-subcat-card.image-right {
        flex-direction: column !important;
        min-height: auto;
    }

    .modeles-subcat-image {
        flex: 0 0 auto;
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }

    .modeles-subcat-body {
        padding: 1.5rem;
    }

    .modeles-subcat-title {
        font-size: 1.25rem;
    }
}

/* ============================================
   Modele Category Layout (Single Model)
   ============================================ */

.modele-layout {
    position: relative;
    min-height: 100vh;
}

.modele-layout.has-parallax {

}

/* Full-page Parallax Background (shared with article layout) */
.modele-parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.modele-parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

/* Make all content float above parallax */
.modele-layout.has-parallax .container {
    position: relative;
    z-index: 1;
}

.modele-layout.has-parallax .row {
    position: relative;
    z-index: 1;
}

.modele-layout.has-parallax .col-md-5 {
    position: relative;
    z-index: 1;
}

.modele-layout.has-parallax .modele-header,
.modele-layout.has-parallax .modele-section,
.modele-layout.has-parallax .modele-items {
    position: relative;
    z-index: 1;
}

/* Header Content */
.modele-header {
    margin-bottom: 3rem;
}

.modele-layout.has-parallax .modele-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

/* Category Name (for article layout) */
.modele-category-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.modele-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-align: left;
}

.modele-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: left;
}

.modele-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    text-align: left;
}

.modele-description p {
    margin-bottom: 1rem;
}

/* Items Section */
.modele-items {
    margin-top: 3rem;
}

.modele-layout.has-parallax .modele-items {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.modele-items-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    font-family: var(--font-heading);
}

.modele-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modele-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
}

.modele-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.modele-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: all var(--transition-base);
}

.modele-item-link:hover {
    color: var(--primary-color);
    background: var(--gray-50);
}

.modele-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    flex: 1;
}

.modele-item-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-base);
    margin-left: 1rem;
}

.modele-item-link:hover .modele-item-arrow {
    transform: translateX(8px);
}

.modele-item-intro {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* No Items Message */
.modele-no-items {
    text-align: center;
    padding: 3rem 0;
}

.modele-no-items p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* Custom Field Sections */
.modele-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.modele-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    font-family: var(--font-heading);
}

.modele-section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.modele-section-content h2,
.modele-section-content h3,
.modele-section-content h4 {
    color: var(--dark-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modele-section-content p {
    margin-bottom: 1rem;
}

.modele-section-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.modele-section-content ul,
.modele-section-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.modele-section-content li {
    margin-bottom: 0.5rem;
}

/* Quick Presentation - Highlighted Box */
.modele-quick-presentation,
.quick-presentation {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.modele-quick-presentation .modele-section-content,
.quick-presentation .modele-section-content {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 500;
}

.modele-quick-presentation .modele-section-content p,
.quick-presentation .modele-section-content p {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.modele-quick-presentation .modele-section-content strong,
.quick-presentation .modele-section-content strong {
    color: var(--white);
    font-weight: 700;
}

/* Full Presentation - Standard Section */
.modele-full-presentation {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.modele-layout.has-parallax .modele-full-presentation {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

/* Ensure h3 headings in sections are visible */
.modele-layout.has-parallax h3 {
    position: relative;
    z-index: 1;
}

/* Ensure all sections in col-md-5 are above parallax */
.modele-layout.has-parallax .col-md-5 > div {
    position: relative;
    z-index: 1;
}

/* Engagement & Gallery Section */
.modele-engagement-section {
    position: relative;
    z-index: 1;
    margin-top: 20vh;
    padding: 3rem 0;
    background: var(--gray-100);
}

.modele-engagement-section .row {
    min-height: 400px;
}

.modele-engagement-left {
    /* Already inherits gray-100 from parent */
}

.modele-engagement-right {
    padding: 2rem;
}

.prospect-engagement-module {
    padding: 2rem;
}

.modele-gallery-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 1rem;
}

.modele-gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Masonry Gallery */
.masonry-gallery {
    column-count: 2;
    column-gap: 1rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.masonry-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.masonry-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base);
}

.masonry-link:hover img {
    transform: scale(1.05);
}

.masonry-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.masonry-link:hover::after {
    opacity: 1;
}

.masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    z-index: 1;
}

.masonry-link:hover .masonry-caption {
    transform: translateY(0);
}

.masonry-caption h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: white;
}

.masonry-caption p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.9;
}

/* Lightbox overlay for gallery */
.masonry-link::before {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    transition: transform var(--transition-base);
    opacity: 0;
}

.masonry-link:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@media (min-width: 992px) {
    .masonry-gallery {
        column-count: 3;
    }
}

@media (max-width: 767.98px) {
    .masonry-gallery {
        column-count: 2;
        column-gap: 0.5rem;
    }

    .masonry-item {
        margin-bottom: 0.5rem;
    }

    .modele-engagement-section .row {
        min-height: auto;
    }

    .modele-engagement-left {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        min-height: 150px;
    }

    .modele-engagement-right {
        padding: 1.5rem;
    }
}

/* 3D View Section (Full Width at Bottom) */
.modele-3d-section {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0;
}

.modele-3d-container {
    position: relative;
    width: 100%;
    min-height: 40vh;
    margin: 0;
    padding: 0;
}

.modele-3d-container iframe {
    width: 100%;
    min-height: 40vh;
    height: 40vh;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
    .modele-layout {
        padding: 2rem 0;
    }

    .modele-hero-image {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .modele-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .modele-description {
        font-size: 1rem;
    }

    .modele-items-title {
        font-size: 1.5rem;
    }

    .modele-item-link {
        padding: 1rem;
    }

    .modele-item-title {
        font-size: 1rem;
    }

    .modele-item-arrow {
        font-size: 1.25rem;
    }

    .modele-item:hover {
        transform: translateX(4px);
    }

    .modele-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .modele-section-title {
        font-size: 1.5rem;
    }

    .modele-quick-presentation,
    .modele-full-presentation {
        padding: 1.5rem;
    }

    .modele-3d-container {
        min-height: 30vh;
    }

    .modele-3d-container iframe {
        min-height: 30vh;
        height: 30vh;
    }

    .modele-parallax-bg {
        background-attachment: scroll;
    }
}

/* ============================================
   Agences Category Layout (Grid)
   ============================================ */

.agences-layout {
    padding: 3rem 0;
}

/* Header */
.agences-header {
    margin-bottom: 3rem;
    text-align: center;
}

.agences-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.agences-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto;
}

.agences-description p {
    margin-bottom: 1rem;
}

/* Grid */
.agences-grid {
    margin-top: 2rem;
}

/* Agence Card */
.agence-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.agence-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.agence-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--gray-100);
}

.agence-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.agence-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.agence-card:hover .agence-card-image img {
    transform: scale(1.1);
}

.agence-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agence-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.agence-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.agence-card-title a:hover {
    color: var(--primary-color);
}

.agence-card-intro {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.agence-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    align-self: flex-start;
}

.agence-card-link:hover {
    color: var(--secondary-color);
    transform: translateX(4px);
}

.agence-card-link i {
    font-size: 0.875rem;
    transition: transform var(--transition-base);
}

.agence-card-link:hover i {
    transform: translateX(4px);
}

/* No Items Message */
.agences-no-items {
    text-align: center;
    padding: 3rem 0;
}

.agences-no-items p {
    font-size: 1.125rem;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 767.98px) {
    .agences-layout {
        padding: 2rem 0;
    }

    .agences-header {
        margin-bottom: 2rem;
    }

    .agences-title {
        font-size: 1.75rem;
    }

    .agences-description {
        font-size: 1rem;
    }

    .agence-card-body {
        padding: 1.25rem;
    }

    .agence-card-title {
        font-size: 1.125rem;
    }
}

/* ============================================
   Agence Article Layout
   ============================================ */

.agence-article {
    padding: 0 0 3rem 0;
}

/* Hero Section */
.agence-hero {
    position: relative;
    margin-bottom: 3rem;
}

.agence-hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.agence-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.agence-hero-content {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--white);
}

.agence-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Content Wrapper */
.agence-content-wrapper {
    margin-top: 2rem;
}

/* Main Content */
.agence-main-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.agence-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.agence-text h2,
.agence-text h3,
.agence-text h4 {
    color: var(--dark-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.agence-text p {
    margin-bottom: 1rem;
}

.agence-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

/* Custom Fields */
.agence-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.agence-field {
    display: flex;
    gap: 0.5rem;
}

.agence-field-label {
    font-weight: 600;
    color: var(--dark-color);
    min-width: 120px;
}

.agence-field-value {
    color: var(--gray-700);
    flex: 1;
}

/* Sidebar */
.agence-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agence-contact-card,
.agence-map-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.agence-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

/* Contact Items */
.agence-contact-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.agence-contact-item:last-child {
    border-bottom: none;
}

.agence-contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.agence-contact-item strong {
    display: block;
    color: var(--dark-color);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.agence-contact-item div {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.agence-contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.agence-contact-item a:hover {
    color: var(--secondary-color);
}

/* Map Container */
.agence-map-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
}

.agence-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sticky Sidebar */
@media (min-width: 992px) {
    .agence-sidebar {
        position: sticky;
        top: 2rem;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .agence-hero-image {
        height: 300px;
    }

    .agence-hero-content {
        padding: 1.5rem;
    }

    .agence-title {
        font-size: 2rem;
    }

    .agence-main-content {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .agence-article {
        padding: 0 0 2rem 0;
    }

    .agence-hero-image {
        height: 250px;
    }

    .agence-hero-content {
        padding: 1rem;
    }

    .agence-title {
        font-size: 1.5rem;
    }

    .agence-main-content,
    .agence-contact-card,
    .agence-map-card {
        padding: 1.25rem;
    }

    .agence-sidebar-title {
        font-size: 1.125rem;
    }

    .agence-field {
        flex-direction: column;
        gap: 0.25rem;
    }

    .agence-field-label {
        min-width: auto;
    }

    .agence-map-container {
        height: 250px;
    }
}

/* ========================================================================
   Hero Layout (Featured Articles)
   ======================================================================== */

/* Hero Section - 66vh */
.hero-layout {
    width: 100%;
}

.hero-section {
    position: relative;
    height: 66vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-section.has-image {
    background: transparent;
}

/* Hero Background with Parallax */
.hero-background {
    position: absolute;
    top: -10%;
    left: 0;
    right: 0;
    bottom: -10%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

/* Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem 0;
}

.hero-text {
    text-align: left;
    color: white;
    max-width: 900px;
    padding: 0 1rem;
}

/* Hero Slogan - Large Heading */
.hero-slogan {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    text-align: left;
}

/* Hero Tagline - Subheading */
.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-align: left;
}

/* Hero CTA Button */
.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: white;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
    text-decoration: none;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    color: var(--primary-color);
}

.hero-btn i {
    transition: transform var(--transition-base);
}

.hero-btn:hover i {
    transform: translateX(4px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
}

.hero-scroll-indicator:hover i {
    transform: translateY(4px);
    color: rgba(255, 255, 255, 0.9);
}

/* Homepage Modeles Module Position */
.homepage-modeles-section {
    padding: 4rem 0;
    background: white;
}

/* Featured Articles Section */
.featured-articles {
    padding: 5rem 0;
    background: var(--light-gray);
}

.featured-article-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.featured-article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Featured Article Image */
.featured-article-image {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
    background: var(--gray-200);
}

.featured-article-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-article-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.featured-article-card:hover .featured-article-image img {
    transform: scale(1.05);
}

/* Featured Article Body */
.featured-article-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-article-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color var(--transition-base);
}

.featured-article-title a:hover {
    color: var(--primary-color);
}

.featured-article-intro {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.featured-article-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    margin-top: auto;
}

.featured-article-link:hover {
    gap: 0.75rem;
    color: var(--secondary-color);
}

.featured-article-link i {
    transition: transform var(--transition-base);
}

.featured-article-link:hover i {
    transform: translateX(4px);
}

/* ========================================================================
   BRAND MESSAGE SECTION
   ======================================================================== */

.brand-message-section {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.brand-message-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.brand-message-text h2,
.brand-message-text h3 {
    font-family: var(--font-heading);
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.brand-message-text h2 {
    font-size: 2.5rem;
}

.brand-message-text h3 {
    font-size: 2rem;
}

.brand-message-text p {
    margin-bottom: 1.5rem;
}

.brand-message-text p:last-child {
    margin-bottom: 0;
}

.brand-message-image {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.brand-message-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.brand-message-image:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .brand-message-section {
        padding: 3rem 0;
    }

    .brand-message-text h2 {
        font-size: 2rem;
    }

    .brand-message-text h3 {
        font-size: 1.75rem;
    }

    .brand-message-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-slogan {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .featured-articles {
        padding: 3rem 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 400px;
        height: 70vh;
    }

    .hero-slogan {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }

    .hero-scroll-indicator {
        bottom: 1rem;
    }

    .hero-scroll-indicator i {
        font-size: 1.5rem;
    }

    .featured-article-body {
        padding: 1.5rem;
    }

    .featured-article-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .hero-slogan {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }
}

/* ========================================================================
   PAGE CONTENT SECTIONS (Homepage)
   ======================================================================== */

.page-content {
    background: #fff;
}

/* Concept Section */
.concept-section {
    padding: 4rem 0 2rem;
    background: #fff;
}

.concept-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.concept-section .concept-typo {
    max-width: 500px;
    margin: 0 auto;
}

/* Étapes Section */
.etapes-section {
    padding: 2rem 0 4rem;
    background: #fff;
    max-width: 55%;
    margin: 0 auto;
}

.etapes-section .etape-link {
    display: block;
    transition: transform 0.3s ease;
}

.etapes-section .etape-link:hover {
    transform: scale(1.05);
}

.etapes-section img {
    max-width: 100%;
    height: auto;
}

/* Qualité Section */
.qualite-section {
    padding: 5rem 0;
    padding-top: 16rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.qualite-section h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.qualite-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.qualite-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    max-width: 500px;
    margin: 0 auto;
}

/* Propriétaire Section */
.proprietaire-section {
    padding: 5rem 0;
    background: var(--secondary-color);
    color: #fff;
}

.proprietaire-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.proprietaire-section .avantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.proprietaire-section .avantages-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.proprietaire-section .avantages-list li i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.proprietaire-section .avantages-list a {
    color: #fff;
    text-decoration: underline;
}

.proprietaire-section .avantages-list a:hover {
    color: var(--primary-color);
}

/* ========================================================================
   RGPD TOOLTIP
   ======================================================================== */

.rgpd-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.rgpd-info-icon i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: color var(--transition-base);
}

.rgpd-info-icon:hover i,
.rgpd-info-icon:focus i {
    color: var(--secondary-color);
}

.rgpd-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    max-width: 90vw;
    padding: 1rem;
    background: var(--dark-color);
    color: white;
    font-size: 0.8125rem;
    line-height: 1.5;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    pointer-events: none;
}

/* Tooltip arrow */
.rgpd-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--dark-color);
}

/* Show tooltip on hover/focus */
.rgpd-info-icon:hover .rgpd-tooltip,
.rgpd-info-icon:focus .rgpd-tooltip,
.rgpd-info-icon.is-active .rgpd-tooltip {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rgpd-tooltip a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.rgpd-tooltip a:hover {
    color: white;
}

/* Position adjustment for tooltips near screen edge */
@media (max-width: 575.98px) {
    .rgpd-tooltip {
        width: 260px;
        left: auto;
        right: -10px;
        transform: none;
    }

    .rgpd-tooltip::after {
        left: auto;
        right: 15px;
        transform: none;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .concept-section h2 {
        font-size: 2rem;
    }

    .qualite-section h2 {
        font-size: 2.5rem;
    }

    .qualite-section h3 {
        font-size: 1.5rem;
    }

    .proprietaire-section h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .proprietaire-section .avantages-list {
        margin-top: 2rem;
    }
}

@media (max-width: 991px) {
    .etapes-section {
        max-width: 80%;
    }
}

@media (max-width: 767px) {
    .concept-section {
        padding: 3rem 0 1rem;
    }

    .etapes-section {
        padding: 1rem 0 3rem;
        max-width: 100%;
    }

    .qualite-section,
    .proprietaire-section {
        padding: 3rem 0;
    }

    .qualite-section h2 {
        font-size: 2rem;
    }

    .proprietaire-section .avantages-list li {
        font-size: 1rem;
    }
}


/* ============================================
   Concept Category Layout
   ============================================ */

.category-concept {
    padding: 3rem 0;
}

.category-concept .category-header {
    margin-bottom: 3rem;
}

.category-concept .category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.category-concept .category-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.category-concept .category-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* Concept Items */
.concept-items {
    max-width: 1200px;
    margin: 0 auto;
}

.concept-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.concept-item:last-child {
    border-bottom: none;
}

/* Image wrapper */
.concept-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.concept-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.concept-image-link:hover .concept-image {
    transform: scale(1.05);
}

/* Content */
.concept-content {
    padding: 1rem 0;
}

.concept-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.concept-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.concept-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.concept-title a:hover {
    color: var(--primary-color);
}

.concept-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.concept-text p {
    margin: 0;
}

.concept-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.concept-btn:hover {
    transform: translateX(5px);
}

/* Alternating layout adjustments */
.concept-row-right .concept-content {
    text-align: left;
}

@media (min-width: 992px) {
    .concept-row-right .concept-content {
        text-align: right;
    }

    .concept-row-right .concept-category {
        float: right;
        clear: both;
    }

    .concept-row-right .concept-title,
    .concept-row-right .concept-text {
        text-align: right;
    }

    .concept-row-right .concept-btn {
        float: right;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .category-concept {
        padding: 2rem 0;
    }

    .concept-item {
        padding: 1.5rem 0;
    }

    .concept-title {
        font-size: 1.5rem;
    }

    .concept-content {
        padding-top: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .category-concept .category-title {
        font-size: 2rem;
    }

    .concept-title {
        font-size: 1.25rem;
    }

    .concept-text {
        font-size: 0.9375rem;
    }

    .concept-btn {
        width: 100%;
        justify-content: center;
    }
}
