/* ============================================
   RESET & VARIABLES GLOBALES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --site-max-width: 1400px;
    --site-pad: 16px;
    --site-pad-desktop: 60px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #000;
    line-height: 1.6;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: max(var(--site-pad), calc((100% - var(--site-max-width)) / 2));
    right: max(var(--site-pad), calc((100% - var(--site-max-width)) / 2));
    height: 1px;
    background-color: #e6e6e6;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    padding: 30px 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 1000;
}

.header-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo::before {
    content: none;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

a.logo,
a.footer-logo {
    text-decoration: none;
}

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

.nav a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.nav a:hover {
    opacity: 0.6;
}

/* Menu Burger - Hidden sur Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2.5px;
    background-color: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 1023px) {
    .header-container {
        padding: 0 var(--site-pad);
    }

    .logo {
        gap: 8px;
    }

    .logo::before {
        content: none;
    }

    .logo img {
        height: 26px;
    }

    /* Menu Burger Visible */
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: #ffffff;
        border-bottom: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-top: none;
    }

    .nav.active {
        max-height: 400px;
        padding: 20px 0;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav a {
        display: block;
        padding: 18px 40px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 13px;
    }
}

/* ============================================
   SITE WEB PAGE
   ============================================ */
.web-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-pad);
}

.web-hero {
    padding: 60px 0 34px;
    background:
        radial-gradient(circle at 85% 15%, #f2f2f2 0%, #ffffff 42%),
        linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.web-hero-kicker {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #444;
    font-weight: 700;
    margin-bottom: 12px;
}

.web-hero-title {
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -1px;
    margin-bottom: 14px;
    max-width: 14ch;
    text-transform: uppercase;
}

.web-hero-subtitle {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    max-width: 54ch;
    margin-bottom: 20px;
}

.web-hero-cta {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    border: none;
    background-color: #b8ff00;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.web-importance,
.web-process,
.web-offers,
.web-projects,
.web-responsive {
    padding: 56px 0;
    background-color: #ffffff;
}

.web-section-title {
    font-size: 25px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.web-section-subtitle {
    font-size: 15px;
    color: #4d4d4d;
    line-height: 1.55;
    max-width: 46ch;
    margin-bottom: 38px;
}

.web-importance-grid {
    display: grid;
    gap: 24px;
}

.web-importance-image {
    height: 220px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.web-importance-text h3 {
    font-size: 37px;
    line-height: 1.03;
    margin-bottom: 14px;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.web-importance-text p {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    max-width: 40ch;
}

.web-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #b8ff00;
}

.web-steps {
    display: grid;
    gap: 18px;
}

.web-step {
    text-align: left;
}

.web-step-num {
    color: #b8ff00;
    font-weight: 800;
    font-size: 52px;
    line-height: 1;
    margin-bottom: 10px;
}

.web-step h3 {
    font-size: 33px;
    margin-bottom: 6px;
}

.web-step p {
    font-size: 15px;
    color: #4f4f4f;
    line-height: 1.5;
}

.web-offers-grid {
    display: grid;
    gap: 16px;
}

.web-offer-card {
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}

.web-offer-image {
    height: 130px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.web-offer-body {
    padding: 22px 20px 24px;
}

.web-offer-num {
    color: #a8ea00;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
}

.web-offer-body h3 {
    font-size: 25px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.web-offer-body ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.web-offer-body li {
    font-size: 14px;
    color: #4d4d4d;
    line-height: 1.55;
    position: relative;
    padding-left: 14px;
}

.web-offer-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #b8ff00;
}

.web-project-banner {
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.web-project-overlay {
    background-color: rgba(0, 0, 0, 0.44);
    color: #fff;
    padding: 28px 18px;
    display: grid;
    gap: 18px;
}

.web-project-overlay h2 {
    font-size: 34px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.web-project-overlay p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 50ch;
}

.web-project-btn {
    width: fit-content;
    padding: 12px 26px;
    border-radius: 999px;
    background-color: #b8ff00;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.web-devices {
    display: grid;
    gap: 18px;
    margin-top: 8px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.web-device {
    text-align: center;
}

.web-device-screen {
    margin: 0 auto 10px;
    border: 4px solid #111;
    border-radius: 8px;
    background-color: #f6f6f6;
    position: relative;
}

.web-device-screen::before {
    content: "";
    position: absolute;
    right: 10%;
    top: 16%;
    width: 56%;
    height: 64%;
    background-color: #e7e7e7;
    border-radius: 4px;
}

.web-device-screen.desktop {
    width: 210px;
    height: 120px;
}

.web-device-screen.tablet {
    width: 170px;
    height: 95px;
}

.web-device-screen.mobile {
    width: 64px;
    height: 120px;
}

.web-device-chip {
    position: absolute;
    left: 10%;
    top: 15%;
    width: 38px;
    height: 22px;
    background-color: #a8ea00;
    border-radius: 4px;
}

.web-device-screen.mobile .web-device-chip {
    top: auto;
    bottom: 12%;
}

.web-device h3 {
    font-size: 24px;
    text-transform: uppercase;
}

.web-responsive-note {
    font-size: 13px;
    color: #666;
    line-height: 1.55;
    max-width: 78ch;
    text-align: center;
    margin: 10px auto 0;
}

.web-responsive .web-section-title,
.web-responsive .web-section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #e6e6e6;
}

.footer-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-pad);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
    text-align: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

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

.footer-logo::before {
    content: none;
}

.footer-logo img {
    height: 22px;
    width: auto;
    display: block;
}

.footer-subscribe {
    padding: 10px 34px;
    background: #b8ff00 100%;
        
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    color: #000;
    text-transform: lowercase;
}

.footer-subscribe:hover {
    background: #a0e000 100%;
     
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-nav a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-contact a {
    text-decoration: none;
    color: #000;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.6;
}

.footer-copyright {
    font-size: 12px;
    color: #7a7a7a;
    letter-spacing: 0.5px;
}

@media (min-width: 1024px) {
    .section-divider::before {
        left: max(var(--site-pad-desktop), calc((100% - var(--site-max-width)) / 2));
        right: max(var(--site-pad-desktop), calc((100% - var(--site-max-width)) / 2));
    }
    /* HEADER & NAVIGATION */
    .header {
        padding: 40px 0;
    }

    .header-container {
        padding: 0 var(--site-pad-desktop);
    }

    .logo {
        gap: 10px;
    }

    .logo::before {
        content: none;
    }

    .logo img {
        height: 34px;
    }

    .menu-toggle {
        display: none;
    }

    .nav {
        position: static;
        flex-direction: row;
        gap: 60px;
        max-height: none;
        border: none;
        padding: 0;
    }

    .nav a {
        padding: 0;
        border: none;
        display: inline;
        font-size: 13px;
    }

    .web-hero {
        padding: 84px 0 48px;
    }

    .web-hero-title {
        font-size: 64px;
        max-width: 12ch;
    }

    .web-hero-subtitle {
        font-size: 18px;
        max-width: 58ch;
    }

    .web-container {
        padding: 0 var(--site-pad-desktop);
    }

    .web-importance,
    .web-process,
    .web-offers,
    .web-projects,
    .web-responsive {
        padding: 74px 0;
    }

    .web-section-title {
        margin-bottom: 24px;
    }

    .web-importance-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 36px;
    }

    .web-importance-image {
        height: 280px;
    }

    .web-importance-text h3 {
        font-size: 56px;
        max-width: 12ch;
    }

    .web-importance-text p {
        font-size: 16px;
    }

    .web-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .web-step {
        text-align: center;
    }

    .web-step-num {
        font-size: 64px;
    }

    .web-step h3 {
        font-size: 30px;
    }

    .web-offers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        max-width: 980px;
        margin: 0 auto;
    }

    .web-offer-image {
        height: 128px;
    }

    .web-offer-body {
        padding: 24px 22px 26px;
    }

    .web-offer-num {
        font-size: 44px;
    }

    .web-offer-body h3 {
        font-size: 32px;
    }

    .web-project-overlay {
        grid-template-columns: 1fr auto;
        align-items: end;
        gap: 20px;
        padding: 30px 24px;
    }

    .web-project-overlay h2 {
        font-size: 43px;
    }

    .web-devices {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
        margin-bottom: 22px;
        max-width: 740px;
    }

    .web-device-screen.desktop {
        width: 190px;
        height: 102px;
    }

    .web-device-screen.tablet {
        width: 176px;
        height: 92px;
    }

    .web-device-screen.mobile {
        width: 58px;
        height: 108px;
    }

    .web-device h3 {
        font-size: 21px;
    }

    .web-responsive-note {
        max-width: 740px;
        margin: 0 auto;
        text-align: center;
    }

    .footer {
        padding: 80px 0;
    }

    .footer-container {
        max-width: var(--site-max-width);
        padding: 0 var(--site-pad-desktop);
        margin: 0 auto;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: start;
        gap: 18px 40px;
        text-align: left;
    }

    .footer-left {
        align-items: start;
    }

    .footer-logo {
        justify-self: start;
    }

    .footer-logo img {
        height: 30px;
    }

    .footer-subscribe {
        margin-top: 12px;
        justify-self: start;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-self: center;
        align-items: start;
    }

    .footer-nav a {
        font-size: 13px;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 8px;
        justify-self: end;
        align-items: start;
    }

    .footer-contact a {
        font-size: 14px;
    }

    .footer-copyright {
        grid-column: 1 / -1;
        justify-self: center;
        margin-top: 30px;
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .web-hero {
        padding: 44px 0 24px;
    }

    .web-hero-title {
        font-size: 30px;
        line-height: 1.1;
    }

    .web-hero-subtitle {
        font-size: 14px;
    }

    .web-hero-cta {
        padding: 10px 18px;
    }
}

/* Footer logo size (same as header logo) */
.footer-logo img {
    height: 30px;
}

@media (min-width: 1024px) {
    .footer-logo img {
        height: 34px;
    }
}

/* Remove nav outline */
@media (max-width: 1023px) {
    .nav.active {
        border-top: none;
        border-bottom: none;
    }

    .nav a {
        border-bottom: none;
    }
}

/* Mobile titles/subtitles left aligned */
@media (max-width: 1023px) {
    .web-hero-title,
    .web-hero-subtitle,
    .web-section-title,
    .web-section-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
}

/* Scroll reveal (chill) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll.reveal-delay-1 {
    transition-delay: 80ms;
}

.reveal-on-scroll.reveal-delay-2 {
    transition-delay: 140ms;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.reveal-delay-1,
    .reveal-on-scroll.reveal-delay-2 {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Hero reveal (chill) */
.hero-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

.hero-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-reveal.hero-delay-1 {
    transition-delay: 100ms;
}

.hero-reveal.hero-delay-2 {
    transition-delay: 170ms;
}

@media (prefers-reduced-motion: reduce) {
    .hero-reveal,
    .hero-reveal.hero-delay-1,
    .hero-reveal.hero-delay-2 {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
