:root {
    --bg-dark: #ffffff; 
    --bg-gradient: linear-gradient(135deg, #01030a 0%, #0b1126 25%, #1e3a7a 50%, #5d319e 75%, #0d122b 100%);
    --primary-blue: #005BAA;
    --light-blue-btn: #BDE8F8;
    --text-white: #FFFFFF;
    --text-main: #050a1f; 
    --text-gray: #4a5568; 
    --section-padding: 100px 10%;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth; 
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

/* --- STICKY HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: white;
    height: 80px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: filter 0.4s ease;
    filter: brightness(0) invert(1); 
}

header.scrolled .logo-img {
    filter: none;
}

nav { 
    display: flex; 
    gap: 50px; 
    margin-left: 60px;
}

nav a { 
    text-decoration: none; 
    color: white; 
    font-size: 15px; 
    font-weight: 600; 
    opacity: 0.9; 
    transition: 0.3s; 
}

header.scrolled nav a {
    color: #050a1f;
    opacity: 1;
}

nav a:hover { opacity: 1; color: var(--light-blue-btn); }
header.scrolled nav a:hover { color: var(--primary-blue); }

.header-right { display: flex; align-items: center; gap: 25px; }

.btn-login { 
    text-decoration: none; 
    color: white; 
    font-size: 12px; 
    font-weight: 800; 
    padding: 10px 20px; 
    border-radius: 50px; 
    background: rgba(255,255,255,0.1); 
    transition: 0.3s;
    text-transform: uppercase;
}
header.scrolled .btn-login {
    color: #050a1f;
    background: rgba(0,0,0,0.05);
}

.btn-contact { 
    text-decoration: none; 
    color: #050a1f; 
    font-size: 12px; 
    font-weight: 800; 
    padding: 10px 20px; 
    border-radius: 50px; 
    background: var(--light-blue-btn); 
    transition: 0.3s;
    text-transform: uppercase;
}
.btn-contact:hover { background: #9acbdc; }

/* --- CORREÇÃO DE ANCORAGEM DO MENU FIXO --- */
#servicos, #metodologia, #conformidade, #sobre, #time {
    scroll-margin-top: 100px;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    padding: 0 10%;
    position: relative;
    color: var(--text-white);
    overflow: hidden; 
}

.hero-text { max-width: 700px; z-index: 10; position: relative; }
.hero-text h1 { font-size: 82px; font-weight: 800; line-height: 0.95; margin-bottom: 25px; letter-spacing: -2px; }
.hero-text p { font-size: 19px; color: rgba(255,255,255,0.85); margin-bottom: 40px; max-width: 650px; }

.pill-btn {
    background: var(--light-blue-btn);
    color: #050a1f;
    padding: 16px 24px 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}
.pill-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.pill-btn .arrow-circle {
    background: rgba(0,0,0,0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.molecule-viewer {
    position: absolute;
    right: -5%; 
    top: 0;
    width: 60%; 
    height: 100vh;
    z-index: 5;
}

model-viewer {
    width: 100%;
    height: 100%;
    outline: none;
    background-color: transparent;
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: var(--section-padding);
    background: #ffffff;
}

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

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

.service-card {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    z-index: 1;
}

.service-card > div, .service-card > h3, .service-card > p {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    background: linear-gradient(135deg, #edeefc 0%, #cdecfa 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.service-logo-peek {
    position: absolute;
    bottom: -20px; 
    right: -20px;  
    width: 130px; 
    height: auto;
    filter: grayscale(100%);
    opacity: 0.08;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.service-card:hover .service-logo-peek {
    filter: grayscale(0%);
    opacity: 0.35;
    transform: translate(-10px, -10px);
}

.service-tag {
    color: #5d319e;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--text-main);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    font-size: 13px;
    color: var(--text-main);
    text-transform: uppercase;
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.service-card:hover .service-icon {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

/* --- METODOLOGIA SECTION --- */
.metodologia-section {
    background-color: #ffffff;
    padding: 120px 0; 
    position: relative;
    overflow: hidden;
}

.metodologia-header {
    position: absolute;
    top: 120px;
    left: 10%; 
    max-width: 400px;
    z-index: 10;
}

.metodologia-header h2 {
    font-size: 55px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    color: #000;
    letter-spacing: -1.5px;
}

.metodologia-header p {
    font-size: 15px;
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-metodologia {
    background-color: #544192; 
    color: #ffffff;
    padding: 10px 14px 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-metodologia:hover {
    background-color: #413075;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 65, 146, 0.4);
}

.btn-metodologia .arrow-circle {
    background: rgba(255,255,255,0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metodologia-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 600px;
}

.timeline-wrapper {
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
}

.timeline-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    pointer-events: none;
}

.step-card {
    position: absolute;
    width: 280px;
}

.step-content {
    position: relative;
    z-index: 3; 
}

.step-content h4 {
    font-size: 16px;
    font-weight: 800;
    color: #050a1f;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.4;
}

.bg-number {
    position: absolute;
    font-size: 160px;
    font-weight: 800;
    color: #f1f3f5;
    line-height: 0.8;
    z-index: 1; 
    user-select: none;
}

#step-1 { left: 8%; top: 78%; }
#step-1 .bg-number { top: -60px; right: -20px; }

#step-2 { left: 30%; top: 48%; }
#step-2 .bg-number { top: -80px; right: -10px; }

#step-3 { left: 55%; top: 70%; }
#step-3 .bg-number { top: -60px; right: -20px; }

#step-4 { left: 78%; top: 5%; }
#step-4 .bg-number { top: -20px; right: -40px; }

.timeline-svg path {
    stroke-dasharray: 2500; 
    stroke-dashoffset: 2500;
}

.metodologia-section.visible .timeline-svg path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 2s linear; 
}

.timeline-svg circle {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: center;
}

.metodologia-section.visible .timeline-svg circle {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.metodologia-section.visible .timeline-svg circle:nth-of-type(1) { transition-delay: 0.25s; opacity: 1; transform: scale(1); }
.metodologia-section.visible .timeline-svg circle:nth-of-type(2) { transition-delay: 0.75s; opacity: 1; transform: scale(1); }
.metodologia-section.visible .timeline-svg circle:nth-of-type(3) { transition-delay: 1.25s; opacity: 1; transform: scale(1); }
.metodologia-section.visible .timeline-svg circle:nth-of-type(4) { transition-delay: 1.75s; opacity: 1; transform: scale(1); }

.step-content, .bg-number {
    opacity: 0;
    transform: translateY(20px);
}

.metodologia-section.visible .step-content,
.metodologia-section.visible .bg-number {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.metodologia-section.visible #step-1 .step-content,
.metodologia-section.visible #step-1 .bg-number { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }

.metodologia-section.visible #step-2 .step-content,
.metodologia-section.visible #step-2 .bg-number { transition-delay: 0.85s; opacity: 1; transform: translateY(0); }

.metodologia-section.visible #step-3 .step-content,
.metodologia-section.visible #step-3 .bg-number { transition-delay: 1.35s; opacity: 1; transform: translateY(0); }

.metodologia-section.visible #step-4 .step-content,
.metodologia-section.visible #step-4 .bg-number { transition-delay: 1.85s; opacity: 1; transform: translateY(0); }


/* --- CONFORMIDADE SECTION --- */
.compliance-section {
    background-color: #0b1126; 
    padding: 120px 0; 
    color: #ffffff;
}

.compliance-header-container {
    max-width: 100%;
    width: 100%;
    position: relative;
    margin-bottom: 80px;
}

.compliance-header-text {
    margin-left: 10%; 
    max-width: 600px; 
}

.compliance-header-text h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: #ffffff;
}

.compliance-header-text p {
    color: #8892b0;
    font-size: 16px;
}

.compliance-list-container {
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto; 
    position: relative;
}

.accordion-headers {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 60px;
    padding: 0 40px 15px;
    color: #8892b0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.accordion-headers div:nth-child(2) {
    text-align: left;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: linear-gradient(to right, #ffffff, #f1f5f9);
    border-radius: 50px; 
    overflow: hidden;
    transition: border-radius 0.3s ease;
}

.accordion-item.active {
    border-radius: 25px; 
}

.accordion-header {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 60px;
    align-items: center;
    padding: 20px 40px;
    cursor: pointer;
    color: #050a1f;
}

.accordion-title {
    font-weight: 800;
    font-size: 16px;
}

.accordion-category {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
}

.accordion-icon {
    font-size: 24px;
    color: var(--primary-blue);
    font-weight: 300;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: transform 0.4s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 40px;
    color: #4a5568;
    background: #ffffff;
}

.accordion-item.active .accordion-content {
    padding-bottom: 30px;
    border-top: 1px solid #e2e8f0;
    margin-top: 5px;
    padding-top: 25px;
}

.accordion-content p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

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

.accordion-content strong {
    color: #050a1f;
}

.guidance-link {
    color: var(--primary-blue);
    text-decoration: underline;
    font-weight: 600;
    transition: 0.3s;
}

.guidance-link:hover {
    color: #013e8a;
}


/* --- SEÇÃO SOBRE --- */
.info-strip {
    background: linear-gradient(rgba(5,10,31,0.85), rgba(5,10,31,0.85)), url('https://www.schrodinger.com/wp-content/uploads/2023/10/23_419_A008C347_230810G5_CANON.00_03_24_22.Still012-e1696971873649.jpg?w=1920');
    background-size: cover;
    padding: 80px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    color: var(--text-white);
}
.info-strip h2 { color: var(--text-white); }
.info-strip p, .info-strip h4 { color: rgba(255,255,255,0.9); }
.info-strip .tag { background-color: rgba(255,255,255,0.15); color: #fff; padding: 5px 10px; border-radius: 4px; font-weight: bold; font-size: 14px; text-transform: uppercase; display: inline-block; margin-bottom: 15px;}


/* --- TIME SECTION --- */
.team-section {
    background: #ffffff;
    position: relative;
}

.team-bg-dark {
    background: var(--bg-gradient);
    padding: 100px 10% 200px;
    color: var(--text-white);
}

.team-bg-dark h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.team-bg-dark p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 10%;
    margin-top: -140px; 
    position: relative;
    z-index: 10;
    margin-bottom: 100px;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px 30px;
    border-top: 4px solid var(--primary-blue);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
}

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

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #f1f5f9;
}

.team-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-main);
}

.team-card .team-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.team-card .team-bio {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.expertise-list {
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.expertise-list li {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.expertise-list li::before {
    content: '•';
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- CTA SECTION --- */
.cta-section {
    text-align: center; 
    display: block; 
    background: var(--bg-gradient); 
    padding: 120px 10%;
    color: var(--text-white);
}
.cta-section h2 { color: var(--text-white); }

/* --- FOOTER --- */
footer {
    background: #02040a;
    color: var(--text-white);
    padding: 100px 10% 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}
.footer-logo-img { height: 50px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-col p { color: #8892b0; }
.footer-col h5 { margin-bottom: 25px; font-size: 14px; text-transform: uppercase; color: var(--light-blue-btn); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 15px; }
.footer-col a { color: #8892b0; text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; display: flex; justify-content: space-between; font-size: 12px; color: #8892b0; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    header { height: 80px; }
    nav { gap: 20px; margin-left: 20px; }
    .hero-text h1 { font-size: 50px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .info-strip, .footer-top { grid-template-columns: 1fr; }
    
    /* Metodologia Mobile */
    .metodologia-section { padding: 100px 10%; }
    .metodologia-header { position: relative; top: auto; left: auto; max-width: 100%; margin-bottom: 40px; }
    .metodologia-container { height: auto; display: flex; flex-direction: column; gap: 40px; }
    .timeline-wrapper { position: relative; height: auto; padding-left: 20px; border-left: 2px solid #050a1f; }
    .timeline-svg { display: none; }
    .step-card { position: relative; left: 0 !important; top: 0 !important; width: 100%; margin-bottom: 40px; padding-left: 20px; }
    .step-card::before {
        content: ''; position: absolute; left: -29px; top: 0; width: 14px; height: 14px; 
        background: #d1d5db; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .bg-number { left: auto; right: 10%; top: -10px; font-size: 100px; opacity: 0.5; z-index: -1; }

    /* Accordion Mobile */
    .compliance-header-text { margin-left: 5%; padding: 0 5%; }
    .compliance-list-container { max-width: 100%; padding: 0 5%; }
    .accordion-headers { display: none; }
    .accordion-header { grid-template-columns: 1fr 40px; gap: 10px; padding: 15px 25px; }
    .accordion-category { display: none; } 
    .accordion-content { padding: 0 25px; }

    /* Team Mobile */
    .team-grid { grid-template-columns: 1fr; margin-top: -60px; }
    .team-bg-dark { padding-bottom: 120px; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}


/* --- CONTACT PAGE --- */
.contact-hero {
    background: var(--bg-gradient);
    padding: 160px 10% 120px;
    text-align: center;
    color: var(--text-white);
}

.contact-hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-text h1 {
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
}

.contact-form-section {
    padding: 0 10%;
    margin-top: -80px;
    margin-bottom: 100px;
    position: relative;
    z-index: 10;
}

.form-card {
    background: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 50px;
    border-top: 5px solid var(--primary-blue);
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
    transition: opacity 0.3s ease;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--text-main);
    background-color: #f8f9fc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 91, 170, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.form-submit {
    margin-top: 40px;
}

/* Responsividade do Formulário */
@media (max-width: 768px) {
    .contact-hero-text h1 { font-size: 40px; }
    .form-row { flex-direction: column; gap: 0; }
    .form-card { padding: 30px 20px; }
}

/* --- AJUSTES ESPECÍFICOS PARA PÁGINA DE PRODUTO --- */
.product-hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    text-align: center;
    padding: 0 10%;
    color: white;
}

.workflow-section {
    background-color: #ffffff;
    padding: 80px 0; /* Reduzido de 120px para não ficar tão gigante */
    overflow: hidden;
}

.workflow-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Linha de Fundo */
.workflow-line-bg {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #f1f5f9;
    transform: translateX(-50%);
    border-radius: 10px;
    z-index: 1; /* Adicionado z-index */
}

/* Linha de Preenchimento */
.workflow-line-fill {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    background: var(--primary-blue);
    transform: translateX(-50%);
    height: 0; 
    z-index: 2; /* Fica acima do fundo cinza */
    border-radius: 10px;
}

.workflow-step {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 60px; /* Reduzido de 100px para comprimir a tela */
    position: relative;
    z-index: 5; /* ISSO RESOLVE A LINHA PASSANDO POR CIMA DOS NÚMEROS */
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.workflow-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 50px;
    height: 50px;
    background: white;
    color: #cbd5e1;
    border: 4px solid #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; 
    transition: all 0.4s ease;
}

.workflow-step.visible .step-number {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(0, 91, 170, 0.3);
}

.workflow-step .step-card {
    width: 42%;
    background: #f8f9fc;
    padding: 25px; /* Reduzido de 35px para os cards ficarem menores */
    border-radius: 20px;
    border: 1px solid #edf2f7;
    position: relative;
}

.workflow-step.left { justify-content: flex-start; text-align: right; }
.workflow-step.right { justify-content: flex-end; text-align: left; }

.workflow-step.left .step-card { margin-right: 8%; }
.workflow-step.right .step-card { margin-left: 8%; }

@media (max-width: 768px) {
    .workflow-line-bg, .workflow-line-fill { left: 30px; transform: none; }
    .step-number { left: 30px; transform: translateX(-50%); }
    .workflow-step .step-card { 
        width: calc(100% - 80px); 
        margin-left: 60px !important; 
        margin-right: 0 !important;
        text-align: left;
    }
    .workflow-step.left { justify-content: flex-start; }
}

/* Ajuste do tamanho do título na página de produto */
.product-hero .hero-text h1 {
    font-size: 55px; /* Reduzido do tamanho original de 82px */
    line-height: 1.1;
    margin-top: 15px; /* Dá um pequeno respiro entre a tag e o título */
}

/* Garante que o título fique com um tamanho bom no celular também */
@media (max-width: 768px) {
    .product-hero .hero-text h1 {
        font-size: 36px;
    }
}