/* ==========================================================
   Taurus Condomínios — estilos exclusivos da página
   Reaproveita os tokens de ../style.css
   Prefixo cd- para não conflitar com o site principal
   ========================================================== */

:root {
    --cd-admin: #0A192F;
    --cd-soft: #EEF3FB;
    --cd-line: rgba(10, 25, 47, 0.08);
}

/* ---------- Navbar: ações sempre visíveis ---------- */
.cd-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cd-btn-ghost,
.cd-btn-solid {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 11px 22px;
    border-radius: 100px;
    white-space: nowrap;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

/* especificidade elevada: precisa vencer .nav-links a de ../style.css */
.nav-links .cd-btn-ghost,
a.cd-btn-ghost {
    color: var(--text-dark);
    border: 1px solid rgba(10, 25, 47, 0.18);
    background: transparent;
}
.nav-links .cd-btn-ghost:hover,
a.cd-btn-ghost:hover { background: rgba(10, 25, 47, 0.05); color: var(--text-dark); }

.nav-links .cd-btn-solid,
a.cd-btn-solid {
    color: #fff;
    background: var(--accent-primary);
    box-shadow: 0 8px 20px rgba(0, 68, 204, 0.22);
}
.nav-links .cd-btn-solid:hover,
a.cd-btn-solid:hover { background: var(--text-dark); color: #fff; box-shadow: 0 10px 26px rgba(10, 25, 47, 0.25); }

/* ---------- Hero ---------- */
.cd-hero {
    position: relative;
    padding: 190px 0 90px;
    text-align: center;
    overflow: hidden;
}

.cd-hero-glow {
    position: absolute;
    top: -20%; left: 50%;
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(0, 68, 204, 0.09) 0%, rgba(248, 249, 250, 0) 68%);
    transform: translateX(-50%);
    z-index: 0;
}

/* silhueta de prédios: assinatura visual da página */
.cd-hero-skyline {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 190px;
    background-image: url('skyline.svg');
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: 1200px 190px;
    opacity: 0.42;
    z-index: 0;
    pointer-events: none;
}

.cd-hero-inner { position: relative; z-index: 1; max-width: 960px; }

.cd-hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.8px;
    margin-bottom: 24px;
}

.cd-hero .cd-sub {
    font-size: 1.2rem;
    max-width: 660px;
    margin: 0 auto 42px;
}

.cd-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cd-cta-main, .cd-cta-wpp {
    font-family: 'Outfit', sans-serif;
    padding: 18px 38px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cd-cta-main { background: var(--text-dark); color: #fff; box-shadow: 0 10px 30px rgba(10, 25, 47, 0.16); }
.cd-cta-main:hover { transform: translateY(-3px); background: var(--accent-primary); box-shadow: 0 15px 40px rgba(0, 68, 204, 0.3); }

.cd-cta-wpp { background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.28); }
.cd-cta-wpp:hover { transform: translateY(-3px); background: #20BD5A; }

/* faixa de confiança */
.cd-trust {
    margin-top: 52px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cd-trust span {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.04);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}
.cd-trust i { color: var(--accent-primary); margin-right: 8px; }

/* ---------- Seção genérica ---------- */
.cd-section { padding: 100px 0; }
.cd-section.alt { background: var(--bg-surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }

.cd-head { max-width: 720px; margin-bottom: 56px; }
.cd-head.center { max-width: 800px; margin-left: auto; margin-right: auto; text-align: center; }
.cd-head h2 { font-size: 2.9rem; letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 16px; }
.cd-head p { font-size: 1.12rem; }

/* ---------- Seletor de trilha ---------- */
.cd-switch-wrap {
    position: sticky;
    top: 88px;
    z-index: 50;
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.cd-switch {
    display: inline-flex;
    background: var(--bg-surface);
    border: 1px solid var(--cd-line);
    border-radius: 100px;
    padding: 6px;
    gap: 4px;
    box-shadow: 0 12px 30px rgba(10, 25, 47, 0.08);
}

.cd-switch button {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-body);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 13px 28px;
    border-radius: 100px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 9px;
}
.cd-switch button i { font-size: 0.95rem; opacity: 0.6; }
.cd-switch button:hover { color: var(--text-dark); }
.cd-switch button[aria-selected="true"] { background: var(--text-dark); color: #fff; }
.cd-switch button[aria-selected="true"] i { opacity: 1; }
.cd-switch button:focus-visible { outline: 3px solid rgba(0, 68, 204, 0.4); outline-offset: 2px; }

/* ---------- Painéis de trilha ---------- */
.cd-panel[hidden] { display: none; }

.cd-panel-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cd-line);
}
.cd-panel-head h3 { font-size: 2.1rem; letter-spacing: -0.8px; }
.cd-panel-head p { font-size: 1.05rem; flex: 1 1 320px; }

/* pares dor -> solução */
.cd-pairs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 48px; }

.cd-pair {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--cd-line);
    align-items: start;
}

.cd-pair-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--cd-soft);
    color: var(--accent-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
}
.cd-panel[data-track="administradoras"] .cd-pair-icon { background: rgba(10, 25, 47, 0.06); color: var(--text-dark); }

.cd-pain {
    display: block;
    font-size: 0.88rem;
    color: #94A3B8;
    font-weight: 600;
    margin-bottom: 6px;
}
.cd-pain::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-right: 7px; font-size: 0.72rem; }

.cd-fix { font-size: 1.06rem; color: var(--text-dark); font-weight: 700; line-height: 1.35; }
.cd-fix + p { margin-top: 6px; font-size: 0.97rem; }

.cd-panel-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cd-panel-cta .cd-note { font-size: 0.92rem; color: #94A3B8; }

/* ---------- Grade de soluções (8 itens) ---------- */
.cd-solutions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--cd-line);
    border-left: 1px solid var(--cd-line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-surface);
}

.cd-sol {
    padding: 32px 28px;
    border-right: 1px solid var(--cd-line);
    border-bottom: 1px solid var(--cd-line);
    transition: background 0.25s ease;
}
.cd-sol:hover { background: var(--cd-soft); }
.cd-sol i { font-size: 1.35rem; color: var(--accent-primary); margin-bottom: 16px; display: block; }
.cd-sol h4 { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.cd-sol p { font-size: 0.95rem; line-height: 1.45; }

/* ---------- Ecossistema ---------- */
.cd-eco { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.cd-eco-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 38px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 22px;
    align-items: start;
}
.cd-eco-card .cd-eco-icon {
    width: 54px; height: 54px; border-radius: 16px;
    background: var(--accent-gradient); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.cd-eco-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.35rem; color: var(--text-dark); margin-bottom: 10px; }
.cd-eco-card ul { list-style: none; margin-top: 14px; }
.cd-eco-card li { font-size: 0.95rem; padding-left: 22px; position: relative; margin-bottom: 7px; }
.cd-eco-card li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: 1px; font-size: 0.75rem; color: var(--accent-primary);
}

/* ---------- Plataforma (no lugar do "dashboard") ---------- */
.cd-platform {
    background: var(--text-dark);
    background-image: radial-gradient(circle at 80% 10%, rgba(0, 68, 204, 0.45) 0%, transparent 58%);
    border-radius: 30px;
    padding: 70px 60px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.2);
}
.cd-platform h2 { color: #fff; font-size: 2.7rem; letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 18px; }
.cd-platform p { color: #A8B6CC; font-size: 1.1rem; margin-bottom: 28px; }
.cd-platform .cd-cta-main { background: #fff; color: var(--text-dark); }
.cd-platform .cd-cta-main:hover { background: var(--accent-primary); color: #fff; }

.cd-layers { display: flex; flex-direction: column; gap: 12px; }
.cd-layer {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 20px 24px;
}
.cd-layer strong { display: block; color: #fff; font-family: 'Outfit', sans-serif; font-size: 1.08rem; margin-bottom: 4px; }
.cd-layer span { color: #A8B6CC; font-size: 0.93rem; }
.cd-layer.accent { background: rgba(0, 68, 204, 0.28); border-color: rgba(120, 170, 255, 0.4); }

/* ---------- Como funciona ---------- */
.cd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

.cd-step { padding: 0 32px 0 0; position: relative; }
.cd-step:not(:last-child)::after {
    content: ""; position: absolute; right: 16px; top: 26px; bottom: 4px; width: 1px;
    background: var(--cd-line);
}
.cd-step .cd-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem; font-weight: 700; color: var(--accent-primary);
    display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.cd-step .cd-num::after { content: ""; flex: 1; height: 2px; background: var(--cd-soft); }
.cd-step h4 { font-family: 'Outfit', sans-serif; font-size: 1.28rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.25; }
.cd-step p { font-size: 0.98rem; }

/* ---------- Especialista ---------- */
.cd-specialist {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px 44px;
    box-shadow: var(--shadow-soft);
}
.cd-avatar {
    width: 84px; height: 84px; border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cd-specialist h3 { font-size: 1.6rem; margin-bottom: 4px; }
.cd-specialist .cd-role { font-size: 0.95rem; color: var(--accent-primary); font-weight: 700; margin-bottom: 10px; }
.cd-specialist p { font-size: 1rem; max-width: 520px; }

/* ---------- FAQ curto ---------- */
.cd-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; }
.cd-faq div { border-top: 1px solid var(--cd-line); padding-top: 20px; }
.cd-faq h4 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; color: var(--text-dark); margin-bottom: 8px; }
.cd-faq p { font-size: 0.97rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
    .cd-hero h1 { font-size: 3.2rem; }
    .cd-pairs { grid-template-columns: 1fr; gap: 0; }
    .cd-solutions { grid-template-columns: repeat(2, 1fr); }
    .cd-eco { grid-template-columns: 1fr; }
    .cd-platform { grid-template-columns: 1fr; padding: 50px 36px; gap: 40px; }
    .cd-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
    .cd-step:nth-child(2)::after { display: none; }
    .cd-faq { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .cd-hero { padding: 140px 0 70px; }
    .cd-hero h1 { font-size: 2.35rem; letter-spacing: -1px; }
    .cd-hero .cd-sub { font-size: 1.05rem; }
    .cd-cta-main, .cd-cta-wpp { width: 100%; justify-content: center; }
    .cd-section { padding: 70px 0; }
    .cd-head h2 { font-size: 2.1rem; }
    .cd-switch-wrap { top: 72px; }
    .cd-switch { width: 100%; }
    .cd-switch button { flex: 1; justify-content: center; padding: 13px 10px; font-size: 0.88rem; }
    .cd-switch button i { display: none; }
    .cd-solutions { grid-template-columns: 1fr; }
    .cd-steps { grid-template-columns: 1fr; gap: 36px; }
    .cd-step { padding-right: 0; }
    .cd-step::after { display: none !important; }
    .cd-specialist { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 36px 24px; }
    .cd-specialist p { margin: 0 auto; }
    .cd-platform h2 { font-size: 2rem; }
    .cd-eco-card { padding: 28px; grid-template-columns: 1fr; }

    /* navbar mobile: esconde links de texto, mantém as ações */
    .cd-nav .nav-links { display: flex !important; gap: 8px; }
    .cd-nav .nav-links li.cd-hide-mobile { display: none; }
    .cd-nav .nav-container { gap: 10px; }
    .cd-nav-actions { gap: 8px; }
    .cd-btn-ghost, .cd-btn-solid { padding: 10px 15px; font-size: 0.8rem; }
    .cd-nav .logo img { height: 34px; }
}

/* telas estreitas: só a ação principal na barra (o WhatsApp flutuante cobre o contato) */
@media (max-width: 480px) {
    .cd-nav .cd-btn-ghost { display: none; }
    .cd-nav .logo img { height: 32px; }
    .cd-hero h1 { font-size: 2.05rem; }
    .cd-trust span { font-size: 0.82rem; padding: 9px 15px; }
    .cd-specialist { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
