/* ═══════════════════════════════════════════════════════
   MARKETEI — Site Institucional
   Padrão visual: #03151f + #EE3D44 + Inter
═══════════════════════════════════════════════════════ */

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

:root {
    --bg:            #03151f;
    --bg-2:          #061f2e;
    --bg-card:       rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.07);
    --accent:        #EE3D44;
    --accent-dark:   #c0392b;
    --accent-glow:   rgba(238,61,68,0.15);
    --accent-border: rgba(238,61,68,0.3);
    --text:          #ffffff;
    --text-secondary:#a0a8b0;
    --text-muted:    rgba(160,168,176,0.55);
    --border:        rgba(255,255,255,0.08);
    --radius:        14px;
    --radius-lg:     20px;
    --nav-h:         72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Background animado ─────────────────────────────── */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: var(--bg);
    pointer-events: none;
}
.site-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(238,61,68,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(238,61,68,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridDrift 50s linear infinite;
}
.site-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 20%, rgba(238,61,68,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 80% 80%, rgba(238,61,68,0.04) 0%, transparent 60%);
}
@keyframes gridDrift { to { background-position: 80px 80px; } }

/* ── Tipografia base ────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(238,61,68,.08);
    border: 1px solid rgba(238,61,68,.2);
    border-radius: 100px;
    padding: .35rem .9rem;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: .75rem;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-sub { margin: 0 auto; }

/* ── Layout helpers ─────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section {
    position: relative;
    z-index: 1;
    padding: 7rem 0;
}
.section-alt { background: rgba(255,255,255,0.015); }

/* ── Botões ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    font-weight: 600;
    border-radius: 10px;
    padding: .75rem 1.5rem;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: #fff;
    box-shadow: 0 4px 20px rgba(238,61,68,.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(238,61,68,.4);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: var(--bg-card);
    color: var(--text);
    border-color: rgba(255,255,255,.15);
}
.btn-outline-accent {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent-border);
}
.btn-outline-accent:hover {
    background: var(--accent-glow);
}
.btn-lg { padding: .9rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .5rem 1.1rem; font-size: .82rem; }

/* ── NAV ────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(3,21,31,0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
    background: rgba(3,21,31,0.92);
    border-bottom-color: rgba(255,255,255,.07);
    box-shadow: 0 4px 40px rgba(0,0,0,.35);
}

/* Linha degradê abaixo do nav */
.nav::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(238,61,68,.25) 25%,
        rgba(238,61,68,.5) 50%,
        rgba(238,61,68,.25) 75%,
        transparent 100%
    );
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1380px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2.5rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 34px; display: block; transition: opacity .2s; }
.nav-logo:hover img { opacity: .85; }

/* ── Links centrais ── */
.nav-center {
    display: flex;
    align-items: center;
    gap: .1rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-item { position: relative; }

.nav-item > a,
.nav-item > button {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    padding: .5rem .9rem;
    border-radius: 9px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color .15s, background .15s;
    white-space: nowrap;
}
.nav-item > a:hover,
.nav-item > button:hover,
.nav-item > a.active,
.nav-item.open > button {
    color: var(--text);
    background: rgba(255,255,255,.06);
}
.nav-item > a.active { color: #fff; }

.nav-chevron {
    font-size: .65rem;
    transition: transform .25s;
    opacity: .6;
}
.nav-item.open .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* ── Dropdown mega-menu ── */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 580px;
    background: rgba(5,26,38,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(238,61,68,.06);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 300;
}
.nav-item.open .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
/* seta decorativa */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: rgba(5,26,38,0.97);
    border-top: 1px solid rgba(255,255,255,.09);
    border-left: 1px solid rgba(255,255,255,.09);
    border-radius: 3px;
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
.nav-dd-card {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.1rem;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: all .18s;
}
.nav-dd-card:hover {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.09);
}
.nav-dd-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    background: rgba(238,61,68,.1);
    color: var(--accent);
    flex-shrink: 0;
}
.nav-dd-card strong { font-size: .88rem; font-weight: 700; color: #fff; line-height: 1.3; }
.nav-dd-card span   { font-size: .76rem; color: var(--text-secondary); line-height: 1.5; }
.nav-dd-arrow { font-size: .7rem; color: var(--accent); opacity: 0; transition: opacity .15s, transform .15s; margin-top: auto; }
.nav-dd-card:hover .nav-dd-arrow { opacity: 1; transform: translateX(3px); }

/* Linha inferior no dropdown */
.nav-dropdown-footer {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-dropdown-footer span { font-size: .76rem; color: var(--text-muted); }
.nav-dropdown-footer a {
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .35rem;
    transition: gap .15s;
}
.nav-dropdown-footer a:hover { gap: .55rem; }

/* ── Lado direito ── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}
.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,.1);
    margin: 0 .35rem;
}

/* ── Hamburger ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 9px;
    cursor: pointer;
    gap: 5px;
    flex-shrink: 0;
    transition: background .2s;
}
.nav-hamburger:hover { background: rgba(255,255,255,.09); }
.nav-hamburger span {
    display: block;
    width: 16px; height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
}
/* X state */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ─────────────────────────────────── */
.nav-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 88vw);
    background: rgba(4,22,33,0.98);
    backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255,255,255,.08);
    z-index: 199;
    display: flex;
    flex-direction: column;
    padding: calc(var(--nav-h) + 1rem) 1.25rem 2rem;
    gap: .25rem;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(3px);
    z-index: 198;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.nav-drawer a,
.nav-drawer-trigger {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    padding: .75rem 1rem;
    border-radius: 10px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    width: 100%;
    justify-content: space-between;
    transition: all .15s;
}
.nav-drawer a:hover,
.nav-drawer-trigger:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-drawer-trigger i.chevron { font-size: .7rem; transition: transform .25s; }
.nav-drawer-trigger.open i.chevron { transform: rotate(90deg); }

.nav-drawer-sub {
    display: none;
    flex-direction: column;
    gap: .15rem;
    padding: .35rem 0 .35rem 1rem;
    border-left: 2px solid rgba(238,61,68,.2);
    margin-left: 1.25rem;
}
.nav-drawer-sub.open { display: flex; }
.nav-drawer-sub a {
    font-size: .88rem;
    padding: .55rem .85rem;
    gap: .6rem;
    justify-content: flex-start;
    color: var(--text-secondary);
}
.nav-drawer-sub a i { font-size: .8rem; color: var(--accent); width: 16px; text-align: center; }

.nav-drawer-sep {
    height: 1px;
    background: rgba(255,255,255,.06);
    margin: .5rem 0;
}
.nav-drawer .btn { justify-content: center; margin-top: .75rem; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Fundo próprio: aurora vermelha + vinheta azul fria */
    background:
        radial-gradient(ellipse 70% 80% at 15% 55%, rgba(238,61,68,.13) 0%, transparent 65%),
        radial-gradient(ellipse 55% 50% at 85% 25%, rgba(30,80,160,.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 100%, rgba(238,61,68,.06) 0%, transparent 55%);
}

/* Grade de pontos decorativa só no hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Fade na base — separa visualmente da seção abaixo */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Anéis decorativos de fundo */
.hero-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(238,61,68,.08);
    transform: translate(-50%, -50%);
}
.hero-ring-1 { width: 500px; height: 500px; top: 50%; left: 20%; }
.hero-ring-2 { width: 750px; height: 750px; top: 50%; left: 20%; border-color: rgba(238,61,68,.05); }
.hero-ring-3 { width: 220px; height: 220px; top: 30%; left: 75%; border-color: rgba(30,80,160,.1); }
.hero-ring-4 { width: 380px; height: 380px; top: 30%; left: 75%; border-color: rgba(30,80,160,.06); }

/* Linha degradê na base do hero */
.hero-sep {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(238,61,68,.25) 25%,
        rgba(238,61,68,.5) 50%,
        rgba(238,61,68,.25) 75%,
        transparent 100%
    );
    z-index: 3;
}

/* Linha degradê no topo do hero (logo abaixo do nav) */
.hero-line-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(238,61,68,.15) 30%,
        rgba(238,61,68,.3) 50%,
        rgba(238,61,68,.15) 70%,
        transparent 100%
    );
    z-index: 3;
}

.hero > * { position: relative; z-index: 1; }

/* Container alargado para o hero */
.hero .hero-wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6rem;
    align-items: center;
    padding: 5rem 0 7rem;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
}
.hero-title .highlight {
    color: var(--accent);
    position: relative;
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-chips {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    padding: .45rem 1rem;
    text-decoration: none;
    transition: all .2s;
}
.hero-chip i { font-size: .8rem; color: var(--accent); }
.hero-chip:hover {
    color: #fff;
    background: rgba(238,61,68,.1);
    border-color: rgba(238,61,68,.3);
    transform: translateY(-1px);
}

/* Hero visual side */
.hero-visual {
    position: relative;
}
.hero-card-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all .3s;
    animation: floatIn .6s ease both;
}
.hero-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,.13);
    transform: translateX(4px);
}
.hero-card:nth-child(2) { animation-delay: .12s; margin-left: 1.5rem; }
.hero-card:nth-child(3) { animation-delay: .24s; }
.hero-card:nth-child(4) { animation-delay: .36s; margin-left: 1rem; }
@keyframes floatIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.icon-red   { background: rgba(238,61,68,.15); color: var(--accent); }
.icon-blue  { background: rgba(52,152,219,.12); color: #3498db; }
.icon-green { background: rgba(39,174,96,.12);  color: #27ae60; }
.icon-purple{ background: rgba(155,89,182,.12); color: #9b59b6; }

.hero-card-text strong { display: block; font-size: .95rem; font-weight: 600; }
.hero-card-text span   { font-size: .78rem; color: var(--text-secondary); }

/* ── SERVIÇOS ──────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all .25s;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity .25s;
}
.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,.13);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(238,61,68,.1);
    border: 1px solid rgba(238,61,68,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; }
.service-card p  { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.service-tags {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
}
.service-tag {
    font-size: .7rem;
    font-weight: 600;
    padding: .25rem .65rem;
    border-radius: 100px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}
.service-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: .5rem;
    transition: gap .2s;
}
.service-card:hover .service-link { gap: .7rem; }

/* ── COMO FUNCIONA ──────────────────────────────────── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
    z-index: 0;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all .25s;
}
.step-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}
.step-num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 16px rgba(238,61,68,.3);
}
.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p  { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }

/* ── SOBRE NÓS ──────────────────────────────────────── */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
.about-pillar {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    transition: all .2s;
}
.about-pillar:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,.12); }
.about-pillar-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.about-pillar strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.about-pillar span   { font-size: .83rem; color: var(--text-secondary); }

.about-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.about-num-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    transition: all .2s;
}
.about-num-card:hover { background: var(--bg-card-hover); transform: translateY(-2px); }
.about-num-card .num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .4rem;
}
.about-num-card .label { font-size: .83rem; color: var(--text-secondary); }

/* ── SEGMENTOS / CASOS DE USO ───────────────────────── */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.segment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: all .25s;
    cursor: default;
}
.segment-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,.13);
    transform: translateY(-3px);
}
.segment-card .seg-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.segment-card h4  { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.segment-card p   { font-size: .84rem; color: var(--text-secondary); line-height: 1.6; }
.segment-solutions {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin-top: .85rem;
}
.segment-solutions span {
    font-size: .75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.segment-solutions span::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── CTA BANNER ─────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, rgba(238,61,68,.08) 0%, rgba(238,61,68,.02) 100%);
    border: 1px solid rgba(238,61,68,.15);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
}
.cta-banner h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.cta-banner p  { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 2.5rem; }
.cta-actions   { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────── */
footer {
    position: relative;
    z-index: 1;
    background: rgba(0,0,0,.25);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}
.footer-brand img  { height: 32px; margin-bottom: 1rem; display: block; }
.footer-brand p    { font-size: .88rem; color: var(--text-secondary); max-width: 260px; line-height: 1.7; }
.footer-whats {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.25rem;
    font-size: .85rem;
    font-weight: 600;
    color: #25D366;
    text-decoration: none;
    background: rgba(37,211,102,.08);
    border: 1px solid rgba(37,211,102,.2);
    padding: .5rem 1rem;
    border-radius: 8px;
    transition: all .2s;
}
.footer-whats:hover { background: rgba(37,211,102,.14); }

.footer-col h5 {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a  {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .88rem;
    transition: color .15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: var(--text-muted);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; font-size: .82rem; transition: color .15s; }
.footer-legal a:hover { color: var(--text-secondary); }

/* ── MODAIS DE SERVIÇO ───────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.modal-box {
    background: #061e2c;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(.98);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    scrollbar-width: thin;
    scrollbar-color: rgba(238,61,68,.3) transparent;
}
.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(238,61,68,.3); border-radius: 4px; }

/* Cabeçalho do modal */
.modal-head {
    position: relative;
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
}
.modal-head::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .06;
    background-size: 28px 28px;
    background-image: radial-gradient(rgba(255,255,255,.8) 1px, transparent 1px);
}
.modal-head-glow {
    position: absolute;
    top: -60px; left: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,61,68,.18) 0%, transparent 70%);
    pointer-events: none;
}
.modal-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    z-index: 2;
}
.modal-close:hover { background: rgba(238,61,68,.12); color: var(--accent); border-color: var(--accent-border); }
.modal-head-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    position: relative; z-index: 1;
}
.modal-head h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: .5rem;
    position: relative; z-index: 1;
}
.modal-head p {
    font-size: .95rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.65;
    position: relative; z-index: 1;
}
.modal-head-tags {
    display: flex; gap: .5rem; flex-wrap: wrap;
    margin-top: 1rem;
    position: relative; z-index: 1;
}

/* Corpo do modal */
.modal-body { padding: 2rem 2.5rem 2.5rem; }
.modal-section { margin-bottom: 2.25rem; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.modal-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.06);
}

/* Grid de features no modal */
.modal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.modal-feature {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 11px;
    padding: 1rem 1.1rem;
}
.modal-feature .mf-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(238,61,68,.1);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.modal-feature .mf-text strong { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .2rem; }
.modal-feature .mf-text span   { font-size: .78rem; color: var(--text-secondary); line-height: 1.5; }

/* Planos no modal */
.modal-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.modal-plan {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 1.5rem;
    position: relative;
}
.modal-plan.featured {
    border-color: rgba(238,61,68,.3);
    background: rgba(238,61,68,.04);
}
.modal-plan h4 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.modal-plan .mp-price {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .75rem;
}
.modal-plan .mp-price span { font-size: .82rem; font-weight: 500; color: var(--text-secondary); }
.modal-plan ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.modal-plan li { font-size: .8rem; color: var(--text-secondary); display: flex; align-items: center; gap: .5rem; }
.modal-plan li i { color: #27ae60; font-size: .72rem; flex-shrink: 0; }

/* Tech pills no modal */
.modal-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}
.modal-tech-group { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 11px; padding: 1rem 1.1rem; }
.modal-tech-group .mtg-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .65rem; }

/* CTA no rodapé do modal */
.modal-cta {
    background: linear-gradient(135deg, rgba(238,61,68,.08), rgba(238,61,68,.03));
    border: 1px solid rgba(238,61,68,.15);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.modal-cta p { font-size: .92rem; color: var(--text-secondary); }
.modal-cta p strong { color: #fff; display: block; font-size: 1rem; margin-bottom: .2rem; }
.modal-cta-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Plataformas Tráfego */
.modal-platforms { display: flex; flex-direction: column; gap: .85rem; }
.modal-platform {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
}
.modal-platform .mp-icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.modal-platform .mp-info strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.modal-platform .mp-info span   { font-size: .8rem; color: var(--text-secondary); }

/* Check list */
.modal-checklist { display: flex; flex-direction: column; gap: .55rem; }
.modal-checklist li {
    display: flex; align-items: center; gap: .65rem;
    font-size: .88rem; color: var(--text-secondary);
    list-style: none;
}
.modal-checklist li i { color: var(--accent); font-size: .8rem; flex-shrink: 0; }

@media (max-width: 640px) {
    .modal-overlay     { padding: 0; align-items: flex-end; }
    .modal-box         { max-height: 92vh; border-radius: 22px 22px 0 0; }
    .modal-head        { padding: 2rem 1.5rem 1.5rem; }
    .modal-body        { padding: 1.5rem; }
    .modal-features    { grid-template-columns: 1fr; }
    .modal-plans       { grid-template-columns: 1fr; }
    .modal-tech-grid   { grid-template-columns: 1fr 1fr; }
    .modal-cta         { flex-direction: column; }
}

/* ── INNER PAGE HERO ─────────────────────────────────── */
.page-hero {
    padding: calc(var(--nav-h) + 5rem) 0 5rem;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.page-hero .breadcrumb a { color: var(--text-muted); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: var(--text-secondary); }
.page-hero .breadcrumb .sep { opacity: .4; }
.page-hero h1  { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; letter-spacing: -.02em; }
.page-hero p   { font-size: 1.1rem; color: var(--text-secondary); max-width: 580px; }
.page-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* ── FEATURE LIST ────────────────────────────────────── */
.features-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    transition: all .2s;
}
.feature-item:hover { background: var(--bg-card-hover); }
.feature-item .fi-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
    background: rgba(238,61,68,.1);
    color: var(--accent);
}
.feature-item .fi-text strong { display: block; font-size: .93rem; font-weight: 600; margin-bottom: .2rem; }
.feature-item .fi-text span   { font-size: .82rem; color: var(--text-secondary); }

/* ── PLANOS (Hospedagem) ─────────────────────────────── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all .25s;
    position: relative;
}
.plan-card.featured {
    border-color: var(--accent-border);
    background: rgba(238,61,68,.04);
}
.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .9rem;
    border-radius: 100px;
    white-space: nowrap;
}
.plan-card h3 { font-size: 1.2rem; font-weight: 700; }
.plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}
.plan-price span { font-size: .9rem; font-weight: 500; color: var(--text-secondary); }
.plan-desc { font-size: .85rem; color: var(--text-secondary); }
.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    margin-top: .5rem;
}
.plan-features li {
    font-size: .87rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: .6rem;
}
.plan-features li i { color: #27ae60; font-size: .8rem; flex-shrink: 0; }

/* ── TECH STACK PILLS ────────────────────────────────── */
.tech-pills { display: flex; gap: .6rem; flex-wrap: wrap; }
.tech-pill {
    font-size: .78rem;
    font-weight: 600;
    padding: .35rem .85rem;
    border-radius: 100px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all .15s;
}
.tech-pill:hover { background: rgba(255,255,255,.09); color: var(--text); }

/* ── LEGAL PAGES ─────────────────────────────────────── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(var(--nav-h) + 4rem) 1.5rem 6rem;
    position: relative;
    z-index: 1;
}
.legal-content h1 { font-size: 2rem; margin-bottom: .5rem; }
.legal-content .legal-date { font-size: .85rem; color: var(--text-muted); margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.2rem; margin: 2.5rem 0 .85rem; color: var(--text); }
.legal-content p  { font-size: .92rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { font-size: .92rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: .4rem; }

/* ── RESPONSIVO ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner       { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0 6rem; }
    .hero-visual      { display: none; }
    .hero .hero-wrap  { padding: 0 1.5rem; }
    .about-inner      { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .steps-grid       { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
    .page-hero-inner  { grid-template-columns: 1fr; gap: 2rem; }
    .plans-grid       { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .section          { padding: 5rem 0; }
    .nav-center       { display: none; }
    .nav-actions .btn { display: none; }
    .nav-hamburger    { display: flex; }
    .services-grid    { grid-template-columns: 1fr; }
    .segments-grid    { grid-template-columns: repeat(2, 1fr); }
    .footer-grid      { grid-template-columns: 1fr; }
    .footer-bottom    { flex-direction: column; text-align: center; }
    .hero-stats       { gap: 1.5rem; }
    .cta-banner       { padding: 2.5rem 1.5rem; }
}
@media (max-width: 480px) {
    .segments-grid    { grid-template-columns: 1fr; }
    .about-numbers    { grid-template-columns: 1fr; }
}

/* ── CHECKOUT DE HOSPEDAGEM ─────────────────────────────────────────────────── */
.hosp-contratar-btn {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: .8rem 1rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    color: rgba(255,255,255,.7);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    letter-spacing: .01em;
}
.hosp-contratar-btn:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.22);
    color: #fff;
    transform: translateY(-1px);
}
.hosp-contratar-btn.featured {
    background: linear-gradient(135deg, rgba(238,61,68,.2), rgba(192,57,43,.15));
    border-color: rgba(238,61,68,.35);
    color: #fff;
}
.hosp-contratar-btn.featured:hover {
    background: linear-gradient(135deg, rgba(238,61,68,.3), rgba(192,57,43,.25));
    border-color: rgba(238,61,68,.55);
    box-shadow: 0 0 20px rgba(238,61,68,.2);
}

/* Checkout form fields */
.hosp-field { display: flex; flex-direction: column; gap: .4rem; }
.hosp-field label {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.hosp-field input {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: .7rem 1rem;
    color: #fff;
    font-size: .92rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
    box-sizing: border-box;
}
.hosp-field input:focus {
    border-color: rgba(238,61,68,.45);
    box-shadow: 0 0 0 3px rgba(238,61,68,.08);
}
.hosp-field input::placeholder { color: rgba(255,255,255,.2); }
.hosp-field input.valid   { border-color: rgba(46,204,113,.4); }
.hosp-field input.invalid { border-color: rgba(231,76,60,.4); }

@media (max-width: 600px) {
    #hosp-form-checkout > div:first-child {
        grid-template-columns: 1fr !important;
    }
}

/* ── FORMULÁRIO DE CADASTRO NO MODAL (hf = hosp-form) ───────────────────────── */
.hosp-back-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    background: none; border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.45); padding: .4rem .9rem;
    border-radius: 8px; cursor: pointer; font-size: .8rem;
    font-family: inherit; margin-bottom: 1.25rem; transition: all .2s;
}
.hosp-back-btn:hover { border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.7); }

.hosp-plan-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(238,61,68,.07); border: 1px solid rgba(238,61,68,.2);
    border-radius: 12px; padding: .9rem 1.2rem; margin-bottom: 1.5rem;
}
.hosp-plan-bar-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(238,61,68,.7); font-weight: 700; margin-bottom: .2rem; }
.hosp-plan-bar-name  { font-weight: 700; font-size: .92rem; }
.hosp-plan-bar-price { font-size: 1.25rem; font-weight: 900; color: #EE3D44; }
.hosp-plan-bar-cycle { font-size: .7rem; color: rgba(255,255,255,.3); }

/* campos do formulário */
.hf-group  { margin-bottom: 1.1rem; }
.hf-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hf-label  { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: .45rem; }
.hf-input  {
    width: 100%; box-sizing: border-box;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px; padding: .72rem 1rem; color: #fff;
    font-size: .9rem; font-family: inherit; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.hf-input:focus { border-color: rgba(238,61,68,.45); box-shadow: 0 0 0 3px rgba(238,61,68,.08); }
.hf-input::placeholder { color: rgba(255,255,255,.18); }
.hf-input.hf-valid   { border-color: rgba(46,204,113,.45); }
.hf-input.hf-invalid { border-color: rgba(231,76,60,.45); }

.hf-domain-group { margin-bottom: 1.4rem; }
.hf-domain-wrap  { position: relative; }
.hf-domain-input { font-size: .95rem; padding: .78rem 1rem; }

.hf-input-wrap { position: relative; display: flex; align-items: center; }
.hf-input-wrap .hf-input { padding-right: 42px; }
.hf-spinner { position: absolute; right: 12px; color: rgba(238,61,68,.7); font-size: .85rem; }
.hf-pass-toggle {
    position: absolute; right: 10px; background: none; border: none;
    color: rgba(255,255,255,.3); cursor: pointer; padding: 6px; transition: color .2s;
}
.hf-pass-toggle:hover { color: rgba(255,255,255,.6); }
.hf-pass { padding-right: 40px; }

.hf-hint      { display: block; font-size: .75rem; margin-top: .35rem; color: rgba(255,255,255,.3); }
.hf-hint-ok   { color: rgba(46,204,113,.7); }
.hf-hint-err  { color: rgba(231,76,60,.7); }
.hf-hint-warn { color: rgba(243,156,18,.7); }

.hf-divider {
    display: flex; align-items: center; gap: .75rem;
    color: rgba(255,255,255,.2); font-size: .75rem;
    margin: 1.25rem 0 1.1rem; letter-spacing: .04em; text-transform: uppercase;
}
.hf-divider::before, .hf-divider::after { content:''; flex:1; height:1px; background:rgba(255,255,255,.07); }

.hf-error {
    background: rgba(231,76,60,.08); border: 1px solid rgba(231,76,60,.22);
    border-radius: 9px; padding: .8rem 1rem; font-size: .84rem;
    color: #e74c3c; margin-bottom: 1rem;
}

/* Termos */
.hf-terms { margin: 1.2rem 0; }
.hf-checkbox { display: none; }
.hf-terms-label {
    display: flex; align-items: flex-start; gap: .7rem; cursor: pointer;
    font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.55;
}
.hf-terms-label a { color: #EE3D44; text-decoration: none; font-weight: 600; }
.hf-terms-label a:hover { text-decoration: underline; }
.hf-checkbox-box {
    width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
    border: 2px solid rgba(255,255,255,.25); border-radius: 4px;
    background: rgba(255,255,255,.03); display: inline-flex;
    align-items: center; justify-content: center; transition: all .2s;
    position: relative;
}
.hf-checkbox-box::after { content: '✓'; color: #fff; font-size: 11px; font-weight: 700; opacity: 0; transition: opacity .2s; }
.hf-checkbox:checked + .hf-terms-label .hf-checkbox-box { background: #EE3D44; border-color: #EE3D44; }
.hf-checkbox:checked + .hf-terms-label .hf-checkbox-box::after { opacity: 1; }

.hf-submit-btn {
    width: 100%; background: linear-gradient(135deg, #EE3D44, #c0392b);
    color: #fff; border: none; border-radius: 12px; padding: 1rem 1.5rem;
    font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: .6rem;
    transition: all .3s; box-shadow: 0 6px 20px rgba(238,61,68,.25);
    margin-top: .5rem;
}
.hf-submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(238,61,68,.35); }
.hf-submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.hf-secure-note { text-align: center; margin-top: .7rem; font-size: .73rem; color: rgba(255,255,255,.2); }

.hf-success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(46,204,113,.1); border: 2px solid rgba(46,204,113,.3);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem; font-size: 1.5rem; color: #2ecc71;
}

@media (max-width: 580px) {
    .hf-row { grid-template-columns: 1fr; }
}
