/* ==========================================================================
   Linéaire — refonte 2026
   CSS classique (sans framework). Palette et typographies issues de la maquette.
   ========================================================================== */

:root {
    --navy: #042A5B;
    --blue: #0077D4;
    --cyan: #00A8FF;
    --cream: #FAF8F5;
    --linen: #F3ECE4;
    --sand: #EBDCCB;
    --copper: #D97236;
    --copper-light: #FDF1E8;
    --ink: #1E293B;
    --muted: #526070;
    --white: #FFFFFF;
    --success: #047857;
    --success-bg: #D1FAE5;
    --danger: #B42318;
    --danger-bg: #FEE4E2;

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', var(--font-sans);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-soft: 0 12px 32px -8px rgba(4, 42, 91, .08), 0 4px 12px -4px rgba(217, 114, 54, .05);
    --shadow-warm: 0 20px 40px -12px rgba(217, 114, 54, .18);
    --shadow-hover: 0 20px 38px -10px rgba(4, 42, 91, .12);

    --container: 1200px;
    --gutter: 16px;
    --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: var(--copper); color: var(--white); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Boutons & pastilles ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
    font: 600 .95rem/1.2 var(--font-sans); cursor: pointer; text-align: center;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn-primary { background: var(--navy); color: var(--white); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--blue); color: var(--white); }
.btn-primary i { color: var(--cyan); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--sand); }
.btn-secondary:hover { border-color: var(--copper); background: var(--copper-light); color: var(--navy); }
.btn-sm { padding: .65rem 1.15rem; font-size: .85rem; }

.pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .35rem .9rem; border-radius: 999px;
    font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: var(--copper-light); color: var(--copper);
}
.pill-white { background: var(--white); color: var(--navy); border: 1px solid var(--sand); text-transform: none; letter-spacing: 0; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pill-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); }

/* ---------- Bandeau supérieur ---------- */
.topbar { background: var(--linen); color: var(--navy); font-size: .78rem; border-bottom: 1px solid rgba(235, 220, 203, .7); }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.25rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar a { color: var(--navy); font-weight: 600; }
.topbar a:hover { color: var(--copper); }
.topbar i { color: var(--copper); margin-right: .35rem; }
.topbar-links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

/* ---------- En-tête ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(250, 248, 245, .92);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(235, 220, 203, .8);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(4, 42, 91, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 68px; height: 68px; transition: transform .3s; }
.brand:hover img { transform: scale(1.05); }

.main-nav { display: none; align-items: center; gap: 1.75rem; font-size: .92rem; font-weight: 500; }
.main-nav a { color: #334155; padding: .5rem 0; position: relative; }
.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--copper); transform: scaleX(0); transition: transform .25s;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-actions .btn-primary { display: none; }
.menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--sand); color: var(--navy);
    font-size: 1.1rem; cursor: pointer;
}
.mobile-menu { display: none; border-top: 1px solid var(--sand); background: var(--cream); padding: .75rem var(--gutter) 1.5rem; box-shadow: 0 12px 24px -12px rgba(4,42,91,.2); }
.mobile-menu.is-open { display: block; }
.mobile-menu a { display: block; padding: .8rem 1rem; border-radius: var(--radius-sm); font-weight: 500; color: var(--navy); }
.mobile-menu a:hover { background: var(--linen); }
.mobile-menu .btn { display: flex; margin-top: .75rem; color: var(--white); }

@media (min-width: 640px) { .header-actions .btn-primary { display: inline-flex; } }
@media (min-width: 1024px) {
    :root { --header-h: 96px; }
    .brand img { width: 80px; height: 80px; }
    .main-nav { display: flex; }
    .menu-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; position: relative; }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }
.section-linen { background: var(--linen); }
.section-linen-soft { background: rgba(243, 236, 228, .7); border-top: 1px solid rgba(235,220,203,.6); border-bottom: 1px solid rgba(235,220,203,.6); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2, .section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-top: .75rem; }
.section-head p { color: var(--muted); }
.section-head-split { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .section-head-split { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.section-head-split p { color: var(--muted); max-width: 560px; margin: 0; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); }

.lang-en { font-style: italic; color: #7A8796; font-size: .88em; }

/* Formes organiques */
.blob { position: absolute; z-index: -1; border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; pointer-events: none; }

/* ---------- Héros ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 2.5rem 0 4rem; }
@media (min-width: 1024px) { .hero { padding: 4rem 0 6rem; } }
.hero .blob-1 { top: -6rem; right: -4rem; width: 520px; height: 520px; background: var(--linen); opacity: .85; }
.hero .blob-2 { bottom: -2rem; left: -6rem; width: 380px; height: 380px; background: var(--copper-light); opacity: .75; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 1.25rem 0 1rem; }
.hero h1 span { color: var(--blue); }
.hero-lead { font-size: 1.08rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 1.75rem 0 1.5rem; }
.hero-actions .btn small { font-weight: 500; opacity: .7; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; font-weight: 500; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: .5rem; }
.checks li::before {
    content: "✓"; display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; font-weight: 700;
    background: var(--success-bg); color: var(--success);
}

.hero-visual { position: relative; max-width: 540px; margin: 0 auto; width: 100%; }
.photo-frame { position: relative; border-radius: 32px; overflow: hidden; border: 4px solid var(--white); box-shadow: var(--shadow-soft); background: var(--linen); aspect-ratio: 16 / 10; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top left, rgba(4,42,91,.35), transparent 40%); }
.photo-tags { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; font-size: .75rem; font-weight: 600; color: var(--white); }
.photo-tags span { padding: .35rem .8rem; border-radius: 999px; background: rgba(4,42,91,.8); }
.photo-tags span.tag-copper { background: rgba(217,114,54,.92); }
.float-card {
    margin-top: 1rem; background: var(--white); border: 1px solid rgba(235,220,203,.8);
    border-radius: 24px; padding: 1.1rem 1.25rem; box-shadow: var(--shadow-warm); max-width: 300px;
}
@media (min-width: 640px) { .float-card { position: absolute; left: -1.5rem; bottom: -2rem; margin: 0; } }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.float-card span { font-size: .82rem; color: var(--muted); }

/* ---------- Cartes ---------- */
.grid-3 { display: grid; gap: 1.75rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-gammes { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-gammes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-gammes { grid-template-columns: repeat(3, 1fr); } }

.card {
    background: var(--white); border: 1px solid rgba(235,220,203,.6); border-radius: var(--radius-lg);
    padding: 2rem; box-shadow: var(--shadow-soft);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.card p { font-size: .93rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
    width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    background: var(--copper-light); color: var(--copper);
}
.card-icon.is-blue { background: #E8F4FD; color: var(--blue); }
.card-icon.is-navy { background: #E8EEF7; color: var(--navy); }

.gamme { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.gamme-img { background: linear-gradient(135deg, var(--cream), var(--linen)); aspect-ratio: 16 / 8; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gamme-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .4s; }
.gamme:hover .gamme-img img { transform: scale(1.05); }
.gamme-body { padding: 1.1rem 1.4rem 1.3rem; border-top: 1px solid rgba(235,220,203,.6); }
.gamme-body h3 { font-size: 1.1rem; margin: 0; }
.gamme-body .lang-en { display: block; margin-top: .1rem; }

.gammes-cta { margin-top: 2.5rem; text-align: center; }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stat { background: var(--white); border: 1px solid rgba(235,220,203,.7); border-radius: var(--radius); padding: 1.4rem 1.2rem; text-align: center; }
.stat i { color: var(--copper); font-size: 1.3rem; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin: .5rem 0 .1rem; line-height: 1.2; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- Fabrication ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.split-text p { color: var(--muted); }
.split-art { display: flex; justify-content: center; }
.split-art img { max-width: 340px; width: 100%; }

.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.badges span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; background: var(--white); border: 1px solid var(--sand); font-size: .82rem; font-weight: 600; color: var(--navy); }
.badges i { color: var(--copper); }

.photo-cards { margin-top: 3.5rem; }
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-card-body { padding: 1.5rem 1.6rem 1.75rem; }
.photo-card-body h3 { margin-bottom: .25rem; }
.photo-card-body .lang-en { display: block; margin-bottom: .75rem; }

/* ---------- Univers Internet ---------- */
.sites { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .sites { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sites { grid-template-columns: repeat(4, 1fr); } }
.site-card { padding: 0; overflow: hidden; color: inherit; display: flex; flex-direction: column; }
.site-card:hover { color: inherit; }
.site-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: var(--linen); }
.site-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.site-card-body h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.site-card-body p { font-size: .88rem; margin: 0; }
.site-card .soon { display: inline-block; margin-top: .6rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--copper); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.contact-info { background: var(--navy); color: #DCE6F2; border-radius: var(--radius-lg); padding: 2.25rem; position: relative; overflow: hidden; }
.contact-info h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-top: .75rem; }
.contact-info .pill { background: rgba(255,255,255,.1); color: var(--cyan); }
.contact-info p { color: #B9C7D8; }
.contact-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: var(--cyan); }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #8FA3BC; }
.contact-list a, .contact-list b { color: var(--white); font-weight: 600; }
.contact-list a:hover { color: var(--cyan); }
.contact-info .blob { width: 260px; height: 260px; right: -90px; bottom: -90px; background: rgba(0,168,255,.12); z-index: 0; }

.contact-form { background: var(--white); border: 1px solid rgba(235,220,203,.8); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.contact-form h3 { font-size: 1.4rem; }
.contact-form .intro { color: var(--muted); font-size: .93rem; }
.form-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Champs Yii ActiveForm (classes bootstrap5 générées) */
.contact-form .mb-3, .contact-form .form-group { margin-bottom: 1.1rem; }
.contact-form label, .form-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--navy); margin-bottom: .4rem; }
.form-control {
    display: block; width: 100%; padding: .8rem 1rem; border-radius: 14px;
    border: 1px solid var(--sand); background: var(--cream); color: var(--navy);
    font: 500 .95rem/1.4 var(--font-sans); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(0,119,212,.12); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { display: none; color: var(--danger); font-size: .8rem; margin-top: .3rem; }
.is-invalid ~ .invalid-feedback, .has-error .invalid-feedback, .invalid-feedback:not(:empty) { display: block; }
.websiteHP { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.captcha-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.captcha-row img { border-radius: 10px; border: 1px solid var(--sand); cursor: pointer; background: var(--white); }
.captcha-row .form-control { flex: 1 1 160px; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; }
.form-footer small { color: var(--muted); }

/* Messages */
.alert { padding: 1rem 1.25rem; border-radius: 14px; margin: 1rem 0; font-weight: 500; border: 1px solid transparent; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: #A7F3D0; }
.alert-danger { background: var(--danger-bg); color: var(--danger); border-color: #FECDCA; }
.alert-info, .alert-warning { background: var(--copper-light); color: #8A4316; border-color: var(--sand); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--sand); padding: 3.5rem 0 2.5rem; font-size: .9rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer-brand img { width: 96px; height: 96px; margin-bottom: 1rem; }
.footer-brand p, .site-footer address { color: var(--muted); font-style: normal; max-width: 360px; }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer ul a { color: #475569; }
.site-footer ul a:hover { color: var(--copper); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linen); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; color: #7A8796; font-size: .82rem; }
.footer-bottom a { color: #475569; margin-right: 3.5rem; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sand); display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.socials a:hover { border-color: var(--copper); color: var(--copper); }

.to-top {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 30; width: 46px; height: 46px; border-radius: 50%;
    background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft); opacity: 0; pointer-events: none; transition: opacity .3s, background .2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--blue); color: var(--white); }

/* ---------- Fenêtre campagne ---------- */
.campaign-dialog { border: 0; padding: 0; border-radius: var(--radius); max-width: min(900px, calc(100vw - 32px)); background: transparent; }
.campaign-dialog::backdrop { background: rgba(4,42,91,.6); }
.campaign-dialog img { border-radius: var(--radius); }
.campaign-dialog .close { position: absolute; top: .6rem; right: .6rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-soft); }

/* ---------- Pages secondaires (CGV, erreurs, stats) ---------- */
.page-content { padding: 3rem 0 4rem; }
.page-content .jumbotron { text-align: center; padding: 1rem 0 2rem; }
.page-content .display-4 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-content .lead { color: var(--muted); font-size: 1.1rem; }
.page-content .body-content, .page-content .staticframe { background: var(--white); border: 1px solid rgba(235,220,203,.8); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); }
.page-content h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: .7rem .9rem; border-bottom: 1px solid var(--linen); text-align: left; }
.table th { font-family: var(--font-display); color: var(--navy); }
.table-striped tbody tr:nth-child(odd) { background: var(--cream); }
.text-end { text-align: right !important; }
.text-muted { color: var(--muted); }
.small { font-size: .85rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: .85rem; color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; margin-right: .4rem; color: var(--sand); }

/* ---------- Apparition douce ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .card, .card:hover { transition: none; transform: none; }
}
