/* ==========================================================================
   AG CODE - TECH BOUTIQUE DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
    /* Color Palette derived from AG Code Brand & Reference Mockup */
    --bg-warm: #F7F5F0;
    --bg-warm-light: #FAF8F3;
    --bg-card: #FFFFFF;
    --bg-card-subtle: #FAF7F0;
    
    --text-primary: #1C1B18;
    --text-secondary: #58544B;
    --text-muted: #8C867A;
    
    /* Turquoise Accent (Pulse & Buttons) */
    --teal-primary: #38E4CF;
    --teal-hover: #26D1BD;
    --teal-dark: #128C7E;
    --teal-glow: rgba(56, 228, 207, 0.45);
    --teal-glow-bright: rgba(56, 228, 207, 0.85);
    
    /* Gold / Bronze Accent (Circuits & Constellation nodes) */
    --gold-primary: #C8A261;
    --gold-light: #E5C790;
    --gold-dark: #8C6D3B;
    --brown-accent: #4A3E31;
    
    /* Borders & Shadows */
    --border-subtle: #E8E3D8;
    --border-glass: rgba(232, 227, 216, 0.6);
    --shadow-soft: 0 10px 30px rgba(28, 27, 24, 0.05);
    --shadow-laptop: 0 25px 60px -15px rgba(28, 27, 24, 0.18);
    --shadow-glow-teal: 0 0 25px rgba(56, 228, 207, 0.6);

    /* Fonts */
    --font-heading: 'Lexend', 'Outfit', 'Cinzel', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-warm);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* SVG Woven Geometric Background Pattern */
.bg-pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 45vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    opacity: 0.22;
    background-image: radial-gradient(var(--gold-primary) 0.75px, transparent 0.75px), radial-gradient(var(--teal-primary) 0.75px, var(--bg-warm) 0.75px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-center { text-align: center; }
.text-highlight {
    color: #351D0F;
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--teal-primary) 0%, var(--gold-primary) 50%, var(--teal-primary) 100%);
    background-size: 220% 100%;
    filter: blur(3px);
    border-radius: 4px;
    z-index: -1;
    animation: lightSweepGlow 3.2s ease-in-out infinite;
}

@keyframes lightSweepGlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.3;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.6;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.3;
    }
}

/* ==========================================================================
   TURQUOISE PULSE BUTTON & GLOW EFFECTS
   ========================================================================== */

.btn-turquoise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #44EAD5 0%, #2CD2BE 100%);
    color: #0B2925;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 18px var(--teal-glow);
}

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

/* Glow & Pulse Animation */
.btn-pulse {
    animation: turquoisePulse 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes turquoisePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 228, 207, 0.7), 0 4px 18px var(--teal-glow);
    }
    50% {
        box-shadow: 0 0 0 16px rgba(56, 228, 207, 0), 0 6px 28px rgba(56, 228, 207, 0.8);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(56, 228, 207, 0), 0 4px 18px var(--teal-glow);
    }
}

.btn-turquoise:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, #50F2DC 0%, #30DEC9 100%);
    box-shadow: 0 8px 30px rgba(56, 228, 207, 0.9);
    color: #051A18;
}

.btn-turquoise:active {
    transform: translateY(0) scale(0.99);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #FFFFFF;
}

/* ==========================================================================
   HEADER NAVIGATION (Logo Left, Links Center, Button Right)
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: rgba(246, 243, 236, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: 76px;
    box-shadow: var(--shadow-soft);
    background: rgba(246, 243, 236, 0.96);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

/* Left Logo */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.nav-logo:hover {
    transform: scale(1.03);
}

.logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.06));
}

/* Center Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--teal-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #000000;
    font-weight: 600;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

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

.hero-section {
    padding-top: 150px;
    padding-bottom: 90px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 162, 97, 0.12);
    border: 1px solid rgba(200, 162, 97, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--teal-primary);
    animation: blink 1.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.badge-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--gold-dark);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #351D0F;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    margin-bottom: 48px;
}

/* Constellation Node Attached to Hero Button */
.btn-constellation-node {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: -5px;
}

.node-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-primary), var(--gold-primary));
}

.node-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-left: 6px;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.node-dot-teal { background: var(--teal-primary); }
.node-dot-gold { background: var(--gold-primary); }
.node-dot-brown { background: var(--brown-accent); }

/* Hero Benefits Section */
.hero-benefits-section {
    background: var(--bg-warm);
    padding-top: 0;
    padding-bottom: 80px;
    position: relative;
}

/* Hero Benefits Grid - Card Layout */
.hero-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.benefit-card:hover {
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
}

.benefit-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    justify-content: space-between;
}

.benefit-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brown-accent);
    line-height: 1;
}

.benefit-percent {
    font-size: 1.2rem;
    color: var(--brown-accent);
    font-weight: 700;
}

.benefit-card i {
    font-size: 1.4rem;
    color: var(--teal-dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 228, 207, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover i {
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
    transform: scale(1.06);
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.benefit-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   HERO VISUAL & CONSTELLATION ORBIT CANVAS
   ========================================================================== */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

/* Canvas positioned over/around the laptop */
.constellation-canvas {
    position: absolute;
    top: -60px;
    left: -80px;
    width: calc(100% + 160px);
    height: calc(100% + 120px);
    pointer-events: none;
    z-index: 1;
}

/* Laptop Container */
.laptop-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.16));
    transition: transform 0.4s ease;
}

.laptop-container:hover {
    transform: translateY(-4px);
}

.laptop-body {
    background: linear-gradient(180deg, #2B2A29 0%, #151413 100%);
    padding: 14px 14px 10px 14px;
    border-radius: 20px 20px 4px 4px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 10px 25px rgba(0,0,0,0.3);
}

.laptop-screen {
    background: #FAF7F0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1920 / 889;
    border: 1px solid #3A3835;
}

.dashboard-screenshot {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.camera-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 12px;
    background: #151413;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-notch::after {
    content: '';
    width: 5px;
    height: 5px;
    background: #000000;
    border-radius: 50%;
    box-shadow: inset 0 0 2px #32E0C4;
}

/* Laptop Aluminum Base */
.laptop-base {
    height: 18px;
    background: linear-gradient(180deg, #E2DDD5 0%, #C9C4BB 100%);
    border-radius: 0 0 22px 22px;
    position: relative;
    margin-top: -1px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.laptop-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #A8A39A;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* ==========================================================================
   CONCEPT SECTION
   ========================================================================== */

.section-concept {
    padding: 90px 0;
    background: #FAF7F0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gold-dark);
    display: block;
    margin-bottom: 10px;
}

.section-subtitle.light {
    color: var(--teal-primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #351D0F;
    margin-bottom: 16px;
}

.section-desc {
    max-width: 680px;
    margin: 0 auto 48px auto;
    font-size: 1.08rem;
    color: var(--text-secondary);
}

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

.concept-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 36px 28px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
    border-color: var(--teal-primary);
}

.concept-icon {
    width: 56px;
    height: 56px;
    background: rgba(56, 228, 207, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--teal-dark);
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.concept-card:hover .concept-icon {
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
    transform: scale(1.08);
}

.concept-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.concept-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   FOUNDER / BRAND STORY SECTION
   ========================================================================== */

.section-founder {
    padding: 90px 0;
}

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

.founder-visual {
    position: relative;
    width: 340px;
    height: 340px;
    margin: 0 auto;
}

.founder-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    animation: blink 1.8s infinite;
}

.founder-dot-teal {
    top: 6px;
    left: 24px;
    width: 9px;
    height: 9px;
    background: var(--teal-primary);
    box-shadow: 0 0 6px rgba(56, 228, 207, 0.6);
}

.founder-dot-gold {
    bottom: 18px;
    right: 10px;
    width: 7px;
    height: 7px;
    background: var(--gold-primary);
    box-shadow: 0 0 6px rgba(200, 162, 97, 0.5);
}

.founder-accent-line {
    position: absolute;
    top: 40px;
    right: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-primary), var(--gold-primary));
    opacity: 0.5;
    z-index: 1;
}

.founder-photo-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

.founder-content p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.founder-content p:last-child {
    margin-bottom: 0;
}

.founder-visual-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-caption {
    text-align: center;
    margin-top: 22px;
}

.founder-caption-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: #351D0F;
    margin: 0;
}

.founder-caption span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-dark);
    margin-top: 3px;
    letter-spacing: 0.3px;
}

.founder-stats-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 0;
    margin: 28px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.founder-quote {
    font-style: italic;
    border-left: 3px solid var(--teal-primary);
    padding: 4px 0 4px 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 28px 0;
}

.founder-quote footer {
    margin-top: 10px;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 0.3px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.section-services {
    padding: 100px 0;
    background: #FAF7F0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.services-header {
    max-width: 760px;
    margin: 0 auto 64px auto;
}

.services-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 56px;
}

.services-layer {
    width: 100%;
    max-width: 820px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 30px 32px;
    box-shadow: var(--shadow-soft);
}

.services-layer-label {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.3px;
    color: #9D5C22;
    margin-bottom: 20px;
}

.start-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

/* Fluxo contínuo: cascata de entrada ao rolar a página */
.start-flow > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.start-flow.is-visible > *:nth-child(1) { transition-delay: 0s; }
.start-flow.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.start-flow.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.start-flow.is-visible > *:nth-child(4) { transition-delay: 0.45s; }

.start-flow.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.start-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.start-flow-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--bg-warm);
    border: 1.5px dashed #C9BFA8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-dark);
}

.start-flow-arrow {
    font-size: 1.4rem;
    color: var(--teal-primary);
    padding: 0 4px;
}

/* Loop sutil sugerindo o fluxo de dados indo pra direita */
.start-flow-arrow i {
    display: inline-block;
    animation: arrowFlow 1.8s ease-in-out infinite;
}

@keyframes arrowFlow {
    0%, 100% { transform: translateX(0); opacity: 0.55; }
    50% { transform: translateX(6px); opacity: 1; }
}

.start-flow-result {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--teal-dark);
}

.start-flow-icon-result {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(56, 228, 207, 0.14);
    border: 2px solid var(--teal-primary);
    font-size: 1.9rem;
    color: var(--teal-dark);
    box-shadow: 0 8px 20px rgba(56, 228, 207, 0.25);
    /* Glow pulsante contínuo — só o resultado "vive", reforçando o contraste com os ícones estáticos */
    animation: turquoisePulse 2.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .start-flow > * {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .start-flow-arrow i,
    .start-flow-icon-result {
        animation: none;
    }
}

.start-flow-caption {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 20px auto 0 auto;
    max-width: 520px;
}

.services-connector {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-primary);
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(28, 27, 24, 0.06);
    margin: 26px 0;
}

.services-layer-core {
    max-width: 880px;
    border: 2px solid var(--teal-primary);
    border-radius: 24px;
    padding: 38px 40px;
    box-shadow: 0 20px 45px rgba(56, 228, 207, 0.16);
    transition: all 0.3s ease;
}

.services-layer-core:hover {
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
}

.services-layer-core-heading {
    text-align: center;
    margin-bottom: 22px;
}

.services-layer-core-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #351D0F;
    letter-spacing: 0.5px;
}

.services-layer-core-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    color: #9D5C22;
    margin-top: 4px;
}

.services-chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.services-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 228, 207, 0.12);
    border: 1px solid rgba(56, 228, 207, 0.4);
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--teal-dark);
}

.services-layer-outcome {
    text-align: center;
}

.services-layer-outcome h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #351D0F;
    margin: 0 0 6px;
}

.services-layer-outcome p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.services-reassurance {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px auto;
    font-size: 1.02rem;
    font-weight: 600;
    color: #351D0F;
    line-height: 1.6;
}

.services-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.service-benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.service-benefit-card:hover {
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
}

.service-benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #351D0F;
}

.service-benefit-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Ícones dos benefícios: redondos (isso também é AG Code), glow só ao passar o mouse */
.service-benefit-card .concept-icon {
    border-radius: 50%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-benefit-card:hover .concept-icon {
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .service-benefit-card .concept-icon,
    .service-benefit-card:hover .concept-icon {
        transition: none;
        transform: none;
    }
}


/* Showcase Box */
.tech-card-showcase {
    background: linear-gradient(135deg, #2B170C 0%, #1D0F07 100%);
    color: #FFFFFF;
    padding: 48px 36px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.showcase-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--teal-primary);
    filter: blur(80px);
    opacity: 0.35;
}

.showcase-watermark {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 180px;
    opacity: 0.08;
    pointer-events: none;
}

.tech-card-showcase h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.tech-card-showcase p {
    color: #D4CF0;
    font-size: 0.98rem;
    margin-bottom: 28px;
    opacity: 0.85;
}

/* ==========================================================================
   POSITIONING: NOT THIS / THIS
   ========================================================================== */

.section-distinction {
    padding: 90px 0;
}

.distinction-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.distinction-col {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: var(--shadow-soft);
}

.distinction-col h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.distinction-no h3 {
    color: #A34B3C;
}

.distinction-yes h3 {
    color: var(--teal-dark);
}

.distinction-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.distinction-col li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.distinction-no li i {
    color: #A34B3C;
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.distinction-yes li i {
    color: var(--teal-dark);
    margin-top: 4px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.distinction-payoff {
    text-align: center;
    margin-top: 40px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-heading);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   BEFORE / AFTER COMPARISON
   ========================================================================== */

.section-comparison {
    padding: 90px 0;
    background: var(--bg-warm);
}

.comparison-header {
    text-align: center;
    margin-bottom: 60px;
}

.comparison-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #351D0F;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.comparison-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 6px;
    background: var(--teal-primary);
    border-radius: 3px;
}

.comparison-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 28px auto 0;
    line-height: 1.6;
}

.comparison-pills {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pill-before {
    background: rgba(163, 75, 60, 0.1);
    color: #A34B3C;
    border: 2px solid #A34B3C;
    box-shadow: 0 0 0 0px rgba(163, 75, 60, 0.3);
}

.pill-before i {
    color: #A34B3C;
}

.pill-before:hover {
    box-shadow: 0 0 0 4px rgba(163, 75, 60, 0.3), 0 0 16px rgba(163, 75, 60, 0.4);
    transform: scale(1.05);
}

.pill-after {
    background: rgba(56, 228, 207, 0.1);
    color: var(--teal-dark);
    border: 2px solid var(--teal-primary);
    box-shadow: 0 0 0 0px rgba(56, 228, 207, 0.3);
}

.pill-after i {
    color: var(--teal-dark);
}

.pill-after:hover {
    box-shadow: 0 0 0 4px rgba(56, 228, 207, 0.3), 0 0 16px rgba(56, 228, 207, 0.4);
    transform: scale(1.05);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.comparison-before-card, .comparison-after-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.comparison-before-card {
    background: rgba(163, 75, 60, 0.06);
}

.comparison-after-card {
    background: rgba(56, 228, 207, 0.06);
}

.comparison-item:hover .comparison-after-card .comparison-icon.after {
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
    transform: scale(1.08);
}

.comparison-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    margin: 0 auto 14px;
}

.comparison-icon.before {
    background: rgba(163, 75, 60, 0.15);
    color: #A34B3C;
}

.comparison-icon.after {
    background: rgba(56, 228, 207, 0.15);
    color: var(--teal-dark);
}

.comparison-before-card h3, .comparison-after-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #351D0F;
    margin: 0 0 8px;
}

.comparison-before-card p, .comparison-after-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.comparison-arrow {
    color: var(--gold-primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-cta-card {
    background: linear-gradient(135deg, #351D0F 0%, #2A2210 100%);
    color: #FFFFFF;
    padding: 56px 48px;
    border-radius: 24px;
    text-align: center;
}

.comparison-cta-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    color: #9D5C22;
    margin-bottom: 16px;
}

.comparison-cta-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
}

.comparison-cta-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ==========================================================================
   WHO IT'S FOR
   ========================================================================== */

.section-fit {
    padding: 90px 0;
    border-top: 1px solid var(--border-subtle);
}

.fit-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.fit-header {
    text-align: left;
}

.fit-header .section-subtitle {
    color: var(--gold-primary);
}

.fit-header .section-title {
    font-size: 2.2rem;
    text-align: left;
}

.fit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.fit-card:hover {
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 6px rgba(56, 228, 207, 0.16), 0 0 22px rgba(56, 228, 207, 0.55);
}

.fit-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.fit-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.fit-cta-card {
    background: linear-gradient(135deg, #351D0F 0%, #2A2210 100%);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.fit-cta-card p {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.fit-cta-card .btn-turquoise {
    flex-shrink: 0;
}

/* ==========================================================================
   CASE STUDY SECTION (CRF Perícias)
   ========================================================================== */

.section-case {
    padding: 80px 0;
    background: #FAF7F0;
    border-top: 1px solid var(--border-subtle);
}

.case-card-wrapper {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.case-badge {
    position: absolute;
    top: -14px;
    left: 48px;
    background: var(--gold-primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
}

.case-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.case-info h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: #351D0F;
    margin-bottom: 8px;
}

.case-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.case-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.metric-box {
    background: var(--bg-warm);
    padding: 16px 20px;
    border-radius: 12px;
    flex: 1;
}

.metric-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--teal-dark);
}

.metric-lbl {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.case-quote {
    font-style: italic;
    border-left: 3px solid var(--teal-primary);
    padding-left: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.case-screen-mock {
    background: #1C1B18;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.mock-title {
    font-size: 0.68rem;
    color: #8C867A;
    margin-left: 8px;
}

.mock-content {
    background: #252420;
    height: 140px;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.mock-stat {
    color: var(--teal-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.mock-chart-line {
    height: 8px;
    background: linear-gradient(90deg, var(--teal-primary), var(--gold-primary));
    border-radius: 4px;
    width: 85%;
}

.mock-chart-line.short { width: 55%; opacity: 0.7; }

/* ==========================================================================
   CONTACT CTA SECTION
   ========================================================================== */

.section-cta {
    padding: 90px 0;
}

.cta-box {
    background: linear-gradient(135deg, #2B170C 0%, #1D0F07 100%);
    border-radius: 32px;
    padding: 64px 48px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: #D4CF0;
    max-width: 600px;
    margin: 0 auto 36px auto;
    opacity: 0.88;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

.footer {
    background: #2B170C;
    color: #A8A39A;
    padding-top: 70px;
    border-top: 1px solid #2B2A28;
    padding-bottom: 24px;
    border-top: 1px solid #2B2A28;
}

/* Footer Top Wrapper */
.footer-top-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: center;
}

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

.footer-left p {
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.65);
}

/* Footer Center Navigation */
.footer-center {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.footer-center a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.footer-center a:hover {
    color: var(--teal-primary);
}

/* Footer Right CTA */
.footer-right {
    text-align: center;
}

.footer-right h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.3;
}

.footer-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.footer-actions .btn-turquoise,
.footer-actions .btn-outline-light {
    font-size: 0.75rem;
    padding: 8px 14px;
    border-radius: 16px;
    white-space: nowrap;
}

/* Footer Solutions: 3 Cards Grid */
.footer-solutions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.solution-card {
    background: rgba(56, 228, 207, 0.06);
    border: 1px solid rgba(56, 228, 207, 0.15);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--teal-primary);
    background: rgba(56, 228, 207, 0.12);
}

.solution-icon {
    width: 36px;
    height: 36px;
    background: rgba(56, 228, 207, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--teal-primary);
    margin: 0 auto 8px;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.05);
}

.solution-card h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 6px;
    line-height: 1.2;
}

.solution-card p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    margin: 0;
}

/* Footer Middle: Navigation */
.footer-middle {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 80px;
    margin-bottom: 14px;
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    color: #A8A39A;
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: color 0.25s ease;
}

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

.footer-col p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #252422;
    padding-top: 24px;
    font-size: 0.82rem;
}

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

.social-links a {
    color: #A8A39A;
    font-size: 1.1rem;
    transition: color 0.25s ease;
}

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

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 36px auto;
    }
    
    .hero-cta-wrapper {
        justify-content: center;
    }

    .services-benefits, .case-grid {
        grid-template-columns: 1fr;
    }
    
    .concept-grid {
        grid-template-columns: 1fr;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-visual {
        margin: 0 auto 40px auto;
    }

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

    .comparison-row {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .comparison-arrow {
        display: none;
    }

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

    .fit-header .section-title {
        font-size: 1.6rem;
    }

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

    .fit-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .fit-cta-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .footer-top-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }

    .footer-right h3 {
        font-size: 0.8rem;
    }

    .footer-actions {
        flex-wrap: wrap;
    }

    .footer-solutions {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 32px;
    }

    .solution-card {
        padding: 12px 8px;
    }

    .solution-card h4 {
        font-size: 0.7rem;
    }

    .solution-card p {
        font-size: 0.65rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }

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

    .hero-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

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

    .comparison-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .comparison-title {
        font-size: 1.6rem;
    }

    .comparison-cta-card {
        padding: 40px 24px;
    }

    .comparison-cta-card h3 {
        font-size: 1.4rem;
    }
}
