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

:root {
    --ebyte-dark: #0a0a0b;
    --dark-section: #111113;
    --dark-card: rgba(255, 255, 255, 0.05);
    --dark-border: rgba(255, 255, 255, 0.1);
    --red-start: #ff1a4a;
    --red-end: #c41230;
    --primary: #ef1443;
    --bg-light: #ffffff;
    --bg-secondary: #f5f5f7;
    --text-dark: #111113;
    --text-muted: #71717a;
    --card-border: #e4e4e7;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.text-gradient-red {
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-red {
    box-shadow: 0 4px 20px rgba(239, 20, 67, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}

.plexus-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.plexus-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--ebyte-dark);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 96px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    height: 64px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease forwards;
}

@media (min-width: 768px) {
    .hero-logo {
        height: 80px;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease 0.15s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease 0.45s forwards;
    opacity: 0;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    animation: fadeIn 0.6s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(239, 20, 67, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(239, 20, 67, 0.5);
    transform: translateY(-2px);
}

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

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

.btn-sm {
    font-size: 1rem;
    padding: 12px 24px;
}

.btn-full {
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ── SEÇÕES — altura da tela com centralização vertical ── */
.pillars {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--bg-light);
}

.pillars>.container {
    width: 100%;
}

.pillars-header {
    text-align: center;
    margin-bottom: 64px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1040px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pillar-card {
    background: var(--bg-light);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(239, 20, 67, 0.4);
    box-shadow: 0 8px 30px rgba(239, 20, 67, 0.08);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(239, 20, 67, 0.3);
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pillar-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.pillar-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.pillar-desc {
    color: var(--text-muted);
    line-height: 1.7;
}

.pillars-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.services {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--dark-section);
    position: relative;
    overflow: hidden;
}

.services>.container {
    width: 100%;
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.services-header .section-title {
    color: #ffffff;
}

.services-header .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1120px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(239, 20, 67, 0.4);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(239, 20, 67, 0.3);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}

.service-subtitle-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.service-list {
    list-style: none;
    margin-bottom: 24px;
}

.service-list li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-list li .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 7px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 24px;
}

.benefits-list li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.benefits-list li .check {
    color: var(--primary);
    font-weight: 700;
}

.clients-section {
    margin-bottom: 24px;
}

.clients-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.client-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 12px;
    border-radius: 50px;
}

.service-cta {
    margin-top: auto;
}

.differentials {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--bg-light);
}

.differentials>.container {
    width: 100%;
}

.differentials-header {
    text-align: center;
    margin-bottom: 64px;
}

.differentials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.differentials-grid .diff-card {
    width: 100%;
}

@media (min-width: 640px) {
    .differentials-grid .diff-card {
        width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .differentials-grid .diff-card {
        width: calc(33.333% - 16px);
    }
}

.diff-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-light);
    border: 1px solid var(--card-border);
    transition: border-color 0.3s ease;
}

.diff-card:hover {
    border-color: rgba(239, 20, 67, 0.3);
}

.diff-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(239, 20, 67, 0.25);
}

.diff-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.diff-text {
    color: rgba(17, 17, 19, 0.8);
    line-height: 1.6;
}

.steps {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--dark-section);
    position: relative;
    overflow: hidden;
}

.steps>.container {
    width: 100%;
}

.steps-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}

.steps-header .section-title {
    color: #ffffff;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-item {
    text-align: center;
}

.step-icon-wrap {
    position: relative;
    margin-bottom: 24px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 4.5rem;
    color: rgba(239, 20, 67, 0.15);
    position: absolute;
    line-height: 1;
}

.step-icon {
    position: relative;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(239, 20, 67, 0.3);
    z-index: 1;
}

.step-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.cta {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--dark-section);
    position: relative;
    overflow: hidden;
}

.cta>.container {
    width: 100%;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(239, 20, 67, 0.1);
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.cta .section-title {
    color: #ffffff;
}

.cta .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.footer {
    padding: 40px 0;
    background: var(--ebyte-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    height: 32px;
}

.footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* ── MODAL ── */
@keyframes modalBackdropIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.85);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes modalPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 20, 67, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(239, 20, 67, 0);
    }
}

@keyframes modalShine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    animation: modalBackdropIn 0.3s ease forwards;
    display: none;
}

.modal-backdrop.active {
    display: block;
}

.modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 90%;
    max-width: 440px;
    background: var(--ebyte-dark);
    border: 1px solid rgba(239, 20, 67, 0.3);
    border-radius: 20px;
    padding: 40px 28px 32px;
    z-index: 2001;
    text-align: center;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    opacity: 0;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.modal-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalPulse 2s ease-in-out infinite;
}

.modal-icon-wrap svg {
    width: 34px;
    height: 34px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.modal-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(239, 20, 67, 0.12);
    border: 1px solid rgba(239, 20, 67, 0.25);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 12px;
}

@media (min-width: 640px) {
    .modal-title {
        font-size: 1.65rem;
    }
}

.modal-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin-bottom: 28px;
}

.modal-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red-start), var(--red-end));
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(239, 20, 67, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.modal-cta-btn:hover {
    box-shadow: 0 8px 35px rgba(239, 20, 67, 0.55);
    transform: translateY(-2px);
}

.modal-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: modalShine 3s ease-in-out infinite;
}

.modal-skip {
    display: block;
    margin-top: 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: var(--font-body);
}

.modal-skip:hover {
    color: rgba(255, 255, 255, 0.6);
}

.modal-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    background: rgba(239, 20, 67, 0.08);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* ── DARK MODE ── */
html.dark .pillars {
    background: var(--ebyte-dark);
}

html.dark .pillar-card {
    background: var(--dark-section);
    border-color: var(--dark-border);
}

html.dark .pillar-title {
    color: #ffffff;
}

html.dark .pillar-desc {
    color: rgba(255, 255, 255, 0.6);
}

html.dark .pillars-note {
    color: rgba(255, 255, 255, 0.5);
}

html.dark .differentials {
    background: var(--ebyte-dark);
}

html.dark .diff-card {
    background: var(--dark-section);
    border-color: var(--dark-border);
}

html.dark .diff-text {
    color: rgba(255, 255, 255, 0.8);
}

html.dark .section-title {
    color: #ffffff;
}

html.dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}