/* =========================================
   VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    /* Couleurs de la Direction Artistique (DA) */
    --color-bg: #EEEEEE;
    --color-text: #000000;
    --color-orange: #EA5426;
    --color-red: #991C1C;
    --color-white: #FFFFFF;

    /* Typographies */
    --font-heading: 'Funnel Display', sans-serif;
    --font-body: 'Sora', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-spacing: 120px;
    --border-thickness: 3px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 85%;
    /* Optical zoom out effect for the whole site */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* font-size: 18px; REMOVED to rely on root scaling */
    /* Subtle repeating corner pattern could be added here as background image if needed,
       but flat color with large graphic elements is more striking for one-page */
}

/* Helper Classes */
.text-orange {
    color: var(--color-orange);
}

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

.bg-red {
    background-color: var(--color-red);
    color: var(--color-bg);
    padding: 0 8px;
}

.font-bold {
    font-weight: 800;
}

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

.center {
    text-align: center;
}

.line-through {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(3rem, 5vw, 5rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* =========================================
   UI ELEMENTS (Corners, Crosses)
   ========================================= */
/* The Corner Motif (Brique élémentaire de la DA) */
.corner-motif {
    position: fixed;
    z-index: 100;
    pointer-events: none;
}

.corner-motif.top-left {
    top: 20px;
    left: 20px;
}

.corner-motif.bottom-right {
    bottom: 20px;
    right: 20px;
}

.corner-h {
    width: 60px;
    height: 12px;
    background-color: var(--color-text);
    position: absolute;
}

.corner-v {
    width: 12px;
    height: 60px;
    background-color: var(--color-text);
    position: absolute;
}

.corner-motif.top-left .corner-h {
    top: 0;
    left: 0;
}

.corner-motif.top-left .corner-v {
    top: 0;
    left: 0;
}

.corner-motif.bottom-right .corner-h {
    bottom: 0;
    right: 0;
}

.corner-motif.bottom-right .corner-v {
    bottom: 0;
    right: 0;
}

/* Cross Icon */
.cross-icon {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2em;
    display: inline-block;
    line-height: 1;
}

.cross-icon.red {
    color: var(--color-red);
}

/* Circle Icon (Correct) */
.circle-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: var(--border-thickness) solid var(--color-text);
    border-radius: 50%;
    margin-left: 4px;
}

/* Decorative standalone cross */
.deco-cross {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    color: var(--color-orange);
    user-select: none;
}

.deco-cross.top-right {
    top: -20px;
    right: -40px;
}

.deco-cross.bottom-left {
    bottom: -20px;
    left: -40px;
    color: var(--color-red);
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    border: var(--border-thickness) solid var(--color-text);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn {
    background-color: var(--color-orange);
    color: var(--color-bg);
    border-color: var(--color-orange);
    box-shadow: 6px 6px 0px var(--color-text);
}

.primary-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--color-text);
}

.primary-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 2px 2px 0px var(--color-text);
}

.secondary-btn {
    background-color: transparent;
    color: var(--color-text);
    box-shadow: 4px 4px 0px var(--color-orange);
}

.secondary-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--color-orange);
    background-color: var(--color-white);
}

.block-btn {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 1.5rem;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(238, 238, 238, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-thickness) solid var(--color-text);
    transition: transform 0.3s ease;
}

.site-header.hidden {
    transform: translateY(-100%);
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-logo {
    height: 60px;
    /* Increased from 40px */
    width: auto;
}

.large-logo .site-logo {
    height: 160px;
    /* Massively increased size for the footer */
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 60;
}

.menu-toggle .cross-icon {
    font-size: 2rem;
    transition: transform var(--transition-fast);
}

.menu-toggle.active .cross-icon {
    transform: rotate(45deg);
    color: var(--color-red);
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header .cta-button {
    padding: 10px 20px;
    font-size: 0.85rem;
    background-color: var(--color-text);
    color: var(--color-bg);
    box-shadow: none;
}

.site-header .cta-button:hover {
    background-color: var(--color-orange);
    transform: none;
    border-color: var(--color-orange);
}

/* =========================================
   LAYOUT & SECTIONS
   ========================================= */
main {
    padding-top: 100px;
    /* Offset for header */
}

section {
    padding: var(--section-spacing) 5%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 85vh;
}

.hero-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--color-text);
    padding: 4px 12px;
    border-radius: 40px;
}

.hero-title {
    font-size: clamp(4rem, 7vw, 7rem);
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 80%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    /* Brutalist border box for image */
    border: var(--border-thickness) solid var(--color-text);
    background-color: var(--color-white);
    padding: 0;
    box-shadow: 15px 15px 0px var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
    /* For parallax */
}

/* =========================================
   CONCEPT SECTION
   ========================================= */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.lead-text {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.concept-text p {
    margin-bottom: 1.5rem;
}

.values-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    padding: 10px;
    border: 2px solid var(--color-text);
    border-radius: 50%;
    background-color: var(--color-white);
}

.value-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.concept-image-wrapper {
    position: relative;
    padding: 20px;
}

.image-frame {
    border: var(--border-thickness) solid var(--color-text);
    position: relative;
    padding: 0;
    /* Changed from 10px to 0 to make image touch borders */
    background-color: var(--color-white);
    overflow: hidden;
    /* Added to ensure sharp edges if needed */
}

.concept-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: auto;
    /* Let the image dictate its natural aspect ratio */
    object-fit: contain;
    /* Ensure the whole image is visible inside the frame */
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.image-frame:hover .concept-image {
    filter: grayscale(0%);
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--color-orange);
}

.frame-corner.br {
    bottom: -15px;
    right: -15px;
}

.frame-corner.tl {
    top: -15px;
    left: -15px;
    background-color: var(--color-red);
}

/* =========================================
   MARQUEE
   ========================================= */
.marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background-color: var(--color-text);
    color: var(--color-bg);
    padding: 1rem 0;
    margin-bottom: var(--section-spacing);
    border-top: var(--border-thickness) solid var(--color-orange);
    border-bottom: var(--border-thickness) solid var(--color-orange);
    transform: rotate(-2deg);
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-right: 2rem;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================
   PRODUCT SECTION
   ========================================= */
.product-showcase {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.product-gallery {
    background-color: #E0E0E0;
    border-radius: 50% 50% 0 0;
    /* Dome shape referring to the sun/lamp */
    border: var(--border-thickness) solid var(--color-text);
    padding: 4rem 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-gallery::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: var(--color-orange);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
}

.main-product-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.product-gallery:hover .main-product-img {
    transform: scale(1.05) translateY(-10px);
}

.product-details .description {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.price-action {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed var(--color-text);
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price span.text-red {
    font-size: 1.5rem;
    font-weight: 400;
}

.extra-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    border: var(--border-thickness) solid var(--color-text);
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =========================================
   SPECIFICATIONS SECTION
   ========================================= */
.specs-section {
    background-color: var(--color-text);
    color: var(--color-bg);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: calc(var(--section-spacing)/1.5) 5%;
    max-width: none;
    position: relative;
}

.specs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 4rem auto 0;
}

.spec-card {
    background-color: var(--color-bg);
    color: var(--color-text);
    border: var(--border-thickness) solid var(--color-orange);
    padding: 2rem;
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-fast);
    box-shadow: 8px 8px 0px var(--color-red);
}

.spec-card:hover {
    transform: translateY(-10px);
    box-shadow: 12px 12px 0px var(--color-orange);
}

.spec-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 2px solid var(--color-text);
}

.spec-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.spec-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.spec-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    padding: 5rem 5% 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.large-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-red);
}

.link-col a {
    display: block;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.link-col a:hover {
    color: var(--color-orange);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid var(--color-text);
}

.motif-corner-small {
    width: 20px;
    height: 20px;
    border-top: 4px solid var(--color-text);
    border-left: 4px solid var(--color-text);
}

/* =========================================
   ANIMATIONS & EFFECTS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        height: 400px;
    }

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

    .product-showcase {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: row;
        /* Keep logo and burger aligned */
        justify-content: space-between;
        padding: 1rem 5%;
        border-bottom: var(--border-thickness) solid var(--color-text);
    }

    .menu-toggle {
        display: block;
        /* Show burger */
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: -1;
        /* Behind the header itself */
        padding-top: 80px;
    }

    .site-nav.menu-open {
        transform: translateY(0);
    }

    .site-nav .nav-link {
        font-size: 2rem;
    }

    .site-nav .cta-button {
        font-size: 1.2rem;
        padding: 15px 30px;
    }

    main {
        padding-top: 140px;
    }

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

    .extra-gallery {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .corner-motif {
        display: none;
        /* Hide corners on small screens for cleaner look */
    }
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}