This commit is contained in:
ordinarthur 2026-03-30 18:12:47 +02:00
parent ea865574b7
commit 5257e53487
3 changed files with 73 additions and 28 deletions

View File

@ -256,6 +256,9 @@ hr { border: none; border-top: var(--border); margin: 0; }
.product-card:hover .card-img-wrap {
border-bottom-color: var(--clr-red);
}
.product-card::before {
transition: border-color 0.2s ease;
}
.product-card:hover .card-img-wrap {
background: var(--clr-card-bg);
}
@ -357,7 +360,7 @@ hr { border: none; border-top: var(--border); margin: 0; }
display: flex;
flex-direction: column;
gap: 1.4rem;
background: var(--clr-bg);
background: #dcdcdc;
}
.panel-index {
@ -614,6 +617,33 @@ hr { border: none; border-top: var(--border); margin: 0; }
}
.nl-row button:hover { background: var(--clr-red); color: var(--clr-black); }
/* ---- WHATSAPP BUTTON ---- */
.whatsapp-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.7rem;
width: 100%;
background: #25D366;
color: #fff;
border: 2px solid #111;
font-family: var(--font-mono);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.04em;
padding: 1.1rem 1.5rem;
text-align: center;
text-decoration: none;
cursor: none;
transition: background 0.2s, color 0.2s, border-color 0.2s;
pointer-events: auto;
}
.whatsapp-btn:hover {
background: var(--clr-black);
color: #25D366;
border-color: #25D366;
}
/* ---- FOOTER ---- */
.footer {
margin-top: auto;
@ -735,14 +765,14 @@ hr { border: none; border-top: var(--border); margin: 0; }
.tech-scanline {
position: absolute;
left: 0; right: 0;
height: 2px;
height: 1px;
background: linear-gradient(to bottom,
transparent,
rgba(232,168,0,0.6),
rgba(232,168,0,0.9),
rgba(232,168,0,0.6),
rgba(232,168,0,0.3),
rgba(232,168,0,0.5),
rgba(232,168,0,0.3),
transparent);
box-shadow: 0 0 12px rgba(232,168,0,0.4);
box-shadow: 0 0 4px rgba(232,168,0,0.15);
z-index: 11;
pointer-events: none;
opacity: 0;
@ -762,14 +792,14 @@ hr { border: none; border-top: var(--border); margin: 0; }
.card-scanline {
position: absolute;
left: 0; right: 0;
height: 2px;
height: 1px;
background: linear-gradient(to bottom,
transparent,
rgba(232,168,0,0.7),
rgba(232,168,0,1),
rgba(232,168,0,0.7),
rgba(232,168,0,0.3),
rgba(232,168,0,0.5),
rgba(232,168,0,0.3),
transparent);
box-shadow: 0 0 16px rgba(232,168,0,0.5), 0 0 4px rgba(232,168,0,0.8);
box-shadow: 0 0 6px rgba(232,168,0,0.15);
z-index: 5;
pointer-events: none;
top: 100%;
@ -805,7 +835,7 @@ hr { border: none; border-top: var(--border); margin: 0; }
padding: 2px 7px;
}
/* Construction line under collection header */
/* Construction line under collection header — visible on hover only */
.cad-construction-line {
position: absolute;
bottom: 0; left: 0; right: 0;
@ -815,9 +845,15 @@ hr { border: none; border-top: var(--border); margin: 0; }
var(--clr-red) 60%,
transparent);
transform-origin: left center;
opacity: 0;
transition: opacity 0.3s ease;
}
.collection-header:hover .cad-construction-line {
opacity: 1;
}
.collection-header {
position: relative;
pointer-events: auto;
}
/* ---- SOUND TOGGLE ---- */
@ -888,6 +924,10 @@ hr { border: none; border-top: var(--border); margin: 0; }
position: absolute;
inset: 0;
background: rgba(0,0,0,0.6);
pointer-events: none;
}
.contact-modal.is-open .contact-modal-backdrop {
pointer-events: auto;
}
.contact-modal-content {
position: relative;
@ -901,6 +941,9 @@ hr { border: none; border-top: var(--border); margin: 0; }
display: flex;
flex-direction: column;
gap: 1.2rem;
pointer-events: none;
}
.contact-modal.is-open .contact-modal-content {
pointer-events: auto;
}
.contact-modal-header {

View File

@ -202,21 +202,23 @@ const schemaOrg = {
</div>
</section>
<!-- NEWSLETTER -->
<section class="newsletter" id="contact" aria-label="Accès anticipé">
<!-- CONTACT WHATSAPP -->
<section class="newsletter" id="contact" aria-label="Contact WhatsApp">
<div class="nl-left">
<p class="label">// ACCÈS_ANTICIPÉ</p>
<h2>REJOINDRE<br>L'EXPÉRIENCE</h2>
<p class="label">// CONTACT</p>
<h2>UNE QUESTION ?<br>PARLONS-EN</h2>
</div>
<div class="nl-right">
<form class="nl-form" onsubmit="event.preventDefault();" aria-label="Inscription newsletter">
<label for="nl-email">EMAIL :</label>
<div class="nl-row">
<input type="email" id="nl-email" name="email" placeholder="votre@email.com" autocomplete="email" required>
<button type="submit">ENVOYER →</button>
<div class="nl-form" style="pointer-events: auto;">
<p class="mono-sm" style="line-height: 1.9; margin-bottom: 0.5rem;">Commandes sur mesure, questions techniques,<br>ou simplement dire bonjour.</p>
<a href="https://wa.me/33XXXXXXXXX" target="_blank" rel="noopener" class="whatsapp-btn" aria-label="Nous contacter sur WhatsApp">
<svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" style="flex-shrink:0;">
<path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/>
</svg>
CONTACTEZ-NOUS SUR WHATSAPP
</a>
<p class="mono-sm"><span class="blink">■</span> RÉPONSE SOUS 24H</p>
</div>
<p class="mono-sm"><span class="blink">■</span> CONNECTION_STATUS: PENDING</p>
</form>
</div>
</section>

View File

@ -205,9 +205,9 @@ document.addEventListener('DOMContentLoaded', () => {
},
});
// 1. Image clip-path reveal (bottom → top scan)
// 1. Image clip-path reveal (bottom → top scan) — subtle
tl.fromTo(img,
{ clipPath: 'inset(100% 0 0 0)', filter: 'brightness(1.8) grayscale(100%)' },
{ clipPath: 'inset(100% 0 0 0)', filter: 'brightness(1.1) grayscale(40%)' },
{ clipPath: 'inset(0% 0 0 0)', filter: 'brightness(1) grayscale(15%)',
duration: 0.9, ease: 'power3.out' },
0
@ -405,11 +405,11 @@ document.addEventListener('DOMContentLoaded', () => {
0.6
);
// 7. Panel image scan reveal
// 7. Panel image scan reveal — subtle
const panelImg = document.getElementById('panel-img');
if (panelImg) {
techTimeline.fromTo(panelImg,
{ clipPath: 'inset(0 0 100% 0)', filter: 'brightness(1.8) grayscale(100%)' },
{ clipPath: 'inset(0 0 100% 0)', filter: 'brightness(1.05) grayscale(30%)' },
{ clipPath: 'inset(0 0 0% 0)', filter: 'brightness(1) contrast(1) grayscale(0%)',
duration: 1, ease: 'power3.out' },
0.05