/* ================================================
   BabyHub - Estilos Atualizados
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Quicksand:wght@500;600;700&display=swap');

:root {
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #4A5568;
    --gray-light: #E2E8F0;
    --gray-lighter: #F7FAFC;
    --gradient-primary: linear-gradient(135deg, #FFB6C1 0%, #FFA07A 100%);
    --pink: #FFB6C1;
    --pink-light: #FFC0CB;
    --salmon: #FFA07A;
    --purple: #C44569;
    --shadow-sm: 0 2px 8px rgba(255, 182, 193, 0.08);
    --shadow-md: 0 4px 16px rgba(255, 182, 193, 0.12);
    --shadow-lg: 0 8px 32px rgba(255, 182, 193, 0.16);
    --shadow-xl: 0 12px 48px rgba(255, 182, 193, 0.20);
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background: linear-gradient(180deg, #E8D5F2 0%, #FFE4DB 50%, #FFF5F0 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.main-container {
    flex: 1;
    padding: var(--spacing-lg);
    padding-top: 90px;
    background: transparent;
    /* â† TRANSPARENTE para ver o gradiente do body */
    min-height: 100vh;
}

/* ================================================
   MENU SUPERIOR
   ================================================ */

.top-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
}

.top-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.top-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
}

.top-nav-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.top-nav-logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Quicksand', sans-serif;
}

.top-nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.top-nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.top-nav-menu a:hover,
.top-nav-menu a.active {
    color: var(--pink);
    background: rgba(255, 182, 193, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border-bottom: none;
}

.top-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* BotÃ£o Premium com Pulso */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #000000;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.8);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent);
    transition: left 0.5s;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.2),
        inset 0 2px 5px rgba(255, 255, 255, 0.8);
    color: #000000;
}

.btn-premium i {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(255, 107, 157, 0.12);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 32px rgba(255, 107, 157, 0.25);
    }
}

/* Dropdown Perfil */
.dropdown-profile {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.profile-trigger:hover {
    background: var(--gray-lighter);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
    max-height: 75vh;
    overflow-y: auto;
}

/* Hover ONLY para dispositivos com mouse (desktop) */
@media (hover: hover) and (pointer: fine) {
    .dropdown-profile:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-light);
}

.dropdown-header strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.dropdown-header span {
    font-size: 0.85rem;
    color: var(--gray);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--gray-lighter);
    color: var(--pink);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.text-danger {
    color: #EF4444 !important;
}

.text-danger:hover {
    background: #FEE2E2 !important;
    color: #DC2626 !important;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 0.5rem 0;
}

/* ================================================
   MAIN CONTAINER
   ================================================ */

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ================================================
   CARROSSEL
   ================================================ */

.carousel-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

/* ================================================
   CARD SEMANA GESTACIONAL
   ================================================ */

.pregnancy-week-card {
    /* Glassmorphism Puro */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: var(--spacing-lg);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho */
.pregnancy-week-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

.pregnancy-week-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pregnancy-week-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pregnancy-week-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pregnancy-week-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ================================================
   DIÃRIO RÃPIDO
   ================================================ */

.quick-diary {
    /* Glassmorphism Consistente */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: var(--spacing-lg);
}

.quick-diary h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-diary textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition);
}

.quick-diary textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ================================================
   CARDS GRID
   ================================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.card {
    /* Glassmorphism Cards */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: var(--spacing-lg);
    transition: var(--transition);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    /* Adicionar brilho superior sutil */
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
}



.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: #fff;
}

.card-image-container {
    width: 140px;
    height: 140px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.card:hover .card-image-container {
    transform: scale(1.05) rotate(2deg);
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--black);
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.card-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.card-footer span {
    color: var(--pink);
    font-weight: 600;
    display: inline-block;
    /* â† ADICIONE */
}

/* ================================================
   BOTÃ•ES
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ================================================
   ALERTS
   ================================================ */

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border-left: 4px solid #10B981;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid #EF4444;
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   MENU INFERIOR MOBILE
   ================================================ */

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.7rem 0.5rem;
    /* Centralizado verticalmente */
}

.bottom-nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bottom-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #C44569;
    /* ROSA ESCURO para aparecer no fundo claro */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.5);
    /* Mais opaco para contraste */
    border: 1px solid rgba(255, 182, 193, 0.3);
}

.bottom-nav-link span:last-child {
    display: none;
    /* Esconder texto para visual limpo estilo app */
}

.bottom-nav-link:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.bottom-nav-link.active {
    background: var(--gradient-primary);
    /* Rosa forte da referÃªncia */
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    transform: scale(1.1);
    border: none;
}

.bottom-nav-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ãcone Premium Dourado */
.bottom-nav-premium .bottom-nav-icon {
    color: #DAA520 !important;
    filter: drop-shadow(0 1px 3px rgba(184, 134, 11, 0.5));
}

.bottom-nav-premium .bottom-nav-icon i {
    background: linear-gradient(180deg, #FFD700 0%, #DAA520 30%, #B8860B 60%, #DAA520 80%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(184, 134, 11, 0.6));
}

.bottom-nav-premium.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.bottom-nav-premium.active .bottom-nav-icon {
    color: white !important;
}

/* ================================================
   RESPONSIVO
   ================================================ */

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-nav-container {
        padding: 0 1rem;
    }

    .top-nav-menu {
        display: none;
    }

    .btn-premium {
        display: none;
    }

    .bottom-nav {
        display: block;
    }

    .main-container {
        padding: 1rem;
        padding-bottom: 80px;
    }

    .carousel-container {
        /* Altura auto - adaptável à imagem */
    }

    .pregnancy-week-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    /* Layout 2-1-2 para mobile */
    .card-wide {
        grid-column: span 2;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1rem;
    }

    .card-wide .card-image-container {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .card-wide>div:last-child {
        flex: 1;
    }

    /* Esconder clique/footer no mobile */
    .card-footer {
        display: none !important;
    }

    /* Ajuste card normal mobile */
    .card {
        padding: 1rem;
    }

    .card-image-container {
        width: 90px;
        height: 90px;
        margin-bottom: 0.5rem;
    }

    .card h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .card p {
        font-size: 0.8rem;
        margin-bottom: 0;
        line-height: 1.2;
    }
}


@media (max-width: 480px) {
    .top-nav-logo-text {
        display: none;
    }

    .cards-grid {
        gap: 0.75rem;
    }

    .card {
        padding: 1rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ================================================
   CARDS DESABILITADOS (EM BREVE)
   ================================================ */

.card-disabled {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(5px);
    cursor: not-allowed !important;
    opacity: 0.7;
    position: relative;
    pointer-events: none;
    border: 1px dashed rgba(156, 163, 175, 0.3);
}

.card-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.card-disabled .card-image-container {
    filter: grayscale(100%) opacity(0.5);
}

.card-disabled h3,
.card-disabled p,
.card-disabled .card-footer span {
    color: #9CA3AF !important;
}

.card-disabled .card-footer span {
    background: transparent;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.badge-coming-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

/* Logo visÃ­vel em mobile */
@media (max-width: 768px) {
    .top-nav-logo {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }

    .top-nav-logo-icon {
        display: block !important;
        font-size: 1.5rem;
    }

}

/* Ãcone Premium Dourado */
.bottom-nav-premium .bottom-nav-icon {
    color: #DAA520 !important;
    filter: drop-shadow(0 1px 3px rgba(184, 134, 11, 0.5));
}

.bottom-nav-premium .bottom-nav-icon i {
    background: linear-gradient(180deg, #FFD700 0%, #DAA520 30%, #B8860B 60%, #DAA520 80%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 1px 2px rgba(184, 134, 11, 0.6));
}

.bottom-nav-premium.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.bottom-nav-premium.active .bottom-nav-icon {
    color: white !important;
}

/* ================================================
   RESPONSIVO
   ================================================ */

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-nav-container {
        padding: 0 1rem;
    }

    .top-nav-menu {
        display: none;
    }

    .btn-premium {
        display: none;
    }

    .bottom-nav {
        display: block;
    }

    .main-container {
        padding: 1rem;
        padding-bottom: 80px;
    }

    .carousel-container {
        /* altura auto */
    }

    .pregnancy-week-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    /* Layout 2-1-2 para mobile */
    .card-wide {
        grid-column: span 2;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1rem;
    }

    .card-wide .card-image-container {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .card-wide>div:last-child {
        flex: 1;
    }

    /* Esconder clique/footer no mobile */
    .card-footer {
        display: none !important;
    }

    /* Ajuste card normal mobile */
    .card {
        padding: 1rem;
    }

    .card-image-container {
        width: 90px;
        height: 90px;
        margin-bottom: 0.5rem;
    }

    .card h3 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .card p {
        font-size: 0.8rem;
        margin-bottom: 0;
        line-height: 1.2;
    }
}


@media (max-width: 480px) {
    .top-nav-logo-text {
        display: none;
    }

    .cards-grid {
        gap: 0.75rem;
    }

    .card {
        padding: 1rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ================================================
   CARDS DESABILITADOS (EM BREVE)
   ================================================ */

.card-disabled {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(5px);
    cursor: not-allowed !important;
    opacity: 0.7;
    position: relative;
    pointer-events: none;
    border: 1px dashed rgba(156, 163, 175, 0.3);
}

.card-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.card-disabled .card-image-container {
    filter: grayscale(100%) opacity(0.5);
}

.card-disabled h3,
.card-disabled p,
.card-disabled .card-footer span {
    color: #9CA3AF !important;
}

.card-disabled .card-footer span {
    background: transparent;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.badge-coming-soon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.3);
}

/* Logo visÃ­vel em mobile */
@media (max-width: 768px) {
    .top-nav-logo {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
    }

    .top-nav-logo-icon {
        display: block !important;
        font-size: 1.5rem;
    }

    .top-nav-logo-text {
        display: block !important;
        font-size: 1.2rem;
        font-weight: 700;
        background: linear-gradient(135deg, #FF6B9D 0%, #E85D8A 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

/* ================================================
   PROFILE CARD
   ================================================ */

.profile-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.profile-card .card-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.profile-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ================================================
   FORM STYLES
   ================================================ */

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 182, 193, 0.2);
}

.form-input:disabled {
    background: #f8fafc;
    color: var(--gray);
    cursor: not-allowed;
}

/* ================================================
   GLOBAL PAGE HERO (Standardized Banner)
   ================================================ */

.page-hero {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    color: white;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 1.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* ================================================
   RASTREADOR CIRCULAR DE GRAVIDEZ
   ================================================ */

.pregnancy-tracker-wrapper {
    background: transparent;
    padding: 2rem;
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
}

.tracker-container {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 1rem auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Os nÃºmeros ao redor */
.week-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    margin-top: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: #cbd5e1;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10;
    isolation: isolate;
}

.week-marker.active {
    color: #FF69B4;
    font-weight: 700;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.week-marker.current {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.4);
    z-index: 15;
    width: 32px;
    height: 32px;
    margin-left: -16px;
    margin-top: -16px;
    font-size: 0.9rem;
    font-weight: 800;
}

/* O anel de progresso SVG */
.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* RotaÃ§Ã£o agora Ã© inline para precisÃ£o */
    width: 280px;
    height: 280px;
    z-index: 0;
    pointer-events: none;
}

.progress-ring-circle-bg {
    fill: transparent;
    stroke: #f1f5f9;
    stroke-width: 6;
}

.progress-ring-circle {
    fill: transparent;
    stroke: url(#gradient);
    stroke-width: 6;
    stroke-linecap: round;
    /* stroke-dasharray serÃ¡ setado via JS ou inline */
    transition: stroke-dashoffset 2.5s ease-out;
}

/* Container central da imagem */
.tracker-center-image {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #fff5f7;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracker-center-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info do header e footer do card */
.tracker-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.tracker-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.tracker-subtitle {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
}

.tracker-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;
}

.tracker-info-box {
    background: #FFF5F7;
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.tracker-info-box .week-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tracker-info-box:hover {
    transform: translateY(-5px);
}

.dpp-container {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f8fafc;
    width: 100%;
}

.dpp-date {
    color: #FFB6C1;
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-top: 0.2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tracker-container {
        width: 300px;
        height: 300px;
    }

    .progress-ring {
        width: 240px;
        height: 240px;
    }

    .tracker-center-image {
        width: 180px;
        height: 180px;
    }

    .tracker-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .week-marker {
        font-size: 0.6rem;
        width: 20px;
        height: 20px;
        margin-left: -10px;
        margin-top: -10px;
    }
}

/* ================================================
   GRADIENTE CUSTOMIZADO HEADER CARDS
   ================================================ */
.header-card-gradient {
    background: linear-gradient(135deg, #FF9A8B 0%, #A2D2FF 100%) !important;
}

/* ForÃ§ar contraste branco nos textos dentro deste header */
.header-card-gradient h1,
.header-card-gradient h2,
.header-card-gradient h3,
.header-card-gradient p,
.header-card-gradient span,
.header-card-gradient i {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
}

/* ================================================
   SISTEMA PREMIUM - FREE VS PREMIUM
   ================================================ */

/* Badge Premium */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.8);
    animation: shimmer 2s infinite;
}

.premium-badge i {
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
}

@keyframes shimmer {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.5);
    }
}

/* Badge Premium em Cards de Curso */
.course-card .premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Lock Icon para conteÃºdo premium */
.premium-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 215, 0, 0.9);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    z-index: 5;
    pointer-events: none;
}

/* Overlay em conteÃºdo premium para usuÃ¡rios FREE */
.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9;
    border-radius: inherit;
    cursor: pointer;
    transition: all 0.3s;
}

.premium-overlay:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.premium-overlay-text {
    color: white;
    text-align: center;
    padding: 20px;
}

.premium-overlay-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.premium-overlay-text p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.premium-overlay-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.premium-overlay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Modal de Upgrade Premium */
.premium-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.premium-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    padding: 0;
    position: relative;
    animation: slideUp 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.premium-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.premium-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,96C1248,75,1344,53,1392,42.7L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
    border-radius: 20px 20px 0 0;
}

.premium-modal-crown {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.premium-modal-header h2 {
    color: white;
    font-size: 2rem;
    margin: 0 0 10px 0;
    position: relative;
}

.premium-modal-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
    position: relative;
}

.premium-modal-body {
    padding: 30px;
}

.premium-benefits {
    margin: 20px 0;
}

.premium-benefits h3 {
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
}

.premium-benefits ul {
    list-style: none;
    padding: 0;
}

.premium-benefits li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.premium-benefits li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.premium-benefits li i {
    color: #28a745;
    font-size: 1.2rem;
    min-width: 24px;
}

.premium-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.premium-modal-button {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.premium-modal-button-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.premium-modal-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.premium-modal-button-secondary {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.premium-modal-button-secondary:hover {
    background: #f8f9fa;
    color: #495057;
}

.premium-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.premium-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Responsivo - Modal Premium */
@media (max-width: 768px) {
    .premium-modal-content {
        margin: 10px;
    }

    .premium-modal-header {
        padding: 30px 20px;
    }

    .premium-modal-crown {
        font-size: 3rem;
    }

    .premium-modal-header h2 {
        font-size: 1.5rem;
    }

    .premium-modal-body {
        padding: 20px;
    }

    .premium-benefits li {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* Adicionado por BabyHub Fix - Suporte a JS para Dropdown */
.dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}