/* Estilos específicos da página de contato */

.contact-hero {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-hero h1 i {
    color: var(--accent-color);
}

.contact-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main {
    padding: 5rem 0;
    background: var(--background-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--accent-green);
    transition: all 0.3s ease;
}

.contact-form-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-form-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-form-section h2 i {
    color: var(--accent-green);
    font-size: 1.8rem;
}

.form-message {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.form-group label i {
    color: var(--accent-green);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--background-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(107, 142, 35, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-submit {
    background: var(--gradient-nature);
    color: var(--white);
    padding: 1.3rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.4);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.6);
}

.form-submit:active {
    transform: translateY(-1px);
}

.contact-info-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.contact-info-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-info-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-section h2 i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--background-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-nature);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-light);
    background: var(--white);
}

.info-item:hover::before {
    transform: scaleY(1);
}

.info-item i {
    color: var(--accent-green);
    font-size: 1.8rem;
    margin-top: 0.2rem;
    min-width: 30px;
    transition: all 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.info-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.info-content p {
    color: var(--neutral-dark);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.info-content a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.map-section {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.map-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.map-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.map-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.map-header h2 i {
    color: var(--accent-color);
}

.map-header p {
    opacity: 0.95;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.map-container {
    height: 450px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: filter 0.3s ease;
}

.map-container iframe:hover {
    filter: brightness(1.05);
}

.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20c157;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: white;
    animation: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-section,
.contact-info-section,
.map-section {
    animation: fadeInUp 0.6s ease-out;
}

.contact-form-section {
    animation-delay: 0.1s;
}

.contact-info-section {
    animation-delay: 0.2s;
}

.map-section {
    animation-delay: 0.3s;
}

.info-item {
    animation: fadeInUp 0.5s ease-out;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }
.info-item:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 2.5rem;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0;
    }

    .contact-hero h1 {
        flex-direction: column;
        gap: 0.5rem;
    }

    .contact-main {
        padding: 3rem 0;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 2rem;
    }

    .info-item {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }

    .info-item i {
        font-size: 1.5rem;
        min-width: 25px;
    }

    .map-container {
        height: 300px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-section,
    .contact-info-section {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
    }

    .form-submit {
        padding: 1.1rem 2.5rem;
        font-size: 1rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .map-header {
        padding: 1.5rem;
    }

    .map-container {
        height: 250px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Estados de Loading */
.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .whatsapp-float {
        animation: none;
    }
}

@media (prefers-contrast: high) {
    .contact-form-section,
    .contact-info-section,
    .map-section,
    .info-item {
        border: 2px solid var(--text-dark);
    }

    .form-submit {
        border: 3px solid var(--white);
    }
}

/* Focus States */
.form-submit:focus,
.whatsapp-float:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}