:root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --primary: 201 96% 32%;
    --primary-light: 201 96% 45%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --border: 214.3 31.8% 91.4%;
    --radius: 0.75rem;
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, hsl(201, 96%, 60%), hsl(201, 96%, 45%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: hsl(var(--primary));
    transition: width 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero h1 .heal-text {
    background: linear-gradient(to right, hsl(201, 96%, 60%), hsl(201, 96%, 45%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-light));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border-color: hsl(var(--muted-foreground));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background-color: hsl(var(--muted));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background-color: hsl(var(--muted));
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    flex: 1;
    max-width: 400px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: black;
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--primary));
}

.features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.feature-item i {
    color: #22c55e;
    margin-right: 0.5rem;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 50;
    border: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background-color: #128C7E;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Estilos para botões específicos do formulário de anamnese */

/* Botão de foto/assinatura */
.photo-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.photo-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.photo-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.photo-button i {
    font-size: 16px;
}

/* Botões de editar e excluir anamnese */
.edit-anamnese-btn,
.delete-anamnese-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2px 4px;
    display: inline-block;
}

.edit-anamnese-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.edit-anamnese-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.4);
}

.delete-anamnese-btn {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(244, 67, 54, 0.3);
}

.delete-anamnese-btn:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(244, 67, 54, 0.4);
}

.edit-anamnese-btn:active,
.delete-anamnese-btn:active {
    transform: translateY(0);
}

/* Estilo para a lista de anamneses */
#anamneses-list-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#anamneses-list-ul li {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

#anamneses-list-ul li:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#anamneses-list-ul li strong {
    color: #495057;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

/* Responsividade para os botões */
@media (max-width: 768px) {
    .photo-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .edit-anamnese-btn,
    .delete-anamnese-btn {
        padding: 5px 10px;
        font-size: 11px;
        margin: 1px 2px;
    }
    
    #anamneses-list-ul li {
        padding: 12px;
    }
}

/* Botão de remover foto/assinatura */
#remover-foto, #remover-assinatura {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(244, 67, 54, 0.18);
}

#remover-foto:hover, #remover-assinatura:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.25);
}

#remover-foto:active, #remover-assinatura:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.18);
}

#remover-foto i, #remover-assinatura i {
    font-size: 15px;
}

/* Modo Escuro */
body.dark {
    background-color: #0F1729 !important;
    color: #e2e8f0;
}

body.dark .photo-button {
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}

body.dark .photo-button:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
}

body.dark #remover-foto, 
body.dark #remover-assinatura {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3) !important;
}

body.dark #remover-foto:hover, 
body.dark #remover-assinatura:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4) !important;
}

body.dark h1,
body.dark h2,
body.dark h3 {
    color: #38BDF8 !important;
 
}

body.dark button .fa,
body.dark button .fas,
body.dark button .far,
body.dark button .fab,
body.dark .btn .fa,
body.dark .btn .fas,
body.dark .btn .far,
body.dark .btn .fab {
    color: #38BDF8 !important;
}

body.dark .button.nova-anamnese-btn .fa,
body.dark .button.nova-anamnese-btn .fas,
body.dark .button.nova-anamnese-btn .far,
body.dark .button.nova-anamnese-btn .fab {
    color: #fff !important;
}













/* Ícones dentro de botões continuam brancos */
body.dark button .fa,
body.dark button .fas,
body.dark button .far,
body.dark button .fab,
body.dark .btn .fa,
body.dark .btn .fas,
body.dark .btn .far,
body.dark .btn .fab {
  color: #fff !important;
}


















