/* =====================================================
   site.css — reset global, header (menu) e footer
   Carregado em TODAS as páginas via includes/header.php.
   Mesma paleta do home.css / simulador.
   ===================================================== */

:root {
    --home-navy: #002855;
    --home-navy-hover: #0a3a75;
    --home-light: #E8E6DD;
    --home-panel: #D9DCE1;
    --home-panel-2: #C7CBD3;
    --home-line: rgba(0, 0, 0, 0.12);
    --home-accent: #D4AF6A;
    --home-container: 1224px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font: 400 16px/1.5 'Roboto', sans-serif;
    color: var(--home-navy);
    background: #fff;
}

a { color: inherit; }

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

/* ---------- Header / menu ---------- */
.site-header {
    background: var(--home-navy);
    position: sticky;
    top: 0;
    z-index: 40;
}

.site-header__inner {
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__logo img {
    width: 160px;
    height: auto;
}

.site-header__nav {
    display: flex;
    gap: 32px;
}

.site-header__nav a {
    color: var(--home-light);
    text-decoration: none;
    font-size: 16px;
}

.site-header__nav a:hover,
.site-header__nav a.is-active {
    text-decoration: underline;
}

.site-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.site-header__burger span {
    width: 24px;
    height: 2px;
    background: var(--home-light);
    display: block;
}

@media (max-width: 760px) {
    .site-header__burger { display: flex; }

    .site-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--home-navy);
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }

    .site-header__nav.is-open { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--home-navy);
    color: var(--home-light);
    border-top: 2px solid var(--home-accent);
}

.site-footer__inner {
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 56px 16px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.site-footer h5 {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--home-accent);
}

.site-footer p {
    margin: 0 0 10px;
    line-height: 1.6;
}

.site-footer a {
    color: var(--home-light);
    text-decoration: none;
    opacity: 0.88;
    transition: opacity 0.15s ease;
}

.site-footer a:hover {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__social {
    display: flex;
    gap: 12px;
}

.site-footer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
    transition: background 0.15s ease, transform 0.15s ease;
}

.site-footer__icon:hover {
    background: var(--home-accent);
    transform: translateY(-2px);
}

.site-footer__icon svg {
    color: var(--home-light);
}

.site-footer__icon:hover svg {
    color: var(--home-navy);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
    max-width: var(--home-container);
    margin: 0 auto;
    padding: 18px 16px;
    font-size: 13px;
    color: var(--home-light);
    opacity: 0.6;
    text-align: center;
}

@media (max-width: 760px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding: 48px 16px 32px;
    }

    .site-footer__social {
        justify-content: center;
    }
}