@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600;700&family=Sora:wght@700;800&display=swap');

:root {
    /* Cores globais do portal */
    --Ailos-blue: #045473;       
    --Ailos-green: #00ae9d;      
    --Ailos-white: #ffffff;
    --Ailos-error: #e2e23939;    
    --Ailos-bg-body: #f2f1f1;    
    
    --font-main: 'Roboto', sans-serif;
    --font-title: 'Roboto', sans-serif; 
}

*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= HEADER ================= */
.portal-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 200;
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(30, 10, 232, 0.1);
    box-shadow: 0 2px 20px rgba(30, 10, 232, 0.06);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img { height: 28px; width: auto; }

.btn-header {
    background: var(--Ailos-blue);
    color: var(--Ailos-white);
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-header:hover {
    background: var(--Ailos-green);
}

/* ================= HERO PREMIUM ================= */
.hero-wrapper {
    position: relative;
    margin-top: 72px;
    min-height: calc(100vh - 72px);
    background: var(--Ailos-blue);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-diagonal {
    position: absolute;
    bottom: -2px;
    right: -1px;
    width: 55%;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    pointer-events: none;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0, 171, 22, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}

.hero-left {
    color: var(--Ailos-white);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-left.visible { opacity: 1; transform: translateY(0); }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--Ailos-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--Ailos-green);
    box-shadow: 0 0 0 3px rgba(0, 171, 22, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(0, 171, 22, 0.3); }
    50%      { box-shadow: 0 0 0 6px rgba(0, 171, 22, 0.1); }
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-highlight { color: var(--Ailos-green); }

.hero-subtitle {
    font-size: 16px;
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-subtitle strong { color: var(--Ailos-white); font-weight: 700; }

.trust-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    backdrop-filter: blur(4px);
}

.trust-item { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.trust-number { font-family: var(--font-title); font-size: 22px; font-weight: 800; color: var(--Ailos-white); line-height: 1; }
.trust-label { font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; }
.trust-divider { width: 1px; height: 32px; background: rgba(255, 255, 255, 0.2); }

.btn-main {
    background: var(--Ailos-white);
    color: var(--Ailos-blue);
    width: 100%;
    padding: 18px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(30, 10, 232, 0.35);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-main svg:first-child { color: var(--Ailos-green); }
.btn-arrow { margin-left: auto; opacity: 0.5; transition: transform 0.2s, opacity 0.2s; }

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}
.btn-main:hover .btn-arrow { transform: translateX(4px); opacity: 1; }

.security-text {
    font-size: 12.5px; margin-top: 16px; display: flex; align-items: center;
    justify-content: center; gap: 6px; color: rgba(255, 255, 255, 0.7);
}

.hero-right {
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transform: translateX(24px); transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}
.hero-right.visible { opacity: 1; transform: translateX(0); }

.card-showcase { position: relative; width: 100%; max-width: 500px; }

.card-glow {
    position: absolute; inset: -30px;
    background: radial-gradient(ellipse, rgba(0, 171, 22, 0.25) 0%, transparent 70%);
    pointer-events: none; animation: glow-breathe 3s ease-in-out infinite;
}

@keyframes glow-breathe {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1; transform: scale(1.05); }
}

.card-img {
    width: 100%; border-radius: 20px; display: block; position: relative; z-index: 2;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}
.card-showcase:hover .card-img { transform: scale(1.02) translateY(-4px); }

.floating-pill {
    position: absolute; z-index: 10; display: flex; align-items: center; gap: 7px;
    background: var(--Ailos-white); color: var(--Ailos-blue); font-size: 12px; font-weight: 700;
    padding: 10px 16px; border-radius: 50px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    white-space: nowrap; animation: float 3s ease-in-out infinite;
}
.floating-pill svg { color: var(--Ailos-green); }

.pill-top { top: -16px; right: 16px; animation-delay: 0s; }
.pill-bottom { bottom: -16px; left: 16px; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-6px); }
}

/* ================= SEÇÃO DOS 3 PASSOS ================= */
.steps-section {
    background-color: var(--Ailos-white);
    padding: 80px 0;
}

.steps-header {
    text-align: center;
    margin-bottom: 50px;
}

.steps-header h2 {
    font-family: var(--font-title);
    font-size: 32px;
    color: var(--Ailos-blue);
    margin-bottom: 16px;
}

.steps-header p {
    font-size: 16px;
    color: var(--Ailos-blue);
    opacity: 0.8;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 30px; 
}

@media (min-width: 900px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.step-card {
    background: var(--Ailos-white);
    border: 2px solid var(--Ailos-blue);
    border-radius: 16px;
    padding: 50px 24px 30px; 
    text-align: center;
    position: relative;
    transition: transform 0.2s;
    width: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 700;
    color: var(--Ailos-green);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--Ailos-white);
    padding: 0 15px;
    z-index: 10;
    line-height: 1;
}

.step-icon {
    color: var(--Ailos-green);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.step-card h3 {
    font-family: var(--font-title);
    font-size: 20px;
    color: var(--Ailos-blue);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--Ailos-blue);
    line-height: 1.6;
}

/* ================= FOOTER ================= */
.portal-footer {
    background: #001ec6;
    padding: 30px 0;
    color: var(--Ailos-white);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.footer-logo {
    height: 25px;
    width: auto;
}

.portal-footer p {
    font-size: 12px;
    opacity: 0.7;
}

/* ================= RESPONSIVO MOBILE ================= */
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 60px; text-align: center; }
    .hero-subtitle { max-width: 100%; margin: 0 auto 36px auto; }
    .hero-right { order: -1; }
    .card-showcase { max-width: 360px; margin: 0 auto; }
    .trust-bar { gap: 12px; }
    .trust-number { font-size: 18px; }
    .floating-pill { font-size: 11px; padding: 8px 12px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .steps-header h2 { font-size: 28px; }
}

/* ================= GERAIS ================= */
html { scroll-behavior: smooth; }
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.mt-15 { margin-top: 15px; }
.mt-30 { margin-top: 30px; }

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--Ailos-white);
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }