/* ===================================
    VERSION 2: SOLID EMERALD GREEN 🌿
    Modern Solid Color Theme
====================================== */

/* ===================================
    Color Variables
====================================== */
:root {
    --primary-color: #047857;
    /* Emerald 700 */
    --secondary-color: #10B981;
    /* Emerald 500 */
    --accent-color: #34D399;
    /* Emerald 400 */
    --dark-color: #064E3B;
    /* Emerald 900 */
    --light-color: #ECFDF5;
    /* Emerald 50 */
    --white-color: #FFFFFF;
    --text-color: #1F2937;
    /* Gray 800 */
    --gray-light: #F3F4F6;
    /* Gray 100 */
    --border-color: #E5E7EB;
    /* Gray 200 */

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===================================
    Global Styles
====================================== */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.navbar-collapse {
    justify-content: center !important;
    display: flex !important;
}


/* ===================================
   MENU RESPONSIVO (MOBILE)
   =================================== */
/* Botão Hamburguer */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 10px;
    cursor: pointer;
    display: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.navbar-toggler-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.menu-close-btn {
    display: none;
}

/* Media Queries para Tablets e Celulares */
@media (max-width: 991px) {

    /* Mostrar botão hamburguer */
    .navbar-toggler {
        display: block;
    }

    /* Menu colapsado */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white-color);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 9999;
        padding: 80px 20px 20px;
        overflow-y: auto;

    }

    /* Menu aberto */
    .navbar-collapse.show {
        right: 0;

    }

    /* Links do menu mobile */
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 15px 20px !important;
        margin: 5px 0;
        border-radius: 8px;
        display: block;
        text-align: left;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: var(--light-color);
        color: var(--primary-color) !important;
    }

    /* Botão de orçamento no mobile */
    .nav-button {
        margin: 15px 0 !important;
        text-align: center;
        display: block;
    }

    /* Overlay escuro quando menu está aberto */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 9998;
        cursor: pointer;
    }

    .menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* Botão de fechar dentro do menu */
    .menu-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 40px;
        color: var(--text-color);
        cursor: pointer;
        line-height: 1;
        background: none;
        border: none;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 10000;
    }

    .menu-close-btn:hover {
        color: var(--primary-color);
        transform: rotate(90deg);
    }

    /* Logo menor em tablets */
    .logo img {
        max-width: 61px !important;
    }

    /* Hero Section mais compacta */
    .hero-section {
        padding: 120px 0 132px !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
    }

    /* Botões proporcionais */
    .btn-solid-white,
    .btn-solid-primary {
        padding: 12px 25px !important;
        font-size: 0.95rem !important;
    }

    /* Seções com menos padding */
    .about-section,
    .services-section,
    .portfolio-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0 !important;
    }

    /* Títulos de seção menores */
    .section-title {
        font-size: 2rem !important;
    }

    /* Cards de serviço */
    .service-card {
        padding: 30px 20px !important;
        margin-bottom: 20px;
    }

    .service-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 30px !important;
    }

    /* Footer */
    .footer-section {
        padding: 50px 0 20px !important;
    }

    /* PORTFÓLIO RESPONSIVO */

    /* Desabilitar hover no portfólio mobile */
    .cbp-caption-activeWrap {
        display: none !important;
    }

    .cbp-caption:hover .cbp-caption-activeWrap {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    .cbp-l-grid-mosaic .cbp-item {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .cbp-caption-defaultWrap img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        object-fit: scale-down;
        object-position: left;
    }

    /* Botões de filtro em mobile */
    .cbp-l-filters-button {
        text-align: center !important;
        margin-bottom: 30px;
    }

    .cbp-filter-item {
        display: inline-block !important;
        margin: 5px !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* Mobile (até 767px) */
@media (max-width: 767px) {

    /* Logo ainda menor */
    .logo img {
        max-width: 61px !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 100px 0 113px !important;
    }

    .custom-shape-divider-bottom-1695076928 svg {
        height: 52px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        letter-spacing: 1px !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        margin-bottom: 25px !important;
    }

    .hero-image {
        margin-top: 30px;
    }

    .loading.d-none {
        display: none !important;
    }


    /* Botões menores e full width */
    .btn-solid-white,
    .btn-solid-primary {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        width: 100%;
        justify-content: center;
    }

    /* Seções */
    .about-section,
    .services-section,
    .portfolio-section,
    .testimonials-section,
    .contact-section {
        padding: 50px 0 !important;
    }

    /* Títulos */
    .section-title {
        font-size: 1.75rem !important;
        margin-bottom: 20px !important;
    }

    .section-subtitle {
        font-size: 0.85rem !important;
    }

    /* About image */
    .about-image-wrapper {
        padding: 10px !important;
        margin-bottom: 30px;
    }

    /* Service cards */
    .service-card {
        padding: 25px 15px !important;
    }

    .service-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .service-title {
        font-size: 1.2rem !important;
    }

    /* Contact form */
    .contact-form-wrapper {
        padding: 30px 20px !important;
    }

    /* WhatsApp button menor */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 24px !important;
    }

    /* Portfólio mobile */
    .cbp-caption-defaultWrap img {
        min-height: 200px !important;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {

    /* Logo mínimo */
    .logo img {
        max-width: 61px !important;
    }

    /* Hero */
    .hero-section {
        padding: 80px 0 67px !important;
    }

    .custom-shape-divider-bottom-1695076928 svg {
        height: 50px !important;
    }

    .hero-section-button {
        flex-flow: column !important;
        gap: 15px !important;
    }

}

.hero-title {
    font-size: 2.5rem !important;
}

.hero-subtitle {
    font-size: 0.75rem !important;
}

.hero-description {
    font-size: 1rem !important;
}

/* Botões */
.btn-solid-white,
.btn-solid-primary {
    padding: 10px 15px !important;
    font-size: 0.85rem !important;
    display: inline-flex;
}

.btn-solid-primary i {
    display: inline-block;
    transform-origin: center center;
    align-content: center;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Títulos */
.section-title {
    font-size: 1.5rem !important;
}

/* Padding geral */
.container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Service icon */
.service-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 20px !important;
}


/* ===================================
    Navigation
====================================== */

.logo img {
    max-width: 61px !important;
}

.header-appear .nav {
    background-color: var(--white-color)
}

.navbar-top-default {
    background-color: var(--white-color);
    box-shadow: var(--shadow-sm);
    padding: 7px 0;
    transition: all 0.3s ease;
}

.header-appear .navbar-top-default {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.5s ease;
}

/* Páginas internas: header já começa fixo, sem animação de entrada */
.header-inner-page .navbar-top-default {
    animation: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    padding: 10px 20px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--light-color);
}

.nav-button {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
    box-shadow: var(--shadow-md);
    justify-content: center !important;
    display: flex !important;
    flex-flow: column !important;
}

.nav-button:hover {
    background-color: var(--dark-color) !important;
    transform: translateY(-2px);
}

/* ===================================
    Hero Section
====================================== */
.hero-section {
    background-color: var(--primary-color);
    padding: 180px 0 155px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--white-color);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.hero-description {
    color: var(--light-color);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-image {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

/* Shape Divider */
.custom-shape-divider-bottom-1695076928 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1695076928 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.custom-shape-divider-bottom-1695076928 .shape-fill {
    fill: #FFFFFF;
}

/* ===================================
    Buttons
====================================== */
.btn-solid-white {
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-solid-white:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--dark-color);
}

.btn-solid-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
    justify-content: center;
}

.btn-solid-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white-color);
}

/* ===================================
    About Section
====================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-color: var(--light-color);
    border-radius: 30px;
    z-index: 0;
}

.about-image {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ===================================
    Services Section
====================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.service-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--secondary-color);
}

.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 25px;
    background-color: var(--light-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* ===================================
    Portfolio Section
====================================== */
.cbp-captionn:hover {
    background-color: rgba(4, 120, 87, 0.9) !important;
}

.portfolio-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.portfolio-overlay {
    background-color: rgba(4, 120, 87, 0.9);
}

/* ===================================
    Testimonials
====================================== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--light-color);
}

.client-info h4 {
    color: var(--white-color);
    margin-bottom: 5px;
}

.client-info span {
    color: var(--accent-color);
}

/* ===================================
    Contact Section
====================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--white-color);
}

.contact-form-wrapper {
    background-color: var(--white-color);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-control {
    background-color: var(--gray-light);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px 20px;
    height: auto;
}

.form-control:focus {
    background-color: var(--white-color);
    border-color: var(--primary-color);
    box-shadow: none;
}

/* ===================================
    Footer
====================================== */
.footer-section {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 80px 0 30px;
}

.footer-section a {
    color: var(--white-color);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===================================
    WhatsApp Button
====================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.5);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ===================================
    Animations (Fade In)
====================================== */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}