/* =========================================================
   PROTON CONSTRUTORA & INCORPORADORA — One Page
   ========================================================= */

:root {
  --azul: #0062FF;          /* azul do emblema (cor oficial do logo) */
  --azul-escuro: #0A2540;   /* azul escuro — cor original da marca */
  --azul-night: #061A2E;    /* fundo profundo */
  --cinza-900: #1C2530;
  --cinza-700: #3A4451;
  --cinza-500: #5F6873;     /* escurecido p/ contraste AA sobre --cinza-50 */
  --cinza-300: #C7CDD4;
  --cinza-100: #EEF1F5;
  --cinza-50:  #F6F8FB;
  --branco: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow: 0 18px 50px -20px rgba(10, 37, 64, .25);
  --shadow-sm: 0 6px 24px -12px rgba(10, 37, 64, .30);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--cinza-900);
  background: var(--branco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.12; letter-spacing: -.02em; }

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--azul); color: #fff; box-shadow: 0 10px 30px -10px rgba(0,98,255,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(0,98,255,.7); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.0); transition: background .3s, box-shadow .3s, padding .3s;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgba(10,37,64,.08);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
/* logo recortada (sem margem transparente). Tamanho pedido: 1,7x de 21px */
.brand { display: flex; align-items: center; min-height: 46px; }
.brand-logo { height: 36px; width: auto; transition: height .3s; }
.site-header.scrolled .brand-logo { height: 31px; }
/* logo branco no topo (hero escuro) */
.brand-logo { filter: brightness(0) invert(1); }
.site-header.scrolled .brand-logo { filter: none; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-weight: 500; font-size: .96rem; color: #fff; transition: color .2s, opacity .2s; opacity: .92; }
.nav a:hover { opacity: 1; }
.site-header.scrolled .nav a { color: var(--cinza-700); }
.site-header.scrolled .nav a:hover { color: var(--azul); }
.nav-cta {
  background: var(--azul); color: #fff !important; padding: 10px 22px;
  border-radius: 999px; opacity: 1 !important;
  box-shadow: 0 8px 22px -10px rgba(0,98,255,.7);
}
.nav-cta:hover { transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--cinza-900); }

/* ===== HERO ===== */
.hero { position: relative; color: #fff; overflow: hidden; padding: 168px 0 110px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(0,98,255,.35), transparent 60%),
    linear-gradient(160deg, var(--azul-escuro) 0%, var(--azul-night) 60%, #04101d 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent 75%);
}
.eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; color: #8fb8ff; margin-bottom: 22px;
  padding: 7px 16px; border: 1px solid rgba(143,184,255,.35); border-radius: 999px;
}
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 span { color: #5e9bff; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 620px; color: #cdd9ea; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== SECTIONS GENÉRICAS ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--cinza-50); }
.section-eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--azul); margin-bottom: 14px; }
.section-eyebrow.light { color: #5e9bff; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; color: var(--azul-escuro); margin-bottom: 18px; }
.section-title.light { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-desc { color: var(--cinza-500); font-size: 1.08rem; }
.lead { font-size: 1.12rem; color: var(--cinza-700); margin-bottom: 18px; }
.lead.light { color: #cdd9ea; }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

.link-arrow { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--azul); transition: gap .2s; }
.link-arrow:hover { text-decoration: underline; }

/* ===== SOBRE ===== */
.about-card {
  background: var(--azul-escuro); color: #fff; border-radius: var(--radius);
  padding: 44px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.about-emblem { position: absolute; right: -24px; bottom: -18px; width: 170px; opacity: .22; }
.about-card h3 { font-size: 1.3rem; margin-bottom: 22px; }
.values { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.values li {
  position: relative; padding-left: 26px; font-weight: 600; color: #dce6f4;
}
.values li::before { content: "▸"; position: absolute; left: 0; color: #5e9bff; }

/* ===== SERVIÇOS ===== */
/* flex + wrap centraliza a última linha quando o número de cards não é múltiplo de 3 */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.cards > .card { flex: 0 1 calc((100% - 48px) / 3); }
.card {
  background: #fff; border: 1px solid var(--cinza-100); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.6rem; background: linear-gradient(135deg, #e9f1ff, #d4e4ff); margin-bottom: 20px;
}
.card h3 { font-size: 1.22rem; color: var(--azul-escuro); margin-bottom: 10px; }
.card p { color: var(--cinza-500); font-size: .98rem; }

/* ===== DIFERENCIAIS ===== */
.diffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.diff {
  position: relative; padding: 32px 32px 32px 34px; border-radius: var(--radius);
  background: var(--cinza-50); border-left: 4px solid var(--azul);
}
.diff-num { font-family: 'Sora', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--azul); }
.diff h3 { font-size: 1.22rem; color: var(--azul-escuro); margin: 8px 0 8px; }
.diff p { color: var(--cinza-500); }

/* ===== OBRAS / PORTFÓLIO ===== */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -24px 0 36px; }
.filter {
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--cinza-300);
  background: #fff; color: var(--cinza-700); transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--azul); color: var(--azul); }
.filter.active { background: var(--azul-escuro); border-color: var(--azul-escuro); color: #fff; }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
.projects:not(.filtered) .project-wide { grid-column: span 2; aspect-ratio: auto; }
.project {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--azul-escuro);
  aspect-ratio: 4/3; text-align: left; font: inherit; color: #fff;
}
.project[hidden] { display: none; }
.projects:not(.filtered) .project-featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.project img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.project::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,46,0) 35%, rgba(6,26,46,.88) 100%);
  transition: background .4s;
}
.project:hover img, .project:focus-visible img { transform: scale(1.06); }
.project:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.project-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px; }
.project-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--azul); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.project-name { display: block; font-family: 'Sora', 'Inter', sans-serif; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; font-size: 1.2rem; margin-bottom: 4px; }
.project-featured .project-name { font-size: 1.7rem; }
.project-desc {
  display: block; font-size: .9rem; color: #cdd9ea; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s var(--ease), opacity .4s;
}
.project-featured .project-desc, .project:hover .project-desc, .project:focus-visible .project-desc { max-height: 80px; opacity: 1; }
.project-count { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 600; color: #8fb8ff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4,16,29,.985);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: 1fr auto;
  align-items: center; padding: 24px 12px 16px;
}
.lightbox[hidden] { display: none; }
.lb-figure { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; min-height: 0; height: 100%; justify-content: center; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); object-fit: contain; border-radius: 8px; }
.lb-figure figcaption { display: flex; gap: 14px; align-items: baseline; color: #dce6f4; margin-top: 12px; }
.lb-figure figcaption span { color: #9fb0c4; font-size: .9rem; }
.lb-close {
  position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lb-nav {
  grid-row: 1; width: 48px; height: 48px; border-radius: 50%; border: 0; justify-self: center;
  background: rgba(255,255,255,.1); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lb-prev { grid-column: 1; } .lb-next { grid-column: 3; }
.lb-fs {
  position: absolute; top: 14px; right: 70px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.lb-fs[hidden] { display: none; }
.lb-fs .ico-exit { display: none; }
.lightbox.is-fs .lb-fs .ico-enter { display: none; }
.lightbox.is-fs .lb-fs .ico-exit { display: block; }
/* modo tela cheia: foto ocupando toda a tela, sem legenda e sem miniaturas */
.lightbox.is-fs { background: #000; padding: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; }
.lightbox.is-fs .lb-thumbs, .lightbox.is-fs figcaption { display: none; }
.lightbox.is-fs .lb-figure { grid-column: 1; }
.lightbox.is-fs .lb-figure img { max-width: 100%; max-height: 100vh; max-height: 100dvh; border-radius: 0; }
/* setas sobre a foto, sempre visíveis, qualquer que seja a proporção da foto */
.lightbox.is-fs .lb-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; background: rgba(0,0,0,.45); }
.lightbox.is-fs .lb-prev { left: 12px; } .lightbox.is-fs .lb-next { right: 12px; }
.lb-close:hover, .lb-nav:hover, .lb-fs:hover { background: var(--azul); }
.lb-fs:focus-visible { outline: 3px solid #8fb8ff; outline-offset: 2px; }
/* flex-start + margens automáticas: centraliza sem cortar o início quando a faixa transborda */
.lb-thumbs { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 8px; justify-content: flex-start; overflow-x: auto; padding: 12px 4px 4px; }
.lb-thumbs button:first-child { margin-left: auto; }
.lb-thumbs button:last-child { margin-right: auto; }
.lb-thumbs button { flex-shrink: 0; padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; opacity: .5; transition: opacity .2s; }
.lb-thumbs button:hover, .lb-thumbs button.active { opacity: 1; }
.lb-thumbs button.active { border-color: var(--azul); }
.lb-thumbs button:focus-visible, .lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid #8fb8ff; outline-offset: 2px; }
.lb-thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }

/* ===== INSTAGRAM ===== */
:root { --ig: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.insta-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.insta-profile { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--azul-escuro); }
.insta-profile strong { display: block; font-size: 1.08rem; }
.insta-profile small { display: block; color: var(--cinza-500); font-size: .85rem; }
.insta-avatar { width: 68px; height: 68px; border-radius: 50%; padding: 3px; background: var(--ig); flex-shrink: 0; }
.insta-avatar img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: contain;
  background: #fff; border: 3px solid #fff; padding: 9px;
}
.insta-profile:hover strong { color: var(--azul); }
.btn-insta { background: var(--ig); color: #fff; margin-top: 10px; box-shadow: 0 12px 30px -12px rgba(220,39,67,.6); }
.btn-insta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(220,39,67,.7); }

.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--cinza-100); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-tile::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: rgba(10,37,64,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.3'/%3E%3Ccircle cx='17.6' cy='6.4' r='1.1' fill='white' stroke='none'/%3E%3C/svg%3E") center / 34px no-repeat;
}
.insta-tile:hover img, .insta-tile:focus-visible img { transform: scale(1.06); }
.insta-tile:hover::after, .insta-tile:focus-visible::after { opacity: 1; }
.insta-tile:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }

/* atalhos do Instagram no menu, contato e rodapé */
.nav-ig { display: inline-flex; align-items: center; gap: 8px; }
.nav-ig-label { display: none; }
.contact-ico svg { color: #dce6f4; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; color: #dce6f4; font-weight: 600; transition: color .2s; }
.footer-social:hover { color: #fff; }

/* ===== CONTATO ===== */
.contato { position: relative; color: #fff; background: linear-gradient(160deg, var(--azul-escuro), var(--azul-night)); }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.contact-list a { color: #dce6f4; transition: color .2s; }
.contact-list a:hover { color: #fff; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--cinza-700); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--cinza-100); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--cinza-900); background: var(--cinza-50);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--azul); background: #fff; }
.field textarea { resize: vertical; }
.field ::placeholder { color: var(--cinza-500); opacity: 1; }
.form-hint { font-size: .82rem; color: var(--cinza-500); margin-top: 12px; text-align: center; }

/* ===== FOOTER ===== */
.site-footer { background: #04101d; color: #aebfd4; padding: 54px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-logo { height: 24px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer-tag { font-size: .95rem; letter-spacing: .02em; }
.footer-copy { font-size: .85rem; color: #6c7e93; }

/* ===== WHATSAPP FLUTUANTE ===== */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s var(--ease);
}
.whats-float:hover { transform: scale(1.08) translateY(-2px); }

/* ===== ANIMAÇÃO REVEAL ===== */
/* usa a propriedade `translate` (não `transform`) para não anular os efeitos de hover */
.reveal { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease), translate .7s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.reveal.in { opacity: 1; translate: none; }

/* ===== RESPONSIVO ===== */
@media (max-width: 920px) {
  .grid-2 { grid-template-columns: 1fr; gap: 38px; }
  .insta-inner { grid-template-columns: 1fr; gap: 36px; }
  .cards > .card { flex-basis: calc((100% - 24px) / 2); }
  .diffs { grid-template-columns: 1fr; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .projects:not(.filtered) .project-featured { grid-row: span 1; aspect-ratio: 16/10; }
  .projects:not(.filtered) .project-wide { aspect-ratio: 16/10; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 auto auto; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--azul-escuro); padding: 40px; transform: translateX(110%);
    transition: transform .35s var(--ease), visibility 0s linear .35s; box-shadow: -20px 0 60px -20px rgba(0,0,0,.5);
    visibility: hidden; /* fora da ordem do Tab quando fechado */
  }
  .nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav a { color: #fff !important; font-size: 1.1rem; }
  .site-header.scrolled .nav a { color: #fff; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-ig-label { display: inline; }
  .insta-grid { gap: 6px; }
  .insta-tile { border-radius: 8px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background:#fff; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background:#fff; }
  .hero { padding: 140px 0 80px; }
  .section { padding: 72px 0; }
  .cards > .card { flex-basis: 100%; }
  .projects { grid-template-columns: 1fr; }
  .projects:not(.filtered) .project-featured,
  .projects:not(.filtered) .project-wide { grid-column: auto; aspect-ratio: 4/3; }
  .project-desc { max-height: 80px; opacity: 1; }
  .project-featured .project-name { font-size: 1.3rem; }
  .lightbox { grid-template-columns: 1fr; padding: 60px 8px 12px; }
  .lb-figure { grid-column: 1; }
  /* setas sobre a foto no celular */
  .lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; background: rgba(4,16,29,.6); z-index: 1; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .contact-form { padding: 26px; }
}
@media (max-width: 340px) {
  /* telas muito estreitas: logo + menu cabem sem achatar a logo */
  .brand-logo { height: 32px; }
  .site-header.scrolled .brand-logo { height: 28px; }
}
@media (max-width: 460px) {
  .values { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  html { scroll-behavior: auto; }
}
