/* ============================================
   HUAULT MACONNERIE - MAIN CSS
   Extraction propre du wireframe
============================================ */

:root {
    --vert-huault: #009640;
    --vert-huault-light: #00b34a;
    --vert-huault-dark: #007a34;
    --noir: #1a1a1a;
    --noir-profond: #0d0d0d;
    --blanc-casse: #f8f7f5;
    --gris-chaud: #e8e6e1;
    --gris-moyen: #d4d2cd;
    --gris-texte: #666;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    --container-width: 1400px;
    --section-padding: 120px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--noir);
    background: white;
    overflow-x: hidden;
}

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

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

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

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    padding: 20px 60px;
}

#site-header.scrolled {
    padding: 15px 60px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--noir);
}

.logo-img {
    max-height: 50px;
}

.logo-img img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--vert-huault);
}

#main-nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

#main-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--noir);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

#main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vert-huault);
    transition: width 0.3s ease;
}

#main-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--noir) !important;
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 4px !important;
}

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

.nav-cta:hover {
    background: var(--vert-huault) !important;
}

.menu-toggle {
    display: none;
}

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

.hero {
    display: flex;
    align-items: center;
    padding: 180px 60px;
    background: var(--blanc-casse);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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='%23000000' 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 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideUp 1s ease-out;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vert-huault);
    margin-bottom: 30px;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--vert-huault);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--noir);
    margin-bottom: 30px;
}

.hero h1 em {
    font-style: italic;
    color: var(--vert-huault);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gris-texte);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--vert-huault);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 150, 64, 0.3);
}

.btn-primary:hover {
    background: var(--vert-huault-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 150, 64, 0.4);
}

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

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

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-image-main {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--gris-moyen), var(--gris-chaud));
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

.hero-image-floating {
    position: absolute;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 5;
}

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

/* Sans image = placeholder */
.hero-image-floating:not(.has-image) {
    background: var(--blanc-casse);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gris-texte);
    text-align: center;
    padding: 20px;
}

.hero-image-floating.top {
    top: -30px;
    right: -30px;
    animation: float 6s ease-in-out infinite;
}

.hero-image-floating.bottom {
    bottom: -115px;
    left: -30px;
    animation: float 6s ease-in-out infinite 1s;
}

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

.hero-stats {
    position: absolute;
    bottom: -30px;
    right: 30px;
    background: var(--noir);
    color: white;
    padding: 30px 40px;
    border-radius: 8px;
    display: flex;
    gap: 40px;
    z-index: 10;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--vert-huault-light);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 5px;
}

/* Placeholder text hidden when image */
.placeholder-text {
    display: block;
}

.has-image .placeholder-text,
.hero-image-main:has(img) .placeholder-text {
    display: none;
}

/* ============================================
   HERO SLIDER
============================================ */

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide:first-child {
    position: relative;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slider-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gris-moyen);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot:hover {
    background: var(--gris-texte);
}

.hero-slider-dot.active {
    background: var(--vert-huault);
    transform: scale(1.2);
}

/* ============================================
   SECTIONS
============================================ */

section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vert-huault);
    margin-bottom: 20px;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--vert-huault);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--noir);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--vert-huault);
}

.section-description {
    font-size: 1.05rem;
    color: var(--gris-texte);
    line-height: 1.8;
}

/* ============================================
   ABOUT
============================================ */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--gris-moyen), var(--gris-chaud));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

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

.about-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--vert-huault);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 150, 64, 0.3);
}

.about-badge-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 5px;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 30px;
}

.about-content h2 em {
    font-style: italic;
    color: var(--vert-huault);
}

.about-text {
    color: var(--gris-texte);
    font-size: 1.05rem;
    margin-bottom: 35px;
    line-height: 1.9;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 150, 64, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vert-huault);
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--gris-texte);
}

/* ============================================
   SERVICES
============================================ */

.services {
    background: var(--noir);
    color: white;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(0, 150, 64, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(0, 150, 64, 0.1) 0%, transparent 40%);
}

.services .section-label {
    color: var(--vert-huault-light);
}

.services .section-label::before,
.services .section-label::after {
    background: var(--vert-huault-light);
}

.services .section-title {
    color: white;
}

.services .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 50px 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--vert-huault);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(0, 150, 64, 0.3);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 150, 64, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon svg {
    color: var(--vert-huault-light);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vert-huault-light);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 15px;
}

/* ============================================
   CHANTIERS
============================================ */

.chantiers {
    background: var(--blanc-casse);
}

.chantiers-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 28px;
    background: white;
    border: 1px solid var(--gris-moyen);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gris-texte);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--vert-huault);
    border-color: var(--vert-huault);
    color: white;
}

.chantiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.chantier-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.chantier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.chantier-card a {
    text-decoration: none;
    color: inherit;
}

.chantier-card * {
    text-decoration: none;
}

.chantier-image {
    width: 100%;
    aspect-ratio: 3/2;
    background: linear-gradient(135deg, var(--gris-moyen), var(--gris-chaud));
    position: relative;
    overflow: hidden;
}

.chantier-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.chantier-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--vert-huault);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.chantier-content {
    padding: 30px;
}

.chantier-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--gris-texte);
}

.chantier-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chantier-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.chantier-card:hover h3 {
    color: var(--vert-huault);
}

.chantier-excerpt,
.chantier-description {
    font-size: 0.9rem;
    color: var(--gris-texte);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.chantier-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--gris-moyen);
}

.chantier-client {
    font-size: 0.8rem;
}

.chantier-client span {
    color: var(--gris-texte);
}

.chantier-client strong {
    color: var(--noir);
}

.chantier-arrow {
    width: 40px;
    height: 40px;
    background: var(--blanc-casse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chantier-card:hover .chantier-arrow {
    background: var(--vert-huault);
    color: white;
}

/* ============================================
   VALUES
============================================ */

.values {
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--blanc-casse);
    border-radius: 12px;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 150, 64, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    color: var(--vert-huault);
}

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

.value-card p {
    font-size: 0.9rem;
    color: var(--gris-texte);
    line-height: 1.7;
}

/* ============================================
   TESTIMONIALS
============================================ */

.testimonials {
    background: var(--blanc-casse);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 30px;
    left: 40px;
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--vert-huault);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--noir);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--gris-moyen);
    border-radius: 50%;
    overflow: hidden;
}

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

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--gris-texte);
}

.testimonial-project {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gris-moyen);
    font-size: 0.8rem;
    color: var(--vert-huault);
    font-weight: 600;
}

/* ============================================
   ACTUS
============================================ */

.actus {
    background: var(--blanc-casse);
}

.actus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.actu-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.actu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.actu-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.actu-card__image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--gris-moyen), var(--gris-chaud));
    overflow: hidden;
}

.actu-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.actu-card__content {
    padding: 25px;
}

.actu-card__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--vert-huault);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.actu-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--noir);
    transition: color 0.3s ease;
}

.actu-card:hover .actu-card__title {
    color: var(--vert-huault);
}

.actu-card__excerpt {
    font-size: 0.9rem;
    color: var(--gris-texte);
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

.actu-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vert-huault);
    transition: gap 0.3s ease;
}

.actu-card:hover .actu-card__link {
    gap: 12px;
}

.actus-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   CONTACT CTA
============================================ */

.contact-cta {
    background: linear-gradient(135deg, var(--noir) 0%, var(--noir-profond) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 0;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 150, 64, 0.15) 0%, transparent 60%);
}

.contact-cta .container {
    position: relative;
    z-index: 2;
}

.contact-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta-content .section-label {
    color: var(--vert-huault-light);
}

.contact-cta-content .section-label::before,
.contact-cta-content .section-label::after {
    background: var(--vert-huault-light);
}

.contact-cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 500;
    color: white;
    margin-bottom: 25px;
}

.contact-cta-content h2 em {
    font-style: italic;
    color: var(--vert-huault-light);
}

.contact-cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-cta-buttons .btn-primary {
    box-shadow: 0 4px 25px rgba(0, 150, 64, 0.4);
}

.contact-cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--noir);
    border-color: white;
}

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

.footer {
    background: var(--noir-profond);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-logo-img {
    max-height: 60px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--vert-huault-light);
}

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

.footer-col a {
    color: var(--vert-huault-light);
    text-decoration: none;
}

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

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

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* ============================================
   PAGE CONTACT
============================================ */

.contact-section {
    padding: 140px 0 80px;
    background: var(--blanc-casse);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 20px;
}

.contact-content > p {
    font-size: 1.05rem;
    color: var(--gris-texte);
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 150, 64, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    color: var(--vert-huault);
}

.contact-info-item span {
    font-size: 0.75rem;
    color: var(--gris-texte);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 5px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 1rem;
    color: var(--noir);
    text-decoration: none;
    margin: 0;
}

.contact-info-item a:hover {
    color: var(--vert-huault);
}

.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 35px;
}

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

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--noir);
    background: var(--blanc-casse);
    border: 2px solid var(--gris-moyen);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--vert-huault);
    background: white;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

/* CF7 Styling */
.contact-form-wrapper .wpcf7 p {
    margin: 0;
}

.contact-form-wrapper .wpcf7 p br {
    display: none;
}

.contact-form-wrapper .wpcf7 .contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.contact-form-wrapper .wpcf7 .contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form-wrapper .wpcf7 .contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 10px;
}

.contact-form-wrapper .wpcf7 .contact-form input[type="text"],
.contact-form-wrapper .wpcf7 .contact-form input[type="email"],
.contact-form-wrapper .wpcf7 .contact-form input[type="tel"],
.contact-form-wrapper .wpcf7 .contact-form textarea,
.contact-form-wrapper .wpcf7 .contact-form select {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--noir);
    background: var(--blanc-casse);
    border: 2px solid var(--gris-moyen);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form-wrapper .wpcf7 .contact-form input:focus,
.contact-form-wrapper .wpcf7 .contact-form textarea:focus,
.contact-form-wrapper .wpcf7 .contact-form select:focus {
    outline: none;
    border-color: var(--vert-huault);
    background: white;
}

.contact-form-wrapper .wpcf7 .contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-wrapper .wpcf7 .contact-form input[type="submit"] {
    width: 100%;
    margin-top: 10px;
    padding: 18px 35px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    background: var(--vert-huault);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-wrapper .wpcf7 .contact-form input[type="submit"]:hover {
    background: var(--vert-huault-dark);
}

.contact-form-wrapper .wpcf7 .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.contact-form-wrapper .wpcf7 .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 5px;
}

.contact-map {
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   MENTIONS LEGALES
============================================ */

.legal-content {
    padding: 80px 0;
    background: white;
}

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

.legal-text h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--noir);
    margin: 40px 0 15px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    font-size: 1rem;
    color: var(--gris-texte);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-text a {
    color: var(--vert-huault);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* ============================================
   PAGE HEADERS
============================================ */

.page-header {
    padding: 160px 0 80px;
    text-align: center;
}

.page-header--light {
    background: var(--gris-chaud);
}

.page-header--light h1 {
    color: var(--noir);
}

.page-header--light h1 em {
    color: var(--vert-huault);
}

.page-header--light p {
    color: var(--gris-texte);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gris-texte);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--vert-huault);
}

.breadcrumb span:last-child {
    color: var(--noir);
    font-weight: 500;
}

/* ============================================
   SINGLE ACTU
============================================ */

.single-actu {
    padding: 140px 0 80px;
    background: var(--blanc-casse);
}

.single-actu .container {
    max-width: 900px;
}

.single-actu__header {
    text-align: center;
    margin-bottom: 50px;
}

.single-actu__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--vert-huault);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.single-actu__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--noir);
    margin: 0;
}

.single-actu__image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 50px;
}

.single-actu__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-actu__content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--gris-texte);
    text-align: justify;
}

.single-actu__content p {
    margin-bottom: 1.5em;
}

.single-actu__content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--noir);
    margin: 2em 0 1em;
}

.single-actu__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--gris-moyen);
}

.single-actu__nav a {
    color: var(--noir);
    text-decoration: none;
}

.single-actu__nav a:hover {
    color: var(--vert-huault);
}

/* ============================================
   PAGINATION
============================================ */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: white;
    border: 1px solid var(--gris-moyen);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--noir);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.nav-links a:hover {
    background: var(--vert-huault);
    border-color: var(--vert-huault);
    color: white;
}

.pagination .current,
.nav-links .current {
    background: var(--vert-huault);
    border-color: var(--vert-huault);
    color: white;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gris-texte);
}

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

@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 60px;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    #site-header {
        padding: 15px 30px;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--noir);
        transition: all 0.3s ease;
    }
    
    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: white;
        padding: 100px 40px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    #main-nav.active {
        right: 0;
    }
    
    #main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    #main-nav ul li {
        border-bottom: 1px solid var(--gris-moyen);
    }
    
    #main-nav ul li a {
        display: block;
        padding: 20px 0;
    }
    
    .hero {
        padding: 80px 30px 100px;
    }
    
    .hero-visual {
        max-width: 100%;
    }
    
    .hero-image-floating {
        width: 150px;
        height: 115px;
    }
    
    .hero-image-floating.top {
        right: -15px;
        top: -20px;
    }
    
    .hero-image-floating.bottom {
        left: -15px;
        bottom: -90px;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 50px;
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .chantiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .actus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero-image-floating {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .chantiers-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .actus-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* ============================================
   LIGHTBOX
============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

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

.lightbox-inner img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* ============================================
   SERVICE POPUP (savoir-faire)
============================================ */

.service-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-popup.active {
    opacity: 1;
}

.service-popup-inner {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.service-popup.active .service-popup-inner {
    transform: translateY(0);
}

.service-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gris-texte);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-popup-close:hover {
    background: var(--blanc-casse);
    color: var(--noir);
}

.service-popup-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

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

.service-popup-content {
    padding: 50px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-popup-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--vert-huault);
}

.service-popup-text {
    font-size: 1rem;
    color: var(--gris-texte);
    line-height: 1.9;
    text-align: justify;
}

.service-popup-text p {
    margin-bottom: 1em;
}

.service-popup-text p:last-child {
    margin-bottom: 0;
}

/* Button style for service-link used as button */
button.service-link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 768px) {
    .service-popup {
        padding: 20px;
        align-items: flex-end;
    }

    .service-popup-inner {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }

    .service-popup-image {
        aspect-ratio: 16/9;
    }

    .service-popup-content {
        padding: 30px 25px;
    }

    .service-popup-content h3 {
        font-size: 1.5rem;
    }

    .service-popup-close {
        top: 10px;
        right: 10px;
        background: rgba(255, 255, 255, 0.9);
        color: var(--noir);
    }
}

/* CTA Chantiers */
.chantiers-cta {
    text-align: center;
    margin-top: 50px;
}

/* ============================================
   HERO FULLWIDTH
============================================ */

.hero-fullwidth {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1000px;
    overflow: hidden;
}

/* Slides container */
.hero-fullwidth-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-fullwidth-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-fullwidth-slide.active {
    opacity: 1;
}

.hero-fullwidth-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-fullwidth-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gris-moyen), var(--gris-chaud));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gris-texte);
    letter-spacing: 0.2em;
}

/* Overlay gradient */
.hero-fullwidth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
    z-index: 2;
}

/* Content */
.hero-fullwidth-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
}

.hero-fullwidth-content .container {
    max-width: 700px;
    margin: 0;
    margin-left: 60px;
}

.hero-fullwidth .hero-label {
    color: var(--vert-huault-light);
}

.hero-fullwidth .hero-label::before {
    background: var(--vert-huault-light);
}

.hero-fullwidth h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: white;
    margin-bottom: 25px;
}

.hero-fullwidth h1 em {
    font-style: italic;
    color: var(--vert-huault-light);
}

.hero-fullwidth .hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.hero-fullwidth .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-fullwidth .btn-secondary:hover {
    background: white;
    color: var(--noir);
    border-color: white;
}

/* Stats */
.hero-fullwidth-stats {
    position: absolute;
    bottom: 60px;
    right: 60px;
    display: flex;
    gap: 50px;
    z-index: 5;
}

.hero-fullwidth-stats .stat {
    text-align: center;
}

.hero-fullwidth-stats .stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: white;
    line-height: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-fullwidth-stats .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

/* Navigation dots */
.hero-fullwidth-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-fullwidth-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-fullwidth-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-fullwidth-dot.active {
    background: var(--vert-huault-light);
    transform: scale(1.3);
}

/* Arrows */
.hero-fullwidth-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-fullwidth-arrow:hover {
    background: var(--vert-huault);
    border-color: var(--vert-huault);
}

.hero-fullwidth-prev {
    left: 30px;
}

.hero-fullwidth-next {
    right: 30px;
}

/* Video Background */
.hero-fullwidth-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-fullwidth-video-element {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-fullwidth-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Afficher le poster sur mobile (économie de data) */
@media (max-width: 768px) {
    .hero-fullwidth-video-element {
        display: none;
    }

    .hero-fullwidth-video-poster {
        opacity: 1;
    }
}

/* Responsive fullwidth */
@media (max-width: 1200px) {
    .hero-fullwidth-content .container {
        margin-left: 40px;
    }
    
    .hero-fullwidth-stats {
        right: 40px;
        bottom: 100px;
    }
}

@media (max-width: 992px) {
    .hero-fullwidth {
        min-height: 600px;
    }
    
    .hero-fullwidth-overlay {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.3) 100%
        );
    }
    
    .hero-fullwidth-content {
        justify-content: flex-end;
        padding-bottom: 150px;
    }
    
    .hero-fullwidth-content .container {
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .hero-fullwidth-stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 40px;
        margin-left: 30px;
        gap: 40px;
    }
    
    .hero-fullwidth-arrow {
        width: 50px;
        height: 50px;
    }
    
    .hero-fullwidth-prev {
        left: 15px;
    }
    
    .hero-fullwidth-next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .hero-fullwidth {
        min-height: 100vh;
        max-height: none;
    }

    .hero-fullwidth-content {
        justify-content: center;
        padding: 100px 0 60px;
    }

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

    .hero-fullwidth .hero-description {
        font-size: 1rem;
    }

    .hero-fullwidth-content .container {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .hero-fullwidth-stats {
        flex-direction: column;
        gap: 20px;
        margin-left: 20px;
    }
    
    .hero-fullwidth-stats .stat-number {
        font-size: 2.2rem;
    }
    
    .hero-fullwidth-arrow {
        display: none;
    }
    
    .hero-fullwidth-nav {
        bottom: 25px;
    }
}

/* ============================================
   SINGLE CHANTIER
============================================ */

.chantier-detail {
    padding: 140px 0 80px;
    background: var(--blanc-casse);
}

/* Header avec image + infos */
.chantier-detail-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.chantier-detail-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gris-moyen), var(--gris-chaud));
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

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

.chantier-detail-image span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--gris-texte);
    text-align: center;
    font-size: 0.9rem;
}

/* Info panel */
.chantier-detail-info {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.chantier-detail-category {
    display: inline-block;
    background: var(--vert-huault);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.chantier-detail-info h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 35px;
    line-height: 1.2;
}

/* Specs grid */
.chantier-detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.chantier-spec {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gris-moyen);
}

.chantier-spec-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gris-texte);
    margin-bottom: 8px;
}

.chantier-spec-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--noir);
}

.chantier-spec-value--highlight {
    color: var(--vert-huault);
    font-weight: 600;
}

/* Body: texte + galerie */
.chantier-detail-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.chantier-detail-text {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.chantier-detail-text h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--noir);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--vert-huault);
    display: inline-block;
}

.chantier-detail-text h2:not(:first-child) {
    margin-top: 40px;
}

.chantier-detail-text p {
    font-size: 1rem;
    color: var(--gris-texte);
    line-height: 1.9;
    margin-bottom: 1.2em;
    text-align: justify;
}

.chantier-detail-text ul {
    margin: 0 0 1.5em;
    padding-left: 0;
    list-style: none;
}

.chantier-detail-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--gris-texte);
    line-height: 1.7;
}

.chantier-detail-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--vert-huault);
    border-radius: 50%;
}

/* Galerie */
.chantier-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.chantier-gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.chantier-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.chantier-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.chantier-gallery-item::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: white;
    z-index: 2;
    transition: transform 0.3s ease;
}

.chantier-gallery-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.chantier-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Première image plus grande */
.chantier-gallery-item:first-child {
    grid-column: span 2;
}

/* Navigation prev/next */
.chantier-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid var(--gris-moyen);
    gap: 30px;
}

.chantier-nav-prev,
.chantier-nav-next {
    flex: 1;
}

.chantier-nav-next {
    text-align: right;
}

.chantier-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--noir);
    padding: 20px 25px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.chantier-nav-link:hover {
    background: var(--vert-huault);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 150, 64, 0.2);
}

.chantier-nav-link span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 5px;
}

.chantier-nav-link strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
}

.chantier-nav-link svg {
    flex-shrink: 0;
}

.chantier-navigation .btn-secondary {
    white-space: nowrap;
}

/* Responsive Single Chantier */
@media (max-width: 1200px) {
    .chantier-detail-header {
        gap: 40px;
    }
    
    .chantier-detail-body {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .chantier-detail {
        padding: 120px 0 60px;
    }
    
    .chantier-detail-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chantier-detail-info {
        padding: 35px;
    }
    
    .chantier-detail-body {
        grid-template-columns: 1fr;
    }
    
    .chantier-detail-text {
        padding: 35px;
    }
    
    .chantier-gallery {
        margin-top: 30px;
    }
    
    .chantier-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .chantier-nav-prev,
    .chantier-nav-next {
        width: 100%;
        text-align: center;
    }
    
    .chantier-nav-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .chantier-detail {
        padding: 100px 0 40px;
    }
    
    .chantier-detail-specs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .chantier-detail-info {
        padding: 25px;
    }
    
    .chantier-detail-text {
        padding: 25px;
    }
    
    .chantier-gallery {
        grid-template-columns: 1fr;
    }
    
    .chantier-gallery-item:first-child {
        grid-column: span 1;
    }
    
    .chantier-nav-link {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .chantier-nav-link strong {
        font-size: 1rem;
    }
}
