/* Reset básico */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top, #1f2937 0, #020617 45%, #000 100%);
    color: #e5e7eb;
    -webkit-font-smoothing: antialiased;
}

/* Canvas de fundo com partículas */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Layout principal */
.page-wrapper {
    min-height: 100vh;
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 16px 32px;
    position: relative;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 20%, #22c55e, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ecfdf5;
    font-size: 20px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
}

.brand-tagline {
    font-size: 12px;
    color: #9ca3af;
}

/* Navegação */
.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav a {
    font-size: 14px;
    text-decoration: none;
    color: #d1d5db;
    padding: 6px 10px;
    border-radius: 999px;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.nav a:hover {
    background: rgba(31, 41, 55, 0.8);
    color: #f9fafb;
    transform: translateY(-1px);
}

/* HERO */
.main {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.hero-text h1 {
    font-size: clamp(26px, 4vw, 34px);
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero-text h1 span {
    background: linear-gradient(to right, #22c55e, #a855f7, #38bdf8);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 14px;
    color: #9ca3af;
    max-width: 460px;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    padding: 9px 16px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease,
        transform 0.12s ease, box-shadow 0.12s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: #16a34a;
    color: #ecfdf5;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(34, 197, 94, 0.3);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(148, 163, 184, 0.5);
    color: #e5e7eb;
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 11px 20px;
    font-size: 15px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: #9ca3af;
}

.hero-highlights span {
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 4px 8px;
    background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.15), transparent);
}

/* HERO card direita */
.hero-card {
    border-radius: 20px;
    padding: 14px 16px 16px;
    background: radial-gradient(circle at top, rgba(15, 118, 110, 0.16), transparent)
        border-box,
        linear-gradient(135deg, rgba(148, 163, 184, 0.45), rgba(30, 64, 175, 0.4))
        border-box;
    border: 1px solid transparent;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 240px;
}

.hero-card-header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

/* versão “mini” do card */
.hero-card-min {
    min-height: 0;
    justify-content: flex-start;
}
.hero-card-header-min {
    margin-bottom: 0;
}

.pill {
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
}

.pill-green {
    border-color: rgba(34, 197, 94, 0.8);
    background: rgba(22, 163, 74, 0.12);
    color: #bbf7d0;
}

.pill-dark {
    border-color: rgba(55, 65, 81, 0.9);
}

/* Seções genéricas */
.section {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.section-header h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 13px;
    color: #9ca3af;
}

/* Cards de serviços */
.section-services {
    margin-top: 12px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    border-radius: 18px;
    padding: 14px 14px 14px;
    background: radial-gradient(
            circle at top left,
            rgba(34, 197, 94, 0.16),
            transparent 55%
        ),
        rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.8);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card h3 {
    font-size: 15px;
    margin-bottom: 2px;
}

.card-tag {
    font-size: 11px;
    color: #a5b4fc;
}

.card-text {
    font-size: 12px;
    color: #9ca3af;
}

.card-list {
    list-style: none;
    font-size: 12px;
    color: #d1d5db;
    margin-top: 2px;
    margin-bottom: 6px;
}

.card-list li + li {
    margin-top: 2px;
}

.card-btn {
    margin-top: auto;
    align-self: flex-start;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: transparent;
    color: #e5e7eb;
    padding: 6px 11px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s ease, border-color 0.18s ease;

    /* Ajustes para <a> ficar idêntico a <button> */
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.card-btn:hover {
    background: rgba(30, 64, 175, 0.4);
    border-color: rgba(129, 140, 248, 0.9);
    transform: translateY(-1px);
}

/* Contato */
.section-contact .contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 11px;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
}

.footer-dot {
    opacity: 0.5;
}

/* Dropdown (leque) do CTA principal */
.dropdown {
    position: relative;
    display: inline-flex;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 320px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(31, 41, 55, 0.9);
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
    display: none;
    z-index: 50;
}

.dropdown.is-open .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #e5e7eb;
    border: 1px solid transparent;
    transition: background 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}

.dropdown-item:hover {
    background: rgba(30, 64, 175, 0.22);
    border-color: rgba(129, 140, 248, 0.35);
    transform: translateY(-1px);
}

.dropdown-name {
    font-size: 13px;
    font-weight: 600;
}

.dropdown-sub {
    font-size: 12px;
    color: #9ca3af;
}

/* Responsivo */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .page-wrapper {
        padding-inline: 14px;
    }

    .cards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section-contact .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* Dropdown no mobile */
    .dropdown {
        width: 100%;
    }
    .dropdown-toggle {
        width: 100%;
    }
    .dropdown-menu {
        width: 100%;
        min-width: 0;
        right: 0;
        left: 0;
    }
}


/* Logo com imagem (favicon) */
.brand-logo.brand-logo-img {
    padding: 0;
    overflow: hidden;
}

.brand-logo.brand-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HERO em uma coluna (sem card direito) */
.hero.hero-single {
    grid-template-columns: minmax(0, 1fr);
}





