:root {
    color-scheme: light;
    --ink: #172520;
    --muted: #66736d;
    --line: #dce5df;
    --surface: #fff;
    --canvas: #f4f7f4;
    --accent: #176b52;
    --accent-dark: #10513e;
    --accent-soft: #e7f2ed;
    --navy: #12251f;
    --danger: #a72f3b;
    --radius: 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-size: 16px;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: var(--canvas); line-height: 1.55; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5ba78a; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 11px 15px; border-radius: 8px; background: #103d2d; color: #fff; transform: translateY(-160%); }
.skip-link:focus { color: #fff; transform: translateY(0); }

.topbar {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px max(24px, calc((100vw - 1200px) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.94);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--navy); color: #d9f2e6; font-size: .8rem; font-weight: 850; letter-spacing: -.04em; }
.brand-copy { display: grid; gap: 1px; line-height: 1.2; }
.brand-copy strong { font-size: .92rem; letter-spacing: -.025em; }
.brand-copy small { color: var(--muted); font-size: .68rem; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a, .main-nav .text-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.main-nav a:hover, .main-nav .text-button:hover { background: var(--canvas); color: var(--ink); }
.main-nav form { margin: 0; }
.main-nav .nav-primary { background: var(--accent); color: #fff; }
.main-nav .nav-primary:hover { background: var(--accent-dark); color: #fff; }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }

.main { width: min(1160px, 100%); min-height: calc(100vh - 148px); margin: 0 auto; padding: 54px 28px 72px; }
.main--home { padding-top: 58px; }
.main--card { width: 100%; padding: 0; }
footer { padding: 23px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-align: center; }
.main--card ~ footer { border-top: 0; background: transparent; }
.public-card-layout { background-color: #fff; background-position: center; background-size: cover; background-attachment: fixed; }
.public-card-root { min-height: 100%; background-color: #fff; overscroll-behavior-y: none; }
.public-card-layout { min-height: 100vh; min-height: 100dvh; overscroll-behavior-y: none; }
.public-card-layout .topbar { border-color: rgba(18,37,31,.08); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.public-card-layout .main--card { min-height: 0; padding: 0; }
.public-card-layout footer { width: min(720px,calc(100% - 32px)); margin: 0 auto 20px; border: 1px solid var(--card-edge,rgba(18,37,31,.12)); border-radius: 16px; background: var(--glass-fill,rgba(255,255,255,.34)),var(--card-surface-fill,rgba(255,255,255,.34)); box-shadow: 0 12px 34px var(--footer-shadow,rgba(20,65,47,.12)),inset 0 1px var(--glass-highlight,rgba(255,255,255,.34)); color: var(--card-title-color,var(--card-ink,var(--muted))); -webkit-backdrop-filter: blur(var(--glass-blur,14px)) saturate(150%); backdrop-filter: blur(var(--glass-blur,14px)) saturate(150%); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 36px rgba(24,55,42,.045); }
.eyebrow { display: block; color: var(--accent); font-size: .69rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--accent);
    border-radius: 11px;
    background: var(--accent);
    color: #fff !important;
    font-size: .9rem;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); border-color: var(--accent-dark); background: var(--accent-dark); }
.button.secondary { border-color: var(--line); background: #fff; color: var(--ink) !important; }
.button.secondary:hover { border-color: #b9cec2; background: var(--accent-soft); }
.button.danger { border-color: var(--danger); background: var(--danger); }
.button.danger:hover { border-color: #81232d; background: #81232d; }
.button.wide { width: 100%; }
.text-button { padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; }
.hint { margin: .45rem 0 0; color: var(--muted); font-size: .81rem; line-height: 1.55; }
.notice, .error {
    max-width: 1104px;
    margin: 0 auto 22px;
    padding: 13px 16px;
    border: 1px solid #b9ddcb;
    border-radius: 12px;
    background: #edf8f1;
    color: #174c37;
    font-size: .89rem;
}
.error { border-color: #edc5c8; background: #fff1f1; color: #842831; }

/* Accueil */
.hero { display: grid; min-height: 490px; grid-template-columns: minmax(0,1.03fr) minmax(330px,.97fr); align-items: center; gap: 72px; padding: 24px 0 55px; }
.hero-copy { max-width: 620px; }
.hero h1 { margin: 16px 0 20px; color: var(--navy); font-size: clamp(3.15rem,6.3vw,5.1rem); font-weight: 760; letter-spacing: -.075em; line-height: .99; }
.hero h1 em { color: var(--accent); font-family: Georgia,serif; font-weight: 400; letter-spacing: -.07em; }
.hero-copy > p:not(.hero-note) { max-width: 550px; margin: 0; color: #52635b; font-size: 1.06rem; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 29px 0 17px; }
.hero-note { color: var(--muted); font-size: .85rem; }
.hero-note span { color: var(--accent); font-weight: 900; }
.hero-showcase { position: relative; display: grid; min-height: 400px; place-items: center; }
.orbit { position: absolute; z-index: 0; border: 1px solid #d6e3da; border-radius: 50%; }
.orbit-one { width: 330px; height: 330px; }
.orbit-two { width: 425px; height: 425px; }
.sample-card { position: relative; z-index: 1; width: 278px; overflow: hidden; padding: 0 20px 22px; border: 1px solid rgba(238,247,240,.9); border-radius: 20px; background: linear-gradient(145deg,#fff 0%,#f8fbf8 100%); box-shadow: 0 26px 60px rgba(4,20,13,.3),0 0 0 3px rgba(221,240,227,.12),inset 0 1px rgba(255,255,255,.95); text-align: center; transform: rotate(-2deg); }
.sample-cover { position: relative; height: 85px; margin: 0 -20px; overflow: hidden; background: linear-gradient(125deg,#0c2119,#15563f 60%,#26745a); }
.sample-cover::after { position: absolute; inset: 0; background: linear-gradient(115deg,rgba(255,255,255,.2),transparent 40%,rgba(255,255,255,.04)); content: ""; }
.sample-avatar { position: relative; z-index: 1; display: grid; width: 74px; height: 74px; place-items: center; margin: -37px auto 14px; border: 4px solid #fff; border-radius: 50%; background: linear-gradient(145deg,#eef7f0,#c9e0d0); color: #173d2c; box-shadow: 0 5px 16px rgba(10,45,29,.19); font-size: 1.45rem; font-weight: 800; }
.sample-card small { display: block; color: var(--accent); font-size: .61rem; font-weight: 800; letter-spacing: .13em; }
.sample-card strong { display: block; margin-top: 5px; color: var(--navy); font-size: 1.3rem; letter-spacing: -.04em; }
.sample-card > span { display: block; margin: 2px 0 17px; color: var(--muted); font-size: .8rem; }
.sample-button { padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: linear-gradient(135deg,#15583f,#207455); color: #fff; box-shadow: 0 5px 13px rgba(17,86,60,.2); font-size: .73rem; font-weight: 750; }
.sample-lines { display: grid; gap: 8px; margin-top: 18px; }
.sample-lines i { height: 7px; border-radius: 9px; background: #edf1ee; }
.sample-lines i:nth-child(2) { width: 75%; }
.sample-lines i:nth-child(3) { width: 87%; }
.nfc-badge { position: absolute; z-index: 2; right: 1%; bottom: 31px; display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px 7px 7px; border: 1px solid rgba(230,245,235,.48); border-radius: 11px; background: rgba(22,39,31,.82); box-shadow: inset 0 1px rgba(255,255,255,.16),0 10px 26px rgba(0,0,0,.24); color: #f1f6f2; font-size: .78rem; font-weight: 750; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nfc-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(223,242,229,.45); border-radius: 9px; background: linear-gradient(145deg,rgba(209,237,217,.3),rgba(149,193,164,.12)); color: #ddf1e2; box-shadow: inset 0 1px rgba(255,255,255,.2),0 3px 10px rgba(0,0,0,.18); }
.nfc-icon svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nfc-label { white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; padding: 41px 0 0; border-top: 1px solid var(--line); }
.steps > div { padding: 0 8px; }
.steps b { display: block; margin-bottom: 18px; color: var(--accent); font-size: .72rem; letter-spacing: .1em; }
.steps h2 { margin: 0 0 8px; color: var(--navy); font-size: 1.2rem; letter-spacing: -.035em; }
.steps p { max-width: 300px; margin: 0; color: var(--muted); font-size: .88rem; }

/* Connexion et formulaires */
.auth { max-width: 520px; margin: 8px auto; padding: 34px; }
.auth h1 { margin: 8px 0 10px; color: var(--navy); font-size: 2.1rem; letter-spacing: -.055em; line-height: 1.12; }
.auth > p { color: var(--muted); }
.auth form { display: grid; gap: 16px; margin-top: 25px; }
.auth hr, .share hr { height: 0; margin: 25px 0; border: 0; border-top: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.fields > label { align-content: start; }
label { display: grid; gap: 7px; color: #34473e; font-size: .81rem; font-weight: 700; }
input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c9d5cd;
    border-radius: 10px;
    outline: 0;
    background: #fff;
    color: var(--ink);
    transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23,107,82,.13); }
input[type=file] { padding: 7px; font-size: .82rem; }
input[type=checkbox] { width: 18px; min-height: 18px; height: 18px; padding: 0; accent-color: var(--accent); }
input[type=color] { width: 48px; height: 42px; min-height: 42px; padding: 4px; cursor: pointer; }
input[type=range] { min-height: 24px; height: 24px; padding: 0; accent-color: var(--accent); cursor: pointer; }
select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #c9d5cd; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 29px; }
.page-heading h1 { margin: 6px 0 6px; color: var(--navy); font-size: 2.65rem; letter-spacing: -.065em; line-height: 1.07; }
.page-heading p { margin: 0; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font-size: .77rem; font-weight: 750; white-space: nowrap; }
.badge.published { border-color: #b9ddcb; background: #edf8f1; color: #1b6849; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(290px,.75fr); align-items: start; gap: 22px; }
.dashboard-grid > .panel { padding: 28px; }
.form-intro { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 23px; }
.form-intro h2, .share h2 { margin: 0 0 4px; color: var(--navy); font-size: 1.2rem; letter-spacing: -.035em; }
.section-number { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: .69rem; font-weight: 850; }
.field-section { margin: 0 0 24px; padding: 0; border: 0; }
.field-section legend { margin: 0 0 11px; color: var(--navy); font-size: .86rem; font-weight: 800; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dependent-settings { min-width: 0; margin: 12px 0; padding: 0; border: 0; }
.dependent-settings > legend { padding: 0; }
.dependent-settings[disabled] { opacity: .48; }
.dependent-settings[disabled] .toggle-setting,
.dependent-settings[disabled] .color-picker,
.dependent-settings[disabled] .range-setting { cursor: not-allowed; }
.dependent-settings[disabled] input { pointer-events: none; }
.theme-section { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #f8faf8; }
.theme-control { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.theme-control strong { font-size: .88rem; }
.color-picker { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.color-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.color-swatch { width: 28px; height: 28px; padding: 0; border: 3px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #bdc9c1; cursor: pointer; }
.color-swatch:hover { transform: scale(1.08); }
.glass-settings { margin-top: 15px; }
.glass-settings > .hint { margin: -4px 0 17px; }
.toggle-setting { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; color: var(--ink); }
.toggle-setting input { flex: 0 0 auto; margin: 2px 0 0; }
.toggle-setting span, .surface-setting span { display: grid; gap: 3px; }
.toggle-setting strong, .surface-setting strong { color: var(--ink); font-size: .82rem; }
.toggle-setting small, .surface-setting small { color: var(--muted); font-size: .74rem; font-weight: 500; line-height: 1.45; }
.tint-setting { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.65); }
.tint-setting .toggle-setting { margin: 0; }
.tint-setting .color-picker { align-items: center; gap: 7px; font-size: .74rem; }
.tint-setting input[type=color] { width: 42px; height: 38px; min-height: 38px; }
.tint-setting:has(input[type=checkbox]:not(:checked)) .color-picker { opacity: .5; }
.text-color-setting { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; margin: 13px 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.65); }
.text-color-setting .toggle-setting { margin: 0; }
.text-color-setting .color-picker { gap: 7px; font-size: .74rem; }
.text-color-setting input[type=color] { width: 42px; height: 38px; min-height: 38px; }
.text-color-setting input[type=color]:disabled { opacity: .5; }
.surface-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 13px 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.65); }
.surface-setting input { width: 48px; height: 40px; min-height: 40px; padding: 3px; }
.appearance-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 18px; }
.glass-options { margin: 14px 0 0; }
.range-setting { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 10px; }
.range-setting > span, .alignment-setting { color: var(--ink); font-size: .8rem; font-weight: 750; }
.range-setting output { color: var(--accent-dark); font-size: .76rem; font-variant-numeric: tabular-nums; font-weight: 800; }
.range-setting input, .range-setting small { grid-column: 1 / -1; }
.range-setting small { color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1.45; }
.alignment-setting { align-content: start; gap: 7px; }
.photo-intro { margin-top: 29px; }
.avatar { border-radius: 50%; object-fit: cover; }
.avatar.small { display: block; width: 68px; height: 68px; margin: 0 0 12px; }
.check { display: flex; align-items: center; gap: 9px; margin: 11px 0; }
.check input { flex: 0 0 auto; margin: 0; }
.publish { display: flex; gap: 12px; margin: 24px 0 17px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #f8faf8; }
.publish-icon { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); font-size: .82rem; }
.publish .check { margin: 0 0 3px; }
.visual-intro { margin-top: 30px; }
.visual-uploads { display: grid; grid-template-columns: 1fr; gap: 13px; }
.page-background-settings .image-upload-card { margin-top: 12px; }
.image-upload-card { padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfb; }
.image-upload-card > strong { display: block; font-size: .89rem; }
.image-upload-card .hint { min-height: 40px; margin: 5px 0 13px; }
.image-preview { display: block; width: 100%; margin: 0 0 10px; border: 1px solid var(--line); background: #eef1ef; object-fit: cover; }
.banner-preview { height: 85px; border-radius: 9px; }
.background-preview { height: 110px; border-radius: 9px; }
.image-upload-card label:not(.check) { margin-top: 10px; }
.share { position: sticky; top: 16px; padding: 24px; }
.share h3 { margin: 22px 0 5px; color: var(--navy); font-size: .96rem; }
.share > p { margin: 0 0 12px; color: var(--muted); font-size: .83rem; }
.share-url { display: block; margin: 13px 0 15px; overflow-wrap: anywhere; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: #f7f9f7; color: var(--ink); font-size: .76rem; }
.share .button + .button { margin-top: 9px; }
.share-footnote { margin-top: 7px !important; }
.mini-card-stage { display: grid; min-height: 235px; place-items: center; margin: 14px 0 16px; padding: 12px; overflow: hidden; border-radius: 15px; background: radial-gradient(ellipse at 15% 20%,rgba(118,166,135,.4),transparent 48%),radial-gradient(ellipse at 85% 80%,rgba(124,157,181,.34),transparent 46%),var(--page-background-color,#fff); }
.mini-card { position: relative; width: min(var(--card-preview-width,90%),100%); overflow: hidden; border: 1px solid var(--card-edge,rgba(18,37,31,.12)); border-radius: var(--card-radius,24px); background: var(--glass-fill,rgba(255,255,255,.66)),var(--card-surface-fill,rgba(255,255,255,.48)); box-shadow: 0 14px 35px var(--mini-card-shadow,rgba(23,55,41,.16)),inset 0 1px var(--glass-highlight,rgba(255,255,255,.34)); text-align: var(--card-alignment,center); -webkit-backdrop-filter: blur(var(--glass-blur,16px)) saturate(155%); backdrop-filter: blur(var(--glass-blur,16px)) saturate(155%); transition: background-color .2s ease, border-radius .2s ease, width .2s ease; }
.mini-card[data-glass-enabled="0"] { background: var(--card-surface-color,#fff); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mini-cover { height: 69px; background: var(--accent); }
.mini-avatar { display: grid; width: 58px; height: 58px; place-items: center; margin: -29px auto 9px; border: 3px solid #fff; border-radius: 50%; background: #e1eee6; color: var(--accent-readable,var(--accent)); font-size: 1.1rem; font-weight: 800; object-fit: cover; }
.mini-card[data-card-alignment="left"] .mini-avatar { margin-left: 13px; margin-right: auto; }
.mini-card strong { display: block; padding: 0 10px; color: var(--card-ink,var(--navy)); font-size: 1rem; letter-spacing: -.03em; }
.mini-card p { min-height: 1.5em; margin: 3px 10px 13px; color: var(--card-muted,var(--muted)); font-size: .76rem; }
.mini-card[data-card-text-color]:not([data-card-text-color=""]) strong:not(.mini-card-action), .mini-card[data-card-text-color]:not([data-card-text-color=""]) p { color: var(--card-text-color); }
.mini-card[data-card-title-color]:not([data-card-title-color=""]) .mini-contact-label { color: var(--card-title-color); }
.mini-contact-label { display: block; margin: 0 10px 10px; color: var(--card-muted,var(--muted)); font-size: .62rem; }
.mini-contact-label[hidden] { display: none; }
.mini-card-action { display: inline-flex; margin: 0 12px 15px; padding: 8px 12px; border-radius: 8px; background: var(--accent); color: var(--accent-ink,#fff); font-size: .7rem; font-weight: 750; }
.interaction-setting { margin: 13px 2px 0; }
.contact-card [hidden] { display: none !important; }
.mini-card-stage--card {
    min-height: 0;
    grid-template: minmax(0,1fr) / minmax(0,1fr);
    aspect-ratio: 7 / 10;
}
.card-page--embedded-preview {
    display: flex;
    width: 142.857%;
    height: 142.857%;
    min-height: 0;
    align-items: center;
    padding: 8px;
    background: transparent;
    transform: scale(.7);
    transform-origin: center;
}
.card-page--embedded-preview .contact-card { width: var(--card-preview-width,89%); max-width: none; }
.app-shell .card-page--embedded-preview .contact-card.panel {
    border-color: var(--card-edge,rgba(18,37,31,.12));
    background: var(--glass-fill,rgba(255,255,255,.66)),var(--card-surface-fill,rgba(255,255,255,.48));
    box-shadow: 0 28px 72px var(--card-shadow,rgba(20,65,47,.14)),inset 0 1px var(--glass-highlight,rgba(255,255,255,.34));
    -webkit-backdrop-filter: blur(var(--glass-blur,16px)) saturate(160%);
    backdrop-filter: blur(var(--glass-blur,16px)) saturate(160%);
}
.app-shell .card-page--embedded-preview .contact-card[data-glass-enabled="0"] { background: var(--card-surface-color,#fff); }
.app-shell .card-page--embedded-preview .contact-card .eyebrow { color: var(--card-accent,var(--accent-readable,var(--accent))); }
.app-shell .card-page--embedded-preview .contact-card .hint { color: var(--card-muted,var(--muted)); }
.app-shell .card-page--embedded-preview .contact-card .button {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--accent-ink,#fff) !important;
}
.app-shell .card-page--embedded-preview .contact-card .button:hover { border-color: var(--accent); background: var(--accent); }
.app-shell .card-page--embedded-preview .contact-card .contact-links a { color: var(--card-ink,var(--navy)); }
.app-shell .card-page--embedded-preview .contact-card .contact-links small { color: var(--card-muted,var(--muted)); }
.app-shell .card-page--embedded-preview .contact-card .contact-links strong,
.app-shell .card-page--embedded-preview .contact-card h1,
.app-shell .card-page--embedded-preview .contact-card .job,
.app-shell .card-page--embedded-preview .contact-card address { color: var(--card-ink,var(--navy)); }
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) .card-identity .eyebrow,
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) h1,
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) .job,
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) .hint,
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links a,
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links small,
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links strong,
.app-shell .card-page--embedded-preview .contact-card[data-card-text-color]:not([data-card-text-color=""]) address { color: var(--card-text-color); }
.app-shell .card-page--embedded-preview .contact-card[data-card-title-color]:not([data-card-title-color=""]) .contact-links small,
.app-shell .card-page--embedded-preview .contact-card[data-card-title-color]:not([data-card-title-color=""]) .contact-icon,
.app-shell .card-page--embedded-preview .contact-card[data-card-title-color]:not([data-card-title-color=""]) .contact-arrow { color: var(--card-title-color); }
.app-shell .card-page--embedded-preview .contact-card .contact-links a:hover,
.app-shell .card-page--embedded-preview .contact-card .contact-links a:focus-visible { color: var(--card-ink,var(--navy)); }
.card-preview-visual { padding-top: 10px; }
.contact-card:not([data-has-photo="true"]) .card-preview-visual { margin-top: 28px; }
.card-preview-identity { display: grid; justify-items: var(--card-alignment,center); gap: 9px; margin: 0 0 20px; }
.card-preview-identity i,
.card-preview-contacts b,
.card-preview-contacts span { display: block; height: 9px; border-radius: 99px; }
.preview-company-line { width: 25%; height: 7px !important; background: var(--card-accent,var(--accent-readable,var(--accent))); opacity: .8; }
.preview-name-line { width: min(68%,260px); height: 18px !important; background: var(--card-text-color,var(--card-ink,var(--navy))); opacity: .84; }
.preview-job-line { width: 38%; height: 10px !important; background: var(--card-text-color,var(--card-muted,var(--muted))); opacity: .6; }
.contact-card[data-card-alignment="left"] .card-preview-identity { justify-items: start; }
.card-preview-action { display: block; width: 100%; min-height: 54px; margin: 0 0 26px; border: 1px solid var(--accent); border-radius: 13px; background: var(--accent); box-shadow: 0 8px 17px var(--card-shadow,rgba(20,65,47,.14)); }
.card-preview-contacts { border-top: 1px solid var(--card-hover,rgba(18,37,31,.12)); }
.card-preview-contacts > div { display: grid; min-height: 76px; grid-template-columns: 50px minmax(0,1fr) 18px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--card-hover,rgba(18,37,31,.12)); }
.card-preview-contacts i { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 13px; background: var(--card-hover,rgba(18,37,31,.07)); }
.card-preview-contacts i::after { width: 20px; height: 20px; border: 2px solid var(--card-title-color,var(--card-ink,var(--navy))); border-radius: 6px; opacity: .65; content: ""; }
.card-preview-contacts span { width: 58%; background: var(--card-text-color,var(--card-ink,var(--navy))); opacity: .64; }
.card-preview-contacts b { width: 16px; height: 16px; justify-self: center; border-top: 2px solid var(--card-title-color,var(--card-muted,var(--muted))); border-right: 2px solid var(--card-title-color,var(--card-muted,var(--muted))); border-radius: 2px; background: transparent; opacity: .7; transform: rotate(45deg) scale(.65); }
.card-preview-contacts > div:nth-child(2) span { width: 78%; }
.card-preview-contacts > div:nth-child(3) span { width: 48%; }

/* Carte publique et aperçu */
.preview-notice { width: min(510px,calc(100% - 32px)); margin: 22px auto 0; }
.card-page { min-height: calc(100vh - 76px); padding: 58px 20px 54px; background: transparent; }
.public-card-layout .card-page { min-height: calc(100vh - 148px); }
.card-icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.contact-card {
    position: relative;
    --accent: #176b52;
    width: min(var(--card-width,500px),100%);
    margin: 0 auto;
    overflow: hidden;
    padding: 0 30px 30px;
    border: 1px solid var(--card-edge,rgba(18,37,31,.12));
    border-radius: var(--card-radius,24px);
    background: var(--glass-fill,rgba(255,255,255,.66)),var(--card-surface-fill,rgba(255,255,255,.48));
    box-shadow: 0 28px 72px var(--card-shadow,rgba(20,65,47,.14)),inset 0 1px var(--glass-highlight,rgba(255,255,255,.34));
    text-align: var(--card-alignment,center);
    -webkit-backdrop-filter: blur(var(--glass-blur,16px)) saturate(160%);
    backdrop-filter: blur(var(--glass-blur,16px)) saturate(160%);
}
.contact-card[data-glass-enabled="0"] { background: var(--card-surface-color,#fff); -webkit-backdrop-filter: none; backdrop-filter: none; }
.contact-card[data-card-alignment="left"] .avatar { margin-left: 0; margin-right: auto; }
.contact-card[data-card-alignment="left"] .hint { margin-left: 0; }
.contact-cover {
    position: relative;
    height: 160px;
    margin: 0 -30px;
    overflow: hidden;
    background: var(--accent);
    background-position: center;
    background-size: cover;
    box-shadow: 0 8px 18px var(--card-shadow,rgba(20,65,47,.14));
}
.contact-cover:after { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.06),transparent 75%); content: ""; }
.contact-card .avatar {
    position: relative;
    z-index: 1;
    display: block;
    width: 128px;
    height: 128px;
    margin: -64px auto 18px;
    border: 5px solid rgba(255,255,255,.98);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 9px 24px rgba(12,55,39,.18);
    object-fit: cover;
}
.contact-card:not([data-has-photo="true"]) .card-identity { margin-top: 28px; }
.card-identity { margin-bottom: 20px; }
.contact-card .eyebrow { min-height: 1.2em; color: var(--card-accent,var(--accent-readable,var(--accent))); font-size: .68rem; letter-spacing: .28em; }
.contact-card h1 { margin: 5px 0; color: var(--card-ink,var(--navy)); font-size: clamp(2rem,7vw,2.7rem); font-weight: 780; letter-spacing: -.065em; line-height: 1.08; overflow-wrap: anywhere; }
.contact-card .job { margin: 0; color: var(--card-muted,var(--muted)); font-size: 1rem; }
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .card-identity .eyebrow,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) h1,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .job,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .hint,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links a,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links a:hover,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links a:focus-visible,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links small,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) .contact-links strong,
.contact-card[data-card-text-color]:not([data-card-text-color=""]) address { color: var(--card-text-color); }
.contact-card[data-card-title-color]:not([data-card-title-color=""]) .contact-links small,
.contact-card[data-card-title-color]:not([data-card-title-color=""]) .contact-icon,
.contact-card[data-card-title-color]:not([data-card-title-color=""]) .contact-arrow { color: var(--card-title-color); }
.contact-card .button { border-color: var(--accent); background: var(--accent); color: var(--accent-ink,#fff) !important; }
.contact-card .button:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink,#fff) !important; filter: brightness(.94); }
.contact-card .primary-action { min-height: 54px; justify-content: center; gap: 12px; border-radius: 13px; box-shadow: 0 8px 17px var(--card-shadow,rgba(20,65,47,.14)); font-size: .95rem; }
.card-icon { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.primary-action .card-icon { width: 25px; height: 25px; }
.contact-card .hint { max-width: 360px; margin: 11px auto 22px; color: var(--card-muted,var(--muted)); font-size: .78rem; }
.contact-links { border-top: 1px solid var(--card-hover,rgba(18,37,31,.12)); text-align: left; }
.contact-card .contact-links a {
    display: grid;
    min-height: 76px;
    grid-template-columns: 50px minmax(0,1fr) 18px;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-hover,rgba(18,37,31,.12));
    color: var(--card-ink,var(--navy));
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color .18s ease,padding .18s ease;
}
.contact-card .contact-links a:hover, .contact-card .contact-links a:focus-visible { padding-right: 9px; padding-left: 9px; border-radius: 12px; background: var(--card-hover,rgba(18,37,31,.07)); color: var(--card-ink,var(--navy)); }
.contact-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 13px; background: var(--card-hover,rgba(18,37,31,.07)); color: var(--card-ink,var(--navy)); }
.contact-link-content { min-width: 0; }
.contact-links small { display: block; margin-bottom: 2px; color: var(--card-muted,var(--muted)); font-size: .82rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.contact-links strong { display: block; color: var(--card-ink,var(--navy)); font-size: .91rem; font-weight: 720; line-height: 1.4; }
.contact-arrow { width: 18px; height: 18px; color: var(--card-muted,var(--muted)); }
.contact-card address {
    display: grid;
    grid-template-columns: 50px minmax(0,1fr);
    align-items: center;
    gap: 14px;
    margin: 20px 0 0;
    padding: 12px;
    border: 0;
    border-radius: 13px;
    background: var(--card-hover,rgba(18,37,31,.07));
    color: var(--card-ink,var(--navy));
    font-size: .85rem;
    font-style: normal;
    line-height: 1.55;
    text-align: left;
}
.contact-card[data-card-alignment="left"] .card-identity { text-align: left; }
.contact-card[data-card-alignment="left"] .eyebrow,.contact-card[data-card-alignment="left"] h1,.contact-card[data-card-alignment="left"] .job { text-align: left; }
.contact-card[data-card-alignment="left"] .contact-card-action { text-align: center; }
.interactive-orb { position: absolute; z-index: 3; top: var(--orb-y,22%); left: var(--orb-x,78%); width: clamp(38px,11vw,58px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.86); border-radius: 50%; background: radial-gradient(circle at 32% 26%,rgba(255,255,255,.98),rgba(153,218,255,.62) 25%,rgba(116,162,255,.22) 64%,rgba(255,255,255,.12)); box-shadow: 0 5px 24px rgba(120,171,255,.4),inset 0 0 13px rgba(255,255,255,.9); opacity: .82; pointer-events: none; transform: translate(-50%,-50%); transition: top .48s cubic-bezier(.2,.8,.2,1),left .48s cubic-bezier(.2,.8,.2,1),opacity .25s ease; }
.contact-card:not([data-card-interaction="1"]) .interactive-orb { display: none; }
.mini-card:not([data-card-interaction="1"]) .interactive-orb { display: none; }

/* Compte */
.account-page { max-width: 690px; margin: 0 auto; }
.account-intro { margin-bottom: 23px; }
.account-intro h1 { margin: 7px 0 6px; color: var(--navy); font-size: 2.3rem; letter-spacing: -.06em; }
.account-intro p { margin: 0; color: var(--muted); }
.account-email { margin: 19px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--canvas); font-size: .87rem; }
.account-section { padding: 24px; }
.account-section h2 { margin: 0 0 6px; color: var(--navy); font-size: 1.2rem; letter-spacing: -.035em; }
.account-section > p { margin: 0; color: var(--muted); font-size: .88rem; }
.account-section form { display: grid; gap: 15px; margin-top: 20px; }
.account-danger { margin-top: 17px; border-color: #efd2d3; }
.account-danger h2 { color: #8e2b33; }
.account-danger .button { margin-top: 2px; }
.not-found-link { display: inline-flex; margin-top: 18px; font-weight: 750; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 850px) {
    .main { padding: 40px 22px 55px; }
    .hero { grid-template-columns: minmax(0,1fr) minmax(280px,.9fr); gap: 28px; }
    .hero h1 { font-size: clamp(2.8rem,7vw,4.1rem); }
    .dashboard-grid { grid-template-columns: minmax(0,1.35fr) minmax(260px,.8fr); gap: 16px; }
    .dashboard-grid > .panel, .share { padding: 20px; }
}
@media (max-width: 680px) {
    .topbar { min-height: 66px; padding: 10px 16px; }
    .brand-mark { width: 35px; height: 35px; }
    .brand-copy strong { font-size: .84rem; }
    .brand-copy small { font-size: .63rem; }
    .main-nav { display: none; }
    .mobile-menu { position: relative; display: block; }
    .mobile-menu summary { display: flex; min-height: 40px; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: .77rem; font-weight: 750; }
    .mobile-menu nav { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; display: grid; min-width: 180px; gap: 3px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 35px #173d2a20; }
    .mobile-menu nav a, .mobile-menu .text-button { display: block; width: 100%; padding: 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font-size: .84rem; font-weight: 700; text-align: left; text-decoration: none; }
    .mobile-menu nav a:hover, .mobile-menu .text-button:hover { background: var(--canvas); }
    .mobile-menu form { margin: 0; }
    .main { min-height: calc(100vh - 132px); padding: 30px 16px 42px; }
    .main--home { padding-top: 30px; }
    .hero { grid-template-columns: 1fr; gap: 16px; padding: 4px 0 34px; }
    .hero h1 { font-size: clamp(2.85rem,12.3vw,4.2rem); }
    .hero-copy > p:not(.hero-note) { font-size: .98rem; }
    .actions { display: grid; grid-template-columns: 1fr; margin-top: 23px; }
    .hero-showcase { min-height: 350px; }
    .sample-card { width: min(278px,calc(100vw - 72px)); }
    .orbit-one { width: 275px; height: 275px; }
    .orbit-two { width: 335px; height: 335px; }
    .nfc-badge { right: 1%; bottom: 8px; }
    .steps { grid-template-columns: 1fr; gap: 23px; padding-top: 29px; }
    .steps > div { padding: 0; }
    .steps b { margin-bottom: 5px; }
    .page-heading { display: block; margin-bottom: 21px; }
    .page-heading h1 { font-size: 2.2rem; }
    .page-heading .badge { margin-top: 12px; }
    .dashboard-grid { grid-template-columns: 1fr; gap: 14px; }
    .dashboard-grid > .panel, .share { padding: 18px; }
    .share { position: static; }
    .fields, .visual-uploads { grid-template-columns: 1fr; gap: 12px; }
    .appearance-options { grid-template-columns: 1fr; gap: 14px; }
    .tint-setting { grid-template-columns: 1fr; }
    .tint-setting .color-picker { justify-content: space-between; }
    .text-color-setting { grid-template-columns: 1fr; }
    .text-color-setting .color-picker { justify-content: space-between; }
    .theme-control { display: block; }
    .color-picker { margin-top: 12px; }
    .form-intro { margin-bottom: 18px; }
    .form-intro h2 { font-size: 1.08rem; }
    .image-upload-card .hint { min-height: 0; }
    .auth { margin: 0; padding: 25px 20px; }
    .auth h1 { font-size: 1.85rem; }
    .public-card-layout { background-attachment: scroll !important; }
    .public-card-root { background-attachment: scroll !important; }
    .card-page { min-height: calc(100vh - 66px); min-height: calc(100dvh - 66px); padding: 20px 13px 34px; }
    .contact-card { padding-right: 20px; padding-left: 20px; border-radius: 19px; }
    .contact-cover { height: 125px; margin-right: -20px; margin-left: -20px; }
    .contact-card .avatar { width: 108px; height: 108px; margin-top: -54px; }
    .contact-card .contact-links a { min-height: 70px; grid-template-columns: 44px minmax(0,1fr) 16px; gap: 10px; padding: 9px 0; }
    .contact-icon { width: 44px; height: 44px; border-radius: 12px; }
    .contact-links small { font-size: .76rem; }
    .contact-links strong { font-size: .85rem; }
    .contact-card address { grid-template-columns: 44px minmax(0,1fr); gap: 10px; padding: 10px; font-size: .8rem; }
    .account-intro h1 { font-size: 2rem; }
    .account-section { padding: 19px; }
}
@media (max-width: 380px) {
    .brand-copy small { display: none; }
    .page-heading h1 { font-size: 2rem; }
    .dashboard-grid > .panel, .share { padding: 15px; }
    .contact-card { padding-right: 16px; padding-left: 16px; }
    .contact-cover { margin-right: -16px; margin-left: -16px; }
    .contact-card .contact-links a { grid-template-columns: 40px minmax(0,1fr) 14px; gap: 8px; }
    .contact-icon { width: 40px; height: 40px; }
    .contact-links strong { font-size: .8rem; }
    .contact-card address { grid-template-columns: 40px minmax(0,1fr); gap: 8px; }
}

/* Interface de gestion : verrière sombre, isolée de la carte publique. */
.app-shell {
    --ink: #f2f6f3;
    --muted: #bdc9c1;
    --line: rgba(224, 240, 229, .24);
    --surface: rgba(17, 31, 26, .47);
    --canvas: #0b1713;
    --accent: #bdd9c7;
    --accent-dark: #d7e9dc;
    --accent-soft: rgba(188, 218, 198, .14);
    --navy: #f5f8f5;
    --danger: #d45761;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background: #0b1713;
    color: var(--ink);
}
.app-shell::before {
    position: fixed;
    z-index: -1;
    inset: -5%;
    background:
        radial-gradient(ellipse at 12% 45%, rgba(168, 195, 151, .27), transparent 27%),
        radial-gradient(ellipse at 83% 18%, rgba(93, 135, 112, .28), transparent 30%),
        radial-gradient(ellipse at 72% 82%, rgba(191, 166, 119, .18), transparent 26%),
        radial-gradient(ellipse at 40% 5%, rgba(43, 82, 67, .42), transparent 42%),
        linear-gradient(125deg, #101e18 0%, #172923 48%, #0b1512 100%);
    filter: saturate(.86);
    content: "";
    pointer-events: none;
}
.app-shell a { color: #d4e7da; }
.app-shell a:hover { color: #fff; }
.app-shell :focus-visible { outline-color: #c4e3ce; }
.app-shell .topbar {
    width: min(1200px, calc(100% - 48px));
    min-height: 68px;
    margin: 20px auto 0;
    padding: 10px 24px;
    border: 1px solid rgba(226, 242, 231, .38);
    border-radius: 15px;
    background: rgba(15, 29, 24, .57);
    box-shadow: inset 0 1px rgba(255,255,255,.17), 0 14px 44px rgba(0,0,0,.12);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    backdrop-filter: blur(20px) saturate(135%);
}
.app-shell .brand { color: #f5f8f5; }
.app-shell .brand-mark {
    border: 1px solid rgba(213, 239, 222, .45);
    border-radius: 11px;
    background: rgba(5, 22, 16, .8);
    color: #d7e9dc;
    box-shadow: inset 0 1px rgba(255,255,255,.15), 0 4px 14px rgba(0,0,0,.2);
}
.app-shell .brand-copy small { color: #bac9c0; }
.app-shell .main-nav a,
.app-shell .main-nav .text-button { color: #e0e9e3; }
.app-shell .main-nav a:hover,
.app-shell .main-nav .text-button:hover { background: rgba(226, 242, 231, .11); color: #fff; }
.app-shell .main-nav .nav-primary {
    border: 1px solid rgba(221, 241, 227, .45);
    background: #c6dfce;
    color: #173326;
}
.app-shell .main-nav .nav-primary:hover { background: #d9eadf; color: #10271b; }
.app-shell .main { width: min(1200px, 100%); padding-top: 46px; }
.app-shell .main--home { padding-top: 16px; }
.app-shell footer {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto 18px;
    padding: 19px 20px;
    border: 1px solid rgba(226, 242, 231, .24);
    border-radius: 13px;
    background: rgba(17, 31, 26, .38);
    color: #c0cdc5;
    box-shadow: inset 0 1px rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}
.app-shell .panel {
    border-color: rgba(226, 242, 231, .29);
    background: rgba(17, 31, 26, .51);
    box-shadow: inset 0 1px rgba(255,255,255,.13), 0 20px 56px rgba(0,0,0,.18);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    backdrop-filter: blur(18px) saturate(130%);
}
.app-shell .button {
    border-color: #c5ddcd;
    background: #c5ddcd;
    color: #153123 !important;
    box-shadow: 0 7px 22px rgba(3, 19, 12, .2);
}
.app-shell .button:hover { border-color: #d9eadf; background: #d9eadf; color: #10271b !important; }
.app-shell .button.secondary {
    border-color: rgba(221, 240, 227, .47);
    background: rgba(17, 31, 26, .3);
    color: #eff5f0 !important;
}
.app-shell .button.secondary:hover { border-color: rgba(229, 244, 233, .75); background: rgba(218, 237, 224, .12); }
.app-shell .button.danger { border-color: #c34650; background: #ad3540; color: #fff !important; }
.app-shell .eyebrow { color: #c6e0ce; }
.app-shell .hero {
    min-height: 450px;
    gap: 44px;
    padding: 35px 42px 30px;
    border: 1px solid rgba(226, 242, 231, .39);
    border-radius: 18px;
    background: linear-gradient(115deg, rgba(11, 25, 19, .68), rgba(21, 38, 30, .4));
    box-shadow: inset 0 1px rgba(255,255,255,.19), 0 24px 70px rgba(0,0,0,.17);
    -webkit-backdrop-filter: blur(21px) saturate(125%);
    backdrop-filter: blur(21px) saturate(125%);
}
.app-shell .hero h1 { color: #f7faf7; }
.app-shell .hero h1 em { color: #c5dfcd; }
.app-shell .hero-copy > p:not(.hero-note) { color: #d1dbd4; }
.app-shell .hero-note { color: #c2d0c7; }
.app-shell .hero-note span { color: #c4e0cd; }
.app-shell .orbit { border-color: rgba(220, 239, 226, .32); }
.app-shell .sample-card {
    border-color: rgba(240, 249, 243, .9);
    box-shadow: 0 25px 65px rgba(0,0,0,.36), 0 0 0 3px rgba(221,240,227,.12), inset 0 1px rgba(255,255,255,.8);
}
.app-shell .sample-cover { background: linear-gradient(125deg, #0c2119, #15563f 60%, #26745a); }
.app-shell .sample-avatar { color: #173d2c; }
.app-shell .sample-card small { color: #1a694a; }
.app-shell .sample-card strong { color: #172520; }
.app-shell .sample-card > span { color: #66736d; }
.app-shell .sample-button { background: linear-gradient(135deg,#15583f,#207455); }
.app-shell .steps {
    gap: 18px;
    padding: 17px 0 8px;
    border: 0;
}
.app-shell .steps > div {
    min-height: 132px;
    padding: 20px 22px;
    border: 1px solid rgba(226, 242, 231, .3);
    border-radius: 14px;
    background: rgba(17, 31, 26, .48);
    box-shadow: inset 0 1px rgba(255,255,255,.12), 0 15px 38px rgba(0,0,0,.14);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}
.app-shell .steps b { margin-bottom: 10px; color: #c5dfcd; }
.app-shell .steps h2 { color: #f3f7f4; }
.app-shell .steps p { color: #bdc9c1; }
.app-shell .auth { padding: 38px; }
.app-shell .auth h1,
.app-shell .page-heading h1,
.app-shell .account-intro h1 { color: #f5f8f5; }
.app-shell .auth > p,
.app-shell .page-heading p,
.app-shell .account-intro p { color: #c2cec6; }
.app-shell .account-email strong { color: #f1f5f2; }
.app-shell label { color: #e0e9e3; }
.app-shell input:not([type="checkbox"]):not([type="color"]):not([type="range"]),
.app-shell select {
    border-color: rgba(219, 237, 225, .3);
    background: rgba(5, 17, 12, .43);
    color: #f2f6f3;
    color-scheme: dark;
}
.app-shell input::placeholder { color: #9eafa4; }
.app-shell input:focus,
.app-shell select:focus { border-color: #bdd9c7; box-shadow: 0 0 0 3px rgba(189,217,199,.17); }
.app-shell input[type="checkbox"] { accent-color: #bdd9c7; }
.app-shell input[type="color"] { border-color: rgba(219,237,225,.3); background: rgba(5,17,12,.43); }
.app-shell .hint { color: #bdc9c1; }
.app-shell .notice {
    border-color: rgba(175, 224, 191, .43);
    background: rgba(32, 91, 57, .52);
    color: #e1f3e6;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.app-shell .error {
    border-color: rgba(244, 161, 166, .47);
    background: rgba(112, 34, 42, .56);
    color: #ffe7e8;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.app-shell .badge {
    border-color: rgba(226,242,231,.3);
    background: rgba(9,24,17,.42);
    color: #e7efe9;
}
.app-shell .badge.published { border-color: rgba(167,220,184,.44); background: rgba(38,94,60,.48); color: #dff2e4; }
.app-shell .dashboard-grid > .panel { padding: 26px; }
.app-shell .form-intro h2,
.app-shell .share h2,
.app-shell .share h3,
.app-shell .field-section legend { color: #f1f6f2; }
.app-shell .section-number,
.app-shell .publish-icon { background: rgba(192,222,201,.16); color: #d1ead8; }
.app-shell .theme-section,
.app-shell .tint-setting,
.app-shell .text-color-setting,
.app-shell .surface-setting,
.app-shell .image-upload-card,
.app-shell .publish {
    border-color: rgba(221,239,227,.24);
    background: rgba(8,22,16,.36);
}
.app-shell .toggle-setting,
.app-shell .toggle-setting strong,
.app-shell .surface-setting strong,
.app-shell .theme-control strong,
.app-shell .range-setting > span,
.app-shell .alignment-setting { color: #edf3ee; }
.app-shell .toggle-setting small,
.app-shell .surface-setting small,
.app-shell .range-setting small { color: #bdc9c1; }
.app-shell .range-setting output { color: #cde5d4; }
.app-shell .color-swatch { border-color: rgba(246,250,247,.85); box-shadow: 0 0 0 1px rgba(219,237,225,.48); }
.app-shell .share-url {
    border-color: rgba(219,237,225,.27);
    background: rgba(4,16,11,.38);
    color: #e7eee9;
}
.app-shell .mini-card-stage { border: 1px solid rgba(221,239,227,.19); }
.app-shell .account-section h2 { color: #f1f6f2; }
.app-shell .account-section > p { color: #c2cec6; }
.app-shell .account-danger { border-color: rgba(234,153,159,.42); }
.app-shell .mobile-menu summary {
    border-color: rgba(221,240,227,.4);
    background: rgba(10,25,18,.62);
    color: #eff5f0;
}
.app-shell .mobile-menu nav {
    border-color: rgba(221,240,227,.35);
    background: rgba(12,28,21,.94);
    box-shadow: 0 14px 35px rgba(0,0,0,.36);
    -webkit-backdrop-filter: blur(17px);
    backdrop-filter: blur(17px);
}
.app-shell .mobile-menu nav a,
.app-shell .mobile-menu .text-button { color: #e6eee8; }
.app-shell .mobile-menu nav a:hover,
.app-shell .mobile-menu .text-button:hover { background: rgba(226,242,231,.12); color: #fff; }
@media (max-width: 850px) {
    .app-shell .hero { gap: 22px; padding-right: 30px; padding-left: 30px; }
}
@media (max-width: 680px) {
    .app-shell .topbar { width: calc(100% - 24px); min-height: 62px; margin-top: 12px; padding: 8px 12px; }
    .app-shell .main { padding-top: 28px; }
    .app-shell .main--home { padding-top: 12px; }
    .app-shell .hero { gap: 8px; padding: 27px 20px 18px; border-radius: 15px; }
    .app-shell .hero-showcase { min-height: 325px; }
    .app-shell .steps { gap: 11px; padding-top: 11px; }
    .app-shell .steps > div { min-height: 0; padding: 16px; }
    .app-shell .steps b { margin-bottom: 5px; }
    .app-shell .dashboard-grid > .panel,
    .app-shell .share { padding: 18px; }
    .app-shell .auth { padding: 25px 20px; }
    .app-shell footer { width: calc(100% - 24px); margin-bottom: 12px; padding: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
    .app-shell .panel,
    .app-shell .steps > div,
    .app-shell .button { transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
    .app-shell .steps > div:hover { transform: translateY(-2px); }
}

/* Palette claire de l’interface, indépendante des cartes publiques. */
.app-shell {
    --ink: #1b2c23;
    --muted: #586a60;
    --line: rgba(37, 75, 54, .17);
    --surface: rgba(255, 255, 255, .7);
    --canvas: #f2f6f1;
    --accent: #347653;
    --accent-dark: #245c3e;
    --accent-soft: #e4f0e7;
    --navy: #173426;
    --danger: #a72f3b;
    background: #edf4ed;
    color: var(--ink);
}
.app-shell::before {
    background:
        radial-gradient(ellipse at 8% 16%, rgba(255, 255, 255, .96), transparent 36%),
        radial-gradient(ellipse at 91% 24%, rgba(207, 229, 207, .74), transparent 35%),
        radial-gradient(ellipse at 76% 88%, rgba(229, 226, 202, .58), transparent 34%),
        radial-gradient(ellipse at 28% 76%, rgba(215, 235, 221, .72), transparent 39%),
        linear-gradient(130deg, #f6f8f3 0%, #e9f2e9 52%, #f7f7f0 100%);
    filter: saturate(.9);
}
.app-shell a { color: #245c3e; }
.app-shell a:hover { color: #173f2b; }
.app-shell :focus-visible { outline-color: #47845e; }
.app-shell .topbar {
    border-color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .67);
    box-shadow: inset 0 1px rgba(255,255,255,.96), 0 14px 44px rgba(29,69,45,.08);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
}
.app-shell .brand { color: #183b29; }
.app-shell .brand-mark {
    border-color: rgba(51, 104, 70, .16);
    background: linear-gradient(145deg,#285a3d,#173d2a);
    color: #eff8f0;
    box-shadow: inset 0 1px rgba(255,255,255,.25), 0 4px 14px rgba(23,66,41,.17);
}
.app-shell .brand-copy small { color: #627269; }
.app-shell .main-nav a,
.app-shell .main-nav .text-button { color: #40564a; }
.app-shell .main-nav a:hover,
.app-shell .main-nav .text-button:hover { background: rgba(57,112,75,.09); color: #173f2b; }
.app-shell .main-nav .nav-primary {
    border-color: #2d6847;
    background: #2d6847;
    color: #fff;
}
.app-shell .main-nav .nav-primary:hover { background: #205438; color: #fff; }
.app-shell footer {
    border-color: rgba(255, 255, 255, .83);
    background: rgba(255, 255, 255, .51);
    color: #596b60;
    box-shadow: inset 0 1px rgba(255,255,255,.9), 0 10px 30px rgba(33,74,48,.05);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}
.app-shell .panel {
    border-color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .62);
    box-shadow: inset 0 1px rgba(255,255,255,.9), 0 20px 56px rgba(37,75,49,.08);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
}
.app-shell .button {
    border-color: #2e704c;
    background: #2e704c;
    color: #fff !important;
    box-shadow: 0 7px 22px rgba(33,91,55,.17);
}
.app-shell .button:hover { border-color: #21583a; background: #21583a; color: #fff !important; }
.app-shell .button.secondary {
    border-color: rgba(49, 95, 64, .25);
    background: rgba(255,255,255,.61);
    color: #244a32 !important;
}
.app-shell .button.secondary:hover { border-color: rgba(49,95,64,.42); background: rgba(255,255,255,.88); }
.app-shell .button.danger { border-color: #a72f3b; background: #a72f3b; color: #fff !important; }
.app-shell .eyebrow { color: #377652; }
.app-shell .hero {
    border-color: rgba(255,255,255,.91);
    background: linear-gradient(115deg,rgba(255,255,255,.69),rgba(255,255,255,.42));
    box-shadow: inset 0 1px rgba(255,255,255,.98), 0 24px 70px rgba(36,76,48,.09);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    backdrop-filter: blur(24px) saturate(140%);
}
.app-shell .hero h1 { color: #193b2a; }
.app-shell .hero h1 em { color: #3d8058; }
.app-shell .hero-copy > p:not(.hero-note) { color: #4e6256; }
.app-shell .hero-note { color: #5b6d62; }
.app-shell .hero-note span { color: #36774f; }
.app-shell .orbit { border-color: rgba(51,106,69,.19); }
.app-shell .sample-card {
    border-color: rgba(255,255,255,.96);
    box-shadow: 0 25px 65px rgba(36,76,48,.18), 0 0 0 3px rgba(255,255,255,.45), inset 0 1px rgba(255,255,255,.98);
}
.app-shell .nfc-badge {
    border-color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.78);
    color: #263e30;
    box-shadow: inset 0 1px rgba(255,255,255,.98), 0 10px 26px rgba(29,70,43,.13);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
}
.app-shell .nfc-icon {
    border-color: rgba(49,104,69,.2);
    background: linear-gradient(145deg,rgba(217,239,221,.94),rgba(185,219,194,.7));
    color: #245c3e;
    box-shadow: inset 0 1px rgba(255,255,255,.85),0 3px 10px rgba(33,80,47,.1);
}
.app-shell .steps > div {
    border-color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.56);
    box-shadow: inset 0 1px rgba(255,255,255,.96), 0 15px 38px rgba(37,75,49,.07);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
}
.app-shell .steps b { color: #377652; }
.app-shell .steps h2 { color: #1c3a2a; }
.app-shell .steps p { color: #5b6d62; }
.app-shell .auth h1,
.app-shell .page-heading h1,
.app-shell .account-intro h1 { color: #193b2a; }
.app-shell .auth > p,
.app-shell .page-heading p,
.app-shell .account-intro p { color: #5a6b60; }
.app-shell .account-email strong { color: #213d2c; }
.app-shell label { color: #354b3d; }
.app-shell input:not([type="checkbox"]):not([type="color"]):not([type="range"]),
.app-shell select {
    border-color: rgba(49, 83, 60, .23);
    background: rgba(255,255,255,.79);
    color: #1c3024;
    color-scheme: light;
}
.app-shell input::placeholder { color: #7c8b80; }
.app-shell input:focus,
.app-shell select:focus { border-color: #49815d; box-shadow: 0 0 0 3px rgba(73,129,93,.14); }
.app-shell input[type="checkbox"] { accent-color: #347653; }
.app-shell input[type="color"] { border-color: rgba(49,83,60,.22); background: rgba(255,255,255,.8); }
.app-shell .hint { color: #627267; }
.app-shell .notice {
    border-color: rgba(61,136,83,.31);
    background: rgba(232,247,235,.83);
    color: #245b36;
    box-shadow: inset 0 1px rgba(255,255,255,.8), 0 8px 24px rgba(40,94,54,.06);
}
.app-shell .error {
    border-color: rgba(172,61,68,.29);
    background: rgba(255,239,239,.88);
    color: #842831;
}
.app-shell .badge {
    border-color: rgba(49,95,64,.19);
    background: rgba(255,255,255,.68);
    color: #334b3b;
}
.app-shell .badge.published { border-color: rgba(67,139,88,.28); background: rgba(226,244,230,.86); color: #28623d; }
.app-shell .form-intro h2,
.app-shell .share h2,
.app-shell .share h3,
.app-shell .field-section legend,
.app-shell .account-section h2 { color: #1c3a2a; }
.app-shell .section-number,
.app-shell .publish-icon { background: #e2efe5; color: #286342; }
.app-shell .theme-section,
.app-shell .tint-setting,
.app-shell .text-color-setting,
.app-shell .surface-setting,
.app-shell .image-upload-card,
.app-shell .publish {
    border-color: rgba(49,91,60,.16);
    background: rgba(255,255,255,.43);
}
.app-shell .toggle-setting,
.app-shell .toggle-setting strong,
.app-shell .surface-setting strong,
.app-shell .theme-control strong,
.app-shell .range-setting > span,
.app-shell .alignment-setting { color: #30473a; }
.app-shell .toggle-setting small,
.app-shell .surface-setting small,
.app-shell .range-setting small { color: #64756a; }
.app-shell .range-setting output { color: #2b6845; }
.app-shell .color-swatch { border-color: #fff; box-shadow: 0 0 0 1px rgba(49,91,60,.21); }
.app-shell .share-url {
    border-color: rgba(49,83,60,.18);
    background: rgba(255,255,255,.61);
    color: #2a4232;
}
.app-shell .mini-card-stage { border-color: rgba(255,255,255,.78); }
.app-shell .account-section > p { color: #5a6b60; }
.app-shell .account-danger { border-color: rgba(172,61,68,.3); }
.app-shell .mobile-menu summary {
    border-color: rgba(49,95,64,.21);
    background: rgba(255,255,255,.73);
    color: #30473a;
}
.app-shell .mobile-menu nav {
    border-color: rgba(255,255,255,.88);
    background: rgba(250,253,250,.96);
    box-shadow: 0 14px 35px rgba(37,75,49,.16);
    -webkit-backdrop-filter: blur(19px);
    backdrop-filter: blur(19px);
}
.app-shell .mobile-menu nav a,
.app-shell .mobile-menu .text-button { color: #30473a; }
.app-shell .mobile-menu nav a:hover,
.app-shell .mobile-menu .text-button:hover { background: rgba(57,112,75,.09); color: #173f2b; }
.app-shell .topbar {
    border-color: rgba(255,255,255,.76);
    background: linear-gradient(135deg,rgba(255,255,255,.74),rgba(246,251,246,.48));
    box-shadow: inset 0 1px rgba(255,255,255,.98), inset 0 -1px rgba(255,255,255,.24), 0 16px 38px rgba(39,79,51,.1);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
    backdrop-filter: blur(26px) saturate(155%);
}
.app-shell .panel,
.app-shell .steps > div {
    border-color: rgba(255,255,255,.78);
    background: linear-gradient(145deg,rgba(255,255,255,.67),rgba(248,252,248,.42));
    box-shadow: inset 0 1px rgba(255,255,255,.96), inset 0 -1px rgba(255,255,255,.22), 0 22px 48px rgba(37,75,49,.1);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
}
.app-shell .hero {
    border-color: rgba(255,255,255,.8);
    background: linear-gradient(125deg,rgba(255,255,255,.7),rgba(249,252,248,.4));
    box-shadow: inset 0 1px rgba(255,255,255,.98), inset 0 -1px rgba(255,255,255,.25), 0 28px 64px rgba(36,76,48,.12);
    -webkit-backdrop-filter: blur(28px) saturate(155%);
    backdrop-filter: blur(28px) saturate(155%);
}
.app-shell footer {
    border-color: rgba(255,255,255,.75);
    background: linear-gradient(120deg,rgba(255,255,255,.62),rgba(248,252,248,.39));
    box-shadow: inset 0 1px rgba(255,255,255,.96), 0 14px 32px rgba(37,75,49,.08);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
}
.app-shell .steps > div {
    box-shadow: inset 0 1px rgba(255,255,255,.96), inset 0 -1px rgba(255,255,255,.2), 0 16px 36px rgba(37,75,49,.09);
}
@media (prefers-reduced-motion: no-preference) {
    .app-shell .button:hover { box-shadow: 0 10px 26px rgba(33,91,55,.22); }
}

/* Teinte jade et émeraude de l’interface vitrée. */
.app-shell {
    --ink: #18382a;
    --muted: #536e60;
    --line: rgba(20, 107, 63, .2);
    --surface: rgba(230, 250, 237, .7);
    --canvas: #e0f2e6;
    --accent: #07834e;
    --accent-dark: #05643b;
    --accent-soft: #d0f0dc;
    --navy: #123b29;
    background: #d8efdf;
}
.app-shell::before {
    background:
        radial-gradient(ellipse at 8% 16%, rgba(255,255,255,.98), transparent 36%),
        radial-gradient(ellipse at 91% 24%, rgba(139,219,169,.78), transparent 36%),
        radial-gradient(ellipse at 76% 88%, rgba(181,231,197,.7), transparent 35%),
        radial-gradient(ellipse at 28% 76%, rgba(165,222,184,.75), transparent 39%),
        linear-gradient(130deg,#f5fff7 0%,#d6efde 52%,#edf9ef 100%);
    filter: saturate(1.06);
}
.app-shell a { color: #06643b; }
.app-shell a:hover { color: #034a2c; }
.app-shell :focus-visible { outline-color: #07834e; }
.app-shell .topbar {
    background: linear-gradient(135deg,rgba(233,255,241,.83),rgba(175,229,195,.64));
    box-shadow: inset 0 1px rgba(255,255,255,.99),inset 0 -1px rgba(255,255,255,.35),0 16px 38px rgba(7,93,49,.16);
}
.app-shell .brand { color: #123b29; }
.app-shell .brand-mark { background: linear-gradient(145deg,#12a15f,#05613a); }
.app-shell .brand-copy small { color: #50715c; }
.app-shell .main-nav a,
.app-shell .main-nav .text-button { color: #315943; }
.app-shell .main-nav a:hover,
.app-shell .main-nav .text-button:hover { background: rgba(7,131,78,.11); color: #123b29; }
.app-shell .main-nav .nav-primary,
.app-shell .button {
    border-color: #07834e;
    background: linear-gradient(135deg,#119457,#067447);
}
.app-shell .main-nav .nav-primary:hover,
.app-shell .button:hover { border-color: #05643b; background: #05643b; }
.app-shell .button.secondary { border-color: rgba(7,112,62,.3); color: #075b37 !important; }
.app-shell .button.secondary:hover { border-color: rgba(7,112,62,.5); }
.app-shell footer { background: linear-gradient(120deg,rgba(234,255,241,.78),rgba(183,230,198,.59)); }
.app-shell .panel,
.app-shell .steps > div {
    background: linear-gradient(145deg,rgba(236,255,243,.8),rgba(176,225,192,.6));
    box-shadow: inset 0 1px rgba(255,255,255,.99),inset 0 -1px rgba(255,255,255,.34),0 22px 48px rgba(9,91,50,.16);
}
.app-shell .hero {
    background: linear-gradient(125deg,rgba(237,255,243,.84),rgba(172,224,189,.62));
    box-shadow: inset 0 1px rgba(255,255,255,.99),inset 0 -1px rgba(255,255,255,.36),0 28px 64px rgba(9,91,50,.18);
}
.app-shell .hero h1,
.app-shell .auth h1,
.app-shell .page-heading h1,
.app-shell .account-intro h1,
.app-shell .form-intro h2,
.app-shell .share h2,
.app-shell .share h3,
.app-shell .field-section legend,
.app-shell .account-section h2,
.app-shell .steps h2 { color: #123b29; }
.app-shell .hero h1 em,
.app-shell .eyebrow,
.app-shell .hero-note span,
.app-shell .steps b { color: #07834e; }
.app-shell .hero-copy > p:not(.hero-note),
.app-shell .hero-note,
.app-shell .steps p,
.app-shell .auth > p,
.app-shell .page-heading p,
.app-shell .account-intro p,
.app-shell .account-section > p,
.app-shell .hint { color: #536e60; }
.app-shell label,
.app-shell .toggle-setting,
.app-shell .toggle-setting strong,
.app-shell .surface-setting strong,
.app-shell .theme-control strong,
.app-shell .range-setting > span,
.app-shell .alignment-setting { color: #315542; }
.app-shell input:not([type="checkbox"]):not([type="color"]):not([type="range"]),
.app-shell select {
    border-color: rgba(20,107,63,.27);
    background: rgba(240,255,245,.84);
    color: #18382a;
}
.app-shell input:focus,
.app-shell select:focus { border-color: #07834e; box-shadow: 0 0 0 3px rgba(7,131,78,.16); }
.app-shell input[type="checkbox"] { accent-color: #07834e; }
.app-shell .section-number,
.app-shell .publish-icon { background: #d0f0dc; color: #05643b; }
.app-shell .range-setting output { color: #067447; }
.app-shell .steps > div { border-color: rgba(255,255,255,.86); }
.app-shell .share-url { border-color: rgba(20,107,63,.2); background: rgba(236,255,243,.72); color: #214632; }
.app-shell .mobile-menu summary { color: #315542; }
.app-shell .mobile-menu nav { background: rgba(233,251,239,.97); }
.app-shell .mobile-menu nav a,
.app-shell .mobile-menu .text-button { color: #315542; }
.app-shell .mobile-menu nav a:hover,
.app-shell .mobile-menu .text-button:hover { background: rgba(7,131,78,.11); color: #123b29; }

/* Accueil : composition éditoriale et illustration NFC en relief. */
.app-shell .main--home {
    width: min(1240px, 100%);
    padding: 32px 34px 48px;
}
.app-shell .hero {
    min-height: 500px;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: clamp(30px, 5vw, 72px);
    padding: 36px 24px 48px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.app-shell .hero-copy { max-width: 590px; }
.app-shell .hero h1 {
    max-width: 620px;
    margin: 22px 0 23px;
    font-size: clamp(3.7rem, 7.1vw, 6.2rem);
    line-height: .94;
    letter-spacing: -.082em;
}
.app-shell .hero h1 em { color: #07834e; font-family: inherit; font-weight: 760; letter-spacing: inherit; }
.app-shell .hero-copy > p:not(.hero-note) { max-width: 510px; font-size: 1.08rem; line-height: 1.75; }
.app-shell .actions { gap: 12px; margin-top: 30px; }
.app-shell .button { min-height: 51px; padding-right: 20px; padding-left: 20px; box-shadow: 0 10px 22px rgba(7,93,49,.2); }
.app-shell .button.secondary {
    border-color: rgba(7,112,62,.23);
    background: rgba(246,255,249,.56);
    color: #075b37 !important;
    box-shadow: inset 0 1px rgba(255,255,255,.85),0 8px 19px rgba(7,93,49,.08);
}
.app-shell .hero-note { margin-top: 20px; font-size: .8rem; }
.app-shell .hero-showcase { min-height: 475px; perspective: 1100px; }
.app-shell .orbit { border-color: rgba(7,131,78,.16); }
.app-shell .orbit-one { width: min(340px, 72vw); height: min(340px, 72vw); }
.app-shell .orbit-two { width: min(445px, 90vw); height: min(445px, 90vw); }
.app-shell .sample-card {
    width: 288px;
    padding-bottom: 24px;
    transform: rotate(-7deg) rotateY(-8deg);
    box-shadow: 0 36px 72px rgba(16,76,43,.28),0 0 0 6px rgba(255,255,255,.45),inset 0 1px rgba(255,255,255,.98);
}
.app-shell .sample-cover { background: linear-gradient(130deg,#0c3928,#128151 62%,#7bc79a); }
.app-shell .nfc-plate {
    position: absolute;
    z-index: 0;
    top: 48%;
    left: 50%;
    display: grid;
    width: 198px;
    height: 264px;
    place-items: center;
    border: 1px solid rgba(248,255,250,.86);
    border-radius: 21px;
    background: linear-gradient(145deg,rgba(230,255,238,.78),rgba(135,205,157,.49));
    box-shadow: inset 0 1px rgba(255,255,255,.96),inset -12px -14px 35px rgba(11,96,51,.14),0 30px 60px rgba(17,94,52,.19);
    color: rgba(5,100,59,.67);
    transform: translate(-23%,-46%) rotate(14deg) translateZ(-40px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.app-shell .nfc-plate span { align-self: end; margin-bottom: 29px; font-size: .7rem; font-weight: 850; letter-spacing: .2em; }
.app-shell .nfc-plate svg { position: absolute; top: 55px; left: 57px; width: 82px; height: 82px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2.2; }
.app-shell .nfc-badge {
    right: 0;
    bottom: 44px;
    border-color: rgba(255,255,255,.8);
    background: rgba(239,255,244,.83);
    box-shadow: inset 0 1px rgba(255,255,255,.98),0 16px 34px rgba(14,81,44,.19);
    color: #194431;
}
.app-shell .nfc-icon {
    border-color: rgba(7,131,78,.19);
    background: linear-gradient(145deg,#dff6e7,#c1e8cf);
    color: #087548;
    box-shadow: inset 0 1px rgba(255,255,255,.95),0 3px 10px rgba(15,100,57,.12);
}
.app-shell .steps {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    padding: 0 24px 24px;
}
.app-shell .steps > article {
    display: grid;
    min-height: 174px;
    grid-template-columns: 42px minmax(0,1fr);
    align-content: start;
    gap: 16px;
    padding: 23px 20px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 18px;
    background: linear-gradient(145deg,rgba(245,255,248,.82),rgba(200,237,212,.66));
    box-shadow: inset 0 1px rgba(255,255,255,.98),0 18px 38px rgba(8,88,46,.11);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    backdrop-filter: blur(18px) saturate(135%);
}
.app-shell .step-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(7,131,78,.12);
    border-radius: 13px;
    background: linear-gradient(145deg,rgba(255,255,255,.91),rgba(216,246,226,.86));
    color: #07834e;
    box-shadow: inset 0 1px rgba(255,255,255,.95),0 5px 12px rgba(13,92,50,.08);
}
.app-shell .step-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.app-shell .steps > article > div { min-width: 0; }
.app-shell .steps b { margin: 2px 0 7px; color: #07834e; font-size: .64rem; }
.app-shell .steps h2 { margin-bottom: 7px; color: #123b29; font-size: 1.02rem; }
.app-shell .steps p { color: #536e60; font-size: .81rem; line-height: 1.55; }
.app-shell footer.site-footer {
    width: min(1172px,calc(100% - 48px));
    margin: 0 auto 20px;
    padding: 19px 23px;
    text-align: left;
}
.app-shell .site-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.app-shell .footer-brand { flex: 0 0 auto; color: #123b29; }
.app-shell .footer-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.app-shell .footer-brand .brand-copy strong { font-size: .78rem; }
.app-shell .site-footer-inner > p { margin: 0; color: #536e60; font-size: .75rem; }
.app-shell .site-footer-inner nav { display: flex; flex: 0 0 auto; align-items: center; gap: 15px; }
.app-shell .site-footer-inner nav a,
.app-shell .site-footer-inner nav .text-button { color: #315943; font-size: .75rem; font-weight: 700; text-decoration: none; }
.app-shell .site-footer-inner nav a:hover,
.app-shell .site-footer-inner nav .text-button:hover { color: #034a2c; text-decoration: underline; }
.app-shell .site-footer-inner nav form { margin: 0; }

@media (max-width: 850px) {
    .app-shell .main--home { padding-right: 23px; padding-left: 23px; }
    .app-shell .hero { grid-template-columns: minmax(0,1fr) minmax(280px,.85fr); gap: 22px; padding-right: 8px; padding-left: 8px; }
    .app-shell .hero h1 { font-size: clamp(3.25rem,7vw,4.8rem); }
    .app-shell .hero-showcase { min-height: 410px; }
    .app-shell .sample-card { width: 258px; }
    .app-shell .nfc-plate { width: 174px; height: 236px; }
    .app-shell .steps { padding-right: 8px; padding-left: 8px; }
    .app-shell .steps > article { grid-template-columns: 36px minmax(0,1fr); gap: 11px; padding: 19px 15px; }
    .app-shell .step-icon { width: 36px; height: 36px; }
}
@media (max-width: 680px) {
    .app-shell .main--home { padding: 22px 17px 34px; }
    .app-shell .hero { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 16px 3px 20px; }
    .app-shell .hero h1 { max-width: 500px; margin: 19px 0; font-size: clamp(3.1rem,12vw,4.4rem); }
    .app-shell .hero-copy > p:not(.hero-note) { font-size: .98rem; }
    .app-shell .actions { grid-template-columns: 1fr; }
    .app-shell .button { width: 100%; }
    .app-shell .hero-note { margin-top: 16px; }
    .app-shell .hero-showcase { min-height: 365px; margin-top: 2px; }
    .app-shell .orbit-one { width: 280px; height: 280px; }
    .app-shell .orbit-two { width: 350px; height: 350px; }
    .app-shell .sample-card { width: min(258px,68vw); }
    .app-shell .nfc-plate { width: 160px; height: 220px; }
    .app-shell .nfc-plate svg { top: 46px; left: 45px; width: 72px; height: 72px; }
    .app-shell .nfc-badge { right: 0; bottom: 8px; }
    .app-shell .steps { grid-template-columns: 1fr; gap: 11px; padding: 4px 0 7px; }
    .app-shell .steps > article { min-height: 0; grid-template-columns: 40px minmax(0,1fr); gap: 13px; padding: 17px; }
    .app-shell .step-icon { width: 40px; height: 40px; }
    .app-shell footer.site-footer { width: calc(100% - 24px); margin-bottom: 12px; padding: 17px; }
    .app-shell .site-footer-inner { align-items: flex-start; flex-direction: column; gap: 11px; }
    .app-shell .site-footer-inner > p { line-height: 1.5; }
    .app-shell .site-footer-inner nav { flex-wrap: wrap; gap: 12px 16px; }
}
@media (prefers-reduced-motion: no-preference) {
    .app-shell .nfc-plate { animation: nfc-float 7s ease-in-out infinite; }
    .app-shell .sample-card { animation: card-float 7s ease-in-out infinite; }
    @keyframes nfc-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
    @keyframes card-float { 0%,100% { translate: 0 0; } 50% { translate: 0 7px; } }
}

/* Accueil verrière : le décor reste local, léger et hors du flux de lecture. */
.home-layout {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    background: #f6f8f2;
    color: #103d2d;
}
.home-layout::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background-color: #f6f8f2;
    background-image:
        linear-gradient(90deg,rgba(246,248,242,.8) 0%,rgba(246,248,242,.73) 43%,rgba(246,248,242,.55) 100%),
        linear-gradient(0deg,rgba(246,248,242,.25),rgba(246,248,242,.08)),
        url("greenhouse.svg");
    background-position: center;
    background-size: cover;
    content: "";
    pointer-events: none;
}
.home-layout :focus-visible { outline: 3px solid #103d2d; outline-offset: 3px; }
.home-layout .skip-link {
    position: fixed;
    z-index: 20;
    top: 8px;
    left: 8px;
    padding: 11px 15px;
    border-radius: 8px;
    background: #103d2d;
    color: #fff;
    transform: translateY(-160%);
}
.home-layout .skip-link:focus { transform: translateY(0); }
.home-layout .topbar {
    width: min(1240px,calc(100% - 48px));
    min-height: 66px;
    margin: 16px auto 0;
    padding: 9px 24px;
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 18px;
    background: #f6f8f2;
    background: rgba(255,255,255,.86);
    box-shadow: inset 0 1px rgba(255,255,255,.98),0 8px 25px rgba(16,61,45,.09);
}
@supports ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
    .home-layout .topbar,
    .home-layout footer.site-footer,
    .home-layout .hero-copy,
    .home-layout .nfc-badge,
    .info-page {
        background: rgba(255,255,255,.72);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }
}
.home-layout .brand { color: #103d2d; }
.home-layout .brand-mark {
    border: 1px solid rgba(255,255,255,.36);
    background: linear-gradient(145deg,#078354,#07563c);
    color: #fff;
    box-shadow: inset 0 1px rgba(255,255,255,.2),0 4px 10px rgba(16,61,45,.15);
}
.home-layout .brand-copy small { color: #547165; }
.home-layout .main-nav a,
.home-layout .main-nav .text-button { min-height: 44px; color: #244738; }
.home-layout .main-nav a:hover,
.home-layout .main-nav .text-button:hover { background: rgba(7,131,84,.08); color: #103d2d; }
.home-layout .main-nav .nav-primary {
    border: 1px solid #078354;
    background: #078354;
    color: #fff;
}
.home-layout .main-nav .nav-primary:hover { background: #056b45; color: #fff; }
.home-layout .main { width: min(1240px,100%); min-height: 0; padding: 22px 34px 16px; }
.home-layout .main--home {
    display: flex;
    flex: 1;
    align-items: center;
}
.home-layout .hero {
    position: relative;
    width: 100%;
    min-height: 550px;
    grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
    gap: clamp(28px,4.4vw,60px);
    padding: 18px 0 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.home-layout .hero-copy {
    max-width: 650px;
    padding: clamp(30px,3.2vw,42px);
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 25px;
    background: rgba(255,255,255,.8);
    box-shadow: inset 0 1px rgba(255,255,255,.98),0 18px 46px rgba(16,61,45,.1);
}
.home-layout .hero h1 {
    margin: 21px 0 18px;
    color: #103d2d;
    font-size: clamp(3.2rem,4.8vw,4.4rem);
    font-weight: 780;
    letter-spacing: -.077em;
    line-height: .98;
}
.home-layout .hero h1 em {
    color: #078354;
    font-family: Georgia,"Times New Roman",serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: -.075em;
}
.home-layout .eyebrow { color: #126043; font-size: .73rem; }
.home-layout .hero-copy > p:not(.hero-note) { max-width: 520px; color: #4d665a; font-size: 1.04rem; line-height: 1.68; }
.home-layout .actions { gap: 12px; margin: 25px 0 13px; }
.home-layout .button {
    min-height: 50px;
    padding: 11px 19px;
    border-color: #078354;
    background: #078354;
    box-shadow: 0 8px 18px rgba(16,61,45,.12);
}
.home-layout .button:hover { border-color: #056b45; background: #056b45; }
.home-layout .button.secondary {
    border-color: rgba(16,61,45,.44);
    background: rgba(255,255,255,.35);
    color: #103d2d !important;
    box-shadow: none;
}
.home-layout .button.secondary:hover { background: #ddf3e6; }
.home-layout .hero-note { display: flex; align-items: center; gap: 9px; margin: 17px 0 0; color: #526c60; font-size: .86rem; }
.home-layout .hero-note span {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(7,131,84,.18);
    border-radius: 50%;
    background: #ddf3e6;
    color: #075a3d;
    font-size: .95rem;
}
.home-layout .hero-showcase { min-width: 0; min-height: 500px; perspective: 1200px; }
.home-layout .showcase-scene {
    position: relative;
    width: min(100%,540px);
    height: 500px;
    transform: rotateX(6deg) rotateY(-12deg) rotateZ(2deg);
    transform-style: preserve-3d;
}
.home-layout .showcase-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(94%,470px);
    aspect-ratio: 1;
    border: 1px solid rgba(16,83,57,.18);
    border-radius: 50%;
    background: radial-gradient(circle,rgba(221,243,230,.62),rgba(221,243,230,.08) 56%,transparent 72%);
    box-shadow: 0 0 72px rgba(45,111,72,.12);
    transform: translate(-50%,-50%) translateZ(-90px);
}
.home-layout .nfc-plate {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 51%;
    display: grid;
    width: clamp(220px,24vw,286px);
    height: clamp(315px,35vw,385px);
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.77);
    border-radius: 27px;
    background: linear-gradient(145deg,#174d38 0%,#103d2d 56%,#0a3023 100%);
    box-shadow: 0 8px 18px rgba(16,61,45,.12),0 35px 70px rgba(16,61,45,.18),inset 0 1px rgba(255,255,255,.19);
    color: #ddf3e6;
    transform: translate(-22%,-49%) rotateZ(8deg) translateZ(-40px);
}
.home-layout .nfc-plate::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg,rgba(255,255,255,.12),transparent 36%,transparent 70%,rgba(255,255,255,.04));
    content: "";
}
.home-layout .nfc-plate .plate-logo { position: absolute; top: 43%; left: 31%; color: #d9eee0; font-size: 1.15rem; font-weight: 760; letter-spacing: -.045em; }
.home-layout .nfc-plate svg { position: absolute; top: 35%; left: 45%; width: 88px; height: 88px; fill: none; stroke: #9fcbb0; stroke-linecap: round; stroke-width: 2.3; }
.home-layout .sample-card {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 10%;
    width: clamp(250px,25vw,304px);
    padding: 0 21px 24px;
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 27px;
    background: linear-gradient(145deg,#fff 0%,#fbfcf9 62%,#f4f6f0 100%);
    box-shadow: 0 8px 18px rgba(16,61,45,.12),0 35px 70px rgba(16,61,45,.18),inset 0 1px rgba(255,255,255,.98);
    text-align: center;
    transform: translateY(-50%) translateZ(0);
}
.home-layout .sample-cover { height: 110px; margin: 0 -21px; background: linear-gradient(130deg,#103d2d,#078354 70%,#62a879); }
.home-layout .sample-avatar {
    width: 68px;
    height: 68px;
    margin: -34px auto 12px;
    border: 4px solid white;
    background: linear-gradient(145deg,#f4f8f2,#dcebe0);
    color: #103d2d;
    box-shadow: 0 5px 14px rgba(16,61,45,.12);
}
.home-layout .sample-avatar svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
.home-layout .sample-card small { color: #28684b; font-size: .59rem; letter-spacing: .12em; }
.home-layout .sample-card strong { color: #17271f; font-size: 1.18rem; }
.home-layout .sample-card .sample-subtitle { display: block; margin: 4px 0 16px; color: #63756b; font-size: .79rem; }
.home-layout .sample-button {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 11px;
    background: linear-gradient(135deg,#078354,#07563c);
    box-shadow: 0 6px 14px rgba(16,61,45,.15);
    color: #fff;
    font-size: .72rem;
    font-weight: 740;
}
.home-layout .sample-lines { gap: 8px; margin-top: 17px; }
.home-layout .sample-lines i { height: 7px; background: #e9ede7; }
.home-layout .nfc-badge {
    position: absolute;
    z-index: 3;
    right: -2%;
    bottom: 7%;
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    gap: 11px;
    padding: 9px 17px 9px 9px;
    border: 1px solid rgba(255,255,255,.94);
    border-radius: 17px;
    background: #f6f8f2;
    background: rgba(255,255,255,.86);
    box-shadow: 0 8px 18px rgba(16,61,45,.12),0 20px 40px rgba(16,61,45,.14),inset 0 1px rgba(255,255,255,.98);
    color: #173a2b;
    transform: translateZ(50px);
}
.home-layout .nfc-icon { width: 44px; height: 44px; border: 1px solid rgba(7,131,84,.13); border-radius: 13px; background: #ddf3e6; color: #075a3d; }
.home-layout .nfc-icon svg { width: 22px; height: 22px; }
.home-layout .nfc-label { font-size: .89rem; font-weight: 720; }
.home-layout footer.site-footer {
    width: min(1240px,calc(100% - 48px));
    margin: 0 auto 16px;
    padding: 12px 22px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 20px;
    background: #f6f8f2;
    background: rgba(255,255,255,.86);
    box-shadow: inset 0 1px rgba(255,255,255,.98),0 5px 18px rgba(16,61,45,.08);
    color: #536b60;
    text-align: left;
}
.home-layout .site-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-layout .footer-copy { min-width: 0; }
.home-layout .footer-copy p { margin: 2px 0; color: #526c60; font-size: .76rem; line-height: 1.45; }
.home-layout .footer-copy a { color: #103d2d; font-weight: 700; }
.home-layout .footer-links { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; }
.home-layout .footer-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    color: #244738;
    font-size: .8rem;
    font-weight: 650;
    text-decoration: none;
}
.home-layout .footer-links a:hover { background: rgba(7,131,84,.08); color: #103d2d; text-decoration: underline; }
.info-page {
    max-width: 850px;
    margin: 18px auto 30px;
    padding: clamp(24px,5vw,48px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 24px;
    background: rgba(255,255,255,.84);
    box-shadow: inset 0 1px rgba(255,255,255,.98),0 18px 46px rgba(16,61,45,.1);
}
.app-shell .info-page { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.84); }
.info-page h1 { margin: 12px 0 20px; color: #103d2d; font-size: clamp(2.15rem,5vw,3.2rem); letter-spacing: -.06em; line-height: 1.08; }
.info-page h2 { margin: 27px 0 8px; color: #103d2d; font-size: 1.12rem; letter-spacing: -.025em; }
.info-page p,
.info-page li { color: #40594d; font-size: .97rem; line-height: 1.72; }
.info-page ul { display: grid; gap: 7px; padding-left: 22px; }
.info-page a { color: #075d3d; text-decoration-thickness: 1px; }
.home-layout .mobile-menu summary {
    min-height: 44px;
    border-color: rgba(16,61,45,.22);
    background: rgba(255,255,255,.85);
    color: #103d2d;
}
.home-layout .mobile-menu nav {
    border-color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 32px rgba(16,61,45,.16);
}
.home-layout .mobile-menu nav a,
.home-layout .mobile-menu .text-button { min-height: 44px; color: #244738; }

@media (max-width: 899px) {
    .home-layout .main { padding: 17px 26px 15px; }
    .home-layout .main--home { align-items: stretch; }
    .home-layout .hero { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 10px; padding: 14px 0 10px; }
    .home-layout .hero-copy { width: min(100%,680px); margin: 0 auto; }
    .home-layout .hero h1 { font-size: clamp(3.4rem,8.8vw,5.5rem); }
    .home-layout .hero-showcase { width: min(100%,610px); min-height: 440px; margin: 0 auto; }
    .home-layout .showcase-scene { height: 440px; margin: 0 auto; }
    .home-layout .sample-card { left: 15%; width: clamp(250px,35vw,300px); }
    .home-layout .nfc-plate { width: clamp(230px,33vw,285px); height: clamp(325px,44vw,375px); }
    .home-layout .site-footer-inner { gap: 12px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
    .home-layout .hero { gap: 23px; }
    .home-layout .hero-copy { padding: 27px; }
    .home-layout .hero h1 { font-size: clamp(2.8rem,5.1vw,3.5rem); }
    .home-layout .hero-showcase { min-height: 440px; }
    .home-layout .showcase-scene { height: 440px; }
    .home-layout .sample-card { left: 7%; width: clamp(240px,28vw,275px); }
    .home-layout .nfc-plate { width: clamp(210px,24vw,255px); height: 330px; }
}
@media (max-width: 599px) {
    .home-layout .topbar { width: calc(100% - 24px); min-height: 60px; margin-top: 11px; padding: 7px 11px; border-radius: 15px; }
    .home-layout .brand { gap: 8px; }
    .home-layout .brand-mark { width: 36px; height: 36px; }
    .home-layout .brand-copy strong { font-size: .82rem; }
    .home-layout .brand-copy small { display: none; }
    .home-layout .mobile-menu summary { min-height: 44px; padding: 8px 10px; }
    .home-layout .main { padding: 15px 13px 10px; }
    .home-layout::before {
        background-image:
            radial-gradient(ellipse at 12% 13%,rgba(221,243,230,.56),transparent 45%),
            radial-gradient(ellipse at 93% 75%,rgba(194,222,197,.42),transparent 48%),
            linear-gradient(145deg,#f6f8f2,#edf4eb);
    }
    .home-layout .hero { gap: 0; padding: 3px 0 8px; }
    .home-layout .hero-copy { padding: 25px 22px; border-radius: 21px; }
    .home-layout .hero h1 { margin: 18px 0 15px; font-size: clamp(2.75rem,11vw,4rem); line-height: .98; }
    .home-layout .hero-copy > p:not(.hero-note) { font-size: .94rem; line-height: 1.6; }
    .home-layout .actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 19px; }
    .home-layout .button { width: 100%; min-height: 48px; }
    .home-layout .hero-note { font-size: .76rem; }
    .home-layout .hero-showcase { min-height: 325px; }
    .home-layout .showcase-scene { width: min(100%,410px); height: 325px; transform: rotateX(3deg) rotateY(-5deg) rotateZ(1deg); }
    .home-layout .showcase-halo { width: 82%; }
    .home-layout .sample-card { left: 8%; width: min(60%,250px); padding-right: 16px; padding-left: 16px; border-radius: 22px; }
    .home-layout .sample-cover { height: 78px; margin-right: -16px; margin-left: -16px; }
    .home-layout .sample-avatar { width: 58px; height: 58px; margin-top: -29px; }
    .home-layout .sample-card small { font-size: .51rem; }
    .home-layout .sample-card strong { font-size: 1rem; }
    .home-layout .sample-card .sample-subtitle { font-size: .69rem; }
    .home-layout .sample-button { min-height: 38px; font-size: .62rem; }
    .home-layout .nfc-plate { left: 48%; width: min(57%,220px); height: 275px; border-radius: 22px; }
    .home-layout .nfc-plate .plate-logo { font-size: .96rem; }
    .home-layout .nfc-plate svg { width: 68px; height: 68px; }
    .home-layout .nfc-badge { right: -1%; bottom: 0; min-height: 54px; gap: 8px; padding: 6px 11px 6px 6px; border-radius: 14px; }
    .home-layout .nfc-icon { width: 38px; height: 38px; border-radius: 11px; }
    .home-layout .nfc-label { font-size: .73rem; }
    .home-layout footer.site-footer { width: calc(100% - 24px); margin-bottom: 12px; padding: 12px 14px; border-radius: 17px; }
    .home-layout .site-footer-inner { align-items: stretch; flex-direction: column; gap: 7px; }
    .home-layout .footer-copy p { font-size: .72rem; }
    .home-layout .footer-links { justify-content: space-between; gap: 2px; }
    .home-layout .footer-links a { min-height: 44px; padding: 7px 6px; font-size: .73rem; }
    .info-page { margin: 8px auto 18px; padding: 23px 19px; border-radius: 20px; }
    .info-page p,
    .info-page li { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-layout *,
    .home-layout *::before,
    .home-layout *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
