/*
Theme Name: Jornada 360 do Paciente
Theme URI: https://jornada360dopaciente.lovable.app
Author: Jornada 360
Author URI: https://jornada360dopaciente.lovable.app
Description: Tema personalizado para Jornada 360 do Paciente - Metodologia + Software para Saúde
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jornada360
Tags: healthcare, landing-page, responsive, custom-background
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a86b;
    --accent-color: #ff6b35;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    --gradient-secondary: linear-gradient(135deg, #00a86b 0%, #008c5a 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

/* Header e Navegação */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.logo-text .brand-name {
    color: var(--text-dark);
}

.logo-text .brand-subtitle {
    color: var(--text-light);
    font-weight: 400;
}

.header-whatsapp {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.header-whatsapp:hover {
    background: #008c5a;
    transform: translateY(-2px);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.btn {
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #ff5520;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.85;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.benefit-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: var(--white);
}

.section-badge {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.section-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Calculator */
.calculator-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    margin: 40px auto;
}

.calculator-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.calculator-field {
    margin-bottom: 25px;
}

.calculator-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.calculator-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.calculator-result {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 30px;
    display: none;
}

.calculator-result.active {
    display: block;
}

.result-value {
    font-size: 42px;
    font-weight: 700;
    margin: 10px 0;
}

/* Solution Section */
.solution-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Journey Section */
.journey-section {
    padding: 80px 0;
    background: var(--white);
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.journey-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-description {
    color: var(--text-light);
    font-size: 14px;
}

/* Integration Section */
.integration-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.integration-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.integration-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.integration-name {
    font-weight: 600;
}

/* Results Section */
.results-section {
    padding: 80px 0;
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.result-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 12px;
}

.result-metric {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-description {
    color: var(--text-light);
    font-size: 14px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.metric-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Implementation Section */
.implementation-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.timeline {
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.timeline-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.timeline-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-description {
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

.form-note a {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-secondary);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
}
