/* ============================
    STYLE CSS BASEADO NO RESET
    Autor: Daniel Augusto
    =========================== */

/* 1. Body e estrutura geral */
body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

/* 2. Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    color: var(--color-text);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-muted);
}

/* 3. Links */
a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

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

/* 4. Botões */
button {
    background-color: var(--color-primary);
    color: #fff;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: transparent;
}

/* 5. Containers utilitários */
.container {
    width: 100%;
    padding: 0 var(--spacing-sm);
    margin: 0 auto;
}

.section {
    padding: var(--spacing-lg) 0;
}

/* 6. Inputs e formulários */
input,
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-background);
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* 7. Cards e blocos */
.card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* 8. Grids e layouts responsivos */
.projects-grid {
    display: block;
}

/* 9. Navegação */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Icones */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Tamanho padrão */
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

/* Icones SVG */
.icon {
    width: 20px;
    height: 20px;
    color: #ccc; /* <- controla a cor do SVG */
    vertical-align: middle; /* centraliza verticalmente com o texto */
    margin-right: 6px; /* espaço entre o ícone e o texto */
    cursor: pointer;
}

.email:hover {
    color: var(--color-accent);
}

.whatsapp:hover {
    color: #25D366;
}

.instagram:hover {
    color: #E1306C;
}

.messenger:hover {
    color: #0084FF;
}

/* Configurações Especifícas */
/* 1. Top Bar */
.top-bar {
    padding-top: 10px;
}

.top-bar hr {
    background-color: rgba(255, 196, 0, 0.395);
    border: none;
    height: 0.1px;
    max-width: 1400px;
    margin: 0 auto;
}

.top-bar .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* font-family: Montserrat; */
    font-size: 18px;
    margin-bottom: 10px;
    align-items: center;
    text-align: center;
}

.top-bar .container .top-social {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 25px;

    a {
        color: white;
    }

    .whatsapp-link {
        display: inline-flex;;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: inherit; /* cor padrão */
        transition: color 0.3s ease;
    }

    .whatsapp-link svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
        transition: fill 0.3s ease;

    }

    .whatsapp-link:hover {
        color: #25D366; /* verde do WhatsApp */
    }
}

.top-info {
    display: flex;
    flex-direction: row;

}

.top-info span {
    margin-right: 15px;
}

.top-info span .material-symbols-outlined {
    font-size: 18px;
}

.top-info-item {
    display: flex;
    align-items: center;
    color: var(--color-text);
    cursor: pointer;
}

.top-info-item:hover {
    color: var(--color-accent);
}

.header {
    display: flex;
    flex-direction: row;

    position: fixed;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease;
    z-index: 10;
}

.header.hidden {
  transform: translateY(-100%);
}

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

/* 2. Cabeçalho transparente */
.top-bar,
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.header .logo {
    width: 100px;
}

.top-bar.scrolled,
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: #000;
}

.nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: 22px;
}

.nav-menu {
    justify-content: space-between;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    transition: color 0.3s;
}

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

.top-info.scrolled span,
.header.scrolled .nav-menu a {
    color: #000;
}

.top-info.scrolled span:hover,
.header.scrolled .nav-menu a:hover {
    color: #d5a106;
}

.btn-cta {
    background-color: var(--color-accent);
    width: 250px;
    text-align: center;
    padding: 8px;
    color: #fff;
    border-radius: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-cta:hover {
    background-color: var(--color-surface);
    transition: ease 0.3s;
}

/* 3. Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: left;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6); /* escurece para destacar texto */
}

/* Camada escura */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.60); /* opacidade ajustável */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: left;
}

.hero-content h1 {
    font-family: var(--font-heading-bold);
    font-size: 28px;
    font-weight: 700;
    width: 900px;
    color: var(--color-accent);
}

.hero-content h2 {
    font-family: var(--font-highlight);
    font-size: 18px;
}

.hero-content p {
    font-family: var(--font-base);
    font-size: 18px;
    color: var(--color-text);
}

.hero-content .btn-whatsapp {
    display: flex;
    flex-direction: row;
    color: var(--color-surface);
    font-weight: 600;
    gap: 12px;
    align-items: center;
    background-color: var(--color-accent);
    padding: 12px 30px;
    border-radius: 5px;
    width: 227px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .btn-whatsapp .whatsapp {
    color: var(--color-surface);
}

.hero-content .btn-whatsapp:hover {
    background-color: var(--color-surface);
    transition: ease 0.3s;
    color: var(--color-text);
}

.hero-content .btn-whatsapp:hover .whatsapp {
    color: #25D366;
    transition: ease 0.3s;
}

/* Modal escondido inicialmente */
.modal-overlay {
    display: none; /* padrão: oculto */
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding-top: 120px;
}

.modal-overlay.active {
    display: flex; /* quando ativar, mostra o modal */
}

.close-btn {
    position: absolute;
    width: 50px !important;
    height: 50px;
    padding: 0px !important;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 328px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #848484;
}

.close-btn:hover {
    color: #000;
    background-color: transparent;
}

.modal {
    position: relative;
    background: rgb(255, 255, 255);
    padding: 20px;
    border: 1px solid var(--color-text);
    width: 90%;
    max-width: 400px;
    margin-top: 60px;

    max-height: 70vh;
    overflow-y: auto;
}

.modal h2 {
    font-weight: 600;
    margin-top: 0;
    color: var(--color-surface);
    text-shadow: 0.5px 0.5px rgba(0, 0, 0, 0.4);
}

.modal label {
    color: var(--color-surface);
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.4);
}

.modal input,
.modal textarea {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    border: 1.5px solid var(--color-surface);
    font-size: 14px;
    background-color: transparent;
}

.modal button {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.enviar-btn {
    background-color: var(--color-accent);
    color: #fff;
}

.enviar-btn:hover {
    background-color: var(--color-success);
}

.cancelar-btn {
    background-color: #ccc;
}

.cancelar-btn:hover {
    background-color: var(--color-alert);
}

/* Sobre - Section */
.sobre {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    color: var(--color-text);
    background-color: var(--color-background);
    max-width: 1600px;
}

.sobre .sobre-container {
    width: 800px;
}

.sobre h2 {
    font-size: 48px;
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: bold;
}

.sobre .highlight {
    font-family: var(--font-highlight);
    font-size: 18px;
}

.sobre p {
    margin-top: 18px;
    font-size: 18px;
}

.sobre .link-servicos {
    color: var(--color-accent);
    font-size: 22px;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.4);
    text-decoration: underline;
}

.sobre .link-servicos:hover {
    color: rgb(252, 174, 30);
}

.sobre img {
    width: 300px;
    border-radius: 5px;
    box-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.4);
}

/* Serviços realizados */
.servicos {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 25px;
    color: #000;
    background-color: var(--color-text);
    justify-content: center;
    padding: 20px 0;
    max-width: 1600px;
    margin: 0 auto;
}

.servicos .servicos-container {
    margin: 0 auto;
}

.servicos-descricao {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 15px;
    margin: 0 auto;
    flex-wrap: wrap;
    columns: 3;
    max-width: 1200px;

}

.servicos-box {
    border: 1px solid var(--color-accent);
    padding: 5px;
    border-radius: 5px;
    
    background: #fff;
    width: 300px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-accent);
    box-shadow: 0 0.5px 2px rgba(0, 0, 0, 0.2);

    p {
        font-size: 12px;
        text-align: center;
        margin: 0 auto;
    }
}

.servicos-box:hover {
    background-color: var(--color-surface);
    
    h3 {
        color: var(--color-accent);
        cursor: default;
    }
    p {
        color: var(--color-text);
        cursor: default;
    }
}

.servicos h2 {
    color: var(--color-surface);
    font-weight: bold;
    font-size: 32px;
}

.servicos h3 {
    color: var(--color-surface);
    font-weight: 600;
    text-align: center;
    font-size: 18px;
}

.servicos .imagem-cortada {
    height: 450px;
    overflow: hidden;
    justify-content: center;
    margin: 0 auto;
}

.servicos .imagem-cortada img {
    height: 950px; /* altura maior que o container */
    object-fit: cover;
    object-position: center 80%;
    width: 1500px;
}

.contato {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    align-items: center;
    gap: 50px;
    background-color: var(--color-text);
    max-width: 1600px;
    margin: 0 auto;
}

.contato h2, .contato p {
    color: var(--color-background);
}

.contato h2 {
    font-weight: 600;
    font-size: 48px;
}

.contato p {
    font-size: 24px;
}

.contato .contato-container {
    width: 900px;
    display: flex;
    padding: 50px;
    flex-direction: row;
    justify-content: space-around;
    gap: 15px;
}

.contato .contato-box {
    padding: 50px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: rgba(255, 255, 255, 0.088);
    gap: 50px;

    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 221, 0, 0.3);
    color: black;
}

.contato .contato-box h2 {
    font-size: 20px;
    color: var(--color-background);
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;

}

.contato .contato-box .icon {
    width: 60px;
    height: 60px;
    color: var(--color-background);
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.contato .contato-box:hover {
    background-color: #000;
    cursor: pointer;
}

.contato .contato-box:hover h2 {
    color: var(--color-accent);
}

.contato .contato-box:hover .icon {
    color: var(--color-accent);
}

#localizacao {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #000;
    background-color: #fff;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
}

#localizacao .localizacao-paragrafo {
    margin: 0 auto;
    width: 1100px;

    h2 {
        color: var(--color-surface);
        font-weight: bold;
        font-size: 28px;
    }
}

#localizacao .localizacao-mapas {
    margin: 0 auto;
    padding: 25px;
}

footer {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    background-color: var(--color-background);
    padding: 20px 0;
}

footer .rodape-principal {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 90px;
}

footer .rodape-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.rodape-container .logo {
    width: 200px;
}

footer .top-social {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

footer .nav-container .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .direitos p {
    margin: 0 auto;
    padding: 5px;
    font-size: 15px;
    text-align: center;
    padding-top: 30px;
}

.desenvolvedor {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    width: 360px;
    
    p {
        width: 660px;
    }
    
}

.desenvolvedor img {
    width: 680px;
    height: 40px;
}

/* Estilos gerais para o menu de navegação em telas pequenas */
.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    background-color: #f8f8f8;
    z-index: 10;
    padding: var(--spacing-md);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.nav-menu a {
    padding: var(--spacing-sm) 0;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.nav-menu a:last-child {
    border-bottom: none;
}

/* Estilos para o botão do hambúrguer */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    z-index: 20;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Animação do hambúrguer para o "X" */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

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

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


/* --------------
    RESPONSIVIDADE
----------------- */

/* Telas muito pequenas (celulares em modo paisagem, dispositivos pequenos) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
    }

    .top-info span {
        margin-right: 10px;
    }

    /* Header */
    .header {
        background-color: #fff;
    }

    .header .container {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-top: 15px;
      justify-content: center;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 18px;
        width: auto;
        text-align: center;
    }
    .hero-content h2 {
        font-size: 20px;
        text-align: center;
    }
    .hero-content p {
        font-size: 16px;
        text-align: center;
    }
    .hero-content .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    /* Modal */
    .close-btn {
        left: unset;
        right: 10px;
        top: 10px;
    }

    /* Sobre Section */
    .sobre {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-lg) var(--spacing-sm);
        text-align: center;
    }

    .sobre .sobre-container {
        width: 100%;
    }

    .sobre h2 {
        font-size: 32px;
    }
    .sobre .highlight {
        font-size: 24px;
    }
    .sobre p, .sobre .link-servicos {
        font-size: 18px;
    }
    .sobre img {
        width: 80%;
        max-width: 250px;
    }

    .triangulo {
        margin-bottom: -45px;
        width: 600px;
        height: 0;
        /* As bordas laterais e a de baixo são transparentes */
        border-left: 300px solid transparent; /* Largura da base / 2 */
        border-right: 300px solid transparent; /* Largura da base / 2 */
        /* A borda de baixo define a altura e a cor do triângulo */
        border-bottom: 100px solid #fff; /* Altura do triângulo */
    }

    /* Serviços Section */
    .servicos {
        height: auto;
        text-align: center;
    }

    .servicos .servicos-container {
        display: flex;
        flex-direction: column;
    }

    .servicos p {
        width: auto;
    }

    .servicos .imagem-cortada {
        height: 250px;
    }

    .servicos .imagem-cortada img {
        height: 700px;
        width: 100%;
        object-position: center top;
    }

    /* Contato Section */
    .contato {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-lg) var(--spacing-sm);
        gap: 20px;
    }

    .contato .contato-container {
        flex-direction: column;
        width: 100%;
    }

    .contato .contato-box {
        width: 90%;
        max-width: 300px;
        padding: 20px;
        gap: 25px;
    }

    .contato h2 {
        font-size: 26px;
    }
    .contato p {
        font-size: 18px;
    }

    .contato .contato-box .icon {
      height: 30px;
      width: 30px;
      gap: 0px;
    }

    /* Localização Section */
    #localizacao {
        height: auto;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    #localizacao .localizacao-paragrafo {
        width: 100%;
        font-size: 16px;
    }

    #localizacao .localizacao-mapas iframe {
        width: 100%;
        height: 250px;
    }

    /* Footer */
    footer .rodape-principal {
        flex-direction: column;
        gap: 30px;
    }
    footer .rodape-container {
        text-align: center;
    }
    footer .nav-container .nav-menu {
        align-items: center;
    }
}

/* Telas pequenas (smartphones em modo retrato, até 767px) */
@media (max-width: 767px) {
    .top-bar {
        z-index: 9999;
    }
    .container .top-info span, .top-social svg {
        color: var(--color-accent);
        font-size: 12px;
    }

    .top-social .whatsapp-link span {
        display: none;
    }

    .top-social svg {
        width: 12px;
    }

    .nav-container .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: var(--spacing-md);
        z-index: 9;
        gap: 10px;
    }

    .nav-container .nav-menu a {
        color: var(--color-text);
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--color-border);
    }

    .nav-container .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-container .nav-menu.active {
        background-color: #fff;
        display: flex;

        a {
            color: var(--color-accent);
        }
    }

    .hamburger-menu {
        display: flex;
    }

    .btn-cta {
        display: none;
    }

    /* Header */
    .header {
        padding: 0 var(--spacing-sm);
        padding-top: 20px;
    }
    .header .container {
        flex-wrap: wrap;
        justify-content: space-between;

        .logo {
            margin-top: 15px;
        }
    }

    /* Hero Section */
    .hero-content {
        padding: 1rem;
    }
    .hero-content h1 {
        font-size: 24px;
        width: 100%;
        margin-bottom: var(--spacing-sm);
        text-align: left;
    }
    .hero-content .highlight {
        font-size: 18px;
        text-align: left;
    }
    .hero-content p {
        font-size: 12px;
        text-align: left;
    }
    .hero-content .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    /* Modal */
    .modal {
        width: 95%;
        margin-top: 20px;
    }
    .close-btn {
        left: unset;
        right: 15px;
        top: 15px;
    }

    /* Sobre Section */
    .sobre {
        flex-direction: column;
        height: auto;
        text-align: center;
    }
    .sobre .sobre-container {
        width: 90%;
    }
    .sobre h2 {
        font-size: 2.5rem;
    }
    .sobre .highlight {
        font-size: 2rem;
    }
    .sobre p {
        font-size: 1.1rem;
    }
    .sobre img {
        width: 90%;
        max-width: 350px;
        margin-bottom: -150px;
    }

    .triangulo {
        margin-bottom: -45px;
        width: 1200px;
        height: 0;
        /* As bordas laterais e a de baixo são transparentes */
        border-left: 600px solid transparent; /* Largura da base / 2 */
        border-right: 600px solid transparent; /* Largura da base / 2 */
        /* A borda de baixo define a altura e a cor do triângulo */
        border-bottom: 100px solid #fff; /* Altura do triângulo */
    }

    /* Serviços Section */
    .servicos {
        height: auto;
        text-align: center;
    }
    .servicos .servicos-container {
        width: 90%;
        display: flex;
        flex-direction: column;
    }
    .servicos p {
        width: 100%;
    }
    .servicos .imagem-cortada {
        height: 300px;
    }
    .servicos .imagem-cortada img {
        height: 600px;
        width: 700px;
        object-position: center -150px;
    }

    /* Contato Section */
    .contato {
        flex-direction: column;
        height: auto;
        padding: var(--spacing-lg) var(--spacing-sm);
        gap: 30px;
    }
    .contato .contato-container {
        flex-direction: column;
        width: 90%;
    }
    .contato .contato-box {
        width: 100%;
        margin: 0 auto;
        gap: 30px;
    }

    .contato p {
        font-size: 1.2rem;
    }

    /* Localização Section */
    #localizacao {
        height: auto;
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    #localizacao .localizacao-paragrafo {
        width: 90%;
        font-size: 1rem;
    }
    #localizacao .localizacao-mapas iframe {
        width: 100%;
        height: 300px;
    }

    /* Footer */
    footer .rodape-principal {
        flex-direction: column;
        gap: 20px;
    }
    footer .rodape-container {
        align-items: center;
        text-align: center;
    }
    footer .nav-container .nav-menu {
        flex-direction: column;
        align-items: center;
    }
}

/* Telas médias (tablets, de 768px a 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    /* Top Bar */
    .top-bar .container {
        font-size: 12px;
    }
    .top-info span {
        margin-right: 10px;
    }

    /* Header */
    .header {
        margin-top: 35px;
    }
    .nav-container {
        gap: 20px;
    }
    /* Oculta o botão de hambúrguer e mostra o menu normal */
    .hamburger-menu {
        display: none;
    }
    .nav-menu {
        display: flex;
        flex-direction: row; /* Volta para layout de linha */
        position: static; /* Posição normal */
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        z-index: auto;
    }
    .nav-menu a {
        color: #fff; /* Cores originais dos links */
        border-bottom: none;
        padding: 0;
        text-align: center;
    }
    .top-info.scrolled span,
    .header.scrolled .nav-menu a {
        color: #000;
    }
    .top-info.scrolled span:hover,
    .header.scrolled .nav-menu a:hover {
        color: #000;
    }
    .btn-cta {
        display: block; /* Mostra o botão CTA */
    }

    /* Hero Section */
    .hero-content {
        align-items: center;
        margin-top: 100px;
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 32px;
        width: 80%;
    }
    .hero-content h2 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }

    /* Modal */
    .modal {
        max-width: 500px;
    }

    .modal .close-btn {
        margin: 15px 95px;
    }

    /* Sobre Section */
    .sobre {
        flex-direction: row;
        height: 100vh;
        padding: var(--spacing-lg) var(--spacing-md);

    }
    .sobre .sobre-container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .sobre h2 {
        font-size: 22px;
    }
    .sobre .highlight {
        font-size: 18px;
    }
    .sobre p {
        font-size: 16px;
    }
    .sobre img {
        width: 40%;
        max-width: 350px;
    }

    /* Serviços Section */
    .servicos .servicos-container {
        width: 90%;
    }

    .servicos-descricao {
        display: flex;
        flex-direction: row;
    }

    .servicos-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 10px;
        height: 150px;

        h3 {
            font-size: 12px;
        }

        p {
            font-size: 9px;
        }
    }

    .servicos .imagem-cortada {
        height: 400px;
    }
    .servicos .imagem-cortada img {
        height: 500px;
        width: 900px;
        object-position: center -350px;

    }

    /* Contato Section */
    .contato {
        flex-direction: row;
        flex-direction: column;
        height: 100vh;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .contato-titulo {
        h2 {
            font-size: 28px;
        }
        
        p {
            font-size: 18px;
        }
    }

    .contato .contato-container {
        width: 90%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .contato .contato-box {
        width: 45%;
        max-width: 400px;
    }

    /* Localização Section */
    #localizacao .localizacao-paragrafo {
        width: 90%;
    }
    #localizacao .localizacao-mapas iframe {
        width: 600px;
        height: 400px;
    }

    /* Footer */
    footer .rodape-principal {
        gap: 50px;
    }
}

/* Telas grandes (desktops, a partir de 1024px) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px; /* Largura máxima para centralizar o conteúdo */
        padding: 0 var(--spacing-lg);
    }

    .header .container {
        margin-top: 45px;
    }


    /* Oculta o botão de hambúrguer e mostra o menu normal */
    .hamburger-menu {
        display: none;
    }
    .nav-menu {
        display: flex;
        flex-direction: row; /* Garante layout de linha */
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        z-index: auto;
    }
    .nav-menu a {
        color: #fff;
        border-bottom: none;
        padding: 0;
        font-size: 18px;
    }

    .top-bar {
        z-index: 9999;
    }

    .topbar .top-info {
        color: var(--color-accent);
    }

    .top-info.scrolled span,
    .header.scrolled .nav-menu a {
        color: #000;
    }
    .top-info.scrolled span:hover,
    .header.scrolled .nav-menu a:hover {
        color: #d5a106;
    }
    .btn-cta {
        display: block; /* Mostra o botão CTA */
        font-size: 18px;
    }

    /* Top Bar */
    .top-bar .container {
        justify-content: space-between;
    }

    /* Header */
    .header .container {
        justify-content: space-between;

        .logo {
            width: 180px;
        }
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 38px; /* Mantém o tamanho original */
        width: 900px;
    }
    .hero-content h2 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 18px;
    }

    /* Sobre Section */
    .sobre {
        flex-direction: row;
        padding: 28px;
    }
    .sobre .sobre-container {
        width: 800px;
    }
    .sobre img {
        width: 300px;
    }

    /* Serviços Section */
    .servicos .servicos-container {
        width: 95%;
    }

    .servicos-descricao {
        display: flex;
        flex-direction: row;
    }

    .servicos p {
        width: 80%;
        text-align: center;
        margin: 0 auto;
        font-size: 16px;
    }

    /* Contato Section */
    .contato .contato-container {
        width: 900px;
    }

    .contato-titulo {
        text-align: center;

        h2 {
            font-size: 28px;
        }

        p {
            font-size: 20px;
        }
    }

    /* Localização Section */
    #localizacao .localizacao-paragrafo {
        width: 1100px;
    }

    /* Footer */
    footer .rodape-principal {
        gap: 90px;
    }
}