/* Gerado por scripts/componentes.pl a partir de scripts/componentes/*.css. Não editar aqui. */
/* ---- etiqueta (scripts/componentes/etiqueta.css) ---- */
/* Etiqueta por cima do título (componente etiqueta): termo de pesquisa */
.cv-etiqueta {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 12px; padding: 0;
  color: #9BCBFF; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em; line-height: 1.3;
}
.cv-etiqueta::before { content: ""; width: 28px; height: 2px; background: var(--brand); border-radius: 2px; flex-shrink: 0; }
.page-hero--photo .cv-etiqueta { justify-content: center; }
.cv-hero-form .cv-etiqueta { justify-content: flex-start; }
.page-hero--plain .cv-etiqueta { color: var(--accent); }
/* No texto (serviços, zonas, hub): cor de destaque do tema */
.prose .cv-etiqueta { display: flex; color: var(--accent); margin: 0 0 14px; font-size: 1.2rem; gap: 12px; }
.prose .cv-etiqueta::before { width: 36px; height: 3px; }

/* ---- formulario_vidro (scripts/componentes/formulario_vidro.css) ---- */
/* Formulário em vidro no topo das páginas (componente formulario_vidro).
   Sem backdrop-filter: fundo sólido rgba(15,15,15,.92). Com ele: .72 + blur. */
.cv-vidro .hero-form-card {
  background: rgba(15, 15, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
@supports ((-webkit-backdrop-filter: blur(14px)) or (backdrop-filter: blur(14px))) {
  .cv-vidro .hero-form-card {
    background: rgba(15, 15, 15, 0.72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}
/* Texto sempre claro sobre o vidro escuro (contraste >= 4,5:1), também no tema claro */
.cv-vidro .form-card-head h2 { color: #FFFFFF; }
.cv-vidro .form-card-head p,
.cv-vidro .hero-form-group label,
.cv-vidro .hero-form-check label { color: #E8EDF3; }
.cv-vidro .hero-form-check label a { color: #FFFFFF; }

/* Páginas internas: texto à esquerda, formulário à direita */
.page-hero.cv-hero-form { text-align: left; }
.page-hero--photo .page-hero-content.cv-hero-grid,
.page-hero--plain .page-hero-content.cv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: center;
}
.cv-hero-form .cv-hero-text { min-width: 0; }
.cv-hero-form .breadcrumb { justify-content: flex-start; }
.cv-hero-form h1,
.cv-hero-form .page-hero-title,
.cv-hero-form .page-hero-sub,
.cv-hero-form .page-hero-lead,
.cv-hero-form .page-hero-meta { text-align: left; margin-left: 0; margin-right: 0; }
.cv-hero-form .hero-points { justify-content: flex-start; margin-left: 0; }
.cv-hero-form .page-hero-btns { justify-content: flex-start; }
.cv-form-col { min-width: 0; }
.cv-form-col .hero-form-card { max-width: 440px; margin: 0 0 0 auto; }

@media (max-width: 1100px) {
  .page-hero--photo .page-hero-content.cv-hero-grid,
  .page-hero--plain .page-hero-content.cv-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 32px; }
}
/* Telemóvel e tablet: o formulário fica por baixo do texto do hero */
@media (max-width: 900px) {
  .page-hero--photo .page-hero-content.cv-hero-grid,
  .page-hero--plain .page-hero-content.cv-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cv-form-col .hero-form-card { margin: 0 auto; max-width: 520px; }
}

/* ---- urgencia (scripts/componentes/urgencia.css) ---- */
/* Bloco de urgência (componente urgencia), em cartão.
   Único elemento animado do ecrã: brilho no botão do WhatsApp a cada 7 s.
   Nas páginas com este bloco, o botão flutuante do WhatsApp deixa de pulsar. */
.cv-urgencia { padding: 40px 0; background: var(--bg); }
.cv-urg-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px 26px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 20px; padding: 28px 30px;
}
.cv-urg-icone { width: 52px; height: 52px; border-radius: 50%; background: rgba(0, 133, 250, 0.14); display: flex; align-items: center; justify-content: center; }
.cv-urg-icone svg { width: 26px; height: 26px; fill: var(--brand); }
.cv-urg-texto h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; margin: 0 0 8px; color: var(--text); }
.cv-urg-texto p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.cv-urg-botoes { display: flex; flex-direction: column; gap: 10px; min-width: 250px; }
.cv-urg-botoes .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; white-space: normal; text-align: center; line-height: 1.3; }
.cv-urg-botoes svg { width: 19px; height: 19px; flex-shrink: 0; fill: currentColor; }
.cv-urg-wa { position: relative; overflow: hidden; background: #1FAF55; color: #fff; border: 1px solid #1FAF55; }
.cv-urg-wa:hover { background: #1A9748; border-color: #1A9748; color: #fff; }
.cv-urg-tel { background: transparent; color: var(--text); border: 1px solid var(--line-strong, var(--line)); }
.cv-urg-tel:hover { border-color: var(--brand); color: var(--text); }

/* Brilho: atravessa o botão em ~0,9 s e repete a cada 7 s */
.cv-urg-wa::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg); pointer-events: none;
  animation: cv-urg-brilho 7s ease-in-out 1.5s infinite;
}
@keyframes cv-urg-brilho { 0% { left: -60%; } 13% { left: 130%; } 100% { left: 130%; } }

/* Um só elemento animado: sem o pulso do botão flutuante nestas páginas */
.cv-on-urgencia .wa-float { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .cv-urg-wa::after { animation: none; display: none; }
}
@media (max-width: 900px) {
  .cv-urg-card { grid-template-columns: auto minmax(0, 1fr); padding: 24px 22px; }
  .cv-urg-botoes { grid-column: 1 / -1; min-width: 0; }
}
@media (max-width: 480px) {
  .cv-urgencia { padding: 28px 0; }
  .cv-urg-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cv-urg-icone { width: 44px; height: 44px; }
}

/* ---- faixa_vantagens (scripts/componentes/faixa_vantagens.css) ---- */
/* Faixa de vantagens numa só linha (componente faixa_vantagens) */
.cv-faixa { background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 0; }
.cv-faixa-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 18px 28px; }
.cv-faixa-lista li { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.cv-fx-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 133, 250, 0.14); display: flex; align-items: center; justify-content: center; }
.cv-fx-ico svg { width: 16px; height: 16px; fill: var(--brand); }
/* A lista do topo da home é a mesma: não se repete */
.cv-on-faixa .hero .hero-points,
.cv-on-faixa .page-hero .hero-points { display: none; }

/* Marcas numa só linha (sem deslizar nem animar) */
.cv-on-faixa .suppliers-logos { flex-wrap: nowrap; justify-content: space-between; gap: 24px; }
.cv-on-faixa .supplier-logo { flex: 0 1 auto; min-width: 0; }

/* Ecrãs estreitos: a faixa passa a 2 colunas; as marcas encolhem para caber */
@media (max-width: 900px) {
  .cv-faixa-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .cv-faixa-lista li { font-size: 0.88rem; }
}
@media (max-width: 768px) {
  .cv-on-faixa .suppliers-logos { gap: 14px; }
  .cv-on-faixa .supplier-logo img { transform: none; max-height: 22px; height: auto !important; width: auto; max-width: 100%; }
}
@media (max-width: 420px) {
  .cv-faixa-lista { grid-template-columns: minmax(0, 1fr); }
  .cv-on-faixa .suppliers-logos { gap: 10px; }
  .cv-on-faixa .supplier-logo img { max-height: 18px; }
}

/* ---- blocos_ligacoes (scripts/componentes/blocos_ligacoes.css) ---- */
/* Blocos de ligações no fim das páginas (componente blocos_ligacoes) */
.cv-ligacoes { padding: 56px 0; }
.cv-ligacoes .section-header { margin-bottom: 26px; }
.cv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 330px)); justify-content: center; gap: 16px; }
.cv-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  color: var(--text); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease;
}
.cv-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.cv-card h3 { font-size: 1.08rem; line-height: 1.3; margin: 0; color: var(--text); }
.cv-card p {
  margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cv-card-meta { color: var(--muted-2); font-size: 0.82rem; font-weight: 500; }
.cv-card-link { margin-top: auto; padding-top: 6px; color: var(--accent); font-weight: 600; font-size: 0.92rem; }

.cv-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; }
.cv-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--text); text-decoration: none; font-size: 0.95rem; line-height: 1.2;
  transition: border-color 0.2s ease;
}
.cv-chip:hover { border-color: var(--brand); color: var(--text); }
.cv-chip svg { width: 15px; height: 15px; fill: var(--brand); flex-shrink: 0; }
.cv-chips-mais { text-align: center; color: var(--muted); margin: 16px auto 0; max-width: 720px; font-size: 0.95rem; }

@media (max-width: 600px) {
  .cv-ligacoes { padding: 40px 0; }
  .cv-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .cv-card:hover { transform: none; } }

/* ---- galeria (scripts/componentes/galeria.css) ---- */
/* Galeria de trabalhos (componente galeria) */
.cv-galeria { padding-top: 48px; }
.cv-gal-intro { max-width: 760px; margin: 0 auto 12px; text-align: center; }
.cv-gal-intro p { text-align: center; }
.cv-gal-titulo { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 40px 0 0; }
.cv-gal-titulo a { color: var(--text); text-decoration: none; }
.cv-gal-titulo a:hover { color: var(--accent); }
.cv-gal-grid { columns: 4 220px; margin-top: 18px; }
.cv-gal-home { text-align: center; margin-top: 28px; }
.cv-gal-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; }
.cv-gal-link:hover { border-color: var(--brand); color: var(--text); }
@media (max-width: 600px) { .cv-gal-grid { columns: 2 140px; } }

/* ---- indice_guia (scripts/componentes/indice_guia.css) ---- */
/* Índice "Neste guia" (componente indice_guia) */
.cv-indice {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 28px 22px; margin: 0 0 32px;
}
.cv-indice-titulo {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
  color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.cv-indice-titulo::before { content: ""; width: 36px; height: 3px; border-radius: 2px; background: var(--brand); flex-shrink: 0; }
.cv-indice ol { list-style: none; counter-reset: cv-ind; margin: 0; padding: 0; display: grid; gap: 4px; }
.cv-indice li { counter-increment: cv-ind; display: flex; gap: 14px; align-items: baseline; }
.cv-indice li::before { content: counter(cv-ind) "."; color: var(--accent); font-family: var(--font-head); font-weight: 700; min-width: 1.6em; }
.prose .cv-indice a { color: var(--text); font-weight: 500; text-decoration: none; padding: 5px 0; line-height: 1.45; }
.prose .cv-indice a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* Ao saltar para uma secção, o título não fica escondido pelo cabeçalho fixo */
.prose h2[id], .faq-section h2[id] { scroll-margin-top: calc(var(--header-h, 78px) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 600px) { .cv-indice { padding: 20px 18px 18px; } }

/* ---- titulos (scripts/componentes/titulos.css) ---- */
/* Títulos H1 (componente titulos): semibold, -0.02em, entrelinha 1.1,
   maiúsculas e minúsculas. Mesma família de letra (Sora). */
h1,
html .hero h1,
html .page-hero h1,
html .page-hero--photo h1,
html .page-hero--plain h1,
html .page-title {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: none;
}

/* ---- estilo_refinado (scripts/componentes/estilo_refinado.css) ---- */
/* Estilo refinado (componente estilo_refinado): sem maiúsculas nos botões e no
   menu, botões mais finos, topo com "Pedir orçamento" + "Ligar 928 284 372". */
.btn, .header-cta, .nav-link, .main-nav a, .mobile-nav a, .dropdown a {
  text-transform: none;
  letter-spacing: 0;
}
.btn { font-weight: 600; }

/* Topo: os dois botões com a mesma altura */
.header-right .cv-hdr-orc,
.header-right .cv-hdr-tel { padding: 11px 18px; font-size: 0.92rem; line-height: 1.2; border-radius: 10px; white-space: nowrap; }
.cv-hdr-tel {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text); border: 1px solid var(--line-strong, var(--line));
  font-family: var(--font-head);
}
.cv-hdr-tel svg { width: 17px; height: 17px; fill: var(--brand); flex-shrink: 0; }
.cv-hdr-tel:hover { border-color: var(--brand); color: var(--text); }
/* Sobre a foto do topo (cabeçalho transparente) */
html.hero-photo #site-header:not(.scrolled):not(.menu-aberto) .cv-hdr-tel { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
html.hero-photo #site-header:not(.scrolled):not(.menu-aberto) .cv-hdr-tel svg { fill: #fff; }

@media (max-width: 1280px) {
  .header-right .cv-hdr-orc, .header-right .cv-hdr-tel { padding: 10px 14px; font-size: 0.86rem; }
}
/* Telemóvel: fica o número (sem a palavra "Ligar") */
@media (max-width: 600px) {
  .cv-hdr-tel-pre { display: none; }
  .header-right .cv-hdr-orc, .header-right .cv-hdr-tel { padding: 9px 10px; font-size: 0.78rem; gap: 5px; }
  .cv-hdr-tel svg { width: 14px; height: 14px; }
}
@media (max-width: 400px) {
  .header-right .cv-hdr-orc, .header-right .cv-hdr-tel { padding: 8px 8px; font-size: 0.72rem; }
  .cv-hdr-tel svg { display: none; }
}
@media (max-width: 360px) {
  .header-right { gap: 4px; }
  .header-right .cv-hdr-orc, .header-right .cv-hdr-tel { padding: 7px 6px; font-size: 0.68rem; }
}

/* ---- fundos_alternados (scripts/componentes/fundos_alternados.css) ---- */
/* Fundos alternados (componente fundos_alternados): A = --bg, B = --bg-alt */
.cv-on-fundos main section.cv-zb-a { background: var(--bg); }
.cv-on-fundos main section.cv-zb-b { background: var(--bg-alt); }
/* Separação suave entre blocos da mesma cor (ex.: blocos de ligações seguidos) */
.cv-on-fundos main section.cv-zb-a + section.cv-zb-a,
.cv-on-fundos main section.cv-zb-b + section.cv-zb-b { border-top: 1px solid var(--line); }

