:root {
    --primary: #E87722;
    --primary-hover: #D0691A;
    --anthracite: #3d3d3d;
    --anthracite-dark: #2a2a2a;
    --anthracite-light: #555555;
    --white: #ffffff;
    --creme: #f8f5f0;
    --text-body: #666666;
    --text-title: #222222;
    --radius-pill: 50px;
    --radius-box: 0px;
    --transition: all 0.3s ease-in-out;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Slab', serif;
    color: var(--text-title);
    font-weight: 400;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   BLOC 1: NAVBAR
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
}

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

.logo img {
    height: 55px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

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

.nav-links a {
    font-family: 'Verdana', sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--white);
    text-transform: uppercase;
}

.nav-links a:hover {
    opacity: 0.8;
}

.lang-dropdown {
    position: relative;
}

.lang-drop-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--white);
    font-weight: normal;
}

.lang-drop-content {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    overflow: hidden;
}

.lang-dropdown:hover .lang-drop-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-drop-content a {
    display: block;
    padding: 10px 15px;
    font-size: 0.85rem;
    color: var(--anthracite);
}

.lang-drop-content a:hover {
    background: var(--creme);
    color: var(--primary);
}

/* =========================================
   BLOC 2: CAROUSEL HERO
   ========================================= */
.hero-carousel {
    margin-top: 80px;
    position: relative;
    width: 100%;
    height: 350px;
    background: var(--creme);
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.carousel-item.active {
    opacity: 1;
    z-index: 10;
}

.carousel-content {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(5px);
    padding: 40px;
    max-width: 500px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.align-left {
    margin-left: 10%;
    margin-right: auto;
    text-align: left;
}

.align-right {
    margin-right: 10%;
    margin-left: auto;
    text-align: right;
}

.carousel-content h2 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--text-title);
    margin: 0;
    line-height: 1.4;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    border-radius: 50%;
    transition: 0.3s;
}

.carousel-control:hover {
    background: var(--primary);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.indicator {
    width: 25px;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: var(--primary);
}

/* =========================================
   BLOC 3: BANDEAU B2B
   ========================================= */
.b2b-banner {
    background: var(--anthracite);
    padding: 60px 0;
    width: 100%;
}

.b2b-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.b2b-text {
    width: 70%;
}

.b2b-text h3 {
    color: var(--primary);
    font-family: 'Roboto Slab', serif;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.b2b-text h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.b2b-text p {
    color: #cccccc;
    font-family: 'Verdana', sans-serif;
    font-size: 0.95rem;
}

.b2b-cta {
    width: 30%;
    text-align: right;
}

.btn-ghost {
    display: inline-block;
    padding: 15px 35px;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-family: 'Verdana', sans-serif;
    font-weight: normal;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--anthracite);
}

/* =========================================
   BLOC 4: SERVICES
   ========================================= */
.services-section {
    background: var(--white);
    padding: 60px 0;
}

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

.service-card {
    padding: 0 30px;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Orange thin dividers between columns */
.service-card:not(:last-child) {
    border-right: 1px solid rgba(232, 119, 34, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 1.3rem;
    color: var(--text-title);
    margin-bottom: 10px;
}

.service-content p {
    font-size: 0.85rem;
    color: var(--text-body);
}

/* =========================================
   BLOC ADDITIONNEL: CATALOGUE
   ========================================= */
.catalog-section {
    padding: 80px 0;
    background: var(--creme);
    border-top: 1px solid #eaeaea;
}

.catalog-title {
    text-align: center;
    margin-bottom: 50px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 40px;
}

.catalog-sidebar h4 {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.catalog-sidebar ul {
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.catalog-sidebar li {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: var(--anthracite-light);
}

.catalog-sidebar li strong {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
    margin-top: 15px;
}

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

.product-card {
    background: var(--white);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.product-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.product-card p {
    font-size: 0.85rem;
}

/* =========================================
   BLOC 5: CAROUSEL LOGOS (MARQUEE)
   ========================================= */
.logos-section {
    background: var(--creme);
    padding: 40px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.logos-track {
    display: flex;
    gap: 60px;
    align-items: center;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.logos-track img {
    height: 45px;
    filter: grayscale(0%);
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logos-track img:hover {
    filter: brightness(1.1);
    opacity: 1;
    transform: scale(1.15);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   BLOC 6: FOOTER
   ========================================= */
footer {
    background: var(--anthracite);
    color: var(--white);
}

.footer-main {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 60px;
}

.footer-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .footer-contact-layout {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 10px;
}

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

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

.footer-bottom {
    background: var(--anthracite-dark);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #999;
}

.footer-bottom a {
    color: #999;
    margin: 0 10px;
}

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

/* RESPONSIVE */
/* =========================================
   MODERN GALLERY
   ========================================= */
.modern-gallery {
    columns: 2;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .modern-gallery {
        columns: 2;
    }
}

@media (max-width: 576px) {
    .modern-gallery {
        columns: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

/* Modal / Lightbox */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-modal.active .modal-content {
    transform: scale(1);
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--white);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

@media (max-width: 900px) {

    .b2b-inner,
    .services-grid,
    .catalog-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .b2b-text,
    .b2b-cta {
        width: 100%;
        text-align: left;
    }

    .b2b-cta {
        margin-top: 30px;
    }

    .service-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(232, 119, 34, 0.3);
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .carousel-content {
        margin: 0 auto;
        text-align: center;
    }
}

/* =========================================
   LEGACY PAGES FIX (About, Privacy, Terms)
   ========================================= */
.doc-page {
    padding: 150px 0 100px;
    min-height: 80vh;
    background: #fafaf9;
}

.doc-header {
    text-align: center;
    margin-bottom: 60px;
}

.doc-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-title);
    text-transform: uppercase;
}

.doc-breadcrumb {
    font-weight: normal;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.doc-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 80px;
    border-radius: 40px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #f5f5f4;
    line-height: 1.8;
}

.doc-content h2 {
    font-size: 2rem;
    margin: 50px 0 25px;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

.doc-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.gallery-placeholder {
    width: 100%;
    height: 400px;
    border: 3px dashed #e7e5e4;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #57534e;
    gap: 20px;
    margin-top: 60px;
    transition: var(--transition);
    background: #fafaf9;
}

.gallery-placeholder:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
}

.btn-client {
    background: var(--primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: normal;
    font-size: 0.85rem;
}

.nav-phone {
    font-weight: normal;
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff7ed;
    border-radius: 50px;
    transition: var(--transition);
}

.hamburger {
    display: none;
}