/* ==========================================================================
   Mudar para Portugal — sistema de estilos
   ========================================================================== */


:root {
  /* cor */
  --color-azulejo: #1F5673;
  --color-azulejo-dark: #123340;
  --color-azulejo-light: #EAF1F4;
  --color-sun: #E3A72E;
  --color-sun-dark: #B9820C;
  --color-terracotta: #C1603D;
  --color-paper: #FAF8F3;
  --color-paper-raised: #F3EEE2;
  --color-ink: #1C2321;
  --color-ink-soft: #4A5450;
  --color-line: #E1DACB;

  /* tipografia */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ritmo — cantos sempre quadrados, de propósito */
  --radius: 0px;
  --container-width: 1160px;
  --shadow-soft: 0 1px 2px rgba(28, 35, 33, 0.06), 0 8px 24px rgba(28, 35, 33, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

h1, h2, h3, h4, p, span, a, button, li, label, input, textarea {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.4rem, 4vw + 1rem, 3.6rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-sun-dark);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- botões ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-sun);
  color: var(--color-azulejo-dark);
}
.btn-primary:hover { background: var(--color-sun-dark); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-azulejo);
}
.btn-outline:hover { background: var(--color-azulejo); color: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-whatsapp {
  background: var(--color-azulejo);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--color-azulejo-dark); }

/* ---- cabeçalho ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--color-azulejo-dark);
}
.brand__mark {
  width: 34px; height: 34px;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-ink-soft);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav__links a:hover,
.main-nav__links a.is-active {
  color: var(--color-azulejo);
  border-color: var(--color-sun);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .main-nav { position: relative; }
  .main-nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    flex-direction: column;
    background: var(--color-paper);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-soft);
    min-width: 200px;
  }
  .main-nav.is-open .main-nav__links { display: flex; }
  .main-nav .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---- hero ---------------------------------------------------------------- */

.hero {
  padding-block: 72px 88px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-terracotta);
  margin-bottom: 14px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}
.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--color-azulejo);
  display: block;
}
.hero__stat-label {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
.hero__art {
  position: relative;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; width: 100%; max-width: 480px; margin-inline: auto; }
}

/* ---- vitrine de serviços (carrossel de imagens no hero) -------------------- */
/* Cantos sempre quadrados — sem border-radius em nenhum elemento aqui. */

.services-showcase {
  width: 100%;
  position: relative;
  background: var(--color-azulejo-dark);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  outline-offset: 4px;
}

/* todos os destaques ocupam a mesma célula: a altura é a do maior, sem saltos */
.services-showcase__stage {
  display: grid;
  width: 100%;
  overflow: hidden;
}
.services-showcase__slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
.services-showcase__slide.is-active { opacity: 1; visibility: visible; }

/* área da imagem: proporção fixa, preenchida de ponta a ponta (sem faixas vazias) */
.services-showcase__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-azulejo);
  flex-shrink: 0;
}
.services-showcase__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.services-showcase__media::after {
  /* leve sombra inferior para separar a imagem do texto */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(18, 51, 64, 0.35), transparent);
  pointer-events: none;
}
.services-showcase__slide-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(227, 167, 46, 0.35), transparent 55%),
    linear-gradient(155deg, var(--color-azulejo) 0%, var(--color-azulejo-dark) 100%);
  color: var(--color-paper);
}
.services-showcase__slide-fallback svg { width: 64px; height: 64px; opacity: 0.9; }

/* texto por baixo da imagem, em fundo sólido */
.services-showcase__caption {
  flex: 1;
  padding: 24px 28px 8px;
  color: var(--color-paper);
}
.services-showcase__caption-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sun);
  margin-bottom: 8px;
}
.services-showcase__caption-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--color-paper);
  margin: 0 0 8px;
}
.services-showcase__caption-desc {
  font-size: 0.94rem;
  color: rgba(250, 248, 243, 0.85);
  margin: 0 0 14px;
  max-width: 52ch;
}
.services-showcase__caption-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-sun);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.services-showcase__caption-cta:hover { border-color: var(--color-sun); }

/* setas sobre a imagem */
.services-showcase__arrows {
  position: absolute;
  top: 0; left: 0; right: 0;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
  z-index: 2;
}
.services-showcase__arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 248, 243, 0.35);
  background: rgba(18, 51, 64, 0.62);
  color: var(--color-paper);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.services-showcase__arrow:hover,
.services-showcase__arrow:focus-visible { background: var(--color-sun); border-color: var(--color-sun); color: var(--color-azulejo-dark); }
.services-showcase__arrow svg { width: 20px; height: 20px; }

.services-showcase__nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 14px 28px 20px;
}
.services-showcase__nav-btn {
  flex: 1;
  height: 18px;
  padding: 0;
  border: none;
  background: none;
  position: relative;
  cursor: pointer;
}
.services-showcase__nav-btn::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: rgba(250, 248, 243, 0.25);
}
.services-showcase__nav-progress {
  position: absolute;
  left: 0; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  width: 0%;
  background: var(--color-sun);
}
.services-showcase__nav-btn.is-active .services-showcase__nav-progress {
  animation: showcaseNavProgress 5s linear forwards;
}
@keyframes showcaseNavProgress {
  from { width: 0%; }
  to { width: 100%; }
}

@media (max-width: 900px) {
  .services-showcase__caption { padding: 20px 20px 6px; }
  .services-showcase__nav { padding: 12px 20px 18px; }
  .services-showcase__caption-title { font-size: 1.2rem; }
  .services-showcase__arrow { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .services-showcase__slide { transition: none; }
  .services-showcase__nav-btn.is-active .services-showcase__nav-progress { animation: none; width: 100%; }
}

/* ---- secções genéricas ---------------------------------------------------- */

section { padding-block: 72px; }
.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-heading--center { margin-inline: auto; text-align: center; }
.section-kicker {
  font-weight: 600;
  color: var(--color-terracotta);
  margin-bottom: 10px;
  display: block;
}

.bg-raised { background: var(--color-paper-raised); }
.bg-azulejo {
  background: var(--color-azulejo-dark);
  color: #F5EFE0;
  position: relative;
}
.bg-azulejo h2, .bg-azulejo h3 { color: #fff; }
.bg-azulejo p { color: #CBD9DE; }

/* ---- serviços (lista dividida, não cartões) -------------------------------- */

.service-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: start;
  padding-block: 28px;
  border-top: 1px solid var(--color-line);
  text-decoration: none;
  color: inherit;
}
.service-list .service-row:last-child { border-bottom: 1px solid var(--color-line); }
.service-row__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--color-azulejo-light);
  color: var(--color-azulejo);
  display: flex; align-items: center; justify-content: center;
}
.service-row__icon svg { width: 26px; height: 26px; }
.service-row__title { margin-bottom: 6px; font-size: 1.25rem; }
.service-row__desc { color: var(--color-ink-soft); margin: 0; }
.service-row__arrow {
  align-self: center;
  color: var(--color-azulejo);
  font-size: 1.4rem;
  transition: transform 0.15s ease;
}
.service-row:hover .service-row__arrow { transform: translateX(4px); }
.service-row:hover .service-row__title { color: var(--color-azulejo); }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 48px 1fr; }
  .service-row__arrow { display: none; }
}

/* ---- processo (linha do tempo numerada) ------------------------------------ */

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-azulejo);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -44px;
  width: 2px;
  background: var(--color-line);
}
.timeline__title { margin-bottom: 6px; }
.timeline__desc { color: var(--color-ink-soft); margin: 0; }

/* ---- testemunhos ----------------------------------------------------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.testimonial {
  padding: 8px 0 0 24px;
  border-left: 3px solid var(--color-sun);
}
.testimonial__mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-sun);
  display: block;
  margin-bottom: 4px;
}
.testimonial__quote { color: var(--color-ink); font-size: 1.05rem; }
.testimonial__name { font-weight: 600; margin-top: 14px; }
.testimonial__origin { color: var(--color-ink-soft); font-size: 0.92rem; }

/* ---- FAQ (accordion nativo) ------------------------------------------------ */

.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding-block: 6px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-azulejo);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; color: var(--color-ink-soft); }

/* ---- CTA banda -------------------------------------------------------------- */

.cta-band {
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- formulário -------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .form-field--full { grid-column: 1 / -1; }

.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field label { font-weight: 600; font-size: 0.94rem; }
.form-field .helptext { font-size: 0.84rem; color: var(--color-ink-soft); }
.form-field .errorlist {
  list-style: none; margin: 4px 0 0; padding: 0;
  color: #A0342A; font-size: 0.85rem;
}

.form-input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  width: 100%;
}
.form-input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-azulejo);
  box-shadow: 0 0 0 3px var(--color-azulejo-light);
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---- rodapé -------------------------------------------------------------- */

.site-footer {
  background: var(--color-azulejo-dark);
  color: #CBD9DE;
  padding-block: 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #A9BFC6; margin-top: 14px; }
.footer-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-social a { color: #CBD9DE; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.footer-social a:hover { color: #fff; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: #A9BFC6; transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #7E99A1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- botão flutuante WhatsApp ---------------------------------------------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  z-index: 50;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---- página de serviço individual ------------------------------------------- */

.service-hero {
  background: var(--color-azulejo-light);
  padding-block: 56px;
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--color-azulejo); text-decoration: none; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.service-aside {
  position: sticky;
  top: 100px;
  background: var(--color-paper-raised);
  padding: 28px;
}
.service-aside dl { margin: 0; }
.service-aside dt { font-size: 0.85rem; color: var(--color-ink-soft); margin-top: 16px; }
.service-aside dt:first-child { margin-top: 0; }
.service-aside dd { margin: 2px 0 0; font-weight: 600; }
.service-aside .btn { width: 100%; justify-content: center; margin-top: 24px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--color-line);
}
.checklist li:last-child { border-bottom: none; }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--color-azulejo); margin-top: 2px; }

@media (max-width: 860px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-aside { position: static; }
}

/* ---- página "sobre" --------------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.value-card__icon {
  width: 48px; height: 48px;
  color: var(--color-azulejo);
  margin-bottom: 16px;
}

/* ---- página de agradecimento ------------------------------------------------ */

.thanks-hero {
  padding-block: 120px;
  text-align: center;
}
.thanks-hero__icon {
  width: 72px; height: 72px;
  color: var(--color-azulejo);
  margin: 0 auto 24px;
}

/* ---- novidades (blog) ---------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 8px;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-line);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-card:hover { border-color: var(--color-azulejo); transform: translateY(-2px); }
.post-card__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--color-azulejo-light);
}
.post-card__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-azulejo);
}
.post-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.post-card__meta { font-size: 0.82rem; color: var(--color-ink-soft); }
.post-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-ink);
}
.post-card__excerpt { color: var(--color-ink-soft); font-size: 0.95rem; }
.post-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  color: var(--color-ink-soft);
}
.post-meta { font-size: 0.9rem; color: var(--color-ink-soft); }
.post-meta a { color: var(--color-azulejo); }
.post-body { max-width: 720px; margin-inline: auto; }
.post-body__cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 32px; }
.post-body p, .post-body li { font-size: 1.08rem; max-width: none; }
.post-body h2 { margin-top: 1.6em; }
.post-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.services-showcase:hover .services-showcase__nav-progress,
.services-showcase:focus-within .services-showcase__nav-progress { animation-play-state: paused; }

/* ==========================================================================
   COR DA MARCA — bordeaux Conecta (sobrepõe a paleta azul anterior)
   ========================================================================== */
:root {
  --color-azulejo: #4A1C21;        /* bordeaux principal (logótipo) */
  --color-azulejo-dark: #2E1013;   /* bordeaux escuro */
  --color-azulejo-light: #F5ECEC;  /* tom claro para fundos e ícones */
  --color-sun: #C9A24D;            /* dourado da linha do logótipo */
  --color-sun-dark: #A9822F;
  --color-terracotta: #7A2E34;     /* kickers / destaques de texto */
  --gold-line: linear-gradient(90deg, rgba(201,162,77,0) 0%, #C9A24D 15%, #E6C77A 50%, #C9A24D 85%, rgba(201,162,77,0) 100%);
}

::selection { background: var(--color-azulejo); color: #fff; }

/* botões */
.btn-primary { background: var(--color-azulejo); color: #fff; }
.btn-primary:hover { background: var(--color-azulejo-dark); }
.bg-azulejo .btn-primary,
.site-footer .btn-primary { background: var(--color-sun); color: var(--color-azulejo-dark); }
.bg-azulejo .btn-primary:hover,
.site-footer .btn-primary:hover { background: #D9B565; }
.btn-outline { color: var(--color-azulejo); }
.btn-outline:hover { background: var(--color-azulejo); border-color: var(--color-azulejo); color: #fff; }

/* cabeçalho com a linha dourada do logótipo */
.site-header { border-bottom: 1px solid transparent; border-image: var(--gold-line) 1; }
.main-nav__links a:hover,
.main-nav__links a.is-active { color: var(--color-azulejo); border-color: var(--color-sun); }

/* secções escuras */
.bg-azulejo { background: var(--color-azulejo); color: #F5EBE6; }
.bg-azulejo p { color: #E2CFCF; }
.cta-band.bg-azulejo { border-top: 2px solid var(--color-sun); }

/* carrossel do hero */
.services-showcase { background: var(--color-azulejo); }
.services-showcase__media::after { background: linear-gradient(to top, rgba(46,16,19,.42), transparent); }
.services-showcase__slide-fallback {
  background:
    radial-gradient(circle at 30% 20%, rgba(201,162,77,.32), transparent 55%),
    linear-gradient(155deg, var(--color-azulejo) 0%, var(--color-azulejo-dark) 100%);
}
.services-showcase__arrow { background: rgba(46,16,19,.62); }
.services-showcase__arrow:hover,
.services-showcase__arrow:focus-visible { background: var(--color-sun); border-color: var(--color-sun); color: var(--color-azulejo-dark); }

/* rodapé */
.site-footer {
  background: var(--color-azulejo-dark);
  color: #E6D6D6;
  border-top: 2px solid transparent;
  border-image: var(--gold-line) 1;
}
.footer-brand p { color: #CDB5B6; }
.footer-social a, .footer-col a { color: #D9C3C4; }
.footer-social a:hover, .footer-col a:hover { color: #fff; }
.footer-bottom { color: #A88A8C; border-top-color: rgba(255,255,255,.12); }

/* formulários */
.form-input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--color-azulejo);
  box-shadow: 0 0 0 3px rgba(74,28,33,.14);
}


/* ==== LOGOTIPO DO PAINEL ==================================================== */
.brand__logo { display: block; height: 46px; width: auto; max-width: 240px; object-fit: contain; }
.brand__logo--footer { height: 60px; max-width: 260px; }
@media (max-width: 640px) { .brand__logo { height: 38px; max-width: 180px; } }

/* ==== LOGOTIPO — tamanho final ==== */
.brand__logo { height: 58px; max-width: 280px; }
.brand__logo--footer { height: 76px; max-width: 300px; }
@media (max-width: 640px) { .brand__logo { height: 44px; max-width: 200px; } }


/* ==== WHATSAPP PRO ========================================================== */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  width: auto; height: 56px; padding: 0 22px 0 8px;
  border-radius: 999px;
  background: #25D366; color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 4px 10px rgba(0,0,0,.12), 0 12px 28px rgba(18,140,74,.28);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  -webkit-font-smoothing: antialiased;
}
.whatsapp-float:hover { background: #1EBE5A; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 6px 14px rgba(0,0,0,.14), 0 16px 34px rgba(18,140,74,.34); }
.whatsapp-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #128C4A; }
.whatsapp-float__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.16);
}
.whatsapp-float__icon svg {
  width: 26px; height: 26px; display: block;
  fill: currentColor; shape-rendering: geometricPrecision;
}
.whatsapp-float__label { white-space: nowrap; }

@media (max-width: 760px) {
  .whatsapp-float { width: 58px; height: 58px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .whatsapp-float__icon { width: 58px; height: 58px; background: none; }
  .whatsapp-float__icon svg { width: 30px; height: 30px; }
  .whatsapp-float__label { display: none; }
}


/* ==== RODAPE PRO ============================================================ */
.site-footer--pro { padding-block: 80px 0; color: #D9C3C4; }
.footer-pro {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.3fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-pro__logo { display: inline-block; text-decoration: none; }
.footer-pro__logo img { display: block; height: 72px; width: auto; max-width: 260px; }
.footer-pro__name { font-family: var(--font-display); font-size: 1.6rem; color: #fff; }
.footer-pro__desc { margin: 22px 0 0; max-width: 40ch; font-size: .95rem; line-height: 1.7; color: #CDB5B6; }

.footer-pro__social { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-pro__social a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  border: 1px solid rgba(201,162,77,.45); color: #F1E4D9;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.footer-pro__social a:hover { background: var(--color-sun); border-color: var(--color-sun); color: var(--color-azulejo-dark); }

.footer-pro__col h4, .footer-pro__cta h4 {
  position: relative;
  margin: 6px 0 24px; padding-bottom: 12px;
  font-family: var(--font-body); font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--color-sun);
}
.footer-pro__col h4::after, .footer-pro__cta h4::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--color-sun);
}

.footer-pro__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-pro__links a { color: #E6D6D6; text-decoration: none; font-size: .95rem; transition: color .15s ease, padding-left .15s ease; }
.footer-pro__links a:hover { color: #fff; padding-left: 4px; }

.footer-pro__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-pro__contact li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: #E6D6D6; min-width: 0; }
.footer-pro__contact a { color: #E6D6D6; text-decoration: none; overflow-wrap: anywhere; transition: color .15s ease; }
.footer-pro__contact a:hover { color: #fff; }
.footer-pro__ico {
  flex-shrink: 0; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,162,77,.35); color: var(--color-sun);
}
.footer-pro__ico svg { width: 16px; height: 16px; fill: none; }
.footer-pro__ico svg use { fill: currentColor; }

.footer-pro__cta {
  align-self: start;
  padding: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,162,77,.3);
  border-top: 2px solid var(--color-sun);
}
.footer-pro__cta p { margin: 0 0 20px; font-size: .93rem; line-height: 1.6; color: #CDB5B6; }
.footer-pro__cta .btn { width: 100%; justify-content: center; }

.footer-pro__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 220px 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .84rem; color: #A88A8C;
}
.footer-pro__tagline { font-style: italic; }

@media (max-width: 1080px) {
  .footer-pro { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
}
@media (max-width: 640px) {
  .site-footer--pro { padding-top: 60px; }
  .footer-pro { grid-template-columns: 1fr; gap: 40px; }
  .footer-pro__logo img { height: 60px; }
  .footer-pro__bottom { padding: 22px 0 96px; flex-direction: column; align-items: flex-start; }
}


/* ==== RODAPE ICONES ========================================================= */
.footer-pro__social { gap: 10px; }
.footer-pro__social a {
  width: 42px; height: 42px; padding: 0;
  justify-content: center;
  border: 1px solid rgba(201,162,77,.45);
  color: var(--color-sun);
  font-size: 1.05rem;
}
.footer-pro__social a:hover { background: var(--color-sun); border-color: var(--color-sun); color: var(--color-azulejo-dark); transform: translateY(-2px); }
.footer-pro__social a i { line-height: 1; }

/* acertos: colunas, e-mail numa linha, botão sem quebra */
.footer-pro { grid-template-columns: 1.45fr .8fr 1.45fr 1.25fr; }
.footer-pro__contact a { overflow-wrap: normal; word-break: normal; white-space: nowrap; }
.footer-pro__cta .btn { white-space: nowrap; }
@media (max-width: 1180px) { .footer-pro__contact a { white-space: normal; overflow-wrap: anywhere; } }


/* ==== CABECALHO PRO ========================================================= */
html { scroll-padding-top: 96px; }
html.no-scroll { overflow: hidden; }

/* barra superior */
.topbar { background: var(--color-azulejo-dark); color: #DCC7C8; font-size: .8rem; letter-spacing: .02em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__claim { display: inline-flex; align-items: center; gap: 10px; color: #E8D9CF; }
.topbar__dot { width: 5px; height: 5px; background: var(--color-sun); transform: rotate(45deg); }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #DCC7C8; text-decoration: none; transition: color .15s ease; }
.topbar__item svg { width: 14px; height: 14px; color: var(--color-sun); }
.topbar__item:hover { color: #fff; }
.topbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.topbar__social { color: #DCC7C8; font-size: .85rem; text-decoration: none; margin-left: -8px; padding: 4px; transition: color .15s ease; }
.topbar__social:hover { color: var(--color-sun); }
@media (max-width: 900px) { .topbar { display: none; } }

/* cabeçalho */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 243, .97);
  -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(201,162,77,.35);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.hdr.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 10px 30px -12px rgba(46,16,19,.18); }
.hdr__inner { display: flex; align-items: center; gap: 40px; height: 92px; transition: height .25s ease; }
.hdr.is-scrolled .hdr__inner { height: 72px; }

.hdr__brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.hdr__logo { display: block; height: 60px; width: auto; max-width: 240px; transition: height .25s ease; }
.hdr.is-scrolled .hdr__logo { height: 48px; }
.hdr__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-azulejo); }

.hdr__nav { margin-left: auto; }
.hdr__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hdr__link {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: #4A3F3F; border: 0; transition: color .2s ease;
}
.hdr__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px;
  background: var(--color-sun); transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.hdr__link:hover { color: var(--color-azulejo); }
.hdr__link:hover::after, .hdr__link.is-active::after { transform: scaleX(1); }
.hdr__link.is-active { color: var(--color-azulejo); }

.hdr__actions { display: flex; align-items: center; gap: 16px; padding-left: 28px; border-left: 1px solid rgba(74,28,33,.14); }
.hdr__cta {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px;
  background: var(--color-azulejo); color: #fff;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(201,162,77,.0);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.hdr__cta svg { transition: transform .2s ease; }
.hdr__cta:hover { background: var(--color-azulejo-dark); box-shadow: inset 0 0 0 1px var(--color-sun); }
.hdr__cta:hover svg { transform: translateX(3px); }

.hdr__toggle {
  display: none; width: 46px; height: 46px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(74,28,33,.25); cursor: pointer;
}
.hdr__toggle-bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.hdr__toggle-bars span { display: block; height: 1.5px; background: var(--color-azulejo); }
.hdr__toggle-bars span:nth-child(2) { width: 70%; margin-left: auto; }

@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__actions { margin-left: auto; border-left: 0; padding-left: 0; }
  .hdr__toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .hdr__inner { height: 74px; }
  .hdr__logo { height: 46px; }
  .hdr.is-scrolled .hdr__inner { height: 64px; }
  .hdr.is-scrolled .hdr__logo { height: 40px; }
  .hdr__cta { display: none; }
}

/* menu móvel */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20,6,8,.55); opacity: 0; transition: opacity .3s ease; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  display: flex; flex-direction: column; gap: 28px; padding: 24px 28px 32px;
  background: var(--color-azulejo-dark); color: #F1E4D9;
  border-left: 2px solid var(--color-sun);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer__brand img { display: block; height: 48px; width: auto; }
.drawer__brand span { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }
.drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid rgba(201,162,77,.45); color: #fff; cursor: pointer; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__links { list-style: none; margin: 0; padding: 0; }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-display); font-size: 1.45rem; color: #fff; text-decoration: none;
}
.drawer__link::after { content: "→"; font-family: var(--font-body); font-size: 1rem; color: var(--color-sun); opacity: .7; }
.drawer__link.is-active { color: var(--color-sun); }
.drawer__cta { width: 100%; justify-content: center; background: var(--color-sun) !important; color: var(--color-azulejo-dark) !important; }
.drawer__contacts { display: flex; flex-direction: column; gap: 10px; margin-top: auto; font-size: .92rem; }
.drawer__contacts a { color: #DCC7C8; text-decoration: none; }
.drawer__contacts a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hdr, .hdr__inner, .hdr__logo, .drawer__panel, .drawer__backdrop { transition: none; }
}

/* ==== RESPONSIVO PRO ======================================================== */

/* --- nitidez global --- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { font-optical-sizing: auto; font-kerning: normal; }
h1, h2, h3, h4 { font-optical-sizing: auto; text-wrap: balance; overflow-wrap: break-word; }
p, li, a, span { overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
.hdr__logo, .footer-pro__logo img, .drawer__brand img { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* animações de "levantar" sem desfocar o texto */
.service-row, .post-card, .whatsapp-float, .footer-pro__social a { will-change: auto; transform: translateZ(0); }
.service-row:hover, .post-card:hover { transform: translate3d(0,-3px,0); }
/* contraste mais firme do texto secundário */
:root { --color-ink-soft: #3F4744; }

/* --- campos: 16px+ evita zoom automático no iPhone --- */
input, select, textarea { font-size: max(16px, 1rem); }

/* --- tablet (≤ 1080px) --- */
@media (max-width: 1080px) {
  .hero__inner { gap: 40px; }
  .services-showcase__caption-title { font-size: 1.25rem; }

  .footer-pro { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
  .footer-pro__brand { grid-column: 1 / -1; }
  .footer-pro__desc { max-width: 60ch; }
  .footer-pro__cta {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: center;
  }
  .footer-pro__cta h4, .footer-pro__cta p { grid-column: 1; }
  .footer-pro__cta p { margin: 0; }
  .footer-pro__cta .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; padding-inline: 28px; }
  .footer-pro__bottom { padding-right: 200px; }
}

/* --- telemóvel grande / tablet pequeno (≤ 900px) --- */
@media (max-width: 900px) {
  .container { padding-inline: 20px; }
  section { padding-block: 56px; }
  .section-heading { margin-bottom: 32px; }

  .hero { padding-block: 40px 56px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: 0; max-width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 24px; margin-top: 36px; }

  .cta-band { padding: 40px 28px; }

  .service-detail-grid, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .service-aside, .contact-aside { position: static; }
}

/* --- telemóvel (≤ 640px) --- */
@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.65; }
  h1 { font-size: clamp(2rem, 8.4vw, 2.5rem); line-height: 1.12; }
  h2 { font-size: clamp(1.55rem, 6.4vw, 1.9rem); }
  h3 { font-size: 1.18rem; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stat-value { font-size: 1.6rem; }

  .services-showcase__caption { padding: 18px 18px 4px; }
  .services-showcase__caption-desc { font-size: .92rem; }
  .services-showcase__nav { padding: 12px 18px 16px; }
  .services-showcase__arrow { width: 38px; height: 38px; }

  .service-row { gap: 16px; padding-block: 22px; }
  .timeline__item { grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 32px; }
  .timeline__number { width: 44px; height: 44px; font-size: 1.1rem; }
  .timeline__item:not(:last-child)::before { left: 21px; top: 44px; bottom: -32px; }
  .testimonial-grid, .value-grid, .post-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-item summary { font-size: 1rem; padding-block: 14px; }

  .cta-band { padding: 32px 20px; gap: 24px; }
  .cta-band__actions { width: 100%; flex-direction: column; }
  .cta-band__actions .btn { width: 100%; justify-content: center; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 22px 18px; }

  /* rodapé */
  .site-footer--pro { padding-top: 56px; }
  .footer-pro { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-pro__brand { padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-pro__logo img { height: 60px; }
  .footer-pro__desc { font-size: .95rem; }
  .footer-pro__social a { width: 44px; height: 44px; }
  .footer-pro__col h4, .footer-pro__cta h4 { margin-bottom: 18px; }
  .footer-pro__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .footer-pro__links a { display: flex; align-items: center; min-height: 40px; }
  .footer-pro__contact li { min-height: 44px; }
  .footer-pro__contact a { white-space: normal; overflow-wrap: anywhere; }
  .footer-pro__cta { display: block; padding: 24px 20px; }
  .footer-pro__cta p { margin: 0 0 18px; }
  .footer-pro__cta .btn { width: 100%; }
  .footer-pro__bottom {
    flex-direction: column; align-items: flex-start; gap: 8px;
    padding: 20px 0 104px; font-size: .82rem; line-height: 1.5;
  }
}

/* --- ecrãs muito pequenos (≤ 380px) --- */
@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .hero__stats { grid-template-columns: 1fr; }
  .footer-pro__links { grid-template-columns: 1fr; }
  .hdr__logo { height: 40px; }
}


/* ==== PRIVACIDADE PRO ======================================================= */
/* consentimento no formulário */
.consent-block { margin: 6px 0 22px; padding: 18px 18px 14px; background: var(--color-paper-raised); border: 1px solid var(--color-line); }
.consent-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.consent-check input {
  flex-shrink: 0; width: 20px; height: 20px; margin: 2px 0 0; cursor: pointer;
  accent-color: var(--color-azulejo);
}
.consent-check label { font-size: .9rem; line-height: 1.55; color: var(--color-ink); cursor: pointer; font-weight: 400; }
.consent-check label a { color: var(--color-azulejo); font-weight: 600; text-underline-offset: 3px; }
.consent-check.has-error input { outline: 2px solid #B42318; outline-offset: 2px; }
.consent-block .errorlist { margin: -4px 0 12px 32px; }
.consent-note { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--color-line); max-width: none; font-size: .8rem; line-height: 1.5; color: var(--color-ink-soft); }
.consent-note a { color: var(--color-azulejo); }

/* banner */
.cc { position: fixed; left: 24px; bottom: 24px; z-index: 120; width: min(440px, calc(100% - 48px)); }
.cc[hidden], .ccm[hidden] { display: none !important; }
.cc__card {
  padding: 24px 24px 20px; background: #fff; color: var(--color-ink);
  border: 1px solid rgba(74,28,33,.12); border-top: 3px solid var(--color-sun);
  box-shadow: 0 2px 6px rgba(46,16,19,.08), 0 24px 48px -12px rgba(46,16,19,.28);
  animation: ccIn .35s ease both;
}
@keyframes ccIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cc__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.15rem; color: var(--color-azulejo); }
.cc__text { margin: 0 0 18px; max-width: none; font-size: .88rem; line-height: 1.6; color: var(--color-ink-soft); }
.cc__text a { color: var(--color-azulejo); font-weight: 600; }
.cc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cc__btn {
  height: 42px; padding: 0 16px; cursor: pointer;
  font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--color-azulejo); transition: background .15s ease, color .15s ease;
}
.cc__btn--solid { background: var(--color-azulejo); color: #fff; }
.cc__btn--solid:hover { background: var(--color-azulejo-dark); }
.cc__btn--outline { background: #fff; color: var(--color-azulejo); }
.cc__btn--outline:hover { background: var(--color-azulejo-light); }
.cc__btn--link { background: none; border-color: transparent; color: var(--color-ink-soft); padding: 0 6px; margin-right: auto; text-decoration: underline; text-underline-offset: 3px; }
.cc__btn--link:hover { color: var(--color-azulejo); }
.cc__actions .cc__btn--outline, .cc__actions .cc__btn--solid { flex: 1 1 0; }

/* janela de preferências */
.ccm { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ccm__backdrop { position: absolute; inset: 0; background: rgba(20,6,8,.55); }
.ccm__panel {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 28px; background: #fff; color: var(--color-ink);
  border-top: 3px solid var(--color-sun); box-shadow: 0 30px 70px -20px rgba(20,6,8,.5);
}
.ccm__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.ccm__head h2 { margin: 0; font-size: 1.35rem; color: var(--color-azulejo); }
.ccm__close { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--color-line); cursor: pointer; color: var(--color-ink); }
.ccm__close svg { width: 18px; height: 18px; }
.ccm__intro { font-size: .88rem; color: var(--color-ink-soft); max-width: none; margin-bottom: 18px; }
.ccm__intro a { color: var(--color-azulejo); font-weight: 600; }
.ccm__group { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--color-line); cursor: pointer; }
.ccm__group:first-of-type { cursor: default; }
.ccm__group strong { display: block; font-size: .95rem; color: var(--color-ink); }
.ccm__group p { margin: 4px 0 0; font-size: .84rem; line-height: 1.5; color: var(--color-ink-soft); max-width: none; }
.ccm__always { flex-shrink: 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-sun-dark); }
.ccm__switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; }
.ccm__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.ccm__switch span { position: absolute; inset: 0; background: #CFC6C6; border-radius: 999px; transition: background .2s ease; }
.ccm__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.ccm__switch input:checked + span { background: var(--color-azulejo); }
.ccm__switch input:checked + span::after { transform: translateX(20px); }
.ccm__switch input:focus-visible + span { outline: 2px solid var(--color-sun-dark); outline-offset: 2px; }
.ccm__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-line); }
.ccm__actions .cc__btn { flex: 1 1 140px; }

/* links legais no rodapé */
.footer-pro__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-pro__legal a { color: #C9AFB0; text-decoration: none; font-size: .82rem; }
.footer-pro__legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* páginas legais */
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.3rem; margin: 2em 0 .6em; color: var(--color-azulejo); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 1rem; line-height: 1.75; max-width: none; }
.legal-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .4em; }
.legal-body a:not(.btn) { color: var(--color-azulejo); font-weight: 600; }
.legal-table { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--color-line); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-line); }
.legal-table th { background: var(--color-paper-raised); font-weight: 700; color: var(--color-ink); }
.legal-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }

@media (max-width: 640px) {
  .cc { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cc__card { padding: 20px 18px 16px; }
  .cc__btn--link { order: 3; width: 100%; margin: 4px 0 0; }
  .ccm { padding: 0; align-items: flex-end; }
  .ccm__panel { max-height: 92vh; padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { .cc__card { animation: none; } }


/* ==== VIDEOS PRO ============================================================ */
.post-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 36px;
  background: #0b0607; overflow: hidden;
  border-top: 3px solid var(--color-sun);
  box-shadow: 0 2px 6px rgba(46,16,19,.08), 0 24px 48px -16px rgba(46,16,19,.35);
}
.post-video iframe, .post-video video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}
.post-video video { object-fit: contain; background: #0b0607; }
.post-card { position: relative; }
.post-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px;
  background: rgba(46,16,19,.9); color: #fff; border-left: 2px solid var(--color-sun);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.post-card__badge svg { width: 12px; height: 12px; color: var(--color-sun); }
@media (max-width: 640px) {
  .post-video { margin-bottom: 24px; margin-inline: -20px; width: calc(100% + 40px); }
}


/* ==== TELEFONE CPLP ========================================================= */
.tel-group {
  position: relative; display: flex; align-items: stretch; height: 52px;
  background: #fff; border: 1.5px solid #C4BBA7; border-radius: var(--radius);
  box-shadow: inset 0 1px 2px rgba(28,35,33,.05);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tel-group:hover { border-color: #9F9682; }
.tel-group:focus-within, .tel-group.is-open { border-color: var(--color-azulejo); box-shadow: 0 0 0 4px rgba(74,28,33,.14); }
.has-error .tel-group { border-color: #B42318; background: #FFFBFA; }

.tel-cc {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 12px 0 14px; margin: 0; background: transparent; cursor: pointer;
  border: 0; border-right: 1px solid #E1DACB; color: var(--color-ink);
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.tel-cc:hover { background: var(--color-paper-raised); }
.tel-cc:focus-visible { outline: 2px solid var(--color-sun-dark); outline-offset: -2px; }
.tel-cc__flag, .tel-opt img {
  display: block; width: 24px; height: 18px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.tel-cc__chev { width: 14px; height: 14px; color: var(--color-ink-soft); transition: transform .15s ease; }
.tel-group.is-open .tel-cc__chev { transform: rotate(180deg); }

.tel-group .form-input, .contact-card .tel-group .form-input {
  flex: 1; min-width: 0; height: 100%; padding: 0 14px !important;
  border: 0 !important; box-shadow: none !important; background: transparent !important;
  font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.tel-group .form-input:focus { outline: none; }

.tel-list {
  position: absolute; top: calc(100% + 6px); left: -1.5px; right: -1.5px; z-index: 30;
  margin: 0; padding: 6px 0; list-style: none; max-height: 320px; overflow-y: auto;
  background: #fff; border: 1px solid #D9D1BF; border-top: 2px solid var(--color-sun);
  box-shadow: 0 18px 40px -12px rgba(46,16,19,.28);
}
.tel-list[hidden] { display: none; }
.tel-opt {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer;
  font-size: .95rem; color: var(--color-ink); outline: none;
}
.tel-opt__name { flex: 1; }
.tel-opt__dial { color: var(--color-ink-soft); font-variant-numeric: tabular-nums; }
.tel-opt:hover, .tel-opt:focus { background: var(--color-azulejo-light); }
.tel-opt[aria-selected="true"] { font-weight: 700; }
.tel-opt[aria-selected="true"] .tel-opt__dial { color: var(--color-azulejo); }
@media (max-width: 640px) { .tel-list { max-height: 260px; } }

/* ==== SERVICOS PRO ========================================================== */
.service-list { counter-reset: svc; border-top: 1px solid var(--color-line); }
.service-list .service-row:last-child { border-bottom: 1px solid var(--color-line); }
.service-row {
  counter-increment: svc;
  position: relative;
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: 34px 28px 34px 24px; border-top: 1px solid var(--color-line);
  text-decoration: none; color: inherit;
  transform: none !important; transition: background-color .25s ease;
}
.service-list .service-row:first-child { border-top: 0; }
.service-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--color-sun); transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.service-row:hover { background: #fff; }
.service-row:hover::before { transform: scaleY(1); }

/* número no lugar do ícone */
.service-row__icon { display: block; width: auto; height: auto; background: none !important; color: inherit; align-self: start; padding-top: 2px; }
.service-row__icon svg { display: none; }
.service-row__icon::before {
  content: counter(svc, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1;
  color: var(--color-sun-dark); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em;
}
.service-row__icon::after { content: ""; display: block; width: 26px; height: 1px; margin-top: 14px; background: var(--color-sun); transition: width .3s ease; }
.service-row:hover .service-row__icon::after { width: 40px; }

/* texto */
.service-row__title {
  display: block; margin: 0 0 8px;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.25; letter-spacing: -.005em;
  color: var(--color-ink); transition: color .2s ease;
}
.service-row:hover .service-row__title { color: var(--color-azulejo); }
.service-row__desc { margin: 0; max-width: 64ch; font-size: .98rem; line-height: 1.65; color: #3F4744; }

/* seta */
.service-row__arrow {
  display: inline-flex; align-items: center; justify-content: center; align-self: center;
  width: 46px; height: 46px; border: 1px solid rgba(74,28,33,.28);
  color: var(--color-azulejo); transform: none !important;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.service-row__arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.service-row:hover .service-row__arrow { background: var(--color-azulejo); border-color: var(--color-azulejo); color: #fff; }
.service-row:hover .service-row__arrow svg { transform: translateX(3px); }

@media (max-width: 640px) {
  .service-row { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 26px 6px 26px 14px; }
  .service-row__icon::before { font-size: 1.45rem; }
  .service-row__icon::after { width: 18px; margin-top: 10px; }
  .service-row__title { font-size: 1.18rem; }
  .service-row__desc { font-size: .94rem; }
  .service-row__arrow { display: none; }
}

/* ==== HERO ORBIT (bandeiras CPLP) =========================================== */
.hero-orbit {
  --size: 192px; --flag: 36px; --dur: 36s;
  --r: calc(var(--size) / 2 - var(--flag) / 2 - 2px);
  position: relative; width: var(--size); height: var(--size); margin: 0 0 22px -2px;
}
.hero-orbit__track {
  position: absolute; inset: calc(var(--flag) / 2 + 2px); border-radius: 50%;
  border: 1px dashed rgba(201,162,77,.7);
  animation: hero-orbit-spin calc(var(--dur) * 2) linear infinite reverse;
}
.hero-orbit__core {
  position: absolute; inset: 34%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid rgba(201,162,77,.55);
  box-shadow: 0 6px 18px -6px rgba(46,16,19,.25);
  font-family: var(--font-display); font-size: .82rem; font-weight: 600; letter-spacing: .12em;
  color: var(--color-azulejo);
}
.hero-orbit__ring {
  position: absolute; inset: 0; margin: 0; padding: 0; list-style: none;
  animation: hero-orbit-spin var(--dur) linear infinite;
}
.hero-orbit__item {
  position: absolute; top: 50%; left: 50%; width: var(--flag); height: var(--flag);
  margin: calc(var(--flag) / -2) 0 0 calc(var(--flag) / -2);
  transform: rotate(calc(360deg / 9 * var(--i))) translateY(calc(var(--r) * -1)) rotate(calc(-360deg / 9 * var(--i)));
}
.hero-orbit__flag {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 50%;
  animation: hero-orbit-spin var(--dur) linear infinite reverse;
}
.hero-orbit__flag img {
  display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(201,162,77,.75), 0 6px 14px -4px rgba(46,16,19,.35);
  transition: transform .2s ease;
}
.hero-orbit__flag::after {
  content: attr(data-name); position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%);
  padding: 4px 8px; white-space: nowrap; background: var(--color-azulejo); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .03em; opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 2;
}
.hero-orbit__flag:hover img { transform: scale(1.15); }
.hero-orbit__flag:hover::after { opacity: 1; }
.hero-orbit:hover .hero-orbit__ring,
.hero-orbit:hover .hero-orbit__flag,
.hero-orbit:hover .hero-orbit__track { animation-play-state: paused; }
@keyframes hero-orbit-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .hero-orbit { --size: 168px; --flag: 30px; margin-bottom: 18px; } .hero-orbit__core { font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { .hero-orbit__ring, .hero-orbit__flag, .hero-orbit__track { animation: none; } }

/* ==== ORBIT CONTACTO ======================================================== */
.contact-hero { position: relative; }
.hero-orbit--side {
  position: absolute; right: 40px; top: 50%; margin: 0;
  transform: translateY(-50%);
  --size: 200px; --flag: 38px;
}
@media (max-width: 900px) { .hero-orbit--side { display: none; } }

/* ==== ORBIT CONTACTO — 70% ==== */
.hero-orbit--side { --size: 140px; --flag: 26px; }
.hero-orbit--side .hero-orbit__core { font-size: .6rem; letter-spacing: .1em; }
.hero-orbit--side .hero-orbit__flag img { border-width: 1.5px; }

/* ==== LEGIBILIDADE PRO ====================================================== */
:root {
  --color-ink: #14191A;
  --color-ink-soft: #343A39;
}
html { -webkit-text-size-adjust: 100%; }
body {
  color: var(--color-ink);
  font-kerning: normal; font-feature-settings: "kern", "liga";
  font-synthesis: none; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { color: var(--color-ink); }
p, li, dd { color: inherit; }

/* texto secundário */
.hero h1 + p, .section-heading > p, .service-hero p, .breadcrumb,
.service-row__desc, .timeline__desc, .testimonial__origin, .faq-item p,
.post-card__excerpt, .post-card__meta, .post-meta, .hero__stat-label,
.value-grid p, .legal-body p, .legal-body li, .thanks-hero p { color: #343A39; }
.hero__stat-label, .post-card__meta, .breadcrumb { font-size: max(.88rem, 14px); }

/* menu */
.hdr__link { color: #2B2424; }
.hdr__link:hover, .hdr__link.is-active { color: var(--color-azulejo); }

/* barra superior */
.topbar, .topbar__claim, .topbar__item, .topbar__social { color: #F3E8E3; }
.topbar { font-size: .82rem; }

/* zonas bordeaux */
.bg-azulejo, .bg-azulejo p { color: #F4EBEA; }
.services-showcase__caption-desc { color: rgba(255,255,255,.93); }
.cplp-band p, .cplp-band__list { color: #F4EBEA; }

/* rodapé */
.site-footer, .site-footer--pro { color: #F1E6E6; }
.footer-pro__desc { color: #E6D8D8; }
.footer-pro__links a, .footer-pro__contact li, .footer-pro__contact a { color: #F4EBEB; }
.footer-pro__cta p { color: #E6D8D8; }
.footer-pro__bottom { color: #D3BFC0; font-size: .86rem; }
.footer-pro__legal a { color: #E2D0D1; font-size: .86rem; }
.footer-pro__links a:hover, .footer-pro__contact a:hover, .footer-pro__legal a:hover { color: #fff; }

/* formulários e avisos */
input::placeholder, textarea::placeholder { color: #747B79; opacity: 1; }
.cc__text, .ccm__intro, .ccm__group p { color: #343A39; }
.consent-note, .help, .helptext { color: #4A4F4E; }

/* ==== HERO CONTACTO BRAND ==== */
.service-hero--brand {
  background:
    radial-gradient(520px 300px at 88% 50%, rgba(201,162,77,.20), transparent 70%),
    var(--color-azulejo-dark, #2E1013);
  border-bottom: 2px solid var(--color-sun, #C9A24D);
}
.service-hero--brand h1 { color: #fff; }
.service-hero--brand p { color: #EDE1E1; }
.service-hero--brand .breadcrumb, .service-hero--brand .breadcrumb a { color: #E6D3CF; }
.service-hero--brand .hero-orbit__track { border-color: rgba(201,162,77,.75); }
.service-hero--brand .hero-orbit__flag img { box-shadow: 0 0 0 1px rgba(201,162,77,.85), 0 6px 14px -4px rgba(0,0,0,.5); }

/* ==== HERO CONTACTO BRAND — cor principal e texto branco ==== */
section.service-hero.service-hero--brand {
  background:
    radial-gradient(520px 300px at 88% 50%, rgba(201,162,77,.16), transparent 70%),
    var(--color-azulejo, #4A1C21) !important;
}
section.service-hero.service-hero--brand h1,
section.service-hero.service-hero--brand p,
section.service-hero.service-hero--brand .breadcrumb,
section.service-hero.service-hero--brand .breadcrumb a {
  color: #FFFFFF !important;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
section.service-hero.service-hero--brand p { font-weight: 500; opacity: 1; }

/* ==== HERO BRAND EXTRA (elementos dentro das faixas bordeaux) ==== */
section.service-hero--brand .section-kicker,
section.service-hero--brand .hero__eyebrow { color: var(--color-sun, #C9A24D) !important; }
section.service-hero--brand span:not(.btn):not([class*="btn"]),
section.service-hero--brand strong,
section.service-hero--brand li,
section.service-hero--brand dt,
section.service-hero--brand dd { color: #FFFFFF; }
section.service-hero--brand .breadcrumb a:hover { color: var(--color-sun, #C9A24D) !important; }

/* ==== CPLP visível no centro do círculo (faixas bordeaux) ==== */
section.service-hero--brand .hero-orbit__core,
.hero-orbit .hero-orbit__core { color: var(--color-azulejo, #4A1C21) !important; }
