/* Variáveis de Identidade Visual */
:root {
    --green: #009b3a;
    --blue: #002776;
    --yellow: #fedf00;
    --white: #ffffff;
    --off-white: #fcfdfe;
    --text-dark: #2d3436;
    --text-soft: #636e72;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --poppins: 'Poppins', sans-serif;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--poppins);
}

html { scroll-behavior: smooth; }

body {
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

/* 1. Elementos Decorativos */
.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background: var(--green);
    top: -100px;
    left: -150px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--blue);
    bottom: 5%;
    right: -180px;
}

/* 2. HEADER */
header {
    width: 100%;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    transition: 0.4s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo { height: 70px; width: auto; }
.logo-text { font-size: 1.8rem; font-weight: 700; color: var(--blue); }
.logo-text span { color: var(--green); font-weight: 300; }

.nav-links { display: flex; list-style: none; gap: 35px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 1rem; transition: 0.3s; }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); font-weight: 700; }
.btn-nav { background: var(--green); color: white !important; padding: 12px 28px; border-radius: 50px; box-shadow: 0 10px 20px rgba(0, 155, 58, 0.15); }
.mobile-toggle { display: none; font-size: 2rem; cursor: pointer; color: var(--blue); }

/* 3. Hero Section */
.hero-servicos {
    padding: 220px 0 80px;
    text-align: center;
}

.tag-modern {
    color: var(--green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 20px;
}

.hero-servicos h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--blue);
    margin-bottom: 25px;
}
.hero-servicos h1 span { color: var(--green); }
.hero-servicos p { font-size: 1.3rem; color: var(--text-soft); max-width: 650px; margin: 0 auto; }

/* 4. Cards de Serviços (COM IMAGENS) */
.main-services { padding: 50px 0; }
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card-modern {
    background: var(--white);
    padding: 0 0 45px 0; /* Padding inferior apenas */
    border-radius: 35px;
    box-shadow: var(--shadow);
    transition: 0.5s ease;
    text-align: left;
    overflow: hidden; /* Corta a imagem nas bordas redondas */
}

.card-modern:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.12);
}

/* IMAGEM DENTRO DO CARD */
.service-illustration {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 25px;
    border-bottom: 5px solid var(--green);
}

/* Ajuste nos textos para não colarem na borda */
.card-modern h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--blue); padding: 0 35px; }
.card-modern p { color: var(--text-soft); line-height: 1.8; padding: 0 35px; }

/* 5. Feedbacks */
.feedback-section { padding: 100px 0; background: rgba(244, 247, 250, 0.5); }
.title-section { text-align: center; margin-bottom: 60px; font-size: 2.5rem; color: var(--blue); }
.title-section span { color: var(--green); }

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.f-card {
    background: var(--white);
    padding: 45px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.stars { color: var(--green); margin-bottom: 20px; font-size: 0.9rem; font-weight: 600; display: flex; gap: 8px; align-items: center;}
.f-card p { font-style: italic; color: var(--text-soft); line-height: 1.7; margin-bottom: 30px; }

/* 6. FAQ (Accordion) */
.faq-container { padding: 100px 0; }
.accordion { max-width: 850px; margin: 0 auto; }
.accordion-item { margin-bottom: 15px; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.accordion-btn { width: 100%; padding: 28px 35px; background: none; border: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 600; color: var(--blue); cursor: pointer; text-align: left; }
.accordion-content { max-height: 0; overflow: hidden; transition: 0.5s ease-out; }
.accordion-content p { padding: 0 35px 30px; color: var(--text-soft); line-height: 1.7; }

/* 7. Footer */
.modern-footer { padding: 80px 0 40px; border-top: 1px solid #eee; background: var(--white); }
.footer-flex { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.footer-info p, .footer-contacts p { color: #a4b0be; font-size: 0.9rem; margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contacts a { text-decoration: none; color: inherit; transition: 0.3s; }
.footer-contacts a:hover { color: var(--green); }
.copy { width: 100%; text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid #f5f5f5; font-size: 0.8rem; color: #ccc; }

/* 8. Menu Mobile */
.side-menu { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: var(--white); z-index: 2000; padding: 50px; transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -20px 0 50px rgba(0,0,0,0.05); display: none; }
.side-header { display: flex; justify-content: flex-end; font-size: 2.2rem; color: #8395a7; cursor: pointer; margin-bottom: 50px; }
.side-nav { display: flex; flex-direction: column; gap: 35px; }
.side-nav a { text-decoration: none; font-size: 1.4rem; font-weight: 700; color: var(--blue); }
.side-nav a.active-mobile { color: var(--green); }
.btn-side { color: var(--green) !important; border-bottom: 4px solid var(--yellow); width: max-content; }
.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.15); z-index: 1500; opacity: 0; visibility: hidden; transition: 0.3s; display: none; }
.side-menu.active { right: 0; }
.menu-overlay.show { opacity: 1; visibility: visible; }

/* 9. Responsividade */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .side-menu, .menu-overlay { display: block; }
    .hero-servicos h1 { font-size: 2.8rem; }
}