/* ===== 1. GLOBAL TYPOGRAPHY & BRAND VARS ===== */
:root {
  --black: #0a0a0a;
  --white: #f5f4f0; 
  --accent: #c8a96e;
  --brand-red: #c0392b;
  --gray: #6b6b6b;
  --light-gray: #e8e7e3;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
}

h1, h2, h3, .hero-title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 1.1;
    color: var(--black);
}

p, a, li, input, textarea, span, strong {
    font-family: 'DM Sans', sans-serif;
}

/* ===== 2. NAVIGATION (Fixed & Minimalist) ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 5%; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px); z-index: 1000;
  border-bottom: 1px solid var(--light-gray);
}

.nav-logo { 
    font-size: 1.2rem; 
    text-decoration: none; 
    color: black; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    flex-wrap: wrap; 
}

.logo-red { 
    color: var(--brand-red); 
    margin-left: 6px; /* Espacement après 'SARL' */
}

/* Conteneur Logo + Texte Fermator */
.distributor-wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px;
    border-left: 2px solid var(--light-gray);
    padding-left: 15px;
}

.fermator-mini-logo {
    height: 35px;       /* Made it a bit bigger as requested */
    width: auto;
    margin: 0 6px;    /* 0 top/bottom, 20px left/right spacing */
    vertical-align: middle;
    position: relative;
    top: 3px;          /* Nudge it down to align perfectly */
}


.distributor-text { 
    font-size: 0.8rem; 
    font-weight: 500; 
    color: var(--gray); 
    white-space: nowrap;
}

.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray);
  font-size: 0.8rem; text-transform: uppercase; font-weight: 600;
  transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-red); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 5px;
}
.hamburger span { display: block; width: 25px; height: 2px; background: var(--black); transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== 4. HERO SECTION ===== */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background-color: #000000; 
    background-image: url('images/logo-bg.jpg'); 
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.hero-content { max-width: 850px; z-index: 2; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); color: white; margin-bottom: 15px; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== 5. STICKY EXPERIENCE ===== */
#sticky-experience { padding: 120px 10%; background: white; }
.sticky-row { display: flex; gap: 80px; margin-bottom: 120px; align-items: center; }
.sticky-row.reverse { flex-direction: row-reverse; }
.sticky-media { flex: 1; }
.sticky-media img { width: 100%; height: auto; border-radius: 2px; }
.sticky-content { flex: 1; }
.sticky-content .tag { color: var(--brand-red); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; display: block; margin-bottom: 10px;}
.sticky-content h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* ===== 6. SERVICES GRID ===== */
#services { padding: 100px 5%; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.service-card { border: 1px solid var(--light-gray); padding: 40px; background: white; transition: 0.3s; }
.service-card:hover { border-color: var(--brand-red); transform: translateY(-5px); }

/* ===== 7. CONTACT & FORMS ===== */
#contact { padding: 100px 5%; }
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto; }
input, textarea { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid var(--light-gray); font-size: 1rem; font-family: 'DM Sans', sans-serif; }

/* ===== 8. BUTTONS ===== */
.btn {
  padding: 15px 30px; text-decoration: none; display: inline-block;
  font-size: 0.85rem; text-transform: uppercase; font-weight: 700;
  transition: 0.3s; cursor: pointer; border: none; border-radius: 2px;
}
.btn-primary { background: var(--brand-red); color: white !important; }
.btn-outline { background: transparent; border: 2px solid white; color: white; }
.btn-outline:hover { background: white; color: black; }

/* ===== 9. WHATSAPP & RESPONSIVE ===== */
.whatsapp-float {
  position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1000;
}

@media (max-width: 900px) {
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 20px 5%;
        border-bottom: 1px solid var(--light-gray);
        gap: 15px;
    }
    .nav-links.open { display: flex; }

    .nav-logo { justify-content: center; }

    .distributor-wrapper {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        border-left: none;
        padding-left: 0;
        margin-top: 8px;
    }

    .fermator-mini-logo { height: 20px; }
    .distributor-text { font-size: 0.7rem; }

    .sticky-row, .sticky-row.reverse { flex-direction: column; text-align: center; }
    .contact-container { grid-template-columns: 1fr; }
}
