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

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

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

/* Performance optimization for mobile */
@media (max-width: 968px) {
    * {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Colors */
:root {
    --primary-color: #FFFFFF;
    --secondary-color: #0FA6D0;
    --tertiary-color: #214993;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-color: #FFA500;
    --success-color: #28a745;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    background: var(--primary-color);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f8f9fa 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content Grid */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.7;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 40px;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.hero-image {
    display: none;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Hero Form Styles */
.hero-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-form-card {
    width: 100%;
}

.hero-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.hero-form-subtitle {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.hero-form .form-group {
    margin-bottom: 20px;
}

.hero-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(15, 166, 208, 0.1);
}

.hero-form select {
    cursor: pointer;
    appearance: none;
    background-color: #fafafa;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    color: #333;
}

.hero-form select:invalid {
    color: #999;
}

.hero-form select option:first-child {
    color: #999;
}

.hero-form select option:not(:first-child) {
    color: #333;
}

.hero-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    font-size: 1.1rem;
}

.hero-form-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* CTA Buttons */
.cta-button {
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(15, 166, 208, 0.3);
}

.cta-button:hover {
    background: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(15, 166, 208, 0.4);
}

.cta-button-large {
    background: var(--secondary-color);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(15, 166, 208, 0.3);
}

.cta-button-large:hover {
    background: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(15, 166, 208, 0.4);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--primary-color);
}

.benefits h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.process h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

.about-highlights {
    list-style: none;
    margin-top: 30px;
}

.about-highlights li {
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.about-image {
    display: none;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section > .container > p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.9;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(15, 166, 208, 0.1);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
    color: #333;
}

.contact-form select option {
    padding: 10px;
    color: #333;
    background: white;
}

.contact-form select:invalid {
    color: #999;
}

.contact-form select option:first-child {
    color: #999;
}

.contact-form select option:not(:first-child) {
    color: #333;
}

.contact-form select:focus:invalid {
    border-color: var(--secondary-color);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    display: none;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 968px) {
    /* Header mobile */
    .header {
        padding: 15px 0;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .nav {
        display: none;
    }

    /* Container mobile */
    .container {
        padding: 0 15px;
    }

    /* Hero mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Hero Content Grid - Override inline styles */
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hero-benefits {
        margin-bottom: 30px;
        text-align: left;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-benefits li {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    /* Hero Form mobile */
    .hero-form-container {
        padding: 30px 20px;
    }

    .hero-form-title {
        font-size: 1.5rem;
    }

    .hero-form-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-form input,
    .hero-form select,
    .hero-form textarea {
        padding: 12px;
        font-size: 16px; /* Evita zoom no iOS */
    }

    .hero-submit-btn {
        padding: 14px;
        font-size: 1rem;
    }

    /* Services mobile */
    .services,
    .benefits,
    .process,
    .about,
    .cta-section {
        padding: 50px 0;
    }

    .services h2,
    .benefits h2,
    .process h2,
    .about-text h2,
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .benefit-item {
        padding: 25px 20px;
    }

    .benefit-number {
        font-size: 2rem;
    }

    /* Process mobile */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        padding: 25px 20px;
    }

    /* About mobile */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .about-text p,
    .about-highlights {
        text-align: left;
    }

    .about-highlights li {
        font-size: 1rem;
    }

    /* Contact Form mobile */
    .contact-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px;
        font-size: 16px; /* Evita zoom no iOS */
    }

    /* CTA Buttons mobile */
    .cta-button,
    .cta-button-large {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        display: block;
    }

    /* Footer mobile */
    .footer {
        padding: 40px 0 20px;
    }

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

    .footer-column h4 {
        margin-bottom: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Hero extra small mobile */
    .hero {
        padding: 90px 0 50px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-benefits li {
        font-size: 0.95rem;
    }

    /* Hero Form extra small */
    .hero-form-container {
        padding: 25px 15px;
    }

    .hero-form-title {
        font-size: 1.3rem;
    }

    .hero-form label {
        font-size: 0.9rem;
    }

    /* Sections extra small */
    .services h2,
    .benefits h2,
    .process h2,
    .about-text h2,
    .cta-section h2 {
        font-size: 1.7rem;
    }

    .section-subtitle,
    .cta-section > .container > p {
        font-size: 0.95rem;
    }

    .service-card,
    .benefit-item,
    .step {
        padding: 20px 15px;
    }

    .service-card h3,
    .benefit-item h3 {
        font-size: 1.1rem;
    }

    .service-card p,
    .benefit-item p,
    .step p {
        font-size: 0.95rem;
    }

    /* Contact Form extra small */
    .contact-form {
        padding: 25px 15px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px;
    }

    /* Footer extra small */
    .footer {
        padding: 30px 0 15px;
    }

    .footer-column h4 {
        font-size: 1.1rem;
    }

    .footer-column ul li {
        font-size: 0.9rem;
    }
}

/* Landscape mobile optimization */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-form-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    /* Aumentar área de toque em elementos interativos */
    .cta-button,
    .cta-button-large,
    .hero-submit-btn,
    .contact-form button {
        min-height: 48px;
        padding: 14px 20px;
    }

    .nav a {
        padding: 10px;
    }

    /* Remover hover effects em touch devices */
    .service-card:hover,
    .benefit-item:hover,
    .step:hover {
        transform: none;
    }

    .cta-button:hover,
    .cta-button-large:hover {
        transform: none;
    }
}

html {
    scroll-behavior: smooth;
}

/* Mobile scroll optimization */
body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Image optimization for mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Prevent text selection on double tap (mobile) */
@media (max-width: 968px) {
    .cta-button,
    .cta-button-large,
    .hero-submit-btn,
    button {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}
