/* ============================================
   RESET E ESTILOS GLOBAIS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    color: white;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 3rem;
    width: 3rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
}

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

.nav-link {
    background: none;
    border: none;
    color: rgb(25, 24, 24);
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.btn-orcamento {
    background-color: rgb(233, 48, 48);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
/* Botão de menu mobile (esconde no desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ff383c;
    font-size: 1.5rem;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle i {
    font-size: 1.5rem;
}

.btn-orcamento:hover {
    opacity: 0.9;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(to right, #ac0b0b, #ff5a5f);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-highlight {
    color: #D1D5DC;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 0.5rem;
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 0;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #000;
    color: white;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: white;
    color: #ff383c;
}

.btn-outline {
    border: 2px solid #ff383c;
    color: #ff383c;
    background-color: white;
}

.btn-outline:hover {
    background-color: #ff383c;
    color: white;
}

.btn-details {
    background-color: #2E4A9F;
    color: white;
    width: 100%;
    padding: 0.75rem;
}

.btn-details:hover {
    background-color: #1e3470;
}

.btn-saiba-mais {
    background-color: transparent;
    color: #ff383c;
    border: 2px solid #ff383c;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-saiba-mais:hover {
    background-color: #ff383c;
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #1fa857;
}

.btn-submit {
    width: 100%;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background-color: white;
    padding: 5rem 2rem;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.text-red {
    color: #ff383c;
}

.about-description {
    font-size: 1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 0.5rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.value-item {
    padding: 1.5rem;
    background-color: #f8fafb;
    border-radius: 0.5rem;
}

.value-icon {
    width: 3rem;
    height: 3rem;
    background-color: #ffe5e5;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #ff383c;
    font-size: 1.5rem;
}

.value-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat {
    padding: 2rem;
    background-color: #f8fafb;
    border-radius: 0.5rem;
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    background-color: #ffe5e5;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #ff383c;
    font-size: 2rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ff383c;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background-color: white;
    padding: 5rem 2rem;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.service-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #ffe5e5;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #ff383c;
    font-size: 1.75rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: #ff383c;
}

/* Animação Fade In */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
    background: linear-gradient(to right, #2E4A9F, #1e3470);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 1280px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    background-color: white;
    padding: 5rem 2rem;
}

.projects-container {
    max-width: 1280px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

.project-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff383c;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-location i {
    font-size: 1rem;
}

/* ============================================
   MODAL (GOOGLE FORMS)
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content iframe {
    border-radius: 0.375rem;
}

.form-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background-color: white;
    padding: 5rem 2rem;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #f8fafb;
    border-radius: 0.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: #ffe5e5;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff383c;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #333;
}

.contact-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-whatsapp {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #e8f5e9;
    border-radius: 0.5rem;
}

.whatsapp-icon {
    width: 3rem;
    height: 3rem;
    background-color: #25D366;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-whatsapp h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #333;
}

.contact-whatsapp p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff383c;
    box-shadow: 0 0 0 3px rgba(255, 56, 60, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff383c;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ff383c;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social a {
    color: #aaa;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: #ff383c;
    transform: scale(1.2);
}


/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 40;
}

.whatsapp-button:hover {
    background-color: #1fa857;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .header {
        position: sticky;
    }

    .header-container {
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .header-nav {
        gap: 0.25rem;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 0.4rem;
        font-size: 0.9rem;
    }

    .btn-orcamento {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .hero-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .project-card img {
        height: 200px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-values {
        gap: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta h2 {
        font-size: 1.75rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }

    .close {
        right: 1rem;
        top: 0.75rem;
    }

    .whatsapp-button {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }
    /* -------- MENU MOBILE -------- */

.menu-toggle {
    display: flex !important;
}

.header-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid #ddd;
}

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

.header-nav .nav-link {
    width: 100%;
    text-align: left;
    padding-left: 1.5rem;
    font-size: 1rem;
    color: #111;
}

.btn-orcamento {
    display: none;
}

/* -------- LOGO AJUSTADO -------- */
.header-logo img {
    height: 2.6rem;
    width: auto;
}
/* Sumir imagem no mobile */
.hero-image {
    display: none;
}

/* Centralizar conteúdo */
.hero-container {
    flex-direction: column;
    text-align: center;
}

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

.hero-buttons {
    justify-content: center;
}

.hero-features {
    justify-content: center;
}
}

@media (max-width: 480px) {
    .header-logo {
        flex-direction: column;
        gap: 0.5rem;
    }

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

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

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

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

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

    .whatsapp-button {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        bottom: 1rem;
        right: 1rem;
    }
}

.clientes {
    background: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.clientes-container {
    max-width: 1280px;
    margin: 0 auto;
}

.carousel {
    overflow: hidden;
    width: 100%;
    margin-top: 2rem;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    animation: slide 22s linear infinite;
}

.carousel-track img {
    height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.3s;
}

.carousel-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
