/* Estilos para a página Seja Loja CEC (Centro Especialista Coral) */

.cec-page {
    padding-bottom: 5rem;
    background-color: var(--bg-light);
}

.cec-hero {
    background: linear-gradient(135deg, #004a99, #e30613); /* Cores da Coral */
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cec-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.18), transparent 35%),
                radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.12), transparent 30%),
                radial-gradient(circle at 45% 85%, rgba(227, 6, 19, 0.12), transparent 40%);
    opacity: 1;
}

.cec-hero .container {
    position: relative;
    z-index: 2;
}

.cec-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cec-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.cec-intro {
    padding: 5rem 0;
    background-color: white;
}

.cec-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .cec-intro-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cec-intro-text h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.cec-intro-text p {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cec-benefits {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.cec-benefits .section-label {
    text-align: center;
}

.cec-benefits h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 4rem;
    color: var(--primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #eff6ff;
    color: #2563eb;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon .material-icons {
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

.cec-steps {
    padding: 5rem 0;
    background-color: white;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.75rem;
    top: 3.5rem;
    bottom: -1.5rem;
    width: 2px;
    background-color: #e2e8f0;
}

.step-number {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
}

.cec-form-section {
    padding: 5rem 0;
    background-color: #f1f5f9;
}

.form-container {
    background-color: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-full {
    grid-column: 1 / -1;
}

.cec-cta-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
}

.btn-whatsapp-float {
    background-color: #25d366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    transition: transform 0.3s;
}

.btn-whatsapp-float:hover {
    transform: scale(1.05);
}

.alert {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-success { background-color: #f0fdf4; border: 1px solid #22c55e; color: #166534; }
.alert-error { background-color: #fef2f2; border: 1px solid #ef4444; color: #991b1b; }

.section-label {
    text-transform: uppercase;
    font-weight: 800;
    color: #e30613;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.section-label-hero {
    color: #fff !important;
    opacity: 0.9;
}

.cec-intro-img img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.steps-header {
    text-align: center;
    margin-bottom: 4rem;
}

.steps-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.alert-success-container {
    text-align: center;
    margin-top: 2rem;
}

.form-actions-cec {
    text-align: center;
    margin-top: 3rem;
}

.btn-cec-submit {
    padding-left: 4rem;
    padding-right: 4rem;
}

.btn-whatsapp-float i {
    font-size: 1.5rem;
}

/* ------------------------------------------------------------
   Versão reestruturada da página Seja Loja CEC
------------------------------------------------------------ */

.cec-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .cec-hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3.5rem;
    }
}

.cec-hero-text {
    color: #ffffff;
    text-align: left;
}

@media (max-width: 991px) {
    .cec-hero-text {
        text-align: center;
    }
}

.cec-hero-complemento {
    font-size: 1.05rem;
    margin-top: 1.25rem;
    opacity: 0.95;
    line-height: 1.7;
}

.btn-cec-hero-primary {
    margin-right: 0;
}

@media (min-width: 768px) {
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .cec-hero-text .hero-buttons {
        justify-content: flex-start;
    }
}

.btn-cec-hero-secondary .material-icons {
    font-size: 1.1rem;
}

.cec-section {
    padding: 5rem 0;
}

.cec-lead {
    color: #334155;
    line-height: 1.8;
    font-size: 1.125rem;
    margin-top: 1rem;
}

.cec-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .cec-two-col {
        grid-template-columns: 1fr 0.85fr;
        gap: 3.5rem;
    }
}

.cec-bullets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .cec-bullets {
        grid-template-columns: 1fr 1fr;
    }
}

.cec-bullet {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.cec-bullet .material-icons {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.cec-bullet p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
}

.cec-callout {
    margin-top: 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    padding: 1.25rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cec-what .cec-callout {
    background: #0b2f63;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.cec-callout .material-icons {
    font-size: 1.35rem;
    margin-top: 0.15rem;
}

.cec-callout p {
    margin: 0;
    line-height: 1.6;
}

.cec-media-card img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cec-organizacao .cec-lead {
    margin-top: 1.25rem;
}

.cec-infographic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.25rem;
}

@media (min-width: 768px) {
    .cec-infographic-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .cec-infographic-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.infographic-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.infographic-card h3 {
    margin: 0 0 0.75rem 0;
    color: #0f172a;
    font-size: 1.125rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.infographic-card .material-icons {
    color: var(--primary);
}

.infographic-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.cec-segmentacao {
    background-color: #f8fafc;
}

.category-grid,
.materials-grid,
.training-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .materials-grid,
    .training-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.category-card,
.material-card,
.training-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.category-card .material-icons,
.material-card .material-icons,
.training-card .material-icons {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.category-card h3,
.material-card h3,
.training-card h3 {
    margin: 0 0 0.75rem 0;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.35;
}

.category-card p,
.material-card p,
.training-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.cec-materiais .material-card h3 {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cec-note {
    color: #64748b;
    line-height: 1.7;
    margin-top: 1.25rem;
}

.cec-tinting {
    background-color: #ffffff;
}

.cec-tinting-grid {
    margin-top: 2rem;
}

.cec-checks {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0 0;
    display: grid;
    gap: 0.85rem;
}

.cec-checks li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #334155;
    line-height: 1.6;
}

.cec-checks .material-icons {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.cec-preavaliacao {
    background-color: #f8fafc;
}

.pre-req-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .pre-req-grid {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
    }
}

.pre-req-list ul {
    margin-top: 1.25rem;
}

.pre-req-cta {
    display: grid;
    gap: 1rem;
}

.cec-callout-invert {
    background: #0b2f63;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-cec-submit-wide {
    width: 100%;
    justify-content: center;
}

.cec-muted {
    color: #64748b;
    line-height: 1.6;
}

.cec-before-after {
    background-color: #ffffff;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.25rem;
}

@media (min-width: 992px) {
    .before-after-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.compare-card {
    border-radius: 1.25rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.compare-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #0f172a;
}

.compare-before h3 {
    color: #b91c1c;
}

.compare-after h3 {
    color: var(--primary);
}

.compare-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.compare-list li::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.5rem;
}

.cec-form-footnote {
    margin-top: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.form-error {
    margin-top: 0.5rem;
    color: #b91c1c;
    font-size: 0.875rem;
}

.cec-faq {
    background-color: #f8fafc;
}

.cec-faq-list {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.cec-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
}

.cec-faq-item summary {
    cursor: pointer;
    padding: 0.9rem 0;
    font-weight: 800;
    color: #0f172a;
    list-style: none;
}

.cec-faq-item summary::-webkit-details-marker {
    display: none;
}

.cec-faq-content {
    padding: 0.25rem 0 0.9rem 0;
    color: #475569;
    line-height: 1.75;
}

.cec-textarea {
    min-height: 110px;
    resize: vertical;
}

/* Honeypot anti-bots (anti-spam) */
.cec-hp {
    display: none !important;
}

.cec-materials-media,
.cec-training-media {
    margin-top: 1.75rem;
}

.cec-hero-media {
    display: flex;
    justify-content: center;
}

.cec-hero-media img {
    width: 100%;
    max-width: 520px;
    border-radius: 1.25rem;
    box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
    .cec-hero-media img {
        max-width: 420px;
    }
}

/* ------------------------------------------------------------
   Responsividade por faixas solicitadas
   <= 320px | 321px-576px | 577px-767px | 768px-991px | 992px-1199px | >= 1200px
------------------------------------------------------------ */

@media (max-width: 320px) {
    .cec-hero {
        padding: 4rem 0;
    }

    .cec-hero h1 {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }

    .cec-hero p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-grid {
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 321px) and (max-width: 576px) {
    .cec-hero {
        padding: 4.5rem 0;
    }

    .cec-hero h1 {
        font-size: 2.4rem;
    }

    .cec-hero p {
        font-size: 1.05rem;
    }

    .form-container {
        padding: 1.75rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .cec-hero h1 {
        font-size: 2.6rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .cec-hero h1 {
        font-size: 2.75rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cec-hero-media img {
        max-width: 600px;
    }
}
