/* ============================================
   IMAGINO — CSS PÚBLICO
   Paleta: roxo escuro + verde limão + branco
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:        #080808;
    --bg2:       #0e0016;
    --bg3:       #141420;
    --purple:    #1a0a3e;
    --accent:    #7c3aed;
    --accent2:   #6d28d9;
    --accent-light: #a78bfa;
    --white:     #ffffff;
    --muted:     #94a3b8;
    --border:    rgba(124,58,237,.2);
    --font-head: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --radius:    12px;
    --nav-h:     72px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ---- CONTAINER ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background .3s, backdrop-filter .3s, border-color .3s;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(8,0,26,.85);
    backdrop-filter: blur(16px);
    border-color: var(--border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--white);
}
.logo-o { color: var(--accent); }
.logo-sub {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
    margin-left: auto;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s;
    letter-spacing: .3px;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
    padding: 10px 24px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: background .2s, transform .2s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,.25) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 60%, rgba(124,58,237,.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px;
    max-width: 800px;
}
.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 500;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}
.stat-label {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .5px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}
.hero-scroll span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: .4; transform: scaleY(.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all .2s;
    letter-spacing: .2px;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg);
}
.btn-primary:hover {
    background: var(--accent2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124,58,237,.3);
}
.btn-ghost {
    background: rgba(255,255,255,.06);
    color: var(--white);
    border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.3);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    padding: 12px 28px;
}
.btn-outline:hover {
    background: var(--accent);
    color: var(--bg);
}
.btn-full { width: 100%; justify-content: center; }
.arrow { transition: transform .2s; }
.btn-outline:hover .arrow { transform: translateX(4px); }

/* ============================================
   SERVIÇOS
   ============================================ */
.service-section {
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}
.service-section--dark {
    background: var(--bg2);
}
.service-block {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.service-block--right { }

.service-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.service-number {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-head);
    font-size: 120px;
    font-weight: 900;
    color: rgba(255,255,255,.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.service-icon-wrap {
    position: relative;
    z-index: 1;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: radial-gradient(circle, rgba(124,58,237,.05) 0%, transparent 70%);
}
.service-bg-text {
    position: absolute;
    bottom: 10px;
    right: 0;
    font-family: var(--font-head);
    font-size: 72px;
    font-weight: 900;
    color: rgba(124,58,237,.05);
    letter-spacing: -2px;
    pointer-events: none;
    user-select: none;
}
.service-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
}
.service-title {
    font-family: var(--font-head);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.service-desc {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}
.service-desc strong { color: var(--white); font-weight: 600; }
.service-list {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-list li {
    font-size: 14px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}
.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 12px;
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
    padding: 100px 24px;
    background: var(--bg2);
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}
.highlight { color: var(--accent); }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: border-color .3s, transform .3s, background .3s;
}
.card:hover {
    border-color: rgba(124,58,237,.4);
    background: rgba(124,58,237,.04);
    transform: translateY(-4px);
}
.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}
.card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================
   CONTATO
   ============================================ */
.contact-section {
    padding: 100px 24px;
    background: var(--bg);
}
.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-desc {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
    margin: 24px 0 36px;
}
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all .2s;
}
.contact-link--whatsapp:hover { border-color: #25d366; color: #25d366; background: rgba(37,211,102,.05); }
.contact-link--ig:hover { border-color: #e1306c; color: #e1306c; background: rgba(225,48,108,.05); }

.contact-form {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 8px;
    letter-spacing: .3px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color .2s, background .2s;
    resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,163,184,.4); }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(124,58,237,.04);
}
.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}
.form-msg {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}
.form-msg.success { background: rgba(124,58,237,.1); color: var(--accent); border: 1px solid rgba(124,58,237,.3); }
.form-msg.error { background: rgba(239,68,68,.1); color: #f87171; border: 1px solid rgba(239,68,68,.3); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 64px 24px 32px;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}
.footer-brand .logo-text { font-size: 28px; }
.footer-logo { display: block; margin-bottom: 12px; }
.footer-brand p {
    font-size: 14px;
    color: var(--muted);
    max-width: 260px;
    line-height: 1.7;
}
.footer-links h4 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 14px;
    color: var(--muted);
    transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-login-link {
    font-size: 12px;
    color: rgba(148,163,184,.35);
    transition: color .2s;
    letter-spacing: .5px;
}
.footer-login-link:hover { color: var(--muted); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(8,0,26,.97);
        backdrop-filter: blur(20px);
        padding: 32px 24px;
        border-bottom: 1px solid var(--border);
        gap: 24px;
        z-index: 999;
    }
    .nav-links.open + .nav-cta { display: block; }

    .service-block { grid-template-columns: 1fr; gap: 40px; }
    .service-block--right .service-content { order: -1; }
    .service-visual { min-height: 160px; }
    .service-number { font-size: 72px; }
    .service-bg-text { font-size: 48px; }

    .hero-title { letter-spacing: -1px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-stats { gap: 16px; }
    .stat-divider { display: none; }
    .contact-form { padding: 24px 20px; }
}

/* ============================================
   LOGO IMAGEM
   ============================================ */
.site-logo            { height: 34px; width: auto; display: block; object-fit: contain; }
.site-logo--footer    { height: 38px; margin-bottom: 12px; }
.site-logo--wa        { height: 28px; filter: brightness(0) invert(1); }

/* ============================================
   WHATSAPP FLOAT POPUP
   ============================================ */
#wa-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,.45);
    z-index: 1000;
    transition: transform .2s, box-shadow .2s;
}
#wa-fab:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,.6); }
#wa-fab svg { pointer-events: none; }

#wa-popup {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 999;
    display: none;
}
#wa-popup.wa-open {
    display: block;
    animation: waSlideUp .22s ease;
}
@keyframes waSlideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wa-card {
    width: 300px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.55);
    border: 1px solid rgba(37,211,102,.2);
}
.wa-card-head {
    background: #128c4f;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.wa-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.5px;
}
.wa-logo span { color: rgba(255,255,255,.6); }
.wa-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}
.wa-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a5f3c8;
    animation: waPulse 1.8s ease-in-out infinite;
}
@keyframes waPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}
.wa-close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255,255,255,.6);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
    transition: color .15s;
}
.wa-close-btn:hover { color: #fff; }

.wa-card-body {
    background: #0e0016;
    padding: 20px;
}
.wa-bubble {
    background: rgba(124,58,237,.12);
    border: 1px solid rgba(124,58,237,.2);
    border-radius: 14px 14px 14px 4px;
    padding: 13px 16px;
    font-size: 14px;
    line-height: 1.55;
    color: #e2e8f0;
}
.wa-bubble p + p { margin-top: 6px; }

.wa-card-foot {
    display: block;
    background: #25d366;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background .18s;
}
.wa-card-foot:hover { background: #1ebe5d; color: #fff; }
.wa-card-foot svg { flex-shrink: 0; }
