:root {
    --orange: #f26522;
    --dark-blue: #0c2033;
    --light-gray-timeline: #d3d3d3;
    --white: #ffffff;
    --off-white: #f7f9fb;
    --text-dark: #1e1e1e;
    --text-light-gray: #5e5e5e;
    --card-background: #ffffff;
    --font-family-main: 'DM Sans', sans-serif;
    --shadow-card: 0px 20px 50px rgba(45, 53, 61, 0.08);
    --shadow-icon-glow: 0 0 25px rgba(242, 101, 34, 0.3);
    --shadow-icon-glow-hover: 0 0 45px rgba(242, 101, 34, 0.55);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.highlight { color: var(--orange); }

.section-subtitle {
    max-width: 680px;
    margin: 15px auto 60px;
    font-size: 1.125rem;
    color: var(--text-light-gray);
    text-align: center;
    line-height: 1.7;
}

.text-center { text-align: center; }

/* ================== ANIMATION ================== */
@keyframes animated-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ================== HEADER ================== */
.header {
    position: absolute;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    padding: 0 10px; /* o MESMO padding lateral do hero */
}

.header-logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    justify-content: space-between; 
    gap: 4rem;      
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 50px;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    transition: var(--transition-smooth);
    
}

.main-nav a:hover {
    color: var(--orange);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--white);
    margin: 6px 0;
    transition: var(--transition-smooth);
}


/* ================== BOTÕES ================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-hero {
    background-color: var(--dark-blue);
    color: var(--white);
    border: none;
    padding: 16px 40px;
}

.btn-hero:hover { background-color: #1a3a5a; transform: translateY(-4px); }

.btn-secondary {
    background-color: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
    box-shadow: 0px 10px 30px rgba(242, 101, 34, 0.3);
}

.btn-secondary:hover { background-color: #e05c1a; border-color: #e05c1a; transform: translateY(-4px); box-shadow: 0 15px 35px rgba(242, 101, 34, 0.4); }

.btn-dark {
    background-color: var(--dark-blue);
    color: var(--white);
    border: 2px solid var(--dark-blue);
}
.btn-dark:hover { background-color: #1A3956; border-color: #1A3956; transform: translateY(-4px); }

/* ================== HERO (FINAL & PERFECTED) ================== */
.hero {
    background: linear-gradient(105deg, #F26522, #243E56, #0C2033);
    background-size: 200% 200%;
    color: var(--white);
    padding: 100px 0 0px;
    position: relative;
    overflow: hidden;
    animation: animated-gradient 15s ease infinite;
}

.hero-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}

.hero-text { 
    flex: 0 0 48%; 
    z-index: 2; 
}

.nora-logo-hero {
    height: 60px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 2.8rem; /* Adjusted for proportion */
    line-height: 1.25;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero h1 strong {
    font-weight: 700;
}

.hero-image-wrapper {
    position: relative;
    flex: 0 0 52%;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align Nora to the right */
}

.hero-background-graphic {
    position: absolute;
    width: 150%; /* Slightly larger */
    height: auto;
    top: 50%;
    left: 80%;
     transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 0;
}

.hero-avatar {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%; /* Bigger Nora */
    
}

/* ================== MORE THAN AI ================== */
.more-than-ai {
    background: var(--off-white);
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
}

.more-than-ai .container { position: relative; z-index: 2; }

.more-than-ai::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 320px;
    background: linear-gradient(105deg, #F26522, #243E56, #0C2033);
    background-size: 200% 200%;
    animation: animated-gradient 15s ease infinite;
    z-index: 1;
}

.more-than-ai h2 { font-size: 2.8rem; font-weight: 400; line-height: 1.25; color: var(--dark-blue); margin-bottom: 20px; text-align: center; }
.more-than-ai h2 strong { font-weight: 700; }

.cards-container { display: flex; justify-content: center; gap: 30px; margin-top: 90px; }

.card {
    background-color: var(--card-background);
    padding: 60px 25px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    text-align: center;
    width: 310px;
    position: relative;
    transition: var(--transition-smooth);
}

.card:hover { transform: translateY(-12px); box-shadow: 0 25px 60px rgba(45, 53, 61, 0.12); }

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--dark-blue);
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-icon-glow);
}

.card:hover .card-icon-wrapper { box-shadow: var(--shadow-icon-glow-hover); }
.card-icon-wrapper img { width: 32px; height: auto; }
.card h3 { font-size: 1.5rem; line-height: 1.3; color: var(--text-dark); font-weight: 400; margin-bottom: 12px; }
.card-highlight { font-weight: 700; color: var(--orange); }
.card p { color: var(--text-light-gray); }

.features-list {
    margin-top: 100px;
    padding-bottom: 80px;
    color: var(--white);
    display: flex;
    justify-content: center;
    gap: 60px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.features-list ul { list-style: none; text-align: left; }
.features-list li { margin-bottom: 8px; position: relative; padding-left: 20px; }
.features-list li::before { content: '•'; font-size: 1.2rem; color: var(--orange); position: absolute; left: 0; top: -2px; }

/* ================== ANALYSIS TO ACTION ================== */
.analysis-to-action {
    padding: 120px 0;
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.analysis-to-action h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark-blue);
    margin-bottom: 80px;
    text-align: center;
}

.process-timeline {
    display: flex;
    justify-content: center;
    width: 100%;
}

.process-step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    position: relative;
}

.process-chevron {
    height: 60px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
}

.process-step:not(:first-child) .process-chevron {
    margin-left: -25px;
}

.process-chevron.step-1 { background-color: var(--dark-blue); }
.process-chevron.step-2 { background-color: var(--light-gray-timeline); color: var(--text-dark); }
.process-chevron.step-3 { background-color: var(--dark-blue); }
.process-chevron.step-4 { background-color: var(--orange); clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%, 10% 50%);}

.process-description {
    color: var(--text-light-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 10px;
    margin-top: 40px; /* space for the line */
    position: relative;
}

.process-description::before {
    content: '';
    position: absolute;
    height: 25px;
    width: 1px;
    background-color: #ccc;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.analysis-to-action .slogan {
    margin-top: 80px;
    font-size: 1.25rem;
    color: var(--dark-blue);
    font-weight: 500;
    text-align: center;
}

.decoration-arc-top-right, .decoration-arc-bottom-left {
    position: absolute;
    border-radius: 50%;
    border: 80px solid var(--orange);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.decoration-arc-top-right { width: 450px; height: 450px; right: -225px; top: -150px; }
.decoration-arc-bottom-left { width: 450px; height: 450px; left: -225px; bottom: -150px; }
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    z-index: 1000;
    pointer-events: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.scroll-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn:active {
    transform: scale(0.95);
}

/* Responsividade */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .scroll-top-btn svg {
        width: 20px;
        height: 20px;
    }
}
/* ================== FINAL CTA BLOCK ================== */
.final-cta-block {
    position: relative;
    overflow: hidden;
    background: linear-gradient(105deg, #e4bb9a, #bd8b6a7c, #293652);
    background-size: 200% 200%;
    animation: animated-gradient 15s ease infinite;
}

.digital-transformation-top {
    padding: 120px 0 300px;
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
    background: none;
}

.digital-transformation-top p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 10px;
    font-weight: 400;
}

.digital-transformation-top h2 { line-height: 1.1; margin: 0; }

.tech-text { font-size: 8rem; font-weight: 300; }
.tech-text strong { font-weight: 700; color: var(--white); }

.people-text { font-size: 4.5rem; font-weight: 400; }
.people-text strong { font-weight: 700; color: var(--white); }

.decoration-arc-dt-top-left, .decoration-arc-dt-bottom-right {
    position: absolute;
    border-radius: 50%;
    border: 100px solid rgba(242, 101, 34, 0.1);
    z-index: 0;
    pointer-events: none;
}

.decoration-arc-dt-top-left { width: 500px; height: 500px; left: -250px; top: -250px; }
.decoration-arc-dt-bottom-right { width: 500px; height: 500px; right: -250px; bottom: -250px; }

.cta-bottom {
    position: relative;
    padding: 0;
    margin-top: -200px;
    z-index: 2;
    padding-bottom: 120px;
    background: none;
}

.cta-content { 
    display: flex; 
    align-items: flex-end; 
    gap: 40px; 
    position: relative;
}

.cta-text {
    flex: 1;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-dark);
    padding-bottom: 60px;
}
.cta-text p { margin-bottom: 30px; }

.cta-image {
    flex: 1;
    text-align: center;
    margin-right: -80px;
}

.cta-image img {
    width: 100%;
    max-width: 450px;
    transform: translateY(50px);
}

/* ================== SOLUÇÕES ================== */
.solutions {
    padding: 120px 0;
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    position: relative;
}

.solutions .section-subtitle { color: #ccc; max-width: 580px; }

.solutions-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 400;
}
.solutions-title strong { font-weight: 700; }

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
    margin-top: 100px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.solution-card {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    transition: var(--transition-smooth);
    margin-top: 40px;
}
.solution-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.solution-icon-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(242,101,34,0.3);
}

.solution-icon-wrapper img {
    height: 40px;
    width: 40px;
    filter: brightness(0) invert(1) sepia(1) saturate(0) hue-rotate(0deg);
}

.solution-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 2px;
    text-align: center;
}

.solution-card h4 {
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: 12px;
    font-weight: 700;
    text-align: center;
}

.solution-card p {
    color: var(--text-light-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
}

.solutions .container::before {
    content: ' ';
    position: absolute;
    left: calc(50% + 10px);
    top: 380px; 
    bottom: 380px;
    width: 200px;
    border: 35px solid rgba(242, 101, 34, 0.4);
    opacity: 0.25;
    border-radius: 100px;
    transform: translateX(-50%) rotate(90deg);
    border-left-color: transparent;
    border-right-color: transparent;
    z-index: 1;
}

/* ================== FOOTER ================== */
.footer { padding: 60px 0; text-align: center; color: var(--text-light-gray); background-color: var(--off-white); }
.footer p { margin-bottom: 30px; font-size: 0.9rem; }
.partner-logos { display: flex; justify-content: center; align-items: center; gap: 50px }
.partner-logos img { height: 28px; }
.partner-logos img[alt*="Nora"] { height: 24px; }

/* ================== RESPONSIVE (CLEAN & FINAL) ================== */
@media (max-width: 1024px) {
    /* Hide nav links, show hamburger */
    .main-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }

    /* Mobile Nav Overlay */
    .main-nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(12, 32, 51, 0.98);
        z-index: 1000;
    }
    .main-nav.active a {
        margin: 20px 0;
        font-size: 2rem;
    }

    /* Hamburger Animation */
    .hamburger.active .hamburger-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .hamburger-bar:nth-child(2) { opacity: 0; }
    .hamburger.active .hamburger-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* General Layout Adjustments */
    .hero {
        padding: 120px 0 60px;
    }
    .hero-content { 
        flex-direction: column; 
        text-align: center; 
    }
    .hero-text { 
        order: 2; 
        margin-top: 0px; 
    }
    .hero-image-wrapper { 
        order: 1; 
        width: 100%;
        justify-content: center;
    }
    .header-logo { 
        display: none; /* Hide header logo on mobile */
    }
    .nora-logo-hero {
        display: block; /* Show hero logo on mobile */
        margin: 0 auto 25px;
        padding: 8.5px 0 2px;
    }

    .cards-container { flex-direction: column; align-items: center; gap: 70px; }
    .card { width: 100%; max-width: 340px; }
    .process-timeline { flex-direction: column; gap: 50px; align-items: center; }
    .process-step { max-width: 400px; }
    .process-step:not(:first-child) .process-chevron { margin-left: 0; }
    .process-chevron { clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%) !important; }
    
    .digital-transformation-top { padding: 80px 24px 100px; }
    .tech-text { font-size: 4rem; }
    .people-text { font-size: 3rem; }

    .cta-bottom { margin-top: 0; padding-top: 40px; }
    .cta-content { flex-direction: column; text-align: center; align-items: center; }
    .cta-image { order: 1; margin: 0 0 40px; }
    .cta-image img { transform: none; max-width: 300px; }
    .cta-text { order: 2; padding-bottom: 20px; font-size: 1.5rem; }

    .solutions-grid { grid-template-columns: 1fr; }
    .solutions .container::before { display: none; }
    .partner-logos { flex-wrap: wrap; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-avatar { max-width: 85%; }
    .more-than-ai { padding: 80px 0 0; }
    .more-than-ai::after { height: 450px; }
    .more-than-ai h2 { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; }
    .features-list { flex-direction: column; gap: 15px; align-items: center; margin-top: 80px; padding-bottom: 60px; }
    .analysis-to-action { padding: 80px 0; }
    .analysis-to-action h2 { font-size: 2rem; margin-bottom: 60px; }
    .solutions { padding: 80px 0; }
    .solutions-title { font-size: 2rem; }
}
.navbar-mobile {
    display: none;
}

.navbar-mobile.active {
    display: block;
}

.mobile-overlay {
    display: none;
}

.mobile-overlay.active {
    display: block;
}

body.menu-open {
    overflow: hidden;
}