/* ===================================
   PROVEXA - Estilo Minimalista
   =================================== */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2f4a;
    --text-color: #000000;
    --text-secondary: #4a4a4a;
    --background: #ffffff;
    --border-color: #e5e5e5;
    --hover-color: #2d4a6f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--background);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s;
}

.lang-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-button svg {
    transition: transform 0.3s;
}

.lang-button:hover svg {
    transform: translateY(2px);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--background);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    background: var(--primary-color);
    color: var(--background);
}

.lang-option.active:hover {
    background: var(--hover-color);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    background: var(--background);
    margin-top: 60px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto 40px;
    display: block;
}

.hero-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--background);
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: var(--hover-color);
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 60px;
    text-align: center;
}

/* About Section */
.about {
    background: var(--background);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Services Section */
.services {
    background: #fafafa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--background);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    margin-bottom: 25px;
}

.service-list li {
    padding: 10px 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Why Section */
.why {
    background: var(--background);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--background);
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 300;
}

.why-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #fafafa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    font-size: 17px;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px;
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-color);
    background: var(--background);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    display: none;
    font-size: 15px;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Footer */
.footer {
    background: var(--background);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.footer-info strong {
    color: var(--text-color);
    font-weight: 600;
}

.footer-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--primary-color);
}

.footer-links {
    text-align: right;
}

.footer-links p {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-copyright p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 100px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content em {
    font-size: 14px;
    color: var(--text-secondary);
}

.back-link {
    text-align: center;
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 13px;
    }
    
    .lang-button {
        padding: 6px 10px;
        font-size: 13px;
    }

    .logo-img {
        height: 45px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-logo {
        max-width: 400px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        text-align: left;
    }

    .legal-page {
        padding: 120px 0 60px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 12px;
    }
    
    .lang-button {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .lang-dropdown {
        min-width: 120px;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero-title {
        font-size: 18px;
    }

    .btn-primary {
        padding: 14px 30px;
        font-size: 15px;
    }

    .service-card {
        padding: 30px 20px;
    }
}
