@media (min-width: 1366px) {
    .agents-swiper .swiper-slide { height: auto; }
    .products-swiper .swiper-slide { width: auto !important; }
}

/* ==================================================
   home.css
   Aqui você mexe em:
   - hero da home
   - seção “O que fazemos”
   - diferenciais
   - cards de agentes da home
   - cards de planos/produtos
   - FAQ e CTA da home
   ================================================== */

.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-petroleo) 100%);
    color: var(--branco);
    position: relative;
    overflow: hidden;
}
.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    opacity: 0.08;
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; flex: 1; max-width: 600px; }
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.hero-image { flex: 1; text-align: right; }
.hero-image img { max-width: 100%; height: auto; }
.hero h1 { margin-bottom: 20px; color: var(--branco); font-size: 3.8rem; }
.hero p { font-size: 1.3rem; margin-bottom: 40px; color: rgba(255,255,255,0.9); }
.hero-btns { display: flex; gap: 20px; }

.services-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 10px;
}
.services-image { display: flex; justify-content: center; }
.services-image img { width: 100%; max-width: 480px; height: auto; }
.services .section-title { flex: 1; margin-bottom: 0; }
.services .section-title h2 { text-align: left; }
.services .section-title h2:after { left: 0; transform: none; }
.services-grid { gap: 30px; }
.service-card {
    background-color: var(--branco);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--sombra-suave);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    border-left: 4px solid var(--verde-esmeralda-digital);
    position: relative;
    overflow: visible;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    z-index: 20;
}
.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 91, 228, 0.1);
    border-radius: 50%;
    color: var(--verde-esmeralda-digital);
    font-size: 1.8rem;
}
.service-card h3 { color: var(--azul-petroleo); font-size: 1.5rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1.4fr);
    gap: 50px;
    align-items: center;
}
.features-content h2:after { left: 0; transform: none; }
.features-list { margin-top: 30px; }
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.feature-icon {
    min-width: 50px;
    height: 50px;
    background-color: rgba(0, 91, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--verde-esmeralda-digital);
    font-size: 1.5rem;
}
.feature-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: var(--azul-profundo);
}
.features-image { position: relative; }
.features-image img { width: 120%; max-width: none; border-radius: 10px; }
.icones-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 36px;
    justify-content: left;
}
.icones-container img {
    width: 30px;
    height: 30px;
    transition: 0.2s ease;
}
.icones-container img:hover { transform: scale(1.5); }
#no-show {
    font-size: 10px !important;
    color: #6c757d !important;
    font-style: italic !important;
}

.agents {
    position: relative;
}
.agents:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(27, 191, 113, 0.08) 0%, rgba(27, 191, 113, 0) 70%);
    z-index: 0;
}
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.agent-card {
    background-color: var(--branco);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--sombra-suave);
    /* Hover dos cards: ajuste translateY e sombra aqui */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 1;
    border-left: 4px solid var(--verde-esmeralda-digital);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
}
.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}
.agent-header { display: flex; align-items: center; margin-bottom: 20px; }
.agent-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 91, 228, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--verde-esmeralda-digital);
    font-size: 1.5rem;
}
.agent-title h3 { margin-bottom: 5px; font-size: 1.3rem; color: var(--azul-profundo); }
.agent-title p { color: var(--verde-esmeralda-digital); font-weight: 600; margin-bottom: 0; font-size: 0.9rem; }
.agent-ideal {
    background-color: var(--azul-petroleo);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: var(--branco);
}
.agent-ideal p { margin-bottom: 0; font-weight: 500; font-size: 0.95rem; color: var(--branco) !important; }
.agent-features { margin-bottom: 20px; flex-grow: 1; }
.agent-feature { display: flex; align-items: flex-start; margin-bottom: 10px; }
.agent-feature i { color: var(--verde-esmeralda-digital); margin-right: 10px; margin-top: 4px; font-size: 0.9em; }
.agent-feature p { margin-bottom: 0; font-size: 0.95rem; color: var(--cinza-escuro); }
.agent-sectors {
    text-align: center;
    border-top: 1px solid var(--cinza-borda);
    padding-top: 15px;
    margin-top: auto;
    margin-bottom: 20px;
}
.agent-sectors p { margin-bottom: 0; font-size: 0.9rem; color: var(--cinza-medio); }
.agent-card .btn {
    margin-top: auto;
    width: 100%;
    max-width: 100%;
    min-height: 48px; /* Altura do botão dos agentes */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.entry-products {
    background-color: var(--azul-profundo);

    /* ALTERE AQUI:
       80px = espaço em cima
       120px = espaço embaixo
       aumente o segundo valor se ainda quiser mais respiro */
    padding: 80px 0 100px;

    position: relative;
    color: var(--branco);
}

.entry-products:before {
    content: ".";
    color: transparent;
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(27, 191, 113, 0.1) 0%, rgba(27, 191, 113, 0) 70%);
    z-index: 0;
}
.entry-products .section-title h2,
.entry-products .section-title p { color: var(--branco); }
.entry-products .section-title h2:after { background-color: var(--verde-esmeralda-digital); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}
.product-card {
    background-color: var(--branco);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--sombra-suave);
    /* Hover dos cards: ajuste translateY e sombra aqui */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--verde-esmeralda-digital);
    color: var(--azul-profundo);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.product-card.featured { border-top-color: var(--azul-petroleo); }
.product-header { margin-bottom: 20px; }
.product-header h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--azul-profundo); }
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--verde-esmeralda-digital); margin-bottom: 15px; }
.product-implantacao {
    margin-top: auto;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 8px;
}
.implantacao-label { font-weight: 700; color: var(--verde-esmeralda-digital); }
.implantacao-valor-numero { font-weight: 600; color: #1fa5ba; }
.implantacao-pagamento { font-size: 10px; color: #6c757d; font-style: italic; }
.plano-label { font-weight: 400; }
.plano-nome { font-weight: 700; }
.product-features {
    margin-bottom: 24px;
    /* Mantém o miolo do card compacto.
       O alinhamento final agora é feito pela área de implantação/CTA. */
}
.product-feature { display: flex; align-items: flex-start; margin-bottom: 12px; }
.product-feature i { color: var(--verde-esmeralda-digital); margin-right: 10px; margin-top: 3px; }
.product-feature p { margin-bottom: 0; font-size: 0.95rem; color: var(--cinza-escuro); }
.product-cta {
    text-align: center;
}
.product-cta .btn {
    width: 100%;
    max-width: 100%;
    min-height: 52px; /* Altura do botão dos planos */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background-color: var(--branco);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--sombra-suave);
    overflow: hidden;
    border: 1px solid var(--cinza-borda);
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--azul-profundo);
    transition: background-color 0.2s ease;
}
.faq-question:hover { background-color: var(--cinza-claro); }
.faq-question i { transition: transform 0.3s ease; color: var(--verde-esmeralda-digital); }
.faq-answer {
    padding: 0 20px 20px;
    display: none;
    border-top: 1px solid var(--cinza-borda);
    margin-top: -1px;
}
.faq-answer p { margin-top: 15px; margin-bottom: 0; }
.faq-item.active .faq-question { background-color: var(--cinza-claro); }
.faq-item.active .faq-question i { transform: rotate(135deg); }
.faq-item.active .faq-answer { display: block; }

.cta {
    background: linear-gradient(135deg, var(--azul-profundo) 0%, var(--azul-petroleo) 100%);
    color: var(--branco);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/circuit-pattern.svg");
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta h2 { color: var(--branco); margin-bottom: 100px; }
.cta h2:after {
    left: 50%;
    transform: translateX(-50%);
    background: var(--verde-esmeralda-digital);
}
.cta p { margin-bottom: 50px; font-size: 1.2rem; color: rgba(255,255,255,0.9); }

.valores-section { background-color: var(--cinza-muito-claro); }
.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.valor-item {
    background-color: var(--branco);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--azul-petroleo);
    box-shadow: var(--sombra-suave);
    transition: var(--transicao);
}
.valor-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.valor-item h3 { color: var(--azul-profundo); margin-bottom: 15px; font-size: 1.2rem; }
.valor-item p { color: var(--cinza-escuro); font-size: 0.95rem; margin-bottom: 0; }

@media (max-width: 1365px) {
    .services-grid.services-swiper { display: block; margin-top: 50px; }
    .services-swiper { position: relative; padding-bottom: 0; }
    .services-swiper .swiper-wrapper { padding-bottom: 28px; }
    .services-pagination {
        position: static !important;
        margin-top: 18px;
        width: 100%;
        text-align: center;
        line-height: 1;
    }
    .services-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: var(--cinza-medio);
        opacity: 1;
    }
    .services-pagination .swiper-pagination-bullet-active { background: var(--verde-esmeralda-digital); }
}

@media (min-width: 1366px) {
    .services-grid.services-swiper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding-top: 12px;
    }
    .services-grid.services-swiper .swiper-wrapper { 
        display: contents; 
    }
    .services-grid.services-swiper .swiper-slide { 
        width: auto !important; 
        overflow: visible; 
    }
    .services-grid.services-swiper .service-card:hover { 
        transform: translateY(-8px); 
        box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
        z-index: 30; 
    }
    .services-pagination { 
        display: none; 
    }
    .services-grid.services-swiper .service-card:nth-child(4n) .info-tooltip { 
        left: auto; right: calc(100% + 10px); 
    }
    .entry-products .product-card:nth-child(3n) .info-tooltip {
        left: auto;
        right: calc(100% + 10px); 
    }
    .services,
    .services .container,
    .services-grid.services-swiper,
    .services-grid.services-swiper .swiper-wrapper,
    .services-grid.services-swiper .swiper-slide,
    .service-card { overflow: visible; }
}

@media (max-width: 992px) {
    .features-grid { grid-template-columns: 1fr; }
    .features-image { order: -1; margin-bottom: 40px; text-align: center; }
    .features-image img { max-width: 80%; }
    .valores-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 150px 0 80px; text-align: center; }
    .hero h1 { font-size: 2.2rem; line-height: 1.25; }
    .hero-content { width: 100%; margin: 0 auto; }
    .hero-wrapper { flex-direction: column; text-align: center; gap: 30px; width: 100%; }
    .hero-image { width: 100%; text-align: center; margin-top: 40px; }
    .hero-btns { flex-direction: column; gap: 15px; align-items: center; }
    .btn { width: 100%; max-width: 300px; }
    .services-layout { grid-template-columns: 1fr; text-align: center; }
    .services-image { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .features-image { overflow: hidden; }
    .features-image img { width: 110%; max-width: none; margin-left: -5%; }
    .agents-grid,
    .products-grid,
    .valores-grid,
    .cultura-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .hero { padding: 130px 0 60px; }
    .service-card { padding: 25px; }
}


/* =========================
   Ajustes de responsividade dos cards
   ========================= */
@media (max-width: 1365px) {
    .agents-swiper .swiper-slide,
    .products-swiper .swiper-slide {
        height: auto;
        display: flex;
    }

    .agent-card,
    .product-card {
        width: 100%;
        height: auto;
        min-height: 100%;
    }
}
