/* ───────── Fonts (self-hosted, sem pedidos a terceiros) ───────── */
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/caveat-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

/* ───────── Tokens ───────── */
:root {
  --ink: #0e3340;
  --ink-soft: #2f4c56;
  --muted: #5d7077;
  --eyebrow: #44708c; /* azul-acinzentado do KV, escurecido para AA sobre os painéis */
  --bg: #f6f4f0;
  --surface: #ffffff;
  --panel: #f1efeb;
  --line: #e4e0d9;
  --line-strong: #d3cec5;
  --green: #3f8b69;
  --green-soft: #e6eee8;
  --gold: #b8935a;
  --lavender: #8479b0;

  --t-sage: #e7eee8;
  --t-sand: #f8efdf;
  --t-sky: #e5eff7;
  --t-lilac: #eeebf7;
  --t-blush: #f9e5e1;

  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 10px;
  --shadow: 0 1px 2px rgba(14, 51, 64, .04), 0 8px 24px rgba(14, 51, 64, .06);
  --shadow-lift: 0 2px 4px rgba(14, 51, 64, .05), 0 16px 36px rgba(14, 51, 64, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.view-open { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7fb2cf; outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 16px; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow); font-weight: 500; margin-bottom: 8px; }
.section-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 650; letter-spacing: -.025em; }
.section-lead { color: var(--ink-soft); margin-top: 8px; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border-radius: 6px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 17px; text-decoration: none; line-height: 1.2;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, opacity .2s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #154454; box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: rgba(14, 51, 64, .05); }
.btn-soft { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-soft:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: #e3e6e7; color: #9aa5a9; border-color: transparent; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.link-btn:hover { color: var(--eyebrow); }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  transition: transform .25s var(--ease);
}

/* ───────── Header ───────── */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
/* Logo VWGS: usar sempre a versão com o fundo azul (não recortar nem aplicar sobre outras cores) */
.brand { display: inline-flex; text-decoration: none; flex: none; }
.brand img { height: 48px; width: auto; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%230e3340' stroke-width='1.6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center;
  border: 1px solid transparent; border-radius: 6px;
  padding: 6px 26px 6px 12px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.lang-select:hover { border-color: var(--line-strong); background-color: rgba(255,255,255,.6); }

/* ───────── Hero ───────── */
/* A altura acompanha a largura do ecrã para a foto (≈3:2) nunca ficar demasiado cortada */
.hero { position: relative; overflow: hidden; min-height: clamp(500px, 36vw, 720px); display: flex; align-items: center; background: #efebe5; }
.hero-media { position: absolute; inset: 0 0 0 max(34%, min(calc(100% - 1180px), calc(50% - 80px))); overflow: hidden; }
.hero-photo img { animation: heroZoom 2.4s var(--ease) both; }
@keyframes heroZoom { from { scale: 1.08; } }
/* Camada de parallax: mais alta do que a área visível, desliza ao fazer scroll (app.js) */
.hero-photo { position: absolute; inset: -10% 0; will-change: transform; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 78%;
  transform: scale(1.04) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
/* Fusão com o fundo por máscara (sem costura de 1px como num overlay) */
.hero-media {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 10%, rgba(0, 0, 0, .65) 24%, #000 40%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 10%, rgba(0, 0, 0, .65) 24%, #000 40%);
}
.hero-inner { z-index: 2; will-change: transform, opacity; }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 72px; }
.hero-title { font-size: clamp(40px, 5.6vw, 64px); max-width: 11ch; letter-spacing: -.03em; font-weight: 650; line-height: 1.05; }
.hero-lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 40ch; }
.hero-rule { display: block; width: 36px; height: 1.5px; background: var(--ink); opacity: .5; margin: 28px 0; }
.hero-cta .i { width: 18px; height: 18px; }

@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } }
.reveal { animation: rise .9s var(--ease) both; }
.hero-inner .reveal:nth-child(2) { animation-delay: .12s; }
.hero-inner .reveal:nth-child(3) { animation-delay: .22s; }
.hero-inner .reveal:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ───────── Sections ───────── */
.section { padding: 20px 0; scroll-margin-top: 16px; }
.section:first-of-type { padding-top: 28px; }
.panel { background: var(--panel); border-radius: var(--radius-l); padding: clamp(24px, 3.4vw, 40px); }

/* ───────── Experience cards ───────── */
.cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink);
  background: var(--tint, var(--t-sage));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* Fotografia: proporção fixa + object-fit, enquadrada no ponto focal de cada imagem */
.card-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card-media::after { content: ''; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--tint) 55%, transparent)); pointer-events: none; }
.card .card-body { flex: 1; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 18px 24px; }
.card-badge {
  width: 60px; height: 60px; margin: -30px auto 14px; position: relative; z-index: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--tint); box-shadow: 0 0 0 4px var(--tint), 0 6px 16px rgba(14, 51, 64, .10);
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), var(--shadow-lift); }
.card:hover .card-media img { transform: scale(1.05); }
.card-icon { width: 34px; height: 34px; stroke-width: 1.4; transition: transform .5s var(--ease); }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 18px; font-weight: 650; letter-spacing: -.015em; line-height: 1.22; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.45; flex: 1; text-wrap: pretty; }
.card .format { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.card .format .i { width: 15px; height: 15px; }
.tint-sage { --tint: var(--t-sage); }
.tint-sand { --tint: var(--t-sand); }
.tint-sky { --tint: var(--t-sky); }
.tint-lilac { --tint: var(--t-lilac); }
.tint-blush { --tint: var(--t-blush); }

/* ───────── Check-up ───────── */
.checkup-panel { display: grid; grid-template-columns: 1fr 250px; gap: 28px; align-items: stretch; }
.checkup-aside {
  border-radius: var(--radius); overflow: hidden; min-height: 400px;
  background: #e6e1da url('../img/plant-tall.jpg') center / cover no-repeat;
  display: flex; align-items: center; padding: 64px 22px 0;
  animation: rise .9s var(--ease) both;
}
.handwritten {
  font-family: var(--hand); font-size: 34px; line-height: 1.12; color: var(--ink); font-weight: 600;
  max-width: 6.5ch; transform: rotate(-5deg); transform-origin: left center;
}
.handwritten::after { content: ''; display: block; width: 32px; height: 1.5px; background: var(--ink); margin-top: 18px; opacity: .7; transform: rotate(5deg); }
/* No resultado o KV mostra o conteúdo a toda a largura, sem o cartão da planta */
.checkup-panel:has(.result-card) { grid-template-columns: 1fr; }
.checkup-panel:has(.result-card) .checkup-aside { display: none; }

.checkup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.progress-steps { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.progress-steps i { display: block; width: 38px; height: 5px; border-radius: 3px; background: #dde1e2; transition: background .4s; }
.progress-steps i.on { background: var(--ink); }
.progress-steps span { margin-left: 10px; white-space: nowrap; }
/* Resultado (cabeçalho com "Voltar"): rótulo antes das barras e só a última ativa, como no KV */
.checkup-head .link-btn ~ .progress-steps span { order: -1; margin: 0 8px 0 0; }
.checkup-head .link-btn ~ .progress-steps i.on { background: #dde1e2; }
.checkup-head .link-btn ~ .progress-steps i.on:nth-last-of-type(1) { background: var(--ink); }
.checkup-head { align-items: center; }
.checkup-head > div + .progress-steps { margin-top: 6px; align-self: flex-start; }

.checkup-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; padding: 0; list-style: none; }
.checkup-meta li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 14px; font-size: 14px; color: var(--ink-soft); }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 60ch; }
.privacy-note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--green); }

.question { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0 20px; }
.question legend { font-size: 19px; font-weight: 600; letter-spacing: -.01em; padding: 0; margin-bottom: 18px; float: left; width: 100%; }
.question legend span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-bottom: 4px; }
.options { clear: both; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
/* KV: pequeno mosaico com o círculo e o texto por baixo, fora do mosaico */
.option label {
  --dot: transparent;
  display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%;
  padding: 0; border-radius: var(--radius-s);
  font-size: 14px; line-height: 1.3; text-align: center; color: var(--ink-soft); cursor: pointer;
}
.option label::before {
  content: ''; flex: none; width: 100%; height: 42px;
  border: 1px solid var(--line); border-radius: 4px; background-color: #fbfbfa;
  background-image:
    radial-gradient(circle at center, var(--dot) 0 5px, transparent 5.5px),
    radial-gradient(circle at center, transparent 0 8.2px, var(--ink) 8.8px 10px, transparent 10.6px);
  box-shadow: 0 1px 2px rgba(14, 51, 64, .04);
  transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .2s;
}
.option label:hover::before { border-color: var(--line-strong); background-color: #fff; transform: translateY(-1px); }
.option input:checked + label { color: var(--ink); font-weight: 600; }
.option input:checked + label::before { --dot: var(--ink); border-color: var(--ink); background-color: #eef3f1; box-shadow: 0 0 0 1px var(--ink); }
.option input:focus-visible + label { outline: 3px solid #7fb2cf; outline-offset: 4px; }

.checkup-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.q-anim { animation: qIn .45s var(--ease) both; }
@keyframes qIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Resultado */
.result-card { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; background: var(--green-soft); border-radius: var(--radius); padding: 32px; margin: 26px 0 30px; }
.result-card[data-band="mid"] { background: #f5eee2; }
.result-card[data-band="low"] { background: #eeecf5; }
.ring { position: relative; width: 280px; height: 280px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; stroke-linecap: round; }
.ring .track { stroke: rgba(14, 51, 64, .08); }
.ring .value { stroke: var(--ring, var(--green)); transition: stroke-dashoffset 1.6s var(--ease); }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-score { font-size: 66px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.ring-score small { font-size: 30px; font-weight: 500; color: var(--ink-soft); }
.ring-label .i { width: 38px; height: 38px; margin-top: 12px; stroke-width: 1.4; }
.result-text { border-left: 1px solid rgba(14, 51, 64, .14); padding-left: 36px; }
.result-text h3 { font-size: clamp(24px, 3vw, 38px); margin-bottom: 14px; }
.result-text p { color: var(--ink-soft); }
.result-text .note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.checkup-head:has(.link-btn) + .section-title { font-size: clamp(32px, 4.2vw, 46px); letter-spacing: -.03em; }
.result-card { animation: rise .7s var(--ease) both; }
.ring-score { font-weight: 650; }
.result-text h3 { font-weight: 650; letter-spacing: -.025em; }
.now h3 { font-size: 26px; font-weight: 650; }
.now .btn { min-height: 56px; padding: 14px 30px; font-size: 18px; }
.now p { color: var(--ink-soft); margin: 4px 0 18px; }

/* ───────── Pulso ───────── */
.pulso-box { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; background: #e9eeeb; border-radius: var(--radius-l); padding: clamp(24px, 3.4vw, 36px) clamp(24px, 3.4vw, 40px); }
.pulso-box.compact { background: var(--green-soft); }
.pulso-box.compact .section-title { font-size: 22px; }
.pulso-icon { width: 60px; height: 60px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; }
.pulso-box .btn { min-height: 54px; padding: 14px 32px; font-size: 18px; }
.pulso-box .btn:hover .i, .btn-primary:hover .i { transform: translateX(3px); }
.btn .i { transition: transform .25s var(--ease); }

/* Página do Programa Pulso (#/pulso) */
.pulso-hero .eyebrow { margin-bottom: 10px; }
.pulso-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.pulso-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; background: rgba(255, 255, 255, .72); font-size: 14.5px; font-weight: 500; }
.pulso-facts .i { width: 16px; height: 16px; color: var(--green); stroke-width: 2.2; }
.pulso-contacts h2, .pulso-about h2 { font-size: clamp(22px, 2.4vw, 26px); margin-bottom: 8px; }
.pulso-contact-grid { display: grid; gap: 28px; margin-top: 22px; }
.pulso-contact-grid.two { grid-template-columns: 1fr 1fr; }
.pulso-contact { display: grid; gap: 10px; align-content: start; }
.pulso-region { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); font-weight: 600; }
.pulso-line { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fcfbf9; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.pulso-line:hover { border-color: var(--ink); transform: translateX(3px); }
.pulso-line-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--t-sky); flex: none; }
.pulso-line small { display: block; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pulso-line strong { display: block; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.pulso-line em { display: block; font-style: normal; font-size: 14px; color: var(--ink-soft); }
.pulso-line code { font-family: inherit; font-weight: 600; }
.pulso-phone { background: var(--ink); border-color: var(--ink); color: #fff; }
.pulso-phone:hover { border-color: var(--ink); }
.pulso-phone small { color: rgba(255, 255, 255, .75); }
.pulso-phone strong { font-size: 26px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.pulso-phone .pulso-line-icon { background: rgba(255, 255, 255, .14); }
.pulso-phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pulso-line-note { font-size: 14px; color: var(--muted); margin: -2px 0 4px; }
.pulso-emergency { margin-top: 20px; padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--t-sand); border-radius: var(--radius-s); font-size: 14.5px; color: var(--ink-soft); }
.pulso-scope { font-size: 13.5px; color: var(--muted); margin-top: -8px; }
.pulso-confidential { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: 14.5px; color: var(--ink-soft); }
.pulso-confidential .i { color: var(--green); margin-top: 2px; }
.pulso-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.pulso-video-cap { padding: 16px clamp(22px, 3vw, 34px); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }
.pulso-video-cap h2 { font-size: 20px; }
.pulso-video-cap p { font-size: 14px; color: var(--muted); }
.pulso-about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pulso-about p + p { margin-top: 12px; }
.pulso-areas-wrap h2, .pulso-extra h2 { font-size: 20px; margin-bottom: 12px; }
.pulso-areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pulso-areas > li { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pulso-areas .o-icon { display: block; margin-bottom: 10px; }
.pulso-areas .o-icon .i { width: 30px; height: 30px; stroke-width: 1.5; }
.pulso-areas h3 { font-size: 17px; margin-bottom: 8px; }
.pulso-areas ul, .pulso-extra ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.pulso-extra { background: var(--t-sky); border-radius: var(--radius-l); padding: 26px 30px; }
.pulso-extra .muted { margin-bottom: 8px; }

/* ───────── Footer ───────── */
.site-footer { padding: 48px 0 40px; margin-top: 36px; background: var(--surface); }
.footer-inner { display: flex; align-items: center; gap: 32px; }
.footer-rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #b7c3cf 20%, #b7c3cf 80%, transparent); max-width: 340px; margin: 0 auto; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tagline { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.site-footer .link-btn { font-size: 13px; color: var(--muted); }
.site-footer .brand img { height: 80px; }

/* ───────── Modal ───────── */
.modal { border: 0; border-radius: var(--radius-l); padding: 32px; max-width: 520px; width: calc(100% - 32px); color: var(--ink); box-shadow: var(--shadow-lift); }
.modal::backdrop { background: rgba(14, 51, 64, .35); backdrop-filter: blur(3px); }
.modal h2 { font-size: 26px; margin-bottom: 14px; }
.modal p { color: var(--ink-soft); margin-bottom: 12px; }
.modal form { margin-top: 20px; }

/* ───────── Vista de experiência ───────── */
.view { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; animation: viewIn .45s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.view-bar { position: sticky; top: 0; z-index: 3; background: rgba(246, 244, 240, .88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.view-bar .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.view-bar .brand img { height: 40px; }
.view-bar .lang { justify-self: end; }
.back-btn { justify-self: start; background: none; border: 0; display: inline-flex; gap: 8px; align-items: center; padding: 8px 4px; font-size: 15px; font-weight: 500; color: var(--ink); }
.back-btn:hover .i { transform: translateX(-3px); }
.back-btn .i { transition: transform .2s var(--ease); width: 18px; height: 18px; }

.view-hero { position: relative; overflow: hidden; background: var(--tint); min-height: 300px; display: flex; align-items: center; }
.view-hero-img { position: absolute; inset: 0 0 0 38%; background-size: cover; background-position: center; animation: heroIn 1.4s var(--ease) both; }
.view-hero-img::before { content: ''; position: absolute; inset: 0 auto 0 -1px; width: calc(100% + 1px); background: linear-gradient(90deg, var(--tint) 0%, var(--tint) 10%, color-mix(in srgb, var(--tint) 70%, transparent) 26%, color-mix(in srgb, var(--tint) 25%, transparent) 42%, transparent 65%); }
.view-hero .container { position: relative; padding-top: 40px; padding-bottom: 44px; }
.view-hero .card-icon { width: 52px; height: 52px; stroke-width: 1.3; margin-bottom: 18px; }
.view-hero h1 { font-size: clamp(34px, 4.6vw, 54px); max-width: 12ch; letter-spacing: -.03em; font-weight: 650; line-height: 1.06; }
.view-hero p { margin-top: 12px; font-size: 19px; color: var(--ink-soft); max-width: 36ch; }

.view-body { padding: 28px 0 60px; }
.view-body > .container { max-width: 880px; display: grid; gap: 24px; }

.exp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.exp-card-inner { padding: clamp(22px, 3vw, 34px); }
.exp-intro { display: grid; grid-template-columns: 1fr 220px; }
.exp-intro-img { background-size: cover; background-position: center; min-height: 220px; }
.exp-card .eyebrow { font-size: 12px; color: var(--ink-soft); }
.exp-card h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 10px; }
.exp-card p { color: var(--ink-soft); }
.exp-card .btn { margin-top: 22px; }
.exp-safety { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Player */
.player { display: grid; justify-items: center; text-align: center; gap: 20px; padding: clamp(26px, 4vw, 44px) clamp(18px, 3vw, 34px); }
.player-visual { min-height: 230px; display: grid; place-items: center; width: 100%; }
.caption { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; max-width: 34ch; min-height: 3.2em; color: var(--ink); font-weight: 450; transition: opacity .5s; }
.caption.fade { opacity: 0; }
.player-progress { width: 100%; max-width: 520px; }
.bar { height: 6px; border-radius: 3px; background: #e5e8e8; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 3px; transition: width .3s linear; }
.times { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.player-note { font-size: 13.5px; color: var(--muted); }
.player video { width: 100%; border-radius: var(--radius); background: #000; }

/* Bola de respiração */
.orb-wrap { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.orb-wrap::before, .orb-wrap::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(63, 139, 105, .22); }
.orb-wrap::after { inset: -18px; border-color: rgba(63, 139, 105, .12); }
.orb {
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #d6e8dc 40%, #a9cdb6 100%);
  box-shadow: 0 10px 40px rgba(63, 139, 105, .25), inset 0 -8px 20px rgba(63, 139, 105, .15);
  transform: scale(.82); transition: transform 1.2s ease-in-out;
  display: grid; place-items: center;
}
.orb span { font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--ink); transition: opacity .4s; }
.orb.in { transform: scale(1.3); transition-duration: 4s; }
.orb.out { transform: scale(.82); transition-duration: 6s; }
.orb.idle { animation: idle 6s ease-in-out infinite; }
@keyframes idle { 50% { transform: scale(.92); } }

/* Etapas (bloqueio) */
.stages { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.stages li { display: flex; align-items: center; gap: 6px; }
.stages li + li::before { content: ''; width: 18px; height: 1.5px; background: var(--line-strong); }
.stages b { display: inline-block; padding: 10px 16px; border-radius: 6px; font-weight: 600; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; background: #f1f0ec; color: var(--muted); transition: all .5s var(--ease); }
.stages li.done b { background: var(--t-sand); color: var(--ink-soft); }
.stages li.on b { background: var(--ink); color: #fff; transform: scale(1.06); }
.stage-big { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, var(--t-sand)); box-shadow: 0 10px 40px rgba(184, 147, 90, .22); margin-top: 22px; }
.stage-big .i { width: 56px; height: 56px; stroke-width: 1.2; }

/* Movimentos (energia) */
.move { display: grid; justify-items: center; gap: 10px; }
.move-count { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.move-title { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.move-timer { position: relative; width: 132px; height: 132px; }
.move-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.move-timer circle { fill: none; stroke-width: 8; stroke-linecap: round; }
.move-timer .track { stroke: #e8ecf1; }
.move-timer .value { stroke: #6f9fc4; transition: stroke-dashoffset .3s linear; }
.move-timer span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.move-dots { display: flex; gap: 6px; }
.move-dots i { width: 8px; height: 8px; border-radius: 50%; background: #dfe3e4; transition: background .3s; }
.move-dots i.done { background: #9dbad0; }
.move-dots i.on { background: var(--ink); }

/* Calma (separar) */
.calm { width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, var(--t-blush)); box-shadow: 0 10px 40px rgba(200, 120, 110, .18); animation: idle 7s ease-in-out infinite; }
.calm .i { width: 60px; height: 60px; stroke-width: 1.2; }

.done-block { text-align: center; padding: clamp(28px, 4vw, 48px) 24px; display: grid; justify-items: center; gap: 10px; animation: rise .6s var(--ease) both; }
.done-badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 8px; }
.done-badge .i { width: 34px; height: 34px; stroke-width: 2; }
.done-block h2 { font-size: clamp(26px, 3vw, 34px); }
.done-block p { color: var(--ink-soft); max-width: 44ch; }
.done-block .btn-row { justify-content: center; margin-top: 18px; }
.field { display: grid; gap: 6px; width: 100%; max-width: 460px; text-align: left; margin-top: 10px; }
.field label { font-size: 14px; font-weight: 600; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: #fff; font-size: 16px; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(127, 178, 207, .35); }
/* O campo de minutos usa step=5: nunca mostrar estado "inválido" (vermelho) nativo */
.input:invalid { box-shadow: none; border-color: var(--line-strong); }
.input:user-invalid { box-shadow: none; border-color: var(--line-strong); }
.input:-moz-ui-invalid { box-shadow: none; }
.input:invalid:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(127, 178, 207, .35); }

/* Separar — escolha */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { text-align: left; display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.choice:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.choice .choice-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--t-blush); }
.choice[data-id="entrar"] .choice-icon { background: var(--t-sand); }
.choice .choice-icon .i { width: 28px; height: 28px; stroke-width: 1.5; }
.choice h3 { font-size: 21px; }
.choice p { color: var(--ink-soft); font-size: 15px; }
.choice .go { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; margin-top: 6px; }

/* Outras experiências + citação */
.others h2 { font-size: 20px; margin-bottom: 12px; }
.others ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.others a { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s var(--ease); }
.others a:hover { border-color: var(--line-strong); transform: translateX(3px); }
/* KV: ícone de traço simples, sem fundo */
.others .o-icon { width: 44px; height: 44px; display: grid; place-items: center; }
.others .o-icon .i { width: 28px; height: 28px; stroke-width: 1.5; }
.others strong { display: block; font-weight: 600; font-size: 16px; }
.others span.sub { font-size: 14px; color: var(--muted); }
.quote { display: flex; gap: 28px; align-items: center; background: #eef0ec; border-radius: var(--radius-l); padding: 32px 36px; }
.quote .i { width: 44px; height: 44px; stroke-width: 1.4; }
.quote p { font-family: var(--hand); font-size: 30px; line-height: 1.2; color: var(--ink); max-width: 24ch; text-wrap: balance; }
.quote p::after { content: ''; display: block; width: 22px; height: 1.5px; background: var(--ink); opacity: .7; margin-top: 16px; }

/* ───────── Foco ───────── */
.task-row { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fcfbf9; }
.task-row + .task-row { margin-top: 12px; }
.task-row header { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.task-controls { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; align-items: center; }
.ctl-label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-width: 44px; min-height: 40px; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line-strong); background: #fff; font-size: 14.5px; transition: all .2s; }
.seg button:hover { border-color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg .input { width: 90px; min-height: 40px; padding: 6px 10px; border-radius: 6px; }
.form-error { color: #9b4d3e; font-size: 14px; margin-top: 10px; }

.plan { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.plan li { display: grid; grid-template-columns: 124px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--radius-s); background: #f7f6f3; font-size: 15.5px; transition: background .3s, opacity .3s; }
.plan li.break { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); padding: 9px 18px; }
.plan li.current { background: var(--t-lilac); box-shadow: inset 3px 0 0 var(--lavender); }
.plan li.past { opacity: .5; }
.plan .when { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.plan .tag { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--lavender); }
.plan li.break .tag { color: var(--green); }
.plan .name { font-weight: 500; overflow-wrap: anywhere; }

.runner { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(26px, 4vw, 44px) 24px; }
.runner .eyebrow { margin: 0; }
.runner h2 { font-size: clamp(24px, 3vw, 32px); overflow-wrap: anywhere; max-width: 24ch; }
.timer-ring { position: relative; width: 230px; height: 230px; margin: 8px 0; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.timer-ring .track { stroke: #ebe9f2; }
.timer-ring .value { stroke: var(--lavender); transition: stroke-dashoffset .5s linear; }
.runner.is-break .timer-ring .value { stroke: var(--green); }
.runner.is-break .timer-ring .track { stroke: #e3ece6; }
.timer-ring .t { position: absolute; inset: 0; display: grid; place-content: center; }
.timer-ring .t b { font-size: 50px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.timer-ring .t small { font-size: 13px; color: var(--muted); margin-top: 6px; }
.runner .btn-row { justify-content: center; }

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .options { grid-template-columns: repeat(3, 1fr); }
  .checkup-panel { grid-template-columns: 1fr; }
  .checkup-aside { min-height: 230px; padding: 24px 28px; background-position: center 35%; }
  .handwritten { font-size: 30px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { height: 68px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; inset: auto; height: 320px; }
  .hero-photo img { object-position: 55% 70%; }
  .hero-media { -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, #000 30%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, #000 30%, #000 60%, transparent 100%); }
  .hero-inner { padding-top: 0; padding-bottom: 40px; margin-top: -30px; }
  .hero-cta { width: 100%; }
  .section { padding: 12px 0; }
  .panel { border-radius: var(--radius); padding: 22px 16px; }

  .cards { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .card { flex-direction: row; text-align: left; align-items: stretch; }
  .card-media { width: 118px; flex: none; aspect-ratio: auto; min-height: 118px; }
  .card-media::after { display: none; }
  .card .card-body { flex: 1; min-width: 0; align-items: flex-start; justify-content: center; padding: 14px 16px; }
  .card-badge { width: 36px; height: 36px; margin: 0 0 8px; box-shadow: none; background: rgba(255, 255, 255, .6); }
  .card-icon { width: 22px; height: 22px; }
  .card h3 { font-size: 17px; }
  .card p { margin: 4px 0 0; font-size: 14px; flex: none; }

  .question { padding: 18px 14px; }
  .question legend { font-size: 17.5px; }
  .options { grid-template-columns: 1fr; gap: 8px; }
  .option label { flex-direction: row; text-align: left; gap: 12px; padding: 12px 14px; font-size: 15.5px; border: 1px solid var(--line); background: #fbfbfa; transition: border-color .2s, background-color .2s; }
  .option label::before { width: 22px; height: 22px; border: 0; box-shadow: none; background-color: transparent; }
  .option label:hover::before { transform: none; background-color: transparent; }
  .option label:hover { border-color: var(--line-strong); }
  .option input:checked + label { border-color: var(--ink); background: #eef3f1; box-shadow: 0 0 0 1px var(--ink); }
  .option input:checked + label::before { box-shadow: none; background-color: transparent; }
  .progress-steps i { width: 26px; }
  .checkup-actions .btn { flex: 1; }

  .result-card { grid-template-columns: 1fr; padding: 24px 18px; gap: 20px; text-align: center; }
  .ring { width: 200px; height: 200px; }
  .ring-score { font-size: 48px; }
  .result-text { border-left: 0; padding-left: 0; border-top: 1px solid rgba(14, 51, 64, .14); padding-top: 20px; }
  .btn-row .btn { width: 100%; }
  .now .btn { min-height: 52px; padding: 12px 18px; font-size: 16.5px; }
  .pulso-box .btn { font-size: 17px; }

  .pulso-box { grid-template-columns: 1fr; gap: 16px; }
  .pulso-icon { display: none; }
  .pulso-box .btn { width: 100%; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-rule { display: none; }
  .footer-right { align-items: flex-start; }

  .view-bar .container { height: 60px; }
  .view-bar .brand img { height: 32px; }
  .brand img { height: 40px; }
  .site-footer .brand img { height: 64px; }
  .pulso-contact-grid.two, .pulso-about, .pulso-areas { grid-template-columns: 1fr; }
  .pulso-phone strong { font-size: 22px; }
  .pulso-extra { padding: 22px; }
  .view-hero { min-height: 230px; }
  .view-hero-img { inset: 0 0 0 30%; opacity: .7; }
  .view-hero h1 { font-size: 32px; }
  .view-hero p { font-size: 17px; }
  .exp-intro { grid-template-columns: 1fr; }
  .exp-intro-img { min-height: 150px; order: -1; }
  .exp-card .btn { width: 100%; }
  .choices { grid-template-columns: 1fr; }
  .quote { padding: 22px; gap: 16px; }
  .quote p { font-size: 25px; }
  .orb-wrap { width: 190px; height: 190px; }
  .orb { width: 130px; height: 130px; }
  .task-controls { grid-template-columns: 1fr; gap: 8px; }
  .plan li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .plan .when { grid-column: 1 / -1; }
  .timer-ring { width: 200px; height: 200px; }
  .timer-ring .t b { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .orb.in { transform: scale(1.1); }
}

@media print {
  .site-header, .view, .modal { display: none !important; }
}
