/* ============================================
   TALQOVER - Implementation Process Page
   Brand Identity Refresh
   ============================================ */

:root {
    /* ===== CORES DA MARCA TALQOVER ===== */

    /* Tons de Branco */
    --white-soft: #f5f5f5;
    --white-pure: #ffffff;
    --white-cool: #fbffff;

    /* Tons de Azul (claro → escuro) */
    --blue-100: #8c9fff;
    --blue-200: #7e97cf;
    --blue-300: #357cda;
    --blue-400: #155dfc;
    --blue-500: #0038b3;
    --blue-600: #192f5d;
    --blue-700: #111827;

    /* Preto */
    --black: #080707;

    /* ===== CORES SEMÂNTICAS ===== */
    --background: var(--white-pure);
    --background-alt: var(--white-soft);
    --background-cool: var(--white-cool);
    --foreground: var(--black);
    --foreground-muted: #4b5563;
    --foreground-subtle: #6b7280;

    --primary: var(--blue-400);
    --primary-hover: var(--blue-500);
    --primary-light: var(--blue-100);
    --primary-dark: var(--blue-600);

    --accent: var(--blue-300);
    --border: #e5e7eb;
    --border-light: #f0f0f0;

    /* ===== TIPOGRAFIA ===== */
    --font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* ===== ESPAÇAMENTO & LAYOUT ===== */
    --container-max: 1140px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* ===== SOMBRAS ===== */
    --shadow-sm: 0 1px 2px rgba(8, 7, 7, 0.04);
    --shadow-md: 0 4px 12px rgba(8, 7, 7, 0.06);
    --shadow-lg: 0 8px 30px rgba(8, 7, 7, 0.08);
    --shadow-xl: 0 20px 50px rgba(8, 7, 7, 0.12);
    --shadow-glow: 0 0 40px rgba(21, 93, 252, 0.15);

    /* ===== TRANSIÇÕES ===== */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family);
    color: var(--foreground);
    line-height: 1.2;
    font-weight: 700;
}

p {
    color: var(--foreground-muted);
}

strong {
    font-weight: 600;
    color: var(--foreground);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    padding: 6rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--white-cool) 0%, var(--white-pure) 100%);
    overflow: hidden;
}

/* Decorative gradient orb */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(21, 93, 252, 0.08) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--black) 0%, var(--blue-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--foreground-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero .description {
    font-size: 1.0625rem;
    color: var(--foreground-subtle);
    max-width: 720px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--white-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: left;
    position: relative;
}

.hero .description::before {
    content: '💡';
    position: absolute;
    top: -14px;
    left: 24px;
    font-size: 1.5rem;
    background: var(--white-pure);
    padding: 0 8px;
}

/* ============================================
   PROCESS FLOW SECTION
   ============================================ */

.process-flow {
    padding: 5rem 0 6rem;
    background: var(--background);
    position: relative;
}

/* Vertical spine line */
.flow-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent 0%,
            var(--blue-100) 5%,
            var(--blue-100) 95%,
            transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
    display: none;
}

@media (min-width: 900px) {
    .flow-spine {
        display: block;
    }
}

.flow-step {
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.flow-step:last-child {
    margin-bottom: 0;
}

/* ===== STEP CARD ===== */

.step-card {
    background: var(--white-pure);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.step-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 800;
    color: var(--blue-100);
    opacity: 0.5;
    line-height: 1;
    letter-spacing: -0.05em;
    user-select: none;
    transition: all var(--transition-base);
}

.step-card:hover .step-number {
    color: var(--blue-300);
    opacity: 0.7;
}

.step-content h2 {
    font-size: 1.625rem;
    margin: 0.75rem 0 0.75rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

.step-content>p {
    font-size: 1.0625rem;
    color: var(--foreground-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

/* ===== BADGES ===== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--transition-fast);
}

.badge-blue {
    background: linear-gradient(135deg, rgba(140, 159, 255, 0.15) 0%, rgba(21, 93, 252, 0.1) 100%);
    color: var(--blue-400);
    border: 1px solid rgba(21, 93, 252, 0.2);
}

.badge-purple {
    background: linear-gradient(135deg, rgba(126, 151, 207, 0.15) 0%, rgba(25, 47, 93, 0.1) 100%);
    color: var(--blue-600);
    border: 1px solid rgba(25, 47, 93, 0.2);
}

.badge-red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.08) 100%);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.badge-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(22, 163, 74, 0.08) 100%);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

/* ===== DETAILS BOX ===== */

.details-box {
    margin-top: 1.5rem;
    padding: 1.75rem;
    background: var(--background-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.details-box h3 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--foreground-subtle);
    margin-bottom: 1rem;
    font-weight: 600;
}

.details-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.625rem;
}

.details-list li {
    font-size: 0.9375rem;
    color: var(--foreground);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.details-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ===== QUOTE BOX ===== */

.quote-box {
    margin-top: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: var(--white-pure);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.quote-box h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quote-box p {
    font-size: 0.9375rem;
    color: var(--foreground-muted);
    margin-bottom: 0.5rem;
    font-style: italic;
    line-height: 1.6;
}

.quote-box p:last-child {
    margin-bottom: 0;
}

/* Warning style override */
.quote-box[style*="border-color: var(--danger)"],
.quote-box[style*="background-color: #fef2f2"] {
    border-left-color: #dc2626 !important;
    background-color: #fef7f7 !important;
}

/* ===== OBJECTIVE BOX ===== */

.objective-box {
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.03) 0%, rgba(140, 159, 255, 0.05) 100%) !important;
    border: 1px solid rgba(21, 93, 252, 0.12) !important;
    border-radius: var(--radius-md) !important;
    padding: 1.25rem 1.5rem !important;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: var(--blue-600);
}

/* ===== FLOW CONNECTOR ===== */

.flow-connector {
    text-align: center;
    font-size: 1.25rem;
    color: var(--blue-200);
    margin: 1.5rem 0;
    opacity: 0.6;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */

.timeline-overview {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--blue-700) 0%, var(--black) 100%);
    color: var(--white-pure);
    position: relative;
    overflow: hidden;
}

/* Decorative grid */
.timeline-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.timeline-overview .container {
    position: relative;
    z-index: 1;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white-pure);
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.timeline-header .subtitle {
    font-size: 1.125rem;
    color: var(--blue-200);
}

.timeline-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.time-block {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
}

.time-block:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(140, 159, 255, 0.3);
    transform: translateY(-4px);
}

.time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.phase-tag {
    font-size: 0.6875rem;
    color: var(--blue-100);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    border: 1px solid rgba(140, 159, 255, 0.3);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
}

.time-block h3 {
    color: var(--white-pure);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.time-duration {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.time-duration .days {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white-pure);
    line-height: 1;
    letter-spacing: -0.04em;
}

.time-duration .label {
    color: var(--blue-200);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.time-block>p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

/* ===== TOTAL DURATION ===== */

.total-duration {
    text-align: center;
    margin-bottom: 3rem;
}

.total-content {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.15) 0%, rgba(140, 159, 255, 0.08) 100%);
    border: 1px solid rgba(21, 93, 252, 0.25);
    border-radius: 50%;
    width: 280px;
    height: 280px;
    box-shadow:
        0 0 60px rgba(21, 93, 252, 0.2),
        inset 0 0 40px rgba(21, 93, 252, 0.05);
}

.total-content h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-200);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.total-days {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white-pure);
    line-height: 1;
    letter-spacing: -0.03em;
}

.total-content>p {
    color: var(--blue-200);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* ===== DISCLAIMER ===== */

.timeline-disclaimer {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.timeline-disclaimer strong {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    padding: 2.5rem 0;
    text-align: center;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 36px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-base);
}

.footer-logo img:hover {
    opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .logo img {
        height: 36px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero .subtitle {
        font-size: 1.0625rem;
    }

    .step-card {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-lg);
    }

    .step-number {
        font-size: 2.5rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    .step-content h2 {
        font-size: 1.375rem;
    }

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

    .timeline-blocks {
        grid-template-columns: 1fr;
    }

    .total-content {
        width: 220px;
        height: 220px;
        padding: 2rem;
    }

    .total-days {
        font-size: 2.75rem;
    }

    .footer-logo img {
        height: 28px;
    }
}

/* ============================================
   UTILITIES & OVERRIDES
   ============================================ */

/* For inline styles in HTML */
.text-muted,
[style*="color: var(--text-muted)"] {
    color: var(--foreground-muted) !important;
}

/* Success/Danger colors referenced in HTML */
:root {
    --success: #16a34a;
    --danger: #dc2626;
    --bg-surface-alt: var(--background-alt);
    --text-muted: var(--foreground-muted);
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--white-pure);
}