:root {
    --bg-deep: #010101;
    --navy-dark: #0a192f;
    --navy-medium: #112240;
    --navy-light: #233554;
    --accent-blue: #64ffda;
    /* Cyan highlight for contrast */
    --text-silver: #ccd6f6;
    --text-muted: #8892b0;
    --white: #e6f1ff;

    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-silver);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--white);
    font-weight: 700;
}

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

/* Section Dividers */
.divider {
    width: 100%;
    height: 100px;
    background-color: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.divider-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: var(--navy-dark);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    /* Era 18px 35px */
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-5px);
}

.btn-solid {
    background: var(--accent-blue);
    color: var(--bg-deep);
}

.btn-solid:hover {
    background: #4adebd;
    box-shadow: 0 10px 30px -10px var(--accent-blue);
}

/* Hero Centered (Inspired by Image) */
.hero {
    height: 100vh;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Voltei para centralizar verticalmente certinho com as reduções */
    background: #010101;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.badge {
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent-blue);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: monospace;
    margin-bottom: 10px;
    margin-top: 10px;
    display: inline-block;
}

.hero-title-main {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 5px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-subtitle-accent {
    font-size: clamp(16px, 3vw, 24px);
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

/* Hero Visual with Image and Tags */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.hero-main-img {
    width: 100%;
    max-width: 300px;
    /* Reduzido de 360 para 300 para garantir espaço abaixo */
    position: relative;
    z-index: 2;
}

.hero-main-img img {
    width: 100%;
    height: auto;
    display: block;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.floating-tag {
    position: absolute;
    background: rgba(17, 34, 64, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--text-silver);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: floating 3s ease-in-out infinite;
}

/* Individual Tag Positions (Matching image style) */
.tag-1 {
    top: 20%;
    left: -5%;
    animation-delay: 0s;
}

.tag-2 {
    top: 5%;
    left: 80%;
    animation-delay: 0.5s;
}

.tag-3 {
    top: 60%;
    left: 85%;
    animation-delay: 1s;
}

.tag-4 {
    top: 75%;
    left: -10%;
    animation-delay: 1.5s;
}

.tag-5 {
    top: 40%;
    left: 10%;
    animation-delay: 2s;
}

.tag-6 {
    top: 35%;
    left: 85%;
    animation-delay: 2.5s;
}

.hero-actions {
    margin-top: 5px;
    /* Reduzido o espaço acima do botão */
    z-index: 10;
    position: relative;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .floating-tag {
        font-size: 0.70rem;
        padding: 5px 10px;
    }

    .hero-main-img {
        max-width: 300px;
    }

    /* Reposicionamento para não cortar as laterais no celular */
    .tag-1 { top: 15%; left: 5%; }
    .tag-2 { top: 5%; left: 70%; }
    .tag-3 { top: 60%; left: 75%; }
    .tag-4 { top: 75%; left: 5%; }
    .tag-5 { top: 40%; left: 2%; }
    .tag-6 { top: 35%; left: 72%; }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Services */
.services-section {
    background: var(--navy-dark);
    padding: 120px 0;
}

.section-tag {
    color: var(--accent-blue);
    font-family: monospace;
    display: block;
    margin-bottom: 20px;
}

.section-head {
    text-align: center;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-card {
    background: var(--navy-medium);
    padding: 40px;
    border-radius: 4px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    width: calc(33.333% - 14px);
    /* 3 colunas no desktop */
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 2px solid var(--accent-blue);
}

.service-card i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* About */
.about-section {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    z-index: -1;
    border-radius: 4px;
    transition: var(--transition);
}

.about-image:hover::after {
    top: 10px;
    right: -10px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
}

/* Stats Transition Area */
.stats {
    padding: 180px 0;
    margin: 80px 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    position: relative;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(1, 1, 1, 0.4);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 15px 40px -10px rgba(100, 255, 218, 0.2);
}

.stat-item h4 {
    font-size: 3.5rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-item span {
    font-weight: 600;
    color: var(--text-silver);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
}

/* Timeline Container */
.timeline-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
    /* For the line to stay behind */
}

/* Timeline Track (Horizontal Line for Desktop) */
@media (min-width: 901px) {
    .timeline-container::before {
        content: '';
        position: absolute;
        top: 25px;
        /* Center of the marker (50px height / 2) */
        left: 10%;
        width: 80%;
        height: 2px;
        background: repeating-linear-gradient(to right, var(--accent-blue) 0, var(--accent-blue) 8px, transparent 8px, transparent 16px);
        opacity: 0.5;
        z-index: -1;
    }
}

.timeline-item {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-marker {
    background: var(--navy-dark);
    color: var(--accent-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    border: 2px solid var(--accent-blue);
    position: relative;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.15);
}

.process-card {
    background: var(--navy-medium);
    padding: 35px 25px;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
    width: 100%;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px -15px var(--accent-blue);
}

.process-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Timeline Mobile (Vertical) */
@media (max-width: 900px) {
    .timeline-container {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 60px auto 0;
        gap: 40px;
    }

    .timeline-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 24px;
        /* Centro da bolinha baseada no alinhamento flex row */
        width: 2px;
        height: calc(100% - 50px);
        background: repeating-linear-gradient(to bottom, var(--accent-blue) 0, var(--accent-blue) 8px, transparent 8px, transparent 16px);
        opacity: 0.5;
        z-index: -1;
    }

    .timeline-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        /* Alinha o marcador ao topo do card */
    }

    .timeline-marker {
        margin-bottom: 0;
        margin-right: 30px;
        flex-shrink: 0;
    }

    .process-card {
        padding: 30px 25px;
        width: calc(100% - 80px);
        /* 100% menos o tamanho do marker e da margem */
    }
}

/* Differentials Section */
.differentials-section {
    padding: 150px 0;
    margin: 80px 0;
    background: var(--navy-medium); /* Sem degradê, apenas a cor original */
}

.diff-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: center;
}

.diff-list {
    list-style: none;
    margin-top: 50px;
}

.diff-list li {
    margin-bottom: 25px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.diff-list li i {
    color: var(--accent-blue);
    margin-right: 20px;
    font-size: 1.5rem;
}

.diff-cta-box {
    background: var(--navy-dark);
    padding: 70px 50px; /* Mais padding interno */
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--accent-blue);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.diff-cta-box h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.diff-cta-box p {
    margin-bottom: 30px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testi-card {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    padding: 40px 35px;
    border-radius: 16px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testi-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px -15px rgba(100, 255, 218, 0.15);
}

.quote-icon {
    position: absolute;
    bottom: -15px;
    right: 15px;
    font-size: 8rem;
    color: rgba(100, 255, 218, 0.03);
    z-index: -1;
    transform: rotate(10deg);
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.testi-author h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 3px;
    line-height: 1.2;
}

.testi-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testi-stars {
    color: #ffd700; /* Dourado para as estrelas */
    margin-bottom: 20px;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testi-card p {
    font-size: 1.05rem;
    color: var(--text-silver);
    line-height: 1.8;
}

/* CTA Final Section */
.cta-final {
    padding: 150px 0 120px;
    background: linear-gradient(to bottom, var(--bg-deep) 0%, rgba(10, 25, 47, 0.8) 100%), url('img/pedrosa sozinho.JPG') center/cover no-repeat;
    text-align: center;
}

.cta-final-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-silver);
}

/* Media queries additions */
@media (max-width: 900px) {
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Content (now inside CTA Final) */

.footer-socials {
    margin: 30px 0;
}

.footer-socials a {
    color: var(--text-silver);
    font-size: 1.5rem;
    margin: 0 20px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--accent-blue);
}

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

    .service-card {
        width: calc(50% - 10px);
        /* 2 colunas */
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 100%;
        /* 1 coluna em telas muito pequenas */
    }
}