/* Navbar */
.site-header {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar {
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
}

.navbar-actions {
    display: flex;
    gap: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 420px;
    background-color: var(--secondary);
    background-image: linear-gradient(120deg, var(--secondary) 0%, var(--accent) 100%);
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
    text-align: left;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 620px;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(250, 250, 248, 0.97) 0%, rgba(250, 250, 248, 0.9) 40%, rgba(250, 250, 248, 0.45) 65%, rgba(250, 250, 248, 0.1) 85%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--foreground);
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--muted-foreground);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.hero-actions .btn .dashicons,
.navbar-actions .btn .dashicons {
    vertical-align: middle;
    margin-right: 0.35rem;
    font-size: 1.1rem;
    line-height: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-light {
    background-color: white;
    color: var(--foreground);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    border-radius: var(--radius);
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--muted);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header .dashicons {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

/* Especialidade Cards */
.especialidade-card {
    transition: all 0.3s ease;
}

.especialidade-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Step Cards */
.step-card {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--border);
}

@media (max-width: 767px) {
    .step-card:not(:last-child)::after {
        display: none;
    }
}

.step-number {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(107, 142, 111, 0.3);
}

.step-card h3 {
    margin-bottom: 1rem;
}

/* Depoimento Cards */
.depoimento-card {
    display: flex;
    flex-direction: column;
}

.depoimento-rating {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    letter-spacing: 0.25rem;
}

.depoimento-text {
    flex: 1;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.depoimento-author {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.author-name {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.author-relation {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Planos Box */
.planos-box {
    background: rgba(107, 142, 111, 0.1);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 3rem;
}

.planos-box h2 {
    margin-bottom: 2rem;
}

.planos-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Profissional Section */
.qualificacoes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualificacoes-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.qualificacoes-list li:last-child {
    border-bottom: none;
}

.qualificacoes-list .dashicons {
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.qualificacoes-list strong {
    display: block;
    color: var(--foreground);
    margin-bottom: 0.2rem;
}

.qualificacoes-list p {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.profissional-image {
    text-align: center;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--muted);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

/* CTA Actions */
.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.cta-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Contato Section */
.contato-form-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.contato-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contato-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.contato-form .btn {
    border: none;
    width: 100%;
    margin-top: 0.5rem;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-message-success {
    background: rgba(107, 142, 111, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.form-message-error {
    background: rgba(200, 80, 80, 0.1);
    color: #a83b3b;
    border: 1px solid #a83b3b;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float .dashicons {
    color: white;
    font-size: 1.9rem;
    width: 1.9rem;
    height: 1.9rem;
}

/* Footer */
.site-footer {
    background: var(--foreground);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 480px) {
    .navbar-content {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .navbar-actions {
        flex-basis: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 639px) {
    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .planos-box {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card.in-view,
.step-card.in-view,
.depoimento-card.in-view {
    animation: fadeInUp 0.6s ease-out;
}
