/**
 * OLITIM - Styles principaux
 * Maître d'œuvre & Contractant Général
 */

/* ================================
   CSS Variables / Design Tokens
   ================================ */
:root {
    /* Colors */
    --noir: #1A1A1A;
    --blanc: #FFFFFF;
    --beige: #E8DED1;
    --beige-light: #F5F1EC;
    --terracotta: #C47D4E;
    --terracotta-dark: #A66840;
    --gris: #6B6B6B;
    --gris-light: #9A9A9A;
    --success: #2E7D32;
    --error: #C62828;

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

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

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --shadow-terracotta: 0 15px 40px rgba(196, 125, 78, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;

    /* Container */
    --container-max: 1400px;
    --container-narrow: 900px;
}

/* ================================
   Reset & Base Styles
   ================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--blanc);
    color: var(--noir);
    overflow-x: hidden;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

ul, ol {
    list-style: none;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--terracotta);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--terracotta);
    color: var(--blanc);
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    color: var(--noir);
}

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

p {
    margin-bottom: 1em;
}

.text-terracotta { color: var(--terracotta); }
.text-gris { color: var(--gris); }

/* ================================
   Layout Utilities
   ================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 50px;
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 50px;
}

.section {
    padding: var(--space-3xl) 50px;
}

.section-beige {
    background: var(--beige-light);
}

.section-dark {
    background: var(--noir);
    color: var(--blanc);
}

/* ================================
   Section Header
   ================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gris);
    line-height: 1.8;
}

.section-dark .section-title,
.section-dark .section-tag {
    color: var(--blanc);
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.6);
}

/* ================================
   Navigation
   ================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 50px;
    box-shadow: var(--shadow-md);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--noir);
}

.logo img {
    height: 68px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-base);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--terracotta);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blanc);
    background: var(--terracotta);
    padding: 12px 25px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.nav-phone:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-terracotta);
}

.nav-phone svg {
    width: 18px;
    height: 18px;
}

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

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--noir);
    transition: all var(--transition-base);
    transform-origin: center;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--blanc);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    text-align: center;
}

.mobile-menu-links li {
    margin: 25px 0;
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-slow);
}

.mobile-menu.active .mobile-menu-links li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-links li:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-links a {
    font-family: var(--font-display);
    font-size: 2rem;
    transition: color var(--transition-base);
}

.mobile-menu-links a:hover {
    color: var(--terracotta);
}

.mobile-menu-phone {
    margin-top: 40px;
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-slow) 0.35s;
}

.mobile-menu.active .mobile-menu-phone {
    transform: translateY(0);
    opacity: 1;
}

/* ================================
   Buttons
   ================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--terracotta);
    color: var(--blanc);
    padding: 18px 35px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-slow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-terracotta);
}

.btn-primary svg {
    transition: transform var(--transition-base);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--noir);
    padding: 18px 35px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--noir);
    transition: all var(--transition-slow);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--noir);
    color: var(--blanc);
    transform: translateY(-3px);
}

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

.btn-white:hover {
    background: var(--beige-light);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--blanc) 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231A1A1A' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 120px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blanc);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gris);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--terracotta);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    margin-bottom: var(--space-md);
}

.hero h1 span {
    color: var(--terracotta);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gris);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero-image-secondary {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--blanc);
}

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

.hero-floating-card {
    position: absolute;
    top: 50%;
    left: -30px;
    background: var(--blanc);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-floating-card .icon {
    width: 50px;
    height: 50px;
    background: var(--beige);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating-card .icon svg {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
}

.hero-floating-card .text {
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-floating-card .subtext {
    font-size: 0.8rem;
    color: var(--gris-light);
}

/* ================================
   Stats Section
   ================================ */
.stats {
    padding: 80px 50px;
    background: var(--noir);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.stat-item {
    text-align: center;
    color: var(--blanc);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    color: var(--terracotta);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.05em;
}

/* ================================
   Service Cards
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--beige-light);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

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

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

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon,
.service-card:hover .service-title,
.service-card:hover .service-description,
.service-card:hover .service-list li {
    color: var(--blanc);
}

.service-card:hover .service-icon {
    background: rgba(255,255,255,0.2);
}

.service-card:hover .service-icon svg {
    color: var(--blanc);
}

.service-card:hover .service-list li::before {
    color: var(--blanc);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--beige);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-slow);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--terracotta);
    transition: color var(--transition-slow);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    transition: color var(--transition-slow);
}

.service-description {
    font-size: 0.95rem;
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    transition: color var(--transition-slow);
}

.service-list li {
    font-size: 0.9rem;
    color: var(--gris);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    transition: color var(--transition-slow);
}

.service-list li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--terracotta);
    transition: color var(--transition-slow);
}

/* ================================
   Process Section
   ================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--terracotta), var(--terracotta-dark));
    opacity: 0.3;
}

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

.process-number {
    width: 60px;
    height: 60px;
    background: var(--blanc);
    border: 3px solid var(--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--terracotta);
    margin: 0 auto var(--space-lg);
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}

.process-step:hover .process-number {
    background: var(--terracotta);
    color: var(--blanc);
    transform: scale(1.1);
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.process-description {
    font-size: 0.9rem;
    color: var(--gris);
    line-height: 1.7;
}

/* ================================
   Projects Grid
   ================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.project-card {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(26,26,26,0.95) 0%, transparent 100%);
    transform: translateY(30px);
    opacity: 0;
    transition: all var(--transition-slow);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-category {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 10px;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--blanc);
}

.project-location {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 5px;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--beige-light);
    color: var(--noir);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--terracotta);
    color: var(--blanc);
}

/* ================================
   Testimonials
   ================================ */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: 50px;
    left: 50px;
    font-family: var(--font-display);
    font-size: 400px;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
}

.testimonials-slider {
    max-width: var(--container-narrow);
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    text-align: center;
    padding: 40px;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--blanc);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--blanc);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-weight: 600;
    color: var(--blanc);
    font-size: 1.1rem;
}

.testimonial-role {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: var(--space-lg);
}

.testimonial-stars .star {
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,0.3);
}

.testimonial-stars .star.filled {
    color: var(--terracotta);
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: var(--space-xl);
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-btn:hover {
    background: var(--terracotta);
    border-color: var(--terracotta);
}

.testimonial-btn svg {
    width: 24px;
    height: 24px;
    color: var(--blanc);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dot:hover {
    background: rgba(255,255,255,0.5);
}

.testimonial-dot.active {
    background: var(--terracotta);
    transform: scale(1.2);
}

/* ================================
   Values Section
   ================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.value-item:hover .value-icon {
    transform: translateY(-5px);
    box-shadow: var(--shadow-terracotta);
}

.value-icon svg {
    width: 36px;
    height: 36px;
    color: var(--terracotta);
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.value-description {
    font-size: 0.95rem;
    color: var(--gris);
    line-height: 1.7;
}

/* ================================
   Contact Section
   ================================ */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info h2 span {
    color: var(--terracotta);
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--gris);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--beige-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-method:hover {
    background: var(--beige);
    transform: translateX(10px);
}

.contact-method .icon {
    width: 55px;
    height: 55px;
    background: var(--terracotta);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method .icon svg {
    width: 24px;
    height: 24px;
    color: var(--blanc);
}

.contact-method .details {
    flex: 1;
}

.contact-method .label {
    font-size: 0.85rem;
    color: var(--gris-light);
    margin-bottom: 5px;
}

.contact-method .value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: var(--beige-light);
    padding: 50px;
    border-radius: var(--radius-lg);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background: var(--blanc);
    color: var(--noir);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(196, 125, 78, 0.1);
}

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

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

/* Checkbox RGPD */
.form-checkbox {
    margin-bottom: var(--space-md);
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 0;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: var(--vert-principal, var(--terracotta));
    border-radius: 4px;
}

.form-checkbox span {
    font-size: 0.85rem;
    color: var(--gris);
    line-height: 1.5;
}

.form-checkbox a {
    color: var(--vert-principal, var(--terracotta));
    text-decoration: underline;
}

.form-checkbox a:hover {
    text-decoration: none;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--blanc);
    background: var(--terracotta);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-terracotta);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-submit svg {
    width: 20px;
    height: 20px;
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: 60px 30px;
}

.form-success svg {
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--noir);
}

.form-success p {
    color: var(--gris);
}

/* Form Error Message */
.form-error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FEE2E2;
    color: #DC2626;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 0.9rem;
    animation: shake 0.5s ease-in-out;
}

.form-error-message svg {
    flex-shrink: 0;
}

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

/* Form Alerts (for non-AJAX submissions) */
.form-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-alert svg {
    flex-shrink: 0;
}

.form-alert-success {
    background: #D1FAE5;
    color: #065F46;
}

.form-alert-error {
    background: #FEE2E2;
    color: #DC2626;
}

/* reCAPTCHA badge - masquer visuellement mais garder fonctionnel */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ================================
   Footer
   ================================ */
footer {
    background: var(--noir);
    color: var(--blanc);
    padding: 80px 50px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--blanc);
    margin-bottom: var(--space-md);
    display: inline-block;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--terracotta);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    color: var(--blanc);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    font-family: var(--font-primary);
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a,
.footer-column span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--terracotta);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    margin-left: 25px;
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--terracotta);
}

/* ================================
   Scroll to Top
   ================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--terracotta-dark);
    transform: translateY(-5px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    color: var(--blanc);
}

/* ================================
   Page Headers (Internal pages)
   ================================ */
.page-header {
    padding: 180px 50px 100px;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--blanc) 100%);
    text-align: center;
    position: relative;
}

.page-header h1 {
    margin-bottom: var(--space-md);
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gris);
}

.page-header .breadcrumb a {
    color: var(--terracotta);
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
}

/* ================================
   Content Sections (Internal pages)
   ================================ */
.content-section {
    padding: var(--space-2xl) 50px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

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

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   Legal Pages
   ================================ */
.legal-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: var(--space-2xl) 50px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: var(--space-xl) 0 var(--space-md);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: var(--space-lg) 0 var(--space-sm);
}

.legal-content p,
.legal-content li {
    color: var(--gris);
    line-height: 1.8;
}

.legal-content ul {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.legal-content ul li {
    margin-bottom: var(--space-xs);
    position: relative;
}

.legal-content ul li::before {
    content: '\2022';
    color: var(--terracotta);
    position: absolute;
    left: -20px;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 1200px) {
    .hero-content {
        gap: 50px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-floating-card {
        display: none;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .process-grid::before {
        display: none;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 5rem;
    }

    nav {
        padding: 20px 25px;
    }

    nav.scrolled {
        padding: 15px 25px;
    }

    .nav-links,
    .nav-phone {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .section,
    .hero-content,
    .stats,
    .page-header,
    .content-section,
    .legal-content,
    footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    .container,
    .container-narrow {
        padding: 0 25px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .stats-container,
    .services-grid,
    .process-grid,
    .projects-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        height: 350px;
    }

    .contact-form {
        padding: 30px;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal a {
        margin: 0 10px;
    }

    .project-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 300px;
    }

    .hero-image-secondary {
        width: 60%;
        height: 45%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 140px 25px 60px;
    }
}

/* ================================
   Animations (GSAP will enhance)
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================
   References Section
   ================================ */
.references-section {
    padding: 50px 20px;
    background: var(--blanc);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.references-container {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.references-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gris-light);
    margin-bottom: 30px;
    font-weight: 500;
}

.references-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.reference-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.reference-logo img {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-base);
}

.reference-logo:hover img {
    filter: grayscale(0%);
    opacity: 0.9;
}

.reference-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gris);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.reference-logo:hover .reference-text {
    color: var(--terracotta);
    opacity: 1;
}

@media (max-width: 768px) {
    .references-section {
        padding: 40px 20px;
    }

    .references-logos {
        gap: 50px;
    }

    .reference-logo img {
        height: 25px;
        max-width: 120px;
    }

    .reference-text {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    nav,
    .scroll-top,
    .mobile-menu,
    footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 50px;
    }

    .section {
        padding: 30px;
    }
}
