/* ============================================================
   SGBS - Design System Moderno
   ============================================================ */

/* --- Variables --- */
:root {
    --color-primary: #C81636;
    --color-primary-dark: #a01229;
    --color-primary-light: #e8345a;
    --color-secondary: #1a1a2e;
    --color-accent: #ff6b6b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fc;
    --color-bg-dark: #0f0f1a;
    --color-text: #333344;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;
    --color-border: #e5e7eb;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-blue: #3b82f6;
    --color-green: #10b981;
    --color-purple: #8b5cf6;
	--color-orange: #F54927;

    --gradient-primary: linear-gradient(135deg, #C81636 0%, #ff6b6b 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 40%, #3d1a2e 100%);
    --gradient-cta: linear-gradient(135deg, #C81636 0%, #a01229 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 50px -10px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-primary: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 12px 28px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(200, 22, 54, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(200, 22, 54, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.navbar.scrolled .navbar-brand {
    color: var(--color-primary);
}

.brand-icon {
    font-size: 0;
    width: 0;
    height: 0;
    display: none;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

.navbar:not(.scrolled) .brand-text {
    -webkit-text-fill-color: #fff;
}

.navbar.scrolled .brand-text {
    -webkit-text-fill-color: transparent;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link {
    color: var(--color-text);
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-primary);
    background: rgba(200, 22, 54, 0.06);
}

.btn-nav {
    background: var(--gradient-primary);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(200, 22, 54, 0.25);
	text-wrap: none;
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(200, 22, 54, 0.35);
    background: var(--gradient-primary) !important;
    color: #fff !important;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.toggle-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .toggle-line {
    background: var(--color-secondary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ============ BLOOD CELLS (SVG-based) ============ */

.hero-particles .blood-cell {
    position: absolute;
    pointer-events: none;
    line-height: 0;
}

/* --- RBC sizes --- */
.hero-particles .cell-rbc.cell--sm svg { width: 16px; height: 16px; }
.hero-particles .cell-rbc.cell--md svg { width: 22px; height: 22px; }
.hero-particles .cell-rbc.cell--lg svg { width: 30px; height: 30px; }

/* --- Platelet sizes --- */
.hero-particles .cell-platelet.cell--sm svg { width: 8px; height: 8px; }
.hero-particles .cell-platelet.cell--md svg { width: 12px; height: 12px; }
.hero-particles .cell-platelet.cell--lg svg { width: 18px; height: 18px; }

/* --- Leukocyte sizes --- */
.hero-particles .cell-leuco.cell--sm svg { width: 24px; height: 24px; }
.hero-particles .cell-leuco.cell--md svg { width: 32px; height: 32px; }
.hero-particles .cell-leuco.cell--lg svg { width: 42px; height: 42px; }

/* Translucency */
.hero-particles .cell-rbc { opacity: 0.35; filter: drop-shadow(0 0 3px rgba(200, 30, 50, 0.2)); }
.hero-particles .cell-leuco { opacity: 0.3; filter: drop-shadow(0 0 4px rgba(200, 210, 255, 0.15)); }
.hero-particles .cell-platelet { opacity: 0.4; filter: drop-shadow(0 0 2px rgba(200, 50, 70, 0.15)); }

/* ============ ANIMATIONS ============ */

/* Hemácias: subida suave com leve giro */
@keyframes rbc-rise {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.3);
        opacity: 0;
    }
    7% { opacity: 0.9; }
    30% { transform: translateY(65vh) rotate(15deg) scale(0.85); }
    60% { transform: translateY(35vh) rotate(-10deg) scale(1); opacity: 0.85; }
    90% { opacity: 0.4; }
    100% {
        transform: translateY(-12vh) rotate(20deg) scale(0.6);
        opacity: 0;
    }
}

/* Plaquetas: subida rápida com rotação */
@keyframes platelet-rise {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0.3);
        opacity: 0;
    }
    8% { opacity: 0.9; }
    50% { transform: translateY(45vh) rotate(180deg) scale(1); }
    88% { opacity: 0.6; }
    100% {
        transform: translateY(-15vh) rotate(360deg) scale(0.4);
        opacity: 0;
    }
}

/* Leucócitos: subida lenta, majestosa */
@keyframes leuco-rise {
    0% {
        transform: translateY(105vh) scale(0.4);
        opacity: 0;
    }
    5% { opacity: 0.8; }
    30% { transform: translateY(65vh) scale(0.9); }
    60% { transform: translateY(35vh) scale(1); opacity: 0.75; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(-10vh) scale(0.7);
        opacity: 0;
    }
}

/* Sway horizontal */
@keyframes cell-sway {
    0%, 100% { margin-left: 0; }
    25% { margin-left: 14px; }
    75% { margin-left: -14px; }
}

@keyframes leuco-sway {
    0%, 100% { margin-left: 0; }
    20% { margin-left: 22px; }
    50% { margin-left: -10px; }
    80% { margin-left: 14px; }
}

/* Leucócito: pulsação orgânica */
@keyframes leuco-morph {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.04) rotate(2deg); }
    50% { transform: scale(0.97) rotate(-1deg); }
    75% { transform: scale(1.02) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-text {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 .text-gradient {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffb4b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-description strong {
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
}

/* Hero Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-mockup {
    width: 100%;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c940; }

.mockup-url {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.mockup-body {
    display: flex;
    padding: 16px;
    gap: 12px;
    min-height: 380px;
}

.mockup-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 48px;
    flex-shrink: 0;
}

.mockup-nav-item {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.mockup-nav-item.active {
    background: var(--color-primary);
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-card-row {
    display: flex;
    gap: 8px;
}

.mockup-stat-card {
    flex: 1;
    height: 60px;
    border-radius: 8px;
    opacity: 0.6;
}

.mockup-stat-card.red { background: linear-gradient(135deg, #C81636, #ff6b6b); }
.mockup-stat-card.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.mockup-stat-card.green { background: linear-gradient(135deg, #10b981, #34d399); }

.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mockup-row {
    height: 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.mockup-row.header {
    background: rgba(255, 255, 255, 0.1);
    height: 16px;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section {
    padding: 100px 0;
}

/* ============================================================
   DIFERENCIAIS - Cards
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(200, 22, 54, 0.08);
    color: var(--color-primary);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre {
    background: var(--color-bg-alt);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-content .section-label {
    text-align: left;
}

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

.sobre-content p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 32px;
}

.sobre-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.sobre-feature svg {
    color: var(--color-success);
    flex-shrink: 0;
}

/* Sobre Visual */
.sobre-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.info-card-icon.red {
    background: rgba(200, 22, 54, 0.1);
    color: var(--color-primary);
}

.info-card-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-blue);
}

.info-card-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-green);
}

.info-card-icon.purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-purple);
}

.info-card-icon.orange {
    background: rgba(230, 143, 126, 0.1);
    color: var(--color-orange);
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ============================================================
   FUNCIONALIDADES
   ============================================================ */
.func-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.func-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition-base);
}

.func-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.func-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(200, 22, 54, 0.08);
    color: var(--color-primary);
    margin-bottom: 16px;
}

.func-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.func-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

.func-cta {
    text-align: center;
    padding-top: 16px;
}

.func-cta p {
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto 24px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    background: var(--gradient-cta);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta-box h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    position: relative;
    z-index: 1;
}

/* ============================================================
   CONTATO / FORMULÁRIO
   ============================================================ */
.contato {
    background: var(--color-bg-alt);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contato-info .section-label,
.contato-info .section-title {
    text-align: left;
}

.contato-info p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contato-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    flex-shrink: 0;
}

/* Form */
.contato-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.required {
    color: var(--color-primary);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(200, 22, 54, 0.08);
}

.form-group input::placeholder {
    color: var(--color-text-muted);
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

.checkbox-label.consent {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.form-message.success svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #991b1b;
}

.form-message.error svg {
    color: var(--color-error);
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .navbar-brand {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-siappa a {
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition-fast);
}

.footer-siappa a:hover {
    color: var(--color-primary-light);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(200, 22, 54, 0.3);
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(200, 22, 54, 0.45);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sobre-content .section-label,
    .sobre-content .section-title {
        text-align: center;
    }

    .sobre-content p {
        text-align: center;
    }

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

    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contato-info .section-label,
    .contato-info .section-title {
        text-align: center;
    }

    .contato-info p {
        text-align: center;
    }

    .contato-benefits {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100% !important;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
        padding: 32px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-base);
    }

    .navbar-menu.open {
        right: 0;
    }

    .navbar-menu .nav-link {
        color: var(--color-text);
        font-size: 1.05rem;
        padding: 12px 20px;
        width: 100%;
        border-radius: var(--radius-md);
    }

    .navbar-menu .nav-link:hover {
        background: rgba(200, 22, 54, 0.06);
        color: var(--color-primary);
    }

    .navbar-menu .btn-nav {
        color: #fff !important;
    }

    .navbar-toggle.open .toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.open .toggle-line:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.open .toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .navbar-toggle.open .toggle-line {
        background: var(--color-secondary);
    }

    .section {
        padding: 60px 0;
    }

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

    .func-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .sobre-features {
        grid-template-columns: 1fr;
    }

    .contato-form-wrapper {
        padding: 28px 24px;
    }

    .cta-box {
        padding: 40px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* ===================== VIDEO SECTION ===================== */
.video-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--color-bg) 0%, #f8f9fc 100%);
    position: relative;
}

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

.video-section .section-subtitle {
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.video-wrapper {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), #e84393);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    background: #0d0d1a;
}

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

/* Video glow effect */
.video-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border-radius: 28px;
    background: linear-gradient(135deg,
        rgba(200, 22, 54, 0.2),
        rgba(139, 0, 78, 0.15),
        rgba(200, 22, 54, 0.1));
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.4s ease;
    opacity: 0.6;
}

.video-wrapper:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .video-section {
        padding: 64px 0 48px;
    }

    .video-wrapper {
        padding: 3px;
        border-radius: 14px;
    }

    .video-container {
        border-radius: 11px;
    }
}

/* ===================== DETALHAMENTO / ACCORDION ===================== */
.detalhamento {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fc 100%);
}

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

.detalhamento .section-subtitle {
    max-width: 650px;
    margin: 0 auto 56px;
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Two-column accordion layout */
.accordion {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.accordion-item {
    border: 1px solid #e8ecf2;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: all 0.35s ease;
}

.accordion-item:hover {
    border-color: rgba(200, 22, 54, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.accordion-item.active {
    border-color: transparent;
    background: linear-gradient(135deg, #fff5f7, #fef0f3, #fff);
    box-shadow:
        0 4px 24px rgba(200, 22, 54, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.04);
    grid-column: 1 / -1;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(200, 22, 54, 0.02);
}

.accordion-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f0f2f8;
    color: #8892a4;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    transition: all 0.35s ease;
}

.accordion-item.active .accordion-number {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 3px 12px rgba(200, 22, 54, 0.3);
}

.accordion-title {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.accordion-item.active .accordion-title {
    color: var(--color-primary);
    font-size: 1rem;
}

.accordion-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f2f8;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon svg {
    width: 14px;
    height: 14px;
    stroke: #8892a4;
    transition: all 0.35s ease;
}

/* The "+" becomes "−" when active via CSS */
.accordion-item.active .accordion-icon {
    background: var(--color-primary);
    transform: rotate(45deg);
}

.accordion-item.active .accordion-icon svg {
    stroke: #fff;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    padding: 0 20px 0 70px;
    opacity: 0;
}

.accordion-item.active .accordion-body {
    max-height: 100%;
    padding: 0 24px 24px 70px;
    opacity: 1;
}

.accordion-body p {
    color: var(--color-text);
    font-size: 0.93rem;
    line-height: 1.8;
    margin: 0;
}

.accordion-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
}

.accordion-list li {
    position: relative;
    padding-left: 18px;
    color: var(--color-text);
    font-size: 0.88rem;
    line-height: 1.7;
}

.accordion-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* Responsive detalhamento */
@media (max-width: 768px) {
    .detalhamento {
        padding: 64px 0;
    }

    .accordion {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .accordion-item.active {
        grid-column: auto;
    }

    .accordion-header {
        padding: 14px 16px;
        gap: 10px;
    }

    .accordion-number {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
        border-radius: 8px;
    }

    .accordion-title {
        font-size: 0.88rem;
    }

    .accordion-item.active .accordion-title {
        font-size: 0.92rem;
    }

    .accordion-body {
        padding: 0 16px 0 58px;
    }

    .accordion-item.active .accordion-body {
        padding: 0 16px 20px 58px;
    }

    .accordion-list {
        grid-template-columns: 1fr;
    }

    .accordion-icon {
        width: 24px;
        height: 24px;
    }

    .accordion-icon svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .accordion-body {
        padding: 0 16px 0 16px;
    }

    .accordion-item.active .accordion-body {
        padding: 0 16px 16px 16px;
    }
}
