/* ===== CORES E BASE (muda aqui para alterar o site todo) ===== */
:root {
  --escuro: #1f2328;
  --destaque: #f2a900;
  --texto: #2b2f33;
  --cinza: #6b7178;
  --fundo-claro: #f5f6f7;
  --branco: #ffffff;
  --raio: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Segoe UI", Roboto, Arial, sans-serif; color: var(--texto); line-height: 1.6; background: var(--branco); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 90%; max-width: 1150px; margin: 0 auto; }
section { padding: 70px 0; }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 12px; }
.subtitulo { color: var(--cinza); max-width: 720px; margin-bottom: 40px; }
.texto { max-width: 760px; color: var(--cinza); margin-bottom: 16px; font-size: 1.05rem; }

/* ===== MENU ===== */
header { background: #fff; border-bottom: 1px solid #e4e6e8; position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 48px; width: auto; }
.menu { display: flex; gap: 22px; list-style: none; }
.menu a { color: var(--texto); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.menu a:hover, .menu a.ativo { color: #d99700; }
.menu-btn { display: none; background: none; border: 0; color: var(--texto); font-size: 1.8rem; cursor: pointer; }

/* ===== BOTÕES ===== */
.btn { display: inline-block; padding: 13px 24px; border-radius: var(--raio); font-weight: 600; transition: .2s; }
.btn-principal { background: var(--destaque); color: var(--escuro); }
.btn-principal:hover { filter: brightness(1.08); }
.btn-whatsapp { background: #25d366; color: var(--branco); }
.btn-whatsapp:hover { filter: brightness(1.05); }
.btn-contorno { border: 2px solid var(--branco); color: var(--branco); }
.btn-contorno:hover { background: rgba(255,255,255,.1); }
.botoes { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== TOPO DA HOME ===== */
.hero { background: var(--escuro); color: var(--branco); padding: 110px 0; }
.hero h1 { font-size: 2.8rem; max-width: 750px; margin-bottom: 18px; }
.hero p { font-size: 1.15rem; color: #d0d4d8; max-width: 620px; margin-bottom: 32px; }

/* ===== CARTÕES ===== */
.grelha { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cartao { background: var(--branco); border: 1px solid #e4e6e8; border-radius: var(--raio); overflow: hidden; transition: .2s; }
.cartao:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-3px); }
.cartao-corpo { padding: 22px; }
.cartao h3 { margin-bottom: 8px; }
.cartao p { color: var(--cinza); margin-bottom: 14px; }
.cartao .link, .vantagem .link { color: #b07a00; font-weight: 600; }
.foto { position: relative; aspect-ratio: 4 / 3; background: #e9ebed; display: flex; align-items: center; justify-content: center; color: #9aa0a6; font-size: .9rem; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.etiqueta { display: inline-block; background: var(--fundo-claro); border-radius: 6px; padding: 2px 10px; font-size: .85rem; color: var(--cinza); margin-bottom: 10px; }
.cartao .preco { font-size: 1.4rem; font-weight: 700; color: var(--texto); margin-bottom: 6px; }

/* ===== PORQUÊ NÓS ===== */
.fundo-claro { background: var(--fundo-claro); }
.vantagem { background: var(--branco); border-radius: var(--raio); padding: 26px; border-top: 4px solid var(--destaque); }
.vantagem h3 { margin-bottom: 8px; }
.vantagem p { color: var(--cinza); margin-bottom: 10px; }

/* ===== TABELA DE MEDIDAS ===== */
.tabela { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e4e6e8; }
.tabela th, .tabela td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #eceef0; }
.tabela th { background: var(--escuro); color: #fff; font-weight: 600; font-size: .95rem; }
.tabela tr:nth-child(even) td { background: var(--fundo-claro); }
.tabela td.sim { color: #1e8e3e; font-weight: 700; }
.tabela td.nao { color: #b0b4b8; }
.tabela .link { color: #b07a00; font-weight: 600; white-space: nowrap; }
.tabela-wrap { overflow-x: auto; border-radius: var(--raio); }
.nota { color: var(--cinza); font-size: .9rem; margin-top: 14px; }
.nota a { color: #b07a00; font-weight: 600; }

/* ===== CAIXA DESTAQUE ===== */
.caixa { background: var(--fundo-claro); border-left: 4px solid var(--destaque); border-radius: var(--raio); padding: 24px; margin-top: 28px; max-width: 760px; }
.caixa h3 { margin-bottom: 8px; }
.caixa p { color: var(--cinza); }

/* ===== FAIXA DE CONTACTO ===== */
.faixa { background: var(--escuro); color: var(--branco); text-align: center; }
.faixa p { color: #d0d4d8; margin-bottom: 26px; }
.faixa .botoes { justify-content: center; }

/* ===== PÁGINAS INTERNAS ===== */
.topo-pagina { background: var(--escuro); color: var(--branco); padding: 60px 0; }
.topo-pagina p { color: #d0d4d8; max-width: 700px; margin-top: 10px; }

/* ===== CONTACTOS ===== */
.contactos { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.info-item { margin-bottom: 24px; }
.info-item strong { display: block; color: var(--cinza); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.info-item a, .info-item span { font-size: 1.15rem; }
.mapa iframe { width: 100%; height: 380px; border: 0; border-radius: var(--raio); }

/* ===== RODAPÉ ===== */
footer { background: #16191c; color: #9aa0a6; padding: 40px 0 20px; font-size: .95rem; }
.rodape { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 24px; }
footer h4 { color: var(--branco); margin-bottom: 10px; }
footer a:hover { color: var(--destaque); }
.copyright { border-top: 1px solid #2a2e33; padding-top: 16px; text-align: center; font-size: .85rem; }

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-flutuante { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 20; }
.whatsapp-flutuante svg { width: 30px; height: 30px; fill: #fff; }

/* ===== ECRÃS MAIS PEQUENOS / TELEMÓVEL ===== */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e4e6e8; flex-direction: column; gap: 0; padding: 10px 5%; }
  .menu.aberto { display: flex; }
  .menu li { padding: 12px 0; border-bottom: 1px solid #eee; }
}
@media (max-width: 760px) {
  .logo img { height: 36px; }
  .hero { padding: 80px 0; }
  .hero h1 { font-size: 2rem; }
  .contactos { grid-template-columns: 1fr; }
}

/* ===== GALERIA (assistência móvel) ===== */
.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 30px 0; max-width: 900px; }
.galeria figure { border-radius: var(--raio); overflow: hidden; border: 1px solid #e4e6e8; background: #fff; }
.galeria img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.galeria figcaption { padding: 12px 16px; font-weight: 600; }
.tabela { max-width: 700px; }
