/* Segla Global Styles */
:root {
    --segla-primary: #003154;
    --segla-secondary: #54595f;
    --segla-background: #f5f6f7;
    --segla-white: #ffffff;
    --segla-success: #28a745;
    --segla-font: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

/* Títulos nunca mostram outline de foco (regra global) */
h1, h2, h3, h4, h5, h6 {
    outline: none !important;
}
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus,
h1:focus-visible, h2:focus-visible, h3:focus-visible, h4:focus-visible, h5:focus-visible, h6:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

html, body {
    font-family: var(--segla-font);
    margin: 0;
    padding: 0;
    color: var(--segla-secondary);
    line-height: 1.6;
}

a {
    color: var(--segla-primary);
    text-decoration: none;
}

a:hover {
    color: #002040;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--segla-font);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--segla-primary);
    color: var(--segla-white);
}

.btn-primary:hover {
    background-color: #002040;
    color: var(--segla-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--segla-primary);
    border: 2px solid var(--segla-primary);
}

.btn-outline:hover {
    background-color: var(--segla-primary);
    color: var(--segla-white);
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-light {
    background-color: var(--segla-background);
}

.section-dark {
    background-color: var(--segla-primary);
    color: var(--segla-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--segla-primary);
}

.section-dark .section-title {
    color: var(--segla-white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--segla-secondary);
    margin-bottom: 48px;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.card {
    background: var(--segla-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--segla-primary);
    border-radius: 12px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--segla-primary);
    margin-bottom: 12px;
}

.card-description {
    font-size: 14px;
    color: var(--segla-secondary);
    line-height: 1.6;
}

/* Grid */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* Form Elements */
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--segla-font);
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--segla-primary);
    box-shadow: 0 0 0 3px rgba(0, 49, 84, 0.1);
}

/* Blazor Error UI */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--segla-primary);
}

.text-secondary {
    color: var(--segla-secondary);
}

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* ========================================
   Carrossel Template
   ======================================== */

.segla-carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}

.slide-image {
    height: 400px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.slide-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    opacity: 0.9;
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-next {
    right: -24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    width: 32px;
    border-radius: 6px;
}

@media (max-width: 1200px) {
    .carousel-btn-prev {
        left: 16px;
    }

    .carousel-btn-next {
        right: 16px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        grid-template-columns: 1fr;
    }

    .slide-image {
        height: 250px;
    }

    .slide-text {
        padding: 32px 24px;
    }

    .slide-text h3 {
        font-size: 22px;
    }

    .carousel-btn-prev {
        left: 8px;
    }

    .carousel-btn-next {
        right: 8px;
    }
}

/* ========================================
   Seções Dinâmicas do Produto
   (Global porque RenderTreeBuilder não recebe atributo de scoped CSS)
   ======================================== */

/* Seção de Texto */
.secao-texto {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.secao-texto .secao-conteudo {
    font-size: 16px;
    line-height: 1.8;
    color: #54595f;
    text-align: left;
}

.secao-texto .secao-conteudo p {
    margin-bottom: 16px;
}

.secao-texto .secao-conteudo img,
.secao-texto-imagem img,
.secao-html img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px auto;
    border-radius: 8px;
}

/* Seção Texto + Imagem */
.secao-texto-imagem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.texto-imagem-content {
    font-size: 16px;
    line-height: 1.7;
    color: #54595f;
}

.texto-imagem-content .section-title {
    text-align: left;
}

.texto-imagem-content .section-subtitle {
    text-align: left;
    margin-bottom: 24px;
}

.texto-imagem-img {
    display: flex;
    justify-content: center;
}

.texto-imagem-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Seção de Imagem */
.secao-imagem {
    text-align: center;
}

.secao-imagem img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Seção de Recursos */
.secao-recursos {
    text-align: center;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}

.recurso-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.recurso-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.recurso-icon {
    width: 56px;
    height: 56px;
    background: #e8f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003154;
    margin: 0 auto 16px;
    font-size: 24px;
}

.recurso-card span {
    font-size: 15px;
    font-weight: 600;
    color: #003154;
    line-height: 1.4;
}

/* Seção de Galeria */
.secao-galeria {
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

/* Seção de Vídeo */
.secao-video {
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 48px auto 0;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Seção de Destaque */
.section-destaque {
    background: linear-gradient(135deg, #003154 0%, #005588 100%);
    color: #ffffff;
}

.secao-destaque {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.secao-destaque .destaque-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}

.secao-destaque h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.secao-destaque .destaque-content {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
}

.secao-destaque .destaque-content p {
    margin-bottom: 16px;
}

/* Seção CTA */
.section-cta {
    background: #f5f6f7;
}

.secao-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.secao-cta .section-title {
    margin-bottom: 16px;
}

.secao-cta .section-subtitle {
    margin-bottom: 32px;
}

.secao-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.secao-cta .btn-primary {
    background-color: #003154;
    color: #ffffff;
}

.secao-cta .btn-primary:hover {
    background-color: #002040;
}

/* Seção HTML */
.secao-html {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 16px;
    color: #54595f;
}

.secao-html h2, .secao-html h3 {
    color: #003154;
    margin-top: 32px;
    margin-bottom: 16px;
}

.secao-html p {
    margin-bottom: 16px;
}

/* Responsivo para Seções Dinâmicas */
@media (max-width: 992px) {
    .secao-texto-imagem {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .texto-imagem-img {
        order: -1;
    }

    .recursos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .secao-destaque h2 {
        font-size: 24px;
    }

    .secao-destaque .destaque-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }
}

/* ========================================
   Templates HTML Personalizados
   (Global porque são inseridos via AddMarkupContent)
   ======================================== */

/* Template: Features Grid */
.template-features-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.template-features-grid .features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.template-features-grid .feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.template-features-grid .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.template-features-grid .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #003154 0%, #005588 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.template-features-grid .feature-icon i {
    font-size: 28px;
    color: #ffffff;
}

.template-features-grid .feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #003154;
    margin-bottom: 12px;
}

.template-features-grid .feature-card p {
    font-size: 14px;
    color: #54595f;
    line-height: 1.6;
    margin: 0;
}

/* Template: Texto com Imagem */
.template-texto-imagem {
    max-width: 1100px;
    margin: 0 auto;
}

.template-texto-imagem .texto-imagem-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.template-texto-imagem .imagem-box img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.template-texto-imagem .texto-box .lead {
    font-size: 18px;
    color: #54595f;
    margin-bottom: 20px;
}

.template-texto-imagem .texto-box p {
    font-size: 16px;
    color: #54595f;
    line-height: 1.7;
    margin-bottom: 20px;
}

.template-texto-imagem .lista-beneficios {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.template-texto-imagem .lista-beneficios li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    color: #54595f;
}

.template-texto-imagem .lista-beneficios i {
    color: #003154;
    font-size: 18px;
}

/* Template: Estatísticas */
.template-estatisticas {
    max-width: 1000px;
    margin: 0 auto;
}

.template-estatisticas .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.template-estatisticas .stat-box {
    text-align: center;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.template-estatisticas .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #003154;
    line-height: 1;
    margin-bottom: 8px;
}

.template-estatisticas .stat-label {
    font-size: 14px;
    color: #54595f;
    font-weight: 500;
}

/* Template: Cards com Ícones */
.template-cards-icones {
    max-width: 1100px;
    margin: 0 auto;
}

.template-cards-icones .cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.template-cards-icones .icon-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.template-cards-icones .icon-card:hover {
    transform: translateY(-4px);
}

.template-cards-icones .icon-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #003154 0%, #005588 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.template-cards-icones .icon-circle i {
    font-size: 32px;
    color: #ffffff;
}

.template-cards-icones .icon-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #003154;
    margin-bottom: 10px;
}

.template-cards-icones .icon-card p {
    font-size: 14px;
    color: #54595f;
    line-height: 1.5;
    margin: 0;
}

/* Template: FAQ */
.template-faq {
    max-width: 800px;
    margin: 0 auto;
}

.template-faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.template-faq .faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.template-faq .faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    font-weight: 600;
    color: #003154;
    cursor: pointer;
}

.template-faq .faq-question i {
    color: #003154;
    font-size: 20px;
}

.template-faq .faq-answer {
    padding: 0 24px 20px;
    color: #54595f;
    line-height: 1.7;
}

.template-faq .faq-answer p {
    margin: 0;
}

/* Template: Timeline */
.template-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.template-timeline .timeline-container {
    position: relative;
    padding-left: 40px;
}

.template-timeline .timeline-container::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.template-timeline .timeline-item {
    position: relative;
    padding-bottom: 40px;
    display: flex;
    gap: 24px;
}

.template-timeline .timeline-item:last-child {
    padding-bottom: 0;
}

.template-timeline .timeline-number {
    position: absolute;
    left: -40px;
    width: 40px;
    height: 40px;
    background: #003154;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.template-timeline .timeline-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
}

.template-timeline .timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #003154;
    margin-bottom: 8px;
}

.template-timeline .timeline-content p {
    font-size: 14px;
    color: #54595f;
    line-height: 1.6;
    margin: 0;
}

/* Template: Citação */
.template-citacao {
    max-width: 800px;
    margin: 0 auto;
}

.template-citacao .citacao-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    border-left: 4px solid #003154;
}

.template-citacao .citacao-icone {
    margin-bottom: 20px;
}

.template-citacao .citacao-icone i {
    font-size: 48px;
    color: #003154;
    opacity: 0.3;
}

.template-citacao blockquote {
    font-size: 20px;
    font-style: italic;
    color: #003154;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.template-citacao .citacao-autor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.template-citacao .autor-foto {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    background: #003154;
}

.template-citacao .autor-info {
    text-align: left;
}

.template-citacao .autor-info strong {
    display: block;
    font-size: 16px;
    color: #003154;
}

.template-citacao .autor-info span {
    font-size: 14px;
    color: #54595f;
}

/* Template: Comparativo */
.template-comparativo {
    max-width: 900px;
    margin: 0 auto;
}

.template-comparativo .tabela-comparativo {
    overflow-x: auto;
}

.template-comparativo table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.template-comparativo thead {
    background: #003154;
    color: #ffffff;
}

.template-comparativo th {
    padding: 16px 20px;
    text-align: center;
    font-weight: 600;
}

.template-comparativo th:first-child {
    text-align: left;
}

.template-comparativo td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: #54595f;
}

.template-comparativo td:first-child {
    text-align: left;
    font-weight: 500;
    color: #003154;
}

.template-comparativo tbody tr:hover {
    background: #f8fafc;
}

.template-comparativo .text-success {
    color: #28a745;
}

.template-comparativo .text-danger {
    color: #dc3545;
}

/* Template: Steps */
.template-steps {
    max-width: 1000px;
    margin: 0 auto;
}

.template-steps .steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.template-steps .step-item {
    flex: 1;
    max-width: 220px;
    text-align: center;
    position: relative;
}

.template-steps .step-number {
    font-size: 14px;
    font-weight: 700;
    color: #003154;
    opacity: 0.3;
    margin-bottom: 12px;
}

.template-steps .step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #003154 0%, #005588 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.template-steps .step-icon i {
    font-size: 28px;
    color: #ffffff;
}

.template-steps .step-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #003154;
    margin-bottom: 8px;
}

.template-steps .step-item p {
    font-size: 13px;
    color: #54595f;
    margin: 0;
}

.template-steps .step-divider {
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: #003154;
    opacity: 0.3;
}

.template-steps .step-divider i {
    font-size: 24px;
}

/* Template: Hero Interno */
.template-hero-interno {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #003154 0%, #005588 100%);
    border-radius: 16px;
    color: #ffffff;
}

.template-hero-interno .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.template-hero-interno h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.template-hero-interno p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.template-hero-interno .hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Template: Lista com Checks */
.template-lista-checks {
    max-width: 900px;
    margin: 0 auto;
}

.template-lista-checks .lista-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.template-lista-checks .lista-header {
    text-align: center;
    margin-bottom: 32px;
}

.template-lista-checks .checks-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.template-lista-checks .checks-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.template-lista-checks .check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.template-lista-checks .check-item:last-child {
    border-bottom: none;
}

.template-lista-checks .check-item i {
    color: #28a745;
    font-size: 20px;
}

.template-lista-checks .check-item span {
    font-size: 15px;
    color: #54595f;
}

/* Responsivo para Templates */
@media (max-width: 992px) {
    .template-features-grid .features-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-texto-imagem .texto-imagem-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .template-texto-imagem .texto-imagem-wrapper.imagem-esquerda .imagem-box {
        order: -1;
    }

    .template-estatisticas .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-cards-icones .cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .template-steps .steps-row {
        flex-wrap: wrap;
    }

    .template-steps .step-divider {
        display: none;
    }

    .template-lista-checks .checks-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .template-features-grid .features-row {
        grid-template-columns: 1fr;
    }

    .template-estatisticas .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .template-estatisticas .stat-number {
        font-size: 36px;
    }

    .template-cards-icones .cards-row {
        grid-template-columns: 1fr;
    }

    .template-hero-interno h1 {
        font-size: 28px;
    }

    .template-hero-interno .hero-buttons {
        flex-direction: column;
    }

    .template-citacao .citacao-box {
        padding: 32px 24px;
    }

    .template-citacao blockquote {
        font-size: 16px;
    }
}
