/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fffaf2;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #0c1e36;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #d5954d;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    color: #abb0b4;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-top:25px!important;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: #d5954d;
    color: white;
}

.btn-primary:hover {
    background-color: #c0843e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(213, 149, 77, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #0c1e36;
    border: 2px solid #0c1e36;
}

.btn-secondary:hover {
    background-color: #0c1e36;
    color: white;
    transform: translateY(-3px);
}

/* Botão WhatsApp específico */
.whatsapp-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
}

.whatsapp-btn i {
    font-size: 1.2rem;
}

.mapa-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Botão de orçamento pulsante */
.orcamento-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d5954d 0%, #f0b67a 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(213, 149, 77, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
}

.orcamento-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(213, 149, 77, 0.6);
}

.orcamento-btn.pulsante {
    animation: pulse 2s infinite;
}

.orcamento-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0b67a 0%, #d5954d 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.orcamento-btn:hover::before {
    opacity: 1;
}

.orcamento-text {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Animação de pulsação */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(213, 149, 77, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(213, 149, 77, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(213, 149, 77, 0);
    }
}

/* Header e Navegação */
.header {
    background-color: #0c1e36;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #d5954d;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #d5954d;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: white;
}

/* Seção Hero */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(to right, #0c1e36 0%, #1a345e 100%);
    color: white;
    margin-top: 70px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: white;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d5954d;
    margin-bottom: 20px;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.hero-tag {
    background-color: rgba(213, 149, 77, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #d5954d;
    border: 1px solid rgba(213, 149, 77, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-tag-separator {
    color: #abb0b4;
    font-weight: bold;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #abb0b4;
    max-width: 600px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.empresa-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: auto;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Container do botão de orçamento para desktop */
.desktop-orcamento {
    display: block;
}

/* Container do botão de orçamento para mobile */
.mobile-orcamento {
    display: none;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/* Seção Sobre */
.sobre {
    padding: 100px 0;
    background-color: white;
}

.sobre-content {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.sobre-text-container {
    max-width: 900px;
    width: 100%;
}

.sobre-text {
    text-align: justify;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sobre-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0c1e36;
    font-size: 1.5rem;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sobre-text p {
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Estilo para a lista de vantagens */
.vantagens-list {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.vantagens-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.vantagens-list li i {
    color: #d5954d;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.vantagem-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vantagem-titulo {
    color: #0c1e36;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.vantagem-descricao {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Seção Produtos */
.produtos {
    padding: 100px 0;
    background-color: #fffaf2;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.produto-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.produto-icon {
    font-size: 3rem;
    color: #d5954d;
    margin-bottom: 20px;
}

.produto-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0c1e36;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.produto-card > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Texto resumo e completo dos produtos */
.produto-texto-resumo {
    text-align: left;
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
    font-style: italic;
    border-left: 3px solid #d5954d;
    padding-left: 10px;
    flex-grow: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.produto-texto-completo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    text-align: left;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
    flex-grow: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.produto-texto-completo.expandido {
    max-height: 800px;
}

.produto-texto-completo p {
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.produto-texto-completo strong {
    color: #0c1e36;
    font-weight: 600;
}

/* Botões dos produtos */
.produto-botoes {
    display: flex;
    gap: 10px;
    margin-top: auto;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-info {
    background-color: #0c1e36;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-info:hover {
    background-color: #1a345e;
    transform: translateY(-2px);
}

.btn-pdf {
    background-color: #d63031;
    color: white;
    padding: 8px 16px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-pdf:hover {
    background-color: #c23636;
    transform: translateY(-2px);
    color: white;
}

.produto-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    justify-content: center;
}

.produto-keywords span {
    background-color: #f0f0f0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.produtos-info {
    margin-top: 50px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #d5954d;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Seção Localização */
.localizacao {
    padding: 100px 0;
    background-color: white;
}

.localizacao-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.localizacao-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.8rem;
    color: #d5954d;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-item p {
    color: #666;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.localizacao-mapa {
    flex: 1;
    min-width: 300px;
}

.mapa-placeholder {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    color: #666;
    border: 2px dashed #ddd;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mapa-placeholder i {
    font-size: 3rem;
    color: #abb0b4;
    margin-bottom: 15px;
}

.mapa-placeholder p {
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Seção Contato */
.contato {
    padding: 100px 0;
    background-color: #fffaf2;
}

.contato-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contato-info {
    flex: 1;
    min-width: 300px;
}

.contato-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d5954d;
}

.form-group textarea {
    resize: vertical;
}

/* Rodapé */
.footer {
    background-color: #0c1e36;
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-logo p {
    color: #abb0b4;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #abb0b4;
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

.footer-links ul li a:hover {
    color: #d5954d;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.social-icons a:hover {
    background-color: #d5954d;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #abb0b4;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-bottom p {
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsividade */
@media screen and (max-width: 1200px) {
    .sobre-text-container {
        max-width: 100%;
    }
}

@media screen and (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .sobre-text {
        text-align: left;
    }
    
    .empresa-img {
        max-height: 350px;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .orcamento-btn {
        max-width: 300px;
        font-size: 1.2rem;
        padding: 12px 25px;
    }
    
    .produto-card {
        min-height: 480px;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: #0c1e36;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero {
        padding: 130px 0 60px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .empresa-img {
        max-height: 300px;
    }
    
    .orcamento-btn {
        max-width: 280px;
        font-size: 1.1rem;
        padding: 10px 20px;
    }
    
    .hero-tag {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    /* Ajustes específicos para mobile */
    .desktop-orcamento {
        display: none !important;
    }
    
    .mobile-orcamento {
        display: block !important;
        order: -1; /* Coloca o botão acima de tudo no mobile */
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        order: 1; /* Conteúdo principal vem depois do botão no mobile */
    }
    
    .hero-image {
        order: 2; /* Imagem vem por último no mobile */
    }
    
    .produto-card {
        padding: 20px;
        min-height: 500px;
    }
    
    .produto-botoes {
        flex-direction: column;
        align-items: stretch;
    }
    
    .produto-botoes .btn {
        width: 100%;
        margin-bottom: 8px;
        justify-content: center;
    }
    
    /* Ajustes específicos para a lista de vantagens em mobile */
    .vantagens-list li {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .vantagem-item {
        flex-direction: column;
    }
    
    .vantagem-titulo {
        font-size: 1rem;
        margin-bottom: 4px;
        display: block;
        width: 100%;
    }
    
    .vantagem-descricao {
        font-size: 0.9rem;
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .sobre-text h3 {
        font-size: 1.3rem;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .vantagens-list li {
        font-size: 0.95rem;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .empresa-img {
        max-height: 250px;
    }
    
    .orcamento-btn {
        max-width: 250px;
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .hero-tags {
        gap: 5px;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-tag-separator {
        display: none;
    }
    
    .produto-card {
        min-height: 520px;
        padding: 15px;
        margin: 0 5px;
    }
    
    .produto-botoes .btn {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    /* Garantir que nada saia da tela */
    body, html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* Ajuste extra para lista de vantagens em telas muito pequenas */
    .vantagens-list {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .vantagem-titulo, .vantagem-descricao {
        word-break: break-word;
        hyphens: auto;
    }
}

/* Ajustes para desktop específicos */
@media screen and (min-width: 769px) {
    .mobile-orcamento {
        display: none !important;
    }
    
    .desktop-orcamento {
        display: block !important;
    }
    
    /* Ajuste para lista de vantagens em desktop */
    .vantagens-list li {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .vantagem-item {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
    }
    
    .vantagem-titulo {
        font-weight: 700;
        margin-right: 5px;
    }
    
    .vantagem-descricao {
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 992px) {
    .sobre-text p {
        font-size: 1.05rem;
    }
    
    .sobre-text h3 {
        margin-top: 35px;
        font-size: 1.6rem;
    }
    
    .vantagens-list li {
        font-size: 1.05rem;
    }
    
    .produto-card {
        min-height: 500px;
    }
    
    /* Ajuste para lista de vantagens em telas grandes */
    .vantagem-titulo {
        font-size: 1.1rem;
    }
}

/* Regra de emergência para prevenir overflow */
* {
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Prevenir scroll horizontal */
html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}