@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Cores Principais - Estilo Editorial Clean */
    --bg-main: #FFFFFF;
    --bg-secondary: #F4F4F5;
    
    /* Tipografia */
    --text-primary: #111111;
    --text-secondary: #6B7280;
    --text-light: #A1A1AA;
    
    /* Destaques (Imponente) */
    --accent-red: #D92D20; /* Vermelho forte para urgências/ações */
    --accent-dark: #18181B; /* Preto carvão para botões e detalhes */
    
    /* Bordas e Sombras */
    --border-color: #E4E4E7;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background-image: none; /* Remoção de gradientes estranhos para manter clean */
}

/* Tipografia Serifada Imponente */
h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
}

/* Container Principal (Mobile First) */
.app-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-soft);
    min-height: 100vh;
    position: relative;
    padding-bottom: 40px;
}

/* --- HERO SECTION --- */
.hero-header {
    position: relative;
    height: 480px; /* Alto para dar imponência */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 24px;
    background-size: cover;
    background-position: center;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    overflow: hidden;
    margin-bottom: 32px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    text-align: center;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    margin: 0 auto;
}

/* --- LAYOUT GRID --- */
.content-padding {
    padding: 0 24px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.col-span-2 {
    grid-column: span 2;
}

/* --- CARDS & ELEMENTOS --- */
.bento-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px; /* Cantos arredondados, mas não excessivos */
    padding: 24px;
    transition: all 0.3s ease;
}

.bento-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: #D1D5DB;
}

.bento-card.dark {
    background-color: var(--accent-dark);
    color: #FFFFFF;
    border: none;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: -0.5px;
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
    font-weight: 300;
}

/* --- BOTÕES --- */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 40px; /* Pill shape (imponente) */
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-dark {
    background-color: var(--accent-dark);
    color: #FFFFFF;
}

.btn-dark:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-red {
    background-color: var(--accent-red);
    color: #FFFFFF;
}

.btn-red:hover {
    background-color: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 45, 32, 0.2);
}

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

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-secondary);
}

/* Ícone dentro do botão */
.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: #FFFFFF;
    color: var(--accent-dark);
    border-radius: 50%;
}

.btn-red .btn-icon { color: var(--accent-red); }

/* --- BADGES (Plantão, Urgência) --- */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.badge-red {
    background-color: rgba(217, 45, 32, 0.1);
    color: var(--accent-red);
}

/* --- PESQUISA --- */
.search-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    background-color: var(--bg-secondary);
    border: 1px solid transparent;
    border-radius: 30px; /* Pill */
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s;
}

.search-input:focus {
    background-color: var(--bg-main);
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 4px rgba(24, 24, 27, 0.05);
}

.search-btn {
    background-color: var(--accent-dark);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.search-btn:hover {
    background-color: #000;
    transform: scale(1.05);
}

/* Resultados da Pesquisa */
.result-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    text-align: left;
}

.result-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.result-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* --- ÁREAS DE ATUAÇÃO (Lista) --- */
.area-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.area-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.area-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-dark);
}

.area-item-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.area-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
}

.area-item span {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
}

.area-arrow {
    color: var(--text-light);
}

/* --- TIMELINE (PASSOS) --- */
.timeline {
    margin-top: 16px;
}

.timeline-item {
    position: relative;
    padding-left: 32px;
    padding-bottom: 32px;
    border-left: 1px dashed var(--border-color);
    margin-left: 12px;
}

.timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-red);
    border: 3px solid var(--bg-main);
    box-sizing: content-box;
}

.timeline-step {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 32px 24px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 48px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-text {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- TRANSIÇÕES DE PÁGINA LUXUOSAS --- */
body {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

body.page-exiting {
    opacity: 0;
    transform: translateY(-15px);
    filter: blur(3px);
}

/* Utilities */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
