/* ============================================================
   HOME - WR CONSTRUTORA
   Index completo (vídeo, seções, responsivo)
   ============================================================ */

/* ---------- PALETA / BASE ---------- */
:root {
    --preto: #181818;
    --preto-soft: #222222;
    --cinza-escuro: #3b3b3b;
    --cinza: #f1f1f1;
    --cinza-claro: #f8f8f8;
    --branco: #ffffff;
    --dourado: #c49b3f;
    --dourado-dark: #a67f2c;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ============================================================
   HERO COM VÍDEO DE FUNDO – RESPONSIVO
============================================================ */

.hero-video {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--branco);
    overflow: hidden;
}

/* vídeo de fundo */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
}

/* overlay escuro */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,0,0,.78), rgba(0,0,0,.55));
}

/* conteúdo */
.hero-content {
    position: relative;
    width: 92%;
    max-width: 1200px;
    margin: auto;
    z-index: 1;
}

/* selo acima do título */
.hero-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    margin-bottom: 18px;
}

/* título */
.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 580px;
}

/* subtítulo */
.hero-content p {
    margin-top: 14px;
    max-width: 520px;
    font-size: 1.05rem;
    color: #e4e4e4;
}

/* botões */
.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: .98rem;
}

.btn-hero-primary {
    background: var(--dourado);
    color: var(--preto-soft);
}

.btn-hero-primary:hover {
    background: var(--dourado-dark);
}

.btn-hero-secondary {
    border: 1px solid rgba(255,255,255,.6);
    color: var(--branco);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,.12);
}

/* info extra */
.hero-info {
    margin-top: 18px;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dddddd;
}

.hero-info .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dourado);
}

/* ==============================================
   RESPONSIVIDADE REAL — AJUSTADO PRA CELULAR
================================================= */

@media (max-width: 900px) {
    .hero-video {
        min-height: 70vh;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        max-width: 90%;
    }

    .hero-content p {
        font-size: .95rem;
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .hero-video {
        min-height: 75vh;
        display: flex;
        align-items: flex-end; /* Traz texto mais para baixo */
        padding-bottom: 35px;
    }

    /* vídeo ajustado para aparecer melhor no vertical */
    .hero-bg-video {
        object-fit: cover;
        object-position: center;
    }

    /* overlay mais forte para contraste */
    .hero-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.55));
    }

    .hero-content h1 {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: .9rem;
        margin-top: 10px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 260px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 22px;
    }

    .hero-info {
        font-size: .82rem;
        margin-top: 14px;
    }
}

/* ============================================================
   ESTRUTURA BASE DAS SEÇÕES
============================================================ */

.section {
    padding: 70px 0;
}

.section-inner {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

.section-header {
    margin-bottom: 35px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--preto-soft);
}

.section-header p {
    margin-top: 8px;
    color: #555;
}

/* tag acima dos títulos */
.section-tag {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
}

/* ============================================================
   DIFERENCIAIS
============================================================ */

.section-diferenciais {
    background: var(--cinza-claro);
}

.dif-grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 768px) {
    .dif-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.dif-item {
    background: var(--branco);
    padding: 18px 18px 20px;
    border-radius: 10px;
    border: 1px solid #e4e4e4;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}

.dif-item h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--preto-soft);
}

.dif-item p {
    font-size: .95rem;
    color: #555;
}

/* mobile dif */
@media (max-width: 900px) {
    .dif-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .dif-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PORTFÓLIO
============================================================ */

.section-portfolio {
    background: var(--branco);
}

.portfolio-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    background: var(--cinza-claro);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}

.portfolio-img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.portfolio-text {
    padding: 16px 18px 20px;
}

.portfolio-text h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: var(--preto-soft);
}

.portfolio-text p {
    font-size: .94rem;
    color: #555;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

/* ============================================================
   SOBRE
============================================================ */

.section-sobre {
    background: var(--cinza);
}

.sobre-inner {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 900px) {
    .sobre-inner {
        grid-template-columns: 1.1fr 1fr;
    }
}

.sobre-texto h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.sobre-texto p {
    margin-bottom: 10px;
    color: #444;
    font-size: .98rem;
}

.btn-sobre {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 24px;
    text-decoration: none;
    background: var(--preto);
    color: var(--branco);
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 500;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

/* mobile sobre */
@media (max-width: 900px) {
    .sobre-inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   ORÇAMENTO
============================================================ */

.section-orcamento {
    background: var(--preto-soft);
    color: var(--branco);
}

.orcamento-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.orcamento-texto h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.orcamento-texto p {
    color: #dcdcdc;
    font-size: .98rem;
}

.btn-orcamento {
    display: inline-block;
    padding: 12px 28px;
    background: var(--dourado);
    border-radius: 999px;
    text-decoration: none;
    color: var(--preto-soft);
    font-weight: 600;
    white-space: nowrap;
}

.btn-orcamento:hover {
    background: var(--dourado-dark);
}

/* mobile orcamento */
@media (max-width: 700px) {
    .orcamento-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   SEÇÃO CONTATO - WR CONSTRUTORA
============================================ */

.contato-section {
    padding: 70px 0;
    background: #f9f9f9;
}

.contato-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 45px;
    padding: 0 20px;
}

/* ============================================
   COLUNA ESQUERDA (Informações)
============================================ */

.contato-info {
    flex: 1;
    min-width: 260px;
}

.contato-info h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 10px;
}

.contato-info p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contato-list {
    list-style: none;
    padding: 0;
}

.contato-list li {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.contato-list i {
    color: var(--dourado);
    margin-right: 8px;
}

/* HERO */
.sobre-hero {
    background: url('assets/img/hero-sobre.jpg') center/cover no-repeat;
    height: 45vh;
    color: white;
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

/* Texto */
.texto-sobre {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

/* Ícones */
.icone-list li {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

/* Imagem */
.sobre-img-box img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* Valores */
.valor-icon {
    font-size: 2.2rem;
    color: #c79a3b;
}

.valor-box {
    background: #fff;
    transition: .3s ease;
}

.valor-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Contato */
.icones-contato li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
/* =========================
   HERO DOS SERVIÇOS
========================= */
.servicos-hero {
    height: 40vh;
    background: url('assets/img/servicos-hero.jpg') center/cover no-repeat;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* =========================
   BOXES DE SERVIÇOS
========================= */
.servico-box {
    background: #fff;
    transition: .3s ease;
    border-radius: 12px;
}

.servico-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Ícones */
.servico-icon {
    font-size: 2.8rem;
    color: #c79a3b;
}

/* =========================
   CTA
========================= */
.servicos-cta {
    background: #222;
    color: #fff;
}

.servicos-cta .btn-warning {
    background: #c79a3b;
    border: none;
}

.servicos-cta .btn-warning:hover {
    background: #a67e2e;
}



/* ================================================
   BOTÃO FLUTUANTE WHATSAPP – WR CONSTRUTORA
   Personalizado com tema de construção
================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    width: 68px;
    height: 68px;
    background: #25d366;
    border-radius: 50%;
    border: 3px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: .25s ease;
}

.whatsapp-float img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: scale(1.09);
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

/* MOBILE AJUSTADO */
@media (max-width: 600px) {
    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 16px;
        bottom: 18px;
    }

    .whatsapp-float img {
        width: 32px;
        height: 32px;
    }
}

