/* ========================================
   CRITICAL CSS - Above the fold
======================================== */

/* Cidade-UF sempre juntos (não quebra linha entre cidade e estado) */
.cidade-uf {
    white-space: nowrap;
}

/* Performance: Lazy loading transitions */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* Modo economia de dados */
.save-data img[loading="lazy"] {
    transition: none;
}

.save-data .galeria-item:hover img {
    transform: none;
}

:root {
    --primary-blue: #1889c1;
    --primary-dark: #0d5f8a;
    --secondary-blue: #2ba4e0;
    --dark-blue: #1a3a52;
    --text-dark: #1a1a1a;
    --text-gray: #444444;
    --text-light: #666666;
    --bg-light: #f5f8fa;
    --bg-gray: #e9ecef;
    --white: #ffffff;
    --border-color: #dde4e9;
    --success: #28a745;
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Roboto Slab', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   ÍCONES SVG
======================================== */
.icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.icon-sm {
    width: 12px;
    height: 12px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 28px;
    height: 28px;
}

.icon-xl {
    width: 40px;
    height: 40px;
}

.icon-white {
    filter: brightness(0) invert(1);
}

.icon-primary {
    filter: invert(43%) sepia(98%) saturate(365%) hue-rotate(161deg) brightness(92%) contrast(89%);
}

.icon-secondary {
    filter: invert(58%) sepia(52%) saturate(1052%) hue-rotate(166deg) brightness(96%) contrast(87%);
}

.icon-success {
    width: 32px;
    height: 32px;
    filter: invert(48%) sepia(79%) saturate(382%) hue-rotate(93deg) brightness(95%) contrast(91%);
}

.icon-gold {
    filter: invert(76%) sepia(58%) saturate(1000%) hue-rotate(359deg) brightness(103%) contrast(104%);
}

/* ========================================
   HEADER / TOPO
======================================== */
.top-bar {
    background: var(--dark-blue);
    padding: 8px 0;
    font-size: 13px;
}

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

.top-bar-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-contact {
    display: flex;
    gap: 25px;
}

.top-bar-contact a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contact a:hover {
    color: var(--white);
}

.top-bar-contact .icon {
    filter: invert(58%) sepia(52%) saturate(1052%) hue-rotate(166deg) brightness(96%) contrast(87%);
}

.top-bar-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    margin: 0 5px;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-label {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin-right: 5px;
}

.top-bar-social a {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.top-bar-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.top-bar-social .icon {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.top-bar-social a:hover .icon {
    opacity: 1;
}

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.2;
}

.logo-text span {
    color: var(--primary-blue);
}

nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a {
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn .icon {
    filter: brightness(0) invert(1);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline .icon {
    filter: invert(43%) sepia(98%) saturate(365%) hue-rotate(161deg) brightness(92%) contrast(89%);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-outline:hover .icon {
    filter: brightness(0) invert(1);
}

.btn-success {
    background: #25d366;
    color: var(--white);
}

.btn-success:hover {
    background: #20bd5a;
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ========================================
   HERO / BANNER PRINCIPAL
======================================== */
.hero {
    position: relative;
    background: linear-gradient(rgba(26, 58, 82, 0.8), rgba(13, 95, 138, 0.8)), 
                url('/imagens/banner/hero-pocos.jpg') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--secondary-blue);
}

.hero .btn-primary:hover {
    background: var(--primary-blue);
}

.hero .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-outline .icon {
    filter: brightness(0) invert(1);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.hero .btn-outline:hover .icon {
    filter: invert(43%) sepia(98%) saturate(365%) hue-rotate(161deg) brightness(92%) contrast(89%);
}

/* ========================================
   TÍTULOS DE SEÇÃO
======================================== */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--dark-blue);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-blue);
}

.section-title p {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ========================================
   SOBRE A EMPRESA
======================================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(24, 137, 193, 0.4);
}

.about-badge .number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.about-badge .text {
    font-size: 13px;
    margin-top: 5px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.about-list {
    list-style: none;
    margin: 25px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.about-list li .icon {
    flex-shrink: 0;
}

/* ========================================
   SERVIÇOS
======================================== */
.services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-blue);
}

.service-icon .icon {
    width: 28px;
    height: 28px;
    filter: invert(43%) sepia(98%) saturate(365%) hue-rotate(161deg) brightness(92%) contrast(89%);
    transition: filter 0.3s ease;
}

.service-card:hover .service-icon .icon {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========================================
   TIPOS DE POÇOS
======================================== */
.tipos-pocos {
    background: var(--white);
}

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

.tipo-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tipo-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.tipo-card-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.tipo-card-header .icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 10px;
}

.tipo-card-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.tipo-card-body {
    padding: 25px;
}

.tipo-card-body p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   PROCESSO / COMO FUNCIONA
======================================== */
.processo {
    background: var(--dark-blue);
    color: var(--white);
}

.processo .section-title h2 {
    color: var(--white);
}

.processo .section-title h2::after {
    background: var(--secondary-blue);
}

.processo .section-title p {
    color: rgba(255,255,255,0.8);
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.processo-step {
    text-align: center;
    position: relative;
}

.processo-step::after {
    content: '';
    position: absolute;
    top: 35px;
    right: -10px;
    width: calc(100% - 70px);
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.processo-step:last-child::after {
    display: none;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.processo-step h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.processo-step p {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.5;
}

/* ========================================
   DIFERENCIAIS / POR QUE NOS ESCOLHER
======================================== */
.diferenciais {
    background: var(--bg-light);
}

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

.diferencial-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.diferencial-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.diferencial-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diferencial-icon .icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.diferencial-content h4 {
    font-size: 17px;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.diferencial-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========================================
   DEPOIMENTOS
======================================== */

/* ========================================
   GALERIA
======================================== */
.galeria {
    background: var(--white);
}

.galeria-container {
    position: relative;
    overflow: hidden;
}

.galeria-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.galeria-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 5px;
}

.galeria-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 58, 82, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.galeria-item:hover::after {
    opacity: 1;
}

.galeria-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    z-index: 1;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.galeria-item:hover .galeria-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Controles do Carrossel */
.galeria-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.galeria-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(24, 137, 193, 0.3);
}

.galeria-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.galeria-btn:disabled {
    background: var(--bg-gray);
    cursor: not-allowed;
    box-shadow: none;
}

.galeria-btn:disabled:hover {
    transform: none;
}

.galeria-btn .icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.galeria-btn:disabled .icon {
    opacity: 0.5;
}

.galeria-dots {
    display: flex;
    gap: 10px;
}

.galeria-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-gray);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.galeria-dot:hover {
    background: var(--secondary-blue);
}

.galeria-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Contador */
.galeria-counter {
    text-align: center;
    margin-top: 15px;
    color: var(--text-gray);
    font-size: 14px;
}

/* Placeholder de carregamento */
.galeria-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: var(--bg-gray);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 14px;
}

.galeria-loading {
    min-width: 100%;
}

/* Vídeos na galeria */
.galeria-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    position: relative;
    z-index: 5;
    cursor: pointer;
    background: #000;
}

.galeria-video {
    background: #000;
    cursor: default;
}

.galeria-video::after {
    display: none !important;
}

.galeria-video:hover::after {
    display: none !important;
}

.galeria-video .galeria-caption {
    opacity: 1;
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    pointer-events: none;
    z-index: 1;
}

/* Lightbox / Zoom da Galeria */
.galeria-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.galeria-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    animation: lightboxZoomIn 0.3s ease;
}

.lightbox-content video {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 4px;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 5px 10px;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--primary-blue);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 15px 18px;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 500;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 6px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 22px;
        padding: 10px 14px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 32px;
    }
}

/* ========================================
   DEPOIMENTOS CARDS
======================================== */
.depoimentos {
    background: var(--white);
}

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

.depoimento-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.depoimento-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 80px;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.depoimento-text {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.depoimento-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.depoimento-info h5 {
    font-size: 15px;
    color: var(--dark-blue);
}

.depoimento-info p {
    font-size: 13px;
    color: var(--text-light);
}

.depoimento-stars {
    display: flex;
    gap: 2px;
    margin-top: 3px;
}

.depoimento-stars .icon {
    width: 12px;
    height: 12px;
    filter: invert(76%) sepia(58%) saturate(1000%) hue-rotate(359deg) brightness(103%) contrast(104%);
}

/* ========================================
   FAQ
======================================== */
.faq {
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question h4 {
    font-size: 16px;
    color: var(--dark-blue);
    font-weight: 600;
    padding-right: 15px;
}

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

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-question h4 {
    color: var(--primary-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ========================================
   CTA FINAL
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-contact-item .icon-circle {
    width: 53px;
    height: 53px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-contact-item .icon {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}

.cta-buttons .icon {
    width: 21px;
    height: 21px;
}

/* ========================================
   FOOTER
======================================== */
footer {
    background: var(--dark-blue);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-blue);
}

.footer-social .icon {
    filter: brightness(0) invert(1);
}

.footer-column h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-blue);
    padding-left: 5px;
}

.footer-links .icon {
    width: 10px;
    height: 10px;
    filter: invert(43%) sepia(98%) saturate(365%) hue-rotate(161deg) brightness(92%) contrast(89%);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact-item .icon {
    margin-top: 3px;
    filter: invert(58%) sepia(52%) saturate(1052%) hue-rotate(166deg) brightness(96%) contrast(87%);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    opacity: 0.7;
}

/* ========================================
   WHATSAPP FLUTUANTE
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    background: #20bd5a;
}

.whatsapp-float .icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* ========================================
   BARRA FIXA MOBILE
======================================== */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #25d366;
    padding: 12px 15px;
    z-index: 998;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-cta-btn .icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* ========================================
   RESPONSIVO
======================================== */

/* Tablet Grande (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

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

    .processo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .processo-step::after {
        display: none;
    }

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

    nav a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Tablet (900px) */
@media (max-width: 900px) {
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .tipo-card-header {
        padding: 15px;
    }

    .tipo-card-header .icon {
        width: 30px;
        height: 30px;
    }

    .tipo-card-header h3 {
        font-size: 16px;
    }

    .tipo-card-body {
        padding: 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

/* Mobile / Tablet Pequeno (768px) */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    header .container {
        padding: 12px 15px;
    }

    .logo img {
        height: 50px;
    }

    .logo-text {
        font-size: 27px;
    }

    /* Menu Mobile */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.4s ease;
        z-index: 1001;
    }

    nav.active {
        right: 0;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid var(--bg-light);
        font-size: 15px;
    }

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

    .mobile-toggle {
        display: flex;
        z-index: 1002;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .nav-overlay.active {
        display: block;
    }

    .header-cta {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    /* Seções */
    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 14px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
    }

    .about-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 15px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    /* Serviços */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon .icon {
        width: 24px;
        height: 24px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-card p {
        font-size: 13px;
    }

    /* Tipos de Poços */
    .tipos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .diferencial-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .diferencial-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }

    .diferencial-icon .icon {
        width: 24px;
        height: 24px;
    }

    .diferencial-content h4 {
        margin-bottom: 8px;
    }

    /* Depoimentos */
    .depoimentos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Galeria */
    .galeria-slide {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .galeria-btn {
        width: 45px;
        height: 45px;
    }

    .galeria-btn .icon {
        width: 18px;
        height: 18px;
    }

    .depoimento-card {
        padding: 25px 20px;
    }

    /* Processo */
    .processo {
        padding: 50px 0;
    }

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

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .processo-step h4 {
        font-size: 14px;
    }

    .processo-step p {
        font-size: 12px;
    }

    /* FAQ */
    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h4 {
        font-size: 14px;
    }

    .faq-answer-content {
        padding: 0 20px 15px;
        font-size: 14px;
    }

    /* CTA */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 15px;
    }

    .cta-contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .cta-contact-item {
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-column h4 {
        margin-bottom: 15px;
    }

    /* WhatsApp flutuante */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 55px;
        height: 55px;
    }

    .whatsapp-float .icon {
        width: 28px;
        height: 28px;
    }

    /* Barra CTA Mobile */
    .mobile-cta-bar {
        display: block;
    }

    /* Esconder WhatsApp flutuante quando barra está ativa */
    .whatsapp-float {
        display: none;
    }

    /* Adicionar padding no footer para não ficar atrás da barra */
    footer {
        padding-bottom: 70px;
    }
}

/* Mobile Pequeno (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 45px;
    }

    .logo-text {
        font-size: 24px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

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

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 20px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    /* Serviços em 1 coluna no mobile pequeno */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Processo */
    .processo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .processo-step {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .processo-step h4,
    .processo-step p {
        margin: 0;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* About list */
    .about-list li {
        font-size: 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Footer */
    footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        gap: 25px;
    }

    .footer-brand p {
        font-size: 13px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-contact-item {
        font-size: 13px;
    }
}

/* Mobile muito pequeno (360px) */
@media (max-width: 360px) {
    .logo-text {
        font-size: 20px;
    }

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

    .section-title h2 {
        font-size: 20px;
    }
}

/* Classe para manter cidade-UF juntos */
.nowrap {
    white-space: nowrap;
}

/* ========================================
   UTILITÁRIOS
======================================== */
.btn-nowrap {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-24 {
    width: 24px;
    height: 24px;
}

.rotate-90 {
    transform: rotate(90deg);
}

.rotate-minus-90 {
    transform: rotate(-90deg);
}

.cta-outline-white {
    border-color: #fff;
    color: #fff;
}
