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

:root {
    --verde-escuro: #203500;
    --verde-padrao: #31470b;
    --verde-claro: #b7cd7f;
    --verde-texto: #d9ef9f;
    --verde-cinza: #434d36;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Botão WhatsApp Flutuante */
.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 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

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

.whatsapp-float svg {
    color: white;
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
    }
}

/* Seção 1: Hero */
.hero {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background: #f5f5f0;
    background-image: url('../img/fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 0;
    position: relative;
}


.hero .container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
    padding-bottom: 0;
}

.hero-text-wrapper {
    align-self: center;
}

.hero-image-wrapper {
    align-self: end;
}

.hero-text {
    text-align: left;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-right: 40px;
}

.logo {
    max-width: 250px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.hero-title {
    font-size: 2.5rem;
    color: var(--verde-escuro);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-description {
    font-size: 1rem;
    color: var(--verde-cinza);
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 550px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--verde-escuro);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(32, 53, 0, 0.2);
}

.btn-whatsapp:hover {
    background: var(--verde-padrao);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 53, 0, 0.3);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-image-emerging {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hero-image-emerging img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom;
    border-radius: 20px 20px 0 0;
    display: block;
    margin-bottom: 0;
    padding-bottom: 0;
    vertical-align: bottom;
}

/* Botões */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 20px 10px;
    border: 2px solid transparent;
}

.btn-center {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    background: var(--verde-claro);
    color: var(--verde-escuro);
}

.btn-primary:hover {
    background: var(--verde-texto);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 205, 127, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--verde-claro);
    border-color: var(--verde-claro);
}

.btn-secondary:hover {
    background: var(--verde-claro);
    color: var(--verde-escuro);
    transform: translateY(-2px);
}

/* Seção 2 */
.section-2 {
    padding: 50px 20px 50px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    position: relative;
    z-index: 5;
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.section-2.fade-in {
    opacity: 1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--verde-escuro);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--verde-cinza);
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.reasons-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.reason-item {
    background: white;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease, opacity 1.2s ease-out, transform 1.2s ease-out;
    border-left: 3px solid var(--verde-claro);
    opacity: 0;
    transform: translateY(10px);
}

.reason-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.reason-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--verde-claro);
}

.reason-icon svg {
    width: 100%;
    height: 100%;
}

.reason-item p {
    color: var(--verde-cinza);
    font-size: 1.1rem;
    margin: 0;
}

/* Seção 3 */
.section-3 {
    padding: 100px 20px;
    background: var(--verde-padrao);
    color: var(--verde-texto);
    position: relative;
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.section-3.fade-in {
    opacity: 1;
}

.section-3 .section-title {
    color: var(--verde-texto);
}

.section-text {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.work-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.work-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.work-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--verde-claro);
}

.work-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--verde-texto);
}

.work-text p:first-of-type {
    margin-bottom: 15px;
}

.work-text p:last-of-type {
    margin-top: 20px;
    font-style: italic;
    color: var(--verde-claro);
}

.work-list {
    list-style: none;
    padding: 0;
}

.work-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.work-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--verde-claro);
    font-weight: bold;
    font-size: 1.3rem;
}

.work-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.transformation-text {
    font-size: 1.4rem;
    text-align: center;
    font-style: italic;
    margin: 50px 0;
    color: var(--verde-claro);
}

.buttons-group {
    text-align: center;
}

/* Seção 4 */
.section-4 {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.section-4.fade-in {
    opacity: 1;
}

.consultorio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.3s ease, opacity 1.2s ease-out, transform 1.2s ease-out;
    opacity: 0;
    transform: translateY(10px);
}

.gallery-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Seção 5: Depoimentos */
.section-5 {
    padding: 100px 20px;
    background: var(--verde-escuro);
    color: var(--verde-texto);
    overflow: hidden;
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.section-5.fade-in {
    opacity: 1;
}

.section-5 .section-title {
    color: var(--verde-texto);
    margin-bottom: 50px;
}

.testimonials-carousel {
    overflow: hidden;
    margin: 50px 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .testimonials-carousel {
        overflow: hidden;
        margin: 30px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(217, 239, 159, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none; /* Oculto por padrão (desktop) */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    color: var(--verde-escuro);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mostrar controles apenas no mobile */
@media (max-width: 768px) {
    .carousel-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}

.carousel-btn:hover {
    background: rgba(217, 239, 159, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.testimonials-carousel::before,
.testimonials-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.testimonials-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--verde-escuro), transparent);
}

.testimonials-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--verde-escuro), transparent);
}

@media (max-width: 768px) {
    .testimonials-carousel::before,
    .testimonials-carousel::after {
        display: none;
    }
}

.carousel-track {
    display: flex;
    gap: 30px;
    /* Animação controlada via JavaScript */
    align-items: center;
    width: 100%;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .carousel-track {
        align-items: center;
        width: 100%;
        overflow: visible;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
    }
}

.testimonial-item {
    flex: 0 0 500px;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e1e1e;
    padding: 10px;
    box-sizing: border-box;
}

.testimonial-item img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .testimonial-item {
        flex: 0 0 350px;
        height: auto;
        min-height: 250px;
    }
    
    .testimonial-item img {
        object-fit: contain;
        max-height: 100%;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Seção 6 */
.section-6 {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.section-6.fade-in {
    opacity: 1;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.expertise-content.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.expertise-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    padding: 15px 0;
    font-size: 1.2rem;
    color: var(--verde-cinza);
    border-bottom: 1px solid rgba(67, 77, 54, 0.1);
    transition: all 0.3s ease;
}

.expertise-list li:hover {
    padding-left: 10px;
    color: var(--verde-escuro);
}

/* Seção 7 */
.section-7 {
    padding: 100px 20px;
    background: var(--verde-padrao);
    color: var(--verde-texto);
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.section-7.fade-in {
    opacity: 1;
}

.section-7 .section-title {
    color: var(--verde-texto);
    margin-bottom: 50px;
}

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

.motive-card {
    background: rgba(183, 205, 127, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease, opacity 1.2s ease-out, transform 1.2s ease-out;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(10px);
}

.motive-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.motive-card:hover {
    transform: translateY(-10px);
    background: rgba(183, 205, 127, 0.2);
    border-color: var(--verde-claro);
}

.motive-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--verde-claro);
    display: flex;
    align-items: center;
    justify-content: center;
}

.motive-icon svg {
    width: 100%;
    height: 100%;
}

.motive-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--verde-claro);
}

.motive-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 10px;
}

/* Seção 8: Contato */
.section-8 {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.section-8.fade-in {
    opacity: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.5rem;
    color: var(--verde-escuro);
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.1rem;
    color: var(--verde-cinza);
    line-height: 1.8;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

/* Footer */
.footer {
    background: var(--verde-escuro);
    color: var(--verde-texto);
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin: 10px 0;
    font-size: 1rem;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1.2s ease-out;
    will-change: opacity, transform;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        align-items: center;
        padding-bottom: 20px;
    }

    .hero-text {
        text-align: center;
        padding-right: 0;
    }

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

    .hero-description {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .hero-image-emerging {
        height: auto;
        margin-top: 20px;
    }

    .hero-image-emerging img {
        max-height: 50vh;
    }

    .section-2 {
        padding: 100px 20px;
    }

    .logo {
        max-width: 120px;
        margin-bottom: 20px;
    }

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

    .work-content,
    .expertise-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .reasons-list {
        grid-template-columns: 1fr;
    }

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

    .testimonials-carousel {
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .carousel-track {
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
    }
    
    .testimonial-item {
        flex: 0 0 calc(100vw - 80px);
        width: calc(100vw - 80px);
        max-width: calc(100vw - 80px);
        height: auto;
        min-height: 200px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        background: #1e1e1e;
        box-sizing: border-box;
        margin: 0;
        border-radius: 15px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        scroll-snap-align: center;
    }
    
    .testimonial-item img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
        object-position: center;
        display: block;
        margin: 0 auto;
    }
    
    .carousel-track {
        align-items: center !important;
        justify-content: flex-start;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .testimonials-carousel {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
    }

    .carousel-btn-prev {
        left: 5px;
    }

    .carousel-btn-next {
        right: 5px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .testimonials-carousel::before,
    .testimonials-carousel::after {
        display: none;
    }

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

    .consultorio-gallery {
        grid-template-columns: 1fr;
    }
}

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

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

    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

