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

:root {
    --black: #0A0A0A;
    --orange: #F07800;
    --white: #FFFFFF;
    --off: #F4F3F0;
    --gray: #6B6B6B;
    --border: rgba(10,10,10,0.08);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    cursor: none;
}

/* ─── PRELOADER ─── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.preloader-dot {
    width: 12px;
    height: 12px;
    background: var(--orange);
    border-radius: 50%;
}

/* ─── CURSOR ─── */
#cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 8999;
    transform: translate(-50%, -50%);
}

#cursor-ring {
    position: fixed;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 8998;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1),
                height 0.35s cubic-bezier(0.4,0,0.2,1),
                opacity 0.35s;
}

body.hov #cursor-ring { width: 56px; height: 56px; opacity: 0.3; }
body.hov #cursor { background: var(--black); }

/* ─── NAV ─── */
nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 500;
    padding: 28px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.4s, background 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

nav.stuck {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px);
    padding: 16px 64px;
    border-color: var(--border);
}

.nav-logo img { height: 70px; display: block; }

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 13px 26px;
    cursor: none;
    transition: background 0.3s, gap 0.3s;
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.nav-btn:hover { background: var(--black); gap: 16px; }

/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    padding: 140px 64px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    position: relative;
}

.hero-left { position: relative; z-index: 2; }

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
    opacity: 0;
}

.eyebrow-line {
    width: 32px;
    height: 1.5px;
    background: var(--orange);
}

.eyebrow-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
}

.hero-h1 {
    font-size: clamp(56px, 6.5vw, 96px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.0;
    margin-bottom: 36px;
}

.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .word { display: inline-block; transform: translateY(115%); }
.hero-h1 .accent { color: var(--orange); }

.hero-body {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--gray);
    max-width: 380px;
    margin-bottom: 52px;
    opacity: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--black);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 20px 40px;
    opacity: 0;
    cursor: none;
    transition: background 0.3s, gap 0.3s;
    position: relative;
    overflow: hidden;
}

.hero-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.hero-cta:hover::after { transform: translateX(0); }
.hero-cta:hover { gap: 22px; }
.hero-cta span { position: relative; z-index: 1; }
.hero-cta .arr { position: relative; z-index: 1; transition: transform 0.3s; }
.hero-cta:hover .arr { transform: translateX(4px); }

.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 500px;
}

#hero-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.orbit-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--orange);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 24px rgba(240,120,0,0.5);
}

/* ─── MARQUEE ─── */
.marquee-band {
    overflow: hidden;
    background: var(--orange);
    padding: 18px 0;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 18s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    padding: 0 40px;
}

.marquee-track span.sep {
    opacity: 0.4;
    padding: 0;
}

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

/* ─── SERVICES ─── */
#services {
    padding: 120px 64px;
    background: var(--off);
}

.sec-header {
    margin-bottom: 72px;
}

.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 22px;
}

.sec-label::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--orange);
}

.sec-title {
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

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

.svc {
    background: var(--white);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: background 0.35s;
    cursor: default;
}

.svc-bar {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--orange);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.svc:hover .svc-bar { transform: scaleY(1); }
.svc:hover { background: #FDFCFB; }

.svc-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--orange);
    margin-bottom: 28px;
}

.svc-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    line-height: 1.25;
}

.svc-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--gray);
}

.svc-glyph {
    position: absolute;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    opacity: 0.05;
    transition: opacity 0.4s, transform 0.4s;
}

.svc:hover .svc-glyph { opacity: 0.1; transform: scale(1.08) rotate(-4deg); }

/* ─── ABOUT ─── */
#about {
    padding: 140px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text .sec-label { display: inline-flex; }

.about-h2 {
    font-size: clamp(34px, 3.8vw, 52px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 32px;
}

.about-body {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--gray);
}

.about-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about-svg {
    width: 90%;
    height: 90%;
    overflow: visible;
}

/* ─── CONTACT ─── */
#contact {
    background: var(--black);
    padding: 160px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,120,0,0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
}

.contact-label::before,
.contact-label::after {
    content: '';
    width: 32px;
    height: 1.5px;
    background: var(--orange);
}

.contact-h2 {
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.0;
    max-width: 780px;
    margin: 0 auto 28px;
    position: relative;
    opacity: 0;
}

.contact-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.38);
    font-weight: 300;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 22px 50px;
    cursor: none;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: gap 0.3s;
}

.contact-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.contact-btn:hover::after { transform: translateX(0); }
.contact-btn:hover { color: var(--black); gap: 24px; }
.contact-btn span, .contact-btn .arr2 { position: relative; z-index: 1; }

/* ─── WHATSAPP ─── */
#wa-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 800;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    cursor: none;
    animation: wa-float 3s ease-in-out infinite;
    transition: transform 0.3s, box-shadow 0.3s;
}

#wa-btn::before {
    content: 'Discutons sur WhatsApp';
    position: absolute;
    right: 68px;
    background: var(--black);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 4px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s, transform 0.25s;
    pointer-events: none;
}

#wa-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.3s, transform 0.3s;
}

#wa-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 32px rgba(37,211,102,0.6);
    animation-play-state: paused;
}

#wa-btn:hover::before {
    opacity: 1;
    transform: translateX(0);
}

#wa-btn:hover::after {
    opacity: 0.35;
    transform: scale(1.6);
}

@keyframes wa-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ─── FOOTER ─── */
footer {
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 28px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.footer-brand em { color: var(--orange); font-style: normal; }

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.28);
    font-weight: 300;
}

/* ─── HAMBURGER ─── */
.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-link-anchor {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.nav-link-anchor:hover { opacity: 1; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: none;
    padding: 4px;
    z-index: 600;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1),
                opacity 0.3s,
                width 0.3s;
    transform-origin: center;
}

.hamburger span:nth-child(1) { width: 28px; }
.hamburger span:nth-child(2) { width: 20px; }
.hamburger span:nth-child(3) { width: 28px; }

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 28px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 28px; }

/* ─── MOBILE MENU ─── */
#mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mob-link {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    text-decoration: none;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: color 0.3s, transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s;
}

#mobile-menu.open .mob-link {
    transform: translateY(0);
    opacity: 1;
}

#mobile-menu.open .mob-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mob-link:nth-child(2) { transition-delay: 0.18s; }

.mob-link:hover { color: var(--orange); }

.mob-cta {
    background: var(--orange);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 18px 40px;
    transform: translateY(30px);
    opacity: 0;
    transition: background 0.3s, transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s;
    transition-delay: 0s;
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

#mobile-menu.open .mob-cta {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.26s;
}

.mob-cta:hover { background: #fff; color: var(--black); }

.mob-divider {
    width: 40px;
    height: 1.5px;
    background: rgba(255,255,255,0.15);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    nav, nav.stuck { padding: 20px 28px; }
    nav.stuck { padding: 16px 28px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    #hero { padding: 120px 28px 80px; grid-template-columns: 1fr; }
    .hero-right { display: none; }
    #services, #about { padding: 90px 28px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    #about { grid-template-columns: 1fr; }
    .about-visual { height: 300px; }
    #contact { padding: 110px 28px; }
    footer { padding: 24px 28px; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .contact-h2 { font-size: clamp(38px, 10vw, 64px); }
}
