/* =========================================================================
   Dentis Concept — Website
   IDENTIDADE VISUAL — Proposta B "A Joia" · "O cuidado que dá valor"
   Paleta oficial: Grafite #2B2B2E · Ouro #B9A26B · Taupes #8A8177 → #D9CFC1 · Marfim #FAF8F5
   Tipografia oficial: Cormorant Garamond (títulos) + Montserrat (texto)
   ========================================================================= */
:root {
  --brand: #2b2b2e;          /* grafite — cor institucional */
  --brand-700: #1e1e21;
  --brand-500: #4c4b4f;      /* grafite claro */
  --brand-100: #ebe5dc;      /* taupe muito claro */
  --brand-50: #f3efe9;       /* pedra */
  --accent: #b9a26b;         /* ouro — elementos gráficos, linhas, losango */
  --accent-ink: #7f6a39;     /* ouro escurecido para texto pequeno (contraste AA) */
  --accent-soft: #cbb88a;    /* ouro sobre fundo grafite */
  --accent-100: #f1ebdd;
  --taupe: #8a8177;
  --taupe-light: #d9cfc1;
  --ink: #2b2b2e;
  --ink-2: #57524c;
  --muted: #736b62;
  --line: #e6e0d7;
  --bg: #faf8f5;             /* marfim */
  --white: #ffffff;
  --danger: #a3261e;
  --success: #3f6b4a;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(43, 43, 46, .06), 0 2px 8px rgba(43, 43, 46, .04);
  --shadow: 0 10px 30px -12px rgba(43, 43, 46, .18);
  --shadow-lg: 0 30px 60px -20px rgba(43, 43, 46, .28);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; color: var(--ink); }
h1, h2, .display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.eyebrow.center { justify-content: center; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-sm { padding: clamp(48px, 7vw, 80px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-2); }
.bg-white { background: var(--white); }
.bg-soft { background: var(--brand-50); }

/* ---------- Botões ---------- */
.btn {
  --b: var(--brand); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--c); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --b: var(--brand); }
.btn-primary:hover { --b: var(--brand-700); }
.btn-accent { --b: var(--accent); }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { --b: #fff; --c: var(--brand); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); text-decoration: none; }
.link-arrow svg { width: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(250, 248, 245, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(43,43,46,.4); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 46px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 52px; } }
.site-footer .logo img { height: 58px; }
@media (max-width: 400px) {
  .logo img { height: 36px; }
  .header-actions { gap: 6px; }
  .lang-globe { display: none; }
  .lang-btn { padding: 0 9px 0 11px; }
}
.nav { display: none; }
.nav a { position: relative; white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-2); padding: 8px 2px; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; padding: 0 20px; font-size: .9rem; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--brand); text-decoration: none; }
.header-phone svg { width: 18px; }
.menu-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--brand); position: relative; transition: transform .3s var(--ease), background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
.header-actions .btn-book { display: none; }

/* Selector de idioma (dropdown compacto) */
.lang-menu { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px 0 11px;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--brand); white-space: nowrap;
  transition: border-color .2s, background .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--taupe-light); background: #fff; }
.lang-globe { width: 15px; height: 15px; color: var(--accent); }
.lang-chev { width: 12px; height: 12px; color: var(--muted); transition: transform .25s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  animation: langIn .18s var(--ease);
}
@keyframes langIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lang-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 9px;
  font-size: .88rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.lang-list a span { font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--brand-50); color: var(--brand); outline: none; }
.lang-list a[aria-current="true"] { color: var(--brand); font-weight: 600; }
.lang-list a[aria-current="true"] span { color: var(--accent-ink); }
.lang-list a[aria-current="true"]::before { content: ''; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); margin-right: -6px; order: -1; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--bg);
  padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-menu a.m-link { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--brand); text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu .m-contacts { margin-top: 24px; display: grid; gap: 10px; color: var(--ink-2); }
.mobile-menu .m-contacts a { text-decoration: none; display: flex; gap: 10px; align-items: center; }
.mobile-menu .m-contacts svg { width: 18px; color: var(--accent); }

@media (min-width: 1024px) {
  /* Espaçamento fluido: o cabeçalho cabe numa linha em PT e EN (textos ingleses são mais longos) */
  .nav { display: flex; gap: clamp(16px, 1.9vw, 28px); }
  .menu-toggle, .mobile-menu { display: none; }
  .header-actions .btn-book { display: inline-flex; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav a { font-size: .88rem; }
  .header-actions .btn-book { padding: 0 16px; font-size: .86rem; }
}
.header-phone { white-space: nowrap; }
.header-actions > * { flex: none; }
/* Em ecrãs grandes o cabeçalho usa um pouco mais de largura; o telefone só aparece quando há espaço real em PT e EN */
@media (min-width: 1280px) { .site-header .container { max-width: 1320px; } }
@media (min-width: 1400px) { .header-phone { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center, var(--brand-100) 0%, rgba(235,229,220,0) 65%); z-index: -1;
}
.hero-grid { display: grid; gap: 44px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--brand-500); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-frame {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden;
  background: var(--brand-50) url(/static/brand/padrao-claro.webp) center / 520px; box-shadow: var(--shadow-lg);
}
.hero-frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame .art { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(250,248,245,.95) 0%, rgba(250,248,245,.6) 45%, rgba(250,248,245,0) 75%); }
.hero-frame .art img { width: 46%; height: auto; filter: drop-shadow(0 24px 30px rgba(43,43,46,.18)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
}

/* ---------- Split / Sobre ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.reverse > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--brand-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand-500); background: linear-gradient(135deg, var(--brand-100), var(--accent-100)); }
.media-frame .art svg { width: 38%; opacity: .55; }
.media-accent { position: absolute; right: -14px; bottom: -14px; width: 46%; aspect-ratio: 1; border: 1.5px solid var(--accent); border-radius: var(--radius-lg); z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.check-list li svg { width: 22px; height: 22px; flex: none; color: var(--brand-500); margin-top: 1px; }

/* ---------- Cartões de tratamentos ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.t-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.t-card .t-img { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); display: grid; place-items: center; }
.t-card .t-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.t-card:hover .t-img img { transform: scale(1.05); }
.t-card .t-img .t-ic { width: 76px; height: 76px; color: var(--brand-500); }
.t-card .t-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.t-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.t-card p { color: var(--ink-2); font-size: .95rem; flex: 1; }
.t-card .link-arrow { margin-top: 6px; }
.t-num { position: absolute; top: 16px; right: 18px; font-family: var(--font-display); font-size: 1rem; color: var(--muted); }

/* ---------- Porquê escolher ---------- */
.why-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { background: #fff; padding: 34px 30px; transition: background .3s; }
.why-item:hover { background: var(--brand-50); }
.why-item .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 20px; transition: background .3s, color .3s; }
.why-item:hover .ic { background: var(--brand); color: #fff; }
.why-item .ic svg { width: 26px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--ink-2); margin: 0; font-size: .95rem; }


/* ---------- Faixa escura (compromisso / CTA) ---------- */
.dark { background: var(--brand); color: rgba(255,255,255,.86); position: relative; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--accent-soft); }
.dark .lead { color: rgba(255,255,255,.8); }
.dark .check-list li { color: rgba(255,255,255,.86); }
.dark .check-list li svg { color: var(--accent-soft); }
.dark-deco { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 520px; color: rgba(255,255,255,.05); pointer-events: none; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px 22px; }
.stat .ic { display: block; width: 30px; height: 30px; color: var(--accent-soft); margin-bottom: 14px; }
.stat .ic svg { width: 100%; height: 100%; }
.stat strong { display: block; color: #fff; font-size: 1.02rem; line-height: 1.35; }


/* ---------- Testemunhos ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quote .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.quote .stars svg { width: 16px; }
.quote blockquote { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.32rem; line-height: 1.45; color: var(--ink); flex: 1; }
.quote figcaption { font-weight: 700; font-size: .92rem; }
.quote figcaption span { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }

/* ---------- Blog cards ---------- */
.posts { display: grid; gap: 28px; }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.p-card { display: flex; flex-direction: column; text-decoration: none; }
.p-card .p-img { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--brand-100), var(--accent-100)); margin-bottom: 18px; display: grid; place-items: center; }
.p-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-card .p-img .ph { width: 54px; color: var(--brand-500); opacity: .5; }
.p-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.p-meta .cat { color: var(--accent-ink); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.p-card h3 { font-size: 1.22rem; line-height: 1.3; margin-bottom: 8px; transition: color .2s; }
.p-card:hover h3 { color: var(--brand-500); }
.p-card p { color: var(--ink-2); font-size: .94rem; margin: 0; }

/* ---------- Contactos / mapa ---------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 32px; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 20px; }
.contact-list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 600; white-space: pre-line; }
.contact-list a:hover { color: var(--brand-500); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 360px; background: var(--brand-100); border: 1px solid var(--line); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.socials svg { width: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand) url(/static/brand/padrao-escuro.webp) center / 560px; border-top: 1px solid rgba(185, 162, 107, .45); color: rgba(255,255,255,.72); padding: 72px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .93rem; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text small { color: var(--accent-soft); }
.footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .socials a { border-color: rgba(255,255,255,.18); color: #fff; }
.site-footer .socials a:hover { background: #fff; color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
.footer-about p { margin: 18px 0 22px; max-width: 320px; }
.footer-hours { white-space: pre-line; }

/* ---------- Flutuantes ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-bar.show { transform: none; }
.mobile-bar .call { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); display: grid; place-items: center; }
.mobile-bar .call svg { width: 20px; }
@media (min-width: 1024px) { .mobile-bar { display: none; } .wa-float { bottom: 24px; right: 24px; } }
.no-mobile-bar .mobile-bar { display: none; }
.no-mobile-bar .wa-float { bottom: calc(20px + env(safe-area-inset-bottom)); }

.cookie {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 120; max-width: 520px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: .9rem;
}
.cookie p { margin: 0 0 14px; color: var(--ink-2); }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 640px) { .cookie { left: 24px; bottom: 24px; } }

/* ---------- Páginas interiores ---------- */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, var(--brand-100), transparent 65%); z-index: -1; }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); max-width: 860px; }
.page-hero .lead { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 22px; padding: 0; list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }

/* Tratamento — detalhe */
.t-detail { display: grid; gap: 40px; }
@media (min-width: 1024px) { .t-detail { grid-template-columns: 1fr 360px; gap: 64px; align-items: start; } }
.t-hero-img { aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-50) url(/static/brand/padrao-claro.webp) center / 520px; margin-bottom: 48px; display: grid; place-items: center; color: var(--brand); }
.t-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.t-hero-img svg { width: 120px; }
.t-block { margin-bottom: 44px; }
.t-block h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.t-block p { color: var(--ink-2); font-size: 1.04rem; }
.t-lists { display: grid; gap: 20px; }
@media (min-width: 700px) { .t-lists { grid-template-columns: 1fr 1fr; } }
.t-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.t-list h2 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.t-list h2 .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.t-list h2 .ic svg { width: 20px; }
.t-list .check-list { margin: 0; }
.t-block .objective { border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.65rem); line-height: 1.45; color: var(--ink); margin: 0; }
/* Espaço de fecho das páginas que terminam directamente no rodapé */
.page-end { padding-bottom: clamp(72px, 10vw, 120px); }
@media (min-width: 1024px) { .t-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.side-nav-title { display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink); border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.side-nav-title::before { content: ''; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); flex: none; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink-2); }
.side-nav a:hover { background: var(--brand-50); color: var(--brand); }
.side-nav svg { width: 14px; }

/* Lista de tratamentos (página) */
.t-row { display: grid; gap: 28px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.t-row:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .t-row { grid-template-columns: 90px 1fr 1fr auto; gap: 40px; } .t-row .actions { justify-content: flex-end; min-width: 150px; } }
.t-row .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.t-row h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.t-row h2 a { text-decoration: none; }
.t-row p { margin: 0; color: var(--ink-2); }
.t-row .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sobre */
.mvv { display: grid; gap: 20px; }
@media (min-width: 900px) { .mvv { grid-template-columns: repeat(3, 1fr); } }
.mvv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.mvv-card .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-100); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 20px; }
.mvv-card .ic svg { width: 24px; }
.mvv-card p { color: var(--ink-2); margin: 0; }
.mvv-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); }
.mvv-card ul li::before { content: '◆'; color: var(--accent); margin-right: 12px; font-size: .7em; vertical-align: 2px; }
.prose-cols p { color: var(--ink-2); font-size: 1.05rem; }

/* ---------- Blog ---------- */
.blog-tools { display: grid; gap: 18px; margin-bottom: 44px; }
@media (min-width: 900px) { .blog-tools { grid-template-columns: 1fr 340px; align-items: center; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: all .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip small { opacity: .6; }
.search { position: relative; }
.search input { width: 100%; height: 50px; border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 0 52px 0 22px; }
.search input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.search button { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search button svg { width: 18px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; text-decoration: none; font-weight: 600; background: #fff; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

.post-head { max-width: 820px; margin: 0 auto; text-align: center; }
.post-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.post-head .p-meta { justify-content: center; font-size: .88rem; }
.post-cover { max-width: 1040px; margin: 40px auto 0; aspect-ratio: 16 / 8; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--brand-100), var(--accent-100)); display: grid; place-items: center; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover svg { width: 90px; color: var(--brand-500); opacity: .45; }
.post-layout { max-width: 720px; margin: 0 auto; }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--brand-500); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; background: var(--brand-50); border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.post-foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; margin: 48px 0 0; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: .84rem; padding: 6px 12px; background: var(--brand-50); border-radius: 999px; text-decoration: none; color: var(--brand); font-weight: 600; }
.share { display: flex; align-items: center; gap: 8px; }
.share span { font-size: .84rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brand); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.share svg { width: 17px; }
.post-cta { margin: 48px 0 0; padding: 40px 32px; border-radius: var(--radius-lg); background: var(--brand); color: rgba(255,255,255,.85); text-align: center; position: relative; overflow: hidden; }
.post-cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 10px; }
.post-cta p { max-width: 460px; margin: 0 auto 24px; }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .field .label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--accent-ink); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 0 18px; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { padding: 14px 18px; min-height: 100px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%232b2b2e' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.field.has-error .input, .field.has-error .select { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .84rem; font-weight: 600; display: none; }
.field.has-error .error { display: block; }
.hint { font-size: .84rem; color: var(--muted); }

/* Telefone: indicativo internacional + número num único campo */
.phone-input { display: flex; align-items: stretch; min-height: 54px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.phone-input:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.field.has-error .phone-input { border-color: var(--danger); }
.phone-input .cc { position: relative; flex: none; display: flex; align-items: center; border-right: 1px solid var(--line); }
.phone-input .cc select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.phone-input .cc-display { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 16px; font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; pointer-events: none; }
.phone-input .cc-iso { font-size: .7rem; letter-spacing: .12em; color: var(--accent-ink); }
.phone-input .cc-display svg { width: 14px; height: 14px; color: var(--muted); }
.phone-input .cc select:focus-visible + .cc-display { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 10px; }
.phone-input .input { flex: 1; min-width: 0; min-height: 0; border: 0; border-radius: 0 14px 14px 0; box-shadow: none; background: transparent; }
.phone-input .input:focus { box-shadow: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Marcação (stepper) ---------- */
.booking-wrap { display: grid; gap: 32px; }
@media (min-width: 1024px) { .booking-wrap { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; } }
.booking { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 36px; list-style: none; padding: 0; }
.progress li { display: grid; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.progress li::before { content: ''; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s var(--ease); }
.progress li.done::before, .progress li.current::before { background: var(--brand); }
.progress li.current { color: var(--brand); }
.progress li span { display: none; }
@media (min-width: 560px) { .progress li span { display: inline; } }
.step { display: none; animation: stepIn .45s var(--ease); }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 6px; }
.step > p.muted { margin-bottom: 28px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
/* Em ecrãs estreitos, os dois botões têm de caber sem alargar a página */
.booking { min-width: 0; }
@media (max-width: 480px) { .step-actions { flex-wrap: wrap; } .step-actions .btn { padding-inline: 20px; } }
.step-actions .btn-back { background: transparent; color: var(--ink-2); border-color: var(--line); }
.step-actions .btn-back:hover { border-color: var(--ink-2); box-shadow: none; }
.step-actions .spacer { flex: 1; }
.options { display: grid; gap: 14px; margin-bottom: 20px; }
@media (min-width: 560px) { .options { grid-template-columns: 1fr 1fr; } }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .box { display: flex; gap: 16px; align-items: flex-start; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, box-shadow .2s, background .2s; }
.option .box .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; transition: all .2s; }
.option .box .ic svg { width: 22px; }
.option strong { display: block; font-size: 1.02rem; }
.option small { color: var(--muted); font-size: .86rem; }
.option .radio { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); flex: none; transition: all .2s; }
.option:hover .box { border-color: var(--brand-500); }
.option input:checked + .box { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.option input:checked + .box .ic { background: var(--brand); color: #fff; }
.option input:checked + .box .radio { border: 7px solid var(--brand); }
.option input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 3px; }
.reveal-field { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.reveal-field.open { max-height: 200px; opacity: 1; }

.cal { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 24px; user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--brand); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal-nav svg { width: 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-grid button { height: 44px; border: 0; border-radius: 12px; background: transparent; font-weight: 600; font-size: .95rem; cursor: pointer; position: relative; transition: background .15s, color .15s; }
.cal-grid button:not(:disabled):hover { background: var(--brand-50); color: var(--brand); }
.cal-grid button:disabled { color: #c9c2b8; cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); }
.cal-grid button.today::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-grid button.selected { background: var(--brand); color: #fff; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.time-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.time-chips label { cursor: pointer; }
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); max-height: 260px; overflow-y: auto; padding: 4px; margin-top: 10px; }
.time-slots label { position: relative; }
.time-slots span { width: 100%; justify-content: center; padding: 10px 6px; font-variant-numeric: tabular-nums; }
.time-slots p { grid-column: 1 / -1; margin: 0; }
[hidden] { display: none !important; }
.time-chips input { position: absolute; opacity: 0; }
.time-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; transition: all .2s; }
.time-chips svg { width: 16px; }
.time-chips input:checked + span { border-color: var(--brand); background: var(--brand); color: #fff; }
.time-chips input:disabled + span { opacity: .4; cursor: not-allowed; }
.time-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--accent-100); color: #6a5730; font-size: .9rem; margin-bottom: 22px; }
.notice svg { width: 20px; flex: none; margin-top: 2px; }
.summary { border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.summary-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.summary-row:last-child { border-bottom: 0; }
.summary-row dt { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); grid-column: 1; }
.summary-row dd { margin: 0; font-weight: 600; grid-column: 1; word-break: break-word; }
.summary-row button { grid-column: 2; grid-row: 1 / 3; border: 0; background: none; color: var(--brand-500); font-weight: 700; font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form-error { display: none; padding: 14px 18px; border-radius: var(--radius-sm); background: #fdecea; color: var(--danger); font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.form-error.show { display: block; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.channel-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 10px; }
.booking-aside { display: grid; gap: 20px; }
@media (min-width: 1024px) { .booking-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.aside-card h3 { margin-bottom: 14px; }
.aside-card .contact-list { margin: 0; gap: 16px; }
.steps-info { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 16px; }
.steps-info li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.steps-info li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--brand-50); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }
.steps-info strong { color: var(--ink); display: block; }

/* Sucesso */
.success { max-width: 720px; margin: 0 auto; text-align: center; }
.success .check-anim { width: 96px; height: 96px; margin: 0 auto 32px; border-radius: 50%; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); }
.success .check-anim svg { width: 46px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.success .msg { font-size: 1.1rem; color: var(--ink-2); line-height: 1.75; }
.success .ref { display: inline-block; margin: 8px 0 32px; padding: 10px 18px; border-radius: 999px; background: var(--brand-50); font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.success .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utilitários */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }
.flex-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.legal { max-width: 780px; }
.legal h2 { font-size: 1.7rem; margin-top: 1.6em; }

/* ---------- Elementos da identidade "A Joia" ---------- */
/* Texturas oficiais de facetas nas superfícies grafite (declarado no fim para prevalecer sobre os "background" acima) */
.dark, .post-cta { background-color: var(--brand); background-image: url(/static/brand/padrao-escuro.webp); background-size: 560px; background-position: center; }
/* Símbolo oficial como marcador de imagem enquanto não há fotografia */
.brand-art { display: grid; place-items: center; width: 100%; height: 100%; }
:is(.media-frame, .p-img, .post-cover, .t-hero-img) .brand-art img { width: 26%; max-width: 150px; height: auto; object-fit: contain; transform: none; }
.p-img .brand-art img { width: 20%; }
/* Secção "pedra": taupe claro da paleta + textura oficial de facetas (claro).
   Usada em "Experiência e compromisso" para se distinguir claramente do rodapé grafite. */
.stone {
  position: relative;
  background-color: #ece5da;
  /* véu taupe sobre a textura: as facetas ficam subtis e o texto mantém-se protagonista */
  background-image: linear-gradient(rgba(236, 229, 218, .62), rgba(236, 229, 218, .62)), url(/static/brand/padrao-claro.webp);
  background-size: auto, 560px; background-position: center;
  border-top: 1px solid rgba(185, 162, 107, .35);
  color: var(--ink-2);
}
.stone h2, .stone h3 { color: var(--ink); }
.stone .eyebrow { color: #6f5c2f; }
.stone .eyebrow::before { background: var(--accent); }
.stone .lead { color: #4a4540; }
.stone .stat { background: rgba(255, 255, 255, .72); border: 1px solid rgba(43, 43, 46, .08); box-shadow: var(--shadow-sm); backdrop-filter: blur(2px); }
.stone .stat .ic { color: var(--accent-ink); }
.stone .stat strong { color: var(--ink); }

/* Losango dourado — motivo gráfico da marca */
.diamond { display: inline-block; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--accent); }
.btn { letter-spacing: .02em; }
.dark .btn-light, .post-cta .btn-light { --c: var(--brand); }
.btn-light:hover { --b: var(--accent-100); }
