@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-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: "Montserrat";
  src: url("../fonts/montserrat-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: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}

:root {
  --bg: #eef3f9;            /* azul muito claro das maquetes */
  --bg-2: #dfe8f2;
  --linha: #d6e0ec;
  --teal-t: #127f8c;          /* turquesa com contraste para texto */
  --surface: #ffffff;
  --ink: #0a2459;
  --muted: #36466d;
  --accent: #0b7c87;
  --accent-ink: #ffffff;
  --teal: #12a3b1;
  --azul: #2a55a2;
  --azul-claro: #dfe9f7;          /* o azulejo da fachada */
  --azul-2: #214787;
  --ceu: #bcd9f3;
  --onda: #0a2459;
  --m: clamp(20px, 3vw, 40px);
  --gap: clamp(72px, 8vw, 120px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t-body: 16px;
  --t-ui: 15px;
  --t-small: 14px;
  --t-state: 28px;
  --t-h2: clamp(30px, 3.4vw, 52px);
  --t-h1: clamp(30px, 3.3vw, 54px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.55 "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; max-width: 64ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--teal); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 20; }
.skip:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-weight: 600; font-size: var(--t-ui); border-radius: 8px;
  transition: background .25s, color .25s, transform .2s var(--ease);
}
.btn:hover { background: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-claro { background: var(--bg); color: var(--ink); }
.btn-claro:hover { background: #fff; }
.link {
  font-weight: 600; font-size: var(--t-ui); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--teal);
  transition: text-underline-offset .25s var(--ease), color .25s;
}
.link:hover { text-underline-offset: 8px; color: var(--accent); }
.soft { color: var(--muted); }

/* ---------- o topo: logótipo grande, a calculadora ao fundo (profundidade) e a onda ---------- */
:root { --onda-h: clamp(70px, 9vw, 140px); --px: max(var(--m), calc((100vw - 1680px) / 2)); }
.hero { position: relative; min-height: 100svh; background: var(--bg); color: var(--ink); overflow: hidden; display: grid; }
.hero-foto { position: absolute; right: 0; top: 0; bottom: 0; width: min(54%, 820px); z-index: 0; will-change: transform; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; display: block; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%); mask-image: linear-gradient(to right, transparent 0, #000 38%); } /* taste-skill-ignore: a foto funde com o fundo (máscara) */
.capa-corpo { position: relative; z-index: 1; padding: 64px var(--m) calc(var(--onda-h) + 24px); display: grid; grid-template-columns: minmax(0, auto) minmax(0, 430px); justify-content: center; align-items: center; column-gap: clamp(40px, 9vw, 220px); min-height: 100svh; }
.capa-esq { display: grid; gap: 22px; justify-items: start; will-change: transform; }
.capa-gp { width: clamp(340px, 31vw, 640px); max-width: 100%; height: auto; display: block; }
.capa-h1 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(26px, 2.3vw, 36px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; color: var(--ink); max-width: 28ch; }
.clock-wrap { justify-self: start; width: min(430px, 100%); perspective: 1200px; will-change: transform; }
.capa-onda { position: absolute; left: 0; bottom: 0; width: 200%; height: var(--onda-h); z-index: 2; pointer-events: none; animation: onda-desliza 30s linear infinite; will-change: transform; }
.capa-onda .onda-linha { fill: none; stroke: var(--onda); stroke-width: 9; vector-effect: non-scaling-stroke; stroke-linecap: round; }
@keyframes onda-desliza { to { transform: translateX(-50%); } }

/* entradas do topo */
.js .capa-gp { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease) .15s; }
.js.loaded .capa-gp { clip-path: inset(0 0 0 0); }
.js .capa-h1, .js .capa-esq .btn { opacity: 0; transform: translateY(14px); transition: opacity .9s .9s, transform .9s .9s var(--ease); }
.js.loaded .capa-h1, .js.loaded .capa-esq .btn { opacity: 1; transform: none; }
.js .clock-wrap .clock { opacity: 0; transform: translateY(40px); transition: opacity .9s .7s, transform 1.1s .7s var(--ease); }
.js.loaded .clock-wrap .clock { opacity: 1; transform: none; }

.mask > span { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mask > span > span { display: block; }
.js .mask > span > span { transform: translateY(105%); transition: transform .9s var(--ease); }
.js .mask > span + span > span { transition-delay: .11s; }
.js.loaded .mask > span > span { transform: none; }

/* ---------- barra do topo (o GP da janela aterra aqui) ---------- */
.topo { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 var(--m); background: transparent; transition: background .35s, box-shadow .35s; }
.passou .topo { background: rgba(238, 243, 249, .94); box-shadow: 0 1px 0 var(--linha); }
.cena .topo-logo { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.cena.passou .topo-logo { opacity: 1; transform: none; pointer-events: auto; }
.menu { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; }
.menu a { position: relative; text-decoration: none; font-size: var(--t-ui); font-weight: 500; color: var(--ink); padding: 8px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a:focus-visible::after { transform: none; }
.topo .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; margin-right: 10px; }
.topo-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.topo-gp { height: 40px; width: auto; display: block; }
.topo .btn { min-height: 42px; padding: 0 20px; }

/* ---------- números que rolam (como o visor de uma calculadora) ---------- */
.odo { display: inline-flex; font-variant-numeric: tabular-nums; line-height: 1; }
.dg { display: inline-block; height: 1em; width: .6em; overflow: hidden; text-align: center; }
.dg-col { display: block; transition: transform 1.1s var(--ease); }
.dg-col::before { content: "0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9"; white-space: pre; display: block; line-height: 1; }
.dg.zero { opacity: .14; transition: opacity .6s; }

/* ---------- o contador (fragmento de interface) ---------- */
[data-ui] { font-size: var(--t-ui); }
.clock {
  width: 100%; color: var(--ink); background: var(--surface); border: 1px solid #cdd7e3; border-radius: 10px; /* taste-skill-ignore: data-ui */
  padding: 22px 24px 20px; box-shadow: 0 30px 60px -24px rgba(4, 20, 52, .5); /* taste-skill-ignore: o cartão flutua sobre a loja */
}
.clock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.clock-head h2 { font-size: var(--t-ui); letter-spacing: 0; font-weight: 600; }
.seg { display: inline-flex; background: var(--bg-2); border-radius: 7px; padding: 3px; }
.seg button, .agenda-filter button {
  font: inherit; font-size: var(--t-small); font-weight: 500; color: var(--muted); background: none; border: 0;
  padding: 7px 11px; border-radius: 5px; cursor: pointer; transition: background .25s, color .25s;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.clock-main { padding: 30px 0 24px; }
.clock-days { font-size: clamp(56px, 4.2vw, 68px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; display: flex; align-items: baseline; gap: .15em; }
.clock-days #c-unit { font-size: .3em; letter-spacing: -0.02em; color: var(--muted); font-weight: 500; }
.clock-title { margin-top: 16px; font-size: 20px; font-weight: 600; line-height: 1.25; }
.clock-date { margin-top: 6px; color: var(--muted); }
.clock-date b { color: var(--accent); font-weight: 600; }
.clock-next { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e1e7ee; } /* taste-skill-ignore: data-ui */
.clock-next li { font-size: var(--t-ui); display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e1e7ee; } /* taste-skill-ignore: data-ui */
.clock-next time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent); }
.clock-foot { margin-top: 14px; font-size: var(--t-small); color: var(--muted); line-height: 1.45; }
.flip { animation: flip .55s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(10px); } }
.prazo-m { display: none; }

/* ---------- títulos (Cormorant, com a palavra-chave em turquesa e um traço por cima) ---------- */
.traco { display: block; width: 44px; height: 2px; background: var(--teal); margin-bottom: 18px; }
.intro h2, .serv-cab h2, .agenda-head h2, .contact h2, .mes-cab h3 {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.02; color: var(--ink);
}
/* a Cormorant tem algarismos "antigos" por defeito (o 10 parece IO): usar os alinhados */
.intro h2, .serv-cab h2, .agenda-head h2, .contact h2, .mes-cab h3, .band time b, .capa-h1, .t-statement .big { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h2 em, h3 em { font-style: normal; color: var(--teal-t); }
.link-seta { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: var(--t-small); text-decoration: none; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--ink); }
.link-seta svg { width: 22px; height: 12px; fill: none; stroke: var(--teal-t); stroke-width: 1.6; transition: transform .3s var(--ease); }
.link-seta:hover svg { transform: translateX(5px); }

/* ---------- introdução: 20 anos + "Desde 2002" com o castelo em azul ---------- */
.intro { position: relative; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); padding-top: calc(var(--gap) * .8); align-items: center; }
.intro-col { max-width: 480px; margin-left: clamp(0px, 6vw, 110px); display: grid; gap: 16px; }
.intro-col h2 { font-size: clamp(36px, 3.4vw, 54px); margin-bottom: 10px; }
.intro-col p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.intro-col p:last-child { margin-top: 10px; }
.intro-ano { position: relative; min-height: clamp(360px, 36vw, 560px); display: grid; align-content: center; justify-items: start; padding-left: 4%; }
.ano-castelo { position: absolute; right: 0; top: 0; bottom: 0; width: 72%; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 58% 50%, #000 42%, transparent 80%); mask-image: radial-gradient(ellipse 62% 62% at 58% 50%, #000 42%, transparent 80%); } /* taste-skill-ignore: o castelo funde com o fundo (máscara) */
.ano-castelo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; opacity: .78; will-change: transform; }
.ano-arco { position: absolute; left: 6%; top: 4%; width: 92%; height: auto; fill: none; stroke: var(--teal); stroke-width: 1.4; opacity: .8; }
.ano-arco circle { fill: var(--teal); stroke: none; }
.ano-desde { position: relative; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px .3em; }
.ano-desde::before, .ano-desde::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .5; }
.ano { position: relative; font-family: "Bodoni Moda", Didot, serif; font-weight: 500; font-size: clamp(110px, 13vw, 220px); letter-spacing: -0.03em; line-height: .9; color: var(--ink); max-width: none; }
.ano .dg { width: .6em; }
.ano .dg:nth-child(n+3) { color: var(--teal-t); }
.ano .dg.zero { opacity: .14; }

/* ---------- serviços: separadores à esquerda, painel com a fotografia das pastas ---------- */
.servicos { padding-top: var(--gap); padding-bottom: calc(var(--gap) * .6); }
.serv-cab { max-width: 640px; margin-left: clamp(0px, 6vw, 110px); }
.serv-cab h2 { font-size: clamp(38px, 4vw, 64px); }
.serv-cab p { margin-top: 14px; color: var(--muted); }
.serv-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 18px; align-items: stretch; padding-left: clamp(0px, 6vw, 110px); }
.svc { display: grid; gap: 10px; align-content: start; }
.svc button {
  position: relative; display: grid; grid-template-columns: 36px 1fr 10px; gap: 16px; align-items: center; text-align: left;
  font: inherit; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .5); border: 1px solid var(--linha); border-radius: 10px; padding: 16px 18px; cursor: pointer; /* taste-skill-ignore: data-ui */
  transition: background .3s, box-shadow .3s, transform .2s var(--ease);
}
.svc button::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--teal); transform: scaleY(0); transition: transform .35s var(--ease); }
.svc button:hover { background: #fff; }
.svc button:active { transform: scale(.985); }
.svc button[aria-selected="true"] { background: #fff; box-shadow: 0 14px 30px -18px rgba(10, 36, 89, .35); } /* taste-skill-ignore: data-ui */
.svc button[aria-selected="true"]::before { transform: none; }
.svc svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.svc svg circle[r="1.6"] { fill: var(--ink); stroke: none; }
.svc i { width: 8px; height: 8px; border-right: 1.6px solid var(--muted); border-top: 1.6px solid var(--muted); transform: rotate(45deg); }
.svc-painel { position: relative; overflow: hidden; border-radius: 14px; background: #fff; min-height: 420px; display: flex; align-items: center; box-shadow: 0 30px 60px -40px rgba(10, 36, 89, .45); } /* taste-skill-ignore: data-ui */
.svc-foto { position: absolute; inset: 0 0 0 30%; }
.svc-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; will-change: transform;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%); mask-image: linear-gradient(to right, transparent 0, #000 45%); } /* taste-skill-ignore: a foto funde com o cartão */
.svc-texto { position: relative; margin: 28px; padding: clamp(24px, 3vw, 40px); max-width: 470px; background: rgba(255, 255, 255, .86); border-radius: 12px; backdrop-filter: blur(6px); }
.svc-texto h3 { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(32px, 3vw, 44px); font-weight: 600; }
.svc-texto > p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.svc-texto ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.svc-texto li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; }
.svc-texto li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-t) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.svc-texto.troca { animation: flip .5s var(--ease); }

/* ---------- calendário fiscal: filtro, meses em fila e o cartão do mês ---------- */
.agenda { position: relative; overflow: hidden; padding-top: var(--gap); padding-bottom: calc(var(--gap) * .7 + var(--onda-h)); }
.agenda-foto { position: absolute; right: 0; top: 0; width: min(58%, 980px); height: clamp(300px, 34vw, 520px); pointer-events: none; }
.agenda-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 25%, #000 45%, transparent 80%); mask-image: radial-gradient(ellipse 80% 100% at 80% 25%, #000 45%, transparent 80%); } /* taste-skill-ignore: a foto funde com o fundo */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40%), linear-gradient(to top, transparent 0, #000 40%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 40%), linear-gradient(to top, transparent 0, #000 40%); mask-composite: intersect; } /* taste-skill-ignore: a foto funde com o fundo */
.agenda-head { position: relative; max-width: 560px; }
.agenda > .reveal { margin-left: clamp(0px, 6vw, 110px); }
.agenda-head h2 { font-size: clamp(44px, 5vw, 80px); }
.agenda-head p { margin-top: 14px; color: var(--muted); }
.agenda-filter { position: relative; margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.agenda-filter button {
  font: inherit; font-size: var(--t-ui); font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--linha);
  padding: 11px 22px; border-radius: 8px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; /* taste-skill-ignore: data-ui */
}
.agenda-filter button:hover { border-color: var(--ink); }
.agenda-filter button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.meses { position: relative; margin-top: 22px; display: grid; grid-template-columns: 40px 1fr 40px; gap: 10px; align-items: center; }
.meses-seta { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .25s, transform .2s var(--ease); }
.meses-seta:hover { background: var(--azul-claro); }
.meses-seta:active { transform: scale(.94); }
.meses-seta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 1 0 100px; scroll-snap-align: start; font: inherit; text-align: center; cursor: pointer; height: 58px; padding: 0 10px;
  background: #fff; color: var(--ink); border: 1px solid var(--linha); border-radius: 8px; display: flex; flex-direction: column; justify-content: center; /* taste-skill-ignore: data-ui */
  transition: background .3s, border-color .3s, transform .2s var(--ease);
}
.tabs button:hover { border-color: var(--azul); }
.tabs button:active { transform: scale(.97); }
.tabs button b { font-size: 14px; font-weight: 600; }
.tabs button small { font-size: 12px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--azul-claro); border-color: #9fbbe0; }
.mes-cartao { position: relative; margin-top: 18px; background: rgba(255, 255, 255, .92); border: 1px solid var(--linha); border-radius: 14px; padding: clamp(20px, 2.6vw, 36px); box-shadow: 0 30px 60px -44px rgba(10, 36, 89, .5); } /* taste-skill-ignore: data-ui */
.mes-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; }
.mes-cab h3 { font-size: clamp(28px, 2.4vw, 38px); }
.mes-conta { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--muted); }
.mes-conta svg, .agenda-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.bands { display: grid; gap: 10px; min-height: 240px; align-content: start; }
.band { display: grid; grid-template-columns: 72px 1fr auto; gap: 22px; align-items: center; padding: 14px 18px; background: #fff; border: 1px solid var(--linha); border-radius: 10px; } /* taste-skill-ignore: data-ui */
.band time { display: grid; justify-items: center; align-content: center; width: 64px; height: 64px; border: 1px solid var(--linha); border-radius: 8px; background: var(--bg); }
.band time b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1; }
.band time small { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.band h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.band p { font-size: var(--t-small); color: var(--muted); margin-top: 3px; }
.band .who { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.band .who span { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: var(--azul-claro); color: var(--ink); }
.band .who span.i { background: #d6f0ef; color: #0b5f66; }
.band .who span.p { background: #eceff6; color: var(--muted); }
.band.past { opacity: .55; }
.bands .band { animation: entra .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes entra { from { opacity: 0; transform: translateY(14px); } }
.band.empty { grid-template-columns: 1fr; color: var(--muted); }
.agenda-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-style: italic; color: var(--muted); max-width: none; }
.agenda-onda { position: absolute; left: 0; bottom: 0; width: 200%; height: var(--onda-h); pointer-events: none; animation: onda-desliza 36s linear infinite; will-change: transform; }
.agenda-onda path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.agenda-onda .o1 { stroke: var(--onda); stroke-width: 5; }
.agenda-onda .o2 { stroke: var(--teal); stroke-width: 1.5; opacity: .6; }

@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; padding-top: 48px; }
  .intro-col { margin-left: 0; max-width: none; }
  .intro-ano { min-height: 300px; padding-left: 0; justify-items: center; }
  .ano-castelo { width: 100%; }
  .ano-arco { left: 0; width: 100%; }
  .serv-cab { margin-left: 0; }
  .serv-cab h2 { font-size: 40px; }
  .serv-grid { grid-template-columns: 1fr; padding-left: 0; margin-top: 28px; }
  .svc { grid-template-columns: repeat(5, max-content); overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 8px; }
  .svc::-webkit-scrollbar { display: none; }
  .svc button { grid-template-columns: 24px auto; gap: 10px; padding: 11px 14px; font-size: 18px; }
  .svc svg { width: 22px; height: 22px; }
  .svc i { display: none; }
  .svc-painel { min-height: 0; flex-direction: column; align-items: stretch; }
  .svc-foto { position: relative; inset: auto; height: 190px; }
  .svc-foto img { -webkit-mask-image: linear-gradient(to top, transparent 0, #000 40%); mask-image: linear-gradient(to top, transparent 0, #000 40%); } /* taste-skill-ignore: a foto funde com o cartão */
  .svc-texto { margin: 0; padding: 4px 22px 26px; background: transparent; backdrop-filter: none; max-width: none; }
  .agenda-foto { position: relative; width: calc(100% + 40px); margin: -24px -20px 8px; height: 190px; }
  .agenda-foto img { object-position: 80% 50%; }
  .agenda-head h2 { font-size: 46px; }
  .agenda-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .agenda-filter button { padding: 11px 6px; }
  .agenda > .reveal { margin-left: 0; }
  .meses { grid-template-columns: 1fr; }
  .meses-seta { display: none; }
  .tabs { margin: 0 -20px; padding: 4px 20px; }
  .tabs button { flex: 0 0 92px; }
  .mes-cartao { padding: 18px 14px; }
  .band { grid-template-columns: 56px 1fr; gap: 14px; padding: 14px 12px; }
  .band time { width: 56px; height: 56px; }
  .band time b { font-size: 26px; }
  .band .who { grid-column: 2; justify-content: flex-start; }
  .band .who span { padding: 4px 10px; }
}

/* ---------- contacto (a porta) e mapa ---------- */
.contact { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(32px, 6vw, 96px); padding: var(--gap) var(--m); align-items: center; background: var(--bg); color: var(--ink); }
.contact-col { max-width: 600px; margin-left: clamp(0px, 4vw, 60px); display: grid; gap: 20px; }
.contact h2 { font-size: clamp(38px, 4vw, 64px); }
.contact-p { color: var(--muted); font-size: 18px; }
.mapa { margin: 0; }
.mapa-box { position: relative; border-radius: 14px; background: var(--bg-2); aspect-ratio: 1280 / 700; overflow: hidden; }
.mapa-box img, .mapa-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.mapa-acoes { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.mapa-btn { font: inherit; font-weight: 600; font-size: var(--t-ui); min-height: 52px; padding: 0 22px; background: var(--bg); color: var(--ink); border: 0; cursor: pointer; transition: background .25s, transform .2s var(--ease); }
.mapa-btn:hover { background: #fff; }
.mapa-btn:active { transform: scale(.97); }
.mapa figcaption a { text-decoration-color: var(--teal); text-underline-offset: 3px; }
.porta { background: var(--surface); border-radius: 14px; color: var(--ink); padding: clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.porta-col { display: grid; gap: 6px; justify-items: center; text-align: center; align-content: start; }
.porta-col svg { width: 52px; height: 52px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.porta-col h3 { font-size: var(--t-ui); font-weight: 700; letter-spacing: .02em; margin-bottom: 4px; }
.porta-col p { font-size: 18px; font-weight: 500; }
.porta-col .porta-nome { font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.porta-col a { text-decoration-color: var(--teal); text-underline-offset: 4px; }
.porta-col a:hover { color: var(--accent); }
.porta-nota { font-size: var(--t-ui) !important; color: var(--muted); font-weight: 400 !important; }
.porta-fim { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 4px solid var(--onda); }
.porta-fim p { font-weight: 500; }
.porta-fim a { text-decoration-color: var(--teal); text-underline-offset: 4px; }
.visit-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; background: var(--ink); color: #fff; font-weight: 600; font-size: var(--t-ui); text-decoration: none; transition: background .25s, transform .2s var(--ease); }
.visit-btn:hover { background: var(--accent); }
.visit-btn:active { transform: scale(.97); }

/* ---------- rodapé em blocos ---------- */
.foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px 10px 10px; background: var(--bg); }
.tile { background: var(--surface); border-radius: 12px; padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; }
.t-statement { grid-column: 1 / 5; gap: 24px; }
.t-statement .big { font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.legal { font-size: var(--t-small); color: var(--muted); line-height: 1.5; }
.t-nav { grid-column: 5 / 8; }
.t-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.t-nav a { text-decoration: none; font-weight: 500; }
.t-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.t-time { grid-column: 8 / 10; background: var(--ink); color: #fff; }
.t-time { position: relative; overflow: hidden; }
.t-time { text-decoration: none; }
.t-maps { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--t-ui); margin-top: 10px; }
.t-time:hover .t-maps { text-decoration: underline; text-underline-offset: 4px; }
.t-time p { position: relative; margin-top: auto; font-size: 20px; font-weight: 600; line-height: 1.2; }
.t-time span { font-variant-numeric: tabular-nums; font-weight: 400; }
.t-mail { grid-column: 10 / 13; }
.t-mail p { color: var(--muted); }
.t-mail a { font-size: 20px; font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--teal); word-break: break-all; }
.t-word { grid-column: 1 / 9; min-height: 320px; justify-content: center; align-items: center; overflow: hidden; }
.word { font-size: 4.5vw; font-weight: 500; letter-spacing: .14em; line-height: 1; white-space: nowrap; margin-right: -.14em; }
.word .w1 { color: var(--ink); }
.word .w2 { color: var(--accent); }
.t-cta { grid-column: 9 / 13; min-height: 320px; background: var(--accent); color: #fff; transition: background .3s; }
.t-cta span { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; max-width: 10ch; }
.t-cta svg { align-self: flex-end; transition: transform .35s var(--ease); }
.t-cta:hover { background: var(--ink); }
.t-cta:hover svg { transform: translate(6px, -6px); }
.t-small { grid-column: 1 / 13; min-height: 0; gap: 8px; background: transparent; padding: 16px 14px 8px; }
.t-small p { font-size: var(--t-small); color: var(--muted); }
.t-small a { color: var(--ink); }

/* ---------- entradas ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- páginas simples (privacidade) ---------- */
.doc { max-width: 720px; padding: 40px var(--m) 120px; margin-left: clamp(0px, 8vw, 140px); }

/* ecrãs largos: o conteúdo não se espalha, fica centrado */
.intro, .servicos, .agenda, .contact { padding-left: var(--px); padding-right: var(--px); }
.foot { padding-left: max(10px, calc((100vw - 1760px) / 2)); padding-right: max(10px, calc((100vw - 1760px) / 2)); }
.topo { padding-left: var(--px); padding-right: var(--px); }

/* ---------- telemóvel ---------- */
@media (max-width: 860px) {
  .hero-img { width: 210vw; }
  .hero-foto { width: 100%; top: auto; height: 46%; bottom: 0; }
  .hero-foto img { object-position: 40% 40%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%); } /* taste-skill-ignore: a foto do topo no telemóvel funde com o fundo (máscara) */
  .capa-corpo { grid-template-columns: 1fr; justify-content: stretch; padding: 72px 24px calc(var(--onda-h) + 16px); align-content: start; justify-items: center; text-align: center; row-gap: 20px; min-height: 100svh; }
  .capa-esq { justify-items: center; gap: 18px; margin-top: 4svh; }
  .capa-gp { width: min(78vw, 360px); }
  .capa-h1 { font-size: 26px; max-width: 20ch; }
  .clock-wrap { display: none; }
  .topo { height: 56px; }
  .topo-gp { height: 32px; }
  .topo-logo span { display: none; }
  .topo { gap: 12px; padding-left: 16px; padding-right: 12px; }
  .menu { gap: 16px; }
  .menu a { font-size: 14px; }
  .topo .btn { min-height: 40px; width: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .topo .btn svg { margin: 0; }
  .topo .btn span { display: none; }
  .cena .topo-logo { display: none; }
  .cena.passou .topo-logo { display: inline-flex; }
  .prazo-m { display: block; padding: 40px 20px 0; }
  .prazo-m .clock-wrap { display: block; width: 100%; justify-self: auto; }
  .seg { width: 100%; }
  .seg button { flex: 1; }
  .clock { padding: 18px 18px 16px; }
  .clock-days { font-size: 14vw; }
  .clock-foot { font-size: 15px; }

  .mapa-box { aspect-ratio: 4 / 5; }
  .mapa-box img { object-position: 40% 50%; }
  .contact { grid-template-columns: 1fr; }
  .contact-col { margin-left: 0; max-width: none; }
  .contact h2 { font-size: 40px; }
  .porta { grid-template-columns: 1fr; padding: 28px 22px; }
  .porta-fim { flex-direction: column; align-items: flex-start; }
  figcaption, .legal, .t-small p { font-size: 15px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tile { padding: 20px; min-height: 160px; }
  .t-word { grid-column: 1 / -1; order: 1; min-height: 160px; }
  .word { font-size: 6.6vw; letter-spacing: .1em; margin-right: -.1em; }
  .t-cta { grid-column: 1 / -1; order: 2; min-height: 160px; }
  .t-cta span { font-size: 24px; max-width: 14ch; }
  .t-nav, .t-mail, .t-statement { grid-column: 1 / -1; min-height: 0; gap: 16px; }
  .t-nav { order: 3; } .t-mail { order: 4; } .t-time { grid-column: 1 / -1; order: 5; min-height: 180px; }
  .t-statement { order: 6; } .t-statement .big { font-size: 20px; }
  .t-mail a { font-size: 18px; word-break: normal; }
  .t-small { order: 7; grid-column: 1 / -1; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .capa-gp, .js .capa-h1, .js .capa-esq .btn, .js .clock-wrap .clock, .js .reveal { transform: none !important; opacity: 1 !important; clip-path: none !important; transition: none !important; }
  .flip, .bands .band, .capa-onda, .agenda-onda, .svc-texto.troca { animation: none; }
  .dg-col { transition: none; }
}
