/* =========================================================
   Áurea Clínica Dentária (demo) — Verde · Branco · Dourado
   ========================================================= */
:root {
  --green-950: #07231a;
  --green-900: #0b2e22;
  --green-800: #0f3d2e;
  --green-700: #155240;
  --green-600: #1f6a53;
  --green-100: #e6efe9;
  --green-50: #f2f7f4;
  --gold-600: #b08a36;
  --gold-500: #c9a24b;
  --gold-400: #d8b766;
  --gold-100: #f6eed9;
  --cream: #faf7f0;
  --white: #ffffff;
  --text: #1d2b25;
  --muted: #5d6b64;
  --line: #e4e0d4;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 34px rgba(11, 46, 34, .08);
  --shadow-lg: 0 24px 60px rgba(11, 46, 34, .16);
  --header-h: 160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; color: var(--green-800); }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
.center { text-align: center; margin-top: 48px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--xs { width: 14px; height: 14px; }

/* ---------- Placeholders de imagem ---------- */
.ph { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--green-100), var(--gold-100)); }
.ph::before {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 8px;
  font: 600 .75rem var(--font-body); letter-spacing: .04em; color: var(--green-700); opacity: .6; text-align: center; word-break: break-all;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tipografia auxiliar ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-400); }
.muted-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 24px 0 10px; }

/* ---------- Botões e links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent; font: 700 .92rem var(--font-body); letter-spacing: .02em; cursor: pointer; transition: .25s ease; white-space: nowrap; }
.btn--gold { background: var(--gold-500); color: var(--green-950); }
.btn--gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,75,.35); }
.btn--green { background: var(--green-800); color: var(--white); }
.btn--green:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,61,46,.25); }
.btn--outline { border-color: var(--green-800); color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--green-800); }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link { font-weight: 700; font-size: .9rem; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.link .icon { color: var(--gold-500); transition: transform .2s; }
a:hover .link .icon, .link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: var(--shadow); }
.header__top { display: flex; align-items: center; justify-content: space-between; height: 92px; border-bottom: 1px solid var(--line); transition: height .3s; }
.header.is-scrolled .header__top { height: 70px; }
.header__tools { display: flex; align-items: center; gap: 28px; }
.header__phone { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--green-800); }
.header__phone .icon { color: var(--gold-500); }
.header__phone:hover { color: var(--gold-600); }
.header__bottom { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.logo { display: flex; align-items: center; gap: 14px; }
.logo__badge { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--gold-500); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; color: var(--gold-600); position: relative; }
.logo__badge::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px dashed rgba(201,162,75,.45); }
.logo__badge strong { font: 700 1.45rem var(--font-display); }
.logo__badge small { font-size: .5rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.logo__text { font: 700 1.9rem/1 var(--font-display); letter-spacing: .06em; color: var(--green-800); display: flex; flex-direction: column; }
.logo__text small { font: 600 .6rem var(--font-body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-600); margin-top: 5px; }
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__badge { color: var(--gold-400); }

.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: 600 .85rem var(--font-body); color: var(--green-800); padding: 6px; }
.lang__btn .icon:first-child { color: var(--gold-500); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 5; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: block; padding: 8px 12px; border-radius: 6px; font-size: .88rem; }
.lang__menu a:hover, .lang__menu a.is-active { background: var(--green-50); color: var(--green-800); font-weight: 600; }

/* Navegação */
.nav { position: relative; display: flex; align-items: center; gap: 4px; height: 100%; }
.nav__item { height: 100%; display: flex; align-items: center; }
.nav__item--drop { position: relative; }
.nav__link { display: flex; align-items: center; gap: 5px; padding: 8px 12px; font-size: .93rem; font-weight: 500; color: var(--text); position: relative; transition: color .2s; }
.nav__link .icon { color: var(--gold-500); transition: transform .25s; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__item:hover > .nav__link, .nav__item.is-active > .nav__link { color: var(--green-700); }
.nav__item:hover > .nav__link::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__item:hover > .nav__link .icon { transform: rotate(180deg); }
.nav__toggle, .nav__mobile-cta { display: none; }
.header__cta { padding: 13px 34px; }

.mega, .drop { position: absolute; top: 100%; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 10; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega,
.nav__item:hover > .drop, .nav__item:focus-within > .drop { opacity: 1; visibility: visible; transform: none; }
.mega { left: 0; width: min(880px, 90vw); padding-top: 4px; }
.mega__inner { background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 26px 28px 30px; border-top: 2px solid var(--gold-500); max-height: calc(100vh - 180px); overflow-y: auto; }
.mega__title { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-800); margin: 0 0 14px; }
.mega__title .icon { color: var(--gold-500); }
.mega__title:hover { color: var(--gold-600); }
.mega__grid + .mega__title { margin-top: 26px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 20px; }
.mega__item { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 10px; font-size: .92rem; transition: background .2s, color .2s; }
.mega__item:hover { background: var(--green-50); color: var(--green-700); }
.thumb { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; border: 1.5px solid var(--gold-100); }
.thumb::before { content: ""; }
.drop { left: 0; min-width: 240px; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 12px; border-top: 2px solid var(--gold-500); }
.drop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
.drop a .icon { color: var(--gold-500); width: 16px; height: 16px; }
.drop a:hover { background: var(--green-50); color: var(--green-700); }
.drop .drop__all { border-top: 1px solid var(--line); border-radius: 0; margin-top: 6px; padding-top: 12px; font-weight: 700; color: var(--green-700); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--green-800); margin: 5px 0; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Botão flutuante */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .25s, box-shadow .25s; }
.fab img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.fab:hover { transform: scale(1.06); box-shadow: 0 16px 38px rgba(37,211,102,.55); }

/* ---------- Hero (início) ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: 620px; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero__media, .phero__media { position: absolute; inset: 0; background: linear-gradient(135deg, var(--green-700), var(--green-900)); }
.hero__media::before, .phero__media::before { color: rgba(255,255,255,.35); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,35,26,.92) 0%, rgba(7,35,26,.62) 45%, rgba(7,35,26,.05) 100%); }
.hero__content { position: relative; padding-block: 110px; }
.hero h1 { color: var(--white); max-width: 700px; }
.hero h1 em, .phero h1 em { color: var(--gold-400); font-style: italic; }
.hero p { font-size: 1.2rem; max-width: 520px; color: rgba(255,255,255,.86); margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Hero de páginas internas ---------- */
.phero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.phero--small { min-height: 380px; }
.phero__media--plain { background: radial-gradient(circle at 80% 20%, var(--green-600), var(--green-900) 60%); }
.phero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,35,26,.94) 0%, rgba(7,35,26,.7) 50%, rgba(7,35,26,.25) 100%); }
.phero__content { position: relative; padding-block: 70px 80px; }
.phero h1 { color: var(--white); max-width: 780px; }
.phero p { font-size: 1.12rem; max-width: 600px; color: rgba(255,255,255,.85); margin-bottom: 30px; }
.phero__stats { display: flex; flex-wrap: wrap; gap: 20px 48px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(201,162,75,.35); max-width: 760px; }
.phero__stats div { display: flex; flex-direction: column; }
.phero__stats strong { font: 600 2.4rem/1 var(--font-display); color: var(--gold-400); }
.phero__stats span { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.65); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs [aria-current] { color: var(--white); }

/* ---------- Secções ---------- */
.section { padding-block: 104px; }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-800); color: var(--white); }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.section__head--light h2 { color: var(--white); }
.section__head--light p { color: rgba(255,255,255,.72); }
.section__head--left { text-align: left; margin: 0; }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Cartões de texto */
.card { position: relative; display: block; padding: 34px 30px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: .3s ease; }
.section--cream .card { border-color: transparent; }
.card::before { content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__num { font: italic 600 1.15rem var(--font-display); color: var(--gold-500); display: block; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; }
.card--link p { margin-bottom: 18px; }

/* Cartões com imagem */
.icard { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .35s ease; }
.icard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.icard__img .ph { height: 100%; transition: transform .6s; }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.icard:hover .icard__img .ph { transform: scale(1.05); }
.icard__body { display: flex; flex-direction: column; padding: 26px 26px 28px; flex: 1; }
.icard__body p { color: var(--muted); font-size: .94rem; flex: 1; }
.icard__tag { display: inline-block; align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); background: var(--gold-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 4 / 5; isolation: isolate; max-width: 100%; }
.split__media > .ph { position: absolute; inset: 0; border-radius: var(--radius-lg); }
.split__media::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--gold-500); border-radius: var(--radius-lg); z-index: -1; }
.split--reverse .split__media::after { inset: 24px 24px -24px -24px; }
.split__text p { color: var(--muted); font-size: 1.05rem; }
.badge-float { position: absolute; bottom: 34px; left: -34px; z-index: 2; background: var(--gold-500); color: var(--green-950); padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.1; }
.badge-float strong { font: 700 2.4rem var(--font-display); }
.badge-float span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.checklist { list-style: none; padding: 0; margin: 0 0 30px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-weight: 500; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-100); color: var(--green-800); margin-top: 1px; }

/* Números */
.stats { background: var(--green-900); padding-block: 72px; color: var(--white); }
.stat { text-align: center; padding: 8px; border-left: 1px solid rgba(201,162,75,.28); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 600 clamp(2.6rem, 5vw, 3.8rem)/1 var(--font-display); color: var(--gold-400); margin-bottom: 10px; }
.stat span { font-size: .9rem; color: rgba(255,255,255,.75); letter-spacing: .03em; }

/* Declaração */
.statement { background: var(--green-900); padding-block: 90px; text-align: center; }
.statement p { font: 500 clamp(1.6rem, 3vw, 2.4rem)/1.35 var(--font-display); color: var(--white); max-width: 900px; margin: 0 auto; }
.statement em { color: var(--gold-400); }

/* Tecnologia */
.tech { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.tech__text p { color: var(--muted); font-size: 1.05rem; }
.tech__media { position: relative; min-height: 460px; }
.tech__img { position: absolute; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.tech__img--1 { top: 0; left: 0; width: 72%; aspect-ratio: 4 / 3; }
.tech__img--2 { bottom: 0; right: 0; width: 56%; aspect-ratio: 4 / 3; border: 6px solid var(--white); }

/* Casos clínicos (antes/depois) */
.case { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; }
.ba .ph { position: absolute; inset: 0; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before .ph { background: linear-gradient(135deg, var(--gold-100), #efe6cf); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-50%); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: var(--gold-500); color: var(--green-950); display: grid; place-items: center; font-size: 1rem; font-weight: 700; box-shadow: var(--shadow); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__label { position: absolute; top: 12px; z-index: 1; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.ba__label--l { left: 12px; background: var(--green-800); color: var(--white); }
.ba__label--r { right: 12px; background: var(--gold-500); color: var(--green-950); }
.case__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.case__cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; }
.case__body h3 { font-size: 1.45rem; }
.case__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.case__meta { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); margin-bottom: 14px; }
.case__meta strong { display: block; font-size: .9rem; color: var(--green-800); }
.case__meta span { font-size: .8rem; color: var(--muted); }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--gold-500); }
.avatar--sm { width: 40px; height: 40px; }
.avatar::before, .thumb::before { content: ""; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags a { font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-700); transition: .2s; }
.tags a:hover { background: var(--green-800); color: var(--white); }
.tags--lg a { font-size: .88rem; padding: 9px 18px; border: 1px solid var(--green-100); }
.tags--lg { margin-bottom: 30px; }
.tags--center { justify-content: center; }
.section--cream .tags--lg a { background: var(--white); }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 44px; }
.filters button { font: 600 .88rem var(--font-body); padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; transition: .2s; }
.filters button:hover { border-color: var(--gold-500); color: var(--green-700); }
.filters button.is-active { background: var(--green-800); border-color: var(--green-800); color: var(--white); }


.info-list { list-style: none; padding: 0; margin: 10px 0 28px; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.info-list .icon { color: var(--gold-500); margin-top: 2px; }
.info-list a:hover { color: var(--green-700); }
.info-list--lg li { font-size: 1.02rem; }

.info-strip { position: relative; z-index: 2; margin-top: -50px; }
.info-box { display: flex; gap: 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; border-top: 3px solid var(--gold-500); }
.info-box > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--green-50); color: var(--green-800); }
.info-box span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 4px; }
.info-box p { margin: 0; font-size: .95rem; }
.info-box a:hover { color: var(--green-700); }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 540px; }
.gallery__img { border-radius: var(--radius); }
.gallery__img:first-child { grid-row: span 2; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
/* sem mapa configurado (clinica.mapEmbed vazio): fica o marcador de lugar */
.map--vazio { background: repeating-linear-gradient(45deg, var(--green-50), var(--green-50) 14px, var(--white) 14px, var(--white) 28px); border: 1px dashed var(--green-600); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--green-700); box-shadow: none; }
.map--vazio .icon { width: 42px; height: 42px; color: var(--gold-500); }
.map--vazio span { font-size: .88rem; color: var(--muted); }

/* Testemunhos */
.quote { margin: 0; padding: 36px; border: 1px solid rgba(201,162,75,.35); border-radius: var(--radius); background: rgba(255,255,255,.04); display: flex; flex-direction: column; }
.stars { color: var(--gold-400); letter-spacing: 3px; margin-bottom: 16px; }
.quote p { font: italic 500 1.3rem/1.45 var(--font-display); color: rgba(255,255,255,.92); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.quote footer strong { display: block; color: var(--white); }
.quote footer span { font-size: .82rem; color: var(--gold-400); }
.quote--light { background: var(--cream); border-color: var(--line); }
.quote--light p { color: var(--green-800); }
.quote--light footer strong { color: var(--green-800); }
.quote--light footer span { color: var(--gold-600); }

/* Faixa de acordos */
.band { padding-block: 70px; background: linear-gradient(120deg, var(--gold-100), var(--cream)); border-block: 1px solid rgba(201,162,75,.25); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .3em; }
.band p { color: var(--muted); margin: 0; max-width: 620px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: 190px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 1.35rem var(--font-display); color: var(--green-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-600); }
.faq__icon { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--gold-500); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--gold-600); transform: translate(-50%, -50%); transition: transform .3s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { background: var(--gold-500); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--green-950); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; margin: 0; }

/* Etapas */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-800); color: var(--gold-400); font: 600 1.3rem var(--font-display); margin-bottom: 18px; }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

.info-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; }
.info-block p { color: var(--muted); font-size: 1.08rem; }
.info-card { background: var(--green-800); color: rgba(255,255,255,.82); border-radius: var(--radius-lg); padding: 38px; position: relative; overflow: hidden; }
.info-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(201,162,75,.35); }
.info-card h3 { color: var(--white); }
.info-card a:not(.btn) { color: var(--gold-400); font-weight: 600; }
.info-card p { color: rgba(255,255,255,.8); margin-bottom: 24px; }

.list-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border-top: 3px solid var(--green-800); }
.list-card--gold { border-top-color: var(--gold-500); }
.list-card .checklist { margin: 0; }
.tip { padding: 32px; border-radius: var(--radius); border: 1px solid rgba(201,162,75,.35); }
.tip p { font: 500 1.35rem/1.4 var(--font-display); color: var(--white); margin: 0; }

/* Equipa */
.member { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.member__img { aspect-ratio: 4 / 5; }
.member__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.member h3 { font-size: 1.35rem; margin: 0; }
.member__role { font-size: .85rem; color: var(--muted); }
.member__spec { font-size: .78rem; font-weight: 700; color: var(--gold-600); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.member__spec:hover { color: var(--green-700); }
.is-hidden { display: none !important; }
.team-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 40px; padding: 18px 22px; background: var(--cream); border-radius: var(--radius); }
.team-filters__label { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-800); margin-right: 8px; }
.team-filters select { font: 500 .92rem var(--font-body); padding: 11px 38px 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Blog */
.post { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post__img .ph { height: 100%; transition: transform .6s; }
.post:hover .post__img .ph { transform: scale(1.05); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post__cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.post h3 { font-size: 1.45rem; }
.post__body p { color: var(--muted); font-size: .93rem; flex: 1; }
.post__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--green-800); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 60px; color: rgba(255,255,255,.8); }
.featured__img { position: relative; min-height: 380px; }
.featured__img .ph { position: absolute; inset: 0; }
.featured__body { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.featured h2 { color: var(--white); }
.featured .post__cat { color: var(--gold-400); }
.featured .post__foot { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.7); }
.featured .link { color: var(--gold-400); }

.article { display: grid; grid-template-columns: 1fr 320px; gap: 70px; align-items: start; }
.prose { max-width: 760px; }
.prose--center { margin: 0 auto; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.prose p { color: #3c4a43; font-size: 1.06rem; line-height: 1.8; }
.prose .lead { font: 500 1.5rem/1.5 var(--font-display); color: var(--green-800); }
.article__author { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding: 22px; border-radius: var(--radius); background: var(--cream); }
.article__author span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-600); font-weight: 700; }
.article__author strong { display: block; color: var(--green-800); }
.article__author em { font-size: .85rem; color: var(--muted); }
.article__aside { position: sticky; top: 190px; display: grid; gap: 24px; }
.aside-list { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.aside-list h4 { margin: 0 0 12px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-800); }
.aside-list > a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.aside-list > a:hover { color: var(--gold-600); }

/* Artigos científicos */
.pubs { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.pub { display: grid; grid-template-columns: 90px 1fr auto; gap: 26px; align-items: center; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); transition: .25s; }
.pub:hover { border-color: var(--gold-500); box-shadow: var(--shadow); }
.pub__year { font: 600 2rem var(--font-display); color: var(--gold-500); }
.pub h3 { font-size: 1.35rem; margin-bottom: .2em; }
.pub p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Preços */
.prices { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.prices__intro p { color: var(--muted); font-size: 1.05rem; }
.prices__img { margin-top: 30px; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; }
.prices__img .ph { height: 100%; }
.prices__tables { display: grid; gap: 24px; }
.price-table { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-table h3 { margin: 0; padding: 18px 26px; font-size: 1.35rem; background: var(--green-800); color: var(--white); }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 16px 26px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { text-align: right; font: 600 1.3rem var(--font-display); color: var(--gold-600); white-space: nowrap; }
.note { font-size: .82rem; color: var(--muted); margin: 0; }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-box { display: grid; place-items: center; height: 110px; background: var(--white); border-radius: var(--radius); border: 1px dashed var(--gold-500); font: 600 1.25rem var(--font-display); color: var(--green-700); text-align: center; padding: 10px; }
.feature { padding: 36px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: .3s; }
.feature:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.feature > .icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); margin-bottom: 20px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Sobre */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 1.5px; background: var(--gold-500); }
.timeline li { position: relative; text-align: center; padding: 0 12px; }
.timeline strong { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-800); color: var(--gold-400); font: 600 1.15rem var(--font-display); border: 4px solid var(--cream); }
.timeline span { font-weight: 600; color: var(--green-800); font-size: .95rem; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 30px; }
.mini-grid span { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--green-800); }
.mini-grid .icon { color: var(--gold-500); }


/* Marcação */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.booking__card { display: flex; flex-direction: column; min-width: 0; background: var(--white); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border-top: 3px solid var(--gold-500); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--green-800); margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea { font: 400 .95rem var(--font-body); color: var(--text); padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); transition: border-color .2s, box-shadow .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,162,75,.2); background: var(--white); }
.form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); }
.form .check a { color: var(--green-700); text-decoration: underline; }
.form .check input { accent-color: var(--green-800); width: 18px; height: 18px; }
.form__ok { margin: 16px 0 0; text-align: center; color: var(--green-700); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--green-950); color: rgba(255,255,255,.7); padding-top: 84px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 60px; }
.footer__brand p { margin: 22px 0; max-width: 320px; }
.footer h4 { font: 700 .76rem var(--font-body); text-transform: uppercase; letter-spacing: .18em; color: var(--gold-400); margin: 0 0 18px; }
.footer__grid > div > a:not(.logo) { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 11px; transition: color .2s; }
.footer__grid > div > a .icon { color: var(--gold-500); margin-top: 3px; }
.footer__grid > div > a:not(.logo):hover { color: var(--gold-400); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; transition: transform .2s; }
/* em repouso ficam a cinzento, para não competir com o verde e o dourado;
   as cores da marca aparecem ao passar o rato ou ao receber o foco */
.socials a img { display: block; width: 32px; height: 32px; filter: grayscale(1) opacity(.65); transition: filter .25s; }
.socials a:hover img, .socials a:focus-visible img { filter: none; }
.socials a:hover { transform: translateY(-2px); }
/* variante em texto (bloco "Partilhar" dos artigos), ainda sem logotipos */
.socials--dark a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: .72rem; font-weight: 700; color: var(--green-800); }
.socials--dark a:hover { background: var(--gold-500); color: var(--green-950); transform: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.footer__bottom div { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--gold-400); }

/* ---------- Animações ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 8px; font-size: .88rem; }
  .header__cta { padding: 12px 22px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  html { scroll-padding-top: 90px; }
  .header__top, .header.is-scrolled .header__top { height: 76px; border-bottom: 0; }
  .header__bottom { height: 0; }
  .header__cta, .header__phone span { display: none; }
  .burger { display: block; position: relative; z-index: 120; }
  .logo__badge { width: 46px; height: 46px; }
  .logo__badge strong { font-size: 1.2rem; }
  .logo__text { font-size: 1.6rem; }

  .nav { position: fixed; inset: 76px 0 0 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 12px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .35s ease; border-top: 1px solid var(--line); }
  .nav.is-open { transform: none; }
  .nav__item { height: auto; flex-wrap: wrap; border-bottom: 1px solid var(--line); position: relative; }
  .nav__link { flex: 1; padding: 16px 4px; font-size: 1.05rem; }
  .nav__link .icon, .nav__link::after { display: none; }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--gold-600); cursor: pointer; }
  .nav__toggle .icon { transition: transform .25s; }
  .nav__item.is-open > .nav__toggle .icon { transform: rotate(180deg); }
  .mega, .drop { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; padding: 0; box-shadow: none; border: 0; }
  .nav__item:hover > .mega, .nav__item:hover > .drop { transform: none; }
  .nav__item.is-open > .mega, .nav__item.is-open > .drop { display: block; }
  .mega__inner { box-shadow: none; border: 0; padding: 4px 0 20px; max-height: none; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .drop { padding-bottom: 14px; min-width: 0; }
  .nav__mobile-cta { display: inline-flex; margin-top: 26px; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split, .tech, .info-block, .faq-wrap, .prices, .article { grid-template-columns: 1fr; gap: 56px; }
  .booking { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 540px; width: calc(100% - 24px); }
  .faq-wrap .section__head, .article__aside { position: static; }
  .featured { grid-template-columns: 1fr; }
  .featured__img { min-height: 280px; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline::before { top: 0; bottom: 0; left: 34px; right: auto; width: 1.5px; height: auto; }
  .timeline li { display: flex; align-items: center; gap: 20px; text-align: left; padding: 0; }
  .timeline strong { margin: 0; flex-shrink: 0; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .grid--4.stats > .stat { border-left: 0; }
}

@media (max-width: 640px) {
  .section { padding-block: 76px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats .grid--4 { row-gap: 36px; }
  .stat { border-left: 0; }
  .mega__grid { grid-template-columns: 1fr; }
  .lang__btn span { display: none; }
  .header__tools { gap: 10px; }
  .hero { min-height: 560px; }
  .phero { min-height: 440px; }
  .phero__content { padding-block: 50px 56px; }
  .phero__stats { gap: 18px 30px; }
  .phero__stats strong { font-size: 1.9rem; }
  .badge-float { left: 12px; bottom: 16px; }
  .band__inner { flex-direction: column; align-items: flex-start; }
  .booking__card { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .featured__body { padding: 30px 24px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px; height: auto; }
  .gallery__img:first-child { grid-row: auto; grid-column: span 2; }
  .tech__media { min-height: 320px; }
  .member h3 { font-size: 1.1rem; }
  .member__body { padding: 14px 14px 18px; }
  .pub { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .mini-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.2rem; }
  .faq details p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ---------- Imagens otimizadas e vídeo ---------- */
.ph--photo { display: block; background: var(--green-100); }
.ph--photo::before { content: none; }
video.ph--photo { width: 100%; height: 100%; object-fit: cover; border: 0; }
.hero__media[poster] { background: var(--green-900); }
.hero__video-off .hero__media { filter: none; }

/* ---------- Cartões compactos (página inicial) ---------- */
/* Mostram só o nome; a explicação abre num painel ao passar o rato,
   por cima do resto da página, para os cartões ficarem baixos. */
.grid--compacta { gap: 20px; }
.card--reveal { position: relative; padding: 0; border-radius: var(--radius); }
.card--reveal .card__head { display: flex; align-items: center; gap: 16px; padding: 24px 28px; }
.card--reveal .card__num { margin: 0; }
.card--reveal h3 { margin: 0; font-size: 1.4rem; flex: 1; }
.card__seta { color: var(--gold-500); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.card--reveal:hover .card__seta, .card--reveal:focus-visible .card__seta { opacity: 1; transform: none; }

.card__pop {
  position: absolute; left: -1px; right: -1px; top: 100%;
  display: block; overflow: hidden;
  max-height: 0; opacity: 0; padding: 0 28px;
  background: var(--white);
  border: 1px solid var(--gold-500); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  z-index: 6;
}
.card__text { display: block; color: var(--muted); font-size: .95rem; line-height: 1.6; margin-bottom: 14px; }
.card--reveal:hover, .card--reveal:focus-visible { transform: none; border-color: var(--gold-500); border-bottom-color: transparent; border-radius: var(--radius) var(--radius) 0 0; z-index: 6; }
.card--reveal:hover .card__pop, .card--reveal:focus-visible .card__pop { max-height: 280px; opacity: 1; padding: 4px 28px 24px; }
.card--reveal:focus-visible { outline: none; }

/* Sem rato (telemóveis e tablets) a explicação fica sempre visível */
@media (hover: none) {
  .card--reveal .card__pop {
    position: static; max-height: none; opacity: 1; padding: 0 28px 24px;
    border: 0; box-shadow: none; border-radius: 0;
  }
  .card--reveal .card__seta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .card__pop, .card__seta { transition: none; }
}

/* ---------- Marcação: cabeçalho dos cartões ---------- */
.booking__head { margin-bottom: 24px; }
.booking__tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--gold-100); color: var(--gold-600); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.booking__tag--verde { background: var(--green-100); color: var(--green-800); }
.booking__head h3 { font-size: 1.8rem; margin: 0 0 4px; }
.booking__head p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Formulário de pedido de chamada */
.form fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 8px; font-size: .85rem; font-weight: 600; color: var(--green-800); }
.form__pilulas { display: flex; flex-wrap: wrap; gap: 8px; }
.form .form__pilulas label { position: relative; margin: 0; }
.form__pilulas input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.form__pilulas span { display: inline-block; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); color: var(--text); font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.form__pilulas input:checked + span { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.form__pilulas input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.form__opc { font-style: normal; font-weight: 500; color: var(--muted); }
.booking__card.form .check { margin-top: auto; }
.form__alt { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .9rem; }
.form__alt a { color: var(--green-700); font-weight: 700; }

/* Contactos por baixo dos cartões */
.booking__contactos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 44px; margin: 40px 0 0; padding: 0; list-style: none; }
.booking__contactos li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.booking__contactos li > .icon { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--white); color: var(--gold-600); box-shadow: var(--shadow); }
.booking__contactos span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-600); }
.booking__contactos a:hover { color: var(--green-700); }

/* ---------- Agenda (consulta de avaliação) ---------- */
.agenda__corpo, .agenda__passo { display: flex; flex-direction: column; flex: 1; }
.agenda__semjs { color: var(--muted); }
.agenda__semjs a { color: var(--green-700); font-weight: 700; }
.agenda__titulo { margin: 0; font: 600 1.4rem var(--font-display); color: var(--green-800); }
.agenda__titulo:focus { outline: none; }
.agenda__mes { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.agenda__nav { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--green-800); cursor: pointer; transition: border-color .2s, color .2s; }
.agenda__nav:hover:not(:disabled) { border-color: var(--gold-500); color: var(--gold-600); }
.agenda__nav:disabled { opacity: .35; cursor: default; }
.agenda__nav:focus-visible, .agenda__dia:focus-visible, .agenda__hora:focus-visible, .agenda__voltar:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.agenda__grelha { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.agenda__semana { padding-bottom: 6px; text-align: center; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.agenda__dia { position: relative; height: 46px; border: 0; border-radius: 12px; background: transparent; color: #b6bfba; font: 600 .95rem var(--font-body); cursor: default; }
.agenda__dia.tem-vagas { background: var(--green-50); color: var(--green-800); cursor: pointer; transition: background .2s, color .2s; }
.agenda__dia.tem-vagas::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); transform: translateX(-50%); }
.agenda__dia.tem-vagas:hover { background: var(--green-100); }
.agenda__dia.is-hoje { box-shadow: inset 0 0 0 1.5px var(--gold-500); }
.agenda__dia.is-sel { background: var(--green-800); color: var(--white); }
.agenda__dia.is-sel::after { background: var(--gold-400); }

.agenda__legenda { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 18px; color: var(--muted); font-size: .8rem; }
.agenda__legenda span { display: flex; align-items: center; gap: 8px; }
.agenda__marca { position: relative; width: 16px; height: 16px; border: 1px solid var(--line); border-radius: 5px; }
.agenda__marca--livre { border-color: transparent; background: var(--green-50); }
.agenda__marca--livre::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); transform: translateX(-50%); }
.agenda__vazio { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }

.agenda__voltar { display: inline-flex; align-self: flex-start; align-items: center; gap: 4px; margin-bottom: 14px; padding: 0; border: 0; background: none; color: var(--green-700); font: 600 .88rem var(--font-body); cursor: pointer; }
.agenda__voltar:hover { color: var(--gold-600); }
.agenda__sub { margin: 4px 0 20px; color: var(--muted); font-size: .92rem; }
.agenda__grupo + .agenda__grupo { margin-top: 18px; }
.agenda__grupo-nome { display: block; margin-bottom: 8px; color: var(--gold-600); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.agenda__horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.agenda__hora { padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--green-800); font: 600 .95rem var(--font-body); cursor: pointer; transition: border-color .2s, background .2s; }
.agenda__hora:hover { border-color: var(--gold-500); background: var(--gold-100); }

.agenda__resumo { display: flex; align-items: center; gap: 14px; margin: 16px 0 22px; padding: 16px 18px; border-radius: 12px; background: var(--green-50); }
.agenda__resumo > .icon { width: 26px; height: 26px; color: var(--gold-600); }
.agenda__resumo strong { display: block; color: var(--green-800); }
.agenda__resumo span { color: var(--muted); font-size: .85rem; }
.agenda__form { display: flex; flex-direction: column; }
.agenda__erro { margin: 12px 0 0; color: #a3372a; font-size: .88rem; text-align: center; }

.agenda__feito { align-items: center; justify-content: center; text-align: center; }
.agenda__visto { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--green-800); color: var(--gold-400); }
.agenda__visto .icon { width: 28px; height: 28px; }
.agenda__confirmacao { margin: 10px 0 12px; color: var(--text); }
.agenda__nota { margin: 0 0 22px; color: var(--muted); font-size: .85rem; }

@media (max-width: 640px) {
  .agenda__grelha { gap: 4px; }
  .agenda__dia { height: 40px; border-radius: 9px; font-size: .88rem; }
  .agenda__dia.tem-vagas::after { bottom: 4px; }
  .booking__contactos { flex-direction: column; align-items: flex-start; gap: 14px; }
}
