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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #050505;
    color: #f5f5f5;
    line-height: 1.6;
}

/* Layout utilitaires */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section {
    padding: 4rem 0;
    background: #050505;
}

.section-dark {
    background: #000000;
}

h1, h2, h3 {
    font-weight: 600;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 650px;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(255, 122, 0, 0.3);
    backdrop-filter: blur(8px);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a00, #ffb347);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
}

.logo-name {
    font-weight: 600;
}

/* Nav */
.nav {
    position: fixed;
    top: 56px;
    right: 0;
    background: #000;
    width: 100%;
    max-width: 260px;
    transform: translateX(100%);
    transition: transform 0.25s ease-out;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    border-left: 1px solid rgba(255, 122, 0, 0.2);
    border-bottom: 1px solid rgba(255, 122, 0, 0.2);
}

.nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.35rem 0;
}

.nav a:hover {
    color: #ff7a00;
}

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

/* Burger */
.burger {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.25rem;
    cursor: pointer;
}

.burger span {
    width: 20px;
    height: 2px;
    background: #f5f5f5;
    border-radius: 999px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.25rem 3rem;
    background: radial-gradient(circle at top, #1a120a 0, #000 45%, #000 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at top left, rgba(255, 122, 0, 0.25), transparent 60%),
                      radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    max-width: 720px;
    text-align: center;
    z-index: 1;
}

.logo-big {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 122, 0, 0.65);
    margin-bottom: 1.5rem;
}

.logo-big .logo-mark {
    width: 40px;
    height: 40px;
}

.logo-big .logo-name {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

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

.hero-tagline {
    font-size: 1.05rem;
    color: #ffb347;
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 1.75rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7a00, #ffb347);
    color: #000;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(255, 122, 0, 0.45);
}

.btn-secondary {
    background: transparent;
    color: #f5f5f5;
    border: 1px solid rgba(245, 245, 245, 0.35);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
}

.badge-outline {
    border-color: rgba(255, 122, 0, 0.7);
    background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.32), rgba(0,0,0,0.9));
}

.badge-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.badge-sub {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 0.3rem;
}

/* Floating Contact */
.floating-contact {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.btn-phone,
.btn-whatsapp {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-phone {
    background: #111;
    color: #ffb347;
    border: 1px solid rgba(255, 122, 0, 0.6);
}

.btn-whatsapp {
    background: #25d366;
    color: #000;
    font-weight: 600;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.service-card {
    padding: 1.25rem;
    border-radius: 0.9rem;
    background: linear-gradient(145deg, #050505, #101010);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}


/* Service cards with background images */
.service-card.service-bg{
    position: relative;
    overflow: hidden;
}
.service-card.service-bg::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    transform: scale(1.05);
    filter: grayscale(15%) contrast(1.1);
}
.service-card.service-bg::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.35));
}
.service-card.service-bg > *{
    position: relative;
    z-index: 1;
}
.service-card h3 {
    margin-bottom: 0.5rem;
    color: #ffb347;
    font-size: 1rem;
}

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

.realisations-item h3 {
    margin-bottom: 0.75rem;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.before, .after {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.before img,
.after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.label {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    background: rgba(0, 0, 0, 0.75);
    color: #f5f5f5;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Fournisseurs */
.section-suppliers {
    border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.suppliers-marquee {
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.28), rgba(0, 0, 0, 0.95));
    padding: 0.5rem 0;
    margin-top: 1rem;
}

.suppliers-track {
    display: inline-flex;
    gap: 2.5rem;
    animation: marquee 24s linear infinite;
    padding-inline: 2rem;
}

.suppliers-track span {
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Témoignages */
.testimonials {
    display: grid;
    gap: 1.2rem;
}

.testimonial {
    padding: 1.25rem 1.4rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.98));
    font-size: 0.95rem;
}

.testimonial .author {
    display: block;
    margin-top: 0.75rem;
    opacity: 0.7;
    font-size: 0.85rem;
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

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

label {
    font-size: 0.85rem;
    opacity: 0.85;
}

input, textarea {
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #050505;
    color: #f5f5f5;
    padding: 0.6rem 0.7rem;
    font: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: rgba(255, 122, 0, 0.7);
}

.btn-full {
    width: 100%;
    margin-top: 0.25rem;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
}

.contact-info a {
    color: #ffb347;
    text-decoration: none;
}

.contact-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    margin-top: 0.75rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 122, 0, 0.7);
    background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.32), rgba(0, 0, 0, 0.96));
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    font-size: 0.8rem;
    opacity: 0.7;
    background: #000;
}

/* Responsive */
@media (min-width: 800px) {
    .header {
        padding-inline: 2rem;
    }

    .nav {
        position: static;
        transform: none;
        flex-direction: row;
        background: transparent;
        border: none;
        width: auto;
        max-width: none;
        padding: 0;
        gap: 1.5rem;
    }

    .burger {
        display: none;
    }

    .hero {
        padding-top: 7rem;
    }

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

    .hero-sub {
        font-size: 1rem;
    }

    .section {
        padding: 5rem 0;
    }

    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: flex-start;
    }

    .testimonials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .floating-contact {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    .hero-cta {
        flex-direction: column;
    }
}


.logo-img-header {
    height: 40px;
    width: auto;
    display: block;
}

.logo-big-img {
    background: none;
    border: none;
    padding: 0;
}

.logo-img-hero {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
}

/* Service icons */
.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    background: radial-gradient(circle at top left, rgba(255, 122, 0, 0.35), rgba(0, 0, 0, 0.9));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.8);
}


/* Before / After slider */
.slider-item {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.ba-slider {
    position: relative;
    width: 100%;
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #000;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8);
}

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

.ba-after {
    position: relative;
    z-index: 1;
}

.ba-before-wrap {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    z-index: 2;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-before {
    width: 200%;
    height: 100%;
    object-fit: cover;
    transform: translateX(0);
}

.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    z-index: 5;
}

/* Range styling */
.ba-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 100%;
}

.ba-range::-moz-range-thumb {
    width: 0;
    height: 100%;
    border: none;
}

/* Handle */
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 6;
    pointer-events: none;
    font-size: 0.7rem;
}

.ba-knob {
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a00, #ffb347);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
}

.ba-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.ba-label-left {
    margin-right: 0.1rem;
}

.ba-label-right {
    margin-left: 0.1rem;
}

@media (max-width: 600px) {
    .ba-handle {
        font-size: 0.65rem;
        padding-inline: 0.6rem;
    }
}


/* Avant / Après côte à côte (version simple, stable) */
.ba-grid { display: grid; gap: 2rem; }
.ba-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ba-card {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #000;
}
.ba-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.ba-card figcaption{
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 700px) {
  .ba-row { grid-template-columns: 1fr; }
  .ba-card img { height: 260px; }
}


/* === Bande défilante logos fournisseurs (stable, sans JS) === */
.logo-marquee{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.55);
  padding: 16px 0;
}

/* voile discret sur les côtés */
.logo-marquee::before,
.logo-marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee::before{
  left:0;
  background: linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,0,0,0));
}
.logo-marquee::after{
  right:0;
  background: linear-gradient(to left, rgba(0,0,0,0.95), rgba(0,0,0,0));
}

.logo-track{
  display:flex;
  align-items:center;
  gap: 34px;
  width: max-content;
  animation: marquee 22s linear infinite;
  padding-left: 24px;
}

.logo-track img{
  height: 44px;         /* hauteur uniforme */
  width: auto;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.55));
  opacity: 0.95;
}

.logo-marquee:hover .logo-track{
  animation-play-state: paused; /* pause au survol PC */
}

@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* boucle fluide car on duplique */
}

@media (max-width: 600px){
  .logo-track img{ height: 38px; }
  .logo-track{ animation-duration: 18s; }
}

.logos-note{
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.7;
}