/*
Theme Name: ProativaTI Theme
Author: Felipe Santos
Description: A custom theme for WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ProativaTI
*/

@import url('https://fonts.googleapis.com/css2?display=swap&family=Noto+Sans:wght@400;500;700;900&family=Space+Grotesk:wght@400;500;700');

/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Space Grotesk", "Noto Sans", sans-serif;
    background-color: #121516;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* WordPress admin bar adjustment */
body.admin-bar {
    padding-top: 32px;
}

/* Link styles */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

a.no-underline {
    text-decoration: none;
}

/* Header styles */
header a {
    color: #ffffff;
    text-decoration: none;
}

header a:hover {
    color: #b2d8e5;
}

/* Navigation styles */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 36px;
}

.menu li {
    margin: 0;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.menu a:hover {
    color: #b2d8e5;
}

/* Button styles */
.btn-primary {
    background-color: #b2d8e5;
    color: #121516;
    border: none;
    padding: 10px 16px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    max-width: 480px;
}

.btn-primary:hover {
    opacity: 0.9;
    color: #121516;
}

.btn-secondary {
    background-color: #19b2e5;
    color: #111618;
    border: none;
    padding: 10px 16px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    max-width: 480px;
}

.btn-secondary:hover {
    opacity: 0.9;
    color: #111618;
}

/* Content styles */
.content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Footer styles */
footer {
    background-color: #121516;
    color: #a2afb3;
}

footer a {
    color: #a2afb3;
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .px-40 {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .content-wrapper {
        padding: 0 16px;
    }
    
    .flex-col-mobile {
        flex-direction: column;
    }
    
    .gap-mobile {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .text-mobile-center {
        text-align: center;
    }
    
    .flex-mobile-center {
        justify-content: center;
    }
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.wp-block-columns {
    margin: 0;
}

/* Additional utility classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accessibility improvements */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px #b2d8e5;
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Page Layout */
.contact-page-wrapper {
    min-height: calc(100vh - 200px);
}

.contact-form-container,
.contact-info-container {
    height: 100%;
    width: 100%;
}

/* Contact Form 7 - Container Reset */
.contact-form-wrapper .wpcf7 {
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-wrapper .wpcf7-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-wrapper .wpcf7-form > div {
    margin: 0 !important;
    padding: 0 !important;
}

/* Form Fields - Simples e Direto */
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea {
    width: 100% !important;
    padding: 16px 18px !important;
    border: 2px solid #3c4d53 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    color: #121516 !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.contact-form-wrapper input[type="text"]::placeholder,
.contact-form-wrapper input[type="email"]::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #a2afb3 !important;
}

.contact-form-wrapper input[type="text"]:focus,
.contact-form-wrapper input[type="email"]:focus,
.contact-form-wrapper textarea:focus {
    outline: none !important;
    border-color: #b2d8e5 !important;
    box-shadow: 0 0 0 3px rgba(178, 216, 229, 0.1) !important;
}

.contact-form-wrapper textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Submit Button - Simples e Efetivo */
.contact-form-wrapper input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 180px !important;
    height: 50px !important;
    padding: 0 24px !important;
    background: linear-gradient(135deg, #b2d8e5, #a3c9d6) !important;
    color: #121516 !important;
    border: none !important;
    border-radius: 25px !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

.contact-form-wrapper input[type="submit"]:hover {
    background: linear-gradient(135deg, #a3c9d6, #94bbc7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(178, 216, 229, 0.4) !important;
}

.contact-form-wrapper input[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Validation Messages */
.contact-form-wrapper .wpcf7-not-valid {
    border-color: #ef4444 !important;
}

.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #ef4444 !important;
    font-size: 13px !important;
    margin-top: 5px !important;
}

.contact-form-wrapper .wpcf7-response-output {
    margin-top: 15px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.contact-form-wrapper .wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* Contact Info Styling */
.contact-info-item {
    transition: transform 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.contact-info-item:hover {
    transform: translateX(4px);
    background-color: rgba(178, 216, 229, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 16px;
    }
    
    .contact-form-wrapper input[type="submit"] {
        width: 100% !important;
        min-width: auto !important;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper input[type="text"],
    .contact-form-wrapper input[type="email"],
    .contact-form-wrapper textarea {
        font-size: 16px !important; /* Previne zoom no iOS */
    }
    
    .contact-form-wrapper input[type="submit"] {
        height: 48px !important;
        font-size: 15px !important;
    }
}