/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-blue: #0056b3;
    --secondary-blue: #003d80;
    --accent-green: #25d366;
    --accent-red: #d9534f;
    --white: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7fa;
    --transition: all 0.3s ease;
}

body {
    overflow-x: hidden;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

/* Main Nav */
.main-nav {
    background-color: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 90px;
    margin-right: 10px;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-blue);
    white-space: nowrap;
}

.brand-name span {
    color: #333;
}

.trust-badge img {
    height: 70px;
    width: auto;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-blue);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Menu */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    margin-bottom: 40px;
}

.sidebar-links li {
    margin-bottom: 20px;
}

.sidebar-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Botões */
.btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-whatsapp {
    background-color: var(--accent-green);
    color: white;
}

.btn-emergency {
    background-color: var(--accent-red);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 86, 179, 0.75), rgba(0, 61, 128, 0.85)), url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
}

.hero-text h3 {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 800;
}

.btn-cta {
    background-color: var(--accent-green);
    color: white;
    padding: 15px 35px;
    font-size: 18px;
    border: 2px solid white;
}

.hero-image {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-image img {
    max-height: 110%;
    object-fit: contain;
}

/* Info Cards */
.info-cards {
    background-color: var(--primary-blue);
    padding: 40px 0;
    color: white;
}

.info-cards .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.card:last-child {
    border-right: none;
}

.card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 800;
}

.card p {
    font-size: 15px;
    opacity: 0.9;
}

/* Seção de Serviços - CORREÇÃO DE ORGANIZAÇÃO */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: uppercase;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.service-card {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

.service-overlay {
    background-color: rgba(0, 61, 128, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.service-overlay span {
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;

    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 9999;
    white-space: nowrap;
}
.service-overlay {
    position: relative !important;
    overflow: visible !important;
    z-index: 10;
}
.service-overlay {
    position: relative !important;
    overflow: visible !important;
    z-index: 10;
}




/* Seção de Cobertura - CORREÇÃO DE ORGANIZAÇÃO */
.locations {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.section-title-blue {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    width: 100%;
}

.section-subtitle {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.location-card {
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.location-overlay {
    background-color: rgba(0, 86, 179, 0.75);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    transition: var(--transition);
}

.location-card:hover .location-overlay {
    background-color: rgba(0, 86, 179, 0.85);
}

.location-overlay h3 {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

.location-overlay p {
    font-size: 16px;
    line-height: 1.5;
}

/* Seção Hidrojateamento */
.hidro-highlight {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.hidro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hidro-image {
    flex: 1;
}

.hidro-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.hidro-text {
    flex: 1.5;
}

.hidro-text h2 {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 800;
}

.hidro-text p {
    font-size: 18px;
    margin-bottom: 35px;
}

.btn-whatsapp-green {
    background-color: var(--accent-green);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
}

/* Seção Por que nos Contratar */
.why-us {
    padding: 80px 0;
    background-color: #fff;
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.why-us-image {
    flex: 1;
    position: relative;
}

.why-us-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.why-us-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-blue);
    border-radius: 20px;
    z-index: 1;
}

.why-us-text {
    flex: 1.2;
}

.why-us-header {
    background-color: #0066a1;
    color: white;
    padding: 20px 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.why-us-header h2 {
    font-size: 34px;
    font-weight: 800;
}

.why-us-body p {
    font-size: 18px;
    margin-bottom: 25px;
    text-align: justify;
}

/* Responsividade */
@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-image {
        display: none;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .info-cards .container {
        grid-template-columns: 1fr;
    }
    
    .card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 25px;
    }
    
    .card:last-child {
        border-bottom: none;
    }

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

    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .hidro-content, .why-us-content {
        flex-direction: column;
        text-align: center;
    }
    
    .why-us-body p {
        text-align: center;
    }
    
    .why-us-image {
        width: 85%;
        margin: 0 auto 40px;
    }
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }
    
    .trust-badge {
        display: block; /* Garante que o selo apareça no mobile */
    }

    .trust-badge img {
        height: 50px; /* Reduz um pouco o tamanho para caber melhor no celular */
    }

    .nav-left {
        gap: 10px; /* Diminui o espaço entre logo e selo no mobile */
    }
    
    .section-title, .section-title-blue, .hidro-text h2, .why-us-header h2 {
        font-size: 28px;
    }
    
    .hero-text h1 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-name {
        font-size: 14px; /* Reduz o nome da marca para dar espaço ao selo */
    }
    
    .logo img {
        height: 55px; /* Reduz o logo para dar espaço ao selo */
    }

    .trust-badge img {
        height: 55px; /* Selo menor em telas muito pequenas */
    }

    .nav-left {
        gap: 8px;
    }
}


/* Seção Faça seu Orçamento */
.budget-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    color: white;
}

.budget-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.budget-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 280px;
}

.budget-image img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

.budget-form-wrapper {
    flex: 1;
}

.budget-form-wrapper h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.budget-text {
    margin-bottom: 25px;
}

.budget-text p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.95;
}

.budget-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    background-color: white;
    color: #333;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-enviar {
    padding: 15px 40px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-enviar:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Rodapé */
.footer {
    background: linear-gradient(135deg, #003d80 0%, #001a40 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #25d366;
}

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

.footer-section ul li {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.footer-section ul li i {
    margin-right: 12px;
    color: #25d366;
    width: 20px;
    text-align: center;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-section p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
}

.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-badges img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsividade para Orçamento e Rodapé */
@media (max-width: 992px) {
    .budget-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .budget-image {
        min-width: 100%;
        max-width: 100%;
    }
    
    .budget-form-wrapper h2 {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .budget-section {
        padding: 50px 0;
    }
    
    .budget-form-wrapper h2 {
        font-size: 28px;
    }
    
    .budget-text p {
        font-size: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }
    
    .btn-enviar {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .footer-section ul li,
    .footer-section p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .budget-section {
        padding: 40px 0;
    }
    
    .budget-image {
        display: none;
    }
    
    .budget-form-wrapper h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .budget-text p {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .budget-form {
        gap: 15px;
    }
    
    .form-group label {
        font-size: 12px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .btn-enviar {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .footer-section h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-section ul li,
    .footer-section p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

/* Estilos para o FAQ */
.faq-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    user-select: none;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 20px;
}

.faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
}

.faq-cta {
    margin-top: 30px;
}

.btn-whatsapp-faq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-faq:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background-color: #20bd5a;
}

/* Ajuste da imagem colada no rodapé */
.budget-section {
    padding-bottom: 0; /* Remove padding inferior para a imagem colar */
}

.budget-content {
    align-items: flex-end; /* Alinha itens ao fundo */
}

.budget-image {
    margin-bottom: -5px; /* Pequeno ajuste para garantir que cole */
}

.budget-image img {
    max-height: 500px;
    display: block;
}

/* Rodapé com fundo preto */
.footer {
    background: #000000 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
