/* =========================================================
   IMPERMIL IMPERMEABILIZAÇÕES E REFORMAS
   CSS PRINCIPAL
   ========================================================= */

/* =========================================================
   VARIÁVEIS
   ========================================================= */

:root {
    --verde: #075c35;
    --verde-escuro: #06452a;
    --verde-claro: #eaf3ee;

    --vermelho: #c91f2a;
    --vermelho-escuro: #a91720;

    --branco: #ffffff;

    --cinza-claro: #f5f6f5;
    --cinza: #666666;
    --cinza-borda: #dddddd;

    --preto: #17201b;

    --dourado: #d8b51f;

    --largura: 1180px;

    --sombra: 0 10px 30px rgba(0, 0, 0, 0.08);

    --raio: 10px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--preto);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(var(--largura), calc(100% - 40px));
    max-width: var(--largura);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   CABEÇALHO
   ========================================================= */

.site-header {
    position: relative;
    width: 100%;
    height: 92px;
    min-height: 92px;

    background: #ffffff;
    border-bottom: 1px solid #eeeeee;

    z-index: 100;
}

.header-inner {
    height: 92px;
    min-height: 92px;

    display: flex;
    align-items: center;

    gap: 18px;
}


/* LOGO */

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    flex: 0 0 220px;
    width: 220px;
    height: 76px;
    min-width: 220px;
    padding: 0;
}

.brand img {
    display: block;

    width: 250px;
    height: auto;
    max-height: 72px;

    object-fit: contain;
    object-position: left center;
}


/* MENU */

.main-nav {
    margin-left: auto !important;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 16px !important;
    flex: 0 0 auto;
    flex-shrink: 0;

    white-space: nowrap;
}

.main-nav a {
    color: #111111;

    font-size: 14px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--verde);
}

.main-nav a.active {
    color: var(--verde);
}


/* BOTÃO ORÇAMENTO */

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--vermelho);
    color: #ffffff !important;

    padding: 13px 18px;

    border-radius: 6px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-1px);
}


/* BOTÃO WHATSAPP DO CABEÇALHO */

.btn-whatsapp {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: #0d6635;
    color: #ffffff !important;

    padding: 13px 20px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    flex-shrink: 0;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.btn-whatsapp:hover {
    background: #09532b;
    transform: translateY(-1px);
}


/* MENU MOBILE */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: var(--verde);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #064d30 0%,
            #075c35 55%,
            #4b8c72 100%
        );

    color: #ffffff;
}

.hero-inner {
    min-height: 560px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    align-items: center;

    gap: 44px;

    padding-top: 34px;
    padding-bottom: 34px;
}

.hero-content {
    min-width: 0;
}


/* LOGO DENTRO DO HERO */

.hero-logo {
    width: 210px;
    height: auto;

    margin-bottom: 16px;

    border-radius: 5px;
}


/* TEXTO PEQUENO */

.eyebrow {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--dourado);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.eyebrow-extra {
    display: block;
    margin-top: -9px;
    margin-bottom: 13px;
}


/* TÍTULO */

.hero h1 {
    max-width: 600px;

    margin-bottom: 20px;

    color: #ffffff;

    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.05;

    font-weight: 800;
}


/* TEXTO */

.hero p {
    max-width: 570px;

    margin-bottom: 26px;

    color: #ffffff;

    font-size: 18px;
    line-height: 1.6;
}


/* BOTÕES */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 13px;

    flex-wrap: wrap;
}


/* IMAGEM HERO */

.hero-image {
    width: 100%;
    max-width: 560px;

    margin-left: auto;

    overflow: hidden;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.12);
}

.hero-image img {
    width: 100%;
    height: 365px;

    object-fit: cover;

    border-radius: 12px;
}


/* =========================================================
   BOTÕES
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 20px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--vermelho);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--vermelho-escuro);
}

.btn-outline {
    background: transparent;

    color: #ffffff;

    border: 1px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--verde);
}

.btn-light {
    background: #ffffff;
    color: var(--verde);
}

.btn-secondary {
    background: var(--verde);
    color: #ffffff;
}


/* =========================================================
   SEÇÕES
   ========================================================= */

.section {
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading.center {
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 10px;

    color: var(--verde-escuro);

    font-size: 38px;
    line-height: 1.15;
}

.section-heading p {
    color: var(--cinza);

    font-size: 16px;
}


/* =========================================================
   SOBRE A IMPERMIL
   ========================================================= */

.two-col {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 60px;
}

.two-col h2 {
    margin-bottom: 18px;

    color: var(--verde-escuro);

    font-size: 38px;
    line-height: 1.2;
}

.two-col p {
    margin-bottom: 16px;

    color: #555555;

    font-size: 16px;
}

.two-col img {
    width: 100%;

    max-height: 430px;

    object-fit: cover;

    border-radius: 10px;

    box-shadow: var(--sombra);
}


/* =========================================================
   SERVIÇOS
   ========================================================= */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.service-card {
    width: 100%;
    min-width: 0;

    min-height: 205px;

    padding: 28px;

    background: #ffffff;

    border: 1px solid var(--cinza-borda);

    border-radius: var(--raio);

    box-shadow: var(--sombra);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

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

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.10);
}

.service-card .number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 20px;

    background: var(--verde-claro);

    color: var(--verde);

    border-radius: 8px;

    font-size: 20px;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--verde-escuro);

    font-size: 21px;

    line-height: 1.25;
}

.service-card p {
    color: var(--cinza);

    font-size: 15px;

    line-height: 1.65;
}


/* =========================================================
   GALERIA / CARROSSEL
   ========================================================= */

.gallery-demo {
    width: 100%;
}

.gallery-main {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #e9eeeb;
}

.gallery-main img {
    width: 100%;
    height: 510px;

    object-fit: cover;

    border-radius: 12px;

    transition:
        opacity 0.25s ease;
}


/* =========================================================
   SETAS DO CARROSSEL
   ========================================================= */

.gallery-main .gallery-arrow {
    position: absolute !important;

    top: 50% !important;

    width: 48px !important;
    height: 48px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;

    border-radius: 50% !important;

    background: rgba(0, 0, 0, 0.62) !important;

    color: #ffffff !important;

    font-size: 30px !important;
    line-height: 1 !important;

    cursor: pointer !important;

    opacity: 1 !important;
    visibility: visible !important;

    z-index: 100 !important;

    transform: translateY(-50%) !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.gallery-main .gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.82) !important;

    transform: translateY(-50%) scale(1.05) !important;
}


/* SETA ESQUERDA */

.gallery-main #gallery-prev,
.gallery-main .gallery-prev {
    left: 18px !important;
    right: auto !important;
    top: 50% !important;
}


/* SETA DIREITA */

.gallery-main #gallery-next,
.gallery-main .gallery-next {
    right: 18px !important;
    left: auto !important;
    top: 50% !important;
}


/* =========================================================
   MINIATURAS
   ========================================================= */

.gallery-thumbs {
    display: flex !important;

    align-items: center;

    gap: 12px;

    width: 100%;

    margin-top: 14px;

    padding-bottom: 5px;

    overflow-x: auto;
}

.gallery-thumbs img {
    width: 88px !important;
    height: 62px !important;

    flex: 0 0 88px !important;

    object-fit: cover;

    border: 2px solid transparent;

    border-radius: 6px;

    cursor: pointer;

    opacity: 0.78;

    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.gallery-thumbs img:hover {
    opacity: 1;

    transform: translateY(-2px);
}

.gallery-thumbs img.active {
    border-color: var(--verde);

    opacity: 1;
}


/* =========================================================
   BLOCO POR QUE ESCOLHER
   ========================================================= */

.trust {
    width: 100%;
}

.trust .cards-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

    width: 100%;
}

.trust .service-card {
    width: 100%;
    min-width: 0;

    min-height: 205px;

    padding: 30px;

    margin: 0;

    background: #ffffff;

    border: 1px solid var(--cinza-borda);

    border-radius: var(--raio);

    box-shadow: var(--sombra);

    overflow: visible;
}

.trust .service-card h3 {
    margin-bottom: 12px;

    color: var(--verde-escuro);

    font-size: 22px;

    line-height: 1.25;

    white-space: normal;
}

.trust .service-card p {
    margin: 0;

    color: var(--cinza);

    font-size: 15px;

    line-height: 1.65;

    max-width: none;
}


/* =========================================================
   CORREÇÃO ESPECÍFICA DOS SERVIÇOS
   ========================================================= */

.services-section .cards-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
}

.services-section .service-card {
    width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;
}


/* =========================================================
   BANNER DE ORÇAMENTO
   ========================================================= */

.quote-banner {
    background: var(--verde-escuro);

    color: #ffffff;

    padding: 55px 0;
}

.quote-banner .container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;
}

.quote-banner h2 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 34px;
    line-height: 1.2;
}

.quote-banner p {
    color: #ffffff;

    font-size: 16px;
}

.quote-banner .btn {
    flex-shrink: 0;
}


/* =========================================================
   RODAPÉ
   ========================================================= */

.site-footer {
    background: #0b2419;

    color: #ffffff;

    padding: 55px 0 25px;
}

.site-footer .footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr;

    gap: 45px;
}

.site-footer h3 {
    margin-bottom: 16px;

    color: #ffffff;

    font-size: 17px;
}

.site-footer p {
    margin-bottom: 8px;

    color: #cccccc;

    font-size: 14px;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: var(--dourado);
}

.footer-bottom {
    margin-top: 40px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.15);

    text-align: center;

    color: #aaaaaa;

    font-size: 13px;
}


/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */

.whatsapp-float {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 999;

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #129447;

    color: #ffffff;

    border-radius: 50%;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.20);

    font-size: 24px;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.whatsapp-float:hover {
    background: #0d7c3b;

    transform: scale(1.06);
}


/* =========================================================
   GARANTIA DOS GRIDS
   ========================================================= */

.cards-grid > *,
.trust > *,
.services-section .cards-grid > * {
    min-width: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .hero-inner {
        gap: 35px;
    }

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

    .hero-image img {
        height: 330px;
    }
}


/* =========================================================
   TABLET MENOR
   ========================================================= */

@media (max-width: 900px) {

    .site-header,
    .header-inner {
        height: 82px;
        min-height: 82px;
    }

    .brand {
        height: 82px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .brand img {
        width: 165px;
        max-width: 100%;
        max-height: 64px;
    }

    .main-nav {
        gap: 10px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 30px);
        max-width: 600px;
    }


    /* CABEÇALHO */

    .site-header {
        width: 100%;
        height: 80px;
        min-height: 80px;
        overflow: visible;
    }

    .header-inner {
        position: relative;
        width: 100%;
        height: 80px;
        min-height: 80px;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .brand {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
        max-width: calc(100% - 60px);
        height: 80px;
    }

    .brand img {
        width: 155px;
        max-width: 100%;
        max-height: 62px;
        height: auto;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin-left: auto;
    }

    /*
       O JavaScript adiciona a classe "open" ao clicar
       no botão do menu. Esta regra faz o menu aparecer.
    */
    .main-nav {
        display: none;
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0 !important;
        margin: 0 !important;
        padding: 10px 0 15px;
        white-space: normal;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 12px 10px;
        font-size: 15px;
        white-space: normal;
    }

    .main-nav .nav-cta,
    .main-nav .btn-whatsapp {
        display: flex;
        width: 100%;
        margin-top: 4px;
        justify-content: center;
    }

    .btn-whatsapp {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-logo {
        width: 180px;
        max-width: 100%;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 39px;
    }

    .hero p {
        max-width: 100%;
        font-size: 16px;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: 300px;
    }


    /* SEÇÕES */

    .section {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 34px;
    }


    /* SOBRE */

    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-col h2 {
        font-size: 32px;
    }


    /* SERVIÇOS */

    .cards-grid,
    .services-section .cards-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card {
        min-height: auto;
    }


    /* GALERIA */

    .gallery-main img {
        height: 300px;
    }

    .gallery-main .gallery-arrow {
        width: 42px !important;
        height: 42px !important;
        font-size: 25px !important;
    }

    .gallery-main #gallery-prev,
    .gallery-main .gallery-prev {
        left: 10px !important;
    }

    .gallery-main #gallery-next,
    .gallery-main .gallery-next {
        right: 10px !important;
    }

    .gallery-thumbs {
        gap: 8px;
    }

    .gallery-thumbs img {
        width: 76px !important;
        height: 54px !important;
        flex-basis: 76px !important;
    }


    /* BANNER */

    .quote-banner .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-banner h2 {
        font-size: 30px;
    }


    /* RODAPÉ */

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    /* BOTÃO FLUTUANTE */

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }
}


/* =========================================================
   CELULAR PEQUENO
   ========================================================= */

@media (max-width: 500px) {

    .container {
        width: calc(100% - 24px);
        max-width: none;
    }

    .brand {
        max-width: calc(100% - 54px);
    }

    .brand img {
        width: 145px;
        max-width: 100%;
        max-height: 58px;
    }

    .hero h1 {
        font-size: 34px;
        overflow-wrap: anywhere;
    }

    .hero-actions {
        width: 100%;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .gallery-main img {
        height: 250px;
    }

    .section-heading h2,
    .two-col h2 {
        font-size: 30px;
    }
}


/* =========================================================
   FIM DO CSS
   =========================================================
