/* Projeto Topografia — site styles, built on top of ds-styles.css (Modernist design system). */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
a { color: var(--color-accent-700); }
a:not(.btn):not(.whatsapp-fab):hover { color: var(--color-accent); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.rule-b, .rule-t { border: 0; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { animation: none !important; transition: none !important; }
}

/* ── Reveal on scroll ───────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal][data-in] { opacity: 1; transform: none; }

/* ── Photos: full color, zoom + light-sweep shine on hover ──────── */
.ph { overflow: hidden; background: var(--color-surface); position: relative; border-radius: var(--radius-md); }
.ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.001);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.ph::after {
  content: ""; position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, color-mix(in srgb, var(--color-bg) 55%, transparent) 50%, transparent 58%);
  transform: translateX(-60%); transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ph:hover img, .lift:hover .ph img { transform: scale(1.06); }
.ph:hover::after, .lift:hover .ph::after { transform: translateX(60%); }

/* ── Cards that lift on hover ───────────────────────────────────── */
.lift { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── Top info bar ───────────────────────────────────────────────── */
.info-bar {
  display: flex; justify-content: center;
  background: var(--color-neutral-900); color: var(--color-neutral-100);
  font-size: 12.5px; line-height: 1.4;
}
.info-bar__inner {
  width: 100%; max-width: 1200px; display: flex; flex-wrap: wrap;
  gap: 8px 28px; padding: 11px 24px; align-items: center;
}
.info-item { display: inline-flex; align-items: center; gap: 6px; }
.info-bar__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.info-whatsapp {
  color: var(--color-neutral-100); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
}
.info-social { display: inline-flex; color: var(--color-neutral-300); opacity: .9; transition: color .2s, opacity .2s; }
.info-social:hover { color: var(--color-accent-400); opacity: 1; }

/* ── Header / nav ───────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 12px 0 12px;
  pointer-events: none;
}
.nav-bar {
  width: 100%; max-width: 1200px; padding: 16px 24px;
  background: color-mix(in srgb, var(--color-bg) 68%, transparent);
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  pointer-events: auto; display: flex; align-items: center; gap: 28px;
  transition: max-width .45s cubic-bezier(.2,.7,.2,1), background .35s, box-shadow .35s,
    padding .35s, margin .35s, border-radius .35s;
}
.nav-bar[data-stuck="true"] {
  max-width: 56rem; margin-top: 10px; padding: 10px 20px;
  background: color-mix(in srgb, var(--color-bg) 86%, transparent);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--shadow-md);
}
.nav-logo { display: block; line-height: 0; margin-right: auto; }
.nav-logo img { width: 210px; height: auto; transition: width .35s; }
.nav-bar[data-stuck="true"] .nav-logo img { width: 150px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-link {
  position: relative; color: var(--color-text); text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 6px 0; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--color-accent); transition: right .3s cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { right: 0; }
.nav-link[aria-current="page"] { color: var(--color-accent); }
.nav-cta { display: flex; }
.nav-mobile-btn { display: none; }
.header-spacer { height: 78px; }

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: inline-flex; }
  .info-bar { display: none; }
  .faq__intro { position: static; top: auto; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--color-bg);
  display: none; flex-direction: column; padding: 20px 24px; gap: 8px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
}
.mobile-menu__top img { width: 180px; height: auto; }
.mobile-menu__link {
  font-family: var(--font-heading); font-weight: 800; font-size: 32px; line-height: 1.1;
  color: var(--color-text); text-decoration: none; padding: 14px 16px;
  border-radius: var(--radius-md); transition: background .25s;
}
.mobile-menu__link:hover, .mobile-menu__link:active { background: var(--color-surface); }
.mobile-menu__cta { justify-content: flex-start; margin-top: auto; padding: 14px 16px; font-size: 16px; }

/* ── Hero (home) ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}
.hero__cursor-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.contour__points circle {
  transform-box: fill-box; transform-origin: center;
  animation: contourPing 2.8s ease-in-out infinite;
}
.contour__points circle:nth-child(2) { animation-delay: .7s; }
.contour__points circle:nth-child(3) { animation-delay: 1.4s; }
@keyframes contourPing {
  0%, 100% { opacity: .6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}
.contour__path { animation: contourFlow 5s linear infinite; }
@keyframes contourFlow { to { stroke-dashoffset: -24; } }
.hero__content { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(72px,10vw,140px) 24px clamp(64px,8vw,112px); }
.eyebrow {
  display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent-700); font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(42px,6vw,88px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 28px -0.05em; max-width: 14ch; }
.hero p.lead { font-size: clamp(17px,1.5vw,20px); max-width: 52ch; margin: 0 0 36px; color: var(--color-neutral-800); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Stats ──────────────────────────────────────────────────────── */
.stats-section { position: relative; background: var(--color-neutral-900); overflow: hidden; }
.stats {
  position: relative; z-index: 1;
  padding: 40px 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px 48px;
}
.stat { display: flex; align-items: center; gap: 16px; min-width: 0; }
.stat p.num {
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px,2.8vw,36px);
  line-height: 1; color: var(--color-accent); margin: 0; flex: none; font-variant-numeric: tabular-nums;
}
.stat p.label { font-size: 13px; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: var(--color-neutral-400); margin: 0; font-weight: 600; min-width: 0; }

/* ── Section heads ──────────────────────────────────────────────── */
.section-head {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 20px 48px; align-items: start; margin-bottom: 48px;
}
.section-head p { margin-top: 40px; }
.section-head h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 0 -0.04em; }
.section-head p { margin: 0; color: var(--color-neutral-800); max-width: 48ch; }
.services { padding: 72px 24px 64px; }

/* ── Services — variant A: ruled rows with photo ───────────────── */
.service-row {
  display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center;
  padding: 28px 24px; border-radius: var(--radius-lg); background: var(--color-surface);
  margin-bottom: 16px; transition: box-shadow .35s;
}
.service-row:last-child { margin-bottom: 0; }
.service-row__head { flex: 1 1 260px; min-width: 0; display: flex; gap: 20px; align-items: flex-start; }
.service-row__num {
  font-family: var(--font-heading); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums;
  padding-top: 6px; position: relative; padding-left: 20px; flex: none;
}
.service-row__num::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); }
.service-row h3 {
  font-size: clamp(22px,2vw,28px); line-height: 1.1; letter-spacing: -.01em; margin: 0; min-width: 0;
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.service-row__desc { flex: 1.3 1 280px; min-width: 0; margin: 0; color: var(--color-neutral-800); font-size: 16px; }
.service-row__link { flex: 0 0 auto; justify-content: flex-start; padding: 8px 6px; }
.service-row__photo { flex: 0 0 min(320px,100%); aspect-ratio: 2/1; }

/* ── Services — variant B: card grid (unused by default, kept for reference) ── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; background: var(--color-surface); color: inherit; text-decoration: none;
  position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card .ph { aspect-ratio: 2/1; border-radius: 0; }
.service-card__num {
  position: absolute; left: 0; top: 0; background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-weight: 800; font-size: 13px; padding: 6px 10px; font-variant-numeric: tabular-nums;
  border-radius: 0 0 var(--radius-sm) 0;
}
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-card h3 { font-size: 22px; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.service-card p { margin: 0; color: var(--color-neutral-800); font-size: 15.5px; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--color-accent-700); font-weight: 800; font-family: var(--font-heading); font-size: 14px; }

/* ── Split (photo + text) ───────────────────────────────────────── */
.split { padding: 64px 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 40px clamp(24px,5vw,96px); align-items: center; }
.split h2 { font-size: clamp(28px,3vw,40px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px -0.04em; }
.split p { margin: 0 0 24px; color: var(--color-neutral-800); max-width: 46ch; }
.split .ph { aspect-ratio: 3/2; }

/* ── Testimonials ───────────────────────────────────────────────── */
.testimonials { padding: 72px 24px; background: var(--color-surface); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.testimonial { background: var(--color-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; margin: 0; }
.testimonial blockquote { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; flex: 1; }
.testimonial figcaption { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-700); font-weight: 600; margin: 0; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq { padding: 72px 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 40px clamp(24px,5vw,80px); align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 20px -0.04em; }
.faq__intro p { margin: 0 0 24px; color: var(--color-neutral-800); max-width: 44ch; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--color-surface); border-radius: var(--radius-md); padding: 0 20px; }
.faq-item__btn {
  all: unset; cursor: pointer; display: flex; width: 100%; gap: 20px; align-items: flex-start;
  justify-content: space-between; padding: 18px 0; font-family: var(--font-heading); font-weight: 800;
  font-size: 18px; line-height: 1.3; letter-spacing: -.01em; color: inherit; box-sizing: border-box;
}
.faq-item__chev { flex: none; margin-top: 3px; transition: transform .35s; }
.faq-item[data-open="true"] .faq-item__chev { transform: rotate(180deg); }
.faq-item__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1); }
.faq-item[data-open="true"] .faq-item__body { grid-template-rows: 1fr; }
.faq-item__body > div { overflow: hidden; }
.faq-item__body p { margin: 0 0 22px; color: var(--color-neutral-800); max-width: 64ch; }

/* ── CTA banner ─────────────────────────────────────────────────── */
.cta-banner { padding: clamp(28px,4vw,48px) 24px; }
.cta-banner__inner {
  max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden; isolation: isolate;
  color: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(36px,5vw,56px) clamp(28px,5vw,56px);
  display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px 56px; align-items: center;
}
.cta-banner__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url('assets/servico-4.png') center 35%/cover no-repeat;
  filter: grayscale(1) contrast(1.1) brightness(.55);
}
.cta-banner__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--color-accent-800) 0%, var(--color-accent) 55%, var(--color-accent-700) 100%);
  opacity: .94;
}
.cta-banner h2 { font-size: clamp(28px,3.4vw,40px); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.cta-banner p { font-size: clamp(15.5px,1.2vw,17px); font-weight: 400; line-height: 1.55; margin: 0 0 20px; max-width: 42ch; opacity: .92; }
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner .btn { padding: 13px 22px; font-size: 14.5px; }
.cta-banner .btn-white { background: #fff; color: var(--color-accent-700); }
.cta-banner .btn-ghost-inverse { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.cta-banner .btn-ghost-inverse:hover { background: rgba(255,255,255,.14); }

/* ── Page heroes (sobre / serviço / blog / contato) ────────────── */
.page-hero { padding: clamp(56px,7vw,100px) 24px 56px; }
.page-hero h1 { font-size: clamp(40px,5.5vw,80px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 0 -0.05em; max-width: 16ch; }
.page-hero.has-cta h1 { margin-bottom: 24px; }
.wide-photo { aspect-ratio: 21/9; }

/* ── Sobre ──────────────────────────────────────────────────────── */
.about-text { padding: 64px 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 40px clamp(24px,5vw,96px); align-items: start; }
.about-text h2 { font-size: clamp(28px,3vw,40px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 0 -0.04em; }
.about-text .copy { color: var(--color-neutral-800); display: flex; flex-direction: column; gap: 16px; }
.about-text .copy p { margin: 0; }
.pillars { padding: 48px 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.pillar { padding: 32px 28px; border-radius: var(--radius-lg); background: var(--color-surface); }
.pillar__dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); margin-bottom: 24px; }
.pillar h3 { font-size: 24px; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 12px; }
.pillar p { margin: 0; color: var(--color-neutral-800); font-size: 16px; max-width: 40ch; }
.about-data { margin-bottom: 64px; padding: 48px 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px 40px; font-size: 15px; background: var(--color-surface); border-radius: var(--radius-lg); }
.data-label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-700); font-weight: 600; margin-bottom: 6px; }

/* ── Serviço (detalhe) ──────────────────────────────────────────── */
.service-hero { padding: clamp(48px,6vw,88px) 24px 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 40px clamp(24px,5vw,96px); align-items: center; }
.service-hero__text { padding-bottom: 56px; min-width: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-700); font-weight: 600; margin-bottom: 20px; text-decoration: none; }
.service-hero h1 {
  font-size: clamp(40px,5.5vw,76px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 24px -0.05em;
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.service-hero p.lead { font-size: clamp(17px,1.5vw,20px); max-width: 48ch; margin: 0 0 32px; color: var(--color-neutral-800); }
.service-hero .ph { aspect-ratio: 4/3; }
.service-detail { padding: 64px 24px; display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 48px clamp(24px,5vw,96px); }
.steps-list { display: flex; flex-direction: column; gap: 10px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius-md); background: var(--color-surface); }
.step__num { font-family: var(--font-heading); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; padding-top: 4px; }
.step h3 { font-size: 20px; line-height: 1.15; margin: 0 0 6px; }
.step p { margin: 0; color: var(--color-neutral-800); font-size: 15.5px; }
.other-services { display: flex; flex-direction: column; gap: 4px; }
.other-service-link {
  display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 14px;
  border-radius: var(--radius-md); font-size: 17px; font-weight: 800; font-family: var(--font-heading);
  color: var(--color-text); text-decoration: none; transition: background .25s, color .25s;
}
.other-service-link:hover { color: var(--color-accent); background: var(--color-surface); }

/* ── Blog ───────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; color: var(--color-text); text-decoration: none;
  background: var(--color-surface); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card .ph { aspect-ratio: 16/9; border-radius: 0; }
.blog-card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 26px; }
.blog-card__meta { display: flex; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-700); font-weight: 600; }
.blog-card__meta .tag { color: var(--color-accent-700); }
.blog-card h2 { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; margin: 0; color: var(--color-text); transition: color .2s; }
.blog-card:hover h2 { color: var(--color-accent); }
.blog-card p { margin: 0; color: var(--color-neutral-800); font-size: 15px; }

/* ── Contato ────────────────────────────────────────────────────── */
.contact-grid { padding: clamp(56px,7vw,100px) 24px 72px; display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 48px clamp(24px,5vw,96px); align-items: start; }
.contact-grid h1 { font-size: clamp(40px,5.5vw,72px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 24px -0.05em; }
.contact-grid > .contact-info > p { margin: 0 0 32px; color: var(--color-neutral-800); max-width: 44ch; }
.contact-info .btn-primary { margin-bottom: 40px; }
.contact-info__data { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 24px; padding: 24px; font-size: 15px; background: var(--color-surface); border-radius: var(--radius-lg); }
.contact-map {
  margin-top: 32px; aspect-ratio: 16/9; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--color-surface); padding: 32px 28px; border-radius: var(--radius-lg); align-self: start; }
.contact-form h2 { font-size: 24px; letter-spacing: -.01em; margin: 0 0 4px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 16px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--color-divider); border-radius: 999px; padding: 7px 14px; font-size: 13px;
  background: var(--color-bg); color: var(--color-text); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip[aria-pressed="true"] { background: var(--color-accent); color: #fff; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--color-neutral-800); cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--color-accent); flex: none; cursor: pointer; }
.consent a { color: var(--color-accent-700); text-decoration: underline; }
.consent-error { margin: -10px 0 0; font-size: 13px; color: var(--color-accent-700); font-weight: 600; }
.form-submit { justify-content: flex-start; padding: 14px 20px; font-size: 15px; align-self: flex-start; }
.form-note { margin: -8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--color-neutral-700); }
.form-note a { color: inherit; text-decoration: underline; }

/* ── Legal pages (privacy policy) ──────────────────────────────────── */
.legal-content { padding: 0 24px 96px; max-width: 780px; margin: 0 auto; }
.legal-content .updated { color: var(--color-neutral-700); font-size: 14px; margin: 0 0 40px; }
.legal-content section { margin-bottom: 40px; }
.legal-content h2 { font-size: 22px; letter-spacing: -.01em; margin: 0 0 14px; }
.legal-content p { color: var(--color-neutral-800); margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 20px; color: var(--color-neutral-800); }
.legal-content li { margin-bottom: 8px; }
.legal-content a { text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer { position: relative; overflow: hidden; background: var(--color-neutral-900); color: var(--color-neutral-200); }
.footer-cursor-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.footer-grid {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px;
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 40px;
}
.footer-grid img { width: 220px; height: auto; margin-bottom: 20px; }
.footer-grid p { margin: 0 0 16px; font-size: 14px; color: var(--color-neutral-400); max-width: 34ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social .btn-icon { border: 1px solid var(--color-neutral-700); color: var(--color-neutral-200); }
.footer-col { font-size: 14px; line-height: 1.7; }
.footer-col h5 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-400); margin: 0 0 12px; }
.footer-col a { color: var(--color-neutral-100); }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a { text-decoration: none; }
.footer-map { aspect-ratio: 16/11; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-map__link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 13px; font-weight: 600; color: var(--color-neutral-100); text-decoration: none;
}
.footer-map__link:hover { color: var(--color-accent-400); }
.footer-map__link svg { display: block; }
.footer-bottom {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
  font-size: 12.5px; color: var(--color-neutral-500); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}

/* ── Floating WhatsApp button ──────────────────────────────────────── */
.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .25s, box-shadow .25s;
}
.whatsapp-fab::before {
  content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: 50%;
  background: #25d366; opacity: .45; animation: whatsappPulse 2.4s ease-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(0,0,0,.32); }
@keyframes whatsappPulse {
  0% { transform: scale(.85); opacity: .45; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

/* ── Cookie consent overlay ─────────────────────────────────────────── */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px; background: color-mix(in srgb, var(--color-neutral-900) 55%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cookie-overlay[hidden] { display: none; }
.cookie-card {
  width: min(480px, 100%); background: var(--color-bg); color: var(--color-text);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px 28px; margin-bottom: clamp(16px, 4vw, 48px);
  animation: cookieIn .45s cubic-bezier(.2,.7,.2,1);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.cookie-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px;
  background: color-mix(in srgb, var(--color-accent) 12%, transparent); color: var(--color-accent);
}
.cookie-card h2 { font-size: 19px; letter-spacing: -.01em; margin: 0 0 10px; }
.cookie-card p { font-size: 14px; line-height: 1.55; color: var(--color-neutral-800); margin: 0 0 22px; }
.cookie-card p a { color: var(--color-accent-700); text-decoration: underline; }
.cookie-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-card__actions .btn { padding: 12px 20px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab::before { animation: none; }
  .cookie-card { animation: none; }
}

/* ── Accessibility widget: font size + dark mode ───────────────────── */
.a11y-widget { position: fixed; left: 20px; bottom: 20px; z-index: 44; }
.a11y-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--color-accent); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .25s, box-shadow .25s, background .2s;
}
.a11y-toggle:hover { transform: scale(1.08); box-shadow: 0 12px 28px rgba(0,0,0,.32); }
.a11y-panel {
  position: absolute; left: 0; bottom: 64px; width: 250px;
  background: var(--color-bg); color: var(--color-text); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px 20px; border: 1px solid var(--color-divider);
  animation: cookieIn .3s cubic-bezier(.2,.7,.2,1);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel h3 { font-size: 15px; margin: 0 0 14px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 13px; }
.a11y-fontctrls { display: flex; gap: 4px; }
.a11y-fontctrls button {
  width: 30px; height: 30px; border-radius: var(--radius-sm); border: 1px solid var(--color-divider);
  background: var(--color-surface); color: var(--color-text); cursor: pointer; font-weight: 700; font-size: 12px;
  transition: background .2s, color .2s, border-color .2s;
}
.a11y-fontctrls button:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.a11y-switchrow { cursor: pointer; }
.a11y-switch { display: inline-flex; position: relative; }
.a11y-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.a11y-switch__track {
  width: 38px; height: 22px; border-radius: 999px; background: var(--color-divider); position: relative; flex: none;
  transition: background .2s;
}
.a11y-switch__thumb {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-bg); box-shadow: var(--shadow-sm); transition: transform .2s;
}
.a11y-switch input:checked + .a11y-switch__track { background: var(--color-accent); }
.a11y-switch input:checked + .a11y-switch__track .a11y-switch__thumb { transform: translateX(16px); }
.a11y-hint { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--color-neutral-700); }
@media (prefers-reduced-motion: reduce) { .a11y-panel { animation: none; } }
