/* =========================================================
   Glakil — Clube de Ténis de Mesa (Lisboa) — Design System
   Estética: clara e energética. Azul de mesa de ténis + laranja
   (bola/raquete), formas arredondadas, motivo de trajetória da bola.
   Tipo de letra: Sora (variável, self-hosted).
   ========================================================= */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-variable.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --bg:          #FFFFFF;
  --bg-2:        #F2F6FC;
  --bg-3:        #E9F0FA;
  --surface:     #FFFFFF;
  --ink:         #141A24;
  --muted:       #5C6675;
  --dim:         #8A93A3;
  --line:        #E6EBF2;
  --line-2:      #D6DEEA;

  --primary:     #0E63CE;
  --primary-d:   #0A4FA8;
  --primary-soft:#E3EEFC;
  --accent:      #FF5A2E;
  --accent-d:    #E8431B;
  --accent-soft: #FFE7DE;
  --ball:        #FFB400;
  --green:       #1FB66B;
  --green-soft:  #E1F6EC;

  --r:    16px;
  --r-sm: 12px;
  --r-lg: 26px;
  --shadow:    0 22px 48px -26px rgba(16, 45, 90, .35);
  --shadow-sm: 0 12px 28px -20px rgba(16, 45, 90, .30);

  --container: 1180px;
  --gap: clamp(1.2rem, 2.4vw, 2rem);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-d); text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.018em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink); font-weight: 700; }
hr { border: none; border-top: 1px solid var(--line); margin: 2.2rem 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--primary); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-2); }
.section--blue { background: linear-gradient(160deg, #0E63CE, #0A4FA8); color: #fff; }
.section--blue h1, .section--blue h2, .section--blue h3 { color: #fff; }
.section--surface { background: var(--surface); }
.lead { font-size: 1.16rem; color: var(--muted); max-width: 64ch; }
.section--blue .lead { color: #cfe2fb; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; color: var(--primary); margin-bottom: .7rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.rule { height: 5px; width: 90px; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--accent)); margin: 0 0 1.4rem; }
.center .rule { margin-inline: auto; }

/* badges / pills */
.badge { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; line-height: 1; }
.badge--blue { background: var(--primary-soft); color: var(--primary-d); }
.badge--accent { background: var(--accent-soft); color: var(--accent-d); }
.badge--green { background: var(--green-soft); color: #15894f; }
.pill { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .9rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.pill svg { width: 18px; height: 18px; color: var(--primary); flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .14s ease, background .14s ease, box-shadow .14s ease; line-height: 1; text-decoration: none; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 14px 26px -14px rgba(14,99,206,.8); }
.btn--primary:hover { background: var(--primary-d); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 14px 26px -14px rgba(255,90,46,.7); }
.btn--accent:hover { background: var(--accent-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--primary-d); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--primary-soft); color: var(--primary-d); border-color: var(--primary); }
.btn--light { background: #fff; color: var(--primary-d); }
.btn--light:hover { background: #eef4fc; color: var(--primary-d); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.center .btn-row { justify-content: center; }

/* topbar */
.topbar { background: var(--ink); color: #cdd6e3; font-size: .84rem; }
.topbar .inner { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: #cdd6e3; }
.topbar a:hover { color: #fff; }
.topbar .left { display: inline-flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.topbar .i { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 15px; height: 15px; color: var(--accent); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.2rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.4rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem; margin: 0; padding: 0; }
.primary-nav a { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--ink); padding: .5rem .7rem; border-radius: 999px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { background: var(--primary-soft); color: var(--primary-d); text-decoration: none; }
.header-cta { margin-left: .4rem; }
.nav-toggle { display: none; margin-left: auto; background: var(--primary-soft); color: var(--primary-d); border: none; border-radius: 999px; padding: .55rem .9rem; font-size: 1rem; cursor: pointer; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; }

@media (max-width: 1024px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .6rem 1.2rem 1.1rem; display: none; box-shadow: var(--shadow); }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; gap: .1rem; }
  .primary-nav a { display: block; padding: .75rem .6rem; font-size: 1.05rem; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.6rem, 5vw, 4.6rem); background: radial-gradient(1100px 480px at 88% -10%, var(--primary-soft), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
.hero h1 .hl { color: var(--primary); }
.hero h1 .hl-a { color: var(--accent); }
.hero .lead { font-size: 1.2rem; color: var(--muted); }
.hero-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.hero-art { position: relative; }
.hero-art .frame { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.hero-art .frame > * { aspect-ratio: 4/3.2; width: 100%; object-fit: cover; display: block; }
.float-chip { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--ink); font-size: .88rem; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-chip--a { bottom: 7%; left: -5%; }
.float-chip--b { top: 8%; right: -4%; }
/* decorative ball trajectory */
.traj { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; }

/* placeholders */
.ph { display: grid; place-items: center; width: 100%; color: var(--primary-d); font-family: var(--font-display); font-weight: 700; text-align: center; padding: .5rem; background: linear-gradient(135deg, #dfeafa, #eef4fc); }
.ph span { background: rgba(255,255,255,.7); padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-family: var(--font-body); color: var(--primary-d); }
.ph--accent { background: linear-gradient(135deg, #ffe2d8, #fff1ec); color: var(--accent-d); }

/* grids / cards */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card { background: var(--surface); border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem; }
.card-ico svg { width: 28px; height: 28px; }
.bg-blue { background: var(--primary-soft); color: var(--primary-d); }
.bg-accent { background: var(--accent-soft); color: var(--accent-d); }
.bg-green { background: var(--green-soft); color: #15894f; }
.bg-ball { background: #fff3d6; color: #a9760b; }

/* program / escalão cards */
.prog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.prog-card .top { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.prog-card .ic { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.prog-card .ic svg { width: 26px; height: 26px; }
.prog-card h3 { margin: 0; }
.prog-card .age { font-size: .82rem; color: var(--accent-d); font-weight: 700; }
.prog-card p { color: var(--muted); margin: 0 0 1rem; }
.prog-card .tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .76rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--bg-2); color: var(--muted); }

/* schedule / timetable */
.schedule { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule th, .schedule td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.schedule thead th { background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
.schedule tbody th { font-family: var(--font-display); font-weight: 700; color: var(--ink); background: var(--bg-2); white-space: nowrap; }
.schedule tbody tr:last-child td, .schedule tbody tr:last-child th { border-bottom: none; }
.schedule .slot { display: inline-block; background: var(--primary-soft); color: var(--primary-d); font-weight: 700; font-size: .82rem; padding: .25rem .55rem; border-radius: 8px; }
.schedule .slot--a { background: var(--accent-soft); color: var(--accent-d); }
.schedule .slot--g { background: var(--green-soft); color: #15894f; }
.table-wrap { overflow-x: auto; }

/* pricing */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.price-card .plan { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.price-card .price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--primary); line-height: 1; margin: .4rem 0 .2rem; }
.price-card .price small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); }
.price-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.price-card li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; color: var(--ink); font-size: .95rem; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--green-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FB66B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-position: center; background-size: 64%; background-repeat: no-repeat; }
.price-card .btn { margin-top: auto; }
.price-tag { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }

/* coaches */
.coach { text-align: center; }
.coach .photo { width: 100%; aspect-ratio: 1/1; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: .8rem; }
.coach .photo > * { width: 100%; height: 100%; object-fit: cover; }
.coach h3 { margin: 0; font-size: 1.1rem; }
.coach p { color: var(--accent-d); font-weight: 600; margin: 0; font-size: .9rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media .ph, .split-media img { border-radius: var(--r-lg); aspect-ratio: 4/3; box-shadow: var(--shadow-sm); width: 100%; object-fit: cover; }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 1.1rem 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .6rem; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--primary-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E63CE' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); background-position: center; background-size: 62%; background-repeat: no-repeat; }

/* steps */
.steps { display: grid; gap: var(--gap); counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--primary); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: .9rem; }
.step:nth-child(even) .n { background: var(--accent); }
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--muted); margin: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem,4vw,3rem); color: var(--primary); line-height: 1; }
.section--blue .stat .num { color: #fff; }
.stat p { color: var(--muted); margin: .4rem 0 0; font-size: .94rem; }
.section--blue .stat p { color: #cfe2fb; }

/* event cards */
.event-card { display: flex; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); align-items: center; }
.event-card .date { flex: none; width: 66px; text-align: center; background: var(--primary-soft); border-radius: 12px; padding: .5rem; }
.event-card .date .d { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--primary-d); line-height: 1; }
.event-card .date .m { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--primary); letter-spacing: .04em; }
.event-card h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.event-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* testimonials */
.quote { background: var(--surface); border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--ball); letter-spacing: 2px; margin-bottom: .5rem; }
.quote p { color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; margin-top: .5rem; }
.quote cite span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }

/* blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/10; width: 100%; }
.post-card img.thumb { height: auto; object-fit: cover; display: block; }
img.article-hero { width: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.cat-chip { align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; padding: .26rem .6rem; border-radius: 999px; margin-bottom: .6rem; }
.cat-guia { background: var(--primary-soft); color: var(--primary-d); }
.cat-noticia { background: var(--accent-soft); color: var(--accent-d); }
.post-card h3 { font-size: 1.14rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--primary); }
.post-card .meta { color: var(--dim); font-size: .84rem; margin-top: auto; padding-top: .8rem; }
.post-card .excerpt { color: var(--muted); font-size: .94rem; }

/* prose */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.1rem; }
.prose h3 { margin-top: 1.5rem; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose img { border-radius: var(--r); margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--accent); background: var(--bg-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); }
.prose blockquote p:last-child { margin-bottom: 0; }
.article-head { padding-top: clamp(2rem,5vw,3rem); }
.article-head h1 { max-width: 24ch; }
.article-meta { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.article-hero { aspect-ratio: 16/8; border-radius: var(--r-lg); margin: 1.8rem 0; box-shadow: var(--shadow-sm); }

/* sources */
.sources { background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1.2rem 1.4rem; margin: 2rem 0 0; font-size: .94rem; }
.sources h4 { font-family: var(--font-display); margin: 0 0 .6rem; font-size: 1rem; }
.sources ol { margin: 0; padding-left: 1.25rem; }
.sources li { margin-bottom: .35rem; color: var(--muted); }
.sources a { word-break: break-word; }

/* breadcrumbs / page head */
.crumbs { font-size: .85rem; color: var(--dim); padding-top: 1.1rem; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-head .inner { padding-block: clamp(2.2rem,5vw,3.4rem); }
.page-head h1 { margin-bottom: .3rem; }
.page-head p { color: var(--muted); max-width: 64ch; margin: 0; font-size: 1.06rem; }

/* FAQ */
.faq { max-width: 840px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: .8rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 1.25rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.06rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--primary); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.25rem 1.15rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* forms */
.form-card { background: var(--surface); border-radius: var(--r); padding: clamp(1.4rem,3vw,2.2rem); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-bottom: .35rem; font-size: .94rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px var(--primary-soft); }
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--muted); font-size: .9rem; font-family: var(--font-body); }
.field .check input { width: auto; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .84rem; color: var(--dim); margin-top: 1rem; }
.form-msg { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.3rem; font-weight: 600; }
.form-msg.ok { background: var(--green-soft); color: #15894f; }
.form-msg.err { background: var(--accent-soft); color: var(--accent-d); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: none; }
.info-list .ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; }
.info-list .ico svg { width: 21px; height: 21px; }
.info-list strong { display: block; color: var(--ink); }
.info-list a { color: var(--muted); }
.map-embed, .ph.map { border: 0; width: 100%; aspect-ratio: 16/11; border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* footer */
.site-footer { background: #0C1320; color: #aeb8c6; padding-block: clamp(2.6rem,6vw,4rem) 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--gap); }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: #aeb8c6; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand .brand small { color: #8b97a8; }
.footer-brand p { color: #8b97a8; font-size: .92rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .5rem; }
.footer-contact .i { display: flex; gap: .6rem; margin-bottom: .7rem; font-size: .92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.legal-bar { border-top: 1px solid rgba(255,255,255,.1); margin-top: 1.8rem; padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; justify-content: space-between; font-size: .82rem; color: #8b97a8; }
.legal-bar nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; margin: 0; padding: 0; }

/* cookie */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200; max-width: 720px; margin-inline: auto; background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line-2); padding: 1.3rem 1.5rem; display: none; }
.cookie.show { display: block; }
.cookie h4 { font-size: 1.1rem; margin: 0 0 .4rem; }
.cookie p { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.cookie .btn-row { margin-top: 0; }
.cookie .btn { font-size: .9rem; padding: .65rem 1.3rem; }

/* misc */
.notfound { text-align: center; padding-block: clamp(3rem,8vw,6rem); }
.notfound .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem,16vw,9rem); color: var(--primary); line-height: .9; }
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.4rem; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pagination .page-numbers:hover { text-decoration: none; border-color: var(--primary); color: var(--primary); }
.pagination .page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .legal-bar { flex-direction: column; align-items: flex-start; }
  .float-chip--a, .float-chip--b { position: static; margin-top: .6rem; display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .btn:hover, .card--link:hover { transform: none; }
}
