/* ==================================================
   CONSTRUTECH — Customizações sobre o template Pestco
   ================================================== */

/* ---- Localização (PT-BR / Brasília) ---- */
body { 
    font-family: 'Merriweather', Georgia, serif; 
}

/* Topbar: WhatsApp em vez de telefone */
.topbar .info-item .fa-whatsapp {
    color: #25D366;
}

/* ==================================================
   HERO — sobrescritas (alinhamento F-pattern à esquerda)
   ================================================== */
.banner {
    position: relative;
}

/* Overlay escuro sobre as imagens do hero para legibilidade do texto */
.banner .slides-container li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(28, 17, 8, 0.85) 0%,
        rgba(28, 17, 8, 0.7) 45%,
        rgba(28, 17, 8, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}
.banner .slides-container li > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.banner .carousel-caption {
    position: relative;
    z-index: 2;
    text-align: left !important;
    left: 0;
    right: 0;
}
.banner .wrap-caption {
    max-width: 780px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

/* Headlines do hero alinhadas à esquerda e maiores */
h1.caption-heading {
    margin: 0;
    padding: 0;
}
.banner .caption-heading {
    text-align: left !important;
}
.banner .caption-heading .color1,
.banner .caption-heading .color2 {
    text-align: left !important;
    display: block;
}
.banner .caption-heading .color1 span,
.banner .caption-heading .color2 span {
    display: inline-block;
    text-align: left;
}

/* Override para aumentar o tamanho do título do hero (sem ficar gigante) */
.carousel-caption .caption-heading {
    font-size: 42px;
    line-height: 1.18;
    text-align: left;
}
@media (max-width: 991px) {
    .carousel-caption .caption-heading {
        font-size: 32px;
        line-height: 1.2;
    }
}
@media (max-width: 479px) {
    .carousel-caption .caption-heading {
        font-size: 22px;
        line-height: 1.28;
    }
    .banner .wrap-caption {
        padding: 0 6px;
    }
}

.banner .caption-desc-construtech {
    color: #fff;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 19px;
    line-height: 1.65;
    max-width: 640px;
    margin: 28px 0 36px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    text-align: left;
}

.banner .caption-cta {
    text-align: left;
    margin-top: 24px;
}

.btn-banner-construtech {
    display: inline-block;
    background-color: #25D366;
    color: #fff !important;
    padding: 14px 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}
.btn-banner-construtech:hover,
.btn-banner-construtech:focus {
    background-color: #1da851;
    border-color: #1da851;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.btn-banner-construtech .fa-whatsapp {
    margin-right: 8px;
    font-size: 18px;
}

/* ==================================================
   SUBTÍTULOS DE SEÇÃO — títulos maiores (pedido cliente)
   ================================================== */
.section-title.center {
    text-align: center;
    margin-bottom: 50px;
}

/* Override do tamanho do .lead em todas as section-title */
.section-title .lead {
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: 0.3px;
}
.section-title .section-subtitle {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 18px;
    color: #666;
    margin-top: 14px;
    font-style: italic;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .section-title .lead {
        font-size: 30px;
    }
    .section-title .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section-title .lead {
        font-size: 24px;
        line-height: 1.25;
    }
    .section-title .section-subtitle {
        font-size: 15px;
    }
    .section-title.center {
        margin-bottom: 36px;
    }
}

/* ==================================================
   SEÇÃO 2 — DORES (cards)
   ================================================== */
.section.dores {
    padding: 80px 0;
}

.card-dor {
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 4px;
    border-top: 4px solid #F7941D;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
    min-height: 280px;
    transition: all 0.3s ease;
}
.card-dor:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.card-dor-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 20px auto;
    background-color: #FAF3ED;
    border-radius: 50%;
    color: #F7941D;
    font-size: 28px;
    text-align: center;
}
.card-dor-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #553216;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 40px;
}
.card-dor p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==================================================
   SEÇÃO 3 — PASSO A PASSO
   ================================================== */
.section.passo-a-passo {
    padding: 80px 0;
}

.card-passo {
    background-color: #fff;
    padding: 40px 30px 30px 30px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
    min-height: 320px;
}
.card-passo:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.card-passo-numero {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #F7941D;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 22px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.4);
}
.card-passo-icon {
    margin: 25px 0 20px 0;
    color: #553216;
    font-size: 40px;
}
.card-passo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #553216;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 40px;
}
.card-passo p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==================================================
   SEÇÃO 4 — OFERTA CLARA (grid 3x2 de cards)
   ================================================== */
.section.oferta {
    padding: 90px 0;
}

/* Flexbox no row para cards alinhados em altura, sem gaps brancos */
.oferta-grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}
.oferta-grid > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}

.oferta-card {
    background-color: #fff;
    padding: 36px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0eae3;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}
.oferta-card:hover {
    box-shadow: 0 12px 32px rgba(247, 148, 29, 0.18);
    border-color: #F7941D;
    transform: translateY(-4px);
}

.oferta-card-icon {
    width: 64px;
    height: 64px;
    background-color: #FAF3ED;
    color: #F7941D;
    border-radius: 14px;
    font-size: 26px;
    margin: 0 auto 22px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}
.oferta-card:hover .oferta-card-icon {
    background-color: #F7941D;
    color: #fff;
    transform: scale(1.05);
}

.oferta-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #553216;
    line-height: 1.35;
    margin: 0 0 12px 0;
    letter-spacing: 0.2px;
}
.oferta-card p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
    flex-grow: 1; /* empurra qualquer conteúdo seguinte para baixo */
}

@media (max-width: 767px) {
    .oferta-grid {
        display: block;
    }
    .oferta-grid > [class*="col-"] {
        display: block;
    }
}

/* ==================================================
   SEÇÃO 4B — GARANTIA EM DESTAQUE
   ================================================== */
.section.garantia {
    padding: 90px 0;
    background: linear-gradient(135deg, #2b1a0c 0%, #553216 50%, #2b1a0c 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Padrão decorativo de fundo (escudos sutis) */
.section.garantia::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(247, 148, 29, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(247, 148, 29, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.section.garantia .container {
    position: relative;
    z-index: 2;
}

.section.garantia .section-title .lead {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.section.garantia .section-title .section-subtitle {
    color: rgba(255,255,255,0.85);
    font-style: normal;
    max-width: 700px;
    margin: 16px auto 0 auto;
}

/* Cards da garantia (3 lado a lado) */
.garantia-grid {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}
.garantia-grid > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}

.garantia-card {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(247, 148, 29, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 38px 30px;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.4s ease;
}
.garantia-card:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: #F7941D;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

@media (max-width: 991px) {
    .garantia-grid {
        display: block;
    }
    .garantia-grid > [class*="col-"] {
        display: block;
    }
}

.garantia-card-icon {
    width: 78px;
    height: 78px;
    background-color: #F7941D;
    color: #fff;
    border-radius: 50%;
    margin: 0 auto 22px auto;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(247, 148, 29, 0.4);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.garantia-card:hover .garantia-card-icon {
    transform: scale(1.08);
}

.garantia-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 19px;
    color: #fff;
    letter-spacing: 0.4px;
    margin: 0 0 14px 0;
}
.garantia-card p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14.5px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 991px) {
    .section.garantia {
        padding: 70px 0;
    }
}

/* ==================================================
   SEÇÃO 5 — BENEFÍCIOS
   ================================================== */
.section.beneficios {
    padding: 80px 0;
}
.box-beneficio {
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-height: 230px;
}
.box-beneficio:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.box-beneficio .icon {
    margin-bottom: 15px;
}
.box-beneficio .icon .fa,
.box-beneficio .icon .fa-solid,
.box-beneficio .icon .fa-brands,
.box-beneficio .icon i {
    font-size: 36px;
    color: #F7941D;
}
.box-beneficio h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #553216;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.box-beneficio p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==================================================
   SEÇÃO 7 — DEPOIMENTOS com vídeo de fundo
   ================================================== */
.section.testimony-video {
    position: relative;
    overflow: hidden;
    background-color: #1c1108; /* fallback enquanto o vídeo não carrega */
    padding: 90px 0;
}

.testimony-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    filter: saturate(0.85) brightness(0.7);
}

.testimony-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(28, 17, 8, 0.85) 0%,
        rgba(85, 50, 22, 0.78) 50%,
        rgba(28, 17, 8, 0.88) 100%);
    z-index: 1;
}

.section.testimony-video .container {
    position: relative;
    z-index: 2;
}

.section.testimony-video .section-title h3.lead {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Em mobile, esconder vídeo e usar só fundo sólido (poupa banda) */
@media (max-width: 767px) {
    .testimony-video-bg {
        display: none;
    }
    .testimony-video-overlay {
        background: linear-gradient(135deg, #1c1108 0%, #553216 50%, #1c1108 100%);
    }
}

/* ==================================================
   SEÇÃO 6 — FAQ
   ================================================== */
.section.faq {
    padding: 80px 0;
    background-color: #fff;
}

/* Esconde a seta do template Pestco (deixamos só o +/- nosso) */
.panel-faq .panel-default > .panel-heading:before,
.panel-faq .panel-default > .panel-heading.active:before {
    content: none !important;
    display: none !important;
}

/* Faz o panel inteiro ser clicável visualmente, com transição suave */
.panel-faq .panel {
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.panel-faq .panel:hover {
    box-shadow: 0 4px 16px rgba(247, 148, 29, 0.12);
    border-color: #F7941D;
}

/* Override do panel-heading para limpar a aparência ao hover (sem mudar a cor de fundo aqui) */
.panel-faq .panel-default:hover > .panel-heading {
    color: #553216;
    background-color: transparent;
}

/* Mantém o panel-heading limpo ao abrir (sem o background laranja do template) */
.panel-faq .panel-heading.active,
.panel-faq .panel-default > .panel-heading.active {
    background-color: #FAF3ED !important;
    color: #553216 !important;
}

.panel-faq .panel {
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 12px;
    box-shadow: none;
}
.panel-faq .panel-heading {
    background-color: #fff;
    padding: 0;
    border-bottom: none;
}
.panel-faq .panel-heading.active a,
.panel-faq .panel-heading a[aria-expanded="true"] {
    background-color: #FAF3ED;
    color: #F7941D;
}
.panel-faq .panel-title a {
    display: block;
    padding: 18px 50px 18px 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #553216;
    text-decoration: none;
    letter-spacing: 0.3px;
    line-height: 1.5;
    position: relative;
}
.panel-faq .panel-title a:after {
    content: "\f067"; /* fa-plus */
    font-family: 'FontAwesome';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #F7941D;
    font-size: 12px;
    transition: transform 0.3s;
}
.panel-faq .panel-title a[aria-expanded="true"]:after {
    content: "\f068"; /* fa-minus */
}
.panel-faq .panel-body {
    padding: 18px 22px;
    border-top: 1px solid #eee;
    background-color: #fff;
}
.panel-faq .panel-body p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* ==================================================
   SEÇÃO 8 — CTA FINAL
   ================================================== */
.section.cta-final {
    background-color: #F7941D;
    background-image: linear-gradient(135deg, #F7941D 0%, #E07A0A 100%);
    padding: 80px 0;
    color: #fff;
}
.cta-final-wrap h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 35px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-construtech-cta {
    display: inline-block;
    background-color: #25D366;
    color: #fff !important;
    padding: 18px 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 1.5px;
    border-radius: 4px;
    text-decoration: none;
    border: 3px solid #fff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.btn-construtech-cta:hover,
.btn-construtech-cta:focus {
    background-color: #1da851;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.btn-construtech-cta .fa-whatsapp {
    margin-right: 10px;
    font-size: 22px;
}

/* ==================================================
   BOTÃO PRIMARY (CTAs no meio das seções)
   ================================================== */
.btn-construtech-primary {
    display: inline-block;
    background-color: #25D366;
    color: #fff !important;
    padding: 14px 38px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    border: 2px solid #25D366;
    transition: all 0.3s ease;
}
.btn-construtech-primary:hover,
.btn-construtech-primary:focus {
    background-color: #1da851;
    border-color: #1da851;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}
.btn-construtech-primary .fa-whatsapp {
    margin-right: 8px;
    font-size: 16px;
}
.cta-section-bottom {
    margin-top: 40px;
}

/* ==================================================
   FOOTER — bloco institucional/legal
   ================================================== */
.footer-legal {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.footer-legal p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

/* ==================================================
   NAVBAR — refeita do zero, sem classes do Pestco
   ================================================== */
.ct-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                background-color 0.3s ease;
    will-change: transform;
}
.ct-navbar.navbar-hidden {
    transform: translateY(-100%);
}
.ct-navbar.navbar-scrolled {
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.ct-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ct-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.ct-logo img {
    height: 60px;
    width: auto;
    display: block;
    max-width: 280px;
}

.ct-navbar-inner {
    height: 90px;
}

@media (max-width: 480px) {
    .ct-logo img {
        height: 48px;
        max-width: 220px;
    }
    .ct-navbar-inner {
        height: 76px;
    }
}

.ct-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ct-nav-list > li {
    display: flex;
    align-items: center;
}
.ct-nav-list > li > a {
    display: block;
    padding: 14px 14px;
    color: #553216;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}
.ct-nav-list > li > a:hover,
.ct-nav-list > li > a:focus {
    color: #F7941D;
    outline: none;
}

.ct-nav-list > li.ct-nav-cta {
    margin-left: 12px;
}
.ct-nav-list > li.ct-nav-cta > a {
    background-color: #25D366;
    color: #fff;
    padding: 12px 22px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
}
.ct-nav-list > li.ct-nav-cta > a:hover,
.ct-nav-list > li.ct-nav-cta > a:focus {
    background-color: #1da851;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

/* Hamburger toggle (mobile only) */
.ct-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.ct-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #553216;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.ct-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.ct-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.ct-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
    .ct-menu-toggle {
        display: flex;
    }
    .ct-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    }
    .ct-nav.open {
        max-height: 600px;
    }
    .ct-nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 16px 0;
    }
    .ct-nav-list > li {
        display: block;
    }
    .ct-nav-list > li > a {
        padding: 14px 24px;
        border-bottom: 1px solid #f3f3f3;
    }
    .ct-nav-list > li:last-child > a {
        border-bottom: none;
    }
    .ct-nav-list > li.ct-nav-cta {
        margin: 14px 24px 0 24px;
    }
    .ct-nav-list > li.ct-nav-cta > a {
        text-align: center;
        padding: 14px 22px;
    }
}

/* Padding-top no body para não ficar embaixo da navbar fixa */
body {
    padding-top: 0; /* navbar sobrepõe o hero, padrão */
}

/* ==================================================
   MODAL DE CAPTAÇÃO DE LEADS
   ================================================== */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;            /* ESCONDIDO POR PADRÃO — corrige bug de captura de clique */
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;     /* dupla segurança: nada de captura quando oculto */
    transition: opacity 0.3s ease;
}
.lead-modal:not([hidden]) {
    display: flex;            /* só fica flex quando o atributo hidden é removido pelo JS */
    pointer-events: auto;
}
.lead-modal.visible {
    opacity: 1;
}
.lead-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(28, 17, 8, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.lead-modal-box {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.lead-modal.visible .lead-modal-box {
    transform: translateY(0) scale(1);
}
.lead-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background-color: transparent;
    color: #999;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.lead-modal-close:hover {
    background-color: #f5f5f5;
    color: #553216;
}

.lead-modal-header {
    padding: 36px 32px 20px 32px;
    text-align: center;
}
.lead-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.lead-modal-icon svg {
    width: 32px;
    height: 32px;
}
.lead-modal-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #553216;
    letter-spacing: 0.3px;
    margin: 0 0 8px 0;
}
.lead-modal-header p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: #777;
    margin: 0;
    line-height: 1.55;
}

.lead-modal-form {
    padding: 0 32px 32px 32px;
}
.lead-form-field {
    margin-bottom: 16px;
}
.lead-form-field label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: #553216;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.lead-form-field input,
.lead-form-field select {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid #e1e1e1;
    border-radius: 6px;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 15px;
    color: #333;
    background-color: #fafafa;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.lead-form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23553216' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.lead-form-field input:focus,
.lead-form-field select:focus {
    outline: none;
    border-color: #F7941D;
    background-color: #fff;
}
.lead-form-field input::placeholder {
    color: #aaa;
}

.lead-modal-submit {
    width: 100%;
    padding: 16px 24px;
    background-color: #25D366;
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    margin-top: 8px;
}
.lead-modal-submit:hover,
.lead-modal-submit:focus {
    background-color: #1da851;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    outline: none;
}
.lead-modal-submit svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.lead-modal-disclaimer {
    text-align: center;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 12px;
    color: #999;
    margin: 14px 0 0 0;
    line-height: 1.5;
}

/* Trava o scroll do body quando modal aberto */
body.lead-modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .lead-modal-header {
        padding: 28px 24px 16px 24px;
    }
    .lead-modal-form {
        padding: 0 24px 28px 24px;
    }
    .lead-modal-header h3 {
        font-size: 19px;
    }
}

/* ==================================================
   FAQ — helper antes do CTA
   ================================================== */
.faq-cta-helper {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 18px;
    font-style: italic;
}

/* ==================================================
   WHATSAPP FLUTUANTE (SVG inline)
   ================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
    display: block;
}
.whatsapp-float:hover {
    background-color: #1da851;
    transform: scale(1.1);
    color: #fff !important;
    text-decoration: none;
}

/* ==================================================
   FOOTER — fundo sólido (sem imagem)
   ================================================== */
.footer.footer-solid {
    background-color: #2b1a0c;
    background-image: none;
    color: rgba(255,255,255,0.85);
    padding: 60px 0 40px 0;
    margin: 0;
}
.footer.footer-solid .footer-title h5 {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
}
.footer.footer-solid .footer-title h5 span {
    color: #F7941D;
}
.footer.footer-solid .footer-item {
    min-height: auto;
    margin-bottom: 30px;
}
.footer.footer-solid .footer-item p,
.footer.footer-solid .footer-item .list a {
    color: rgba(255,255,255,0.75);
}
.footer.footer-solid .footer-item .list a:hover {
    color: #F7941D;
}

/* Coluna 1: Logo + descrição */
.footer-brand .footer-logo-horizontal {
    display: block;
    height: 90px;
    width: auto;
    max-width: 100%;
    margin-bottom: 24px;
}
.footer-brand p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Coluna 2: Lista de contato com ícones */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-family: 'Merriweather', Georgia, serif;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}
.footer-contact-list li > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(247, 148, 29, 0.15);
    color: #F7941D;
    border-radius: 50%;
    margin-right: 14px;
    font-size: 15px;
}
.footer-contact-list li > a,
.footer-contact-list li > span {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}
.footer-contact-list li > a:hover {
    color: #F7941D;
}

/* Coluna 3: Lista de horário */
.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-hours-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
}
.footer-hours-list li > i {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: rgba(247, 148, 29, 0.15);
    color: #F7941D;
    border-radius: 50%;
    margin-right: 14px;
    font-size: 15px;
}
.footer-hours-list li > div {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}
.footer-hours-list li > div > strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.3px;
}
.footer-hours-list li > div > span {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* ==================================================
   SUBRODAPÉ (FORA do .footer, irmão direto)
   ================================================== */
.subfooter {
    background-color: #1c1108;
    margin: 0;
    padding: 22px 0 22px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.subfooter .subfooter-line {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.9;
    letter-spacing: 0.3px;
}
.subfooter .subfooter-line a {
    color: #F7941D;
    text-decoration: none;
    transition: color 0.2s ease;
}
.subfooter .subfooter-line a:hover {
    color: #ffb050;
    text-decoration: underline;
}

/* ==================================================
   COOKIE BANNER LGPD
   ================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
    pointer-events: none;     /* não captura clique quando escondido */
}
.cookie-banner[hidden] {
    display: none !important; /* garante invisibilidade quando hidden */
}
.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
}
.cookie-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    line-height: 44px;
    background-color: #FAF3ED;
    color: #F7941D;
    border-radius: 50%;
    text-align: center;
    font-size: 22px;
}
.cookie-banner-text {
    flex: 1;
    min-width: 0;
}
.cookie-banner-text strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #553216;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.cookie-banner-text p {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}
.cookie-banner-text a {
    color: #F7941D;
    text-decoration: underline;
}
.cookie-banner-actions {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
}
.cookie-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 11px 22px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cookie-btn-primary {
    background-color: #F7941D;
    color: #fff;
    border: 2px solid #F7941D;
}
.cookie-btn-primary:hover {
    background-color: #e08110;
    border-color: #e08110;
}
.cookie-btn-secondary {
    background-color: transparent;
    color: #553216;
    border: 2px solid #ddd;
}
.cookie-btn-secondary:hover {
    border-color: #553216;
    background-color: #f8f8f8;
}

@media (max-width: 767px) {
    .cookie-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        gap: 14px;
    }
    .cookie-banner-icon {
        display: none;
    }
    .cookie-banner-actions {
        width: 100%;
        flex-direction: row;
    }
    .cookie-btn {
        flex: 1;
    }
    /* Recolocar WhatsApp flutuante acima do banner em mobile */
    .cookie-banner.visible ~ .whatsapp-float {
        bottom: 200px;
    }
}

/* ==================================================
   RESPONSIVO
   ================================================== */
@media (max-width: 991px) {
    .card-dor,
    .card-passo,
    .box-beneficio {
        min-height: auto;
    }
    .callout-garantia {
        margin-top: 30px;
        height: auto;
    }
    .cta-final-wrap h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .section.dores,
    .section.passo-a-passo,
    .section.oferta,
    .section.beneficios,
    .section.faq,
    .section.cta-final {
        padding: 50px 0;
    }
    .cta-final-wrap h2 {
        font-size: 20px;
        line-height: 1.5;
    }
    .btn-construtech-cta {
        padding: 14px 30px;
        font-size: 14px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        bottom: 15px;
        right: 15px;
    }
    .banner .caption-desc-construtech {
        font-size: 14px;
        padding: 0 20px;
    }
}

/* ==================================================
   SMOOTH SCROLL E SCROLL-PADDING (compensa navbar fixa)
   ================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
@media (max-width: 480px) {
    html { scroll-padding-top: 86px; }
}

/* ==================================================
   ANIMAÇÕES DE REVEAL ON SCROLL
   ================================================== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease,
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger por delay incremental quando elementos são irmãos numa mesma row */
.reveal.reveal-stagger-1 { transition-delay: 0.08s; }
.reveal.reveal-stagger-2 { transition-delay: 0.16s; }
.reveal.reveal-stagger-3 { transition-delay: 0.24s; }
.reveal.reveal-stagger-4 { transition-delay: 0.32s; }
.reveal.reveal-stagger-5 { transition-delay: 0.40s; }

/* Variantes direcionais */
.reveal.reveal-from-left {
    transform: translateX(-50px);
}
.reveal.reveal-from-left.reveal-in {
    transform: translateX(0);
}
.reveal.reveal-from-right {
    transform: translateX(50px);
}
.reveal.reveal-from-right.reveal-in {
    transform: translateX(0);
}
.reveal.reveal-zoom {
    transform: scale(0.92);
}
.reveal.reveal-zoom.reveal-in {
    transform: scale(1);
}

/* Respeita preferências de redução de movimento */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal,
    .reveal.reveal-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==================================================
   HOVER SUAVE EM CARDS E BOTÕES (curvas mais elegantes)
   ================================================== */
.card-dor,
.card-passo,
.box-beneficio,
.callout-garantia {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.btn-construtech-primary,
.btn-construtech-cta,
.btn-banner-construtech {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                background-color 0.25s ease,
                border-color 0.25s ease;
}

/* Pulse sutil no WhatsApp flutuante (chama atenção sem ser irritante) */
@keyframes whatsappFloatPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5),
                    0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5),
                    0 0 0 16px rgba(37, 211, 102, 0);
    }
}
.whatsapp-float {
    animation: whatsappFloatPulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.whatsapp-float:hover {
    animation-play-state: paused;
}

/* Suaviza o ícone do FAQ (giro do +/- ao abrir) */
.panel-faq .panel-title a:after {
    transition: transform 0.3s ease, content 0.2s ease;
    display: inline-block;
}

/* Sombras suaves nos botões da navbar quando hover */
.ct-nav-list > li > a {
    position: relative;
}
.ct-nav-list > li > a::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #F7941D;
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(0);
}
.ct-nav-list > li > a:hover::after {
    width: calc(100% - 28px);
    left: 14px;
}
.ct-nav-list > li.ct-nav-cta > a::after {
    display: none; /* botão CTA não tem underline */
}

/* Animação de entrada do hero (fade + slight zoom no caption ao primeiro load) */
@keyframes heroCaptionIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.banner .carousel-caption .wrap-caption {
    animation: heroCaptionIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

/* Suaviza animationload (loader inicial) */
.animationload {
    transition: opacity 0.5s ease;
}
