/* ============================================
   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;
    }
}

/* ============================================
   SERVICES PAGE INTRO
   ============================================ */
.services-page-intro {
    padding: 56px 0 28px;
    background-color: #ffffff;
}

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

.services-page-title {
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.services-page-subtitle {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    max-width: 62ch;
}

/* ============================================
   SECTION NOS SERVICES
   ============================================ */
.services {
    background-color: #ffffff;
    padding: 60px 0;
}

.services-container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--site-pad);
    text-align: center;
}

.services-title {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.services-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 0;
    position: relative;
    text-align: left;
    overflow: hidden;
    border: 1px solid #e7e7e7;
}

.service-card-clickable {
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card-clickable:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .service-card-clickable:hover {
        transform: translateY(-4px);
        border-color: #d5d5d5;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    .service-card-clickable:hover .service-image {
        filter: brightness(0.96);
    }

    .service-card-clickable:hover .service-link {
        opacity: 1;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

.service-image {
    width: 100%;
    height: 250px;
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.service-body {
    padding: 30px 20px;
}

.service-icon {
    width: 42px;
    height: 42px;
    display: inline-block;
    margin-bottom: 10px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.service-name {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    letter-spacing: 1px;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    color: #000000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.service-link:hover {
    opacity: 0.7;
}

.service-link-disabled {
    pointer-events: none;
    opacity: 0.55;
}

.service-card-coming-soon .service-image,
.service-card-coming-soon .service-body {
    transition: filter 0.28s ease;
}

.service-coming-soon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.28s ease;
}

.service-coming-soon span {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    padding: 10px 16px;
    backdrop-filter: blur(2px);
}

@media (hover: hover) and (pointer: fine) {
    .service-card-coming-soon:hover .service-image,
    .service-card-coming-soon:hover .service-body,
    .service-card-coming-soon:focus-within .service-image,
    .service-card-coming-soon:focus-within .service-body {
        filter: blur(2px);
    }

    .service-card-coming-soon:hover .service-coming-soon,
    .service-card-coming-soon:focus-within .service-coming-soon {
        opacity: 1;
    }
}

/* ============================================
   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;
    }

    .services-page-intro {
        padding: 84px 0 36px;
    }

    .services-page-intro-container {
        padding: 0 var(--site-pad-desktop);
    }

    .services-page-title {
        font-size: 52px;
        line-height: 1.04;
    }

    .services-page-subtitle {
        font-size: 18px;
    }

    .services {
        padding: 100px 0;
    }

    .services-container {
        padding: 0 var(--site-pad-desktop);
        text-align: left;
       
    }

    .services-title {
        font-size: 25px;
        margin-bottom: 20px;
        text-align: left;
    }

    .services-subtitle {
        font-size: 15px;
        margin-bottom: 80px;
        text-align: left;
        max-width: 500px;
        margin-left: 0;
        margin-right: 0;
    }

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

    .service-card {
        padding: 0;
        text-align: left;
        
    }

    .service-image {
        height: 200px;
        margin: 0;
        border-radius: 12px 12px 0 0;
    }

    .service-body {
        padding: 20px;
    }

    .service-name {
        font-size: 16px;
    }

    .service-description {
        font-size: 13px;
    }

    .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;
    }
}

/* 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) {
    .services-page-title,
    .services-page-subtitle,
    .services-title,
    .services-subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: auto;
    }
}


/* Services SEO text block */
.services-seo-content {
    background-color: #ffffff;
    padding: 56px 0;
}

.services-seo-copy {
    display: grid;
    gap: 14px;
}

.services-seo-content .services-title {
    text-align: left;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.services-seo-content .services-subtitle {
    width: min(100%, 88ch);
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    overflow-wrap: anywhere;
}

.services-seo-copy p {
    font-size: 15px;
    color: #404040;
    line-height: 1.6;
    width: min(100%, 88ch);
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
    .services-seo-content {
        padding: 74px 0;
    }

    .services-seo-copy {
        gap: 16px;
    }
}

/* Expandable SEO text */
.seo-expand {
    width: min(100%, 88ch);
    max-width: 100%;
    margin: 8px 0 0;
}

.seo-expand summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background-color: #b8ff00;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

.seo-expand summary::-webkit-details-marker {
    display: none;
}

.seo-expand summary::marker {
    content: "";
    font-size: 0;
}

.seo-expand-label {
    line-height: 1;
}

.seo-expand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    flex: 0 0 auto;
}

.seo-expand-icon::before {
    content: "+";
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    width: 10px;
    text-align: center;
    font-weight: 700;
}

.seo-expand[open] .seo-expand-icon::before {
    content: "-";
}

.seo-expand[open] summary {
    margin-bottom: 14px;
}

.seo-expand .seo-expand-content {
    display: none;
}

.seo-expand[open] .seo-expand-content,
.seo-expand.is-open .seo-expand-content {
    display: block;
}


.seo-expand-content p {
    margin-bottom: 16px;
}

.seo-expand-content p:last-child {
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
    .seo-expand summary:hover {
        background-color: #a0e000;
    }
}

/* 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;
    }
}
