/* ==========================================================================
   SA BARBIEUX - Styles Partagés
   Artisans du bâtiment depuis 1913
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables & Reset
   -------------------------------------------------------------------------- */
:root {
    /* Couleurs principales */
    --navy-deep: #0b1120;
    --navy: #101828;
    --navy-light: #1a2744;
    --navy-mid: #243352;
    --green-primary: #00d26a;
    --green-light: #2ddf86;
    --green-dark: #00b85c;
    --green-glow: rgba(0, 210, 106, .15);
    --green-subtle: rgba(0, 210, 106, .08);
    --gold: #d4a853;
    --gold-light: #e5bc6a;
    --orange: #f97316;
    --white: #fff;
    --off-white: #f7f9fc;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    
    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1320px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    /* Transitions */
    --transition-fast: .2s ease;
    --transition-base: .3s ease;
    --transition-slow: .5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, .2);
    --shadow-glow: 0 0 40px var(--green-glow);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   Container & Layout
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2.5rem;
    }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--green-primary);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--green-primary);
}

.section-label.gold {
    color: var(--gold);
}

.section-label.gold::before {
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
}

.section-subtitle.light {
    color: var(--gray-300);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.75rem;
    font-size: .95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn-primary {
    background: var(--green-primary);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 106, .35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
}

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

.btn-outline:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.btn-dark {
    background: var(--navy);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--navy-light);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}

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

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .7; transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(20px);
    padding: .75rem 0;
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
    color: var(--gray-600);
}

.header.scrolled .logo-text {
    color: var(--navy);
}

.header.scrolled .logo-text span {
    color: var(--navy);
}

.header.scrolled .menu-toggle span {
    background: var(--navy);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    z-index: 1001;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    transition: color var(--transition-base);
}

.logo-text span {
    color: var(--white);
}

/* Navigation principale */
.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    padding: .5rem 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item.has-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.nav-item.has-dropdown > .nav-link svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    transition: transform var(--transition-fast);
    margin-top: 1px;
}

.nav-item.has-dropdown:hover > .nav-link svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1.5rem;
    color: var(--gray-600);
    font-size: .9rem;
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--green-subtle);
    color: var(--green-primary);
}

.dropdown-link svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: .5rem 1.5rem;
}

/* CTA Navigation */
.nav-cta {
    padding: .65rem 1.25rem;
    background: var(--green-primary);
    color: var(--navy-deep) !important;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--green-light);
    transform: translateY(-2px);
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right var(--transition-base);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.25rem;
        color: var(--white);
        display: block;
    }
    
    /* Cacher la flèche dropdown sur mobile */
    .nav-item.has-dropdown > .nav-link svg {
        display: none;
    }
    
    /* Cacher le sous-menu sur mobile - Services est juste un lien */
    .dropdown-menu {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   Page Hero (pour pages intérieures)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.95) 0%, rgba(16, 24, 40, 0.92) 50%, rgba(26, 39, 68, 0.9) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 210, 106, .08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(212, 168, 83, .05) 0%, transparent 40%);
    pointer-events: none;
}

/* Background image container - ready for photos */
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Overlay gradient on background images */
.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 27, 52, .85) 0%, rgba(10, 27, 52, .7) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2rem;
    font-size: .9rem;
}

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

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

.breadcrumb svg {
    width: 16px;
    height: 16px;
    stroke: var(--gray-500);
    fill: none;
    stroke-width: 2;
}

.breadcrumb span {
    color: var(--green-primary);
}

/* --------------------------------------------------------------------------
   Cards Génériques
   -------------------------------------------------------------------------- */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--green-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition-base);
}

.card:hover .card-icon {
    background: var(--green-primary);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 1.5;
    transition: stroke var(--transition-base);
}

.card:hover .card-icon svg {
    stroke: var(--white);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: .75rem;
}

.card p {
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Services Overview Grid
   -------------------------------------------------------------------------- */
.services-section {
    padding: var(--section-padding) 0;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        gap: 2rem;
    }
}

.service-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    min-height: 280px;
    transition: all var(--transition-base);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.7));
}

.service-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card-content p {
    flex-grow: 1;
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

.service-card:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-card:hover .service-link {
    color: var(--gold);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--green-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--green-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--green-primary);
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 1.5;
    transition: stroke var(--transition-base);
}

.service-card:hover .service-icon svg {
    stroke: var(--white);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 1rem;
    transition: color var(--transition-base);
}

.service-card p {
    font-size: .95rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    transition: color var(--transition-base);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--green-primary);
    transition: color var(--transition-base);
}

.service-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Service Detail Page
   -------------------------------------------------------------------------- */
.service-intro {
    padding: var(--section-padding) 0;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.service-intro-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.service-intro-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.service-intro-content ul {
    margin: 1.5rem 0;
}

.service-intro-content li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .75rem;
    color: var(--gray-600);
}

.service-intro-content li svg {
    width: 20px;
    height: 20px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: .2rem;
}

.service-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
}

.service-image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-align: center;
    padding: 2rem;
}

.service-image-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 1;
    margin-bottom: 1rem;
    opacity: .5;
}

/* Prestations Grid */
.prestations-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.prestation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.prestation-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.prestation-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: .5rem;
}

.prestation-card p {
    font-size: .9rem;
    color: var(--gray-500);
}

/* Avantages */
.avantages-section {
    padding: var(--section-padding) 0;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.avantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.avantage-icon {
    width: 48px;
    height: 48px;
    background: var(--green-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avantage-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2;
}

.avantage-content h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: .25rem;
}

.avantage-content p {
    font-size: .9rem;
    color: var(--gray-500);
}

/* Processus */
.process-section {
    padding: var(--section-padding) 0;
    background: var(--navy);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.process-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--green-primary);
    opacity: .3;
    margin-bottom: .5rem;
}

.process-step h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: .75rem;
}

.process-step p {
    font-size: .9rem;
    color: var(--gray-400);
}

/* FAQ */
.faq-section {
    padding: var(--section-padding) 0;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Timeline - Frise Chronologique (Version simple en grille)
   -------------------------------------------------------------------------- */
.timeline-section {
    padding: 5rem 0;
    background: var(--navy-deep);
    overflow: hidden;
}

.timeline-frise {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

/* Container de la grille - Desktop */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    padding: 3rem 0;
}

/* Ligne horizontale centrale - Desktop */
.timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 5%, var(--gold) 95%, transparent 100%);
    transform: translateY(-50%);
    z-index: 1;
}

/* Chaque item de la timeline */
.timeline-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Partie haute (année + nom) */
.timeline-top {
    padding-bottom: 2rem;
}

/* Point doré sur la ligne */
.timeline-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--navy-deep);
    box-shadow: 0 0 15px rgba(212, 168, 83, .7);
    z-index: 3;
}

/* Partie basse (description) */
.timeline-bottom {
    padding-top: 2rem;
}

/* Année */
.timeline-year {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: .5rem;
}

/* Nom */
.timeline-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

/* Description */
.timeline-desc {
    font-size: .85rem;
    color: var(--gray-400);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}

/* ======================
   TABLET: 2 colonnes
   ====================== */
@media (max-width: 900px) {
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
        padding: 2rem 0;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-point {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 1rem 0;
    }
    
    .timeline-top {
        padding-bottom: 0;
    }
    
    .timeline-bottom {
        padding-top: 0;
    }
    
    .timeline-card {
        background: rgba(255,255,255,0.03);
        border-radius: var(--radius-lg);
        padding: 1.5rem;
        border: 1px solid rgba(212, 168, 83, 0.2);
    }
    
    .timeline-desc {
        max-width: none;
    }
}

/* ======================
   MOBILE: 1 colonne verticale
   ====================== */
@media (max-width: 576px) {
    .timeline-section {
        padding: 3rem 0;
    }
    
    .timeline-frise {
        margin-top: 2rem;
        padding: 0;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
        padding-left: 40px;
        position: relative;
    }
    
    /* Ligne verticale à gauche - alignée sur les points */
    .timeline-line {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 3px;
        height: 100%;
        background: var(--gold);
        transform: translateX(-50%);
    }
    
    .timeline-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 1.25rem;
        margin-bottom: 1rem;
        position: relative;
        background: rgba(255,255,255,0.03);
        border-radius: var(--radius-md);
        border: 1px solid rgba(212, 168, 83, 0.15);
    }
    
    .timeline-card:last-child {
        margin-bottom: 0;
    }
    
    .timeline-point {
        position: absolute;
        left: -20px;
        top: 1.5rem;
        transform: translateX(-50%);
        margin: 0;
        width: 14px;
        height: 14px;
    }
    
    .timeline-top {
        display: flex;
        align-items: baseline;
        gap: .75rem;
        width: 100%;
    }
    
    .timeline-year {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .timeline-name {
        font-size: .9rem;
        color: var(--gray-300);
    }
    
    .timeline-bottom {
        margin-top: .5rem;
        width: 100%;
    }
    
    .timeline-desc {
        font-size: .85rem;
        margin: 0;
        max-width: none;
    }
}

/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */
.team-section {
    padding: var(--section-padding) 0;
}

.team-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-base);
}

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

.team-photo {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
}

.team-photo svg {
    width: 64px;
    height: 64px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 1;
    opacity: .5;
    margin-bottom: .5rem;
}

.team-photo p {
    font-size: .85rem;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: .25rem;
}

.team-info span {
    display: block;
    font-size: .85rem;
    color: var(--green-primary);
    font-weight: 600;
    margin-bottom: .75rem;
}

.team-info p {
    font-size: .9rem;
    color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   Réalisations / Portfolio
   -------------------------------------------------------------------------- */
.portfolio-section {
    padding: var(--section-padding) 0;
}

.portfolio-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: .6rem 1.25rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.filter-btn.active {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: var(--navy-deep);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy-light), var(--navy));
    cursor: pointer;
    transition: all var(--transition-base);
}

.portfolio-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-align: center;
    padding: 2rem;
}

.portfolio-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 1;
    opacity: .5;
    margin-bottom: .75rem;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 32, .85), transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(11, 17, 32, .95), transparent 70%);
}

.portfolio-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: .25rem;
}

.portfolio-overlay span {
    font-size: .85rem;
    color: var(--green-primary);
}

/* --------------------------------------------------------------------------
   Avis / Témoignages
   -------------------------------------------------------------------------- */
.reviews-section {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.reviews-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.reviews-stat {
    text-align: center;
}

.reviews-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--green-primary);
}

.reviews-stat-label {
    font-size: .9rem;
    color: var(--gray-500);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--green-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--green-primary);
}

.review-author h4 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: .15rem;
}

.review-author span {
    font-size: .8rem;
    color: var(--gray-400);
}

.review-stars {
    display: flex;
    gap: .2rem;
    margin-bottom: 1rem;
}

.review-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
}

.review-text {
    font-size: .95rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-service {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .75rem;
    background: var(--green-subtle);
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--green-primary);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    padding: var(--section-padding) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--green-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2;
}

.contact-item-content h4 {
    font-size: .9rem;
    color: var(--navy);
    margin-bottom: .25rem;
}

.contact-item-content p,
.contact-item-content a {
    font-size: .95rem;
    color: var(--gray-500);
}

.contact-item-content a:hover {
    color: var(--green-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: .5rem;
}

.contact-form-wrapper > p {
    color: var(--gray-400);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: .5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .9rem 1rem;
    font-family: inherit;
    font-size: .95rem;
    color: var(--white);
    background: var(--navy-light);
    border: 1px solid var(--navy-mid);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
}

/* Map */
.contact-map {
    margin-top: 3rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 4rem 0;
    background: var(--green-primary);
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy-deep);
    margin-bottom: .5rem;
}

.cta-content p {
    color: var(--navy);
    opacity: .8;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--navy-deep);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-description {
    color: var(--gray-400);
    font-size: .9rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: .75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--navy-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--green-primary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    stroke: var(--gray-400);
    fill: none;
    stroke-width: 2;
    transition: stroke var(--transition-fast);
}

.footer-social a:hover svg {
    stroke: var(--navy-deep);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: .9rem;
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: var(--gray-400);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.footer-contact strong {
    color: var(--gray-300);
}

.footer-contact a {
    color: var(--gray-400);
}

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

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--navy-light);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: .85rem;
}

.footer-bottom a {
    color: var(--gray-400);
}

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

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--gray-500);
    font-size: .85rem;
}

/* --------------------------------------------------------------------------
   Scroll to Top
   -------------------------------------------------------------------------- */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
}

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

.scroll-top:hover {
    background: var(--green-light);
    transform: translateY(-3px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--navy-deep);
    fill: none;
    stroke-width: 2;
}

/* Mobile Phone Button */
.mobile-phone {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--green-primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .mobile-phone {
        display: flex;
    }
    
    .scroll-top {
        bottom: 6rem;
    }
}

.mobile-phone svg {
    width: 24px;
    height: 24px;
    stroke: var(--navy-deep);
    fill: none;
    stroke-width: 2;
}

/* --------------------------------------------------------------------------
   Mentions Légales
   -------------------------------------------------------------------------- */
.legal-section {
    padding: var(--section-padding) 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 2.5rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.legal-content strong {
    color: var(--navy);
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--gray-600);
    margin-bottom: .5rem;
    position: relative;
}

.legal-content li::before {
    content: '•';
    color: var(--green-primary);
    position: absolute;
    left: -1rem;
}

/* --------------------------------------------------------------------------
   Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
    background: var(--off-white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--gray-600);
    font-size: .9rem;
}

.trust-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ==========================================================================
   RESPONSIVE IMPROVEMENTS - Global fixes
   ========================================================================== */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Container responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    :root {
        --section-padding: 3rem;
    }
}

/* Typography responsive */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-label {
        font-size: .7rem;
    }
}

/* Buttons responsive */
@media (max-width: 480px) {
    .btn {
        padding: .85rem 1.5rem;
        font-size: .9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Page Hero responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
        padding: 6rem 0 3rem;
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: .75rem;
    }
}

/* Services cards responsive */
@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .family-card {
        padding: 1.5rem;
    }
}

/* Portfolio grid responsive */
@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        aspect-ratio: 4/3;
    }
}

/* Reviews responsive */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}

/* Contact form responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}

/* Team section responsive */
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* CTA section responsive */
@media (max-width: 768px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
}

/* Prestations grid responsive */
@media (max-width: 600px) {
    .prestations-grid {
        grid-template-columns: 1fr;
    }
    
    .prestation-card {
        padding: 1.5rem;
    }
}

/* Avantages responsive */
@media (max-width: 768px) {
    .avantages-grid {
        grid-template-columns: 1fr;
    }
    
    .avantage-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Process steps responsive */
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        text-align: center;
    }
}

/* FAQ responsive */
@media (max-width: 480px) {
    .faq-question {
        padding: 1rem;
        font-size: .95rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Mobile phone button - ensure visibility */
.mobile-phone {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--green-primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 210, 106, .4);
    z-index: 999;
    transition: transform .3s ease, box-shadow .3s ease;
}

.mobile-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 210, 106, .5);
}

.mobile-phone svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .mobile-phone {
        display: flex;
    }
}

/* Scroll top button responsive */
@media (max-width: 768px) {
    .scroll-top {
        bottom: 5rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
}

/* Fix images and videos overflow */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Service intro responsive */
@media (max-width: 768px) {
    .service-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .service-image-placeholder {
        aspect-ratio: 16/10;
    }
}

/* Service intro content list */
.service-intro-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-intro-content li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem 0;
    color: var(--gray-600);
}

.service-intro-content li svg {
    width: 20px;
    height: 20px;
    stroke: var(--green-primary);
    fill: none;
    stroke-width: 2.5;
    flex-shrink: 0;
}

/* Zone map responsive */
@media (max-width: 768px) {
    .zone-map iframe {
        height: 300px;
    }
}

/* Portfolio filters responsive */
@media (max-width: 600px) {
    .portfolio-filters {
        flex-wrap: wrap;
        gap: .5rem;
    }
    
    .filter-btn {
        padding: .5rem 1rem;
        font-size: .85rem;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .mobile-phone,
    .scroll-top,
    .cta-section {
        display: none !important;
    }
    
    .page-hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: var(--gold);
    transform: scale(1.1);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--navy);
    stroke-width: 2;
    fill: none;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
}

.lightbox-caption h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.lightbox-caption span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* Cursor pointer sur les images cliquables */
.portfolio-item[data-lightbox] {
    cursor: zoom-in;
}

/* Message de succès formulaire */
.form-success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.form-success-message svg {
    margin-bottom: 1rem;
}

.form-success-message h3 {
    color: #10b981;
    margin-bottom: .5rem;
}

.form-success-message p {
    color: var(--gray-600);
}

/* Animation spin pour le bouton d'envoi */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-submit .spin {
    animation: spin 1s linear infinite;
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

/* --------------------------------------------------------------------------
   Histoire Section - Entreprise moderne
   -------------------------------------------------------------------------- */
.histoire-section {
    padding: var(--section-padding) 0;
}

.histoire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.histoire-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.histoire-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.histoire-image {
    display: flex;
    justify-content: center;
}

.histoire-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.histoire-image-placeholder {
    background: var(--navy-deep);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--gray-400);
    width: 100%;
    max-width: 500px;
}

.histoire-image-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: var(--gray-500);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .histoire-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .histoire-image {
        order: -1;
    }
    
    .histoire-img {
        max-width: 100%;
    }
}
