/* ========================================================================
   RESET E VARIÁVEIS CSS
   ======================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Cores Primárias */
    --primary-blue: #1e40af;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e3a8a;
    --primary-blue-mute: #47578b;
    --primary-blue-hilight: #2f1ef7;
    --accent-blue: #0ea5e9;
    --accent-cyan: #0891b2;
    --accent-orange: #ea580c;
    
    /* Cores Secundárias */
    --primary-purple: #7c3aed;
    --primary-pink: #ec4899;
    --primary-pink-dark: #771e43;
    --primary-green: #059669;
    
    /* Tons de Cinza */
    --secondary-gray: #64748b;
    --submenu-gray:#d8dee5;
    --light-gray: #f8fafc;
    --lighter-gray: #f1f5f9;
    --border-light: #e2e8f0;
    
    /* Cores Base */
    --white: #ffffff;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-bg: #f8fafc;
    --blue-bg: #3730a3;
    
    /* Texto */
    --dark-text: #0f172a;
    --medium-text: #475569;
    --light-text: #64748b;
    --text-light: #e2e8f0;
    --text-dark: #0f172a;
    --text-green-dark: #064e3b;
    
    /* Sombras */
    --shadow-light: rgba(15, 23, 42, 0.08);
    --shadow-medium: rgba(15, 23, 42, 0.15);
    
    /* Gradientes */
    --gradient-blue: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-light: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    
    /* Efeitos */
    --glass-bg: rgba(255, 255, 255, 0.1);
}

/* ========================================================================
   ESTILOS BASE
   ======================================================================== */

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--white);
    overflow-x: hidden;
}

section[id] {
    scroll-margin-top: 50px;
}

/* ========================================================================
   CLASSES UTILITÁRIAS
   ======================================================================== */

.text-bold { font-weight: 700 !important; }
.text-dark { color: var(--dark-text) !important; }
.pt-m { padding-top: 4rem !important; }
.mt-m { margin-top: 2rem; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.display-flex-align-items-center { 
    display: flex !important; 
    align-items: center;
}

.link-highlight {
    background-color: #c8d9ea8f !important;
    padding: 0.5rem 1rem !important;
    border-radius: 30px;
    color: #06306b !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================================================
   ÍCONES
   ======================================================================== */

.icons {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.icon-ppp {
    width: 12px;
    height: 12px;
    margin-inline: 10px;
}

.icon-m {
    width: 40px;
    height: 40px;
}

.icon-g {
    width: 80px;
    height: 80px;
}

.icon-docs {
    width: 25px;
    height: 25px;
    margin-inline: 1rem;
}

.icon-social{
    width: 20px;
    height: 20px;
    margin-right: 0.5rem
}


/* ========================================================================
   HEADER E NAVEGAÇÃO
   ======================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding-top: 9px;
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-container-docs {
    display: flex;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-text);
    line-height: 1;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--medium-text);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    filter: brightness(0.8);
}


/* ========================================================================
   SEÇÃO HERO
   ======================================================================== */

.hero {
    margin-top: 70px;
    display: flex;
    position: relative;
    overflow: hidden;
    background-image: url('../imgs/hero.jpg');
    background-size: cover;
    background-position: center;
    background-color: #789cc0;
    background-blend-mode: overlay;
    background-repeat: no-repeat;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content h1 {
    font-family: 'Exo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    text-shadow: 1px 4px 7px rgb(0 0 0 / 90%);
}

.hero-content p {
    font-size: 1.4rem;
    color: rgb(255 255 255);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 1px 1px 10px rgb(0 0 0 / 100%);
}


.hero-badges {
    display: inline-flex;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 2rem;    
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);

    opacity: 0.9;
}

.hero-badge-institution {
    background: linear-gradient(135deg, rgb(13 75 157 / 84%), rgb(21 21 67 / 79%));
    color: #FFF;
}

.hero-badge-department {

    background: linear-gradient(135deg, rgb(233 255 253 / 81%), rgb(37 190 218 / 67%));
    color: #000000;
}


/* ========================================================================
   BOTÕES
   ======================================================================== */

.cta-buttons {
    display: flex;
    gap: 1rem;
    /* margin-top: 2rem; */
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
    background: linear-gradient(90deg, #7219c2bd, #a84fe9bd);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.5);
}

/* ========================================================================
   SEÇÕES DE CONTEÚDO
   ======================================================================== */

/* Features */
.features {
    padding: 0.1rem 0 3rem 0;
    background: #FFF;
    background-image: linear-gradient(to top, #dfe9f3 0%, #9c9c9c14 100%) !important;
}

.features-2 {
    padding: 0.1rem 0 3rem 0;
    background-color: #ffffff;
    background-image: url("../imgs/patterns/texture-pattern.svg");
    background-repeat: repeat;
}

/* Headers de Seção */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.titles {
    text-align: center;
    margin: 3rem 0 3rem 0;
}

.titles h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-blue-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 3rem;
}

.titles h1::after {
    content: "";
    display: block;
    width: 70%;
    height: 2px;
    margin: 0.3rem auto 1rem;
    background: var(--secondary-gray);
    border-radius: 2px;
    opacity: 0.2;
}

.titles p {
    font-size: 1rem;
    color: var(--medium-text);
    font-weight: 500;
}

.selection-header {
    margin-bottom: 0.5rem;
}

.selection-header h2 {
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--primary-blue-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.selection-header p {
    color: var(--medium-text);
    font-size: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--medium-text);
    line-height: 1.6;
    margin: 0;
}

/* Boxes de Missão */
.missao-boxes {
    position: relative;
}

.missao-box {
    border-radius: 20px;
    padding: 2rem 3rem;
    border: 1px solid rgb(0 0 0 / 12%);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    background-color: var(--light-bg);
}

.missao-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    width: 5px;
    background: var(--primary-blue);
}

.missao-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.missao-box-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-text);
    letter-spacing: -0.02em;
}

.missao-box p {
    font-size: 1rem;
    line-height: 1.6rem;
}

/* Grid de Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgb(0 0 0 / 12%);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--primary-blue);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0.5rem 0 1rem 0;
    line-height: 1.8rem;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-pink-dark);
    margin: 1rem 0 1rem 0;
}

.feature-card p {
    color: var(--medium-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.feature-card ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-blue-light);
}

/* ========================================================================
   FAQ
   ======================================================================== */

.faq-section {
    background: var(--light-bg);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-text);
    text-align: center;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue-dark);
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    line-height: 1.8rem;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    padding: 1rem 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: "–";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--medium-text);
    padding-right: 2rem;
    font-weight: 500;
}

.faq-answer p {
    margin: 0;
    padding: 0.5rem 0 1rem 0;
}

/* ========================================================================
   DOCUMENTOS
   ======================================================================== */

.documents-grid {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.document-section {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.section-header-docs {
    background-color: var(--light-text);
    color: var(--white);
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header-docs h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.documents-list {
    padding: 0;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.document-item:last-child {
    border-bottom: none;
}

.document-item:hover {
    background: var(--light-gray);
}

.document-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.document-item:hover::before {
    transform: scaleY(1);
}

.document-item:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.document-item:focus:not(:focus-visible) {
    outline: none;
}

.document-content {
    flex: 1;
    padding-right: 1rem;
}

.document-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.document-content p {
    font-size: 0.9rem;
    color: var(--medium-text);
    margin: 0;
    line-height: 1.4;
}

.document-year {
    background: var(--primary-blue-dark);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    transition: all 0.3s ease;
}

.document-item:hover .document-year {
    background: var(--primary-blue-dark);
    transform: scale(1.05);
}

/* ========================================================================
   FORMULÁRIOS
   ======================================================================== */

.semester-select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #FFF;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../imgs/icons/svg_arrow_down.svg") !important;
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    background-size: 2rem;
}

.semester-select:focus {
    outline: none;
    border-color: #1976d2;
    background-color: #fff;
}

.semester-select:hover {
    border-color: var(--primary-blue-light);
}

.semester-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.semester-selector label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.selection-section {
    border-radius: 16px;
    padding-top: 1rem;
    text-align: center;
}

/* ========================================================================
   MODAL
   ======================================================================== */

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 2rem;
    overflow-y: auto;
}

.custom-modal-content.modern {
    background-color: #fff;
    margin: 2rem auto;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    font-family: 'Inter', sans-serif;
    animation: fadeInTop 0.4s ease;
}

.custom-modal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 0.5rem;
}

.custom-modal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-pink-dark);
    margin-bottom: 1.5rem;
}

.custom-modal-content p {
    font-size: 1rem;
    color: var(--medium-text);
    line-height: 1.8;
}

.custom-close {
    position: absolute;
    top: -0.1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--medium-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.custom-close:hover {
    color: var(--primary-blue);
}

.modal-scroll {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.modal-scroll::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll::-webkit-scrollbar-thumb {
    background-color: var(--border-light);
    border-radius: 4px;
}

/* ========================================================================
   FOOTER
   ======================================================================== */

.footer {
    background: #0b132b;
    color: var(--lighter-gray);
    padding: 3rem 1rem 1rem 1rem;
    font-family: 'Inter', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-block {
    min-width: 200px;
}

.footer-block h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--lighter-gray);
}

.footer-block p,
.footer-block a {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-block a:hover {
    color: #1e90ff;
}

.footer-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-block ul li {
    margin-bottom: 0.2rem;
}

.footer-block i {
    margin-right: 8px;
}

.footer-block.logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-block.logos img {
    max-width: 200px;
    margin-bottom: 1rem;
    filter: brightness(0.95);
    border: 10px solid #FFF;
    border-radius: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 1rem;
    color: #aaa;
    padding-top: 1rem;
}

.footer-bottom a {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-bottom a:hover {
    color: #1e90ff;
}





/* ========================================================================
   ANIMAÇÕES
   ======================================================================== */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.document-section {
    animation: fadeInUp 0.6s ease-out;
}

.document-section:nth-child(2) { animation-delay: 0.1s; }
.document-section:nth-child(3) { animation-delay: 0.2s; }
.document-section:nth-child(4) { animation-delay: 0.3s; }
.document-section:nth-child(5) { animation-delay: 0.4s; }

/* ========================================================================
   RESPONSIVIDADE
   ======================================================================== */


/* Tablets e dispositivos médios */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        line-height: 3.8rem;
        margin-bottom: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {  
    /* Hero Mobile */
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-container {
        padding: 3rem 1.5rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .hero-badge-institution,
    .hero-badge-department {        
        padding: 0.7rem 1.25rem;
        letter-spacing: 0.3px;
    }
    
    .badge-icon {
        width: 18px;
        height: 18px;
    }    
    
    /* Botões Mobile */
    .cta-buttons {
        flex-direction: column;
        /* align-items: center; */
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.5rem;
    }
    
    /* Cards Mobile */
    .feature-card {        
        border-top: 5px solid var(--primary-blue);
        
    }
    
    /* Layout Mobile */
    .titles h1 {
        font-size: 2rem;
    }
    
    .missao-box {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .footer-block.logos {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-block.logos img {
        margin: 0 auto 1rem auto;
    }
    
    /* Modal Mobile */
    .custom-modal {
        padding: 0;
    }
    
    /* FAQ Mobile */
    .faq-question::after {
        content: "" !important;
    }
    
    /* Documentos Mobile */
    .main-content {
        padding: 2rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .documents-grid {
        gap: 2rem;
    }
    
    .section-header-docs {
        padding: 1.25rem 1.5rem;
    }
    
    .section-header-docs h2 {
        font-size: 1.25rem;
    }
    
    .document-item {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .document-content {
        padding-right: 0;
    }
    
    .document-year {
        align-self: flex-end;
    }
}

/* Smartphones */
@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
        height: 64px;
    }


    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 3.2rem;
        margin-bottom: 1.5rem;
        
    }    
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-container {
        padding: 1rem 1rem 2rem 1rem;
    }
    
    .hero-badges {
        width: 100%;
    }
    
    .hero-badge-institution,
    .hero-badge-department {
        font-size: 0.9rem;
        
        width: 100%;
        justify-content: center;
    }
    
    .badge-icon {
        width: 16px;
        height: 16px;
    }    

    .cta-buttons {
        align-items: center;
    }    

    .container {
        padding: 0 0.5rem;
    }
    
    .missao-box {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        
    }


.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0px;
    background: none;
    transform: none;
    transition: none;
}


    .feature-card:hover {
        transform: none;
        box-shadow: none;
        border: 1px solid rgb(0 0 0 / 12%);
        border-top: 5px solid var(--primary-blue)!important;

    }

    .feature-card:hover::before {
        transform: translateX(0);
    }    

    .page-header {
        margin-bottom: 3rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .section-header-docs {
        padding: 1rem 1.25rem;
    }
    
    .document-item {
        padding: 1rem 1.25rem;
    }
    
    .document-content h3 {
        font-size: 1rem;
    }
    
    .document-content p {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-section .container{
        padding-inline: 1.4rem!important;
    }


}



/* ===== MODAL DE AVISOS IMPORTANTES ===== */

.announcement-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.95));
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.6s ease-out;
}

.announcement-modal.show {
    display: flex;
}

.announcement-content {
    background: white;
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: modalScaleIn 0.6s ease-out forwards;
    overflow-y: auto;
}

.announcement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    animation: iconPulse 2s infinite;
}

.announcement-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.announcement-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.announcement-message {
    font-size: 1.1rem;
    color: var(--medium-text);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.announcement-highlight {
    background: linear-gradient(135deg, var(--accent-orange), #f97316);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: highlightGlow 2s infinite alternate;
}

.announcement-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.announcement-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
}

.announcement-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    color: white;
}

.announcement-btn-secondary {
    background: var(--light-gray);
    color: var(--dark-text);
    border: 2px solid var(--border-light);
}

.announcement-btn-secondary:hover {
    background: var(--lighter-gray);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.announcement-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--medium-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-close:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

/* Efeitos de partículas decorativas */
.announcement-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 50px 50px, 60px 60px, 40px 40px;
    animation: particlesFloat 20s linear infinite;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .announcement-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
        max-width: calc(100% - 2rem);
    }
    
    .announcement-title {
        font-size: 1.5rem;
    }
    
    .announcement-subtitle {
        font-size: 1rem;
    }
    
    .announcement-message {
        font-size: 1rem;
    }
    
    .announcement-highlight {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
    
    .announcement-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .announcement-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .announcement-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Animações */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalScaleIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(234, 88, 12, 0);
    }
}

@keyframes highlightGlow {
    from {
        box-shadow: 0 0 20px rgba(234, 88, 12, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(234, 88, 12, 0.6);
    }
}

@keyframes particlesFloat {
    from {
        transform: translateY(0) rotate(0deg);
    }
    to {
        transform: translateY(-100vh) rotate(360deg);
    }
}


/* ========================================================================
   NEWSLETTER - TEXTO JUSTIFICADO
   ======================================================================== */

p,
li,
blockquote,
blockquote p,
.feature-card p,
.missao-box p,
.interview-question,
.faq-answer p {
    text-align: justify;
}

/* Exceções que devem permanecer centralizadas */
.titles,
.titles h1,
.titles p,
.newsletter-image-caption,
.section-header,
.section-header p,
.faq-title {
    text-align: center !important;
}
