/* ================================================================
   LE MULET — style.css
   Dark industrial theme | Orange #F47C00 | Inter font
================================================================ */

/* ----------------------------------------------------------------
   VARIABLES & RESET
---------------------------------------------------------------- */
:root {
    --orange:       #F47C00;
    --orange-light: #FF9A2E;
    --orange-dim:   rgba(244, 124, 0, 0.12);
    --bg:           #0F1117;
    --bg-card:      #161923;
    --bg-card2:     #1C1F2E;
    --border:       #2A2D3E;
    --text:         #FFFFFF;
    --text-2:       #B0B3C1;
    --text-3:       #6B6E7B;
    --success:      #22C55E;
    --radius:       12px;
    --radius-sm:    8px;
    --shadow:       0 4px 24px rgba(0,0,0,0.35);
    --nav-h:        72px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ----------------------------------------------------------------
   UTILITY
---------------------------------------------------------------- */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-orange { color: var(--orange); }

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--orange);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(244,124,0,0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: var(--text-2);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 0;
    border: none;
    background: none;
    transition: color 0.2s;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.btn-ghost:hover { color: var(--orange); }

.btn-product {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-product:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-dim);
}

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

.btn-nav {
    display: inline-flex;
    align-items: center;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    white-space: nowrap;
}
.btn-nav:hover { background: var(--orange-light); }

/* ----------------------------------------------------------------
   NAVIGATION
---------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(15, 17, 23, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
    border-color: var(--border);
    background: rgba(15, 17, 23, 0.92);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.nav-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.nav-logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.4rem;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-2);
    font-size: 1.4rem;
    padding: 0.5rem;
}

.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.mobile-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-2);
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}
.mobile-link:hover { color: var(--orange); }
.btn-mobile-cta { font-size: 1rem; margin-top: 1rem; }

/* ----------------------------------------------------------------
   SECTION SHARED
---------------------------------------------------------------- */
.section {
    padding: 6rem 0;
}
.section-dark { background: var(--bg-card); }
.section-accent { background: linear-gradient(180deg, var(--bg-card2) 0%, var(--bg) 100%); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}
.section-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.section-header p { color: var(--text-2); font-size: 1.05rem; }

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange);
    background: var(--orange-dim);
    padding: 0.3rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

/* ----------------------------------------------------------------
   SCROLL ANIMATIONS
---------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,17,23,0.88) 0%,
        rgba(15,17,23,0.65) 50%,
        rgba(15,17,23,0.50) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 1.5rem;
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-2);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.hero-badge .flag { font-size: 1rem; }

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 700px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(22, 25, 35, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    width: fit-content;
    max-width: 100%;
}
.hero-stat {
    text-align: center;
    padding: 0 2rem;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { padding-right: 0; }

.stat-val {
    display: block;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-stat-sep {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    animation: bounce 1.5s ease infinite;
}
@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(6px); }
}

/* ----------------------------------------------------------------
   PROBLÈME
---------------------------------------------------------------- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
}
.problem-card:hover { border-color: rgba(244,124,0,0.5); transform: translateY(-3px); }

.problem-icon { font-size: 2rem; margin-bottom: 1rem; }
.problem-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.problem-card p { font-size: 0.9rem; color: var(--text-2); }

.problem-visual {
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 380px;
}
.problem-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    filter: brightness(0.8);
}

/* ----------------------------------------------------------------
   SOLUTION
---------------------------------------------------------------- */
.solution-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.solution-text .section-label { display: inline-block; }
.solution-text h2 { font-size: 2rem; font-weight: 800; margin: 0.75rem 0 1rem; line-height: 1.2; }
.solution-lead { font-size: 1.05rem; color: var(--text-2); margin-bottom: 1.75rem; line-height: 1.7; }

.solution-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.solution-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.solution-list .check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 1px;
}
.solution-list li > div { display: flex; flex-direction: column; gap: 0.2rem; }
.solution-list strong { font-size: 0.95rem; font-weight: 600; }
.solution-list span { font-size: 0.85rem; color: var(--text-2); }

.solution-ctas { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.solution-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.solution-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}
.solution-badge {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(15,17,23,0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-icon { font-size: 1rem; }

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
}
.pillar {
    text-align: center;
    padding: 1.5rem;
}
.pillar-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.pillar h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.pillar p { font-size: 0.9rem; color: var(--text-2); }

/* ----------------------------------------------------------------
   FONCTIONNEMENT
---------------------------------------------------------------- */
.steps-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.steps-visual {
    border-radius: var(--radius);
    overflow: hidden;
}
.steps-visual img { width: 100%; border-radius: var(--radius); }

.steps-list { display: flex; flex-direction: column; gap: 0; }

.step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.step:last-child { border-bottom: none; }

.step-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    flex-shrink: 0;
    width: 3rem;
    text-align: right;
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.875rem; color: var(--text-2); }

.schema-block {
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}
.schema-block img {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
}

/* ----------------------------------------------------------------
   GAMME
---------------------------------------------------------------- */
.gamme-overview {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 3rem;
}
.gamme-overview img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    max-height: 300px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.product-card {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: visible;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.product-img-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-card);
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: var(--orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.product-badge-maxi { background: #6D28D9; }

.product-body { padding: 1.25rem; }
.product-ref {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    margin-bottom: 0.3rem;
}
.product-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }

.product-specs { display: flex; flex-direction: column; gap: 0.5rem; }
.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { color: var(--text-3); }
.spec-val { font-weight: 600; font-size: 0.8rem; }
.spec-highlight { color: var(--orange); font-weight: 700; font-size: 0.9rem; }

.gamme-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.gamme-cta p { color: var(--text-2); margin-bottom: 1.25rem; font-size: 1.05rem; }

/* ----------------------------------------------------------------
   TÉMOIGNAGES
---------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color 0.3s;
}
.testimonial:hover { border-color: rgba(244,124,0,0.4); }

.testimonial-stars { color: var(--orange); font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial blockquote { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange-dim);
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--orange);
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.875rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-3); }

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-2);
}
.trust-icon { font-size: 1.1rem; }

/* ----------------------------------------------------------------
   REVENDEURS
---------------------------------------------------------------- */
.revendeurs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.revendeurs-intro { font-size: 1rem; color: var(--text-2); line-height: 1.75; margin-bottom: 2rem; }

.revendeur-contact-info {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.rci-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}
.rci-icon { font-size: 1.1rem; }
.rci-item a { color: var(--text-2); transition: color 0.2s; }
.rci-item a:hover { color: var(--orange); }

/* ----------------------------------------------------------------
   FORM SHARED
---------------------------------------------------------------- */
.form-card {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}
.form-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-card > p { font-size: 0.9rem; color: var(--text-2); margin-bottom: 1.5rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }

.form input,
.form select,
.form textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    width: 100%;
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
}
.form input::placeholder,
.form textarea::placeholder { color: var(--text-3); }
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: var(--orange); }

.form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6E7B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.form textarea { resize: vertical; min-height: 110px; }

.form-feedback {
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    display: none;
}
.form-feedback.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--success);
}
.form-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

/* ----------------------------------------------------------------
   CONTACT
---------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}
.contact-info-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.contact-info-card > p { font-size: 0.875rem; color: var(--text-2); margin-bottom: 1.75rem; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-detail:last-of-type { border-bottom: none; }
.cd-icon { font-size: 1.2rem; margin-top: 1px; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.8rem; color: var(--text-3); font-weight: 500; margin-bottom: 0.15rem; }
.contact-detail a, .contact-detail span { font-size: 0.9rem; color: var(--text-2); }
.contact-detail a { transition: color 0.2s; }
.contact-detail a:hover { color: var(--orange); }

.contact-hours {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--orange-dim);
    border: 1px solid rgba(244,124,0,0.2);
    border-radius: var(--radius-sm);
}
.contact-hours strong { display: block; font-size: 0.8rem; color: var(--orange); margin-bottom: 0.25rem; }
.contact-hours p { font-size: 0.875rem; color: var(--text-2); }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex: 0 0 280px;
}
.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.8;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.footer-name { font-weight: 800; font-size: 1.1rem; color: var(--orange); }
.footer-tagline { font-size: 0.8rem; color: var(--text-3); margin-top: 0.2rem; }
.footer-mfr { font-size: 0.75rem; color: var(--text-3); margin-top: 0.5rem; }

.footer-links {
    display: flex;
    gap: 3rem;
    flex: 1;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
    font-size: 0.875rem;
    color: var(--text-2);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-3);
}

.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: var(--text-3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-2); }

/* ----------------------------------------------------------------
   BACK TO TOP
---------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 200;
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 16px rgba(244,124,0,0.4);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

/* ----------------------------------------------------------------
   PAGES LÉGALES (mentions-legales.html, cgv.html)
---------------------------------------------------------------- */
.legal-page {
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 5rem;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.2rem; font-weight: 700; color: var(--orange); margin: 2rem 0 0.75rem; }
.legal-page p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.75; }
.legal-page a { color: var(--orange); }
.legal-back { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-2); font-size: 0.9rem; margin-bottom: 2rem; transition: color 0.2s; }
.legal-back:hover { color: var(--orange); }

/* ----------------------------------------------------------------
   RESPONSIVE — Tablet
---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid .product-card:nth-child(4),
    .products-grid .product-card:nth-child(5) { grid-column: span 1; }

    .contact-layout { grid-template-columns: 1fr; }
    .contact-info { order: -1; }
}

/* ----------------------------------------------------------------
   RESPONSIVE — Mobile
---------------------------------------------------------------- */
@media (max-width: 768px) {
    .section { padding: 4rem 0; }

    /* Nav */
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .btn-nav { display: none; }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero-content { padding: 3rem 1.25rem; }
    .hero-title { font-size: 2rem; }
    .hero-sub { font-size: 0.95rem; }
    .hero-ctas { gap: 0.75rem; }
    .hero-stats {
        width: 100%;
        padding: 1.25rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .hero-stat { padding: 0; text-align: left; }
    .hero-stat-sep { display: none; }
    .stat-val { font-size: 1.5rem; }

    /* Sections */
    .section-header h2 { font-size: 1.75rem; }

    /* Problem */
    .problem-grid { grid-template-columns: 1fr; }

    /* Solution */
    .solution-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .pillars { grid-template-columns: 1fr; gap: 1rem; }

    /* Steps */
    .steps-layout { grid-template-columns: 1fr; gap: 2rem; }

    /* Products */
    .products-grid { grid-template-columns: 1fr 1fr; }
    .product-img-wrap { height: 150px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Revendeurs */
    .revendeurs-layout { grid-template-columns: 1fr; }

    /* Contact */
    .contact-layout { grid-template-columns: 1fr; }

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

    /* Footer */
    .footer-top { flex-direction: column; gap: 2rem; }
    .footer-brand { flex: none; }
    .footer-links { gap: 2rem; }

    /* Back to top */
    .back-to-top { bottom: 1.25rem; right: 1.25rem; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn-primary,
    .hero-ctas .btn-outline { width: 100%; justify-content: center; }
    .trust-badges { flex-direction: column; align-items: center; }
}
