/*
 * Site Holi.Pet — página pública. Cores e letras do guia da marca (docs/DECISOES.md), num só sítio (:root).
 * CSS simples, sem build: editar aqui e recarregar (o layout acrescenta ?v=<data do ficheiro>).
 * Desenho desktop first, mas tudo responsivo; respeita «reduzir movimento».
 */

@font-face { font-family: 'DIN Pro'; src: url('../fonts/marca/din-pro-regular.woff2') format('woff2'), url('../fonts/marca/din-pro-regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DIN Pro'; src: url('../fonts/marca/din-pro-medium.woff2') format('woff2'), url('../fonts/marca/din-pro-medium.otf') format('opentype'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Bellamona'; src: url('../fonts/marca/bellamona.woff2') format('woff2'), url('../fonts/marca/bellamona.otf') format('opentype'); font-display: swap; }

:root {
    /* Guia da marca */
    --quase-preto: #3D3935;
    --oliva: #6B6D5F;
    --salva: #B3B795;
    --agua: #D1DFDA;
    --azul-cinza: #B5BEC3;
    --pessego: #FDE6D8;
    --terracota: #D57146;
    --laranja: #ED9867;
    --amarelo: #F3D097;
    --creme: #F4EDDB;
    --branco-quente: #FEFCF3;
    /* Derivadas (contraste AA para texto e botões) */
    --acao: #B85A33;          /* terracota escurecida: texto branco com 4,6:1 */
    --acao-escura: #9C4A28;
    --texto: var(--quase-preto);
    --texto-suave: #5E5B55;
    --linha: #E6DDC6;

    --letra: 'DIN Pro', 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    --letra-mao: 'Bellamona', 'Segoe Script', cursive;
    --raio: 18px;
    --sombra: 0 10px 30px -18px rgba(61, 57, 53, .35);
    --topo: 76px;          /* barra ao descer */
    --topo-grande: 132px;  /* barra no topo da página */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--letra); font-size: 18px; line-height: 1.6; color: var(--texto); background: var(--branco-quente);
    overflow-x: clip; -webkit-font-smoothing: antialiased; padding-top: var(--topo-grande); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.ancora { position: absolute; top: 0; }
a { color: var(--acao); text-underline-offset: 3px; }
a:hover { color: var(--acao-escura); }
:focus-visible { outline: 3px solid var(--acao); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--quase-preto); color: #fff; padding: 10px 16px; border-radius: 10px; }
.saltar:focus { top: 12px; color: #fff; }
.contentor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.centrado { text-align: center; margin-left: auto; margin-right: auto; }

/* Botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
    border-radius: 999px; background: var(--acao); color: #fff; font-weight: 500; font-size: 1rem; text-decoration: none;
    border: 2px solid var(--acao); cursor: pointer; transition: background .2s, transform .2s; font-family: inherit; }
.botao:hover { background: var(--acao-escura); border-color: var(--acao-escura); color: #fff; transform: translateY(-1px); }
.botao-contorno { background: transparent; color: var(--acao); }
.botao-contorno:hover { background: var(--acao); color: #fff; }
.botao-pequeno { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.botoes.centrado { justify-content: center; }

/* Cabeçalho */
.topo { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(254, 252, 243, .92); backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.topo.com-sombra { border-bottom-color: var(--linha); box-shadow: 0 6px 20px -16px rgba(61, 57, 53, .4); }
.topo-linha { display: flex; align-items: center; gap: 24px; min-height: var(--topo-grande); transition: min-height .35s ease; }
.topo.compacto .topo-linha { min-height: var(--topo); }
/* Os dois logótipos ocupam a mesma largura (~100px): só a altura e a opacidade mudam. */
.topo-logo { position: relative; display: block; flex-shrink: 0; width: 100px; height: 112px; transition: height .35s ease; }
.topo-logo img { position: absolute; left: 0; top: 50%; width: 100px; height: auto; transition: opacity .35s ease, transform .35s ease; }
.logo-grande { transform: translateY(-50%); }
.logo-compacto { opacity: 0; transform: translateY(-50%) scale(.9); }
.topo.compacto .topo-logo { height: 54px; }
.topo.compacto .logo-grande { opacity: 0; transform: translateY(-50%) scale(.8); }
.topo.compacto .logo-compacto { opacity: 1; transform: translateY(-50%); }
.topo-nav { margin-left: auto; }
.topo-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.topo-nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--texto); text-decoration: none; font-size: .95rem; }
.topo-nav a:hover, .topo-nav a.ativo { color: var(--acao); }
.topo-nav a.ativo { box-shadow: inset 0 -2px 0 var(--laranja); border-radius: 0; }
.topo-acoes { display: flex; align-items: center; gap: 10px; }
.lingua { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; border-radius: 999px;
    border: 1px solid var(--linha); color: var(--texto); text-decoration: none; font-size: .85rem; font-weight: 500; letter-spacing: .06em; }
.lingua:hover { border-color: var(--acao); color: var(--acao); }
.menu-botao { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--texto); cursor: pointer; align-items: center; justify-content: center; }
.menu-telemovel { border-top: 1px solid var(--linha); background: var(--branco-quente); padding: 12px 28px 24px; }
.menu-telemovel ul { list-style: none; margin: 0 0 16px; padding: 0; }
.menu-telemovel a:not(.botao) { display: block; padding: 12px 0; color: var(--texto); text-decoration: none; font-size: 1.15rem; border-bottom: 1px solid var(--linha); }
.menu-telemovel .botao { width: 100%; }

/* Secções */
.seccao { position: relative; padding: 72px 0; overflow: hidden; }
.fundo-creme { background: var(--creme); }
.fundo-oliva { background: var(--oliva); color: var(--branco-quente); }
.kicker { font-family: var(--letra-mao); font-size: clamp(3.1rem, 5vw, 4.2rem); color: var(--terracota); line-height: 1; margin: 0 0 .15em; font-weight: 400; }
.fundo-oliva .kicker { color: var(--amarelo); }
.titulo-seccao { margin-bottom: 14px; }
.titulo-seccao.centrado { text-align: center; }
.intro { max-width: 760px; font-size: 1.12rem; color: var(--texto-suave); margin-bottom: 36px; }

/* Gotas (como na app Clientes): nas margens das secções, meio fora, nunca por baixo do texto */
.gotas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.gota { --t: var(--tm); position: absolute; width: var(--t); height: auto; transform: translateY(-50%) rotate(var(--r));
    animation: flutuar 14s ease-in-out infinite alternate; }
.gota-desktop { display: none; }
@media (min-width: 900px) { .gota { --t: var(--td); } .gota-desktop { display: block; } }
@keyframes flutuar { to { transform: translateY(calc(-50% + 14px)) rotate(calc(var(--r) + 8deg)); } }

/* O nosso centro */
/* Ir para #inicio (logótipo) leva mesmo ao topo, com a barra grande: a margem extra é cortada em 0. */
#inicio { scroll-margin-top: 100vh; }
.centro { padding: 48px 0 56px; }
.centro-grelha { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.centro-texto .kicker { font-size: clamp(3.5rem, 5.8vw, 4.8rem); }
.centro h1 { margin-bottom: .3em; }
.local { display: inline-flex; align-items: center; gap: 6px; color: var(--oliva); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; margin-bottom: 20px; }
.destaque { font-size: 1.2rem; color: var(--texto-suave); max-width: 560px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--raio); overflow: hidden; background: var(--quase-preto); box-shadow: var(--sombra); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; cursor: pointer; color: #fff; }
.video-play-circulo { width: 82px; height: 82px; border-radius: 50%; background: var(--acao); display: flex; align-items: center; justify-content: center;
    padding-left: 5px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.video-play:hover .video-play-circulo { transform: scale(1.06); }
.video-aviso { position: absolute; left: 14px; bottom: 10px; margin: 0; font-size: .75rem; color: rgba(255, 255, 255, .85); }
.centro-logo { width: min(420px, 100%); margin: 0 auto; }

/* Sobre nós: Holi · Pet · Family */
/* Family tem o texto mais longo: cartão mais largo, todos com a mesma altura. */
.nome-grelha { display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 24px; }
.nome-cartao { background: #fff; border-radius: var(--raio); padding: 32px 28px; box-shadow: var(--sombra); border-top: 6px solid var(--c, var(--salva)); }
.nome-holi { --c: var(--salva); } .nome-pet { --c: var(--laranja); } .nome-family { --c: var(--amarelo); }
.nome-palavra { font-family: var(--letra-mao); font-weight: 400; font-size: 4.5rem; line-height: 1; margin: 0 0 .1em; color: var(--quase-preto); letter-spacing: 0; }
.nome-def { font-size: .9rem; color: var(--oliva); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.nome-cartao p:last-child { margin-bottom: 0; }

/* Abordagem */
.pilares { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pilar { background: var(--branco-quente); border-radius: var(--raio); padding: 32px 28px; text-align: center; }
.pilar-gota { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 14px; }
.pilar p { margin: 0; color: var(--texto-suave); }
.recebe { max-width: 860px; margin: 0 auto; background: #fff; border-radius: var(--raio); padding: 32px 36px; box-shadow: var(--sombra); }
.recebe ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.recebe li { display: flex; gap: 10px; align-items: flex-start; }
.recebe li .icone { color: var(--acao); flex-shrink: 0; margin-top: 4px; }

/* Especialidades */
.esp-grelha { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.esp { background: #fff; border-radius: var(--raio); padding: 24px 22px; box-shadow: var(--sombra); transition: transform .2s; }
.esp:hover { transform: translateY(-3px); }
.esp-icone { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.esp h3 { font-size: 1.1rem; margin-bottom: .35em; }
.esp p { margin: 0; font-size: .95rem; color: var(--texto-suave); line-height: 1.5; }

/* Outros serviços */
.serv-grelha { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: flex-start; }
.serv-grelha > .serv { flex: 0 1 calc((100% - 28px) / 2); min-width: 0; }
.serv { background: #fff; border-radius: var(--raio); padding: 36px; box-shadow: var(--sombra); }
.serv-imagem { height: 120px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 20px; }
.serv-resumo { font-size: 1.05rem; }
.serv-mais { margin: 0 0 22px; }
.serv-mais summary { cursor: pointer; color: var(--acao); font-weight: 500; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.serv-mais summary::-webkit-details-marker { display: none; }
.serv-mais summary::after { content: '+'; font-size: 1.3em; line-height: 1; }
.serv-mais[open] summary::after { content: '–'; }
.serv-mais .ler-menos, .serv-mais[open] .ler-mais { display: none; }
.serv-mais[open] .ler-menos { display: inline; }
.texto-rico { margin-top: 16px; color: var(--texto-suave); }
.texto-rico ul { padding-left: 1.2em; }
.texto-rico li::marker { color: var(--laranja); }
.texto-rico strong { color: var(--texto); font-weight: 500; }

/* Equipa */
/* Fila centrada: com menos pessoas do que cabem numa linha, os cartões ficam ao centro (não encostados à esquerda). */
.equipa-grelha { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: flex-start; }
.equipa-grelha > .pessoa { flex: 0 1 calc((100% - 56px) / 3); min-width: 0; }
.pessoa { background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); }
.pessoa-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; background: var(--creme); }
.pessoa-texto { padding: 26px 28px 28px; }
.pessoa h3 { margin-bottom: .2em; }
.pessoa-cargo { color: var(--oliva); font-size: .95rem; margin-bottom: 16px; }
.pessoa-citacao { margin: 0 0 16px; padding: 0 0 0 18px; border-left: 3px solid var(--laranja); color: var(--texto-suave); font-size: 1rem; }
.pessoa-citacao p::before { content: '«'; } .pessoa-citacao p::after { content: '»'; }
html[lang="en"] .pessoa-citacao p::before { content: '“'; } html[lang="en"] .pessoa-citacao p::after { content: '”'; }
.pessoa-formacao summary { cursor: pointer; color: var(--acao); font-weight: 500; }
.pessoa-formacao ul { margin: 12px 0 0; padding-left: 1.1em; font-size: .95rem; color: var(--texto-suave); }

/* Testemunhos */
.test-cabeca { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.test-cabeca .titulo-seccao { margin: 0; }
.test-setas { display: flex; gap: 10px; }
.seta { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--salva); background: var(--branco-quente); color: var(--texto); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; }
.seta:hover { background: var(--acao); border-color: var(--acao); color: #fff; }
.test-lista { list-style: none; margin: 0 -28px; padding: 6px 28px 24px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 56px) / 3));
    gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 28px; scrollbar-width: thin; }
.test { scroll-snap-align: start; }
.test figure { margin: 0; height: 100%; background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; }
.test-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.test blockquote { margin: 0; padding: 24px 26px 8px; flex: 1; font-size: 1rem; color: var(--texto-suave); }
.test blockquote p::before { content: '«'; } .test blockquote p::after { content: '»'; }
html[lang="en"] .test blockquote p::before { content: '“'; } html[lang="en"] .test blockquote p::after { content: '”'; }
.test figcaption { padding: 0 26px 22px; font-family: var(--letra-mao); font-size: 3.2rem; color: var(--terracota); line-height: 1.1; }

/* É a primeira vez? */
.passos { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: passo; }
.passo { text-align: center; padding: 0 12px; }
.passo-num { width: 76px; height: 76px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 500; color: #fff;
    background: var(--gota) center / contain no-repeat; }
.passo p { color: var(--texto-suave); margin: 0; }
.nota { margin-top: 28px; font-size: .95rem; color: var(--oliva); max-width: 640px; }

/* Contactos (fundo oliva, texto claro): três colunas compactas */
.contactos-cabeca { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.contactos-cabeca .titulo-seccao { margin: 0; }
.fundo-oliva a:not(.botao) { color: var(--branco-quente); }
.fundo-oliva a:not(.botao):hover { color: var(--amarelo); }
.contactos-pref { color: var(--creme); margin: 0 0 6px; }
.contactos-grelha { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 28px; align-items: start; }
.contactos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 1rem; line-height: 1.45; }
.contactos-lista li { display: flex; gap: 12px; align-items: flex-start; }
.contactos-lista .icone { color: var(--amarelo); flex-shrink: 0; margin-top: 1px; }
.horario { background: rgba(254, 252, 243, .08); border: 1px solid rgba(254, 252, 243, .2); border-radius: var(--raio); padding: 18px 22px; font-size: .98rem; }
.horario h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 6px; }
.horario table { width: 100%; border-collapse: collapse; }
.horario th, .horario td { text-align: left; padding: 5px 0; border-bottom: 1px solid rgba(254, 252, 243, .15); font-weight: 400; }
.horario td { text-align: right; white-space: nowrap; }
.horario-nota { margin: 10px 0 0; color: var(--amarelo); font-weight: 500; }
.mapa { aspect-ratio: 16 / 10; border-radius: var(--raio); overflow: hidden; margin-bottom: 10px; background: var(--creme); border: 1px solid rgba(254, 252, 243, .2); }
.mapa .leaflet-container, .mapa.leaflet-container { font-family: var(--letra); background: var(--creme); }
.mapa a { color: var(--texto) !important; }
/* Marcador: o símbolo da marca numa gota branca com bico em baixo (o bico fica exatamente no ponto: iconAnchor 30,67). */
.mapa-pino { background: none; border: 0; }
.mapa-pino .pino { position: absolute; left: 5px; top: 7px; width: 50px; height: 50px; background: #fff; border: 3px solid var(--terracota);
    border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 16px rgba(61, 57, 53, .35); }
.mapa-pino .pino span { display: block; width: 100%; height: 100%; transform: rotate(45deg); background: url('../marca/simbolo.svg') center / 36px no-repeat; }
.mapa .leaflet-control-attribution { font-size: 11px; }
.mapa .leaflet-control-attribution a { color: var(--acao) !important; }
.link-claro { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }

/* Janela «Pedir informações» (<dialog>) e o formulário (também na página /informacoes) */
.janela { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--branco-quente);
    color: var(--texto); box-shadow: 0 30px 80px -20px rgba(61, 57, 53, .55); overflow: auto; }
.janela::backdrop { background: rgba(61, 57, 53, .55); backdrop-filter: blur(3px); }
.janela[open] { animation: janela-entra .25s ease-out; }
@keyframes janela-entra { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.janela-caixa { position: relative; padding: 32px 36px 30px; }
.janela-caixa h2 { font-size: 1.9rem; margin-bottom: .25em; }
.janela-caixa .kicker { font-size: 2.9rem; }
.janela-intro { color: var(--texto-suave); font-size: 1rem; margin-bottom: 22px; }
.janela-fechar { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--creme);
    color: var(--texto); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.janela-fechar:hover { background: var(--pessego); }
body.janela-aberta { overflow: hidden; }
.form-grelha { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.campo { display: grid; gap: 4px; align-content: start; min-width: 0; }
.campo-largo { grid-column: 1 / -1; }
.campo label, .campo legend { font-size: .9rem; font-weight: 500; }
.opcional { font-weight: 400; color: var(--texto-suave); }
.campo input[type=text], .campo input[type=email], .campo input[type=tel], .campo textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--texto);
    background: #fff; border: 1px solid #D9CFB6; border-radius: 12px; padding: 11px 14px; min-height: 46px; }
.campo textarea { resize: vertical; min-height: 84px; }
.campo input:focus, .campo textarea:focus { outline: 3px solid rgba(213, 113, 70, .35); border-color: var(--terracota); }
.campo [aria-invalid=true] { border-color: #B3261E; }
.escolha { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.escolha legend { width: 100%; margin-bottom: 4px; padding: 0; }
.escolha label { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; font-size: .98rem; cursor: pointer; }
.escolha input, .consentimento input { width: 18px; height: 18px; accent-color: var(--acao); flex-shrink: 0; }
.consentimento { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; line-height: 1.45; cursor: pointer; }
.consentimento input { margin-top: 2px; }
.campo-erro { margin: 0; min-height: 0; font-size: .85rem; color: #B3261E; }
.campo-erro:empty { display: none; }
.campo-mel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-resposta { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: #E7EEDC; color: #2F4A1F; }
.form-resposta.erro { background: var(--pessego); color: #7A2E12; }
.form-enviar { margin-top: 20px; width: 100%; }
.form-enviar[disabled] { opacity: .7; cursor: progress; }
.form-info .cf-turnstile { margin-top: 8px; }   /* a caixa só aparece quando a Cloudflare precisa de um clique (interaction-only) */
.form-info.enviado .form-grelha, .form-info.enviado .form-enviar, .form-info.enviado .cf-turnstile { display: none; }
/* Páginas simples (informações sem JS, privacidade) */
.pagina-simples { padding-top: 56px; }
.estreito { max-width: 780px; }
.texto-legal h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* Rodapé */
.rodape { background: var(--quase-preto); color: var(--creme); padding: 56px 0 40px; font-size: .95rem; }
.rodape a { color: var(--creme); }
.rodape a:hover { color: var(--amarelo); }
.rodape-grelha { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.rodape-logo { width: 120px; height: auto; }
.rodape-sub { margin-top: 10px; color: var(--salva); }
.rodape-redes { display: flex; gap: 12px; }
.rodape-redes a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(244, 237, 219, .3); }
.rodape-legal { display: grid; gap: 8px; justify-items: start; }
.rodape-legal p { margin: 0; color: var(--salva); }

/* Ecrãs médios */
@media (max-width: 1080px) {
    .topo-nav { display: none; }
    .menu-botao { display: inline-flex; }
    .topo-acoes { margin-left: auto; }
    .esp-grelha { grid-template-columns: repeat(3, 1fr); }
    .equipa-grelha > .pessoa { flex-basis: calc((100% - 28px) / 2); }
    .contactos-grelha { grid-template-columns: 1fr 1fr; }
    .contactos-grelha > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 1081px) { .menu-telemovel { display: none !important; } }

/* Telemóvel */
@media (max-width: 760px) {
    body { font-size: 17px; }
    :root { --topo: 64px; --topo-grande: 96px; }
    .contentor { padding: 0 16px; }
    .topo-logo, .topo-logo img { width: 72px; }
    .topo-logo { height: 80px; }
    .topo.compacto .topo-logo { height: 40px; }
    .topo-acoes .botao { display: none; }
    .menu-telemovel { padding: 8px 16px 20px; }
    .seccao { padding: 48px 0; }
    .centro { padding: 24px 0 48px; }
    .centro-grelha, .contactos-grelha, .rodape-grelha { grid-template-columns: 1fr; gap: 28px; }
    .serv-grelha > .serv, .equipa-grelha > .pessoa { flex-basis: 100%; }
    .serv-grelha, .equipa-grelha { gap: 18px; }
    .nome-grelha, .pilares, .passos { grid-template-columns: 1fr; gap: 18px; }
    /* Especialidades numa coluna, com o ícone ao lado: lê-se melhor que duas colunas apertadas. */
    .esp-grelha { grid-template-columns: 1fr; gap: 12px; }
    .esp { padding: 18px 16px; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: start; }
    .esp-icone { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
    .esp h3 { font-size: 1.05rem; }
    .esp p { font-size: .95rem; }
    .intro, .intro.centrado { text-align: left; }
    .recebe { padding: 24px 20px; }
    .recebe ul { grid-template-columns: 1fr; }
    .intro { margin-bottom: 28px; font-size: 1.05rem; }
    .serv { padding: 26px 22px; }
    .test-lista { margin: 0 -16px; padding: 6px 16px 20px; grid-auto-columns: 85%; gap: 16px; scroll-padding: 0 16px; }
    .test-setas { display: none; }
    .botoes { flex-direction: column; }
    .botoes .botao { width: 100%; }
    .passo { padding: 0; }
    .janela { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
    .janela-caixa { padding: 24px 16px 28px; }
    .form-grelha { grid-template-columns: 1fr; }
}
