/* ========================================================================== REBOUR — RAW HTML 2000s + GRILLE GUFRAM + PANEL PRODUIT ========================================================================== */ :root { --clr-bg: #c8c8c8; --clr-black: #111; --clr-white: #dcdcdc; --clr-card-bg: #d0d0d0; --clr-grid: rgba(0,0,0,0.10); --clr-red: #e8a800; --font-mono: 'Space Mono', monospace; --border: 1px solid #111; --pad: 2rem; } * { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; } html { font-size: 13px; } body { background: var(--clr-bg); color: var(--clr-black); font-family: var(--font-mono); overflow-x: hidden; cursor: none; } /* ---- LEGACY CURSOR (hidden) ---- */ .cursor-dot, .cursor-outline { display: none; } /* ---- CAD CROSSHAIR CURSOR ---- */ .cad-h, .cad-v { position: fixed; pointer-events: none; z-index: 999998; opacity: 0; background: var(--clr-black); transition: width 0.15s, height 0.15s, background 0.15s; } .cad-h { width: 40px; height: 2px; transform: translateY(-1px); } .cad-h.cad-hover { width: 56px; margin-left: -8px; background: var(--clr-red); } .cad-v { width: 2px; height: 40px; transform: translateX(-1px); } .cad-v.cad-hover { height: 56px; margin-top: -8px; background: var(--clr-red); } .cad-center { position: fixed; width: 6px; height: 6px; background: var(--clr-red); pointer-events: none; z-index: 999999; opacity: 0; transform: translate(-3px, -3px); transition: width 0.15s, height 0.15s; } .cad-center.cad-hover { width: 9px; height: 9px; transform: translate(-4.5px, -4.5px); background: var(--clr-black); } .cad-coords { position: fixed; pointer-events: none; z-index: 999999; font-family: var(--font-mono); font-size: 0.55rem; color: rgba(0,0,0,0.55); opacity: 0; letter-spacing: 0.05em; background: rgba(200,200,200,0.7); padding: 1px 5px; border: 1px solid rgba(0,0,0,0.08); white-space: nowrap; } /* ---- INTERACTIVE GRID (derrière tout) ---- */ .interactive-grid { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: auto; overflow: hidden; } .grid-cell { border-right: 1px solid var(--clr-grid); border-bottom: 1px solid var(--clr-grid); pointer-events: auto; transition: background-color 1.3s ease-out; } /* ---- PAGE WRAPPER ---- */ .page-wrapper { position: relative; z-index: 1; pointer-events: none; /* laisse passer vers la grid */ min-height: 100vh; display: flex; flex-direction: column; } /* Re-active pointer-events sur les éléments interactifs */ .page-wrapper a, .page-wrapper button, .page-wrapper input, .page-wrapper form, .page-wrapper nav, .page-wrapper .product-card, .page-wrapper summary, .page-wrapper details { pointer-events: auto; } /* ---- HEADER ---- */ .header { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1rem var(--pad); border-bottom: var(--border); background: var(--clr-bg); pointer-events: auto; } .logo-text { font-size: 1rem; font-weight: 700; letter-spacing: 0.18em; text-decoration: none; color: var(--clr-black); } .header-nav { display: flex; align-items: baseline; gap: 2.5rem; font-size: 0.82rem; } .header-nav a { color: var(--clr-black); text-decoration: none; } .header-nav a:hover { text-decoration: underline; } .wip-tag { color: #999; font-size: 0.78rem; } /* ---- UTILS ---- */ .label { font-size: 0.75rem; color: #888; letter-spacing: 0.04em; } .mono-sm { font-size: 0.75rem; line-height: 1.9; color: #777; } .red { color: var(--clr-red); font-weight: 700; } .blink { animation: blink 1.4s step-end infinite; color: var(--clr-red); } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } hr { border: none; border-top: var(--border); margin: 0; } /* ---- HERO ---- */ .hero { display: grid; grid-template-columns: 1fr 1fr; height: calc(100vh - var(--header-h, 44px)); pointer-events: none; } .hero-left { padding: 5rem var(--pad) 3rem; border-right: var(--border); display: flex; flex-direction: column; justify-content: flex-end; gap: 1.6rem; position: relative; overflow: hidden; } .hero-left h1 { font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.02em; } .hero-sub { font-size: 0.85rem; line-height: 1.75; max-width: 300px; } .hero-right { overflow: hidden; background: #1c1c1c; } .hero-img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(10%); opacity: 0.92; transition: opacity 0.5s, filter 0.5s; } .hero-right:hover .hero-img { opacity: 1; filter: grayscale(0%); } /* ---- COLLECTION ---- */ .collection { pointer-events: none; } .collection-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--pad); } /* ---- PRODUCT GRID — style Gufram ---- */ /* 3 colonnes, image centrée sur fond neutre, bordure fine */ .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid #111; border-left: 2px solid #111; } .product-card { border-right: 2px solid #111; border-bottom: 2px solid #111; background: var(--clr-card-bg); cursor: none; pointer-events: auto; display: flex; flex-direction: column; transition: background 0.2s; position: relative; } .product-card::before { content: ''; position: absolute; inset: -2px; border: 2px solid transparent; pointer-events: none; transition: border-color 0.15s; z-index: 2; } .product-card:hover::before { border-color: var(--clr-red); } .product-card:hover .card-name { color: var(--clr-red); } .product-card:hover .card-index { color: var(--clr-black); } .product-card:hover .card-arrow { opacity: 1; color: var(--clr-black); } /* Image : objet centré sur fond neutre, comme Gufram */ .card-img-wrap { aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 2rem; border-bottom: 2px solid #111; background: var(--clr-card-bg); transition: background 0.2s, border-color 0.15s; } .product-card:hover .card-img-wrap { border-bottom-color: var(--clr-red); } .product-card:hover .card-img-wrap { background: var(--clr-card-bg); } .card-img-wrap img { width: 88%; height: 88%; object-fit: contain; display: block; filter: grayscale(15%); } /* Bas de la card : index + nom + flèche, tout en ligne */ .card-meta { display: flex; align-items: baseline; justify-content: space-between; padding: 0.9rem 1.1rem; gap: 0.8rem; } .card-index { font-size: 0.72rem; color: #999; flex-shrink: 0; } .card-name { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; flex-grow: 1; } .card-arrow { font-size: 1rem; opacity: 0.4; } /* ---- PRODUCT PANEL (overlay) ---- */ .product-panel { position: fixed; inset: 0; z-index: 1000; background: var(--clr-bg); display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; overflow: hidden; } .product-panel.is-open { transform: translateY(0); pointer-events: auto; } .panel-close { display: flex; align-items: center; padding: 1.1rem var(--pad); border-bottom: var(--border); font-size: 0.78rem; font-weight: 700; cursor: none; background: var(--clr-bg); letter-spacing: 0.05em; pointer-events: auto; flex-shrink: 0; } .panel-close:hover { background: var(--clr-white); } .panel-close span { pointer-events: none; } .panel-inner { display: grid; grid-template-columns: 1fr 1fr; flex-grow: 1; overflow: hidden; } /* Colonne image : sticky, fond sombre, image centrée */ .panel-img-col { border-right: var(--border); background: #1a1a1a; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; } #panel-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; } /* Colonne infos : scrollable */ .panel-info-col { overflow-y: auto; padding: 2.5rem var(--pad); display: flex; flex-direction: column; gap: 1.4rem; background: var(--clr-bg); } .panel-index { font-size: 0.72rem; color: #999; letter-spacing: 0.05em; } .panel-info-col h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; line-height: 1; letter-spacing: -0.01em; } /* Meta table */ .panel-meta { display: flex; flex-direction: column; gap: 0; } .panel-meta-row { display: flex; gap: 1.5rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(0,0,0,0.1); font-size: 0.8rem; align-items: baseline; } .meta-key { color: #888; width: 7rem; flex-shrink: 0; font-size: 0.72rem; } .panel-desc { font-size: 0.85rem; line-height: 1.85; color: #333; } /* Accordion */ .accordion { border-bottom: var(--border); } .accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; cursor: none; list-style: none; pointer-events: auto; } .accordion summary::-webkit-details-marker { display: none; } .accordion summary span { transition: transform 0.2s; display: inline-block; } .accordion[open] summary span { transform: rotate(180deg); } .accordion-body { font-size: 0.78rem; line-height: 2; color: #444; padding-bottom: 1rem; white-space: pre-line; } .panel-footer { font-size: 0.75rem; color: #888; padding-top: 0.5rem; } /* ---- CHECKOUT SECTION ---- */ .checkout-price-line { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: 1rem; } .checkout-price { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; } .checkout-edition { font-size: 0.72rem; color: #888; } /* Bouton jaune parking rectangulaire — aucun border-radius */ .checkout-btn { display: block; width: 100%; background: #e8a800; color: var(--clr-black); border: var(--border); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; padding: 1.1rem 1.5rem; text-align: center; cursor: none; transition: background 0.15s, color 0.15s; pointer-events: auto; } .checkout-btn:hover { background: var(--clr-black); color: #e8a800; } /* Form qui se déploie */ .checkout-form-wrap { border: var(--border); border-top: none; background: var(--clr-white); } .checkout-form { display: flex; flex-direction: column; gap: 0; } .checkout-form-field { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.1rem; border-bottom: var(--border); } .checkout-form-field label { font-size: 0.68rem; font-weight: 700; color: #888; letter-spacing: 0.05em; } .checkout-form-field input { border: none; background: transparent; font-family: var(--font-mono); font-size: 0.85rem; outline: none; cursor: none; padding: 0; color: var(--clr-black); pointer-events: auto; } .checkout-form-field input::placeholder { color: #bbb; } .checkout-form-field input:focus { outline: none; } .checkout-form-note { padding: 0.9rem 1.1rem; font-size: 0.72rem; line-height: 1.8; color: #777; border-bottom: var(--border); } .checkout-submit { background: var(--clr-black); color: #e8a800; border: none; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; padding: 1.1rem 1.5rem; cursor: none; text-align: center; transition: background 0.15s, color 0.15s; pointer-events: auto; } .checkout-submit:hover { background: #e8a800; color: var(--clr-black); } .checkout-submit:disabled { opacity: 0.5; pointer-events: none; } /* ---- NEWSLETTER ---- */ .newsletter { display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; } .nl-left { padding: 3rem var(--pad); border-right: var(--border); display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; } .nl-left h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.02em; } .nl-right { padding: 3rem var(--pad); display: flex; align-items: flex-end; } .nl-form { width: 100%; display: flex; flex-direction: column; gap: 0.7rem; pointer-events: auto; } .nl-form label { font-size: 0.75rem; font-weight: 700; } .nl-row { display: flex; border: var(--border); background: var(--clr-white); } .nl-row input { flex-grow: 1; border: none; background: transparent; font-family: var(--font-mono); font-size: 0.85rem; padding: 0.9rem; outline: none; cursor: none; } .nl-row input::placeholder { color: #bbb; } .nl-row input:focus { background: rgba(0,0,0,0.03); } .nl-row button { border: none; border-left: var(--border); background: var(--clr-black); color: var(--clr-white); font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; padding: 0 1.3rem; cursor: none; transition: background 0.15s; pointer-events: auto; } .nl-row button:hover { background: var(--clr-red); color: var(--clr-black); } /* ---- FOOTER ---- */ .footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem var(--pad); border-top: var(--border); font-size: 0.75rem; pointer-events: auto; background: var(--clr-bg); } .footer a { color: var(--clr-black); text-decoration: none; } .footer a:hover { text-decoration: underline; } /* ---- TECHNICAL DRAWING OVERLAY (panel image) ---- */ .tech-overlay { position: absolute; inset: 0; pointer-events: none; z-index: 10; overflow: hidden; } .tech-corner { position: absolute; width: 28px; height: 28px; border-color: rgba(232,168,0,0); border-style: solid; border-width: 0; transition: border-color 0.6s ease, width 0.5s ease, height 0.5s ease; } .tech-visible .tech-corner { border-color: rgba(232,168,0,0.6); } .tech-corner--tl { top: 7%; left: 5%; border-top-width: 1px; border-left-width: 1px; } .tech-corner--tr { top: 7%; right: 5%; border-top-width: 1px; border-right-width: 1px; } .tech-corner--br { bottom: 7%; right: 5%; border-bottom-width: 1px; border-right-width: 1px; } .tech-corner--bl { bottom: 7%; left: 5%; border-bottom-width: 1px; border-left-width: 1px; } .tech-center-h, .tech-center-v { position: absolute; background: rgba(232,168,0,0); transition: background 0.5s ease 0.15s; } .tech-visible .tech-center-h, .tech-visible .tech-center-v { background: rgba(232,168,0,0.2); } .tech-center-h { top: 50%; left: 38%; right: 38%; height: 1px; transform: translateY(-0.5px); } .tech-center-v { left: 50%; top: 38%; bottom: 38%; width: 1px; transform: translateX(-0.5px); } /* Dimension lines */ .tech-dim { position: absolute; display: flex; align-items: center; gap: 6px; opacity: 0; transition: opacity 0.5s ease 0.3s; } .tech-visible .tech-dim { opacity: 1; } .tech-dim--h { bottom: 4%; left: 5%; right: 5%; } .tech-dim--v { right: 2.5%; top: 7%; bottom: 7%; flex-direction: column; writing-mode: vertical-lr; } .tech-dim-line { flex: 1; } .tech-dim--h .tech-dim-line { height: 1px; background: rgba(232,168,0,0.35); } .tech-dim--v .tech-dim-line { width: 1px; background: rgba(232,168,0,0.35); } .tech-dim-text { font-family: var(--font-mono); font-size: 0.5rem; color: rgba(232,168,0,0.65); letter-spacing: 0.06em; } /* Dimension arrows */ .tech-dim-arrow { font-size: 0.5rem; color: rgba(232,168,0,0.5); line-height: 1; } /* Reference text */ .tech-ref { position: absolute; bottom: 1.5%; left: 5%; font-family: var(--font-mono); font-size: 0.45rem; color: rgba(232,168,0,0); letter-spacing: 0.06em; transition: color 0.5s ease 0.5s; } .tech-visible .tech-ref { color: rgba(232,168,0,0.45); } /* Blueprint grid */ .tech-grid { position: absolute; inset: 7% 5%; background-image: linear-gradient(rgba(232,168,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(232,168,0,0.04) 1px, transparent 1px); background-size: 40px 40px; opacity: 0; transition: opacity 0.8s ease 0.05s; } .tech-visible .tech-grid { opacity: 1; } /* Scan line effect */ .tech-scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(to bottom, transparent, rgba(232,168,0,0.6), rgba(232,168,0,0.9), rgba(232,168,0,0.6), transparent); box-shadow: 0 0 12px rgba(232,168,0,0.4); z-index: 11; pointer-events: none; opacity: 0; top: 0; } .tech-visible .tech-scanline { animation: techScanLine 1s ease-in-out forwards; animation-delay: 0.1s; } @keyframes techScanLine { 0% { top: 0%; opacity: 1; } 90% { opacity: 0.8; } 100% { top: 100%; opacity: 0; } } /* ---- CARD CAD ELEMENTS (scroll-triggered via GSAP) ---- */ .card-scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(to bottom, transparent, rgba(232,168,0,0.7), rgba(232,168,0,1), rgba(232,168,0,0.7), transparent); box-shadow: 0 0 16px rgba(232,168,0,0.5), 0 0 4px rgba(232,168,0,0.8); z-index: 5; pointer-events: none; top: 100%; } .card-corners { position: absolute; inset: 8%; pointer-events: none; z-index: 4; } .cc { position: absolute; width: 16px; height: 16px; border-color: rgba(232,168,0,0.55); border-style: solid; border-width: 0; } .cc-tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; } .cc-tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; } .cc-br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; } .cc-bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; } .card-coord-tag { position: absolute; bottom: 6px; left: 8px; font-family: var(--font-mono); font-size: 0.45rem; color: rgba(232,168,0,0.6); letter-spacing: 0.05em; z-index: 5; pointer-events: none; background: rgba(0,0,0,0.35); padding: 1px 5px; } /* Construction line under collection header */ .cad-construction-line { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, var(--clr-red), var(--clr-red) 60%, transparent); transform-origin: left center; } .collection-header { position: relative; } /* ---- SOUND TOGGLE ---- */ .sound-toggle { display: flex; align-items: center; gap: 0.35rem; background: none; border: 1px solid rgba(0,0,0,0.18); font-family: var(--font-mono); font-size: 0.65rem; color: #999; padding: 0.2rem 0.55rem; cursor: none; transition: color 0.2s, border-color 0.2s; letter-spacing: 0.04em; } .sound-toggle:hover { color: var(--clr-black); border-color: var(--clr-black); } .sound-toggle.sound-active { color: var(--clr-red); border-color: var(--clr-red); } .sound-icon { font-size: 0.7rem; line-height: 1; } .sound-bars { display: flex; align-items: flex-end; gap: 1px; height: 10px; } .sound-bar { width: 2px; background: currentColor; transition: height 0.2s; } .sound-bar:nth-child(1) { height: 3px; } .sound-bar:nth-child(2) { height: 6px; } .sound-bar:nth-child(3) { height: 4px; } .sound-toggle.sound-active .sound-bar { animation: soundPulse 0.8s ease-in-out infinite alternate; } .sound-toggle.sound-active .sound-bar:nth-child(2) { animation-delay: 0.15s; } .sound-toggle.sound-active .sound-bar:nth-child(3) { animation-delay: 0.3s; } @keyframes soundPulse { 0% { height: 2px; } 100% { height: 10px; } } /* ---- RESPONSIVE ---- */ @media (max-width: 900px) { .hero, .newsletter { grid-template-columns: 1fr; } .hero-left { border-right: none; border-bottom: var(--border); min-height: 70vw; padding: 3rem var(--pad); order: -1; } .hero-right { height: 55vw; } .nl-left { border-right: none; border-bottom: var(--border); } .product-grid { grid-template-columns: 1fr 1fr; } .panel-inner { grid-template-columns: 1fr; } .panel-img-col { height: 50vw; } .panel-info-col { overflow-y: auto; } } @media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; margin: 0 1rem; border-left: none; } .product-card { border-left: 2px solid #111; } .header-nav { gap: 1rem; } .hero { height: auto; } .hero-left { min-height: unset; padding: 2rem var(--pad); order: -1; } .hero-right { height: 60vw; } .cursor-dot, .cursor-outline, .cad-h, .cad-v, .cad-center, .cad-coords { display: none; } body { cursor: auto; } }