/**
 * Dose Certa - Design System & Estilos Modernos Mobile-First
 * Autoria: Leandro Kywdery - https://conectsistemas.com.br - 15/09/2026
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Cores Primárias e Gradientes */
    --primary: #0284c7;
    --primary-hover: #0369a1;
    --primary-light: #e0f2fe;
    --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --card-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    /* Cores de Destaque Clínico */
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    
    /* Superfícies e Textos */
    --bg-app: #f1f5f9;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-focus: #38bdf8;
    
    /* Sombras e Elevações */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Reset Global e Tipografia */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-app);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 85px; /* Espaço para a barra inferior mobile */
    min-height: 100vh;
}

/* Header Superior */
.app-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.header-logo-drop {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 82, 204, 0.18));
}

.header-brand-text {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.header-slogan {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-demo {
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid #fde68a;
}

.badge-admin {
    background: #ede9fe;
    color: #6d28d9;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
    text-decoration: none;
}

.user-greeting {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Containers e Layout */
.app-main-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 16px 18px;
}

.card-elevated {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.section-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Seção TDD e Slider */
.badge-pill {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.tdd-display-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 16px 0;
}

.btn-step {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-step:active {
    transform: scale(0.92);
    background: var(--primary-light);
}

.tdd-value-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.input-display-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    border: none;
    background: transparent;
    text-align: center;
    width: 110px;
    outline: none;
    font-family: inherit;
}

.unit-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Slider Elegante */
.slider-container {
    padding: 6px 4px 10px;
}

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: #e2e8f0;
    outline: none;
    transition: background 0.2s ease;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
    cursor: pointer;
    transition: transform 0.1s ease;
}

.calc-slider::-webkit-slider-thumb:active {
    transform: scale(1.15);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* Cards de Parâmetros */
.parameters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.param-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.param-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.param-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.param-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.param-highlight {
    margin-top: 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.param-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.param-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Inputs de Glicemia e Carboidratos */
.inputs-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modern-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.sub-label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.input-with-controls {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 4px 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-with-controls:focus-within {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    background: #ffffff;
}

.modern-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
    outline: none;
    width: 60px;
    font-family: inherit;
}

.modern-input.large {
    font-size: 1.6rem;
}

.btn-micro {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: #ffffff;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-micro:active {
    transform: scale(0.9);
}

/* Card de Resultado em Destaque */
.result-card-main {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.result-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #14532d;
}

.badge-result {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid rgba(187, 247, 208, 0.6);
}

.breakdown-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.breakdown-formula {
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: monospace;
    margin: 3px 0;
}

.breakdown-value {
    font-size: 1.25rem;
    color: var(--text-main);
}

.breakdown-value strong {
    font-weight: 800;
}

.breakdown-value span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.total-highlight-box {
    text-align: center;
    margin: 20px 0 16px;
}

.total-caption {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #166534;
}

.total-number-row {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 6px;
    margin: 4px 0;
}

.total-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #15803d;
}

.total-unit {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
}

.total-math-summary {
    font-size: 0.85rem;
    color: #15803d;
    font-weight: 500;
}

.btn-save-action {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-save-action:active {
    transform: scale(0.98);
}

/* Card de Aviso Médico (PRD 4) */
.medical-disclaimer-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 4px solid var(--accent-amber);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.disclaimer-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.disclaimer-text strong {
    font-size: 0.85rem;
    color: #92400e;
}

.disclaimer-text p {
    font-size: 0.8rem;
    color: #78350f;
    margin-top: 2px;
    line-height: 1.4;
}

/* Botões Globais */
.btn-primary-gradient {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.btn-primary-gradient:hover {
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
}

.btn-subtle {
    background: #f1f5f9;
    border: none;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}

.full-width {
    width: 100%;
}

/* Navegação Inferior Mobile-First */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 600;
    transition: color 0.15s ease;
}

.nav-icon {
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.nav-item.active {
    color: var(--primary);
}

/* Rodapé */
.app-footer {
    text-align: center;
    padding: 20px 0 10px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.app-footer a {
    color: var(--primary);
    text-decoration: none;
}

/* Notificações Flash */
.flash-container {
    max-width: 680px;
    margin: 10px auto 0;
    padding: 0 18px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-info {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.alert-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
}

/* PWA Banner */
.pwa-banner {
    position: fixed;
    bottom: 80px;
    left: 18px;
    right: 18px;
    max-width: 644px;
    margin: 0 auto;
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.pwa-banner-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pwa-banner-icon {
    font-size: 1.6rem;
}

.pwa-banner-info strong {
    font-size: 0.88rem;
    display: block;
}

.pwa-banner-info p {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Modais e Formulários */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 18px;
}

.modal-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 420px;
    width: 100%;
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

.form-control {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 20px; }
.my-4 { margin-top: 20px; margin-bottom: 20px; }

/* =======================================================
   ESTILOS DE AUTENTICAÇÃO (LOGIN & CADASTRO CENTRALIZADOS)
   ======================================================= */

.auth-body {
    background: linear-gradient(180deg, #f8fafd 0%, #edf5fd 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 16px;
    color: #0f172a;
    font-family: var(--font-main);
}

.auth-page-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-brand {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.auth-logo-link:hover {
    transform: translateY(-2px);
}

.auth-logo-drop {
    filter: drop-shadow(0 6px 14px rgba(0, 82, 204, 0.2));
    margin-bottom: 10px;
}

.auth-brand-name {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    display: block;
}

.auth-brand-slogan {
    font-size: 0.84rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

.auth-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 36px 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
    margin-bottom: 20px;
}

.auth-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.45;
}

.auth-form .form-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.auth-form .form-control {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.95rem;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.auth-form .form-control:focus {
    background: #ffffff;
    border-color: #0052cc;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #008751;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.45;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
    padding: 0 12px;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.auth-extra-links {
    text-align: center;
    font-size: 0.9rem;
    color: #475569;
}

.link-highlight {
    color: #0052cc;
    font-weight: 700;
    text-decoration: none;
}

.link-highlight:hover {
    text-decoration: underline;
}

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

.link-demo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.link-demo:hover {
    background: #bae6fd;
    transform: translateY(-1px);
}

.link-back-home {
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
}

.link-back-home:hover {
    color: #0052cc;
    text-decoration: underline;
}

.legal-note {
    font-size: 0.76rem;
    color: #94a3b8;
}

.legal-note a {
    color: #64748b;
    text-decoration: none;
}

.legal-note a:hover {
    text-decoration: underline;
}

/* =======================================================
   EMBLEMA DA LOGO OFICIAL NA CALCULADORA E INTERIOR
   ======================================================= */

.calc-top-brand-banner {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.calc-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.calc-brand-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.calc-brand-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 2px;
}

/* =======================================================
   LANDING PAGE OFICIAL — DOSE CERTA (DESKTOP & MOBILE)
   ======================================================= */

.landing-body {
    background: linear-gradient(180deg, #f8fafd 0%, #edf5fd 100%);
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    padding-bottom: 0;
}

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

/* Header Institucional */
.landing-header {
    padding: 16px 0;
    position: relative;
    z-index: 50;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.landing-brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
}

.text-blue { color: #0052cc; }
.text-green { color: #00a86b; }

.landing-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #0052cc;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 36px;
    align-items: center;
    padding: 30px 24px 50px;
}

.hero-content {
    max-width: 580px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #0284c7;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.hero-headline {
    font-size: 4.4rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 18px;
}

.hero-subheadline {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
}

.hero-description {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 30px;
}

/* Ações de Botões em Pílula */
.hero-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 13px;
    max-width: 440px;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 24px;
    border-radius: 40px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    position: relative;
}

.btn-action:hover {
    transform: translateY(-2px);
}

.btn-action-green {
    background: #008751;
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 135, 81, 0.28);
}

.btn-action-green:hover {
    background: #007545;
    box-shadow: 0 8px 22px rgba(0, 135, 81, 0.38);
}

.btn-action-white {
    background: #ffffff;
    color: #0b3b60;
    border: 1.5px solid #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

.btn-action-white:hover {
    background: #f0f7ff;
}

.btn-action-soft {
    background: #e2eef8;
    color: #0b3b60;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.btn-action-soft:hover {
    background: #d4e7f6;
}

.btn-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-action-text {
    display: flex;
    flex-direction: column;
}

.btn-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn-subtitle {
    font-size: 0.78rem;
    opacity: 0.85;
    font-weight: 500;
    margin-top: 1px;
}

/* Coluna Visual: Mockup de Celular Realista */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.smartphone-frame {
    width: 275px;
    height: 550px;
    background: #0f172a;
    border-radius: 44px;
    border: 5px solid #334155;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px #1e293b;
    position: relative;
    padding: 10px;
    flex-shrink: 0;
}

.phone-notch {
    width: 90px;
    height: 18px;
    background: #0f172a;
    border-radius: 0 0 14px 14px;
    margin: -10px auto 4px;
    position: relative;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f0fdf4 0%, #e0f2fe 50%, #f8fafc 100%);
    border-radius: 34px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    color: #0f172a;
    padding: 0 6px 6px;
}

.status-icons {
    display: flex;
    gap: 4px;
}

.phone-content-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18px;
}

.phone-brand-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.phone-logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 6px;
}

.phone-logo-sub {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

.phone-features-circles {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 34px;
}

.p-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 68px;
}

.p-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.p-blue { background: #e0f2fe; }
.p-green { background: #dcfce7; }
.p-orange { background: #ffedd5; }

.p-circle-item span {
    font-size: 0.65rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
}

.phone-handwritten-box {
    margin-top: auto;
    padding-bottom: 20px;
}

.script-phone {
    font-family: 'Caveat', cursive;
    font-size: 1.35rem;
    font-weight: 700;
    color: #008751;
    text-align: center;
    transform: rotate(-4deg);
}

/* Nota Manuscrita Elegante ao lado do celular */
.calligraphy-side-note {
    margin-left: 24px;
    position: relative;
    top: -20px;
}

.handwritten-text {
    font-family: 'Caveat', cursive;
    font-size: 2.3rem;
    font-weight: 700;
    color: #008751;
    line-height: 1.05;
    max-width: 180px;
    transform: rotate(-6deg);
}

.curved-underline {
    margin-top: -6px;
}

/* 4 Destaques em Cards Horizontais */
.features-four-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 10px auto 30px;
}

.feat-pill-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 20px;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feat-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-blue { background: #e0f2fe; }
.icon-green { background: #dcfce7; }
.icon-orange { background: #ffedd5; }
.icon-purple { background: #f3e8ff; }

.feat-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.feat-text span {
    font-size: 0.76rem;
    color: #64748b;
}

/* Banner de Aviso Importante Inferior */
.disclaimer-banner {
    background: #eaf4fd;
    border-radius: 18px;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d0e7fc;
    margin-bottom: 50px;
}

.disclaimer-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.disclaimer-heart-icon {
    flex-shrink: 0;
}

.disclaimer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.disclaimer-p {
    font-size: 0.84rem;
    color: #334155;
    line-height: 1.45;
}

.disclaimer-more-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0052cc;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 20px;
}

.disclaimer-more-link:hover {
    text-decoration: underline;
}

/* Elementos exclusivos para Mobile e Desktop */
.mobile-only {
    display: none !important;
}

/* =======================================================
   RESPONSIVIDADE MOBILE (LAYOUT DA 2ª IMAGEM)
   ======================================================= */
@media (max-width: 820px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .landing-header {
        padding: 12px 16px 0;
    }

    .header-inner {
        justify-content: flex-end;
    }

    .hero-section {
        display: block;
        padding: 10px 16px 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    /* Logo Centralizado no Mobile */
    .landing-brand.mobile-only {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto 16px;
    }

    .landing-brand.mobile-only .landing-logo-drop {
        width: 68px;
        height: 68px;
        margin-bottom: 8px;
    }

    .landing-brand.mobile-only .brand-name {
        font-size: 2.2rem;
    }

    .landing-brand.mobile-only .brand-tagline {
        font-size: 0.88rem;
    }

    .hero-subheadline {
        font-size: 1.55rem;
        font-weight: 800;
        color: #0b3b60;
        margin: 16px auto 24px;
        max-width: 320px;
        line-height: 1.25;
    }

    /* 3 Círculos em Linha */
    .features-circles-row {
        display: flex !important;
        justify-content: space-around;
        gap: 8px;
        margin: 10px auto 26px;
        max-width: 360px;
    }

    .feature-circle-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 90px;
    }

    .circle-icon-box {
        width: 62px;
        height: 62px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .circle-blue {
        background: #e0f2fe;
        box-shadow: 0 4px 10px rgba(2, 132, 199, 0.15);
    }

    .circle-green {
        background: #dcfce7;
        box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
    }

    .circle-orange {
        background: #ffedd5;
        box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
    }

    .circle-label {
        font-size: 0.78rem;
        font-weight: 600;
        color: #334155;
        line-height: 1.25;
    }

    /* Botões Empilhados */
    .hero-actions-stack {
        max-width: 100%;
        gap: 12px;
    }

    .btn-action {
        justify-content: center;
        padding: 15px 20px;
        border-radius: 35px;
    }

    .btn-title {
        font-size: 1.05rem;
    }

    /* Card de Aviso no Mobile */
    .mobile-warning-card {
        background: #f0f7ff;
        border: 1px solid #dbeafe;
        border-radius: 18px;
        padding: 16px;
        margin: 24px auto 30px;
        display: flex !important;
        align-items: flex-start;
        gap: 12px;
        text-align: left;
        max-width: 440px;
    }

    .warning-shield-icon {
        flex-shrink: 0;
        margin-top: 2px;
    }

    .warning-text {
        font-size: 0.78rem;
        color: #334155;
        line-height: 1.45;
    }

    /* Rodapé Decorativo */
    .landing-mobile-footer {
        display: block !important;
        text-align: center;
        padding: 20px 0 35px;
    }

    .footer-heart-note {
        font-size: 0.88rem;
        font-weight: 600;
        color: #475569;
    }
}

