/* ============================================================
   HOME PAGE — Unique Premium Landing
   ============================================================ */
html {
    scroll-behavior: smooth;
}

/* HERO PREMIUM — Fusion Layout */
.hero-premium {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 38, 84, 0.4) 0%, #ffffff 50%, rgba(227, 29, 28, 0.4) 100%);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Column stabilization for Swiper */
.hero-content, .hero-visual {
    min-width: 0;
}

/* Column 1: Content */
.hero-content {
    max-width: 520px;
}

.hero-visual {
    position: relative;
    width: 100%;
}

.photo-label {
    padding: 14px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-wrap: balance;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent-red) 0%, #d4380d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .welcome-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-red);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.175,.885,.32,1.275);
    box-shadow: 0 8px 20px rgba(227,29,28,0.25);
}

.btn-hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(227,29,28,0.35);
}

.btn-hero-secondary {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

/* Column 2: Visual (The Carousel) */
.hero-visual {
    position: relative;
    width: 100%;
}

/* Ajustes finos no Swiper dentro do Hero */
.hero-visual .photo-swiper {
    padding: 20px 20px 60px; /* Mais padding embaixo para a paginação */
    overflow: hidden; /* Garante que não invada o texto à esquerda */
}

.hero-visual .photo-card {
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}
.photo-swiper {
    overflow: hidden;
    padding-bottom: 45px;
}
.photo-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.06); /* Submetido à opção 2 (borda de contenção) */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.15);
}
.photo-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 20%;
}

.photo-swiper .swiper-button-prev,
.photo-swiper .swiper-button-next {
    color: var(--accent-red);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    top: 40%;
}
.photo-swiper .swiper-button-prev::after,
.photo-swiper .swiper-button-next::after {
    font-size: 0.9rem;
    font-weight: 900;
}
.photo-swiper .swiper-pagination-bullet { background: var(--accent-red); }


/* Shared section helpers */
.section-eyebrow {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 12px;
}
.section-heading {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}
.section-desc {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* FINAL AUTHORITY SEAL (Footer Section Anchor) */
.footer-seal-anchor {
    margin-top: 20px;
    margin-bottom: 45px;
    display: flex;
    justify-content: center;
}

/* PREMIUM SECTION SEAL (The Definitive One) */
.premium-seal-section {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 12px;
    border: 1px solid rgba(201, 162, 39, 0.4);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    animation: slideUpSeal 1s ease-out;
    max-width: 100%; /* Segurança contra estouro */
}

@keyframes slideUpSeal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.premium-seal-section .seal-icon {
    font-size: 2rem;
    color: #c9a227;
    filter: drop-shadow(0 2px 8px rgba(201,162,39,0.3));
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Ícone não esmaga */
}

.premium-seal-section .seal-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.premium-seal-section .seal-eyebrow {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a07c10;
    line-height: 1.2;
}

.premium-seal-section .seal-main {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    white-space: nowrap;
}

/* O brilho metálico clássico */
.premium-seal-section::before {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shine-section 6s infinite;
}

@keyframes shine-section {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

/* MODALIDADES */
.modalidades-section {
    padding: 100px 0;
    background: #fcfcfc;
    position: relative;
    scroll-margin-top: 100px;
}
.modalidades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.mod-card {
    background: #fff;
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: transform 0.4s cubic-bezier(.175,.885,.32,1.275), box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    display: block;
}
.mod-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.mod-card-online::before { background: linear-gradient(to right, var(--accent-blue), #3b82f6); }
.mod-card-presencial::before { background: linear-gradient(to right, var(--accent-red), #f59e0b); }
.mod-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.mod-icon {
    width: 70px; height: 70px;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}
.mod-card-online .mod-icon { background: rgba(0,38,84,0.08); color: var(--accent-blue); }
.mod-card-presencial .mod-icon { background: rgba(227,29,28,0.08); color: var(--accent-red); }
.mod-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); margin-bottom: 12px; }
.mod-card p { font-size: 0.95rem; color: #666; line-height: 1.7; margin-bottom: 24px; }
.mod-card-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 0.95rem; transition: gap 0.3s;
}
.mod-card-online .mod-card-link { color: var(--accent-blue); }
.mod-card-presencial .mod-card-link { color: var(--accent-red); }
.mod-card:hover .mod-card-link { gap: 14px; }

/* HOW IT WORKS */
.how-section {
    padding: 90px 0;
    background: #fff;
}
.how-flow {
    display: flex;
    align-items: flex-start;
    max-width: 960px;
    margin: 40px auto 0;
    position: relative;
}
.how-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    position: relative;
}
.how-step-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
    transition: transform 0.3s;
    position: relative;
    z-index: 2;
}
.how-step:nth-child(1) .how-step-icon {
    background: linear-gradient(135deg, var(--accent-red), #d4380d);
    color: #fff;
    box-shadow: 0 8px 25px rgba(227,29,28,0.3);
}
.how-step:nth-child(2) .how-step-icon {
    background: linear-gradient(135deg, var(--accent-blue), #1e40af);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,38,84,0.3);
}
.how-step:nth-child(3) .how-step-icon {
    background: linear-gradient(135deg, var(--accent-yellow), #f59e0b);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255,215,0,0.4);
}
.how-step:hover .how-step-icon { transform: scale(1.1); }
.how-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -10%;
    width: 20%;
    height: 2px;
    background: linear-gradient(to right, #ddd, #ccc);
    z-index: 1;
}
.how-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.how-step p { font-size: 0.88rem; color: #666; line-height: 1.6; max-width: 240px; margin: 0 auto; }

/* COMMUNITY CTA — Red gradient */
.community-cta {
    background: linear-gradient(135deg, var(--accent-red) 0%, #991b1b 100%);
    padding: 90px 0;
    color: #fff;
    text-align: center;
}
.community-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.community-cta > .container > p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    max-width: 900px;
    margin: 0 auto 48px;
}
.cta-card {
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 26px 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
    color: #fff;
    display: block;
}
.cta-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.2); }
.cta-card i { font-size: 1.8rem; margin-bottom: 12px; display: block; opacity: 0.9; }
.cta-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.cta-card p { font-size: 0.85rem; opacity: 0.85; line-height: 1.6; }
.btn-cta-white {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; color: var(--accent-red);
    padding: 16px 40px; border-radius: 50px;
    font-weight: 700; font-size: 1rem;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.btn-cta-white:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-premium { padding: 40px 0 30px; } /* Reduzido de 80px no topo */
    .hero-premium-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; } /* Gap reduzido de 40px */
    .hero-content { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-visual .photo-swiper { padding: 10px; }
}
@media (max-width: 680px) {
    .hero-content h1 { font-size: 1.8rem; margin-bottom: 12px; } /* Reduzido de 2.2rem e menor margem */
    .hero-content .welcome-text { font-size: 0.95rem; margin-bottom: 24px; line-height: 1.5; } /* Reduzido o texto e a margem */
    .btn-hero-cta { padding: 12px 24px; font-size: 0.95rem; } /* Botão menor no mobile */
    .btn-hero-secondary { font-size: 0.95rem; }
    .modalidades-grid { grid-template-columns: 1fr; }
    .how-flow { flex-direction: column; gap: 40px; align-items: center; } /* Centralizado no mobile */
    .how-step:not(:last-child)::after { display: none; }
    .cta-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .hero-premium { padding: 20px 0 20px; } /* Topo bem curto no celular porque o header JS já dá offset */
    .hero-split { padding: 36px 0 16px; }
    .hero-content h1 { font-size: 1.6rem; margin-bottom: 10px; } /* Ainda menor em telas muito pequenas */
    .hero-content .welcome-text { margin-bottom: 20px; }
    .btn-hero-cta { padding: 10px 20px; font-size: 0.9rem; }
    .hero-cta { gap: 15px; } /* Botões mais próximos */
    .cta-cards { grid-template-columns: 1fr; }
    .mod-card { padding: 30px 22px; }
    .photo-swiper .swiper-button-prev,
    .photo-swiper .swiper-button-next { display: none; }
    
    /* Ajuste de miniaturização para o selo manter uma linha só no mobile */
    .premium-seal-section { 
        padding: 8px 15px;
        gap: 10px;
    }
    .premium-seal-section .seal-icon {
        font-size: 1.4rem;
    }
    .premium-seal-section .seal-eyebrow {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
    .premium-seal-section .seal-main { 
        white-space: nowrap; 
        font-size: 0.72rem;
        letter-spacing: -0.2px; /* Leve aperto para caber */
    }
}
