:root {
    --primary-color: #1e7e34;
    --primary-light: #2e8b57;
    --secondary-color: #f8f9fa;
    --accent-color: #2ecc71;
    --accent-light: #58d68d;
    --text-color: #333333;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --whatsapp: #25D366;
    --facebook: #2e7d32;
    --instagram: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --tiktok: #000000;
    --youtube: #FF0000;
    --location-sm: #007bff;
    --location-gama: #28a745;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-secondary);
    background-color: #f5f7fa;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.app-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 28, 110, 0.03), rgba(0, 161, 228, 0.05));
    z-index: -2;
}

.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    overflow: hidden;
}

.background-shapes::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 161, 228, 0.1) 0%, rgba(0, 161, 228, 0) 70%);
}

.background-shapes::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 28, 110, 0.1) 0%, rgba(13, 28, 110, 0) 70%);
}

.content-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    text-align: center;
    padding: 30px 0 20px;
    position: relative;
}

.logo-wrapper {
    position: relative;
    height: 100px;
    margin-bottom: 15px;
}

.logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border: 3px solid var(--primary-color);
    overflow: hidden;
    transition: var(--transition);
    will-change: transform;
}

.logo-container:hover {
    transform: translateX(-50%) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 0;
    object-fit: contain;
}

header h1 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.tagline {
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
}

/* Main Content Styles */
main {
    padding: 10px 0 30px;
}

/* Main CTA - Botão Principal de Cadastro */
/* Estilos movidos para cta-styles.css para melhor organização */

.card-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
}

.card-header i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.card-header h2 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    flex-grow: 1;
    color: var(--white);
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.toggle-btn i {
    margin: 0;
    transition: var(--transition-fast);
}

.card.active .toggle-btn i {
    transform: rotate(180deg);
}

.card-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.card.active .card-content {
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Webkit browsers (Chrome, Safari) */
.card.active .card-content::-webkit-scrollbar {
    display: none;
}

/* Scroll suave para o conteúdo das categorias */
.card.active .card-content {
    scroll-behavior: smooth;
}

/* Efeito fade nas bordas durante scroll */
.card-content::before,
.card-content::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    height: 20px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-content::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.card-content::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.card.active .card-content.scrollable::before,
.card.active .card-content.scrollable::after {
    opacity: 1;
}

/* Action Buttons */
.action-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background-color: var(--primary-light);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-btn:visited {
    color: var(--white);
}

.action-btn:hover {
    color: #111111;
}

.action-btn:last-child {
    margin-bottom: 0;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.action-btn:hover::before {
    transform: translateX(0);
}

.action-btn i {
    margin-right: 12px;
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    aspect-ratio: 1;
    color: var(--white);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-size: 1.4rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-btn:hover::before {
    transform: scale(1.5);
}

.social-btn:hover {
    transform: translateY(-3px);
}

/* Button Colors */
.action-btn.whatsapp, .social-btn.whatsapp {
    background-color: var(--whatsapp);
}

.action-btn.facebook, .social-btn.facebook {
    background-color: var(--facebook);
}

.social-btn.instagram {
    background: var(--instagram);
}

.action-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.action-btn.tiktok, .social-btn.tiktok {
    background-color: var(--tiktok);
}

.action-btn.youtube, .social-btn.youtube {
    background-color: var(--youtube);
}

.action-btn.location-sm {
    background-color: var(--location-sm);
}

.action-btn.location-gama {
    background-color: var(--location-gama);
}

/* Highlights Section */
.highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-card {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.highlight-card:hover::before {
    width: 8px;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    color: var(--white);
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-text {
    flex-grow: 1;
}

.highlight-text h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.highlight-text p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Footer Styles */
footer {
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}

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

.modal {
    background: var(--white);
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    padding: 22px;
    animation: fadeIn 0.2s ease;
    margin: 20px auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: var(--text-light);
    cursor: pointer;
}

.modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: #000;
    border-radius: 4px;
    padding: 4px;
}

/* Melhorias no scroll do modal para formulários longos */
.modal form {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 160px);
}

.modal .form-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-right: -8px;
}

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

.modal .form-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal .form-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal .form-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.modal .form-footer {
    flex-shrink: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.modal h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.input-label {
    display: block;
    font-size: 0.9rem;
    margin: 10px 0 6px;
    color: var(--text-color);
}

.input-textarea {
    width: 100%;
    border: 1px solid #e3e3e3;
    border-radius: var(--border-radius);
    padding: 10px 12px;
    font-size: 0.95rem;
    outline: none;
}

.input-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 126, 52, 0.1);
}

.input-file {
    width: 100%;
}

.input-help {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.form-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-feedback {
    margin-top: 10px;
    font-size: 0.9rem;
}

.input-text {
    width: 100%;
    border: 1px solid #e3e3e3;
    border-radius: var(--border-radius);
    padding: 10px 12px;
    font-size: 0.95rem;
    outline: none;
    margin-bottom: 8px;
}

.input-text:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(30, 126, 52, 0.1);
}

.btn-location {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 8px 12px;
    font-size: 0.85rem;
    margin: 4px 0 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dynamic-field {
    margin: 8px 0;
}

.field-row {
    display: flex;
    gap: 10px;
}

.field-row .input-text, .field-row select {
    flex: 1;
}

.feed-modal {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.feed-content {
    max-height: 60vh;
    overflow-y: auto;
}

.feed-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    border-left: 4px solid var(--primary-color);
}

.feed-item h4 {
    margin: 0 0 4px;
    color: var(--primary-color);
    font-size: 1rem;
}

.feed-item .meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.feed-item .desc {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.loading {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}

/* Identification Section */
.identification-section {
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.section-title {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--white);
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
}

.radio-option:hover {
    border-color: var(--primary-color);
    background: #f0f7f1;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.radio-content {
    flex: 1;
}

.radio-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 2px;
}

.radio-content small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.radio-option input[type="radio"]:checked ~ .radio-content {
    color: var(--primary-color);
}

.radio-option input[type="radio"]:checked ~ .radio-content strong {
    color: var(--primary-color);
}

.identification-fields {
    border-top: 1px solid #e9ecef;
    padding-top: 16px;
    margin-top: 16px;
}

.identification-fields .input-text {
    margin-bottom: 12px;
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 12px 0 0 0;
    padding: 8px 12px;
    background: #e3f2fd;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.contact-note i {
    color: var(--primary-color);
}

/* Emergency restrictions */
.radio-option input:disabled + .radio-custom {
    border-color: #ddd;
    background: #f5f5f5;
    cursor: not-allowed;
}

.radio-option input:disabled ~ .radio-content {
    color: #999;
    cursor: not-allowed;
}

.radio-option input:disabled ~ .radio-content strong {
    color: #999;
}

/* Hidden radio options for identification */
.radio-option[style*="display: none"] {
    display: none !important;
}

/* Adjust spacing when anonymous option is hidden */
.radio-group:has(.radio-option[style*="display: none"]) {
    gap: 0;
}

.radio-group .radio-option:only-child {
    margin-bottom: 0;
}

.radio-option input:disabled + .radio-custom + label {
    color: #6c757d;
    opacity: 0.6;
    cursor: not-allowed;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    color: #856404;
    font-size: 0.9rem;
}

.alert-warning i {
    margin-right: 0.5rem;
    color: #f39c12;
}

.alert-warning strong {
    color: #975a16;
}

@media (max-width: 480px) {
    .identification-section {
        margin: 16px 0;
        padding: 12px;
    }
    
    .radio-option {
        padding: 10px;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .radio-content strong {
        font-size: 0.9rem;
    }
    
    .radio-content small {
        font-size: 0.75rem;
    }
    
    /* Modal mobile improvements */
    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
    }
    
    .modal {
        margin: 10px auto;
        max-height: calc(100vh - 20px);
        padding: 16px;
    }
    
    .modal .form-content {
        max-height: calc(100vh - 180px);
    }
    
    .modal-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .modal h3 {
        font-size: 1.2rem;
    }
    
    .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .emergency-fields {
        padding: 12px;
        margin: 12px 0;
    }
}

/* Social Feed Styles */
.social-post {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.social-post:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.platform-info i {
    font-size: 1.1rem;
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.post-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    background: #f8f9fa;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.social-post:hover .post-image img {
    transform: scale(1.02);
}

.post-content {
    padding: 16px;
}

.post-content p {
    margin: 0;
    line-height: 1.5;
    color: var(--text-color);
    font-size: 0.95rem;
}

.post-footer {
    padding: 12px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.view-original {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.view-original:hover {
    color: var(--accent-color);
    transform: translateX(2px);
}

.no-posts, .error {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-style: italic;
}

.error {
    color: #dc3545;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsividade do feed social */
@media (max-width: 480px) {
    .post-header {
        padding: 10px 12px;
    }
    
    .post-content {
        padding: 12px;
    }
    
    .post-footer {
        padding: 10px 12px;
    }
    
    .platform-info {
        font-size: 0.85rem;
    }
    
    .post-content p {
        font-size: 0.9rem;
    }
}

/* Category Sections */
.category-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
    scroll-margin-top: 20px; /* Para scroll suave entre seções */
}

.category-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Emergency Section */
.emergency-section {
    border: 2px solid #dc3545;
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
}

.emergency-section .category-header {
    border-bottom: 2px solid #dc3545;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.emergency-section .category-header i {
    color: #dc3545;
    font-size: 1.2rem;
}

.emergency-section .category-header span {
    color: #dc3545;
    font-weight: 700;
}

.action-btn.emergency {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: 2px solid #dc3545;
    color: var(--white);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.action-btn.emergency:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.action-btn.emergency i {
    color: var(--white);
    font-size: 1.1rem;
}

.action-btn.emergency span {
    color: var(--white);
    font-weight: 600;
}

/* Melhorias visuais para scroll */
.card-content.scrollable {
    position: relative;
}

/* Indicador sutil de scroll disponível */
.card-content.scrollable:not(.scrolled)::after {
    opacity: 0.7;
}

.card-content.scrolled::before {
    opacity: 0.8;
}

.card-content.scrolled-bottom::after {
    opacity: 0;
}

/* Animação suave para entrada/saída dos indicadores */
.card-content::before,
.card-content::after {
    transition: opacity 0.2s ease-in-out;
}

/* Otimização para mobile - área de toque maior */
@media (max-width: 480px) {
    .card.active .card-content {
        max-height: 350px; /* Altura menor no mobile */
        padding: 12px;
    }
    
    .card-content::before,
    .card-content::after {
        left: 12px;
        right: 12px;
        height: 15px;
    }
}

.category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-header i {
    font-size: 1rem;
    color: var(--accent-color);
}

.category-section .action-btn {
    margin-bottom: 8px;
    font-size: 0.95rem;
    padding: 12px 16px;
}

@media (max-width: 480px) {
    .category-section {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .category-header {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .category-section .action-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 8px;
    color: var(--primary-color);
}

.small-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.small-logo2 {
    width: 120px;
    height: auto;
    object-fit: contain;
}


.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtle-pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.02);
    }
    100% {
        transform: translateX(-50%) scale(1);
    }
}

.logo-pulse {
    animation: subtle-pulse 2s ease-in-out infinite;
}

.ripple {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.5s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .content-container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    .card-header {
        padding: 14px 16px;
    }
    
    .card-header h2 {
        font-size: 1rem;
    }
    
    .action-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .highlight-icon {
        width: 45px;
        height: 45px;
    }
}

/* Touch-friendly Adjustments */
@media (hover: none) {
    .card:hover {
        transform: none;
    }
    
    .action-btn:hover::before {
        transform: translateX(-100%);
    }
    
    .social-btn:hover::before {
        transform: scale(0);
    }
    
    .social-btn:hover {
        transform: none;
    }
    
    .highlight-card:hover {
        transform: none;
    }
    
    .highlight-card:hover::before {
        width: 4px;
    }
    
    .highlight-card:hover .highlight-icon {
        transform: none;
    }
    
    .logo-container:hover {
        transform: translateX(-50%);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #e1e1e1;
        --text-light: #a0a0a0;
        --secondary-color: #2a2a2a;
    }
    
    body {
        background-color: #121212;
    }
    
    .background-gradient {
        background: linear-gradient(135deg, rgba(13, 28, 110, 0.1), rgba(0, 161, 228, 0.1));
    }
    
    .card, .highlight-card {
        background-color: #1e1e1e;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .logo-container {
        background-color: #1e1e1e;
    }
}

/* Estilos movidos para mobile-fix.css para melhor organização */
