/* =========================================================================
   Vitória Clube — style.css
   Paleta: vinho · magenta · branco · cinza claro
   ========================================================================= */

:root {
    --vinho:        #5C1A33;
    --vinho-700:    #74204A;
    --magenta:      #C2185B;
    --magenta-400:  #E04C86;
    --branco:       #FBFAF8;
    --cinza:        #F2ECEF;
    --cinza-200:    #E4DBE0;
    --texto:        #241319;
    --muted:        #6E5A60;
    --linha:        rgba(36, 19, 25, .10);

    --grad: linear-gradient(135deg, var(--vinho) 0%, var(--magenta) 100%);
    --grad-soft: linear-gradient(135deg, rgba(92,26,51,.06), rgba(194,24,91,.06));

    --shadow-sm: 0 2px 10px rgba(36,19,25,.06);
    --shadow-md: 0 14px 40px rgba(36,19,25,.12);
    --shadow-lg: 0 30px 70px rgba(36,19,25,.20);

    --radius: 16px;
    --radius-sm: 10px;

    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --maxw: 1180px;
    --pad: clamp(20px, 5vw, 40px);
    --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--body);
    color: var(--texto);
    background: var(--branco);
    line-height: 1.6;
    font-size: 17px;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.container.narrow { max-width: 760px; }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--cinza); }
.section-dark { background: var(--vinho); color: var(--branco); }
.section-dark .eyebrow { color: var(--magenta-400); }
.section-dark .muted { color: rgba(255,255,255,.7); }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); }
.eyebrow {
    font-family: var(--body); font-weight: 700; font-size: 13px;
    letter-spacing: .18em; text-transform: uppercase; color: var(--magenta);
    margin: 0 0 14px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
    letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-block { width: 100%; }
.section-dark .btn-ghost { border-color: rgba(255,255,255,.4); }

/* ---------- Skip link / acessibilidade ---------- */
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: #fff; color: var(--vinho); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--magenta-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    padding-block: 18px;
}
.site-header.scrolled { background: rgba(92,26,51,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); padding-block: 10px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 34px; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav-menu a { color: #fff; font-weight: 600; font-size: 15px; transition: color .3s ease, opacity .2s; }
.site-header.scrolled .nav-menu a { color: #fff; }
.nav-menu a:hover { opacity: .75; }
.nav-cta { padding: 10px 20px; border-radius: 999px; background: var(--grad); color: #fff !important; box-shadow: var(--shadow-sm); }
.site-header.scrolled .nav-cta { color: #fff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; color: #fff; }
.nav-toggle span { width: 26px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.site-header.scrolled .nav-toggle { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(36,19,25,.72) 0%, rgba(36,19,25,.30) 60%, rgba(36,19,25,.10) 100%),
        linear-gradient(180deg, rgba(36,19,25,.45) 0%, rgba(36,19,25,.30) 40%, rgba(92,26,51,.80) 100%);
}
.hero-content { position: relative; max-width: 760px; padding-top: 80px; }
.hero-eyebrow { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--magenta-400); margin: 0 0 18px; }
.hero-title { font-size: clamp(38px, 7vw, 76px); font-weight: 500; }
.hero-sub { font-size: clamp(17px, 2.4vw, 21px); max-width: 540px; margin: 20px 0 32px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
    width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px;
}
.hero-scroll::after {
    content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px;
    background: #fff; transform: translateX(-50%); animation: scrollDot 1.6s infinite;
}

/* ---------- Split (texto + mídia) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-text h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 18px; }
.split-text p { color: var(--muted); margin: 0 0 24px; }
.section-dark .split-text p { color: rgba(255,255,255,.8); }
.split-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 5/6; }
.addr-line { font-weight: 600; color: var(--texto) !important; }

.bene-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0 0 28px; padding: 0; }
.bene-list li { position: relative; padding-left: 30px; font-weight: 600; }
.bene-list li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--grad);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Tabs (plantas) ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.tab-btn {
    padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
    background: #fff; color: var(--vinho); border: 1px solid var(--cinza-200); transition: all .2s ease;
}
.tab-btn:hover { border-color: var(--magenta); }
.tab-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.tab-panel img { width: 100%; max-width: 880px; margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); cursor: zoom-in; background: #fff; }

/* ---------- Galeria decorado ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item.span-2 { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; aspect-ratio: 1/1; transition: transform .6s ease; }
.gallery-item.span-2 img { aspect-ratio: 1/1; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Diferenciais ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.diff-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
    padding: 28px 22px; transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.diff-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); border-color: var(--magenta-400); }
.diff-icon {
    display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
    background: var(--grad); color: #fff; margin-bottom: 16px;
}
.diff-icon svg { width: 26px; height: 26px; }
.diff-card h3 { font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.3; }

/* ---------- Lazer grid ---------- */
.lazer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lazer-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.lazer-item img { width: 100%; height: 260px; object-fit: cover; cursor: zoom-in; transition: transform .6s ease; }
.lazer-item:hover img { transform: scale(1.07); }
.lazer-item figcaption {
    position: absolute; inset: auto 0 0 0; padding: 20px 18px 14px; color: #fff; font-weight: 700;
    background: linear-gradient(180deg, transparent, rgba(36,19,25,.85)); pointer-events: none;
}

/* ---------- Implantação ---------- */
.implantacao { margin: 0; text-align: center; }
.implantacao img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); cursor: zoom-in; }
.implantacao figcaption { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- Mapa ---------- */
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--cinza-200); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 17px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 26px; color: var(--magenta); font-weight: 400; line-height: 1; transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------- Formulário ---------- */
.lead-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form label { font-weight: 600; font-size: 14px; }
.lead-form input, .lead-form textarea {
    font: inherit; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.95); color: var(--texto); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--magenta-400); box-shadow: 0 0 0 3px rgba(224,76,134,.35); }
.lead-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,.82); margin: 4px 0 22px; font-weight: 500; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--magenta); }
.consent a { color: var(--magenta-400); text-decoration: underline; }
.form-feedback { margin: 16px 0 0; font-weight: 600; font-size: 15px; min-height: 1.2em; }
.form-feedback.ok { color: #8BE6B0; }
.form-feedback.err { color: #FF9CB6; }
.form-or { text-align: center; margin: 18px 0 0; color: rgba(255,255,255,.75); font-size: 14px; }
.form-or a { color: var(--magenta-400); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: #2A0F1C; color: rgba(255,255,255,.82); padding-top: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-logo { height: 60px; width: auto; display: block; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; max-width: 240px; }
.footer-col h3 { font-family: var(--body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta-400); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: #fff; }
.footer-partners { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-chip { font-size: 12px; font-weight: 600; padding: 7px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; }
.footer-legal p { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; line-height: 1.6; }

/* ---------- WhatsApp flutuante ---------- */
.wpp-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.45);
    transition: transform .2s ease;
}
.wpp-float:hover { transform: scale(1.08); }

/* =========================================================================
   REVISÃO DE CONVERSÃO — componentes adicionais
   (mantém paleta e identidade; apenas reforça leitura comercial)
   ========================================================================= */

/* ---- Hero: legibilidade + selo + pills ---- */
.hero-content { text-shadow: 0 1px 18px rgba(20,8,14,.35); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--grad); color: #fff; font-weight: 700; font-size: 13px;
    letter-spacing: .04em; padding: 9px 18px; border-radius: 999px;
    box-shadow: var(--shadow-md); margin-bottom: 20px; text-shadow: none;
}
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.hero-sub { margin: 18px 0 26px; }
.hero-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; }
.hero-pills li {
    font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
    backdrop-filter: blur(6px); text-shadow: none;
}

/* ---- Empreendimento: fachada protagonista (≈63% / 37%) ---- */
.split-media-wide { grid-template-columns: 1.7fr 1fr; }

/* ---- Subtítulo de seção ---- */
.section-sub { color: var(--muted); font-size: 17px; margin: 14px auto 0; max-width: 560px; }
.section-dark .section-sub { color: rgba(255,255,255,.8); }

/* ---- Plantas: ficha técnica ---- */
.planta-card { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; max-width: 980px; margin-inline: auto; }
.planta-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); cursor: zoom-in; background: #fff; }
.planta-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.planta-specs li {
    background: #fff; border: 1px solid var(--cinza-200); border-radius: var(--radius-sm);
    padding: 16px 20px; display: flex; flex-direction: column;
}
.planta-specs strong { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--vinho); line-height: 1.1; }
.planta-specs span { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.planta-cta { text-align: center; margin: 36px 0 0; }

/* ---- Decorado: legenda na imagem principal ---- */
.gallery-item { position: relative; }
.gallery-item figcaption {
    position: absolute; inset: auto 0 0 0; padding: 26px 20px 16px; color: #fff; font-weight: 700; font-size: 17px;
    background: linear-gradient(180deg, transparent, rgba(36,19,25,.82)); pointer-events: none;
}

/* ---- Diferenciais: cards comerciais + chips ---- */
.bene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bene-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.bene-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.12); border-color: var(--magenta-400); }
.bene-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--grad); color: #fff; margin-bottom: 18px; }
.bene-icon svg { width: 28px; height: 28px; }
.bene-card h3 { font-family: var(--display); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.bene-card p { color: rgba(255,255,255,.78); font-size: 15px; margin: 0; line-height: 1.55; }
.bene-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 0; padding: 0; }
.bene-chips li { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }

/* ---- Implantação: botão ampliar ---- */
.implantacao-btn { margin-top: 18px; }

/* ---- Localização: cartão de endereço + showroom ---- */
.addr-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--cinza-200); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-sm); margin: 0 0 26px; }
.addr-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; }
.addr-icon svg { width: 24px; height: 24px; }
.addr-card .addr-line { margin: 0; font-weight: 700; color: var(--texto) !important; }
.addr-card .addr-city { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* ---- Formulário: reforço sob o CTA + label opcional ---- */
.form-note { text-align: center; margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
.lead-form .opt { font-weight: 500; color: rgba(255,255,255,.55); font-size: 12px; }

/* ---- WhatsApp flutuante: rótulo + pulso ---- */
.wpp-float { width: auto; height: 58px; padding: 0 20px 0 16px; border-radius: 999px; gap: 10px; }
.wpp-float svg { flex: none; }
.wpp-float .wpp-label { font-weight: 700; font-size: 15px; white-space: nowrap; }
.wpp-float::after {
    content: ""; position: absolute; inset: 0; border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: wppPulse 2.4s infinite;
}
@keyframes wppPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
