/* Reset e Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #004999;
    --accent-color: #ff6b35;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 3000;
    transform: translateY(-140%);
    padding: 10px 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.text-primary {
    color: var(--primary-color);
}

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

/* Header e Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 300px;
    height: auto;
    max-width: 350px;
    object-fit: contain;
}

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

.nav-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-option {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    font-weight: 700;
    overflow: hidden;
    position: relative;
    box-shadow:
        inset -6px -8px 12px rgba(0, 0, 0, 0.22),
        inset 6px 7px 10px rgba(255, 255, 255, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.12);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.language-option::after {
    content: '';
    position: absolute;
    inset: 2px 6px auto 7px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 2;
}

.language-flag {
    position: absolute;
    inset: 0;
    display: block;
}

.flag-br {
    background: url('../images/flag-br.svg') center / cover no-repeat;
}

.flag-us {
    background:
        linear-gradient(#3c3b6e 0 54%, transparent 55%) 0 0 / 42% 54% no-repeat,
        repeating-linear-gradient(to bottom, #b22234 0 8%, #fff 8% 16%);
}

.flag-cn {
    background:
        radial-gradient(circle at 28% 32%, #ffde00 0 11%, transparent 12%),
        radial-gradient(circle at 48% 18%, #ffde00 0 4%, transparent 5%),
        radial-gradient(circle at 58% 32%, #ffde00 0 4%, transparent 5%),
        radial-gradient(circle at 58% 50%, #ffde00 0 4%, transparent 5%),
        radial-gradient(circle at 47% 62%, #ffde00 0 4%, transparent 5%),
        #de2910;
}

.flag-es {
    background: linear-gradient(to bottom, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%);
}

.language-code {
    position: relative;
    z-index: 3;
    min-width: 24px;
    padding: 3px 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    color: #fff;
    font-size: 11px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.language-option:hover,
.language-option.active {
    border-color: var(--primary-color);
    box-shadow:
        inset -6px -8px 12px rgba(0, 0, 0, 0.22),
        inset 6px 7px 10px rgba(255, 255, 255, 0.2),
        0 0 0 3px rgba(0, 102, 204, 0.14),
        0 6px 14px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    min-height: 600px;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
    background-size: auto, 40px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    background-image: url('../images/hero-immigration-brazil.jpg');
    background-size: cover;
    background-position: center 42%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 38, 77, 0.82), rgba(0, 38, 77, 0.48), rgba(0, 0, 0, 0.25));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    color: var(--background-white);
    animation: fadeInUp 0.8s ease-out;
    max-width: 860px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero p {
    margin-bottom: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão CTA */
.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-height: 48px;
}

.cta-button:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.cta-button-secondary {
    display: inline-block;
    padding: 14px 40px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-height: 48px;
}

.cta-button:focus-visible,
.cta-button-secondary:focus-visible,
.nav-menu a:focus-visible,
.logo:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible,
.social-links a:focus-visible,
.footer-section a:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.7);
    outline-offset: 3px;
}

.cta-button-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

section {
    scroll-margin-top: var(--header-height);
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--background-white);
}

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

.about-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

.about-image,
.category-image,
.contact-intro-image {
    background: var(--background-light);
}

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

.highlight {
    font-size: 17px;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding: 30px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.stat {
    text-align: center;
    padding: 16px 10px;
}

.stat h4 {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.stat p {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
}

.why-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
}

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

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

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.why-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.why-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.why-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

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

/* Services Introduction */
.services-intro {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(255, 107, 53, 0.05));
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 50px;
    border-left: 4px solid var(--primary-color);
}

.intro-text {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.intro-text-spaced {
    margin-top: 15px;
}

/* Service Categories */
.service-category {
    margin-bottom: 50px;
    background: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    animation: slideIn 0.6s ease-out;
}

/* Category Header with Image */
.category-header {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 30px;
}

.category-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.category-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-image:hover img {
    transform: scale(1.05);
}

.category-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.category-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.category-title i {
    font-size: 28px;
    color: var(--accent-color);
}

.category-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

/* Service List */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 74px;
    padding: 14px;
    background: rgba(0, 102, 204, 0.035);
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: rgba(0, 102, 204, 0.08);
    transform: translateX(5px);
}

.service-item i {
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 16px;
}

.service-item span {
    color: var(--text-dark);
    font-size: 14.5px;
    line-height: 1.65;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-white);
}

.contact-intro-image {
    margin: 30px 0 50px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    height: 300px;
}

.contact-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.info-note {
    font-size: 12px;
    color: var(--text-light);
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-light);
}

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

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--background-white);
    padding: 50px 0 20px;
}

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

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

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

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

.footer-section a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.whatsapp-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    outline: none;
}

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

/* Responsivo */
@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-wrapper {
        padding: 9px 0;
    }

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

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--background-white);
        box-shadow: var(--shadow);
        padding: 10px 16px 18px;
        gap: 4px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 8px 4px;
    }

    .language-switcher {
        margin-left: auto;
    }

    .language-option {
        width: 36px;
        height: 36px;
    }

    .language-code {
        min-width: 21px;
        padding: 3px;
        font-size: 10px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
        margin-top: var(--header-height);
        padding: 56px 16px;
    }

    .hero h1 {
        font-size: 36px;
    }

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

    .hero-description {
        font-size: 14px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 360px;
        margin: 0 auto;
        justify-content: center;
    }

    .cta-button,
    .cta-button-secondary {
        width: 100%;
    }

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

    .about,
    .services,
    .testimonials,
    .faq,
    .contact {
        padding: 56px 0;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 20px 0;
    }

    .stat h4 {
        font-size: 28px;
    }

    .stat p {
        font-size: 12px;
    }

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

    .why-card {
        padding: 20px;
    }

    .why-icon {
        font-size: 36px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 25px;
    }

    .contact-form h3 {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 32px;
    }

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

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-item {
        min-height: auto;
    }

    .service-category {
        padding: 20px;
    }

    .category-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .category-image {
        border-radius: 8px;
    }

    .category-image img {
        height: 200px;
    }

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

    .contact-intro-image {
        height: 200px;
        margin: 20px 0 30px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero {
        min-height: auto;
        padding: 44px 14px 48px;
    }

    .hero h1 {
        font-size: 24px;
    }

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

    .hero-description {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-button,
    .cta-button-secondary {
        width: 100%;
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about-stats .stat:first-child {
        grid-column: 1 / -1;
    }

    .stat h4 {
        font-size: 24px;
    }

    .stat p {
        font-size: 11px;
    }

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

    .why-card {
        padding: 15px;
    }

    .why-icon {
        font-size: 28px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: 13px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
    }

    .faq-answer p {
        padding: 15px 20px;
        font-size: 13px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form h3 {
        font-size: 18px;
    }

    .form-subtitle {
        font-size: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 13px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-checkbox {
        font-size: 12px;
    }

    .about-text p {
        font-size: 14px;
    }

    .service-card {
        padding: 25px;
    }

    .service-icon {
        font-size: 36px;
    }

    .service-item {
        gap: 10px;
        padding: 10px;
        min-height: auto;
    }

    .service-item span {
        font-size: 13px;
    }

    .services-intro {
        padding: 20px;
    }

    .category-header {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-image img {
        height: 150px;
    }

    .contact-intro-image {
        height: 150px;
        margin: 15px 0 20px 0;
    }

    .intro-text {
        font-size: 14px;
    }

    .service-category {
        padding: 15px;
    }

    .category-title {
        font-size: 16px;
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .logo img {
        height: 44px;
        max-width: 165px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Animações */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card {
    animation: slideIn 0.6s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

.service-category:nth-child(3) {
    animation-delay: 0.1s;
}

.service-category:nth-child(4) {
    animation-delay: 0.2s;
}

.service-category:nth-child(5) {
    animation-delay: 0.3s;
}

.service-category:nth-child(6) {
    animation-delay: 0.4s;
}

.service-category:nth-child(7) {
    animation-delay: 0.5s;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-white);
}

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

.testimonial-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stars {
    color: #ffc107;
    font-size: 14px;
    margin-bottom: 15px;
}

.stars i {
    margin-right: 3px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 20px 25px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Contact Form Improvements */
.contact-form {
    background: var(--background-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 25px 0;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    margin: 0;
}

.form-note {
    text-align: center;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* Final mobile overrides kept last so they win over component definitions above. */
@media (max-width: 768px) {
    .contact-form {
        padding: 25px;
    }

    .contact-form h3 {
        font-size: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }

    .contact-form h3 {
        font-size: 18px;
    }

    .form-subtitle {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 14px;
    }

    .form-checkbox {
        align-items: flex-start;
        font-size: 12px;
    }
}
