/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2c2c2c;
    --accent-color: #4a4a4a;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-contact .btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
}

.nav-contact .btn-phone-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-weight: 600;
    transition: var(--transition);
}

.nav-contact .btn-phone:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: var(--transition);
}

.language-toggle:hover {
    background: var(--bg-light);
}

.language-toggle img {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    display: block;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 0.5rem 0;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.language-option:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
}

.language-option img {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.language-option span {
    font-size: 0.9rem;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    transition: var(--transition);
}

/* Hero Section: vídeo de fundo unificado em todo o banner */
.hero {
    position: relative;
    min-height: 100vh;
    color: var(--bg-white);
    margin-top: 0;
    padding-top: 70px;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-img {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: calc(100vh - 70px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.hero-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    max-width: 100%;
}

.hero-mobile-intro {
    display: none;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.hero-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: transparent;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-form-col .contact-form-wrapper {
    width: 100%;
    max-width: 420px;
    min-width: 0;
    box-sizing: border-box;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.hero-contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    color: var(--bg-white);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--bg-white);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--bg-white);
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-light);
    padding: 5rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 1;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--bg-white);
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.btn-portfolio {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-portfolio:hover {
    background: var(--accent-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    text-align: center;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border-color: #fff;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-details h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item-detail {
    margin-bottom: 2rem;
}

.contact-item-detail strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-item-detail p,
.contact-item-detail a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.8;
}

.contact-item-detail a:hover {
    color: var(--secondary-color);
}

/* Contact form - dark theme (print style) */
.contact-form-wrapper {
    --form-bg: #3C3C3C;
    --form-input-bg: #5A5A5A;
    --form-text: #ffffff;
    --form-text-muted: rgba(255, 255, 255, 0.85);
    background: var(--form-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 100%;
    box-sizing: border-box;
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--form-text);
    margin: 0 0 0.25rem 0;
}

.contact-form-subtitle {
    color: var(--form-text-muted);
    font-size: 0.875rem;
    margin: 0 0 0.75rem 0;
}

.contact-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    max-width: 100%;
}

.contact-form .form-group {
    margin-bottom: 0.75rem;
}

.contact-form .form-group label,
.contact-form .form-label-block {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--form-text);
    font-size: 0.875rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--form-input-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--form-text);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: #666;
}

.contact-form .form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--form-text-muted);
    font-size: 0.85rem;
}

.contact-form .form-group input[type="file"] {
    padding: 0.5rem;
    color: var(--form-text-muted);
}

.contact-form .form-interests {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-form .form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--form-text);
    font-weight: 400;
    font-size: 0.875rem;
    cursor: pointer;
    line-height: 1.2;
    min-height: 1.25rem;
}

.contact-form .form-checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin: 0;
    flex-shrink: 0;
    vertical-align: middle;
    accent-color: var(--form-input-bg);
}

.contact-form .btn-contact-submit {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    color: #fff;
    margin-top: 0.35rem;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.contact-form .btn-contact-submit:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group input[type="file"] {
    padding: 0.5rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: rgba(255, 255, 255, 1);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .logo-img {
        height: 30px;
        max-width: 120px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--bg-white);
    }

    .nav-right {
        gap: 0.5rem;
    }

    .nav-contact .btn-phone {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .language-dropdown {
        right: 0;
        left: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        min-height: calc(100vh - 70px);
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        order: 1;
        padding: 1rem 1rem 0.5rem;
        justify-content: flex-start;
        max-width: 100%;
    }

    .hero-mobile-intro {
        display: block;
        color: #fff;
    }

    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-contact-info {
        display: none !important;
    }

    .hero-form-col {
        order: 2;
        flex: 1;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.5rem 2rem;
        align-items: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        background: transparent;
    }

    .hero-form-col .contact-form-wrapper {
        max-width: 100%;
    }

    .hero-video {
        display: none;
    }

    .hero-bg-img {
        display: block;
        background-attachment: fixed;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        gap: 0.25rem;
        padding: 0 15px;
    }

    .logo-img {
        height: 25px;
        max-width: 90px;
    }

    .nav-brand {
        flex-shrink: 0;
        min-width: 0;
    }

    .nav-right {
        flex-shrink: 0;
    }

    .nav-contact .btn-phone {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
        white-space: nowrap;
        line-height: 1.2;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Placeholder para imagens */
.service-image img,
.portfolio-item img {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

