/* Hero Section */
.hero-services {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(30,50,80,0.9), rgba(74,144,226,0.9)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #fffcfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Contact Overview */
.contact-overview {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4A90E2, #87CEEB);
}

.section-title {
    font-size: 2.5rem;
    color: #1e3250;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2, #87CEEB);
    border-radius: 2px;
}

.overview-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Contact Content */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
}

/* Contact Info Card */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2, #87CEEB);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.2);
}

.info-title {
    font-size: 2rem;
    color: #1e3250;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.info-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(74, 144, 226, 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A90E2, #87CEEB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.contact-value {
    font-size: 1.1rem;
    color: #1e3250;
    font-weight: 600;
    word-break: break-word;
}

/* Social Links */
.social-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.social-links h3 {
    font-size: 1.3rem;
    color: #1e3250;
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #4A90E2, #87CEEB);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Form Card */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4A90E2, #87CEEB);
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(74, 144, 226, 0.2);
}

.form-title {
    font-size: 1.8rem;
    color: #1e3250;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.form-description {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    text-align: center;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: #1e3250;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-input,
.form-select,
.form-textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    line-height: 1.5;
    min-height: 48px; /* Melhor para dispositivos touch */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4A90E2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-select {
    cursor: pointer;
}

.form-submit {
    background: linear-gradient(135deg, #4A90E2, #87CEEB);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    min-height: 54px; /* Melhor para dispositivos touch */
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.form-submit:active {
    transform: translateY(0);
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #1e3250, #4A90E2);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cta-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.cta-icon {
    font-size: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-content {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-services {
        padding: 100px 0 80px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
    }
    
    .main-content {
        padding: 2.5rem 1rem;
    }

    .contact-overview,
    .contact-info-card,
    .form-card,
    .contact-cta {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.25rem;
    }
    
    .overview-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }
    
    .info-title,
    .form-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .info-description,
    .form-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .cta-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }

    .contact-item {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
        gap: 1.25rem;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    .contact-label {
        font-size: 0.95rem;
    }
    
    .contact-value {
        font-size: 1.15rem;
        line-height: 1.4;
    }
    
    .social-links h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .social-icons {
        gap: 1.25rem;
    }
    
    .social-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    /* Melhorias nos campos do formulário para mobile */
    .form-input,
    .form-select,
    .form-textarea {
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
        border-radius: 10px;
        min-height: 52px;
    }
    
    .form-textarea {
        min-height: 140px;
        padding: 1.25rem 1rem;
    }
    
    .form-submit {
        padding: 1.5rem 2rem;
        font-size: 1.15rem;
        min-height: 58px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero-services {
        padding: 90px 0 70px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .main-content {
        padding: 2rem 0.75rem;
    }
    
    .contact-overview,
    .contact-info-card,
    .form-card,
    .contact-cta {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .overview-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .info-title,
    .form-title {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .info-description,
    .form-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .cta-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem 1rem;
    }
    
    .cta-icon {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .contact-text {
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .contact-label {
        font-size: 0.9rem;
    }
    
    .contact-value {
        font-size: 1.1rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .social-links h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
    
    .social-icons {
        gap: 1rem;
        justify-content: center;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Otimizações específicas para formulário em telas pequenas */
    .contact-form {
        gap: 1.25rem;
    }
    
    .form-group {
        gap: 0.6rem;
    }
    
    .form-label {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        min-height: 54px;
        border-width: 2px;
    }
    
    .form-textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    .form-submit {
        padding: 1.5rem 1.5rem;
        font-size: 1.1rem;
        min-height: 56px;
        border-radius: 8px;
        margin-top: 0.75rem;
    }
    
    /* Melhor espaçamento para touch */
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: #4A90E2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
        transform: scale(1.01);
    }
}

/* Melhorias adicionais para acessibilidade em dispositivos touch */
@media (max-width: 480px) and (pointer: coarse) {
    .form-input,
    .form-select,
    .form-textarea {
        min-height: 48px;
        font-size: 16px; /* Previne zoom no iOS */
    }
    
    .form-submit {
        min-height: 48px;
        font-size: 16px;
    }
    
    .contact-item {
        min-height: 48px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(74, 144, 226, 0.1);
    }
    
    .social-icon {
        min-height: 48px;
        min-width: 48px;
        -webkit-tap-highlight-color: rgba(74, 144, 226, 0.1);
    }
}

/* Animações suaves para mobile */
@media (prefers-reduced-motion: no-preference) {
    .contact-item,
    .form-input,
    .form-select,
    .form-textarea,
    .form-submit,
    .social-icon {
        transition: all 0.2s ease;
    }
}