/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #2AB7A9;
    --teal-light: #4ECDC4;
    --teal-dark: #1a9e91;
    --mint: #e8f8f5;
    --mint-light: #f0faf8;
    --white: #ffffff;
    --gray-50: #f8fafa;
    --gray-100: #f1f5f4;
    --gray-200: #e2e8e7;
    --gray-500: #6b7e7a;
    --gray-700: #2d3b39;
    --gray-900: #1a2421;
    --gold: #d4a843;
    --shadow-sm: 0 2px 8px rgba(42, 183, 169, 0.08);
    --shadow-md: 0 8px 30px rgba(42, 183, 169, 0.12);
    --shadow-lg: 0 20px 60px rgba(42, 183, 169, 0.15);
    --shadow-xl: 0 30px 80px rgba(42, 183, 169, 0.2);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(42, 183, 169, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--teal), var(--teal-light)) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f8f5 0%, #d1f0eb 30%, #b2e6df 60%, var(--teal-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(42, 183, 169, 0.15);
    animation: float 8s ease-in-out infinite;
}

.p1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.p2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 15%;
    animation-delay: 2s;
    background: rgba(78, 205, 196, 0.1);
}

.p3 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 10%;
    animation-delay: 4s;
}

.p4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 20%;
    animation-delay: 1s;
    background: rgba(42, 183, 169, 0.08);
}

.p5 {
    width: 40px;
    height: 40px;
    top: 40%;
    left: 40%;
    animation-delay: 3s;
}

.p6 {
    width: 70px;
    height: 70px;
    bottom: 30%;
    left: 30%;
    animation-delay: 5s;
    background: rgba(78, 205, 196, 0.12);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--teal-dark);
    border: 1px solid rgba(42, 183, 169, 0.2);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-logo-wrapper {
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-logo {
    height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(42, 183, 169, 0.15));
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-highlight {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-location {
    font-size: 0.7em;
    color: var(--gray-500);
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 480px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s both;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(42, 183, 169, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(42, 183, 169, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--teal-dark);
    border: 2px solid rgba(42, 183, 169, 0.3);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: var(--teal);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(42, 183, 169, 0.3);
}

/* Hero Image */
.hero-image {
    flex: 0 0 420px;
    position: relative;
    animation: fadeInUp 1s ease 0.3s both;
}

/* 1. Wrapper com position relative para os elementos absolutos internos */
.hero-image-wrapper {
    position: relative;
    z-index: 10;
}

.hero-image-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 183, 169, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

/* 2. Brasão/Logo atrás da enfermeira - centralizado e flutuante */
.hero-logo-brasao-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    max-width: 600px;
    height: auto;
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
    animation: logoFloat 4s ease-in-out infinite;
}

/* 3. Enfermeira na frente do brasão */
.hero-nurse-img {
    position: relative;
    z-index: 2;
    max-height: 520px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* 4. Cartões flutuantes na frente de tudo */
.floating-card {
    position: absolute;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    animation: floatCard 4s ease-in-out infinite;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.fc-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 2s;
}

.fc-icon {
    font-size: 1.2rem;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-12px);
    }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.text-accent {
    color: var(--teal);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--mint-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(42, 183, 169, 0.08);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border-color: rgba(42, 183, 169, 0.2);
}

.about-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
}

.about-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== TEAM ===== */
.team-showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--mint) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(232, 248, 245, 0.3) 0%, rgba(42, 183, 169, 0.15) 100%);
    aspect-ratio: 3/4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: var(--transition);
}

.team-img-wrapper img {
    height: 90%;
    object-fit: contain;
    object-position: bottom;
    transition: var(--transition);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 55%, transparent 95%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 55%, transparent 95%);
    mix-blend-mode: luminosity;
    filter: contrast(1.05) brightness(1.02);
}

.team-img-wrapper:hover img {
    transform: scale(1.05);
    mix-blend-mode: normal;
    filter: none;
}

.team-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 183, 169, 0.05) 0%, rgba(42, 183, 169, 0.12) 50%, rgba(232, 248, 245, 0.4) 100%);
    border-radius: var(--radius-xl);
    pointer-events: none;
}

/* ===== COURSES ===== */
.courses {
    padding: 100px 0;
    background: var(--white);
}

.course-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(42, 183, 169, 0.12);
    padding: 48px;
    margin-bottom: 40px;
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(42, 183, 169, 0.25);
}

.course-number {
    position: absolute;
    top: -20px;
    right: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(42, 183, 169, 0.06);
    line-height: 1;
    pointer-events: none;
}

.course-header {
    margin-bottom: 20px;
}

.course-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--mint);
    color: var(--teal-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.course-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.course-subtitle {
    font-size: 1.05rem;
    color: var(--teal);
    font-weight: 500;
}

.course-desc {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    max-width: 600px;
}

.btn-course {
    margin-bottom: 0;
}

.course-speakers {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--gray-200);
}

.speakers-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.speakers-title svg {
    color: var(--teal);
}

.speaker-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--mint-light);
    margin-bottom: 16px;
    border: 1px solid rgba(42, 183, 169, 0.06);
    transition: var(--transition);
}

.speaker-card:hover {
    background: var(--mint);
}

.speaker-card:last-child {
    margin-bottom: 0;
}

.speaker-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.speaker-info h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.speaker-credentials {
    padding-left: 16px;
}

.speaker-credentials li {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 4px;
    position: relative;
    padding-left: 12px;
    list-style: none;
}

.speaker-credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--teal);
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal), var(--teal-light));
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background: url('assets/section-pattern.png') center/cover no-repeat;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    transition: var(--transition);
    min-width: 240px;
}

.btn-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-cta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.btn-cta-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 16px 0;
    background: rgba(26, 36, 33, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(42, 183, 169, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-link {
    color: var(--teal-light);
    font-weight: 600;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
}

/* Add bottom padding for fixed footer */
body {
    padding-bottom: 60px;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-image {
        flex: 0 0 340px;
    }

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

/* ===== RESPONSIVE - MOBILE PREMIUM ===== */
@media (max-width: 768px) {

    /* Smooth scrolling feel */
    html {
        scroll-padding-top: 70px;
        -webkit-overflow-scrolling: touch;
    }

    .container {
        padding: 0 20px;
    }

    /* --- Mobile Navbar --- */
    .navbar {
        padding: 10px 0;
    }

    .nav-logo-img {
        height: 38px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 32px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(30px);
        padding: 60px 40px;
        gap: 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 20px 0;
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--gray-700);
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 16px !important;
        padding: 16px 40px !important;
        font-size: 1.1rem !important;
        width: 100%;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* --- Mobile Hero - Fullscreen --- */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-top: 0;
        padding-bottom: 40px;
    }

    .navbar {
        background: transparent;
        border-bottom: none;
    }

    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(42, 183, 169, 0.08);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 0;
        gap: 0;
        min-height: calc(100vh - 40px);
        min-height: calc(100dvh - 40px);
        justify-content: flex-start;
        position: relative;
    }

    /* Nurse image - large and prominent */
    .hero-image {
        order: 1;
        flex: none;
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 10;
        /* Aumentado para garantir que os cards apareçam sobre o degradê do conteúdo */
        margin-top: 50px;
    }

    .hero-nurse-img {
        max-height: 420px;
        margin: 0 auto;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 55%, transparent 92%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 55%, transparent 92%);
    }

    /* Logo/Brasão atrás da enfermeira no mobile - centralizado */
    .hero-logo-brasao-background {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 130%;
        max-width: 500px;
        height: auto;
        opacity: 0.55;
        z-index: 1;
        pointer-events: none;
        animation: logoFloatMobile 4s ease-in-out infinite;
    }

    @keyframes logoFloatMobile {

        0%,
        100% {
            transform: translate(-50%, -50%) translateY(0);
        }

        50% {
            transform: translate(-50%, -50%) translateY(-15px);
        }
    }


    /* Content below the nurse */
    .hero-content {
        order: 2;
        position: relative;
        z-index: 3;
        margin-top: -30px;
        background: linear-gradient(to bottom, transparent 0%, rgba(209, 240, 235, 0.85) 20%, rgba(209, 240, 235, 0.95) 100%);
        padding-top: 20px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .title-location {
        font-size: 0.65em;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin: 0 auto 20px;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* Buttons - prominent and visible */
    .hero-actions {
        justify-content: center;
        gap: 10px;
        margin-bottom: 24px;
        flex-direction: column;
        padding: 0 16px;
    }

    .btn {
        padding: 16px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        font-weight: 700;
    }

    .btn-primary {
        box-shadow: 0 6px 24px rgba(42, 183, 169, 0.4);
        font-size: 1.05rem;
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--teal);
        font-size: 1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 24px;
        margin-top: 4px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        width: 1px;
        height: 32px;
    }

    /* Cartões flutuantes no mobile - visíveis e ajustados */
    .floating-card {
        display: flex;
        z-index: 20;
        padding: 10px 18px;
        font-size: 0.8rem;
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.95);
    }

    .fc-1 {
        top: 20%;
        right: 10%;
    }

    .fc-2 {
        bottom: 15%;
        left: 8%;
    }

    .hero-wave svg {
        height: 40px;
    }

    /* --- Mobile About --- */
    .about {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-tag {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 0.92rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .about-card {
        padding: 24px 16px;
        border-radius: var(--radius-md);
    }

    .about-card-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .about-card-icon svg {
        width: 24px;
        height: 24px;
    }

    .about-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .about-card p {
        font-size: 0.8rem;
    }

    /* --- Mobile Team - Auto Carousel --- */
    .team-showcase {
        padding: 60px 0;
    }

    .team-grid {
        display: block;
        max-width: 320px;
        margin: 0 auto;
        position: relative;
        height: 420px;
        overflow: hidden;
    }

    .team-member {
        position: absolute;
        inset: 0;
        opacity: 0;
        animation: teamCarousel 12s ease-in-out infinite;
        transition: opacity 0.8s ease;
    }

    .team-member:nth-child(1) {
        animation-delay: 0s;
    }

    .team-member:nth-child(2) {
        animation-delay: 4s;
    }

    .team-member:nth-child(3) {
        animation-delay: 8s;
    }

    .team-img-wrapper {
        border-radius: var(--radius-lg);
        height: 100%;
    }

    .team-img-wrapper img {
        height: 100%;
    }

    @keyframes teamCarousel {

        0%,
        5% {
            opacity: 0;
            transform: scale(0.95) translateY(10px);
        }

        8%,
        30% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        33%,
        100% {
            opacity: 0;
            transform: scale(0.95) translateY(-10px);
        }
    }

    /* Carousel dots indicator */
    .team-grid::after {
        content: '';
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 6px;
        background: rgba(42, 183, 169, 0.15);
        border-radius: 3px;
        z-index: 5;
    }

    /* --- Mobile Courses --- */
    .courses {
        padding: 60px 0;
    }

    .course-card {
        padding: 24px;
        margin-bottom: 24px;
        border-radius: var(--radius-lg);
    }

    .course-number {
        font-size: 4rem;
        right: 16px;
        top: -10px;
    }

    .course-title {
        font-size: 1.25rem;
    }

    .course-subtitle {
        font-size: 0.92rem;
    }

    .course-desc {
        font-size: 0.88rem;
    }

    .btn-course {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }

    .course-speakers {
        margin-top: 24px;
        padding-top: 24px;
    }

    .speakers-title {
        font-size: 1rem;
    }

    .speaker-card {
        flex-direction: row;
        gap: 12px;
        padding: 16px;
        border-radius: var(--radius-sm);
    }

    .speaker-avatar {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 0.8rem;
    }

    .speaker-info h5 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .speaker-credentials li {
        font-size: 0.78rem;
        margin-bottom: 3px;
    }

    /* --- Mobile CTA --- */
    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-text {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 0 10px;
    }

    .btn-cta {
        min-width: auto;
        padding: 18px 24px;
        border-radius: var(--radius-md);
    }

    .btn-cta-name {
        font-size: 1rem;
    }

    /* --- Mobile Footer --- */
    .footer {
        padding: 12px 0;
    }

    .footer-text {
        font-size: 0.78rem;
    }

    body {
        padding-bottom: 50px;
    }
}

/* ===== RESPONSIVE - SMALL MOBILE ===== */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-logo {
        height: 80px;
    }

    .hero-nurse-img {
        max-height: 220px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        flex: 0 0 80vw;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay for grid items */
.animate-on-scroll:nth-child(1) {
    transition-delay: 0s;
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

/* Active touch states for mobile */
@media (hover: none) {
    .btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }

    .about-card:active {
        transform: scale(0.98);
    }

    .course-card:active {
        border-color: rgba(42, 183, 169, 0.3);
    }

    .btn-cta:active {
        transform: scale(0.97);
        background: rgba(255, 255, 255, 0.3);
    }
}