/* =====================
   Diariza - Layout Profissional 2024
   ===================== */
:root {
    --primary-color: #128c7e;
    --primary-dark: #0e6b5a;
    --secondary-color: #34B7F1;
    --accent-color: #25d366;
    --danger-color: #e74c3c;
    --success-color: #27ae60;
    --light-color: #f8f9fa;
    --gray-color: #ececec;
    --text-color: #222;
    --text-muted: #6c757d;
    --shadow: 0 4px 24px rgba(18,140,126,0.08);
    --radius: 14px;
    --transition: all 0.2s cubic-bezier(.4,0,.2,1);
    --font-main: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background: var(--light-color);
    padding-top: 80px;
    font-size: 1.05rem;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 12px rgba(18,140,126,0.07);
    background: var(--primary-color) !important;
    transition: var(--transition);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.7rem;
    letter-spacing: -1px;
    color: #fff !important;
}
.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(120deg, #f8f9fa 60%, #e6f7f3 100%);
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
}
.hero-section .display-4 {
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: -1.5px;
}
.hero-section img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Cards e Seções */
.card, .feature-card, .benefit-card, .testimonial-card, .contact-info-card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: #fff;
    transition: var(--transition);
}
.card:hover, .feature-card:hover, .benefit-card:hover, .testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 8px 32px rgba(18,140,126,0.13);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(18,140,126,0.10);
}

.benefit-list, .footer-links {
    list-style: none;
    padding-left: 0;
}
.benefit-list li, .footer-links li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.benefit-list i, .footer-links i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
.timeline-number {
    position: absolute;
    left: -32px;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(18,140,126,0.10);
}
.timeline-content {
    background: #fff;
    padding: 22px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Testemunhos */
.testimonial-rating i {
    color: #f1c40f;
    font-size: 1.1rem;
}
.testimonial-author {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}
.testimonial-name {
    font-weight: 700;
    color: var(--primary-color);
}
.testimonial-role {
    font-size: 0.98rem;
    color: var(--text-muted);
}

/* CTA */
.cta-section {
    background: linear-gradient(90deg, var(--primary-color) 60%, var(--accent-color) 100%);
    color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}
.cta-section h2, .cta-section p { color: #fff; }

/* Formulários */
.form-control, .form-select {
    border-radius: var(--radius);
    border: 1px solid #d1e7dd;
    box-shadow: none;
    transition: border-color 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(18,140,126,0.08);
}
.btn-primary, .btn-outline-primary {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    font-size: 1.1rem;
    transition: var(--transition);
}
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--primary-color);
    color: #fff;
}

/* Footer */
footer {
    background: #0e6b5a;
    color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 -2px 16px rgba(18,140,126,0.07);
}
.footer-links a {
    color: #e0f7f4;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent-color);
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(18,140,126,0.10);
}
.social-link:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Cookie Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18,140,126,0.98);
    color: #fff;
    padding: 18px 0;
    z-index: 1050;
    font-size: 1rem;
    box-shadow: 0 -2px 16px rgba(18,140,126,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.cookie-consent-banner a {
    color: #fff;
    text-decoration: underline;
}
.cookie-consent-banner a:hover {
    color: var(--accent-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(18,140,126,0.13);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Accordion FAQ */
.accordion-button:not(.collapsed) {
    background: var(--light-color);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 2px var(--accent-color);
    border-color: var(--accent-color);
}

/* Responsividade */
@media (max-width: 991.98px) {
    .hero-section { padding: 80px 0 40px 0; }
    .navbar-brand { font-size: 1.3rem; }
}
@media (max-width: 767.98px) {
    .hero-section { padding: 60px 0 20px 0; }
    .section-title { font-size: 1.5rem; }
    .timeline { padding-left: 16px; }
    .timeline-number { left: -24px; width: 22px; height: 22px; font-size: 0.9rem; }
}
@media (max-width: 575.98px) {
    body { padding-top: 66px; }
    .navbar-brand { font-size: 1.1rem; }
    .hero-section { padding: 40px 0 10px 0; }
    .section-title { font-size: 1.2rem; }
    .section-subtitle { font-size: 1rem; }
    .cookie-consent-banner { font-size: 0.95rem; gap: 1rem; }
}

/* Foco visível para acessibilidade */
a:focus, button:focus, .form-control:focus, .form-select:focus {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: 2px;
}
