/* =====================================================
   NURSEONE. — Página de venda
   Light · Clean · SaaS · Azul institucional
   ===================================================== */

:root {
    --bg: #F7FAFF;
    --bg-soft: #EEF4FD;
    --white: #FFFFFF;

    --ink: #1E2B3B;
    --ink-2: #46566A;
    --muted: #647488;
    --eyebrow: #9AA7B5;

    --blue: #2F80ED;
    --blue-accent: #4A99E8;
    --blue-dark: #1F6FDC;
    --blue-tint: #E8F1FD;
    --blue-tint-2: #DCEAFB;

    --border: #E6ECF5;
    --border-soft: #EDF1F8;

    --maroon: #8A2230;

    --heading: 'Poppins', system-ui, -apple-system, sans-serif;
    --sans: 'Inter', system-ui, -apple-system, sans-serif;

    --container: 1180px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(30, 43, 59, 0.04), 0 4px 16px rgba(30, 43, 59, 0.04);
    --shadow-md: 0 8px 30px rgba(30, 43, 59, 0.08);
    --shadow-blue: 0 12px 30px -10px rgba(47, 128, 237, 0.5);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink-2);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--heading); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.12; }

.container { max-width: var(--container); width: 100%; margin: 0 auto; padding: 0 24px; }

.eyebrow {
    display: inline-block; font-family: var(--heading); font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.16em; color: var(--eyebrow); margin-bottom: 16px;
}

.grad-blue { color: var(--blue-accent); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--heading); font-weight: 600; font-size: 15px; line-height: 1;
    padding: 14px 26px; border-radius: var(--radius-pill); transition: all 0.3s var(--ease);
    white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--blue-tint-2); color: var(--blue); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Building icon ---------- */
.brand-mark { width: auto; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(247, 250, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand-logo { height: 52px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 34px; }
.header-nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 0.25s var(--ease); }
.header-nav a:hover { color: var(--blue); }
.header-nav a.active { color: var(--blue); font-weight: 600; }
.header-nav a.active::after { content: ''; display: block; height: 2px; border-radius: 2px; background: var(--blue); margin-top: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 88px; background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 60%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.hero-title { font-size: clamp(2.3rem, 4.6vw, 3.55rem); margin-bottom: 22px; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero card */
.hero-card {
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 16px; box-shadow: var(--shadow-md);
}
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fade-in 0.5s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.brand-board {
    background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius);
    padding: 40px 24px; display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap;
    min-height: 200px; box-shadow: var(--shadow-sm);
}
.brand-logo-item { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; }
.brand-logo-item svg { height: 30px; }
.brand-logo-item .brand-name { font-family: var(--heading); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.brand-logo-item.is-prime { background: var(--maroon); border-radius: 12px; padding: 16px 22px; gap: 0; }
.brand-logo-item.is-prime .brand-name { color: #fff; }

.hero-card-body { padding: 18px 12px 8px; }
.hero-card-body .eyebrow { margin-bottom: 8px; }
.hero-card-title { font-size: 1.28rem; margin-bottom: 8px; }
.hero-card-text { font-size: 0.96rem; color: var(--muted); }

.hero-card-controls { display: flex; align-items: center; gap: 12px; padding: 6px 12px 4px; }
.hero-arrow {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: var(--white); border: 1px solid var(--border); color: var(--ink-2);
    transition: all 0.25s var(--ease);
}
.hero-arrow:hover { border-color: var(--blue-tint-2); color: var(--blue); }
.hero-dots { display: flex; gap: 7px; margin-left: auto; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 0.3s var(--ease); }
.hero-dot.is-active { width: 22px; border-radius: var(--radius-pill); background: var(--blue); }

/* ---------- Section base ---------- */
.section { padding: 84px 0; }
.section-white { background: var(--white); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 28px; }

/* ---------- Sobre / Diferenciais ---------- */
.about-text { font-size: 1.06rem; color: var(--muted); max-width: 660px; margin-bottom: 44px; }
.about-sub { font-family: var(--heading); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 46px; height: 46px; border-radius: 50%; background: var(--blue-tint);
    display: grid; place-items: center; color: var(--blue); margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Cursos ---------- */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.course-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.course-thumb { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: center 22%; }
.course-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.course-tag {
    align-self: flex-start; font-family: var(--heading); font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue);
    background: var(--blue-tint); padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.course-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.course-sub { font-size: 0.97rem; color: var(--muted); margin-bottom: 16px; }
.course-instructor { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 22px; }
.course-instructor strong { color: var(--ink); font-weight: 600; }
.course-card .btn { margin-top: auto; align-self: flex-start; }

.course-card.is-soon {
    border: 1.5px dashed var(--blue-tint-2); background: var(--bg-soft); box-shadow: none;
    align-items: center; justify-content: center; text-align: center; padding: 40px 24px; min-height: 260px;
}
.course-card.is-soon:hover { transform: none; box-shadow: none; }
.soon-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.course-card.is-soon span { font-family: var(--heading); font-weight: 600; color: var(--ink-2); }

/* ---------- Contato ---------- */
.contact-section { padding: 0 0 90px; }
.contact-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 56px clamp(28px, 5vw, 64px); box-shadow: var(--shadow-md);
}
.contact-card .eyebrow { color: var(--blue); background: var(--blue-tint); padding: 6px 12px; border-radius: var(--radius-pill); letter-spacing: 0.1em; }
.contact-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 18px 0 14px; }
.contact-card p { font-size: 1.05rem; color: var(--muted); max-width: 480px; margin-bottom: 26px; }
.contact-email {
    display: inline-flex; align-items: center; gap: 9px; font-family: var(--heading); font-weight: 600;
    color: var(--blue); background: var(--blue-tint); padding: 14px 24px; border-radius: var(--radius-pill);
    transition: all 0.3s var(--ease);
}
.contact-email:hover { background: var(--blue-tint-2); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--border-soft); padding: 56px 0 48px; text-align: center; }
.footer-logo { height: 64px; width: auto; margin: 0 auto 18px; }
.footer-copy { font-size: 0.92rem; color: var(--muted); margin-bottom: 26px; }
.footer-social-label { font-family: var(--heading); font-weight: 600; font-size: 0.95rem; color: var(--ink); margin-bottom: 14px; }
.footer-social { display: flex; justify-content: center; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: var(--blue-tint); color: var(--blue);
    display: grid; place-items: center; transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-sub { max-width: none; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .header-nav { display: none; }
    .nav-toggle { display: flex; }
    .header-nav.open {
        display: flex; position: absolute; top: 86px; left: 0; right: 0; flex-direction: column;
        align-items: flex-start; gap: 4px; background: var(--white); border-bottom: 1px solid var(--border);
        padding: 14px 24px 20px; box-shadow: var(--shadow-md);
    }
    .header-nav.open a { width: 100%; padding: 10px 0; }
    .header-nav.open .btn { margin-top: 8px; }
    .section { padding: 64px 0; }
    .hero { padding: 48px 0 64px; }
}
@media (max-width: 460px) {
    .feature-grid { grid-template-columns: 1fr; }
    .brand-board { gap: 18px; padding: 30px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { scroll-behavior: auto; }
}
