/* =========================================
   RÉMI BLANCHET - STYLES GLOBAUX
   ========================================= */

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

:root {
    --black: #000;
    --white: #fff;
    --gray: #666;
    --light: #f5f5f5;
}

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

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

::selection {
    background: var(--black);
    color: var(--white);
}

/* =========================================
   CURSOR CUSTOM
   ========================================= */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--black);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: scale(2.5);
    background: var(--white);
    border-color: var(--white);
}

/* =========================================
   HEADER
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
}

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

.nav a {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lang {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 0;
    position: relative;
}

.lang::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.lang:hover::after {
    transform: scaleX(1);
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* =========================================
   MENU MOBILE
   ========================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
}

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

/* =========================================
   PAGE HERO
   ========================================= */
.page-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px;
    padding-top: 160px;
    background: var(--black);
    color: var(--white);
}

.page-hero-small {
    min-height: 40vh;
}

.page-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.page-title .outline {
    -webkit-text-stroke: 2px var(--white);
    color: transparent;
}

.page-subtitle {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

/* =========================================
   SECTION COMMUNE
   ========================================= */
section {
    padding: 120px 48px;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 64px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-label::before {
    content: '•';
    font-size: 8px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 48px;
}

/* =========================================
   CONTENT BLOCKS
   ========================================= */
.content-block {
    max-width: 800px;
}

.content-block p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--gray);
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 64px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.content-block h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
}

.content-block ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-block li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 8px;
}

/* =========================================
   SERVICES
   ========================================= */
.services-grid {
    display: flex;
    flex-direction: column;
}

.service {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 48px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service:first-child {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.service:hover {
    padding-left: 24px;
    background: var(--light);
    margin: 0 -48px;
    padding-right: 72px;
    padding-left: 72px;
}

.service-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
}

.service-name {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-new {
    font-size: 10px;
    font-weight: 700;
    background: var(--black);
    color: var(--white);
    padding: 6px 12px;
    letter-spacing: 0.1em;
}

.service-price {
    text-align: right;
}

.service-price-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-price-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4px;
}

/* =========================================
   TRAVAUX
   ========================================= */
.work {
    background: var(--black);
    color: var(--white);
}

.work .section-label {
    color: rgba(255,255,255,0.5);
}

.work .section-label::before {
    color: var(--white);
}

.work-list {
    display: flex;
    flex-direction: column;
}

.work-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.work-item:hover {
    padding-left: 24px;
}

.work-item-left {
    display: flex;
    align-items: baseline;
    gap: 32px;
}

.work-item-num {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    font-variant-numeric: tabular-nums;
}

.work-item-name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover .work-item-name {
    -webkit-text-stroke: 1px var(--white);
    color: transparent;
}

.work-item-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.work-item-type {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.work-item-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.work-item-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--white);
    transition: transform 0.3s ease;
}

.work-item:hover .work-item-arrow {
    background: var(--white);
    border-color: var(--white);
}

.work-item:hover .work-item-arrow svg {
    stroke: var(--black);
    transform: translate(2px, -2px);
}

/* =========================================
   STATS
   ========================================= */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.stat {
    padding: 64px 48px;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.1);
}

.stat:last-child {
    border-right: none;
}

.stat-num {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-top: 16px;
}

/* =========================================
   PRICING TABLE
   ========================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 48px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--black);
}

.pricing-card.featured {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.pricing-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 16px;
}

.pricing-card.featured .pricing-name {
    color: rgba(255,255,255,0.5);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-desc {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.pricing-card.featured .pricing-desc {
    color: rgba(255,255,255,0.6);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-card.featured .pricing-features li {
    border-color: rgba(255,255,255,0.1);
}

.pricing-features li::before {
    content: '✓';
    font-weight: 700;
}

.pricing-cta {
    display: block;
    text-align: center;
    padding: 16px 32px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    background: #00ff00;
    color: var(--black);
}

.pricing-card.featured .pricing-cta {
    background: var(--white);
    color: var(--black);
}

.pricing-card.featured .pricing-cta:hover {
    background: #00ff00;
}

/* =========================================
   BLOG
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.blog-card {
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.1);
}

.blog-card:hover {
    border-color: var(--black);
}

.blog-card-meta {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 160px 48px;
}

.contact-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.contact-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 48px;
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 48px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-cta:hover {
    background: #00ff00;
    transform: scale(1.02);
}

.contact-cta svg {
    width: 20px;
    height: 20px;
}

.contact-links {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 48px;
}

.contact-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: var(--white);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray);
    border-top: 1px solid rgba(0,0,0,0.1);
}

footer a {
    color: var(--gray);
    text-decoration: none;
}

footer a:hover {
    color: var(--black);
}

/* =========================================
   LANGUE
   ========================================= */
.en { display: none !important; }
html[lang="en"] .fr { display: none !important; }
html[lang="en"] .en { display: block !important; }
html[lang="en"] span.en { display: inline !important; }
html[lang="fr"] .en { display: none !important; }
html[lang="fr"] span.en { display: none !important; }

/* =========================================
   FAQ
   ========================================= */
.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    padding: 32px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 32px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: var(--light);
    text-align: center;
}

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

.cta-section p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #00ff00;
    color: var(--black);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    background: var(--light);
}

.about-content {
    max-width: 800px;
}

.about-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.about-text .highlight {
    position: relative;
    display: inline;
}

.about-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--black);
    z-index: -1;
    opacity: 0.1;
}

.about-location {
    margin-top: 48px;
    font-size: 14px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .service {
        grid-template-columns: auto 1fr auto;
        gap: 24px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 24px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    section {
        padding: 80px 24px;
    }

    .page-hero {
        padding: 24px;
        padding-top: 120px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .service {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service:hover {
        margin: 0;
        padding-left: 24px;
        padding-right: 24px;
    }

    .service-num {
        display: none;
    }

    .service-price {
        text-align: left;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .contact {
        padding: 100px 24px;
    }

    .contact-links {
        flex-direction: column;
        gap: 16px;
    }

    .cursor {
        display: none;
    }

    footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 24px;
    }

    .work-item-left {
        gap: 16px;
    }

    .work-item-right {
        gap: 12px;
    }

    .work-item-type {
        display: none;
    }
}

/* =========================================
   ANIMATIONS SCROLL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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