/**
 * CSS específico para páginas setoriais
 * Mantém consistência com front-page-v2.css
 * 
 * @package YUX_Theme
 */

/* ===== VARIÁVEIS ESPECÍFICAS DOS SETORES ===== */
:root {
    /* Cores por setor - podem ser customizadas */
    --setor-ecommerce: #10B981;
    --setor-educacao: #3B82F6;
    --setor-saude: #EF4444;
    --setor-imobiliario: #F59E0B;
    --setor-financeiro: #8B5CF6;
    --setor-industria: #6B7280;
    --setor-turismo: #06B6D4;
    --setor-agencias: #EC4899;
    
    /* Variáveis globais necessárias */
    --text-dark: #1a1a1a;
    --text-gray: #9ca3af;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== HERO SETORIAL ===== */
.hero-setor {
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}

/* Aplicar cores específicas por setor no hero */
.page-setor-ecommerce .hero-setor {
    background: linear-gradient(135deg, var(--setor-ecommerce) 0%, #059669 100%);
}

.page-setor-educacao .hero-setor {
    background: linear-gradient(135deg, var(--setor-educacao) 0%, #2563EB 100%);
}

.page-setor-saude .hero-setor {
    background: linear-gradient(135deg, var(--setor-saude) 0%, #DC2626 100%);
}

.page-setor-imobiliario .hero-setor {
    background: linear-gradient(135deg, var(--setor-imobiliario) 0%, #D97706 100%);
}

.page-setor-financeiro .hero-setor {
    background: linear-gradient(135deg, var(--setor-financeiro) 0%, #7C3AED 100%);
}

.page-setor-industria .hero-setor {
    background: linear-gradient(135deg, var(--setor-industria) 0%, #4B5563 100%);
}

.page-setor-turismo .hero-setor {
    background: linear-gradient(135deg, var(--setor-turismo) 0%, #0891B2 100%);
}

.page-setor-agencias .hero-setor {
    background: linear-gradient(135deg, var(--setor-agencias) 0%, #DB2777 100%);
}

.hero-setor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-setor .container {
    position: relative;
    z-index: 2;
}

.hero-setor-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.hero-text-v2 {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.setor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.setor-icon {
    font-size: 1.2rem;
}

.setor-name {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.setor-hero-placeholder {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.setor-hero-placeholder:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.setor-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.setor-hero-placeholder:hover .setor-icon-large {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
}

.setor-icon-large svg {
    width: 60px;
    height: 60px;
    color: white;
}

.placeholder-description {
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-description span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.placeholder-description small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

.hero-setor h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-setor .subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats-setor {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hero-stat-setor {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 180px;
}

.hero-stat-setor .numero {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat-setor .texto {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== SEÇÕES SETORIAIS ===== */
.secao-setor {
    padding: 80px 0;
}

.secao-setor.bg-light {
    background-color: var(--bg-light);
}

.secao-setor h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.secao-setor h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ===== DIA A DIA NO BRASIL - DESAFIOS GRID ===== */
.dia-a-dia-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.desafios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.desafio-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.desafio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #EF4444, #F97316);
}

.desafio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.desafio-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #D97706;
}

.desafio-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

/* ===== 30 DIAS DE IMPLEMENTAÇÃO ===== */
.implementacao-section {
    padding: 80px 0;
    background: white;
}

.implementacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.implementacao-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.implementacao-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color, #3B82F6);
}

.implementacao-number {
    position: absolute;
    top: -15px;
    left: 2.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color, #3B82F6), var(--secondary-color, #1E40AF));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border: 3px solid white;
}

.implementacao-content {
    margin-top: 1rem;
}

.implementacao-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.implementacao-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.beneficios-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beneficios-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.beneficios-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color, #10B981);
    font-weight: 700;
    font-size: 1rem;
}

/* Ícones específicos por tipo de implementação */
.implementacao-item:nth-child(1) .implementacao-number {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.implementacao-item:nth-child(2) .implementacao-number {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.implementacao-item:nth-child(3) .implementacao-number {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.implementacao-item:nth-child(4) .implementacao-number {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.implementacao-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

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

.implementacao-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.implementacao-card .descricao {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.beneficios-lista {
    list-style: none;
    padding: 0;
}

.beneficios-lista li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.beneficios-lista li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
}

/* ===== EXEMPLOS PRÁTICOS ===== */
.exemplos-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.exemplos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
    opacity: 0.5;
}

.exemplos-section .container {
    position: relative;
    z-index: 2;
}

.exemplos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.exemplo-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-top: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.flow-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color, #3B82F6);
    transition: all 0.3s ease;
}

.flow-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.flow-item:nth-child(1) {
    border-left-color: #10B981;
}

.flow-item:nth-child(2) {
    border-left-color: #F59E0B;
}

.flow-item:nth-child(3) {
    border-left-color: #EF4444;
}

.flow-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color, #3B82F6);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flow-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
}

.flow-item p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.flow-arrow {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0;
    color: var(--primary-color, #3B82F6);
    font-size: 1.5rem;
}

.flow-arrow::before {
    content: '↓';
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.exemplo-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color, #3B82F6), var(--secondary-color, #1E40AF));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 1rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exemplos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.exemplo-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.exemplo-visual {
    margin-bottom: 2rem;
}

.exemplo-image-placeholder {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.exemplo-image-placeholder:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.exemplo-image-placeholder svg {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.exemplo-image-placeholder:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.exemplo-image-placeholder span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.exemplo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #EC4899);
}

.exemplo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.exemplo-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    color: white;
}

.exemplo-categoria {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.exemplo-titulo {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.exemplo-content {
    padding: 2rem;
}

.exemplo-item {
    margin-bottom: 1.5rem;
}

.exemplo-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.exemplo-texto {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 1rem;
}

.exemplo-resultado {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid #10B981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

/* ===== MÉTRICAS & STACK ===== */
.metricas-stack-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.metricas-stack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 0v20M0 20h40M20 20h20v20M20 40v-20" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>') repeat;
    opacity: 0.3;
}

.metricas-stack-section .container {
    position: relative;
    z-index: 2;
}

.metricas-stack-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.metricas-stack-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 1.1rem;
}

.metricas-stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.metricas-card, .stack-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.metricas-card:hover, .stack-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.metricas-card h3, .stack-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metricas-card h3::before {
    content: '📊';
    font-size: 2rem;
}

.stack-card h3::before {
    content: '⚡';
    font-size: 2rem;
}

.metricas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.metrica-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.metrica-item:hover {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 0 -1rem;
}

.metrica-item:last-child {
    border-bottom: none;
}

.metrica-item .label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.metrica-item .valor {
    font-weight: 700;
    font-size: 1.4rem;
    color: #10B981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.stack-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stack-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stack-category:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.stack-category h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stack-category:nth-child(1) h4::before {
    content: '🎨';
}

.stack-category:nth-child(2) h4::before {
    content: '⚙️';
}

.stack-category:nth-child(3) h4::before {
    content: '📱';
}

.stack-category:nth-child(4) h4::before {
    content: '🔧';
}

.stack-category p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.stack-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    border-left: 4px solid #10B981;
}

.metricas-lista, .stack-lista {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.metricas-lista h4, .stack-lista h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.metricas-lista ul, .stack-lista ul {
    list-style: none;
    padding: 0;
}

.metricas-lista li, .stack-lista li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-gray);
}

.metricas-lista li:last-child, .stack-lista li:last-child {
    border-bottom: none;
}

.stack-categoria {
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== PLANO DE IMPLEMENTAÇÃO ===== */
.plano-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.plano-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="timeline" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25 0v50M0 25h50" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/><circle cx="25" cy="25" r="2" fill="rgba(59,130,246,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23timeline)"/></svg>') repeat;
    opacity: 0.4;
}

.plano-section .container {
    position: relative;
    z-index: 2;
}

.plano-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.8rem;
}

.plano-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.plano-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
}

.plano-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3B82F6, #8B5CF6, #EC4899);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.plano-etapa {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.plano-etapa:nth-child(1) {
    animation-delay: 0.1s;
}

.plano-etapa:nth-child(2) {
    animation-delay: 0.2s;
}

.plano-etapa:nth-child(3) {
    animation-delay: 0.3s;
}

.plano-etapa:nth-child(4) {
    animation-delay: 0.4s;
}

.plano-etapa:nth-child(even) {
    flex-direction: row-reverse;
}

.etapa-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.etapa-number:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.6);
}

.plano-etapa:nth-child(1) .etapa-number {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.plano-etapa:nth-child(2) .etapa-number {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.plano-etapa:nth-child(3) .etapa-number {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.plano-etapa:nth-child(4) .etapa-number {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.etapa-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.etapa-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 24px 24px 0 0;
}

.etapa-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.etapa-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plano-etapa:nth-child(1) .etapa-content h3::before {
    content: '🚀';
    font-size: 1.8rem;
}

.plano-etapa:nth-child(2) .etapa-content h3::before {
    content: '⚙️';
    font-size: 1.8rem;
}

.plano-etapa:nth-child(3) .etapa-content h3::before {
    content: '📊';
    font-size: 1.8rem;
}

.plano-etapa:nth-child(4) .etapa-content h3::before {
    content: '🎯';
    font-size: 1.8rem;
}

.etapa-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.etapa-prazo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.etapa-prazo::before {
    content: '⏱️';
    font-size: 1.1rem;
}

/* ===== FAQ SETORIAL ===== */
.faq-section-v2 {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.faq-section-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(59,130,246,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-pattern)"/></svg>') repeat;
    opacity: 0.6;
}

.faq-section-v2 .container {
    position: relative;
    z-index: 2;
}

.faq-container-v2 {
    max-width: 900px;
    margin: 0 auto;
}

.faq-setor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.faq-setor .section-header {
    margin-bottom: 3rem;
}

.faq-setor .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-setor .section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faq-item-setor {
    background: white;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.faq-item-setor:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.faq-question::before {
    content: '❓';
    margin-right: 1rem;
    font-size: 1.2rem;
}

.faq-question:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--primary-color, #3B82F6);
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-color, #3B82F6);
    transition: all 0.3s ease;
    font-weight: 300;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.faq-question-setor {
    width: 100%;
    padding: 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question-setor::before {
    content: '❓';
    margin-right: 1rem;
    font-size: 1.2rem;
}

.faq-question-setor:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--primary-color, #3B82F6);
}

.faq-question-setor::after {
    content: '+';
    font-size: 2rem;
    color: var(--primary-color, #3B82F6);
    transition: all 0.3s ease;
    font-weight: 300;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.faq-item.active .faq-question::after,
.faq-question-setor.active::after {
    transform: rotate(45deg);
    background: var(--primary-color, #3B82F6);
    color: white;
}

.faq-item.active .faq-question,
.faq-question-setor.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-color, #3B82F6);
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-answer-setor {
    padding: 0 2rem 2rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer,
.faq-answer-setor.active {
    display: block;
}

.faq-answer p,
.faq-answer-setor p {
    margin: 0 0 1rem 0;
}

.faq-answer p:last-child,
.faq-answer-setor p:last-child {
    margin-bottom: 0;
}

/* ===== PLANO DE IMPLEMENTAÇÃO ===== */
.plano-timeline {
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
}

.plano-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.plano-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 2rem;
}

.plano-item::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.plano-prazo {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.plano-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.plano-descricao {
    color: var(--text-gray);
    line-height: 1.5;
}

/* ===== CTA FINAL SETORIAL ===== */
.cta-final-setor {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-final-setor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
}

.cta-final-setor .container {
    position: relative;
    z-index: 2;
}

.cta-final-setor h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-final-setor .subtitulo {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== RESPONSIVIDADE OTIMIZADA ===== */
@media (max-width: 768px) {
    .hero-setor {
        padding: 80px 0 60px;
        min-height: 60vh;
    }

    .hero-setor h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle-v2 {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .hero-stats-setor {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .hero-stat-setor {
        min-width: auto;
        padding: 1rem;
    }

    .secao-setor {
        padding: 60px 0;
    }

    .secao-setor h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .metricas-stack-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .implementacao-grid,
    .exemplos-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .plano-timeline::before {
        left: 15px;
    }

    .plano-etapa {
        flex-direction: row !important;
        gap: 1.5rem;
    }

    .etapa-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .etapa-content {
        padding: 2rem;
    }

    .cta-final-setor h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .final-cta-content {
        padding: 0 1rem;
    }

    /* FAQ mobile improvements */
    .faq-question-setor {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .faq-answer-setor {
        padding: 0 1.5rem 1.5rem;
    }

    /* Better mobile spacing */
    .container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-setor {
        padding: 60px 0 40px;
        min-height: 50vh;
    }

    .hero-setor h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle-v2 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .setor-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-stats-setor {
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .hero-stat-setor {
        padding: 0.75rem;
        min-width: 120px;
    }

    .hero-stat-setor .numero {
        font-size: 1.5rem;
    }

    .hero-stat-setor .texto {
        font-size: 0.8rem;
    }

    .secao-setor {
        padding: 40px 0;
    }

    .secao-setor h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .desafios-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .desafio-item {
        padding: 1.5rem;
    }

    .implementacao-grid,
    .exemplos-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .implementacao-item {
        padding: 2rem;
    }

    .implementacao-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -10px;
        left: 2rem;
    }

    .etapa-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .etapa-content {
        padding: 1.5rem;
    }

    .metricas-stack-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .metricas-card, .stack-card {
        padding: 2rem;
    }

    .faq-question-setor {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-answer-setor {
        padding: 0 1.25rem 1.25rem;
    }

    .plano-section {
        padding: 60px 0;
    }

    .plano-section h2 {
        font-size: 2rem;
    }

    .cta-final-setor {
        padding: 60px 0;
    }

    .cta-final-setor h2 {
        font-size: 1.75rem;
    }

    .final-cta-content .subtitulo {
        font-size: 1rem;
    }

    /* Better mobile spacing */
    .container {
        padding: 0 0.75rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsividade para plano-section */
@media (max-width: 768px) {
    .plano-timeline::before {
        left: 40px;
    }
    
    .plano-etapa {
        flex-direction: row !important;
        gap: 2rem;
    }
    
    .etapa-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .etapa-content {
        padding: 2rem;
    }
    
    .plano-section h2 {
        font-size: 2.2rem;
    }
}

/* Aplicar animações aos elementos quando visíveis */
.implementacao-card,
.exemplo-card,
.dia-a-dia-item {
    animation: slideInUp 0.6s ease forwards;
}

/* ===== VARIAÇÕES POR SETOR ===== */
.page-setor-ecommerce {
    --primary-color: var(--setor-ecommerce);
    --secondary-color: #059669;
}

.page-setor-educacao {
    --primary-color: var(--setor-educacao);
    --secondary-color: #2563EB;
}

.page-setor-saude {
    --primary-color: var(--setor-saude);
    --secondary-color: #DC2626;
}

.page-setor-imobiliario {
    --primary-color: var(--setor-imobiliario);
    --secondary-color: #D97706;
}

.page-setor-financeiro {
    --primary-color: var(--setor-financeiro);
    --secondary-color: #7C3AED;
}

.page-setor-industria {
    --primary-color: var(--setor-industria);
    --secondary-color: #4B5563;
}

.page-setor-turismo {
    --primary-color: var(--setor-turismo);
    --secondary-color: #0891B2;
}

.page-setor-agencias {
    --primary-color: var(--setor-agencias);
    --secondary-color: #DB2777;
}