@font-face {
    font-family: 'ms-regular';
    src: url('../fonts/ms-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --idiomas-bg: #f4f6f8;
    --idiomas-surface: #ffffff;
    --idiomas-surface-soft: #f8fafc;
    --idiomas-border: #dce5ee;
    --idiomas-title: #213f63;
    --idiomas-text: #55697f;
    --idiomas-red: #ee4348;
    --idiomas-red-dark: #d9383d;
    --idiomas-blue-soft: #edf3f9;
    --idiomas-shadow: 0 16px 36px rgba(33, 63, 99, 0.08);
    --idiomas-shadow-hover: 0 22px 44px rgba(33, 63, 99, 0.12);
}
/* Container do botão para dar espaçamento do texto */
.hero-actions {
    margin-top: 35px;
}

/* Estilo do Botão Vermelho FCM */
.idiomas-btn {
    background-color: #ee4348 !important; /* Vermelho padrão Idiomas */
    color: #ffffff !important;
    font-family: 'ms-regular', sans-serif;
    font-weight: 700;
    text-transform: none; /* Mantém letras minúsculas/maiúsculas naturais */
    padding: 0 45px !important;
    height: 56px !important;
    line-height: 56px !important;
    border-radius: 99px !important; /* Formato arredondado (pill) */
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(238, 67, 72, 0.25); /* Sombra elegante */
    border: none;
    font-size: 1.1rem;
}

/* Efeito ao passar o mouse */
.idiomas-btn:hover {
    background-color: #d9383d !important; /* Vermelho um pouco mais escuro */
    transform: translateY(-3px); /* Leve subida */
    box-shadow: 0 12px 25px rgba(238, 67, 72, 0.4);
}

/* Ajuste para mobile */
@media (max-width: 600px) {
    .idiomas-btn {
        width: 100%;
        text-align: center;
        padding: 0 20px !important;
    }
}
/* =========================================
   Seção de Informações Adicionais (3 Blocos)
   Versão: Sem Ícones / Texto Justificado
   ========================================= */
.idiomas-info-section .container {
    max-width: 1100px; /* Aumente este valor conforme necessário (ex: 1200px, 1400px, 100%) */
    width: 100%;
}
/* =========================================
   Seção de Informações Adicionais (3 Blocos)
   Versão: Com Ícones + Texto Justificado e Título à Direita
   ========================================= */

.idiomas-info-section {
    padding: 60px 0;
    background-color: var(--idiomas-surface-soft); 
}

.idiomas-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Para deixar os cards mais largos, mude para repeat(2, 1fr) */
    gap: 30px;
}

.idiomas-info-card {
    background: var(--idiomas-surface);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--idiomas-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--idiomas-border);
}

.idiomas-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--idiomas-shadow-hover);
}

/* --- ESTILO DOS ÍCONES --- */
.idiomas-info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--idiomas-blue-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    
    /* Alinha o ícone à direita acompanhando o título. 
       Para alinhar à ESQUERDA: troque por "align-self: flex-start;"
       Para alinhar ao CENTRO: troque por "align-self: center;" */
    align-self: center; 
}

.idiomas-info-icon i {
    color: var(--idiomas-title);
    font-size: 32px;
}

/* --- ESTILO DO TÍTULO --- */
.idiomas-info-card h3 {
    color: var(--idiomas-title);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.4;
    min-height: 3.5rem; 
    display: flex;
    
    /* Mantido o alinhamento à direita */
    text-align: center; 
    justify-content: flex-end; 
    align-items: flex-start;
}

/* --- ESTILO DO TEXTO --- */
.idiomas-info-card p {
    color: var(--idiomas-text);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
    /* Mantido o texto justificado */
    text-align: justify; 
}

/* --- RESPONSIVIDADE --- */

@media (max-width: 992px) {
    .idiomas-info-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .idiomas-info-card h3 {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .idiomas-info-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .idiomas-info-card {
        padding: 30px 20px;
    }
}
/* Container do botão para dar espaçamento do texto */
.hero-actions {
    margin-top: 35px;
}

/* Estilo do Botão Vermelho FCM */
.idiomas-btn {
    background-color: #ee4348 !important; /* Vermelho padrão Idiomas */
    color: #ffffff !important;
    font-family: 'ms-regular', sans-serif;
    font-weight: 700;
    text-transform: none; /* Mantém letras minúsculas/maiúsculas naturais */
    padding: 0 45px !important;
    height: 56px !important;
    line-height: 56px !important;
    border-radius: 99px !important; /* Formato arredondado (pill) */
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(238, 67, 72, 0.25); /* Sombra elegante */
    border: none;
    font-size: 1.1rem;
}

/* Efeito ao passar o mouse */
.idiomas-btn:hover {
    background-color: #d9383d !important; /* Vermelho um pouco mais escuro */
    transform: translateY(-3px); /* Leve subida */
    box-shadow: 0 12px 25px rgba(238, 67, 72, 0.4);
}

/* Ajuste para mobile */
@media (max-width: 600px) {
    .idiomas-btn {
        width: 100%;
        text-align: center;
        padding: 0 20px !important;
    }
}

body {
    background: var(--idiomas-bg);
    color: var(--idiomas-text);
    font-family: 'ms-regular', Arial, sans-serif;
}

.idiomas-page {
    padding: 18px 0 40px;
}

.idiomas-section {
    padding: 28px 0;
}

.idiomas-section-light {
    padding-top: 10px;
}

.idiomas-hero-panel {
    padding: 46px;
    border: 1px solid var(--idiomas-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(238, 67, 72, 0.08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f7fafd 100%);
    box-shadow: var(--idiomas-shadow);
}

.idiomas-hero-row {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.idiomas-copy {
    padding-right: 28px !important;
}

.idiomas-kicker,
.idiomas-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--idiomas-red);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.idiomas-kicker::before,
.idiomas-section-kicker::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
}

.idiomas-title {
    margin: 0 0 18px;
    color: var(--idiomas-title);
    font-size: 3rem;
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.idiomas-title span {
    display: block;
    color: var(--idiomas-red);
}

.idiomas-lead {
    margin: 0 0 16px;
    color: var(--idiomas-text);
    font-size: 1rem;
    line-height: 1.75;
}

.idiomas-actions {
    margin-top: 26px;
}

.idiomas-btn.btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--idiomas-red), var(--idiomas-red-dark));
    box-shadow: 0 14px 26px rgba(238, 67, 72, 0.24);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.idiomas-btn.btn-large:hover,
.idiomas-btn.btn-large:focus {
    background: linear-gradient(135deg, #2a527f, #213f63);
}

.idiomas-hero-media {
    position: relative;
}

.idiomas-banner-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid var(--idiomas-border);
    border-radius: 24px;
    background: var(--idiomas-surface);
    box-shadow: var(--idiomas-shadow);
}

.idiomas-banner-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(33, 63, 99, 0.92);
    color: #fff;
    font-size: 0.8rem;
}

.idiomas-banner-badge i {
    font-size: 1.1rem;
}

.idiomas-banner-image {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 18px;
}

.idiomas-section-header {
    max-width: 780px;
    margin: 0 auto 30px;
}

.idiomas-section-title {
    margin: 0;
    color: var(--idiomas-title);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
}

.idiomas-section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: var(--idiomas-red);
}

.idiomas-section-text {
    margin: 18px auto 0;
    color: var(--idiomas-text);
    font-size: 1rem;
    line-height: 1.7;
}

.idiomas-diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.idiomas-feature-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 122px;
    padding: 24px 22px;
    border: 1px solid var(--idiomas-border);
    border-radius: 20px;
    background: var(--idiomas-surface);
    box-shadow: var(--idiomas-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.idiomas-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(33, 63, 99, 0.18);
    box-shadow: var(--idiomas-shadow-hover);
}

.idiomas-feature-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--idiomas-blue-soft);
    color: var(--idiomas-title);
}

.idiomas-feature-icon i {
    font-size: 1.85rem;
}

.idiomas-feature-card p {
    margin: 0;
    color: var(--idiomas-text);
    font-size: 0.98rem;
    line-height: 1.55;
}

.idiomas-cursos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.idiomas-course-card {
    width: 100%;
}

.curso-clicavel {
    width: 100%;
    height: 100%;
}

.idiomas-course-card h3 {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.idiomas-course-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    padding: 0;
    border: 1px solid var(--idiomas-border);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.98)),
        linear-gradient(145deg, #eef5fb 0%, #ffffff 62%);
    box-shadow: var(--idiomas-shadow);
    transition: transform 0.34s ease, box-shadow 0.34s ease, border-color 0.34s ease;
}

.idiomas-course-card::before {
    content: '';
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 63, 99, 0.12), rgba(33, 63, 99, 0));
    transition: transform 0.34s ease;
}

.idiomas-course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(33, 63, 99, 0.18);
    box-shadow: var(--idiomas-shadow-hover);
}

.idiomas-course-card:hover::before {
    transform: scale(1.12);
}

.curso-clicavel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 230px;
    padding: 24px;
    color: inherit;
    text-decoration: none;
}

.idiomas-course-flag-icon,
.idiomas-course-special-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;           /* Mantém o ícone quadrado e menor */
    height: 72px;          /* Mantém o ícone quadrado e menor */
    margin-bottom: 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(33, 63, 99, 0.1);
    color: var(--idiomas-title);
}

.idiomas-course-flag {
    background: #fff;
    box-shadow: 0 12px 24px rgba(33, 63, 99, 0.1);
    font-size: 2rem;
}

.idiomas-course-flag-img,
.idiomas-course-flag-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 220px;
    aspect-ratio: 16 / 9;
    margin-bottom: 22px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(33, 63, 99, 0.10);
    overflow: hidden;
}

.idiomas-course-flag-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 180px;      /* Controla a largura para não ficar gigante */
    aspect-ratio: 3 / 2;   /* Mantém a proporção retangular correta */
    margin-bottom: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(33, 63, 99, 0.10);
    object-fit: cover;     /* Preenche o espaço sem achatar ou distorcer */
    object-position: center;
}

.idiomas-course-flag-img {
    object-fit: cover;
    padding: 0;
}

.idiomas-course-flag-icon {
    color: var(--idiomas-title);
}

.idiomas-course-flag-icon i,
.idiomas-course-special-icon i {
    font-size: 2rem;
}

.idiomas-course-tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(33, 63, 99, 0.08);
    color: var(--idiomas-title);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.idiomas-course-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--idiomas-title);
    font-size: 1.28rem;
    line-height: 1.3;
    font-weight: 800;
}

.idiomas-course-card-special {
    background:
        linear-gradient(180deg, rgba(238, 67, 72, 0.08), rgba(255, 255, 255, 0.98)),
        linear-gradient(145deg, #fff5f5 0%, #ffffff 62%);
}

.idiomas-course-special-icon {
    background: linear-gradient(135deg, var(--idiomas-red), var(--idiomas-red-dark));
    box-shadow: 0 16px 28px rgba(238, 67, 72, 0.22);
    color: #fff;
}



.idiomas-course-card p {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    color: var(--idiomas-text);
    font-size: 0.95rem;
    line-height: 1.6;
}
@media (max-width: 992px) {
    .idiomas-info-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
    
    .idiomas-info-card h3 {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .idiomas-info-grid {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
        gap: 20px;
    }
    
    .idiomas-info-card {
        padding: 30px 20px;
    }
}
@media (max-width: 1200px) {
    .idiomas-cursos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .idiomas-page {
        padding-top: 10px;
    }

    .idiomas-hero-panel {
        padding: 32px 26px;
    }

    .idiomas-copy {
        padding-right: 0 !important;
    }

    .idiomas-title {
        font-size: 2.45rem;
    }

    .idiomas-hero-media {
        margin-top: 28px;
    }

    .idiomas-banner-image {
        height: 360px;
    }

    .idiomas-diferenciais-grid,
    .idiomas-cursos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 600px) {
    /* Afeta apenas as bandeiras no mobile, mantendo os ícones intactos */
    .idiomas-course-flag-img {
        max-width: 100%;
        aspect-ratio: 16 / 10;
    }

.curso-clicavel {
    align-items: center;
    text-align: center;
}
    .idiomas-section {
        padding: 22px 0;
    }

    .idiomas-hero-panel {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .idiomas-title {
        font-size: 2.05rem;
    }

    .idiomas-lead {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .idiomas-actions,
    .idiomas-btn.btn-large {
        width: 100%;
    }

    .idiomas-btn.btn-large {
        padding: 0 18px;
    }

    .idiomas-banner-badge {
        position: static;
        margin-bottom: 14px;
    }

    .idiomas-banner-image {
        height: 260px;
    }

    .idiomas-section-title {
        font-size: 1.9rem;
    }

    .idiomas-diferenciais-grid,
    .idiomas-cursos-grid {
        grid-template-columns: 1fr;
    }

    .idiomas-feature-card,
    .idiomas-course-card {
        padding: 0;
    }

    .curso-clicavel {
        min-height: 210px;
        padding: 20px 18px;
    }
}
