/* CampusOne: website de apresentação */
*, *::before, *::after { box-sizing: border-box; }

:root {
    --azul: #1f4e79;
    --azul-escuro: #163a5b;
    --ambar: #f2a900;
    --texto: #1c2430;
    --suave: #5b6675;
    --linha: #e2e5ea;
    --fundo-alt: #f5f7fa;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--texto); background: #fff;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.08rem; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--ambar); outline-offset: 2px; }

.largura { width: min(1140px, 100% - 2.5rem); margin: 0 auto; }

.botao {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .75rem 1.3rem; border-radius: 8px; font-weight: 600; text-decoration: none;
    border: 2px solid transparent; transition: filter .15s;
}
.botao:hover { filter: brightness(.94); }
.botao-principal { background: var(--ambar); color: #1c1400; }
.botao-claro { background: #fff; color: var(--azul); border-color: #fff; }
.botao-contorno { border-color: var(--azul); color: var(--azul); padding: .45rem 1rem; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--linha); backdrop-filter: blur(6px); }
.topo-linha { display: flex; justify-content: space-between; align-items: center; padding: .75rem 0; gap: 1rem; }
.marca { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; color: var(--azul); text-decoration: none; }
.menu { display: flex; align-items: center; gap: 1.4rem; }
.menu a:not(.botao) { color: var(--texto); text-decoration: none; font-weight: 500; }
.menu a:not(.botao):hover { color: var(--azul); }
@media (max-width: 720px) { .menu a:not(.botao) { display: none; } }

/* Herói */
.heroi { background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.heroi-grelha { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.sobretitulo { color: var(--ambar); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin: 0 0 .8rem; }
.heroi h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 16ch; }
.heroi-texto { font-size: 1.12rem; opacity: .9; max-width: 52ch; }
.accoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.destaques { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.destaques li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 1rem 1.2rem; display: grid; gap: .2rem; }
.destaques span { opacity: .85; font-size: .95rem; }
@media (max-width: 860px) { .heroi-grelha { grid-template-columns: 1fr; } }

/* Secções */
.seccao { padding: clamp(3rem, 7vw, 5rem) 0; }
.seccao-alternada { background: var(--fundo-alt); }
.seccao-intro { color: var(--suave); max-width: 62ch; margin: 0 0 2rem; font-size: 1.05rem; }
.grelha { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cartao { border: 1px solid var(--linha); border-radius: 12px; padding: 1.3rem 1.4rem; border-top: 3px solid var(--azul); }
.cartao p { color: var(--suave); margin: 0; font-size: .96rem; }

.passos { list-style: none; counter-reset: passo; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.passos li { counter-increment: passo; background: #fff; border-radius: 12px; padding: 1.4rem; border: 1px solid var(--linha); }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--azul); color: #fff; font-weight: 700; margin-bottom: .8rem; }
.passos p { color: var(--suave); margin: 0; }
.nota { margin: 2rem 0 0; color: var(--suave); }

.contacto { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.contacto .seccao-intro { margin: 0; }
.contacto-dados { display: flex; flex-wrap: wrap; gap: .8rem; }
.contacto-dados .botao-claro { border-color: var(--linha); }

.rodape { border-top: 1px solid var(--linha); padding: 1.5rem 0; color: var(--suave); font-size: .9rem; }
.rodape-linha { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
