/* ============================================
   CORTE KIDS - SEO SERVICE PAGE STYLES
   Importa style.css principal + estilos extras
   ============================================ */

/* Importar CSS principal (herda header, hero, footer, btn, etc.) */
@import url('../style.css');

/* Override: fundo branco limpo (remove bolinhas do style.css) */
body {
    background-image: none;
    background-color: var(--white);
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
    background: linear-gradient(90deg, #e3f2fd, #f0f4ff);
    padding: 12px 0;
    border-bottom: 1px solid rgba(65, 105, 225, 0.1);
}

.breadcrumb-bar ol {
    list-style: none;
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumb-bar ol li+li::before {
    content: '›';
    margin-right: 8px;
    color: #bbb;
}

.breadcrumb-bar a {
    color: var(--primary-blue);
    font-weight: 600;
}

.breadcrumb-bar a:hover {
    text-decoration: underline;
}

/* ── Content Layout (Artigo + Sidebar) ── */
.content-layout {
    display: flex;
    gap: 40px;
    padding: 70px 0;
    background: var(--white);
}

.content-main {
    flex: 1;
    min-width: 0;
}

.content-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* ── Article (dentro do content-main) ── */
.seo-article h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.seo-article h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
    margin-top: 10px;
}

.seo-article p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 22px;
}

.seo-article p strong {
    color: var(--primary-blue);
}

.article-highlight-box {
    background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
    border-left: 5px solid var(--primary-blue);
    padding: 25px 30px;
    border-radius: 0 15px 15px 0;
    margin: 35px 0;
}

.article-highlight-box p {
    margin: 0;
    font-size: 1.05rem;
    font-style: italic;
    color: #444;
}

/* ── Sidebar Serviços ── */
.sidebar-servicos {
    position: sticky;
    top: 100px;
}

.sidebar-servicos-title {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

.sidebar-servicos-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 2px;
    margin: 10px auto 0;
}

.sidebar-servico-card {
    background: var(--bg-color);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.sidebar-servico-card:hover {
    border-color: rgba(65, 105, 225, 0.25);
    box-shadow: 0 4px 16px rgba(65, 105, 225, 0.1);
    transform: translateY(-2px);
}

.sidebar-servico-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1rem;
    transition: all 0.3s;
}

.sidebar-servico-card:hover .sidebar-servico-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.sidebar-servico-info {
    flex: 1;
    min-width: 0;
}

.sidebar-servico-info h4 {
    font-size: 0.92rem;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.sidebar-servico-info p {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.4;
    margin: 0;
}

/* ── Services Showcase (cards internos) ── */
.seo-services {
    padding: 70px 0;
    background: var(--bg-color);
}

.seo-services .section-title-center {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.seo-services .section-subtitle {
    text-align: center;
    color: #777;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-showcase-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-yellow));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.15);
}

.service-showcase-card:hover::before {
    opacity: 1;
}

.service-showcase-card .card-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f2fd, #f0f8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.6rem;
    color: var(--primary-blue);
}

.service-showcase-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-showcase-card p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

/* ── FAQ Section ── */
.seo-faq {
    padding: 70px 0;
    background: var(--white);
}

.seo-faq .section-title-center {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.seo-faq .section-title-center::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-yellow);
    margin: 14px auto 0;
    border-radius: 2px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-color);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(65, 105, 225, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 25px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--primary-blue);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: background 0.2s;
}

.faq-question:hover {
    background: rgba(65, 105, 225, 0.03);
}

.faq-question .faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 25px 22px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ── CTA Banner ── */
.seo-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3257c9 60%, #2a4bb8 100%);
    padding: 70px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.seo-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    border-radius: 50%;
}

.seo-cta h2 {
    color: var(--white);
    /* Padrão branco, mas pode ser sobrescrito com inline styles se necessário */
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.seo-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 550px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.seo-cta .btn-primary {
    font-size: 1.05rem;
    padding: 16px 45px;
    position: relative;
    z-index: 2;
}

/* ── Wave Dividers ── */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .wave-fill {
    fill: var(--bg-color);
}

.wave-divider-flip {
    transform: rotate(180deg);
}

/* ── WhatsApp Floating ── */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-float .wa-bubble {
    background: var(--white);
    padding: 10px 18px;
    border-radius: 15px 15px 0 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
    max-width: 220px;
    animation: waBubbleIn 0.5s ease 2s both;
}

.whatsapp-float .wa-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    animation: waPulse 2s infinite;
}

.whatsapp-float .wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

@keyframes waBubbleIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ── Responsive overrides para pages SEO ── */
@media (max-width: 768px) {
    .content-layout {
        flex-direction: column;
        padding: 40px 0;
    }

    .content-sidebar {
        width: 100%;
    }

    .sidebar-servicos {
        position: static;
    }

    .seo-article h2 {
        font-size: 1.5rem;
    }

    .services-showcase-grid {
        grid-template-columns: 1fr;
    }

    .seo-cta h2 {
        font-size: 1.7rem;
    }

    .whatsapp-float .wa-bubble {
        display: none;
    }
}

/* ── Unidades Grid (4 por linha) ── */
.units-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
    padding-bottom: 20px;
}

.unit-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.12);
    border-color: rgba(65, 105, 225, 0.2);
}

.unit-card h3 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.unit-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Empurra o botão pro fundo do card */
.unit-card>div:last-child {
    margin-top: auto !important;
}

/* Responsivo para Unidades */
@media (max-width: 1100px) {
    .units-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .units-grid {
        grid-template-columns: 1fr;
    }
}