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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Navegação */
.navbar {
    background: linear-gradient(135deg, #f7941d 0%, #f7941d 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    width: 120px;
    height: 60px;
    /* background: rgba(255,255,255,0.2); */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    /* border: 2px dashed rgba(255,255,255,0.4); */
}

.nav-buttons {
    display: flex;
    gap: 3rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

.nav-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 0.8rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    text-decoration: none;
}

.nav-btn:hover, .nav-btn.active {
    color: rgba(255,255,255,0.9);
}

.nav-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-btn:hover::after, .nav-btn.active::after {
    width: 100%;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeIn 0.5s ease-in;
}

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

/* Página Sobre */
.sobre-content {
    display: grid;
    grid-template-columns: 300px 1fr 250px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.sobre-content-left {
    display: flex;
    flex-direction: column;
}

.sobre-content-right {
    display: flex;
    flex-direction: column;
}

.sobre-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #f7941d, #f7941d);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.pdf-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.pdf-btn {
    background: white;
    color: #f7941d;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.pdf-btn:hover {
    background: #f7941d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(247, 148, 29, 0.3);
}

.sobre-text {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 750px; /* Largura fixa para desktop */
}

.documentos-section {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.documentos-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #dbb434;
    text-align: center;
}

.documento-link {
    display: block;
    background: linear-gradient(135deg, #f7941d, #f7941d);
    color: white;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.documento-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(219, 180, 52, 0.4);
}

.texto-completo {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
    line-height: 1.8;
}

/* Página Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f7941d, #f7941d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.blog-summary {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    color: #333;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Página Quem Apoia */
.apoiadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.apoiador-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.apoiador-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.apoiador-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f7941d, #f7941d);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 2.5rem;
}

/* Página Quem Apoia - Estilos Específicos */
.page-quem-apoia .apoiadores-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.page-quem-apoia .apoiador-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
    text-align: left;
}

.page-quem-apoia .apoiador-foto {
    width: 150px;
    height: 150px;
    border-radius: 15px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-quem-apoia .apoiador-info {
    text-align: left;
}

/* Página Contato */
.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contato-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dbb434;
}

.form-group textarea {
    resize: vertical;
    height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #f7941d, #f7941d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(219, 180, 52, 0.4);
}

.contato-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.info-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item h3 {
    color: #dbb434;
    margin-bottom: 0.5rem;
}

/* Títulos das páginas */
.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f7941d, #f7941d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.lang-btn {
    background: transparent;
    color: white;
    border: none;
    padding: 0.8rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    position: relative;
    text-decoration: none;
}

.lang-btn:hover {
    color: rgba(255,255,255,0.9);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    right: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: #ddd;}

.language-dropdown:hover .dropdown-content {
    display: block;
}

/* Estilos para a página de post completo */
.post-full-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1200x400') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.post-full-image h1 {
    font-size: 3rem;
    font-weight: bold;
}

.post-full-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-full-content p {
    margin-bottom: 1.5rem;
}

/* Efeito de fade para a troca de idioma */
body.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* RESPONSIVIDADE - CORREÇÕES MOBILE */

/* Tablets - 768px */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        position: static; /* Remove o comportamento sticky no mobile */
    }
    
    .nav-logo {
        width: 60px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .nav-buttons {
        position: static;
        transform: none;
        gap: 2rem;
        margin-left: 1rem;
    }

    .nav-btn {
        font-size: 1rem;
    }

    /* Correções específicas da página Sobre */
    .sobre-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .sobre-content-left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .sobre-content-right {
        width: 100%;
    }
    
    .sobre-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .sobre-text {
        width: 100% !important;
        max-width: none;
        padding: 1.5rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Outras páginas */
    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile layout for supporter cards - photo first, then name/role, then text */
    .page-quem-apoia .apoiador-card {
        flex-direction: column;
        text-align: center;
    }

    .page-quem-apoia .apoiador-foto {
        width: 150px;
        height: 150px;
        margin: 0 auto 1.5rem;
    }

    .page-quem-apoia .apoiador-info {
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .page-quem-apoia .apoiador-info h3 {
        order: -1;
        margin-bottom: 1rem;
    }

    .language-dropdown .dropdown-content {
        right: 0;
        left: auto;
    }
}

/* Smartphones - 480px */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-container {
        flex-wrap: nowrap;
        gap: 1rem;
        justify-content: center;
    }

    .nav-buttons {
        position: static;
        transform: none;
        flex-wrap: nowrap;
        gap: 1rem;
        margin: 0;
        justify-content: center;
        width: auto;
        order: 0;
    }

    .language-dropdown {
        order: 0;
    }

    .nav-btn {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    /* Página Sobre - mobile pequeno */
    .sobre-image {
        width: 200px;
        height: 200px;
    }

    .sobre-text {
        padding: 1rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0.8rem;
    }

    .apoiadores-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile layout for supporter cards - photo first, then name/role, then text */
    .page-quem-apoia .apoiador-card {
        flex-direction: column;
        text-align: center;
    }

    .page-quem-apoia .apoiador-foto {
        order: -1;
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }

    .page-quem-apoia .apoiador-info {
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .page-quem-apoia .apoiador-info h3 {
        order: -1;
        margin-bottom: 1rem;
    }

    .blog-grid {
        gap: 1.5rem;
    }

    .post-full-content {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .post-full-image h1 {
        font-size: 2rem;
    }
}