/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #F27100;
    --primary-dark: #d46300;
    --dark: #2b1d0e;
    --dark-2: #1a1008;
    --text: #2b1d0e;
    --text-light: #6b6058;
    --light-bg: #f8f4f0;
    --light-blue-bg: #fef5ec;
    --white: #ffffff;
    --radius: 50px;
    --radius-sm: 16px;
    --radius-xs: 8px;
    --font-heading: 'Rethink Sans', sans-serif;
    --font-body: 'Rethink Sans', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 119, 222, 0.3);
}

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

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

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

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

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1.5px solid #e0e0e0;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-2);
    transition: all 0.3s;
}

.nav-phone:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1002;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.nav-hamburger:hover {
    border-color: var(--primary);
}

.nav-hamburger.active {
    border-color: var(--primary);
    background: var(--light-blue-bg);
}

.hamburger-box {
    width: 20px;
    height: 14px;
    position: relative;
}

.hamburger-box span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.hamburger-box span:nth-child(1) {
    top: 0;
}

.hamburger-box span:nth-child(2) {
    bottom: 0;
}

.nav-hamburger.active .hamburger-box span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.nav-hamburger.active .hamburger-box span:nth-child(2) {
    bottom: 6px;
    transform: rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-overlay {
    display: none;
}

@media (max-width: 768px) {
    .mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    padding: 100px 80px 60px;
    margin: 86px 40px 0;
    overflow: hidden;
    border-radius: 24px;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-social {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title-sub {
    display: block;
    font-weight: 500;
    opacity: 0.9;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 20px;
    color: var(--white);
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 650px;
}

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

/* ==========================================
   SECTION HEADER (shared)
   ========================================== */
.section-header {
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-blue-bg);
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.section-badge span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 16px;
    max-width: 700px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--dark-2);
    opacity: 0.7;
    max-width: 500px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: 100px 0;
}

.section-header--centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title--centered {
    max-width: 700px;
    text-align: center;
}

.section-subtitle--centered {
    text-align: center;
}

.services-grid-alt {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    min-height: 380px;
}

.service-row--reversed {
    grid-template-columns: 1.3fr 1fr;
}

.service-card-alt {
    background: var(--white);
    border: 1px solid #e4e8ec;
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card-alt:hover {
    border-color: rgba(2, 119, 222, 0.2);
    box-shadow: 0 12px 40px rgba(2, 119, 222, 0.06);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.service-card-alt h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.service-card-alt p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 360px;
}

.service-img-alt {
    border-radius: 20px;
    overflow: hidden;
    max-height: 400px;
}

.service-img-alt img,
.service-img-alt video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.service-img-alt:hover img {
    transform: scale(1.04);
}

/* ==========================================
   TRAVAUX SECTION
   ========================================== */
.travaux {
    padding: 80px 0 100px;
    background: var(--white);
}

.travaux-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.travaux-header .section-title {
    margin-bottom: 0;
}

.travaux-carousel-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
}

.carousel-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--light-blue-bg);
}

.travaux-carousel {
    overflow: hidden;
}

.travaux-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.travaux-carousel-track .travaux-card {
    min-width: calc(50% - 12px);
    flex-shrink: 0;
}

.travaux-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
}

.travaux-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0, 0.15, 1);
}

.travaux-card:hover img {
    transform: scale(1.08);
}

/* Dark overlay — intensifies on hover */
.travaux-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.25) 0%, transparent 50%);
    transition: background 0.5s cubic-bezier(0.25, 0, 0.15, 1);
    z-index: 1;
    pointer-events: none;
}

.travaux-card:hover .travaux-card-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%);
}

/* Content container */
.travaux-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* Top row: badge + year — always visible */
.travaux-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    margin-bottom: 0;
    transition: margin-bottom 0.45s cubic-bezier(0.25, 0, 0.15, 1);
}

.travaux-card:hover .travaux-card-top {
    margin-bottom: 12px;
}

.travaux-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
}

.badge-dot-small {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.travaux-card-badge span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.travaux-card-year {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 14px;
    border-radius: 20px;
}

/* Details panel — hidden, slides up on hover */
.travaux-card-details {
    transform: translateY(20px);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.25, 0, 0.15, 1),
        opacity 0.4s cubic-bezier(0.25, 0, 0.15, 1),
        max-height 0.45s cubic-bezier(0.25, 0, 0.15, 1);
}

.travaux-card:hover .travaux-card-details {
    transform: translateY(0);
    opacity: 1;
    max-height: 200px;
}

.travaux-card-details h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0, 0.15, 1) 0.05s,
                opacity 0.35s ease 0.05s;
}

.travaux-card:hover .travaux-card-details h4 {
    transform: translateY(0);
    opacity: 1;
}

.travaux-card-details p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 14px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0, 0.15, 1) 0.1s,
                opacity 0.35s ease 0.1s;
}

.travaux-card:hover .travaux-card-details p {
    transform: translateY(0);
    opacity: 1;
}

/* Meta info row */
.travaux-card-meta {
    display: flex;
    gap: 20px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 0, 0.15, 1) 0.15s,
                opacity 0.35s ease 0.15s;
}

.travaux-card:hover .travaux-card-meta {
    transform: translateY(0);
    opacity: 1;
}

.travaux-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.travaux-meta-item svg {
    opacity: 0.7;
}


/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
    padding: 100px 0 0;
    background: var(--white);
}

/* Header: title left, text+CTA right */
.about-header {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 0;
}

.about-header-right {
    padding-top: 40px;
}

.about-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Stats banner — light */
.about-stats-banner {
    background: transparent;
    padding: 0;
    margin-top: 60px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #e4e4e4;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.stat-card {
    padding: 44px 24px;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
    background: var(--white);
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: #e4e4e4;
}

.stat-card:hover {
    background: var(--light-blue-bg);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

/* Editorial features — numbered, separated by lines */
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 64px 0 80px;
}

.about-feature {
    padding: 0 40px;
    position: relative;
}

.about-feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: #e4e4e4;
}

.about-feature:first-child {
    padding-left: 0;
}

.about-feature:last-child {
    padding-right: 0;
}

.about-feature-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    opacity: 0.7;
}

.about-feature h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-feature p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-page {
    padding: 140px 0 100px;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #868686;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242, 113, 0, 0.1);
}

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

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
}

/* Navbar solid variant (for inner pages) */
.navbar--solid {
    position: fixed;
    background: var(--white);
    border-bottom: 1px solid #e8ecf0;
}

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

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

.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius-xs);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.3s;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b6058' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(242, 113, 0, 0.1);
}

.contact-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.contact-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

/* ==========================================
   AVANT / APRÈS SECTION
   ========================================== */
.ba {
    background: var(--white);
    padding: 100px 0;
    overflow: hidden;
}

.ba-header {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.ba-header .section-title {
    margin-bottom: 0;
}

.ba-nav {
    display: none;
    gap: 10px;
    flex-shrink: 0;
}


/* Image strip */
.ba-strip {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.ba-strip-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Card */
.ba-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.ba-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-slider {
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0, 0.15, 1);
}

.ba-card:hover .ba-slider {
    transform: scale(1.06);
}

.ba-slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.ba-slider-img.is-active {
    opacity: 1;
}

.ba-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.35) 0%, transparent 50%);
    transition: background 0.5s cubic-bezier(0.25, 0, 0.15, 1);
    z-index: 1;
    pointer-events: none;
}

.ba-card:hover .ba-card-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%);
}

/* Badge inside card */
.ba-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    padding: 5px 14px;
    border-radius: 40px;
    z-index: 2;
}

.ba-badge--after {
    background: var(--primary);
    left: auto;
    right: 16px;
}

/* Info inside card — hidden, slides up on hover */
.ba-card-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition:
        transform 0.5s cubic-bezier(0.25, 0, 0.15, 1),
        opacity 0.45s cubic-bezier(0.25, 0, 0.15, 1);
}

.ba-card:hover .ba-card-info {
    transform: translateY(0);
    opacity: 1;
}

.ba-card-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.3;
    transform: translateY(8px);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.25, 0, 0.15, 1) 0.05s,
        opacity 0.4s ease 0.05s;
}

.ba-card:hover .ba-card-info h4 {
    transform: translateY(0);
    opacity: 1;
}

.ba-card-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(8px);
    opacity: 0;
    transition:
        transform 0.45s cubic-bezier(0.25, 0, 0.15, 1) 0.1s,
        opacity 0.4s ease 0.1s;
}

.ba-card:hover .ba-card-info p {
    transform: translateY(0);
    opacity: 1;
}

/* Before is desaturated, after is vivid */
.ba-card--before img {
    filter: grayscale(1) brightness(0.55) contrast(1.1);
}

.ba-card--after img {
    filter: brightness(1.05) saturate(1.1);
}

/* ==========================================
   AVIS CLIENTS SECTION
   ========================================== */
.avis {
    background: var(--light-bg);
    padding: 100px 0 120px;
}

.avis-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.avis-top .section-title {
    margin-bottom: 0;
}

.avis-header {
    margin-bottom: 0;
}

.avis-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}


/* Carousel */
.avis-carousel {
    overflow: hidden;
}

.avis-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0, 0.15, 1);
}

.avis-item {
    padding: 36px;
    background: var(--white);
    border-radius: 16px;
    width: calc(50% - 12px);
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
}

.avis-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
}

.avis-stars svg {
    width: 18px;
    height: 18px;
}

.avis-quote {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.55;
    margin-bottom: 28px;
    flex-grow: 1;
}

.avis-attr {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avis-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--light-blue-bg);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avis-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.avis-city {
    display: block;
    font-size: 13px;
    color: var(--text-light);
}

/* ==========================================
   AVIS CTA — bouton Google
   ========================================== */
.avis-cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.avis-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--white);
    color: var(--text);
    border: 1.5px solid #e4dfda;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
        box-shadow 0.3s ease;
}

.avis-btn svg:last-child {
    color: var(--text-light);
    transition: transform 0.3s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}

.avis-btn:hover {
    border-color: var(--primary);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -12px rgba(43, 29, 14, 0.18);
}

.avis-btn:hover svg:last-child {
    transform: translate(2px, -2px);
    color: var(--primary);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--white);
    color: var(--text);
    padding: 60px 0 0;
    border-top: 1px solid #e8ecf0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-left p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 350px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #e8ecf0;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 80px 40px 50px;
        min-height: 600px;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .service-row {
        grid-template-columns: 1fr 1fr;
        min-height: 320px;
    }

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

    .travaux-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }


    .ba-strip-track {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ba-card {
        height: 280px;
    }


    .avis-quote {
        font-size: 22px;
    }

    .about-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-header-right {
        padding-top: 0;
    }

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

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
        transform: translateX(100%);
        transition: none;
        z-index: 1001;
        align-items: stretch;
        visibility: hidden;
    }

    .nav-links.open,
    .nav-links.is-ready {
        visibility: visible;
    }

    .nav-links.is-ready {
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 14px 16px;
        font-size: 17px;
        font-weight: 600;
        border-radius: 12px;
        color: var(--text);
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav-links.open .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.open .nav-link:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.open .nav-link:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.open .nav-link:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.open .nav-link:nth-child(4) { transition-delay: 0.25s; }

    .nav-link:hover,
    .nav-link.active {
        background: var(--light-blue-bg);
        color: var(--primary);
    }

    .nav-actions {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero {
        padding: 60px 24px 40px;
        min-height: 550px;
        margin: 82px 12px 0;
        border-radius: 20px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-description {
        font-size: 16px;
    }

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

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

    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .service-row,
    .service-row--reversed {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .service-row .service-card-alt,
    .service-row--reversed .service-card-alt {
        order: 1;
    }

    .service-row .service-img-alt,
    .service-row--reversed .service-img-alt {
        order: 2;
        height: 260px;
    }

    .service-card-alt {
        padding: 32px 24px;
    }

    .travaux {
        padding: 60px 0;
    }

    .travaux-carousel {
        overflow: hidden;
        width: 100%;
    }

    .travaux-carousel-track {
        gap: 16px;
    }

    .travaux-carousel-track .travaux-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .travaux-card {
        height: 320px;
    }

    /* Show card details permanently on mobile */
    .travaux-card-overlay {
        background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 100%);
    }

    .travaux-card-top {
        margin-bottom: 10px;
    }

    .travaux-card-details {
        transform: translateY(0);
        opacity: 1;
        max-height: 200px;
    }

    .travaux-card-details h4,
    .travaux-card-details p,
    .travaux-card-meta {
        transform: translateY(0);
        opacity: 1;
    }

    .ba {
        padding: 64px 0;
    }

    .ba-header {
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }

    .ba-header-left {
        flex: 1 0 100%;
    }

    .ba-nav {
        display: flex;
        order: 2;
        flex: 0 0 auto;
    }

    .ba-nav .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    /* Carrousel transform-based — chaque paire = 1 card pleine largeur,
       mais on laisse déborder la suivante pour indiquer qu'il y en a plus */
    .ba-strip {
        padding: 0;
        margin: 0;
        max-width: 100%;
        overflow: hidden;
        position: relative;
    }

    .ba-strip-track {
        display: flex;
        flex-direction: row;
        gap: 12px;
        padding: 0 16px;
        transition: transform 0.5s cubic-bezier(0.25, 0, 0.15, 1);
        will-change: transform;
    }

    .ba-pair {
        flex: 0 0 calc(100vw - 48px);
        max-width: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ba-card {
        height: 200px;
        border-radius: 14px;
    }

    /* Sur mobile, infos toujours visibles */
    .ba-card-overlay {
        background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    }

    .ba-card-info {
        bottom: 12px;
        left: 12px;
        right: 12px;
        transform: translateY(0);
        opacity: 1;
    }

    .ba-card-info h4 {
        font-size: 13px;
        margin-bottom: 2px;
        transform: translateY(0);
        opacity: 1;
        line-height: 1.25;
    }

    .ba-card-info p {
        font-size: 11px;
        transform: translateY(0);
        opacity: 1;
    }

    .ba-badge {
        top: 10px;
        left: 10px;
        font-size: 9px;
        padding: 4px 10px;
        letter-spacing: 0.08em;
    }

    .ba-badge--after {
        left: auto;
        right: 10px;
    }

    .ba-pair {
        gap: 8px;
    }

    .avis {
        padding: 64px 0 80px;
    }

    .avis-top {
        flex-wrap: wrap;
        gap: 20px;
    }

    .avis-header {
        flex: 1 0 100%;
    }

    .avis-nav {
        order: 2;
        flex: 0 0 auto;
    }


    .avis-item {
        padding: 24px;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .avis-quote {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .avis-name {
        font-size: 13px;
    }

    .avis-city {
        font-size: 11px;
    }

    .about {
        padding: 60px 0 0;
    }

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

    .stat-card {
        padding: 28px 8px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0 60px;
    }

    .about-feature {
        padding: 0;
        padding-bottom: 32px;
    }

    .about-feature:not(:last-child)::after {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 1px;
    }

    .about-feature:last-child {
        padding-bottom: 0;
    }

    .contact-page {
        padding: 100px 0 60px;
    }

    .contact-form {
        padding: 24px;
    }

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

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

    .nav-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-card-alt {
        padding: 28px 20px;
    }
}
