/* Centralização utilitária */
.text-center {
    text-align: center;
}
/* Contact Page Styles - Following FAQ Pattern */

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Animation Classes */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-up-delayed {
    animation: fadeUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.95), rgba(131, 56, 236, 0.95)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    color: white;
    padding: 5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 40vh;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #f8fafc, transparent);
    z-index: 2;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero .hero-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-hero .hero-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-align: center;
}

.contact-hero .hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    display: block;
    background: linear-gradient(45deg, #fff, #e0f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    display: block;
    max-width: 600px;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-title i {
    color: #3182ce;
    font-size: 2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Grid */
.contact-methods-grid {
    margin-bottom: 4rem;
}

.methods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3182ce, #805ad5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-method-card:hover::before {
    transform: scaleX(1);
}

.contact-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.method-icon.email-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.method-icon.phone-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.method-icon.location-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.method-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.method-content p {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.method-info {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.response-time,
.availability,
.coverage {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.response-time i,
.availability i,
.coverage i {
    color: #38a169;
}

.method-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3182ce, #805ad5);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.method-action:hover {
    background: linear-gradient(135deg, #2c5282, #6b46c1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Contact Form Section */
.contact-form-section {
    margin: 4rem 0;
    padding: 3rem 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-header {
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-header h2 i {
    color: #3182ce;
}

.form-header p {
    color: #718096;
    font-size: 1rem;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.form-wrapper {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: #3182ce;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
    min-height: 120px;
    font-family: inherit;
    line-height: 1.6;
}

.form-helper {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.attachments-summary {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #eef4ff;
    border: 1px dashed rgba(49, 130, 206, 0.35);
    color: #365179;
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-outline {
    background: #3182ce;
    color: #fff;
    border: 2px solid #3182ce;
    box-shadow: 0 2px 8px rgba(49,130,206,0.08);
}

.btn-outline:hover, .btn-outline:focus {
    background: #205493;
    color: #fff;
    border-color: #205493;
}

.btn-outline:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.btn-gradient.primary {
    background: linear-gradient(135deg, #3182ce, #805ad5);
    color: white;
}

.btn-gradient.primary:hover {
    background: linear-gradient(135deg, #2c5282, #6b46c1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
}

/* Form Info Cards */
.form-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3182ce, #805ad5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Social Section */
.social-section {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
    animation: float 10s ease-in-out infinite;
}

.social-header {
    position: relative;
    z-index: 2;
    margin-bottom: 2.5rem;
}

.social-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.social-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.social-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.social-platform {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-platform:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.social-platform.is-disabled {
    opacity: 0.72;
    cursor: default;
    pointer-events: none;
}

.social-platform.is-disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

.platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.social-platform.whatsapp .platform-icon {
    background: #22c55e;
}

.social-platform.instagram .platform-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-platform.youtube .platform-icon {
    background: #ff0000;
}

.social-platform.twitter .platform-icon {
    background: #1da1f2;
}

.platform-info {
    flex: 1;
}

.platform-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.platform-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.follow-count {
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 500;
}

.platform-action {
    opacity: 0.7;
    font-size: 1rem;
}

/* Quick Help Section */
.quick-help-section {
    margin: 4rem 0;
}

.help-header {
    margin-bottom: 2.5rem;
}

.help-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.help-header h2 i {
    color: #f6ad55;
}

.help-header p {
    color: #718096;
    font-size: 1rem;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.quick-link-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quick-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    color: inherit;
    text-decoration: none;
}

.link-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f6ad55, #ed8936);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.link-content p {
    color: #718096;
    font-size: 0.9rem;
}

.link-arrow {
    color: #cbd5e0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.quick-link-card:hover .link-arrow {
    color: #3182ce;
    transform: translateX(4px);
}

/* CTA Section */
.contact-cta {
    margin: 4rem 0 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, #102445 0%, #1d355d 50%, #204a7f 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 20px;
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-cta .cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.45;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 1;
}

.contact-cta .cta-content {
    position: relative;
    z-index: 2;
}

.contact-cta .cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-cta .cta-icon i {
    color: #ffffff;
}

.contact-cta .cta-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffd7a8;
}

.contact-cta .cta-content p {
    font-size: 1.1rem;
    opacity: 1;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #dbe7ff;
}

/* Coverage Modal */
.coverage-modal-content {
    width: min(760px, 100%);
}

.coverage-modal-header .contribute-modal-icon {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.coverage-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.coverage-highlight-card {
    padding: 1.4rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(37, 99, 235, 0.09));
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.coverage-highlight-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #1e3a8a;
    font-size: 1.15rem;
}

.coverage-highlight-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.coverage-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.coverage-item i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3182ce, #805ad5);
    color: #fff;
    flex-shrink: 0;
}

.coverage-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.coverage-item span {
    display: block;
    color: #64748b;
    line-height: 1.5;
    font-size: 0.94rem;
}

.coverage-modal-footer p {
    color: #475569;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #f8fafc;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 1;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0 2rem;
    }

    .contact-hero .hero-title {
        font-size: 2.2rem;
    }

    .methods-container {
        grid-template-columns: 1fr;
    }

    .form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        justify-content: stretch;
        flex-direction: column;
    }

    .social-platforms {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .cta-stats {
        gap: 1.5rem;
        flex-direction: column;
    }

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

    .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .help-header h2,
    .social-header h2,
    .form-header h2 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero .hero-title {
        font-size: 1.8rem;
    }

    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }

    .contact-method-card,
    .form-wrapper,
    .social-section,
    .contact-cta {
        padding: 1.5rem;
    }

    .methods-container,
    .social-platforms,
    .quick-links {
        gap: 1rem;
    }
}
