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

:root {
    --preto-premium: #000000;
    --dourado: #D4AF37;
    --cinza-escuro: #1A1A1A;
    --cinza-medio: #666666;
    --cinza-claro: #999999;
    --branco: #FFFFFF;
    --bg-escuro: #0A0A0A;

    /* Tipografia Responsiva */
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* Base font size */
    --fs-h1: clamp(5rem, 4rem + 4vw, 7rem);
    --fs-h2: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
    --fs-h3: clamp(1.2rem, 1rem + 1.5vw, 1.8rem);
    --fs-h3-large: clamp(1.8rem, 1.5rem + 2vw, 2.5rem);
    --fs-h4: clamp(1.25rem, 1.125rem + 0.75vw, 1.75rem);
    --fs-small: clamp(0.875rem, 0.8rem + 0.25vw, 1rem);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--preto-premium);
    color: var(--branco);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: var(--fs-base);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
        url('../background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--fs-h4);
    font-weight: 300;
    letter-spacing: 2px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    border: 2px solid var(--dourado);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--dourado);
}

.logo-text {
    color: var(--cinza-claro);
}

.logo-text span {
    color: var(--dourado);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--cinza-claro);
    text-decoration: none;
    font-weight: 300;
    font-size: var(--fs-small);
    letter-spacing: 1px;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--dourado);
}

.cta-button {
    background: transparent;
    color: var(--dourado);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--dourado);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s;
    display: inline-block;
    text-transform: uppercase;
    font-size: var(--fs-small);
}

.cta-button:hover {
    background: var(--dourado);
    color: var(--preto-premium);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    margin-top: 80px;
    overflow: hidden;
    padding: 60px 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-brand {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 0px;
}

.brand-text {
    font-size: var(--fs-h1);
    font-weight: 600;
    letter-spacing: 6px;
    color: #888888;
    text-transform: uppercase;
    word-break: keep-all;
    overflow-wrap: normal;
    width: 100%;
    display: inline-block;
}

.brand-highlight {
    color: #FFD700;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.6);
    animation: brand-glow 2s ease-in-out infinite alternate;
    font-weight: 500;
    position: relative;
    display: inline;
    white-space: nowrap;
    /* Fallback para iOS/Safari */
    -webkit-text-fill-color: #FFD700;
    -webkit-text-stroke: 0.5px rgba(255, 215, 0, 0.3);
}

@keyframes brand-glow {
    from {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 60px rgba(255, 215, 0, 1.2), 0 0 120px rgba(255, 215, 0, 0.8), 0 0 180px rgba(255, 215, 0, 0.4);
        transform: scale(1.05);
    }
}

.hero-subtitle-main {
    font-size: var(--fs-h3);
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--branco);
    margin-bottom: 35px;
    font-weight: 500;
    text-align: center;
    position: relative;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.divider-line {
    display: block;
    width: 80vw;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--dourado) 15%, var(--dourado) 85%, transparent 100%);
    margin: 25px auto;
    position: relative;
    animation: shimmer 2s infinite;
}

.divider-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--dourado);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--dourado);
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}



.ia-glow {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
    white-space: nowrap;
    display: inline;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
    }
}

.hero-description {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 45px auto;
    font-weight: 300;
    line-height: 1.4;
    text-align: center;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
}

.primary-button {
    background: var(--dourado);
    color: var(--preto-premium);
    padding: 1.25rem 3rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.4s;
    display: inline-block;
    text-transform: uppercase;
    font-size: var(--fs-small);
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.6s;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.primary-button:hover::before {
    left: 100%;
}

.secondary-button {
    color: var(--cinza-claro);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s;
    font-size: var(--fs-small);
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
}

.secondary-button:hover {
    color: var(--dourado);
    border-bottom-color: var(--dourado);
}

/* General Section Styling */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: var(--fs-h3-large);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dourado);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.section-description {
    font-size: var(--fs-h4);
    color: var(--cinza-claro);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.5;
    white-space: nowrap;
}


/* Stats Section */
.stats {
    background: rgba(26, 26, 26, 0.9);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: var(--fs-h2);
    font-weight: 200;
    color: var(--dourado);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--cinza-claro);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.servicos {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--cinza-escuro);
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dourado);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    border-color: var(--dourado);
    transform: translateY(-5px);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease;
}

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

.service-title {
    font-size: var(--fs-h4);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.service-description {
    color: var(--cinza-claro);
    line-height: 1.8;
    margin-bottom: 2rem;
    flex-grow: 1;
}


/* Processo Section */
.processo {
    background: rgba(26, 26, 26, 0.9);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--preto-premium);
    border: 1px solid var(--dourado);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: var(--fs-h4);
    font-weight: 300;
    color: var(--dourado);
}

.step-title {
    font-size: var(--fs-h4);
    margin-bottom: 1rem;
    font-weight: 300;
}

.step-description {
    color: var(--cinza-claro);
    font-size: var(--fs-base);
    line-height: 1.6;
}

/* Resultados Section */
.resultados {
    background: var(--bg-escuro);
}

.receita-highlight {
    color: #FFD700;
    font-weight: 400;
}

.versus-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.versus-title {
    font-size: var(--fs-h3);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.versus-title.left {
    color: var(--cinza-claro);
}

.versus-title.right {
    color: var(--dourado);
}

.versus-x {
    background: rgba(255, 255, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cinza-medio);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.problem-card, .solution-card {
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background: var(--cinza-escuro);
}

.problem-card {
    border: 1px solid rgba(102, 102, 102, 0.3);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cinza-medio);
    opacity: 0.5;
}

.solution-card {
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--dourado);
}

.problem-list, .solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li, .solution-list li {
    padding: 0.75rem 0;
    font-weight: 300;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--branco);
    font-size: var(--fs-base);
    text-align: left;
    margin: 0;
}

.problem-list li:last-child, .solution-list li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    background: rgba(26, 26, 26, 0.9);
    text-align: center;
}

.cta-section h2 {
    font-size: var(--fs-h2);
    font-weight: 200;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.cta-section p {
    color: var(--cinza-claro);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-brand h3 {
    font-size: var(--fs-h4);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-brand p {
    color: var(--cinza-claro);
    font-size: var(--fs-small);
    line-height: 1.8;
    max-width: 300px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 1rem;
}

.footer-column a {
    color: var(--cinza-claro);
    text-decoration: none;
    font-size: var(--fs-small);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column a:hover {
    color: var(--dourado);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-bottom p {
    color: var(--cinza-medio);
    font-size: var(--fs-small);
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Responsive Design */

/* Tablets (992px e abaixo) */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* Ou transformar em menu hamburguer */
    }
}

/* Tablets (768px e abaixo) */
@media (max-width: 768px) {
    .section-description {
        white-space: normal;
        max-width: 100%;
    }
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 70vh;
        padding: 40px 0;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .divider-line {
        width: 85vw;
        max-width: 600px;
        margin: 20px auto;
    }

    .divider-line::before {
        width: 6px;
        height: 6px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }

    .stats-grid,
    .services-grid,
    .process-timeline,
    .problem-solution-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .problem-solution-grid {
        margin: 2rem 0;
        max-width: 100%;
    }

    .problem-card, .solution-card {
        padding: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .process-timeline::before {
        display: none;
    }

    .versus-header {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .versus-x {
        margin: 0 auto;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Smartphones (480px e abaixo) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .brand-text {
        letter-spacing: 3px;
        word-spacing: -2px;
    }

    .hero-content {
        overflow: visible;
        padding: 0 0.5rem;
    }

    .divider-line {
        width: 90vw;
        max-width: 400px;
        margin: 12px auto;
    }

    .divider-line::before {
        width: 5px;
        height: 5px;
        box-shadow: 0 0 10px var(--dourado);
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .primary-button {
        padding: 0.875rem 1.5rem;
        max-width: 280px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .problem-card,
    .solution-card {
        padding: 1.25rem;
    }

    .problem-solution-grid {
        gap: 1.25rem;
    }

    .versus-x {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* Animação alternativa para iOS/Safari */
@keyframes ios-brand-glow {
    0% {
        color: #FFD700;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
    50% {
        color: #FFEF94;
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.9);
    }
    100% {
        color: #FFD700;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* Fix específico para iOS/Safari - mantendo animação */
@supports (-webkit-overflow-scrolling: touch) {
    .brand-highlight {
        color: #FFD700 !important;
        -webkit-text-fill-color: #FFD700 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline !important;
        animation: ios-brand-glow 2s ease-in-out infinite alternate !important;
        transform: none !important;
        will-change: color, text-shadow !important;
    }
}

/* Media query adicional para dispositivos móveis */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .brand-highlight {
        color: #FFD700 !important;
        -webkit-text-fill-color: #FFD700 !important;
        animation: ios-brand-glow 2s ease-in-out infinite alternate !important;
        transform: none !important;
        will-change: color, text-shadow !important;
    }
}