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

:root {
    --primary: #6B7C93;
    --secondary: #8B9DC3;
    --accent: #D4A373;
    --light: #FAF9F6;
    --white: #ffffff;
    --dark: #2C3E50;
    --text: #4A4A4A;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

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

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

header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: 0.3s;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: var(--primary);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translateY(15%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
}

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

.hero h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.btn:hover::before {
    left: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-icon svg {
    transition: transform 0.3s;
}

.btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-icon:hover svg {
    transform: scale(1.1);
}

.hero-image {
    margin: 40px 0;
}

.hero-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.section {
    padding: 100px 20px;
}

.about-preview {
    background: var(--white);
}

.about-preview .about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-preview .about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-preview .about-text p {
    color: var(--text);
    font-size: 1.1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tool-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-10px);
}

.tool-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tool-info {
    padding: 30px;
}

.tool-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-section {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.contact-section h2 {
    color: var(--white);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-links a {
    text-decoration: none;
    transition: all 0.3s;
}

footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .logo-img {
        height: 45px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

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

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

    .hero-content {
        max-width: 100%;
    }

    .btn {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .about-preview .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-preview .about-image {
        display: flex;
        justify-content: center;
    }

    .about-preview .about-image img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 50%;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .section {
        padding: 60px 20px;
    }

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

    .tool-card img {
        height: 200px;
    }

    .contact-links {
        gap: 20px;
    }

    .btn-icon {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .about-preview .about-image img {
        width: 150px;
        height: 150px;
    }

    footer {
        padding: 20px 15px;
    }

    footer p {
        font-size: 0.85rem;
    }
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.badge-crp, .badge-atendimento {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-crp {
    background: var(--primary);
    color: var(--white);
}

.badge-atendimento {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.badge-icon {
    color: #25D366;
}

/* Especialidades */
.specialties-section {
    background: var(--light);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.specialty-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.specialty-card:nth-child(1) { animation-delay: 0.1s; }
.specialty-card:nth-child(2) { animation-delay: 0.2s; }
.specialty-card:nth-child(3) { animation-delay: 0.3s; }
.specialty-card:nth-child(4) { animation-delay: 0.4s; }
.specialty-card:nth-child(5) { animation-delay: 0.5s; }
.specialty-card:nth-child(6) { animation-delay: 0.6s; }

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.specialty-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.specialty-card h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.specialty-card p {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.specialty-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.specialty-link:hover {
    color: var(--primary);
}

/* Como Funciona */
.how-it-works-section {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.step-card:nth-child(1) { animation-delay: 0.2s; }
.step-card:nth-child(2) { animation-delay: 0.4s; }
.step-card:nth-child(3) { animation-delay: 0.6s; }

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text);
    line-height: 1.7;
}

/* Abordagens Terapêuticas */
.approaches-section {
    background: var(--light);
}

.approaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.approach-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    transition: all 0.3s;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.approach-card h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.approach-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Depoimentos - Carousel 3 por vez com loop */
.testimonials-section {
    background: var(--light);
    padding: 80px 20px;
    overflow: hidden;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 10;
}

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

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.google-icon {
    margin-bottom: 10px;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.testimonial-text {
    color: var(--text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-author {
    color: var(--dark);
    font-weight: 600;
}

/* FAQ */
.faq-section {
    background: var(--white);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }

.faq-question {
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: all 0.3s ease;
}

.faq-icon .plus {
    display: block;
}

.faq-icon .minus {
    display: none;
}

.faq-item.active .faq-icon .plus {
    display: none;
}

.faq-item.active .faq-icon .minus {
    display: block;
}

.faq-answer {
    background: var(--light);
    padding: 0 25px;
    color: var(--text);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
    transition: all 0.4s ease;
}

.faq-item.active {
    box-shadow: 0 15px 40px rgba(98, 70, 52, 0.25);
    transform: scale(1.02);
}

.faq-item.active .faq-question {
    background: var(--primary-dark, #4a3728);
}



.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 0 25px;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 60px 20px;
    text-align: center;
}

.cta-banner p {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.cta-banner strong {
    font-weight: 700;
}

.btn-cta {
    background: var(--white);
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Animações de Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.05s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.25s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.35s; }
.animate-on-scroll:nth-child(9) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(10) { transition-delay: 0.45s; }
.animate-on-scroll:nth-child(11) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(12) { transition-delay: 0.55s; }
.animate-on-scroll:nth-child(13) { transition-delay: 0.6s; }
.animate-on-scroll:nth-child(14) { transition-delay: 0.65s; }
.animate-on-scroll:nth-child(15) { transition-delay: 0.7s; }

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

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .badge-crp, .badge-atendimento {
        font-size: 0.8rem;
    }

    .cta-banner p {
        font-size: 1.1rem;
    }

    .testimonial-carousel {
        padding: 0 50px;
    }

    .carousel-track-container {
        height: 320px;
    }

    .carousel-slide .testimonial-card {
        padding: 30px 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .testimonial-carousel {
        padding: 0 40px;
    }

    .carousel-track-container {
        height: 350px;
    }

    .carousel-slide .testimonial-card {
        padding: 25px 15px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-author {
        font-size: 0.9rem;
    }
}

/* Responsividade do carousel - 3 por vez */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 250px;
    }
    
    .carousel-track {
        gap: 20px;
        padding: 20px 30px;
    }
}

@media (max-width: 600px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .carousel-track {
        gap: 20px;
        padding: 20px 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}