:root {
    --primary-color: #1D8348;
    --secondary-color: #27AE60;
    --light-green: #A9DFBF;
    --very-light-green: #EAFAF1;
    --dark-green: #145A32;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-light-green {
    background-color: var(--light-green);
}

.bg-very-light-green {
    background-color: var(--very-light-green);
}

.bg-dark-green {
    background-color: var(--dark-green);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-pattern {
    background-image: url('./images/image-header.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.03);
}

.step-card {
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.custom-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.benefits-container {
    background: linear-gradient(135deg, var(--very-light-green) 0%, white 100%);
}

.investment-container {
    background: var(--very-light-green);
}

.number-bubble {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    margin-right: 15px;
}

.link-franquias:hover {
    transform: scale(1.04);
    transition: 0.4s;
}

.link-franquias:hover > div {
    background-color: #27AE60 !important;
    color: #FFF;
    transition: 0.5s;
}

.hidden-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.beneficios {
    background-image: url('./images/background2.png');
}

.text-beneficios { 
    color: #FFF;
}

.metrics-container {
    background-color: var(--primary-color);
}

.investimento-container {
    background-color: var(--primary-color);
}

.investimento-container > h3 {
    color: #FFF;
}

.investimento-container > p {
    color: #FFF;
}

.metrics-divider {
    background-image: url('./images/img-divider1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px 0;
    padding: 150px 100px;
}

@media (max-width: 768px) {
    .grid-profissionais {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }

    .container-profissao {
        width: 100%;
    }

    .numero-mobile {
        font-size: 15px;
    }

    .metricas {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .franquia {
        min-height: 76px;
    }

    .social-media-container {
        text-align: center;
    }

    .social-media-content {
        justify-content: center !important;
    }

    .info {
        display: flex !important;
        flex-direction: column;
        align-items: center;
    }
}

.faq-item.active .hidden-content {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Form styles */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(29, 131, 72, 0.2);
}

/* Counter animation */
.counter-value {
    font-weight: bold;
    font-size: 2.5rem;
    color: #FFF;
}

.text-counter {
    color: #FFF;
}

/* Pulse animation for CTA buttons */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29, 131, 72, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(29, 131, 72, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29, 131, 72, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

.logo-protege-piso {
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
}

.logo-protege-piso > img {
    width: 70px;
    height: auto;
}

.logo-puzzle {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    position: relative;
    border-radius: 5px;
}

.logo-puzzle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

.logo-text {
    margin-left: 15px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}