/* ==================================================
   Clube Síndicos Coworking — ajustes da landing page
   (overrides próprios, carregados depois do template)
   ================================================== */

/* ---------- HEADER escuro (logo tem texto branco) ---------- */
header,
header.transparent,
header.smaller,
header.header-light,
header.scroll-light {
    background: #0D0D0D !important;
}

/* Header fixo com auto-hide (some ao descer, volta ao subir) */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    transition: transform .35s ease;
}
header.nav-hidden { transform: translateY(-100%); }

/* Logo do header */
#logo img.logo,
#logo img.logo-2 {
    height: 70px !important;
    width: auto !important;
    max-width: 100%;
}

/* Menu: texto claro e fonte maior */
#mainmenu > li > a {
    color: #fff !important;
    font-size: 16px !important;
    letter-spacing: .3px;
}
#mainmenu > li > a:hover,
#mainmenu > li:hover > a {
    color: var(--primary-color) !important;
}

/* Botão "Reservar" do menu: dourado, maior, pra destacar no header preto */
header .menu_side_area .btn-main {
    background: var(--primary-color) !important;
    color: #0D0D0D !important;
    border: none !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    padding: 15px 40px !important;
}
header .menu_side_area .btn-main:hover {
    background: #fff !important;
    color: #0D0D0D !important;
}

/* Garante que o hero não fique escondido atrás do header */
#section-hero { padding-top: 120px; }

/* Collage escalonado de 3 fotos na hero */
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-collage .hc-col { display: flex; flex-direction: column; gap: 14px; }
.hero-collage .hc-col-2 { margin-top: 46px; }
.hero-collage img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.hero-collage .hc-col-1 img { height: 330px; }
.hero-collage .hc-col-2 img { height: 158px; }

@media only screen and (max-width: 992px) {
    #logo img.logo,
    #logo img.logo-2 { height: 54px !important; }
    #section-hero { padding-top: 100px; }
}

/* ---------- BOTÕES CTA maiores ---------- */
.btn-main {
    font-size: 16px !important;
    padding: 15px 34px !important;
    line-height: 1.2 !important;
}

/* CTA em seções de fundo preto: botão branco pra destacar */
section.bg-color-secondary .btn-main {
    background: #fff !important;
    color: #0D0D0D !important;
}
section.bg-color-secondary .btn-main:hover {
    background: var(--primary-color) !important;
    color: #0D0D0D !important;
}

/* CTA final (fundo dourado): botão preto pra destacar */
section.call-to-action .btn-main {
    background: #0D0D0D !important;
    color: #fff !important;
}
section.call-to-action .btn-main:hover {
    background: #fff !important;
    color: #0D0D0D !important;
}

/* ---------- CARDS de altura igual ---------- */
#dores .row,
#numeros .row {
    display: flex;
    flex-wrap: wrap;
}
#dores [class*="col-"],
#numeros [class*="col-"] {
    display: flex;
}
#dores .feature-box-type-2 {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 34px 22px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
}

/* Estrutura completa — cards maiores */
#numeros .de_count {
    width: 100%;
    height: 100%;
    min-height: 210px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 46px 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#numeros .de_count h3,
#numeros .de_count h3 span {
    font-size: 46px !important;
    line-height: 1.1 !important;
    margin-bottom: 12px !important;
    color: var(--primary-color);
}
#numeros .de_count h5 { font-size: 15px; line-height: 1.4; }

/* ---------- PACOTE DO AUDITÓRIO — conteúdo centralizado ---------- */
#preco .pricing-s1 { text-align: center; }
#preco .pricing-s1 .bottom ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto;
}
#preco .pricing-s1 .bottom li { text-align: center; }

/* ---------- AVALIAÇÕES (carrossel próprio, scroll-snap) ---------- */
#avaliacoes .reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#avaliacoes .reviews-track::-webkit-scrollbar { display: none; }
#avaliacoes .reviews-track > .item {
    scroll-snap-align: start;
    flex: 0 0 calc(33.333% - 16px);
    display: flex;
}
#avaliacoes .review-card {
    width: 100%;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}
@media (max-width: 992px) { #avaliacoes .reviews-track > .item { flex-basis: calc(50% - 12px); } }
@media (max-width: 600px) { #avaliacoes .reviews-track > .item { flex-basis: 100%; } }
#avaliacoes .review-stars { color: var(--primary-color); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
#avaliacoes .review-text { font-style: italic; color: #e6e6e6; line-height: 1.6; flex-grow: 1; margin-bottom: 22px; }
#avaliacoes .review-author { display: flex; align-items: center; }
#avaliacoes .review-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary-color); color: #0D0D0D;
    font-weight: 700; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 14px; flex-shrink: 0;
}
#avaliacoes .review-name { font-weight: 700; color: #fff; line-height: 1.2; }
#avaliacoes .review-role { font-size: 13px; color: #9a9a9a; }
#avaliacoes .reviews-nav { text-align: center; margin-top: 26px; }
#avaliacoes .rev-arrow {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: transparent; color: var(--primary-color);
    font-size: 20px; margin: 0 8px; cursor: pointer; transition: all .25s;
}
#avaliacoes .rev-arrow:hover { background: var(--primary-color); color: #0D0D0D; }

/* ---------- CTA final: título menor ---------- */
section.call-to-action h1 {
    font-size: 30px;
    line-height: 1.35;
    margin-bottom: 0;
}
@media only screen and (max-width: 768px) {
    section.call-to-action h1 { font-size: 22px; }
}

/* ---------- RODAPÉ preto e centralizado ---------- */
footer,
footer.footer-light { background: #0D0D0D !important; }
footer .widget { text-align: center; }
footer h5 { color: #fff; }
footer .widget p,
footer .widget a,
footer .footer-tagline { color: #d4d4d4; font-size: 15.5px; line-height: 1.7; }
footer .widget a:hover { color: var(--primary-color); }
footer .widget .social-icons { text-align: center; margin-top: 12px; }
footer .f-logo-main { height: 88px; width: auto; margin-bottom: 18px; }

/* Subrodapé preto, centralizado, 3 linhas */
footer .subfooter { background: #000 !important; border-top: 1px solid #222; }
footer .subfooter .sub-center { text-align: center; width: 100%; }
footer .subfooter .sub-center p { margin: 6px 0; color: #d4d4d4; font-size: 15px; }
footer .subfooter .sub-center a { color: var(--primary-color); }
footer .subfooter .sub-center a:hover { text-decoration: underline; }

/* ---------- COOKIE BANNER ---------- */
#cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 18px 22px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
#cookie-banner.show { display: flex; }
#cookie-banner p { color: #e6e6e6; margin: 0; font-size: 14.5px; line-height: 1.5; }
#cookie-banner p a { color: var(--primary-color); }
#cookie-banner .cookie-actions { flex-shrink: 0; }
#cookie-banner .btn-cookie {
    background: var(--primary-color);
    color: #0D0D0D;
    border: none;
    font-weight: 700;
    padding: 11px 26px;
    border-radius: 8px;
    cursor: pointer;
}
#cookie-banner .btn-cookie:hover { opacity: .9; }
@media only screen and (max-width: 768px) {
    #cookie-banner { flex-direction: column; text-align: center; }
}

/* ---------- GALERIA ---------- */
#galeria .gallery-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
#galeria .gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .4s ease;
}
#galeria .gallery-item:hover img { transform: scale(1.07); }
#galeria .gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,13,13,.55);
    color: var(--primary-color);
    font-size: 28px;
    opacity: 0;
    transition: opacity .3s ease;
}
#galeria .gallery-item:hover .gallery-zoom { opacity: 1; }

/* ---------- ANIMAÇÃO DE REVEAL (aplicada via JS) ---------- */
.reveal-up { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal-up.in-view { opacity: 1; transform: none; }

/* Remove a seta "voltar ao topo" (conflita com o WhatsApp flutuante) */
#back-to-top { display: none !important; }

/* ---------- WHATSAPP FLUTUANTE ---------- */
#wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    transition: transform .2s;
    animation: wa-pulse 2.2s infinite;
}
#wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
    0%   { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 768px) { #wa-float { width: 54px; height: 54px; font-size: 28px; } }

/* Sobe o WhatsApp flutuante quando o banner de cookies está visível */
#cookie-banner.show ~ #wa-float { bottom: 110px; }
@media (max-width: 768px) { #cookie-banner.show ~ #wa-float { bottom: 170px; } }

/* ---------- POPUP (modal) WHATSAPP ---------- */
#waModal .modal-dialog { max-width: 440px; }
#waModal .modal-content {
    position: relative;
    background: linear-gradient(180deg, #1b1b1b 0%, #121212 100%);
    color: #fff;
    border: 1px solid #2c2c2c;
    border-radius: 18px;
    padding: 8px 10px 14px;
    box-shadow: 0 24px 70px rgba(0,0,0,.55);
    overflow: hidden;
}
#waModal .modal-content::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #25D366);
}
#waModal .wa-close {
    position: absolute;
    top: 14px; right: 16px;
    background: none; border: none;
    color: #888; font-size: 26px; line-height: 1;
    cursor: pointer; z-index: 2;
}
#waModal .wa-close:hover { color: #fff; }
#waModal .wa-head { text-align: center; padding: 26px 24px 6px; }
#waModal .wa-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: #25D366; color: #fff;
    font-size: 34px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 22px rgba(37,211,102,.35);
}
#waModal .wa-head h5 { color: #fff; font-weight: 700; font-size: 21px; margin-bottom: 8px; }
#waModal .wa-head p { color: #b9b9b9; font-size: 14px; margin: 0; line-height: 1.5; }
#waModal form { padding: 18px 28px 26px; }
#waModal label { font-size: 13px; color: #cfcfcf; margin-bottom: 5px; display: block; font-weight: 600; }
#waModal .form-control {
    background: #0d0d0d;
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
#waModal .form-control::placeholder { color: #6f6f6f; }
#waModal .form-control:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
#waModal .btn-wa-send {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    transition: all .2s;
}
#waModal .btn-wa-send:hover { background: #1eb858; transform: translateY(-1px); }

/* ============================================================
   MOBILE — drawer lateral + ajustes de conteúdo
   ============================================================ */
@media (max-width: 992px) {
    /* esconde o menu horizontal e o botão Reservar da barra no mobile */
    header #mainmenu { display: none !important; }
    header .menu_side_area .btn-main { display: none !important; }
}
@media (min-width: 993px) {
    #mobile-drawer, #mobile-overlay { display: none !important; }
}

/* overlay */
#mobile-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease;
    z-index: 9999;
}
body.drawer-open #mobile-overlay { opacity: 1; visibility: visible; }

/* drawer lateral */
#mobile-drawer {
    position: fixed; top: 0; right: 0;
    width: 300px; max-width: 84%; height: 100%;
    background: #0D0D0D;
    border-left: 1px solid #222;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 10000;
    display: flex; flex-direction: column;
    overflow-y: auto;
}
body.drawer-open #mobile-drawer { transform: translateX(0); }
#mobile-drawer .md-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid #222;
}
#mobile-drawer .md-logo { height: 42px; width: auto; }
#mobile-drawer .md-close {
    background: none; border: 1px solid #3a3a3a; color: #fff;
    width: 40px; height: 40px; border-radius: 8px;
    font-size: 22px; line-height: 1; cursor: pointer;
}
#mobile-drawer .md-close:hover { border-color: var(--primary-color); color: var(--primary-color); }
#mobile-drawer .md-links { list-style: none; margin: 0; padding: 10px 0; flex-grow: 1; }
#mobile-drawer .md-links li { border-bottom: 1px solid #191919; }
#mobile-drawer .md-links a { display: block; text-align: center; padding: 15px 20px; color: #fff; font-size: 16px; }
#mobile-drawer .md-links a:hover { color: var(--primary-color); }
#mobile-drawer .md-cta { padding: 20px; }
#mobile-drawer .md-cta a {
    display: block; width: 100%; text-align: center;
    background: var(--primary-color); color: #0D0D0D !important;
    font-weight: 700; padding: 15px; border-radius: 8px;
}
body.drawer-open #wa-float { display: none; }

/* modal acima do drawer */
#waModal { z-index: 10060; }
.modal-backdrop.show { z-index: 10050; }

/* ----- conteúdo no mobile ----- */
@media (max-width: 768px) {
    #section-hero .col-md-6,
    #sobre .col-md-6 { text-align: center; }
    #sobre .ul-style-2 { display: inline-block; text-align: left; }
    #section-hero h1 { font-size: 27px !important; line-height: 1.3 !important; }
    #section-hero .lead { font-size: 15px !important; }
    #section-hero { padding-top: 95px; }
    section h2 { font-size: 26px !important; line-height: 1.3; }
    section.call-to-action h1 { font-size: 20px !important; }
    /* CTAs: não estourar a tela, permitir quebra de linha */
    .btn-main {
        font-size: 14px !important;
        padding: 13px 22px !important;
        white-space: normal !important;
        max-width: 100%;
        display: inline-block;
    }
}

/* ----- correções extra mobile ----- */
@media (max-width: 768px) {
    /* reduz o respiro gigante entre seções */
    section { padding-top: 45px !important; padding-bottom: 45px !important; }
    #section-hero { padding-top: 88px !important; padding-bottom: 12px !important; }
    #section-hero .spacer-single { height: 14px; }

    /* card de preço não espremido (remove o padding do container aninhado) */
    #preco .item.pricing > .container { max-width: 100%; padding-left: 0; padding-right: 0; }
    #preco .pricing-s1 .top { padding: 22px 18px; }
    #preco .pricing-s1 .bottom { padding-left: 18px; padding-right: 18px; }
    #preco .pricing-s1 .mid { padding-left: 12px; padding-right: 12px; }
}
