* {
    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: #f5f5f5;
    overflow-x: hidden;
    /* Evita rolagem lateral indesejada */
}

/* ================= HEADER PROFISSIONAL ================= */
header {
    background-color: #FCFBFC;
    height: 90px;
    /* Altura fixa para evitar pulos */
    display: flex;
    align-items: center;
    position: fixed;
    /* Fixa o topo para acompanhar a rolagem */
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Espaço para o conteúdo não ficar escondido atrás do header fixo */
body {
    padding-top: 90px;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    height: 100%;
    /* Garante que use a altura do header */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    /* Logo na esq, Ícone na dir */
    align-items: center;
    /* Centraliza verticalmente */
    flex-wrap: nowrap;
    /* ISSO É OBRIGATÓRIO: Impede que o ícone caia de linha */
}

.img-logo {
    height: 60px;
    /* Tamanho controlado */
    object-fit: contain;
}

/* Links Desktop */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.link {
    text-decoration: none;
    font-weight: 500;
    color: #0E3066;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

/* Efeito de sublinhado animado no Desktop */
.link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffc107;
    transition: width 0.3s;
}

.link:hover::after {
    width: 100%;
}

.link:hover {
    color: #0E3066;
    /* Mantém azul, só o risco fica amarelo */
}

/* Botão de Destaque no Menu (Opcional) */
.btn-header-cta {
    background-color: #ffc107;
    padding: 10px 20px;
    border-radius: 8px;
    color: #333 !important;
    font-weight: 700;
}

.btn-header-cta:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.btn-header-cta::after {
    display: none;
}

/* Remove sublinhado do botão */


/* ================= HEADER NOVO E CORRIGIDO ================= */
header {
    background-color: #FCFBFC;
    height: 90px;
    display: flex;
    align-items: center;
    /* Centraliza verticalmente */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    /* LOGO NA ESQUERDA, ÍCONE NA DIREITA */
    align-items: center;
}

.img-logo {
    height: 87px;
    object-fit: contain;
      position: relative;
    bottom: 12px;
    /* Garante que a logo fique acima se precisar */
}

/* Links no Desktop */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.link {
    text-decoration: none;
    font-weight: 500;
    color: #0E3066;
    font-size: 16px;
    transition: color 0.3s;
}

/* Botão Orçamento */
.btn-header-cta {
    background-color: #ffc107;
    padding: 10px 20px;
    border-radius: 8px;
    color: #333 !important;
    font-weight: 700;
}

/* Ícone Hambúrguer (Escondido no PC) */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    /* Espaço entre as barras */
    z-index: 1003;
    /* ACIMA DE TUDO */
}

.bar1,
.bar2,
.bar3 {
    width: 30px;
    height: 3px;
    background-color: #0E3066;
    transition: 0.4s;
    border-radius: 2px;
}

/* Overlay (Fundo preto) */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

/* ================= MOBILE (CELULAR) ================= */
@media (max-width: 768px) {

    /* 1. Mostra o ícone */
    .mobile-menu-icon {
        display: flex;
        margin-left: auto;
    }

    /* 2. Configura o Menu Lateral */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Escondido na direita */
        width: 75%;
        /* Largura do menu */
        height: 100vh;
        /* Altura total da tela */
        background-color: white;

        display: flex;
        flex-direction: column;
        /* Um link embaixo do outro */

        /* AQUI SOBE O TEXTO: */
        justify-content: flex-start;
        /* Começa do topo */
        padding-top: 120px;
        /* Empurra um pouco para baixo da logo */

        gap: 25px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    /* Quando abre */
    .nav-links.active {
        right: 0;
    }

    /* Estilo dos links no celular */
    .link {
        font-size: 20px;
        width: 100%;
        text-align: center;
        /* Texto centralizado horizontalmente */
        padding: 10px 0;
    }

    /* Overlay ativo */
    .menu-overlay.active {
        display: block;
    }

    /* Animação do X */
    .mobile-menu-icon.active .bar1 {
        transform: rotate(-45deg) translate(-5px, 8px);
        background-color: #ffc107;
    }

    .mobile-menu-icon.active .bar2 {
        opacity: 0;
    }

    .mobile-menu-icon.active .bar3 {
        transform: rotate(45deg) translate(-5px, -8px);
        background-color: #ffc107;
    }
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    background: url(./Designer.png) no-repeat center 30% / cover;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Escurece a imagem de fundo para ler o texto */
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.hero-left {
    max-width: 600px;
    /* Removido posicionamento relativo/right fixo */
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 32px;
    font-weight: 500;
}

.btn-primary {
    background-color: #ffc107;
    color: #333;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
}

/* Stats Bar */
.stats-bar {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
    /* Separar do texto */
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
    border-radius: 50%;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #333;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* ================= SERVICES ================= */
.services {
    padding: 80px 20px;
    background: white;
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #01022e;
    margin-bottom: 48px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Grid Responsivo Automático */
    gap: 24px;
    cursor: pointer;
}

.service-card {
    background: #f8f9fa;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon img {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.service-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333;
}

/* ================= COMPANIES (Animação) ================= */
.companies {
    background: #f5f5f5;
    padding: 60px 0;
    overflow: hidden;
    /* Esconde o que sai da tela */
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 20s linear infinite;
    /* Animação aqui */
}

.company-logo {
    margin: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.company-logo img {
    max-height: 80px;
    max-width: 150px;

    object-fit: contain;

}



@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

    /* Move metade, onde começa a duplicata */
}

/* ================= GALERIA PROFISSIONAL ================= */
.gallery-section {
    padding: 80px 20px;
    background-color: #fff;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 18px;
}

.gallery-grid {
    display: grid;
    /* Cria colunas automáticas. Mínimo de 250px, máximo preenche o espaço */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    /* Garante que a imagem não saia da borda ao dar zoom */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 250px;
    /* Altura fixa para ficar tudo alinhado */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Corta a imagem para preencher o quadrado sem distorcer */
    transition: transform 0.4s ease;
}

/* Efeito de Zoom ao passar o mouse */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* ================= CARROSSEL ================= */
.gallery-section {
    background: #fff;
    padding: 60px 0;
    overflow: hidden;
    /* Evita barra de rolagem horizontal na página */
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    /* Espaço para as setas */
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    /* Permite rolar */
    scroll-behavior: smooth;
    padding-bottom: 20px;
    /* Esconde a barra de rolagem nativa feia */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-card {
    min-width: 300px;
    /* Tamanho de cada item */
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    flex-shrink: 0;
    /* Impede que espremam */
}

.carousel-card:hover {
    transform: translateY(-5px);
}

/* 1. Primeiro definimos o tamanho da CAIXA (o cartão) */
.carousel-card {
    width: 320px;
    /* Largura fixa para todos */
    height: 250px;
    /* Altura fixa é OBRIGATÓRIA para ficarem iguais */

    /* Resto do estilo do card... */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    /* Impede que o carrossel esmague o card */
}

/* 2. Depois mandamos a IMAGEM preencher a caixa toda */
.carousel-card img {
    width: 100%;
    /* Preenche toda a largura da caixa acima */
    height: 100%;
    /* Preenche toda a altura da caixa acima */
    object-fit: cover;
    /* A MÁGICA: Corta o excesso para não distorcer a foto */
    object-position: center;
    /* Centraliza a imagem */
}

/* Efeito Hover com Texto "Ver Detalhes" */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(255, 193, 7), transparent);
    color: black;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
}

.carousel-card:hover .card-overlay {
    opacity: 1;
}

/* Botões do Carrossel (Setas) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0E3066;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

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

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* ================= MODAL CORRIGIDO ================= */
.modal-overlay {
    display: none;
    /* ISSO É OBRIGATÓRIO: Esconde o modal ao carregar a página */
    position: fixed;
    /* Faz flutuar por cima de tudo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    /* Fundo preto transparente */
    z-index: 9999;
    /* Garante que fique acima do menu e de tudo */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.modal-box {
    background: white;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    /* Garante estrutura interna */
    flex-direction: column;
}

/* Corpo do Modal (Imagem + Texto) */
.modal-body {
    display: flex;
    height: 500px;
    width: 100%;
}

.modal-left {
    flex: 1.5;
    /* Lado da Imagem (60%) */
    background: #000;
    position: relative;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Mostra a imagem inteira sem cortar */
    background-color: #000;
}

.modal-right {
    flex: 1;
    /* Lado do Texto (40%) */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    overflow-y: auto;
}

/* Botão Fechar (X) */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Botões de Navegação (Setas) */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    /* Transparente */
    color: #ffc107;
    border: none;
    width: 60px;
    height: 100%;
    /* Ocupa toda altura lateral para ficar fácil clicar */
    font-size: 30px;
    cursor: pointer;
    z-index: 500;
    transition: background 0.3s;
}

.modal-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-prev {
    left: 0;
}

.modal-next {
    right: 0;
}

/* Títulos e Textos */
.modal-right h3 {
    font-size: 24px;
    color: #0E3066;
    margin-bottom: 15px;
}

.modal-divider {
    width: 50px;
    height: 4px;
    background: #ffc107;
    margin-bottom: 20px;
}

.modal-right p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Responsivo (Celular) */
@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
        height: auto;
        max-height: 85vh;
    }

    .modal-left {
        height: 300px;
        /* Aumentei um pouco para 300px para ficar mais bonito no celular */
        width: 100%;
        flex: none;
        /* Garante que a altura seja respeitada */
    }

    .modal-left img {
        width: 100%;
        height: 100%;

        /* A MUDANÇA PRINCIPAL: */
        object-fit: cover;
        /* Força a imagem a preencher tudo */
        object-position: center;
        /* Centraliza a imagem para não cortar cabeças/pés */

        border-radius: 16px 16px 0 0;
        /* Arredonda só em cima no mobile */
        background-color: #f0f0f0;
        /* Fundo claro caso demore carregar */
    }

    .modal-right {
        padding: 20px;
        width: 100%;
    }

    /* Ajuste das setas no celular */
    .modal-nav-btn {
        height: 50px;
        width: 40px;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.5);
        top: 25%;
        /* Fica em cima da imagem */
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }
}

/* Botão de fechar (X) */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ffc107;
    /* Amarelo da sua marca */
    text-decoration: none;
    cursor: pointer;
}

/* Legenda (opcional) */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Animação de entrada */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

/* Responsivo para celular */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* ================= FORM ================= */
.form-section {
    padding: 80px 20px;
    background: white;



}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;


}


.form-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);




}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #ffc107;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

/* ================= FOOTER PROFISSIONAL ================= */
.footer {
    background-color: #0E3066;
    /* Azul escuro da identidade visual */
    color: #e0e0e0;
    padding-top: 60px;
    padding-bottom: 20px;
    font-size: 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    /* Coluna da logo maior */
    gap: 40px;
    margin-bottom: 40px;
}

/* Coluna Sobre */
.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    background: white;
    /* Fundo branco caso a logo seja transparente/escura */
    padding: 5px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-section p {
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

/* Títulos das Colunas */
.footer-section h3 {
    color: #ffc107;
    /* Amarelo para destaque */
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Links */
.footer-section.links ul {
    list-style: none;
}

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

.footer-section.links a {
    text-decoration: none;
    color: #ccc;
    transition: all 0.3s;
}

.footer-section.links a:hover {
    color: #ffc107;
    padding-left: 5px;
    /* Efeito de mover para direita */
}

/* Contato e Botões */
.footer-section.contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.social-btn.whatsapp {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #25D366;
    color: white;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.social-btn.whatsapp:hover {
    background-color: #128C7E;
}

/* Barra Inferior (Copyright) */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* ================= RESPONSIVO FOOTER ================= */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        /* Tudo em uma coluna */
        text-align: center;
        gap: 30px;
    }

    .footer-logo {
        margin: 0 auto 20px auto;
        /* Centraliza logo */
        display: block;
    }

    .footer-section.links ul li {
        display: block;
        /* Garante lista vertical */
    }

    .footer {
        padding-top: 40px;
    }
}

/* ================= RESPONSIVO - SMALL MOBILE (≤480px) ================= */
@media (max-width: 480px) {
    /* Header */
    .header-container {
        padding: 0 15px;
    }

    .img-logo {
        height: 50px;
    }

    /* Hero */
    .hero {
        min-height: 500px;
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

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

    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Stats Bar */
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        margin-top: 20px;
    }

    .stat-item {
        gap: 12px;
    }

    .stat-number {
        font-size: 20px;
    }

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

    /* Services */
    .services {
        padding: 60px 15px;
    }

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

    .service-card {
        padding: 24px;
    }

    /* Carousel */
    .carousel-wrapper {
        padding: 0 30px;
    }

    .carousel-card {
        min-width: 250px;
        height: 200px;
    }

    /* Modal */
    .modal-overlay {
        padding: 10px;
    }

    .modal-box {
        max-width: 95%;
    }

    .modal-body {
        height: auto;
        max-height: 80vh;
    }

    .modal-right {
        padding: 15px;
    }

    .modal-right h3 {
        font-size: 18px;
        line-height: 1.3;
        margin-top: 19px;
        margin-bottom: 12px;
        word-wrap: break-word;
        hyphens: auto;
    }

    .modal-divider {
        width: 40px;
        margin-bottom: 15px;
    }

    .modal-right p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .btn-primary.modal-cta {
        margin-top: -13px;
    }

    /* Form */
    .form-section {
        padding: 60px 15px;
    }

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

    .form-right {
        order: 1;
    }

    .form-left {
        order: 2;
    }

    /* Footer */
    .footer {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .footer-content {
        gap: 25px;
    }
}

/* ================= RESPONSIVO - TABLET (481px-1024px) ================= */
@media (min-width: 481px) and (max-width: 1024px) {
    /* Header */
    .header-container {
        padding: 0 25px;
    }

    /* Hero */
    .hero {
        min-height: 600px;
        padding: 50px 25px;
    }

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

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

    /* Stats Bar */
    .stats-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 25px;
    }

    /* Services */
    .services {
        padding: 70px 25px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Carousel */
    .carousel-wrapper {
        padding: 0 40px;
    }

    .carousel-card {
        min-width: 280px;
        height: 220px;
    }

    /* Form */
    .form-section {
        padding: 70px 25px;
    }

    .form-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }
}

/* ================= RESPONSIVO - LARGE DESKTOP (≥1025px) ================= */
@media (min-width: 1025px) {
    /* Hero */
    .hero {
        min-height: 800px;
    }

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

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

    /* Stats Bar */
    .stats-bar {
        max-width: 900px;
        padding: 35px;
        gap: 40px;
    }

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

    .stat-label {
        font-size: 16px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    /* Carousel */
    .carousel-card {
        min-width: 350px;
        height: 280px;
    }

    /* Form */
    .form-wrapper {
        gap: 50px;
    }
}

/* ================= RESPONSIVO (MOBILE) ================= */
@media (max-width: 768px) {

    /* Header */
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 32px;
        text-align: center;
    }

    .hero-description {
        text-align: center;
        font-size: 16px;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Stats Bar Mobile */
    .stats-bar {
        grid-template-columns: 1fr;
        /* Um em baixo do outro */
        gap: 20px;
        padding: 20px;
        margin-top: 30px;
    }

    /* Form Mobile */
    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .form-left {
        order: 2;
        /* Imagem vai para baixo */
    }

    .form-right {
        order: 1;
        /* Form vai para cima */
    }
}
