/* Polices hébergées sur le site (pas de requête vers Google) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); }

/* Charte Anoma Studio : terracotta puis vert pétrole, charbon, crème. Le thème suit le réglage du téléphone (clair ou sombre). Mouvement : transform et opacity uniquement, pour rester fluide. */
:root {
  --terra: #C1552F;
  --vert: #1F5C56;
  --charbon: #1E1B18;
  --creme: #F6F3EC;

  --bg: #F6F3EC;
  --surface: #FDFBF7;
  --surface-2: #EDE6DA;
  --tint: #F4E0D5;
  --text: #1E1B18;
  --soft: #5A524C;
  --heading: #1F5C56;
  --accent: #A9461F;
  --line: rgba(193,85,47,.3);
  --field-line: #8A7D6E;
  --header-bg: rgba(246,243,236,.92);
  --ring: rgba(246,243,236,.95);
  --ghost: #1F5C56;
  --ghost-ink: #fff;
  --tk-bg: #1E1B18;
  --tk-ink: #fff;
  --shadow: rgba(30,27,24,.45);

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
  --max: 1120px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1E1B18; --surface: #26221F; --surface-2: #2E2925; --tint: #2A201B;
    --text: #F3F0E6; --soft: #BFB6AA; --heading: #F6F3EC; --accent: #EE9A78;
    --line: rgba(238,154,120,.28); --field-line: #8A7F74;
    --header-bg: rgba(30,27,24,.9); --ring: rgba(30,27,24,.95);
    --ghost: #8CCBC0; --ghost-ink: #1E1B18; --tk-bg: #F3F0E6; --tk-ink: #1E1B18;
    --shadow: rgba(0,0,0,.7); color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .4s, color .4s; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; color: var(--heading); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
em { font-style: italic; color: var(--accent); }
:focus-visible { outline: 2px solid var(--ghost); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 72px 0; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 8px; border-radius: 99px; background: var(--terra); }
.section-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 40px; }
.section-head h1, .section-head h2 { font-size: clamp(36px, 7.5vw, 56px); }
.section-head p { color: var(--soft); }

/* Mouvement : apparition au défilement */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
#prog { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--terra); transform: scaleX(0); transform-origin: left; z-index: 60; pointer-events: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 28px; border-radius: 999px; font: 600 15px/1.2 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1.5px solid var(--terra); background: var(--terra); color: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s; }
.btn:hover { background: #AE4A27; border-color: #AE4A27; transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(193,85,47,.75); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ghost); border-color: var(--ghost); }
.btn.ghost:hover { background: var(--ghost); color: var(--ghost-ink); box-shadow: none; }
.dark .btn { background: var(--creme); border-color: var(--creme); color: var(--vert); }
.dark .btn:hover { background: #fff; border-color: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); }

/* Boutons réseaux */
.soc { display: flex; flex-wrap: wrap; gap: 12px; }
.soc a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font: 600 15px/1.1 var(--font-body); padding: 8px 22px 8px 8px; border-radius: 999px; min-height: 52px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); box-shadow: 0 10px 24px -14px var(--shadow); }
.soc a:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -14px var(--shadow); }
.soc .ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.soc .ic svg { width: 19px; height: 19px; fill: currentColor; }
.soc .ic svg.stroke { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.soc .wa { background: var(--vert); }
.soc .ig { background: var(--terra); }
.soc .tk { background: var(--tk-bg); color: var(--tk-ink); }
.soc .tk .ic { background: rgba(127,127,127,.25); }

/* Bouton WhatsApp fixe */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; display: inline-flex; align-items: center; gap: 10px; background: var(--vert); color: #fff; text-decoration: none; border-radius: 999px; height: 60px; padding: 0 20px 0 12px; font: 600 15px var(--font-body); box-shadow: 0 14px 30px -10px rgba(31,92,86,.8), 0 0 0 4px var(--ring); transition: transform .25s var(--ease); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--terra); opacity: 0; animation: ring 3.2s var(--ease) 2s infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.35, 1.6); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px); }
.wa-float .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--terra); display: grid; place-items: center; }
.wa-float svg { width: 20px; height: 20px; fill: #fff; }
.wa-float .lbl { display: none; }

/* En-tête et menu déroulant */
header.top { position: sticky; top: 0; z-index: 40; background: var(--header-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
header.top.scrolled { box-shadow: 0 10px 30px -22px var(--shadow); }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.logo { display: block; width: 133px; }
.logo img { display: block; width: 100%; height: auto; }
.bar-right { display: flex; align-items: center; gap: 10px; }
.bar-right .btn { display: none; min-height: 46px; padding: 10px 24px; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; background: none; border: 1.5px solid var(--ghost); color: var(--ghost); border-radius: 999px; min-height: 46px; padding: 0 20px; font: 600 14px var(--font-body); cursor: pointer; transition: background-color .25s, color .25s; }
.menu-btn:hover, .menu-btn.on { background: var(--ghost); color: var(--ghost-ink); }
.burger { position: relative; width: 16px; height: 10px; }
.burger i { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger i:nth-child(1) { top: 1px; } .burger i:nth-child(2) { top: 8px; }
.menu-btn.on .burger i:nth-child(1) { top: 4.5px; transform: rotate(45deg); }
.menu-btn.on .burger i:nth-child(2) { top: 4.5px; transform: rotate(-45deg); }
#menu { position: absolute; right: var(--gutter); left: var(--gutter); top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 12px 22px 22px; max-height: calc(100vh - 96px); overflow-y: auto; box-shadow: 0 30px 50px -28px var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top right; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
#menu.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#menu a.item { display: block; padding: 12px 0; text-decoration: none; font-family: var(--font-display); font-size: 24px; color: var(--heading); border-bottom: 1px solid var(--line); transition: color .2s, padding-left .3s var(--ease); }
#menu a.item:hover, #menu a.item[aria-current="page"] { color: var(--accent); padding-left: 8px; }
#menu .btn { width: 100%; margin-top: 18px; }

/* Accueil */
.hero { padding: 44px 0 64px; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(44px, 12vw, 82px); margin: 18px 0 20px; }
.hero p.lead { font-size: 18px; color: var(--soft); max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .soc { margin-top: 26px; }
.stack { position: relative; display: block; width: 100%; max-width: 540px; margin: 0 auto; aspect-ratio: 1 / .98; text-decoration: none; }
.win { position: absolute; width: 76%; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 34px 50px -28px var(--shadow); transition: transform .7s var(--ease); animation: drift 8s ease-in-out infinite; }
.win .wb { display: block; height: 22px; background: var(--surface-2); position: relative; }
.win .wb::before { content: ""; position: absolute; left: 11px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); box-shadow: 10px 0 0 var(--vert), 20px 0 0 var(--soft); }
.win .sh2 { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.win.w3 { left: 12%; top: 0; z-index: 1; animation-delay: -2s; }
.win.w2 { right: 0; top: 24%; z-index: 2; animation-delay: -4s; }
.win.w1 { left: 0; bottom: 0; z-index: 3; }
.stack:hover .w3 { transform: translate(-8px, -8px); }
.stack:hover .w2 { transform: translate(8px, 0); }
.stack:hover .w1 { transform: translate(-6px, 8px); }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.stack .cap { position: absolute; right: 4%; bottom: 3%; z-index: 4; background: var(--terra); color: #fff; border-radius: 999px; padding: 9px 18px; font: 600 13px var(--font-body); letter-spacing: .03em; box-shadow: 0 12px 24px -12px rgba(193,85,47,.8); }
.reassure { background: var(--tint); padding: 20px 0; }
.reassure ul { display: grid; gap: 8px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--heading); }

/* Prestations */
.note { background: var(--surface); border-radius: 18px; border: 1px solid var(--line); padding: 16px 20px; color: var(--soft); font-size: 15px; margin-bottom: 32px; max-width: 760px; }
.cmp-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: clip; box-shadow: 0 24px 40px -34px var(--shadow); }
.cmp-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 700px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 8px; text-align: center; border-bottom: 1px solid var(--surface-2); vertical-align: middle; font-weight: 400; }
.cmp thead th { vertical-align: bottom; padding: 28px 12px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
.cmp thead th:first-child, .cmp tbody th[scope=row], .cmp .grp th { position: sticky; left: 0; background: var(--surface); z-index: 2; }
.cmp thead th:first-child { width: 118px; min-width: 118px; }
.cmp tbody th[scope=row] { text-align: left; font-weight: 500; padding-left: 14px; font-size: 13.5px; line-height: 1.4; }
.cmp .grp th { text-align: left; background: var(--tint); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); padding: 12px 14px; font-weight: 600; }
.cmp tbody tr:not(.grp):hover > * { background: color-mix(in srgb, var(--tint) 55%, var(--surface)); }
.tn { display: block; font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: var(--heading); font-weight: 500; }
.tf { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tp { display: block; font-family: var(--font-body); font-weight: 500; letter-spacing: -.03em; font-size: 36px; line-height: 1.05; color: var(--heading); font-variant-numeric: tabular-nums; }
.tv { display: block; font-size: 12px; color: var(--soft); margin-top: 2px; }
.cmp .btn.sm { min-height: 42px; padding: 8px 14px; font-size: 13px; width: 100%; margin-top: 14px; }
.y { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); border: 1.5px solid var(--terra); }
.y::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--terra); border-bottom: 2px solid var(--terra); transform: rotate(-45deg) translate(1px, -1px); }
.no { color: var(--soft); opacity: .55; }
.cmp td small { display: block; font-size: 12px; color: var(--soft); margin-top: 4px; line-height: 1.3; }
.cmp td.t { font-size: 14px; }
.cmp td.d { color: var(--soft); font-style: italic; font-size: 14px; }
.cmp td.id { font-size: 13px; color: var(--soft); line-height: 1.45; vertical-align: top; }
.cmp tfoot td, .cmp tfoot th { border-bottom: 0; padding: 22px 12px 26px; background: var(--surface); }
.hint { display: block; padding: 10px 20px; font-size: 13px; color: var(--soft); background: var(--tint); }
.legend { margin-top: 18px; color: var(--soft); font-size: 14px; max-width: 760px; display: grid; gap: 6px; }
.sub-block { margin-top: 80px; }
.sub-block h3 { font-size: clamp(30px, 6vw, 42px); margin: 10px 0 8px; }
.extras { display: grid; max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 8px 26px; margin-top: 24px; }
.extras li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--surface-2); }
.extras li:last-child { border-bottom: 0; }
.extras .pr { font-family: var(--font-body); font-weight: 500; font-size: 18px; color: var(--heading); white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.extras .pr small { font-family: var(--font-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-right: 6px; font-weight: 600; }
.after-extras { max-width: 760px; margin-top: 20px; color: var(--soft); font-size: 15px; display: grid; gap: 8px; }

/* Maintenance mensuelle */
.dark { background: var(--vert); color: var(--creme); }
.dark h2, .dark h3 { color: var(--creme); }
.dark em, .dark .eyebrow { color: #F7CDBB; }
.dark .eyebrow::before { background: #F7CDBB; }
.dark .section-head p { color: rgba(246,243,236,.86); }
.plans { display: grid; gap: 18px; }
.plan { border: 1px solid rgba(246,243,236,.4); border-radius: 32px; padding: 30px 24px; display: flex; flex-direction: column; background: rgba(255,255,255,.04); }
.plan h3 { font-size: 32px; }
.plan .sub { font-size: 14px; color: rgba(246,243,236,.86); margin: 6px 0 16px; }
.plan .p { font-family: var(--font-body); font-weight: 500; letter-spacing: -.03em; font-size: 40px; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.plan .p small { font-family: var(--font-body); font-size: 14px; color: rgba(246,243,236,.86); }
.plan .inc { font-family: var(--font-display); font-style: italic; font-size: 18px; color: #F7CDBB; margin: 14px 0 8px; }
.plan ul { display: grid; gap: 9px; font-size: 15px; margin: 14px 0 24px; }
.plan .inc + ul { margin-top: 0; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #F7CDBB; }
.plan .btn { margin-top: auto; width: 100%; }
.dark .foot-note { margin-top: 24px; font-size: 14px; color: rgba(246,243,236,.84); }

/* À propos */
#apropos { background: var(--tint); }
.about-grid { display: grid; gap: 48px; }
.about-text { display: grid; gap: 18px; color: var(--soft); max-width: 560px; }
.how h3 { font-size: 32px; margin-bottom: 8px; }
.steps { display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.steps li::before { content: counter(s); width: 44px; height: 52px; border-radius: 999px 999px 10px 10px; background: var(--bg); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 24px; }

/* Portfolio */
.folio { display: grid; gap: 26px; }
.work { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 14px 14px 26px; box-shadow: 0 24px 40px -34px var(--shadow); }
.work .shot { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.work .shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s var(--ease); }
.work:hover .shot img { transform: scale(1.015); }
.work > * { margin-left: 8px; margin-right: 8px; }
.work > .shot { margin: 0; }
.tier { align-self: flex-start; margin-top: 12px; background: var(--tint); color: var(--accent); border-radius: 999px; padding: 5px 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.work h3 { font-size: 30px; }
.work p { color: var(--soft); font-size: 15px; }
.pts { display: grid; gap: 7px; font-size: 14px; color: var(--soft); margin-bottom: 8px; }
.pts li { padding-left: 20px; position: relative; }
.pts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.work .btn { margin-top: auto; align-self: flex-start; }
.folio-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; color: var(--soft); }

/* Contact */
.contact-grid { display: grid; gap: 36px; }
.coords { display: grid; gap: 20px; align-content: start; }
.coords .soc { flex-direction: column; align-items: stretch; }
.coords .soc a { padding-right: 22px; }
.mailline { color: var(--soft); font-size: 15px; }
.mailline a { color: var(--ghost); font-weight: 600; overflow-wrap: anywhere; }
form.devis { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 28px 22px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--field-line); border-radius: 16px; padding: 13px 16px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ghost); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ghost) 25%, transparent); }
.fine { font-size: 13px; color: var(--soft); }
#statut { font-size: 14px; color: var(--ghost); min-height: 1.4em; }

footer { background: var(--surface-2); padding: 44px 0 110px; border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 24px; }
footer .logo { width: 148px; }
footer p { margin-top: 14px; max-width: 420px; font-size: 15px; color: var(--soft); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
footer a { text-decoration: none; }
footer .links a:hover { color: var(--accent); text-decoration: underline; }
footer small { display: block; margin-top: 14px; font-size: 13px; color: var(--soft); }
footer .soc { margin-top: 18px; }
.who { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.who .eyebrow { margin-bottom: 8px; }
.who p:last-child { font-size: 15.5px; }
footer .legal { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 13px; }
footer .legal a { color: var(--soft); }
footer .legal a:hover { color: var(--accent); text-decoration: underline; }

@media (min-width: 720px) {
  :root { --gutter: 32px; }
  section { padding: 96px 0; }
  .reassure ul { grid-template-columns: repeat(3, 1fr); }
  .wa-float .lbl { display: inline; }
  .bar-right .btn { display: inline-flex; }
  #menu { left: auto; width: 360px; }
}
@media (min-width: 900px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .cmp-scroll { overflow: visible; }
  table.cmp { min-width: 0; font-size: 15px; }
  .cmp thead th:first-child { width: 25%; min-width: 170px; z-index: 4; }
  .cmp tbody th[scope=row] { padding-left: 20px; font-size: 15px; }
  .cmp th, .cmp td { padding: 14px 12px; }
  .cmp thead th { padding: 28px 12px 22px; position: sticky; top: 73px; z-index: 3; }
  .tn { font-size: 27px; }
  .cmp .grp th { padding: 12px 20px; }
  .hint { display: none; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .folio { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  footer { padding-bottom: 60px; }
  footer .wrap { grid-template-columns: 1fr auto; align-items: end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ===== Multi-pages ===== */
.skip { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--terra); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

.page-head { padding: 44px 0 0; }
.page-head h1 { font-size: clamp(40px, 9vw, 68px); margin: 14px 0 16px; max-width: 900px; }
.page-head .lead { font-size: 18px; color: var(--soft); max-width: 660px; }
.page-head + section { padding-top: 40px; }
.crumbs { font-size: 13px; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }

.formulas { display: grid; gap: 16px; }
.fcard { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 26px 22px 22px; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fcard:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -30px var(--shadow); }
.fcard .tn { font-size: 28px; }
.fcard .tp { font-size: 34px; }
.fcard .pg { margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--heading); }
.fcard .fid { color: var(--soft); font-size: 14px; line-height: 1.5; }
.fcard .go { margin-top: auto; padding-top: 14px; color: var(--ghost); font-weight: 600; font-size: 14px; }
.more-row { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; color: var(--soft); }
.intro-local { max-width: 760px; color: var(--soft); margin-bottom: 30px; }
.cta-band { background: var(--tint); }
.cta-band .wrap { display: grid; gap: 22px; justify-items: start; max-width: 820px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; margin-bottom: 12px; overflow: hidden; }
details.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-family: var(--font-display); font-size: 24px; line-height: 1.2; color: var(--heading); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 26px var(--font-body); color: var(--accent); }
details.faq[open] summary::after { content: "\2212"; }
details.faq .ans { padding: 0 22px 22px; color: var(--soft); display: grid; gap: 10px; }
details.faq .ans a { color: var(--accent); }
.faq-list { max-width: 820px; }
.ans ul { display: grid; gap: 6px; }
.ans ul li { padding-left: 18px; position: relative; }
.ans ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.ans ol { display: grid; gap: 6px; counter-reset: q; }
.ans ol li { counter-increment: q; padding-left: 28px; position: relative; }
.ans ol li::before { content: counter(q) "."; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

.doc { max-width: 760px; }
.doc h2 { font-size: 27px; line-height: 1.15; margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc ul { display: grid; gap: 7px; }
.doc li { padding-left: 18px; position: relative; }
.doc li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.doc p { margin-bottom: 10px; }
.doc a { color: var(--accent); }
.todo { background: var(--surface); border: 1px dashed var(--accent); border-radius: 10px; padding: 8px 12px; display: inline-block; font-size: 15px; }
.notfound { text-align: left; }
@media (min-width: 720px) { .formulas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .formulas { grid-template-columns: repeat(4, 1fr); } }

::placeholder { color: var(--soft); opacity: 1; }
.crumbs a { display: inline-block; padding: 6px 0; }
footer .links a, footer .legal a { display: inline-block; padding: 4px 0; }
.field .hint { font-size: 13px; color: var(--soft); margin-top: 6px; }
