/* ============================================
   CONSTRUTECK — Site v2.0
   Paleta: #F57C20 (laranja) · #4A4A4A (cinza) · #FFFFFF
   ============================================ */

:root {
    --laranja: #F57C20;
    --laranja-dark: #d96810;
    --laranja-soft: rgba(245, 124, 32, 0.1);
    --cinza: #4A4A4A;
    --cinza-claro: #6b6b6b;
    --cinza-bg: #f5f5f5;
    --cinza-borda: #e5e5e5;
    --branco: #FFFFFF;
    --preto: #1a1a1a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
    --container: 1280px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Barlow', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cinza);
    background: var(--branco);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* === TIPOGRAFIA === */
h1, h2, h3, h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    color: var(--preto);
    /* SEM text-shadow — item 01 do brief */
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

/* Pontos finais dos títulos em laranja — item 02 */
.title-dot { color: var(--laranja); }

/* === CONTAINER === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1rem;
    letter-spacing: 0.5px; text-transform: uppercase;
    border-radius: 4px; transition: var(--transition); cursor: pointer;
    border: 2px solid transparent;
}
.btn--primary { background: var(--laranja); color: white; }
.btn--primary:hover { background: var(--laranja-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost-light {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.25); border-color: white; }
.btn--outline { background: transparent; color: var(--cinza); border-color: var(--cinza); }
.btn--outline:hover { background: var(--cinza); color: white; }
.btn--small { padding: 10px 22px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* === HEADER === */
.header {
    position: sticky; top: 0; z-index: 100;
    background: var(--branco);
    border-bottom: 1px solid var(--cinza-borda);
    /* SEM text-shadow nem sombra na fonte — item 01 */
}
.header__inner {
    max-width: var(--container); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px;
}
.header__logo img { height: 48px; width: auto; }

.nav__list { display: flex; gap: 32px; align-items: center; }
.nav__link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: 1.05rem;
    color: var(--cinza); text-transform: uppercase; letter-spacing: 0.8px;
    padding: 8px 0; transition: color var(--transition);
    display: inline-flex; align-items: center; gap: 4px;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--laranja); }
.nav__link--accent {
    background: var(--laranja); color: white !important;
    padding: 10px 20px; border-radius: 4px;
}
.nav__link--accent:hover { background: var(--laranja-dark); }

.nav__item--has-dropdown { position: relative; }
.nav__dropdown {
    position: absolute; top: 100%; left: 0;
    background: white; min-width: 220px;
    box-shadow: var(--shadow-md); border-radius: 4px;
    padding: 8px 0; opacity: 0; visibility: hidden;
    transform: translateY(8px); transition: var(--transition);
    border-top: 3px solid var(--laranja);
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown a {
    display: block; padding: 10px 20px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 500;
    color: var(--cinza); transition: background var(--transition);
}
.nav__dropdown a:hover { background: var(--laranja-soft); color: var(--laranja); }

.header__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.header__burger span { width: 24px; height: 2px; background: var(--cinza); transition: var(--transition); }

.mobile-menu {
    position: fixed; top: 80px; left: 0; right: 0; z-index: 99;
    background: white; box-shadow: var(--shadow-md);
    max-height: calc(100vh - 80px); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { padding: 16px 0; }
.mobile-menu a {
    display: block; padding: 16px 24px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.1rem;
    color: var(--cinza); text-transform: uppercase; letter-spacing: 0.8px;
    border-bottom: 1px solid var(--cinza-borda);
}
.mobile-menu__accent { color: var(--laranja) !important; }

/* === HERO — overlay gradient + textos brancos (fix mobile) === */
.hero {
    position: relative;
    min-height: 540px;
    /* Altura reduzida — item 03 (espaço hero ↔ próxima seção) */
    display: flex; align-items: center;
    overflow: hidden;
    background: var(--preto);
}
.hero__slides {
    position: absolute; inset: 0;
}
.hero__slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
/* Overlay escuro pra garantir contraste do texto em qualquer arte */
.hero__slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero__content {
    position: relative; z-index: 2;
    max-width: var(--container); width: 100%;
    margin: 0 auto; padding: 0 24px;
}
.hero__inner { max-width: 640px; }

.hero__tag {
    display: inline-block;
    color: var(--laranja);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 0.9rem;
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 16px;
}
.hero__tag::before { content: '— '; opacity: 0.7; }

.hero__title {
    color: white;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4); /* leve, só pra reforçar legibilidade do texto branco */
}
.hero__title-accent { color: var(--laranja); }

.hero__desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    margin-bottom: 32px; max-width: 540px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__dots {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%); z-index: 3;
    display: flex; gap: 12px;
}
.hero__dot {
    width: 32px; height: 3px;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition); cursor: pointer;
    border: none;
}
.hero__dot.is-active { background: var(--laranja); width: 48px; }

/* === SEÇÕES === */
.section { padding: 80px 0; }
.section--alt { background: var(--cinza-bg); }
.section--dark { background: var(--preto); color: rgba(255, 255, 255, 0.9); }
.section--dark h2 { color: white; }

.section__eyebrow {
    color: var(--laranja);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 0.95rem;
    letter-spacing: 3px; text-transform: uppercase;
    text-align: center; margin-bottom: 12px;
}
.section__title {
    text-align: center; margin-bottom: 12px;
}
.section__desc {
    text-align: center; color: var(--cinza-claro);
    max-width: 700px; margin: 0 auto 48px;
}

/* === EM DESTAQUE AGORA — espaço reduzido === */
.empreendimentos-section {
    /* Item 03 — reduzir margem top pra aparecer já no first fold */
    padding-top: 48px;
}

/* === FILTROS RÁPIDOS === */
.filtros {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center; margin-bottom: 40px;
}
.filtros__group { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.filtros__btn {
    padding: 10px 20px;
    background: white; border: 2px solid var(--cinza-borda);
    border-radius: 100px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    color: var(--cinza); text-transform: uppercase; letter-spacing: 0.5px;
    transition: var(--transition); cursor: pointer;
}
.filtros__btn:hover { border-color: var(--laranja); color: var(--laranja); }
.filtros__btn.is-active { background: var(--laranja); border-color: var(--laranja); color: white; }

/* === CARDS DE EMPREENDIMENTO (hierarquia Cidade > Bairro > Nome — item 08) === */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

.card {
    background: white; border-radius: 8px; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
    display: flex; flex-direction: column;
    position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card__media {
    position: relative; aspect-ratio: 16 / 11;
    overflow: hidden; background: var(--cinza-bg);
}
.card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.card:hover .card__media img { transform: scale(1.05); }

.card__badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--laranja); color: white;
    padding: 6px 14px; border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 0.8rem;
    letter-spacing: 1.5px; text-transform: uppercase;
}
.card__badge--em-breve { background: var(--cinza); }
.card__badge--em-obras { background: #2196f3; }

.card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

/* HIERARQUIA: Cidade grande, bairro pequeno, nome grande */
.card__cidade {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 1.6rem;
    color: var(--preto); text-transform: uppercase;
    letter-spacing: 0.5px; line-height: 1;
    margin-bottom: 4px;
}
.card__cidade-estado { color: var(--laranja); }
.card__bairro {
    font-size: 0.85rem; color: var(--cinza-claro);
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px;
}
.card__nome {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1.4rem;
    color: var(--cinza); margin-bottom: 16px; line-height: 1.2;
}
.card__nome-accent { color: var(--laranja); }
.card__info { color: var(--cinza-claro); font-size: 0.95rem; margin-bottom: 20px; flex: 1; }

.card__footer { display: flex; gap: 12px; }
.card__footer .btn { flex: 1; }

/* === POR QUE A CONSTRUTECK — item 06 === */
.diferenciais { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.diferencial {
    text-align: center; padding: 32px 24px;
    background: white; border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.diferencial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.diferencial__icon {
    width: 64px; height: 64px;
    background: var(--laranja-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: var(--laranja);
}
.diferencial__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1.3rem;
    color: var(--preto); margin-bottom: 8px;
}
.diferencial__desc { color: var(--cinza-claro); font-size: 0.95rem; }

/* === VÍDEO INSTITUCIONAL === */
.video-section {
    background: var(--cinza-bg);
}
.video-wrapper {
    max-width: 960px; margin: 0 auto;
    aspect-ratio: 16 / 9; background: var(--preto);
    border-radius: 8px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem; letter-spacing: 2px;
}

/* === CTA SECTION === */
.cta-band {
    background: linear-gradient(135deg, var(--laranja) 0%, var(--laranja-dark) 100%);
    color: white; text-align: center;
    padding: 64px 24px;
}
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p { font-size: 1.1rem; margin-bottom: 32px; opacity: 0.95; }
.cta-band .btn { background: white; color: var(--laranja); }
.cta-band .btn:hover { background: var(--preto); color: white; }

/* === VENDA SEU TERRENO === */
.terreno-hero {
    background: linear-gradient(135deg, var(--preto) 0%, var(--cinza) 100%);
    color: white; padding: 80px 0 60px;
    text-align: center;
}
.terreno-hero h1 { color: white; margin-bottom: 16px; }
.terreno-hero h1 .title-accent { color: var(--laranja); }
.terreno-hero p { font-size: 1.15rem; max-width: 680px; margin: 0 auto; opacity: 0.9; }

.terreno-form-wrapper {
    max-width: 720px; margin: -40px auto 0;
    background: white; border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 48px;
    position: relative; z-index: 2;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; margin-bottom: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    color: var(--cinza); text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group .required { color: var(--laranja); }
.form-control {
    width: 100%; padding: 12px 16px;
    border: 2px solid var(--cinza-borda); border-radius: 4px;
    background: white; color: var(--cinza);
    transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--laranja); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-honeypot { position: absolute; left: -9999px; }

.terreno-pitch { padding: 60px 0; }
.terreno-pitch__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.terreno-pitch__item h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem; color: var(--preto); margin-bottom: 12px;
}
.terreno-pitch__item h3 .title-dot { color: var(--laranja); }

.form-alert {
    padding: 16px; border-radius: 4px; margin-bottom: 24px;
    font-weight: 500;
}
.form-alert--success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.form-alert--error { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* === EMPREENDIMENTO ONE-PAGE (Galeria/Planta/Decorado) === */
.empre-hero {
    position: relative; min-height: 480px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end;
    color: white;
}
.empre-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
}
.empre-hero__content { position: relative; z-index: 2; padding: 48px 24px; }
.empre-hero h1 { color: white; }
.empre-hero__location { color: var(--laranja); letter-spacing: 2px; }

.empre-nav {
    position: sticky; top: 80px; z-index: 50;
    background: white; border-bottom: 1px solid var(--cinza-borda);
    box-shadow: var(--shadow-sm);
}
.empre-nav__list {
    display: flex; gap: 0;
    max-width: var(--container); margin: 0 auto;
    overflow-x: auto;
}
.empre-nav__list a {
    flex: 1; min-width: 120px;
    padding: 16px 24px; text-align: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    color: var(--cinza); border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.empre-nav__list a:hover, .empre-nav__list a.is-active {
    color: var(--laranja); border-color: var(--laranja);
}

.empre-section { padding: 64px 0; scroll-margin-top: 140px; }

.galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.galeria__item {
    aspect-ratio: 4/3; overflow: hidden; border-radius: 4px;
    background: var(--cinza-bg); cursor: pointer;
    transition: var(--transition);
}
.galeria__item:hover { transform: scale(0.98); }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; }

/* === FOOTER === */
.footer {
    background: var(--preto); color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 24px;
}
.footer__inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Fale Conosco discreto, centralizado — item 07 */
.footer__cta {
    text-align: center; margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__cta-label {
    color: var(--laranja);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600; font-size: 0.95rem;
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 16px;
}

.footer__grid {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer__logo { filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer__tagline { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer__title {
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1.05rem;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.footer__list li { margin-bottom: 8px; font-size: 0.95rem; }
.footer__list a:hover { color: var(--laranja); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
    width: 40px; height: 40px;
    border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: white; transition: var(--transition);
}
.footer__social a:hover { background: var(--laranja); }

.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* === WHATSAPP FLOAT === */
.wpp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 90;
    width: 60px; height: 60px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: wpp-pulse 2.5s infinite;
}
.wpp-float:hover { transform: scale(1.1); }
@keyframes wpp-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* === RESPONSIVO === */
@media (max-width: 960px) {
    .nav { display: none; }
    .header__burger { display: flex; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
    .terreno-form-wrapper { padding: 32px 24px; margin: -32px 16px 0; }
}

@media (max-width: 640px) {
    .section { padding: 56px 0; }
    .empreendimentos-section { padding-top: 32px; }
    .hero { min-height: 480px; }
    .hero__title { font-size: 2.2rem; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; }
    .cards { grid-template-columns: 1fr; gap: 20px; }
    .filtros { gap: 8px; }
    .filtros__btn { padding: 8px 16px; font-size: 0.85rem; }
    .empre-nav__list a { font-size: 0.85rem; min-width: 100px; padding: 12px 16px; }
    .wpp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}
