/* CSS Custom Properties (Design Tokens) */
:root {
    --color-primary: #0066FF; /* Azul Principal */
    --color-primary-dark: #0052cc;
    --color-primary-light: #e6f0ff;
    --color-secondary: #7000FF; /* Roxo para gradientes */
    --color-bg: #FAFAFA;
    --color-bg-light: rgba(255, 255, 255, 0.6);
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-border: #EAEAEA;
    
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-elegant: linear-gradient(135deg, #0A2540 0%, #17508D 100%);
    --gradient-light: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(112, 0, 255, 0.05) 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #FAFAFA;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: transparent;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

#magnetic-bg {
    position: absolute;
    top: 0;
    left: 0;
    /* Dimensões controladas pelo JS via canvas.width / canvas.height */
    z-index: 1;
    pointer-events: none;
    /* Canvas transparente — pontos flutuam sobre backgrounds das seções */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: #111;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2; /* Acima do canvas magnético (z-index:1) — conteúdo sempre na frente */
}

.section-padding {
    padding: 96px 0;
}

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

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 32px;
}

/* Section Header */
.section-header {
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

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

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

.btn-light {
    background: white;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-list a {
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text-muted);
}

.nav-list a:hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
    perspective: 1000px;
    overflow: visible;   /* permite o glow extravasar */
}

/* Glow radial luminoso — fica visível AO REDOR do aparelho */
.hero-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 640px;
    height: 640px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(0, 102, 255, 0.25) 0%,
        rgba(0, 102, 255, 0.15) 28%,
        rgba(0, 102, 255, 0.05) 55%,
        transparent 72%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
}

/* Canvas de rede tecnológica — mesmo tamanho do halo */
.hero-net-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 640px;
    height: 640px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* Aparelho na frente de tudo */
.hero-image-wrapper img.hero-image {
    position: relative;
    z-index: 2;
}

.floating {
    animation: floating 6s ease-in-out infinite;
    transform-style: preserve-3d;
    filter: drop-shadow(0 20px 40px rgba(0, 102, 255, 0.25));
}

@keyframes floating {
    0% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(5deg); }
    100% { transform: translateY(0px) rotateY(0deg); }
}

/* ── Course Banner ── */
.course-banner-section {
    padding: 0 0 56px;
    background: transparent;
}

/* Faixa de transição premium entre hero e course banner —
   Usa máscara de opacidade nas bordas para eliminar qualquer
   corte visual e criar um fade suave e esfumado */
.section-bridge {
    padding: 52px 0 44px;
    /* Gradiente central com fade total nas extremidades */
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(230, 230, 230, 0.22) 18%,
        rgba(235, 235, 235, 0.38) 42%,
        rgba(230, 230, 230, 0.28) 72%,
        transparent 100%
    );
    /* Máscara de opacidade: apaga completamente topo e base */
    -webkit-mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0,0,0,0.6) 18%,
        rgba(0,0,0,1) 38%,
        rgba(0,0,0,1) 62%,
        rgba(0,0,0,0.5) 82%,
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0,0,0,0.6) 18%,
        rgba(0,0,0,1) 38%,
        rgba(0,0,0,1) 62%,
        rgba(0,0,0,0.5) 82%,
        transparent 100%
    );
    text-align: center;
    position: relative;
    /* Blur leve para suavizar ainda mais as bordas */
    filter: blur(0.4px);
}

/* O texto dentro precisa contornar o blur da section-bridge */
.section-bridge-text {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    letter-spacing: -0.01em;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #0A2540 0%, #2563FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(0px) drop-shadow(0 2px 8px rgba(37,99,255,0.10));
}


.course-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    outline: none;
}

.course-banner {
    background: linear-gradient(135deg, #060f26 0%, #0b1d4a 55%, #0e2660 100%);
    border-radius: 20px;
    padding: 48px 0 36px 56px;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center;
    color: white;
    box-shadow: 0 20px 56px rgba(0, 20, 80, 0.38), 0 0 0 1px rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    min-height: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle blue radial on right */
.course-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 55%, rgba(200, 200, 200, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 90%, rgba(200, 200, 200, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

/* Canvas de textura tecnológica */
.cb-tech-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    border-radius: 20px;
}

.course-banner-link:hover .course-banner {
    transform: translateY(-3px);
    box-shadow: 0 28px 72px rgba(0, 20, 80, 0.48), 0 0 0 1px rgba(255,255,255,0.10);
}

/* Left text */
.course-banner-content {
    position: relative;
    z-index: 2;
    max-width: 460px;
}

.course-banner-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(60, 110, 255, 0.22);
    border: 1px solid rgba(80, 130, 255, 0.40);
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 18px;
}

.course-banner-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.course-banner-subtitle {
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    line-height: 1.2;
}

.course-banner-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 28px;
}

.btn-course-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-heading);
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.course-banner-link:hover .btn-course-cta {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}


/* ════════════════════════════════════════════
   CARROSSEL PREMIUM cb-* (aparelhos 1, 2, 14)
   ════════════════════════════════════════════ */
.cb-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 420px;
    padding-bottom: 8px;
    position: relative;
    z-index: 2;
}

/* Área 3D dos aparelhos */
.cb-stage {
    position: relative;
    width: 100%;
    flex: 1;
    perspective: 1000px;
    overflow: visible;      /* itens podem sair levemente – banner clippa */
}

/* Glow azul-ciano por trás do aparelho em destaque */
.cb-glow {
    position: absolute;
    width: 340px;
    height: 300px;
    background: radial-gradient(
        ellipse,
        rgba(220, 220, 220, 0.55) 0%,
        rgba(200, 200, 200, 0.35) 30%,
        rgba(180, 180, 180, 0.12) 60%,
        transparent 75%
    );
    border-radius: 50%;
    filter: blur(28px);
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

/* Slide base */
.cb-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 390px;
    height: 390px;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    transition:
        transform 0.75s cubic-bezier(0.30, 0.55, 0.20, 1.00),
        opacity   0.75s ease,
        filter    0.75s ease;
    will-change: transform, opacity, filter;
    z-index: 1;
}

.cb-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ── Slots via CSS classe (z-index muda instantaneamente) ── */

/* FRENTE: grande, nítido, brilhante */
.cb-slide.slot-front {
    transform: translate(-50%, -50%) scale(1.00);
    opacity: 1;
    filter: blur(0px) brightness(1.05);
    z-index: 10;
}

/* DIREITA (próximo): recuado, menor, desfocado */
.cb-slide.slot-right {
    transform: translate(calc(-50% + 145px), calc(-50% + 30px)) scale(0.46);
    opacity: 0.35;
    filter: blur(5px) brightness(0.55);
    z-index: 5;
}

/* ESQUERDA (anterior): recuado, menor, desfocado */
.cb-slide.slot-left {
    transform: translate(calc(-50% - 145px), calc(-50% + 30px)) scale(0.46);
    opacity: 0.35;
    filter: blur(5px) brightness(0.55);
    z-index: 5;
}

/* Plataforma / base premium — mais espaçada abaixo da imagem */
.cb-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    padding: 16px 0 18px;
    position: relative;
    margin-top: 8px;
}

/* Linha brilhante superior */
.cb-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(130,160,255,0.55), rgba(160,110,255,0.55), transparent);
}

/* Botões seta */
.cb-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(110,145,255,0.35);
    background: rgba(60,100,255,0.10);
    color: rgba(180,205,255,0.90);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.20s ease, border-color 0.20s ease, transform 0.15s ease;
    flex-shrink: 0;
    outline: none;
}

.cb-btn:hover {
    background: rgba(80,120,255,0.26);
    border-color: rgba(130,165,255,0.65);
    transform: scale(1.10);
}

.cb-btn:active {
    transform: scale(0.93);
}

/* Ponto indicador central */
.cb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    box-shadow: 0 0 10px rgba(130,140,255,0.65);
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .course-banner {
        grid-template-columns: 1fr;
        padding: 48px 40px 0;
        text-align: center;
        min-height: auto;
    }
    .course-banner-content { max-width: 100%; }
    .cb-wrap { min-height: 240px; }
    .cb-slide { width: 200px; height: 200px; }
    .cb-slide.slot-right { transform: translate(calc(-50% + 80px), calc(-50% + 18px)) scale(0.50); }
    .cb-slide.slot-left  { transform: translate(calc(-50% - 80px), calc(-50% + 18px)) scale(0.50); }
    .cb-glow { width: 180px; height: 180px; }
}

@media (max-width: 768px) {
    .course-banner { padding: 48px 24px 0; border-radius: 16px; }
    .course-banner-title    { font-size: 24px; }
    .course-banner-subtitle { font-size: 20px; }
    .course-banner-desc     { font-size: 14px; }
    .cb-wrap { min-height: 380px; margin-top: 24px; }
    .cb-slide { width: 280px; height: 280px; }
    .cb-slide.slot-right { transform: translate(calc(-50% + 80px), calc(-50% + 14px)) scale(0.48); }
    .cb-slide.slot-left  { transform: translate(calc(-50% - 80px), calc(-50% + 14px)) scale(0.48); }
    .cb-glow { width: 220px; height: 220px; }
}



/* About Section */

/* About Section */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.about-card-ia {
    text-align: center;
    padding-top: 20px;
}

.lia-profile {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.lia-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid var(--color-primary-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: block;
}

.about-card:hover {
    transform: translateX(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
}

.icon-wrapper {
    width: 96px;
    height: 96px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.service-icon-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .icon-wrapper {
        width: 80px;
        height: 80px;
    }
    .service-icon-img {
        width: 80px;
        height: 80px;
    }
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.about-card p {
    color: var(--color-text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-bg);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.card-image {
    width: 100%;
    height: 180px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.08));
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-primary-dark);
}

.service-card p {
    color: var(--color-text-muted);
}

/* ── Nossa Vitrine ── */
.vitrine-section {
    background: linear-gradient(180deg, #F9FAFF 0%, #FFFFFF 100%);
    position: relative;
    font-family: var(--font-heading), 'Inter', sans-serif;
}

.vitrine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(200, 200, 200, 0.06) 0%, transparent 40%),
                radial-gradient(circle at top left, rgba(200, 200, 200, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.vitrine-section .container {
    position: relative;
    z-index: 2; /* Acima do canvas magnético */
}

.vitrine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
    align-items: stretch;
}

.vitrine-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(232, 236, 245, 0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    position: relative;
    padding: 24px;
}

.vitrine-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), 0 0 0 1px rgba(232, 236, 245, 1);
}

.vitrine-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    cursor: pointer;
}

/* Subtle ground shadow for the appliance inside the card */
.vitrine-card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.vitrine-card:hover .vitrine-card-img-wrap::after {
    transform: scale(0.9);
    opacity: 0.4;
}

.vitrine-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    position: relative;
}

.vitrine-card:hover .vitrine-card-img-wrap img {
    transform: translateY(-4px) scale(1.05);
}

.vitrine-card-img-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #E8ECF5, #F4F7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #9aabb8;
}

.vitrine-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    gap: 12px;
}

.vitrine-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    margin: 0;
}

.vitrine-card-body p {
    font-size: 14px;
    color: #5F6472;
    line-height: 1.5;
    flex: 1;
    margin: 0;
}

/* Saiba mais subtly styled, like reference */
.vitrine-saiba-mais {
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 99px;
    background: #F4F7FF;
    color: #2563FF;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    align-self: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vitrine-saiba-mais::after {
    content: '›';
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.3s ease;
}

.vitrine-saiba-mais:hover {
    background: #FFFFFF;
    border-color: #2563FF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.vitrine-saiba-mais:hover::after {
    transform: translate(3px, -1px);
}

/* ── Pagination ── */
.vitrine-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 56px;
}

.v-page-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E8ECF5;
    color: #5F6472;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.02);
}

.v-page-btn:hover:not(:disabled) {
    border-color: #2563FF;
    color: #2563FF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.v-page-btn.active {
    background: linear-gradient(135deg, #2563FF 0%, #7C2DFF 100%);
    color: #FFFFFF;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.v-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F9FAFF;
}

/* ── Faixa Inferior de Benefícios ── */
.vitrine-benefits-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 32px 48px;
    margin-top: 80px;
    box-shadow: 0 8px 32px rgba(17, 24, 39, 0.03), 0 0 0 1px rgba(232, 236, 245, 0.8);
}

.v-benefit {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    max-width: 240px;
}

.v-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F4F7FF;
    color: #7C2DFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-benefit-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.v-benefit-text p {
    font-size: 13px;
    color: #5F6472;
    line-height: 1.5;
    margin: 0;
}

.v-benefit-divider {
    width: 1px;
    height: 60px;
    background: #E8ECF5;
    margin: 0 24px;
}

/* ── Modal ── */
.vitrine-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vitrine-modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.vitrine-modal {
    background: #FFFFFF;
    border-radius: 28px;
    max-width: 1134px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    position: relative;
    box-shadow: 0 24px 64px rgba(17, 24, 39, 0.15), 0 0 0 1px rgba(255,255,255,0.1);
    transform: translateY(24px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vitrine-modal-overlay.is-open .vitrine-modal {
    transform: translateY(0) scale(1);
}

.vitrine-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F4F7FF;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #5F6472;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.vitrine-modal-close:hover {
    background: #E8ECF5;
    color: #111827;
}

.vitrine-modal-img-wrap {
    flex: 0 0 513px;
    background: linear-gradient(135deg, #F9FAFF, #FFFFFF);
    border-right: 1px solid #E8ECF5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    min-height: 540px;
    position: relative;
}

.vitrine-modal-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 12%;
    left: 15%;
    right: 15%;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.vitrine-modal-img {
    max-width: 100%;
    max-height: 513px;
    object-fit: contain;
    z-index: 1;
    position: relative;
}

.vitrine-modal-body {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.vitrine-modal-body h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.vitrine-modal-body p {
    font-size: 16px;
    color: #5F6472;
    line-height: 1.6;
    margin: 0;
}

.vitrine-aviso {
    font-size: 13px !important;
    color: #5F6472 !important;
    background: #F9FAFF;
    border-left: 3px solid #E8ECF5;
    padding: 12px 16px;
    border-radius: 8px;
    line-height: 1.5 !important;
    margin-top: 8px !important;
}

.vitrine-modal-btn {
    align-self: flex-start;
    margin-top: 12px;
    padding: 14px 32px;
    font-size: 15px;
    background: linear-gradient(135deg, #2563FF 0%, #7C2DFF 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: none;
}

.vitrine-modal-btn:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* ── Responsivo Vitrine ── */
@media (max-width: 1024px) {
    .vitrine-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .vitrine-benefits-banner { flex-wrap: wrap; padding: 24px; gap: 24px; }
    .v-benefit { max-width: calc(50% - 12px); }
    .v-benefit-divider { display: none; }
    .vitrine-modal { flex-direction: column; max-width: 600px; }
    .vitrine-modal-img-wrap { flex: 0 0 280px; min-height: auto; border-right: none; border-bottom: 1px solid #E8ECF5; }
    .vitrine-modal-img { max-height: 240px; }
    .vitrine-modal-body { padding: 32px; }
}

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

@media (max-width: 580px) {
    .vitrine-grid { grid-template-columns: 1fr; }
    .v-benefit { max-width: 100%; width: 100%; }
    .vitrine-benefits-banner { flex-direction: column; gap: 20px; }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #000;
    box-shadow: var(--shadow-sm);
}

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

.stars {
    color: #FFB800;
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 12px;
    color: #888;
}

/* Quality */
.quality-section {
    background: linear-gradient(135deg, #0A2540 0%, #17508D 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.quality-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(200, 200, 200, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.quality-container {
    position: relative;
    z-index: 2; /* Acima do canvas magnético */
}

.quality-container h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 24px;
}

.quality-desc {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 48px;
    opacity: 0.9;
}

.quality-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.q-feature {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.q-feature h4 {
    color: white;
    font-size: 22px;
    margin-bottom: 12px;
}

.q-feature p {
    opacity: 0.9;
}

/* Shipping */
.shipping-content {
    max-width: 700px;
    margin: 0 auto;
}

.shipping-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.shipping-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Final CTA */
.final-cta-section {
    background: var(--color-bg);
}

.final-cta-section h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.final-cta-section p {
    font-size: 20px;
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    background: white;
    border-top: 1px solid var(--color-border);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 24px;
}

.company-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.company-cnpj {
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 24px;
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-col a {
    color: var(--color-text-muted);
}

.links-col a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.social-links a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* Media Queries (Responsividade) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image-wrapper {
        display: block;
        margin-top: 40px;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .digital-banner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    .digital-banner-content {
        max-width: 100%;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 64px 0;
    }
    .header-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 40px;
    }
    .main-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    .nav-list a {
        font-size: 20px;
        display: block;
        padding: 16px;
    }
    .header-cta {
        display: block;
        margin-top: 32px;
        width: 100%;
        text-align: center;
    }
    .header-cta .btn {
        width: 100%;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero-content h1 {
        font-size: 28px;
        line-height: 1.25;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .about-card {
        text-align: center;
    }
    .icon-wrapper {
        margin-left: auto;
        margin-right: auto;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .shipping-buttons {
        flex-direction: column;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .social-links {
        justify-content: center;
    }
}

/* Vitrine mobile */
@media (max-width: 768px) {
    .vitrine-grid { 
        display: flex; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 16px; 
        padding-bottom: 20px; 
        margin-left: -24px; 
        margin-right: -24px; 
        padding-left: 24px; 
        padding-right: 24px; 
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; 
    }
    .vitrine-grid::-webkit-scrollbar { 
        display: none; 
    }
    .vitrine-card { 
        flex: 0 0 85%; 
        scroll-snap-align: center; 
        scroll-snap-stop: always;
    }
    .vitrine-modal { flex-direction: column; max-width: 100%; max-height: 95vh; }
    .vitrine-modal-img-wrap { flex: none; border-radius: 20px 20px 0 0; min-height: 200px; padding: 20px; }
    .vitrine-modal-img { max-height: 180px; }
    .vitrine-modal-body { padding: 20px; gap: 12px; }
    .vitrine-modal-body h3 { font-size: 18px; }
    .vitrine-modal-btn { width: 100%; text-align: center; }
}

/* Vitrine tablet */
@media (min-width: 769px) and (max-width: 1280px) {
    .vitrine-grid { grid-template-columns: repeat(2, 1fr); }
    .vitrine-modal { flex-direction: column; max-width: 520px; }
    .vitrine-modal-img-wrap { flex: none; border-radius: 20px 20px 0 0; min-height: 240px; padding: 24px; }
    .vitrine-modal-body { padding: 28px; }
}

/* Vitrine desktop */
@media (min-width: 1281px) {
    .vitrine-grid { grid-template-columns: repeat(4, 1fr); }
}
