/*
Theme Name: Rénovation Intérieur
Theme URI: https://zedigital.com
Author: zeDigital
Author URI: https://zedigital.com
Description: Thème personnalisé pour une société de rénovation intérieure. Design moderne et professionnel avec le bleu Google comme couleur principale.
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: renovation-interieur
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, translation-ready
*/

/* Variables de couleurs */
:root {
    --color-primary: #4285F4; /* Bleu Google */
    --color-primary-dark: #3367D6;
    --color-primary-light: #5A95F5;
    --color-dark: #1A1A1A;
    --color-white: #FFFFFF;
    --color-gray: #F5F5F5;
    --color-gray-dark: #757575;
    --spacing-unit: 1rem;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    background-image: radial-gradient(circle at 20% 50%, rgba(66, 133, 244, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(66, 133, 244, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Header */
.site-header {
    background-color: var(--color-white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.site-logo::before {
    content: "🏠";
    font-size: 1.8rem;
}

.site-logo:has(img)::before,
.site-logo:has(.custom-logo)::before {
    display: none;
}

.site-logo .custom-logo,
.site-logo img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


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

.main-navigation a,
.main-navigation .nav-menu a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover,
.main-navigation .nav-menu a:hover {
    color: var(--color-primary);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-cta {
    flex-shrink: 0;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.menu-toggle-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.cta-button {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--color-primary-dark);
}

.cta-button-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.08) 0%, var(--color-white) 50%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Slider Avant/Après */
.before-after-slider {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    /* S'assurer que les deux images ont exactement le même comportement */
    max-width: 100%;
    max-height: 100%;
}

/* Forcer les deux images à utiliser exactement le même cadrage */
.before-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

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

.after-image {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s ease;
}

.label {
    position: absolute;
    top: 20px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 5px;
    z-index: 25;
    pointer-events: none;
    user-select: none;
}

.label-before {
    left: 20px;
}

.label-after {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
    transform: translateX(-50%);
    z-index: 30;
    cursor: ew-resize;
    transition: background-color 0.3s;
    pointer-events: none;
}

.slider-handle:hover {
    background-color: var(--color-primary-dark);
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--color-primary);
    transform: translateX(-50%);
}

.slider-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: grab;
    transition: transform 0.1s, box-shadow 0.3s;
    pointer-events: auto;
}

.slider-circle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.slider-circle svg {
    width: 20px;
    height: 20px;
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 35;
    margin: 0;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .before-after-container {
        height: 350px;
    }
    
    .slider-circle {
        width: 50px;
        height: 50px;
    }
    
    .label {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}


/* Section Promesse */
.promesse-section {
    padding: 5rem 2rem;
    background-color: var(--color-white);
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 3rem;
}

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

.promesse-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.promesse-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.promesse-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.promesse-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.promesse-card p {
    color: var(--color-gray-dark);
    line-height: 1.6;
}


/* Section Deux Colonnes */
.two-columns-section {
    padding: 5rem 2rem;
    background-color: var(--color-white);
}

.two-columns-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.column-item {
    position: relative;
}

.column-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.column-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.column-item p {
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.arrow-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.arrow-icon:hover {
    transform: scale(1.1);
}

/* Section Projets */
.projets-section {
    padding: 5rem 2rem;
    background-color: var(--color-gray);
}

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

.projets-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.projets-intro p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.projets-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}

.projets-carousel-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.projets-carousel-viewport {
    overflow: hidden;
    flex: 1;
}

.projets-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.projet-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.projet-slide-media img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.projet-slide-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.projet-slide-content p {
    color: var(--color-gray-dark);
    line-height: 1.8;
}

/* Variante plein écran sans texte */
.projet-slide.image-only {
    display: block;
}

.projet-slide.image-only img {
    width: 100%;
    max-height: 520px;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.projets-carousel-nav {
    background-color: var(--color-white);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-dark);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.projets-carousel-nav:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.projets-carousel-prev {
    margin-right: -0.5rem;
}

.projets-carousel-next {
    margin-left: -0.5rem;
}

.projets-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.projets-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s, transform 0.2s;
}

.projets-carousel-dot.is-active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .projets-carousel-main {
        gap: 1rem;
    }

    .projets-carousel-nav {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .projet-slide {
        grid-template-columns: 1fr;
    }

    .projet-slide.image-only img {
        max-height: 420px;
    }
}

@media (max-width: 768px) {
    .projets-carousel-main {
        flex-direction: column;
        align-items: center;
    }

    .projets-carousel-viewport {
        width: 100%;
    }

    .projets-carousel-nav {
        order: 2;
        margin: 0 0.35rem;
    }

    .projets-carousel-prev,
    .projets-carousel-next {
        margin: 0 0.35rem;
    }

    .projet-slide.image-only img {
        max-height: 360px;
    }
}

/* Page Devis */
.devis-page {
    background-color: var(--color-gray);
}

.devis-hero {
    padding: 5rem 2rem 4rem;
}

.devis-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.devis-hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.devis-hero-content p {
    font-size: 1.05rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.devis-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background-color: rgba(66, 133, 244, 0.08);
    color: var(--color-primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.devis-hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.98rem;
    color: var(--color-gray-dark);
}

.devis-hero-list li::before {
    content: "✓";
    color: var(--color-primary);
    margin-right: 0.4rem;
    font-weight: 700;
}

.devis-hero-card {
    background-color: var(--color-white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.devis-hero-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.devis-hero-card p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    margin-bottom: 1.5rem;
}

.simulateur {
    border-radius: 14px;
    border: 1px dashed rgba(66, 133, 244, 0.35);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 1.25rem;
    background: radial-gradient(circle at 10% 0, rgba(66, 133, 244, 0.08) 0, transparent 60%);
}

.simulateur-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.simulateur-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.simulateur-grid--full {
    grid-template-columns: minmax(0, 1fr);
}

.simulateur-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.simulateur-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.simulateur-field input,
.simulateur-field select {
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.simulateur-field input:focus,
.simulateur-field select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(66, 133, 244, 0.25);
}

.simulateur-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.simulateur-submit {
    align-self: flex-start;
}

.simulateur-note {
    font-size: 0.8rem;
    color: var(--color-gray-dark);
}

.simulateur-result {
    padding: 0.9rem 0.75rem 0.2rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.simulateur-result-placeholder {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.simulateur-result-range {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.simulateur-result-detail {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.devis-steps {
    padding: 0 2rem 5rem;
}

.devis-steps-container {
    max-width: 1100px;
    margin: 0 auto;
}

.devis-steps-container h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 2rem;
    text-align: left;
}

.devis-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.devis-step {
    background-color: var(--color-white);
    border-radius: 14px;
    padding: 1.5rem 1.4rem 1.6rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.devis-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.devis-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.devis-step p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

/* Pages de contenu (Nos réalisations / Nos expertises) */
.section-page {
    padding: 4.5rem 2rem 5rem;
    background-color: var(--color-white);
}

.section-page--padded {
    background-color: var(--color-gray);
}

.section-page-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: left;
}

.section-page-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.section-page-intro {
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.realisation-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background-color: var(--color-white);
}

.realisation-media img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.realisation-body {
    padding: 1.25rem 1.3rem 1.4rem;
}

.realisation-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    margin-bottom: 0.4rem;
}

.realisation-location {
    font-weight: 600;
}

.realisation-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.realisation-budget,
.realisation-duration {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.realisation-budget {
    margin-top: 0.3rem;
}

.realisation-duration {
    margin-bottom: 0.45rem;
}

.realisation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0;
}

.realisation-tags li {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.04);
}

.realisations-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.realisations-stat {
    min-width: 160px;
}

.realisations-stat-number {
    font-size: 1.7rem;
    font-weight: 800;
    display: block;
}

.realisations-stat-label {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

.realisations-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.realisations-filter {
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: var(--color-white);
}

.realisations-filter.is-active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.realisations-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.realisations-cta p {
    font-size: 0.98rem;
    color: var(--color-gray-dark);
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.expertise-card {
    background-color: var(--color-white);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.expertise-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.expertise-card p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

.expertises-hero {
    margin-bottom: 3rem;
}

.expertises-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.expertises-hero-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.expertises-hero-text p {
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.expertises-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.95rem;
    color: var(--color-gray-dark);
}

.expertises-list li::before {
    content: "•";
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.expertises-hero-media img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.expertises-benefits {
    margin-top: 3rem;
}

.expertises-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.expertise-benefit h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.expertise-benefit p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    line-height: 1.7;
}

.expertises-cta {
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.expertises-cta p {
    font-size: 0.98rem;
    color: var(--color-gray-dark);
}

@media (max-width: 768px) {
    .section-page {
        padding: 3.5rem 1.5rem 3.5rem;
    }

    .realisations-stats {
        gap: 1rem;
    }

    .expertises-hero-grid {
        grid-template-columns: 1fr;
    }
}

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

@media (max-width: 768px) {
    .devis-hero {
        padding: 3.5rem 1.5rem 3.5rem;
    }

    .devis-steps {
        padding: 0 1.5rem 3.5rem;
    }

    .devis-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Équipe */
.equipe-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(66, 133, 244, 0.1) 0%, var(--color-white) 50%);
}

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

.equipe-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.equipe-intro p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.equipe-intro a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.equipe-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.equipe-member {
    text-align: center;
}

.equipe-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--color-primary);
}

.equipe-member h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.equipe-member p {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

/* Section Suivi */
.suivi-section {
    padding: 5rem 2rem;
    background-color: var(--color-white);
}

.suivi-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.suivi-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.suivi-container p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.suivi-image {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.suivi-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Section Artisans */
.artisans-section {
    padding: 5rem 2rem;
    background-color: var(--color-gray);
}

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

.artisans-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.artisans-intro p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

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

.artisan-card {
    text-align: center;
}

.artisan-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--color-primary);
}

.artisan-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.artisan-card p {
    color: var(--color-gray-dark);
    font-size: 0.9rem;
}

/* Section Comment ça marche */
.process-section {
    padding: 5rem 2rem;
    background-color: var(--color-white);
}

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

.process-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.process-intro p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.process-intro a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step p {
    color: var(--color-gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Section Localisation */
.localisation-section {
    padding: 5rem 2rem;
    background-color: var(--color-gray);
}

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

.localisation-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.localisation-intro p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.localisation-intro a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.localisation-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.localisation-map {
    text-align: center;
}

.localisation-map img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.localisation-cities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.city-button {
    padding: 0.75rem 1rem;
    background-color: var(--color-white);
    border: 2px solid var(--color-dark);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
}

.city-button:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* Footer */
.site-footer {
    background-color: var(--color-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-credit {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin: 0;
}

.footer-credit a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Animations */
.promesse-card,
.column-item,
.equipe-member,
.artisan-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.promesse-card.is-visible,
.column-item.is-visible,
.equipe-member.is-visible,
.artisan-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transitions pour les boutons */
.cta-button,
.cta-button-secondary,
.city-button {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container,
    .two-columns-container,
    .localisation-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
}

@media (max-width: 1024px) {
    .site-header {
        padding: 1rem;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-navigation.is-open {
        max-height: 500px;
    }
    
    .main-navigation ul,
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 1rem 0;
        background-color: var(--color-white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 5px;
        margin-top: 1rem;
    }
    
    .main-navigation ul li,
    .main-navigation .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    
    .main-navigation ul li:last-child,
    .main-navigation .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a,
    .main-navigation .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    .header-cta {
        order: 1;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem;
    }
    
    .site-logo {
        font-size: 1.2rem;
    }
    
    .site-logo .custom-logo,
    .site-logo img {
        max-height: 50px;
    }
    
    .header-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    
    .process-steps {
        flex-direction: column;
    }
}

/* Section Suivre le chantier en live */
.chantier-live-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--color-white) 0%, rgba(66, 133, 244, 0.03) 100%);
}

.chantier-live-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.chantier-live-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.chantier-live-intro p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}

.chantier-live-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.chantier-live-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chantier-live-header {
    margin-bottom: 0.5rem;
}

.chantier-live-title-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chantier-live-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.3;
}

.chantier-live-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.chantier-live-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chantier-live-date {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background-color: rgba(66, 133, 244, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--color-primary);
}

.chantier-live-date svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.chantier-live-date > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chantier-live-date-label {
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.chantier-live-date-value {
    font-size: 1.1rem;
    color: var(--color-dark);
    font-weight: 700;
}

.chantier-live-comments {
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.chantier-live-comments h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chantier-live-comments h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.chantier-live-comments p {
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    margin: 0;
}

.chantier-live-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.chantier-live-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

.chantier-live-progress {
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.chantier-live-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chantier-live-progress-label {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chantier-live-progress-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.chantier-live-progress-bar {
    width: 100%;
    height: 16px;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.chantier-live-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chantier-live-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.chantier-live-progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.chantier-live-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.chantier-live-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 8px;
    left: calc(50% + 12px);
    width: calc(100% - 24px);
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.chantier-live-step.is-completed:not(:last-child)::after {
    background-color: var(--color-primary);
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    border: 3px solid var(--color-white);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.chantier-live-step.is-completed .step-dot {
    background-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.15);
}

.step-label {
    font-size: 0.75rem;
    color: var(--color-gray-dark);
    text-align: center;
    font-weight: 500;
    line-height: 1.2;
}

.chantier-live-step.is-completed .step-label {
    color: var(--color-dark);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .chantier-live-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chantier-live-visual {
        position: static;
    }
}

@media (max-width: 768px) {
    .chantier-live-section {
        padding: 3.5rem 1.5rem;
    }
    
    .chantier-live-intro h2 {
        font-size: 2rem;
    }
    
    .chantier-live-header h3 {
        font-size: 1.5rem;
    }
    
    .chantier-live-image {
        height: 250px;
    }
    
    .chantier-live-progress {
        padding: 1.5rem;
    }
    
    .chantier-live-progress-value {
        font-size: 2rem;
    }
    
    .chantier-live-progress-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .chantier-live-step:not(:last-child)::after {
        display: none;
    }
    
    .chantier-live-comments {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        gap: 0.5rem;
    }
    
    .header-cta {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
    
    .site-logo {
        font-size: 1rem;
    }
    
    .site-logo .custom-logo,
    .site-logo img {
        max-height: 40px;
    }
    
    .chantier-live-card {
        border-radius: 12px;
    }
    
    .chantier-live-image {
        height: 200px;
    }
}
