@font-face {
    font-family: 'ms-regular';
    src: url('../fonts/ms-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --page-bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #fbfcfe;
    --surface-alt: #eef4fb;
    --border-soft: #e2eaf3;
    --text-primary: #122a59;
    --text-secondary: #556579;
    --accent-red: #ee4348;
    --accent-red-dark: #d9353a;
    --accent-green: #4faf68;
    --accent-blue: #1f68a9;
    --shadow-soft: 0 14px 30px rgba(18, 42, 89, 0.08);
}

body {
    background-color: var(--page-bg);
    color: #333333;
}

.projetos-page {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 42%, #f7f9fc 100%);
    font-family: 'ms-regular', Arial, Helvetica, sans-serif;
}

.projetos-page .page-section {
    position: relative;
    padding: 24px 0;
}



.projetos-hero {
    padding-top: 20px;
    padding-bottom: 16px;
}

.projetos-hero-panel {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    background: transparent;
}



.projetos-hero-panel::before {
    top: -40px;
    right: 30px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(79, 175, 104, 0.14) 0%, rgba(79, 175, 104, 0) 72%);
}

.projetos-hero-panel::after {
    bottom: -50px;
    left: 10px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(31, 104, 169, 0.12) 0%, rgba(31, 104, 169, 0) 70%);
}

.projetos-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--accent-blue);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.idiomas-section-title {
    margin: 0;
    color: var(--idiomas-title);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
}
.projetos-eyebrow::before {
    content: '';
    width: 54px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-green));
}

.projetos-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.projetos-title {
    margin: 0;
    color: var(--text-primary);
    font-size: 2.7rem;
    line-height: 1.06;
    font-weight: 800;
}

.projetos-title span {
    display: inline;
    color: var(--accent-red);
}

.projetos-grid-section {
    background: linear-gradient(180deg, rgba(251, 252, 254, 0.95) 0%, rgba(245, 248, 250, 0.6) 100%);
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.topico-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 100%;
    padding: 18px 18px 16px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.topico-item:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 104, 169, 0.22);
}

.icone-placeholder {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.icone-placeholder img {
    max-width: 28px;
    max-height: 28px;
    width: auto;
    height: auto;
}

.topico-texto {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.5;
}

.secao-contato-final {
    padding: 34px 20px 42px;
    text-align: center;
    background: #f8fafc;
}

.secao-contato-final h4 {
    margin: 0 0 16px;
    font-size: 1.55rem;
    color: var(--text-primary);
    font-weight: 800;
}

.container-contatos {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.contato-footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(18, 42, 89, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contato-footer-item i {
    color: var(--text-primary);
}

.contato-footer-item span {
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 1080px) {
    .projetos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .projetos-page .page-section {
        padding: 22px 0;
    }

    .projetos-title {
        font-size: 2.35rem;
    }
}

@media (max-width: 700px) {
    .projetos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .projetos-page .page-section {
        padding: 18px 0;
    }

    .projetos-page .page-section + .page-section::before {
        left: 16px;
        right: 16px;
    }

    .projetos-title {
        font-size: 1.95rem;
    }

    .topico-item {
        padding: 16px;
        border-radius: 16px;
    }

    .icone-placeholder {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 14px;
    }

    .topico-texto,
    .contato-footer-item span {
        font-size: 0.93rem;
    }

    .secao-contato-final {
        padding: 28px 16px 34px;
    }

    .secao-contato-final h4 {
        font-size: 1.35rem;
    }
}
