feat: marque Tablée et DA Faire-part sur toute l'appli, vitrine et pages légales
- Nouvelle DA ivoire / encre / bordeaux (Cormorant Garamond + Inter), variante nuit sur les écrans invités - Carton de table A5 redessiné, imprimable sans fonds - Mention RGPD invité corrigée (destinataires, droits, contact éditeur) - Vitrine src/landing/ et pages légales src/legal/ (non déployées : SIRET et adresse manquants) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,309 @@
|
||||
/* Landing + pages légales — direction « Faire-part » (éditorial, ivoire / encre / bordeaux).
|
||||
Contrastes calculés (WCAG 2.1) :
|
||||
encre #1e1a16 / fond #f5f0e6 = 15.2:1 · gris #5f564c / fond = 6.3:1
|
||||
bordeaux #7a2b22 / fond = 8.4:1 · ivoire #fbf8f2 / bordeaux = 9.0:1 · ivoire / encre = 16.3:1
|
||||
bord de champ #8c8173 / papier = 3.6:1 (composant UI ≥ 3:1). Filets #cfc3b0 : décoratifs uniquement. */
|
||||
|
||||
@font-face { font-family: "Cormorant Garamond"; src: url("/vendor/fonts/cormorantgaramond-latin-variable.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
|
||||
@font-face { font-family: "Inter"; src: url("/vendor/fonts/inter-latin-variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
|
||||
|
||||
:root {
|
||||
/* NOM DE MARQUE À VALIDER : seul endroit où le nom est écrit (affiché via .brand-name sur toutes les pages). */
|
||||
--brand: "Tablée";
|
||||
|
||||
--bg: #f5f0e6;
|
||||
--paper: #fbf8f2;
|
||||
--tint: #ede6d8;
|
||||
--ink: #1e1a16;
|
||||
--muted: #5f564c;
|
||||
--accent: #7a2b22;
|
||||
--line: #cfc3b0;
|
||||
--field: #8c8173;
|
||||
--ease: cubic-bezier(0.22, 1, 0.36, 1);
|
||||
--serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
|
||||
--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
--gutter: clamp(1rem, 5vw, 3rem);
|
||||
}
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: var(--sans);
|
||||
font-size: 1rem;
|
||||
line-height: 1.65;
|
||||
color: var(--ink);
|
||||
background: var(--bg);
|
||||
font-feature-settings: "kern";
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; font-variant-numeric: oldstyle-nums; }
|
||||
h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); font-weight: 400; letter-spacing: -0.02em; }
|
||||
h2 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 400; }
|
||||
h3 { font-size: 1.6rem; }
|
||||
p { margin: 0 0 1rem; }
|
||||
em { font-style: normal; color: var(--accent); }
|
||||
a { color: inherit; }
|
||||
|
||||
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
|
||||
.section--ink :focus-visible { outline-color: var(--paper); }
|
||||
|
||||
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: var(--paper); padding: 0.5rem 1rem; z-index: 10; }
|
||||
.skip:focus { left: 0.5rem; }
|
||||
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
||||
|
||||
.brand-name::before { content: var(--brand); }
|
||||
|
||||
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-inline: var(--gutter); }
|
||||
|
||||
/* Petites capitales : Inter n'a pas de smcp, on les compose (capitales réduites + interlettrage). */
|
||||
.eyebrow {
|
||||
font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
|
||||
color: var(--accent); margin-bottom: 1.25rem;
|
||||
}
|
||||
.eyebrow--light { color: var(--paper); opacity: 0.85; }
|
||||
|
||||
/* ---------- Boutons & liens ---------- */
|
||||
.btn {
|
||||
display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
|
||||
padding: 0.8rem 1.6rem; border: 1px solid var(--ink); border-radius: 0;
|
||||
background: var(--ink); color: var(--paper); font: 500 0.8125rem/1 var(--sans);
|
||||
letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer;
|
||||
transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
|
||||
}
|
||||
.btn:hover { background: var(--accent); border-color: var(--accent); }
|
||||
.btn--line { background: transparent; color: var(--ink); }
|
||||
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
|
||||
.btn--quiet { min-height: 2.5rem; padding: 0.6rem 1rem; background: transparent; color: var(--ink); }
|
||||
.btn--quiet:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
|
||||
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); width: 100%; }
|
||||
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
|
||||
|
||||
.link {
|
||||
font-size: 0.9375rem; text-decoration: none; padding-block: 0.4rem;
|
||||
background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
|
||||
transition: background-size 0.4s var(--ease);
|
||||
}
|
||||
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
|
||||
|
||||
/* ---------- En-tête ---------- */
|
||||
.topbar {
|
||||
display: flex; align-items: center; justify-content: space-between; gap: 1rem;
|
||||
max-width: 72rem; margin: 0 auto; padding: 1.1rem var(--gutter);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.wordmark { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; line-height: 1; }
|
||||
.topnav { display: none; gap: 2rem; font-size: 0.875rem; }
|
||||
.topnav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
|
||||
.topnav a:hover { color: var(--ink); }
|
||||
|
||||
/* ---------- Ouverture ---------- */
|
||||
.hero { display: grid; gap: 3.5rem; padding-block: clamp(3rem, 9vw, 7rem) clamp(3rem, 8vw, 6rem); }
|
||||
.hero h1 { max-width: 13ch; margin-bottom: 1.75rem; }
|
||||
.lead { font-size: 1.125rem; color: var(--muted); max-width: 34rem; margin-bottom: 2.25rem; }
|
||||
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-bottom: 2.75rem; }
|
||||
.facts { list-style: none; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; }
|
||||
.facts li { display: flex; align-items: center; }
|
||||
.facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-left: -0.85rem; margin-right: 0.6rem; }
|
||||
|
||||
.hero__visual { margin: 0 auto; position: relative; width: 100%; max-width: 30rem; }
|
||||
.hero__visual figcaption { margin: 1.5rem 0 0 4%; font-size: 0.75rem; color: var(--muted); max-width: 52%; }
|
||||
|
||||
/* Carton de table : vrai papier, filet intérieur. Pas de Caveat ici : 75 Ko pour trois mots, écarté par sobriété. */
|
||||
.tablecard {
|
||||
position: absolute; z-index: 1; right: 0; bottom: 1.5rem; width: 40%; max-width: 12.5rem;
|
||||
padding: 1.25rem 1rem 1rem; text-align: center; color: var(--ink);
|
||||
background: var(--paper);
|
||||
outline: 1px solid var(--line); outline-offset: -0.45rem;
|
||||
box-shadow: 0 1px 2px rgba(30, 26, 22, 0.06), 0 12px 30px -12px rgba(30, 26, 22, 0.18);
|
||||
transform: rotate(3deg);
|
||||
}
|
||||
.tablecard__names { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; margin: 0.25rem 0 0; }
|
||||
.tablecard__names span { color: var(--accent); }
|
||||
.tablecard__hand { font-family: var(--serif); font-size: 0.95rem; color: var(--accent); margin: 0.1rem 0 0.6rem; }
|
||||
.tablecard__qr { width: 62%; height: auto; display: block; margin: 0 auto 0.6rem; color: var(--ink); }
|
||||
.tablecard__hint { font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin: 0; }
|
||||
|
||||
/* Téléphone épuré, contenu = la vraie structure du formulaire invité (src/e) recomposée dans la DA. */
|
||||
.phone {
|
||||
width: 62%; max-width: 16.5rem; margin-left: 4%;
|
||||
padding: 0.55rem; border-radius: 2.4rem; background: var(--ink);
|
||||
box-shadow: 0 30px 60px -30px rgba(30, 26, 22, 0.45);
|
||||
}
|
||||
.phone__screen {
|
||||
height: 100%; border-radius: 1.9rem; background: var(--paper); overflow: hidden;
|
||||
padding: 2.6rem 1.25rem 1.6rem; display: flex; flex-direction: column;
|
||||
}
|
||||
.phone__kicker { font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); margin: 0 0 0.35rem; text-align: center; }
|
||||
.phone__title { font-family: var(--serif); font-size: 1.6rem; line-height: 1; text-align: center; margin: 0; }
|
||||
.phone__rule { display: block; width: 2rem; height: 1px; background: var(--line); margin: 0.9rem auto 1.1rem; }
|
||||
.phone__label { font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 0.3rem; }
|
||||
.phone__label span { text-transform: none; letter-spacing: 0; }
|
||||
.phone__field { font-size: 0.75rem; border-bottom: 1px solid var(--field); padding-bottom: 0.35rem; margin: 0 0 0.9rem; }
|
||||
.phone__slot { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; border: 1px solid var(--line); padding: 1rem 0.5rem 0.9rem; margin: 0 0 1.1rem; font-size: 0.6875rem; text-align: center; }
|
||||
.phone__slot svg { width: 1.5rem; height: 1.5rem; color: var(--accent); margin-bottom: 0.2rem; }
|
||||
.phone__slot span { font-size: 0.5625rem; color: var(--muted); }
|
||||
.phone__btn { margin: 0.6rem 0 0.6rem; background: var(--ink); color: var(--paper); text-align: center; font-size: 0.5625rem; text-transform: uppercase; letter-spacing: 0.16em; padding: 0.8rem; }
|
||||
.phone__note { font-size: 0.5625rem; color: var(--muted); text-align: center; margin: 0; }
|
||||
|
||||
/* ---------- Constat ---------- */
|
||||
.statement { border-block: 1px solid var(--line); background: var(--paper); }
|
||||
.statement__inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); display: grid; gap: 1.75rem; }
|
||||
.statement__text { font-family: var(--serif); font-size: clamp(1.6rem, 4.6vw, 2.6rem); line-height: 1.2; margin: 0; max-width: 30ch; }
|
||||
.statement__aside { color: var(--muted); max-width: 30rem; margin: 0; }
|
||||
|
||||
/* ---------- Sections ---------- */
|
||||
.section { padding-block: clamp(4rem, 10vw, 7.5rem); }
|
||||
.section__head { margin-bottom: clamp(2.5rem, 6vw, 4rem); max-width: 40rem; }
|
||||
.section--tint { background: var(--tint); }
|
||||
.section--narrow .section__head, .section--narrow .faq { max-width: 46rem; }
|
||||
.section--ink { background: var(--ink); color: var(--paper); }
|
||||
|
||||
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
|
||||
.steps li { border-top: 1px solid var(--ink); padding: 1.5rem 0 2.25rem; display: grid; gap: 0.4rem; }
|
||||
.steps__num { font-family: var(--serif); font-size: 1.15rem; font-style: normal; color: var(--accent); }
|
||||
.steps h3 { margin-bottom: 0.5rem; }
|
||||
.steps p { color: var(--muted); margin: 0; max-width: 32rem; }
|
||||
|
||||
.features { margin: 0; display: grid; gap: 0; }
|
||||
.features div { border-top: 1px solid var(--line); padding: 1.5rem 0 1.75rem; }
|
||||
.features dt { font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; margin-bottom: 0.5rem; }
|
||||
.features dd { margin: 0; color: var(--muted); max-width: 30rem; }
|
||||
|
||||
.audience { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
|
||||
.audience li { border-top: 1px solid var(--line); padding: 1.5rem 0; display: grid; gap: 0.5rem; }
|
||||
.audience h3 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 400; }
|
||||
.audience p { margin: 0; color: var(--muted); max-width: 34rem; }
|
||||
|
||||
/* ---------- Tarifs ---------- */
|
||||
.launch { border: 1px solid var(--accent); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; display: grid; gap: 0.25rem; background: var(--paper); }
|
||||
.launch__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); font-weight: 500; margin: 0; }
|
||||
.launch__text { margin: 0; }
|
||||
.launch strong { font-weight: 600; }
|
||||
|
||||
.pricing { display: grid; gap: 1.25rem; }
|
||||
.plan { background: var(--paper); padding: 2rem 1.5rem; display: flex; flex-direction: column; border: 1px solid var(--line); }
|
||||
.plan--main { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--accent); }
|
||||
.plan h3 { font-size: 1.9rem; font-weight: 500; }
|
||||
.plan__for { font-size: 0.875rem; color: var(--muted); margin: 0.35rem 0 1.5rem; }
|
||||
.plan__price { margin: 0 0 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.5rem; }
|
||||
.plan__price .num { font-family: var(--serif); font-size: 3.25rem; line-height: 1; font-variant-numeric: oldstyle-nums proportional-nums; }
|
||||
.plan__price .num--text { font-size: 2.4rem; }
|
||||
.plan__price .unit, .plan__price .from { font-size: 0.8125rem; color: var(--muted); }
|
||||
.plan__price .from { flex-basis: 100%; }
|
||||
.plan ul { list-style: none; margin: 0 0 1.75rem; padding: 0; font-size: 0.9375rem; display: grid; gap: 0.6rem; }
|
||||
.plan li { padding-left: 1.1rem; position: relative; }
|
||||
.plan li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 0.5rem; height: 1px; background: var(--accent); }
|
||||
.plan__fine { font-size: 0.8125rem; color: var(--muted); margin: -0.75rem 0 1.5rem; }
|
||||
.plan .btn { margin-top: auto; padding-inline: 1rem; }
|
||||
.pricing__note { font-size: 0.8125rem; color: var(--muted); margin: 1.5rem 0 0; }
|
||||
|
||||
/* ---------- Engagements ---------- */
|
||||
.promises { display: grid; gap: 3rem; }
|
||||
.promises__yes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
|
||||
.promises__yes li { border-top: 1px solid var(--line); padding: 1.4rem 0; color: var(--muted); }
|
||||
.promises__yes strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--ink); margin-bottom: 0.4rem; }
|
||||
.promises__no { border: 1px solid var(--line); padding: 1.75rem 1.5rem; align-self: start; background: var(--paper); }
|
||||
.promises__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 1rem; }
|
||||
.promises__no ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; font-size: 0.9375rem; }
|
||||
.promises__no li { padding-left: 1.1rem; position: relative; }
|
||||
.promises__no li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
|
||||
|
||||
/* ---------- FAQ ---------- */
|
||||
.faq details { border-top: 1px solid var(--line); }
|
||||
.faq details:last-child { border-bottom: 1px solid var(--line); }
|
||||
.faq summary {
|
||||
list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
|
||||
font-family: var(--serif); font-size: 1.4rem; line-height: 1.25;
|
||||
}
|
||||
.faq summary::-webkit-details-marker { display: none; }
|
||||
.faq summary::after {
|
||||
content: ""; position: absolute; right: 0.25rem; top: 50%; width: 0.75rem; height: 0.75rem; margin-top: -0.375rem;
|
||||
background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
|
||||
transition: transform 0.35s var(--ease);
|
||||
}
|
||||
.faq details[open] summary::after { transform: rotate(45deg); }
|
||||
.faq summary:hover { color: var(--accent); }
|
||||
.faq details p { color: var(--muted); margin: 0 0 1.5rem; max-width: 40rem; }
|
||||
|
||||
/* ---------- Contact ---------- */
|
||||
.contact { display: grid; gap: 3rem; }
|
||||
.contact h2 { margin-bottom: 1.25rem; }
|
||||
.contact__intro p { opacity: 0.88; max-width: 28rem; }
|
||||
.contact__place { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; margin-top: 2rem; }
|
||||
.form { display: grid; gap: 1.4rem; }
|
||||
.field { display: grid; gap: 0.4rem; }
|
||||
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
|
||||
.field label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; }
|
||||
.opt { text-transform: none; letter-spacing: 0; opacity: 0.8; }
|
||||
.form input, .form select, .form textarea {
|
||||
font: inherit; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid #a49a8c;
|
||||
border-radius: 0; padding: 0.55rem 0; min-height: 2.75rem; width: 100%; color-scheme: dark;
|
||||
}
|
||||
.form select option { color: var(--ink); background: var(--paper); }
|
||||
.form textarea { resize: vertical; }
|
||||
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: none; border-bottom: 2px solid var(--paper); }
|
||||
.form__note { font-size: 0.8125rem; opacity: 0.75; margin: 0; }
|
||||
|
||||
/* ---------- Pied de page ---------- */
|
||||
.footer { background: var(--ink); color: var(--paper); border-top: 1px solid #3a342d; }
|
||||
.footer__inner { padding-block: 2.5rem 3rem; display: grid; gap: 1rem; font-size: 0.875rem; }
|
||||
.footer__brand { font-family: var(--serif); font-size: 1.75rem; margin: 0; }
|
||||
.footer__line { opacity: 0.8; margin: 0; }
|
||||
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
|
||||
.footer__nav a { text-decoration: none; opacity: 0.85; }
|
||||
.footer__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
|
||||
|
||||
/* ---------- Pages légales ---------- */
|
||||
.draft { background: var(--tint); border-bottom: 1px solid var(--line); text-align: center; font-size: 0.75rem; letter-spacing: 0.06em; padding: 0.6rem var(--gutter); margin: 0; color: var(--muted); }
|
||||
.legal { max-width: 44rem; padding-block: clamp(3rem, 8vw, 5.5rem) clamp(4rem, 9vw, 6rem); }
|
||||
.legal h1 { font-size: clamp(2.4rem, 7vw, 3.8rem); margin-bottom: 0.75rem; }
|
||||
.legal__meta { color: var(--muted); font-size: 0.875rem; margin-bottom: 3rem; }
|
||||
.legal h2 { font-size: 1.75rem; font-weight: 500; margin: 2.75rem 0 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
|
||||
.legal p, .legal li { color: #3d3630; }
|
||||
.legal ul { padding-left: 1.2rem; }
|
||||
.legal li { margin-bottom: 0.4rem; }
|
||||
.legal blockquote { margin: 1rem 0; padding: 1rem 1.25rem; border-left: 2px solid var(--accent); background: var(--paper); }
|
||||
.ph { background: #f3dcc9; color: var(--accent); font-weight: 600; padding: 0 0.25em; font-size: 0.95em; white-space: nowrap; }
|
||||
.back { font-size: 0.875rem; }
|
||||
|
||||
/* ---------- Grandes largeurs ---------- */
|
||||
@media (min-width: 48rem) {
|
||||
.topnav { display: flex; }
|
||||
.tablecard { bottom: 4.5rem; width: 44%; }
|
||||
.hero__visual figcaption { max-width: 26rem; margin-inline: auto; text-align: center; }
|
||||
.steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
|
||||
.features { grid-template-columns: repeat(2, 1fr); column-gap: 4rem; }
|
||||
.features div:nth-child(n+5) { border-bottom: 0; }
|
||||
.audience { grid-template-columns: repeat(2, 1fr); column-gap: 4rem; }
|
||||
.pricing { grid-template-columns: repeat(2, 1fr); }
|
||||
.statement__inner { grid-template-columns: 1.6fr 1fr; align-items: end; gap: 4rem; }
|
||||
.launch { grid-template-columns: auto 1fr; gap: 2rem; align-items: baseline; }
|
||||
.contact { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
|
||||
.footer__inner { grid-template-columns: auto 1fr auto; align-items: baseline; gap: 2rem; }
|
||||
}
|
||||
@media (min-width: 64rem) {
|
||||
.hero { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 4rem; }
|
||||
.pricing { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
|
||||
.promises { grid-template-columns: 1.5fr 1fr; gap: 5rem; }
|
||||
.audience { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
|
||||
.audience li { border-top-color: var(--ink); }
|
||||
}
|
||||
|
||||
/* ---------- Mouvement : une seule entrée, discrète ---------- */
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.hero__text > *, .hero__visual { animation: rise 0.9s var(--ease) both; }
|
||||
.hero__text > :nth-child(2) { animation-delay: 0.08s; }
|
||||
.hero__text > :nth-child(3) { animation-delay: 0.16s; }
|
||||
.hero__text > :nth-child(4) { animation-delay: 0.24s; }
|
||||
.hero__text > :nth-child(5) { animation-delay: 0.32s; }
|
||||
.hero__visual { animation-delay: 0.3s; animation-duration: 1.2s; }
|
||||
.tablecard { transition: transform 0.6s var(--ease); }
|
||||
.hero__visual:hover .tablecard { transform: rotate(1.5deg) translateY(-4px); }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html { scroll-behavior: auto; }
|
||||
*, *::before, *::after { transition-duration: 0.01ms !important; }
|
||||
}
|
||||
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
|
||||
Reference in New Issue
Block a user