:root {
    --bg-color: #050511;
    --bg-darker: #02020a;
    --primary-color: #FF5A36;
    /* Coral Redshift */
    --primary-hover: #ff7b5f;
    --secondary-color: #00B4D8;
    /* Neon Blue */
    --text-color: #E0E0E0;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #0f1025;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

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

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #ff2e63);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 90, 54, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 54, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--text-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.gradient-text {
    background: linear-gradient(90deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Canvas Background --- */
#stars-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* --- Header --- */
header {
    background: rgba(5, 5, 17, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

/* Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    max-height: 48px;
    /* Adjusted size for header */
    width: auto;
    transition: transform 0.3s;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Header offset */
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 650px;
}

.badge {
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* --- Metrics Bar --- */
.metrics-bar {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 40px 0;
    backdrop-filter: blur(5px);
}

.metrics-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

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

.metric-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.metric-item h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.metric-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Differentiation Section --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comparison-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.comparison-card.bad {
    opacity: 0.7;
}

.comparison-card.good {
    background: radial-gradient(circle at top right, rgba(0, 180, 216, 0.1), transparent);
    border: 1px solid var(--secondary-color);
    transform: scale(1.02);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--secondary-color);
    color: #000;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.comparison-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
}

.comparison-card ul {
    list-style: none;
}

.comparison-card ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comparison-card.bad ul li i {
    color: #ff2e63;
}

.comparison-card.good ul li i {
    color: #00f5d4;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 90, 54, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-list {
    list-style: none;
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-top: 20px;
    max-height: 200px;
    /* Approximate max height */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Contact --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-card h4 {
    color: white;
    margin-bottom: 5px;
}

.info-card a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.info-card a:hover {
    color: var(--secondary-color);
}

.contact-form-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* --- Footer --- */
footer {
    background: #000;
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center vertically for simpler layout */
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links h4,
.footer-social h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid #111;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .comparison-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Methodology Section (Overlapping Circles) --- */
.methodology-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    overflow-x: hidden;
    /* Prevent horizontal scroll from overlap */
}

.method-circles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

.method-circle {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    color: white;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Specific Colors matching the reference image */
.circle-strategy {
    background: linear-gradient(135deg, rgba(93, 124, 185, 0.9), rgba(60, 90, 150, 0.8));
    z-index: 1;
}

.circle-management {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.9), rgba(80, 90, 100, 0.8));
    margin-left: -50px;
    /* Overlap */
    z-index: 2;
}

.circle-connection {
    background: linear-gradient(135deg, rgba(157, 122, 210, 0.9), rgba(120, 90, 180, 0.8));
    margin-left: -50px;
    /* Overlap */
    z-index: 3;
}

.circle-cycle {
    background: linear-gradient(135deg, rgba(255, 159, 122, 0.9), rgba(255, 90, 54, 0.8));
    margin-left: -50px;
    /* Overlap */
    z-index: 4;
}

/* Content Styles */
.method-circle h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.method-circle p {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.95;
    font-weight: 500;
}

/* Hover Effects */
.method-circle:hover {
    transform: scale(1.1) translateY(-10px);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-right: 20px;
    /* Add space on hover */
    margin-left: 0px;
}

/* --- Responsive Methodology --- */
@media (max-width: 900px) {
    .method-circles-container {
        flex-direction: column;
    }

    .method-circle {
        margin-left: 0;
        margin-top: -40px;
        /* Vertical overlap */
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 250px;
        border-radius: 20px;
        /* Rounded rectangles on mobile look better than squashed circles */
    }

    .circle-strategy {
        margin-top: 0;
    }

    .method-circle:hover {
        margin-right: 0;
        margin-left: 0;
        transform: scale(1.05);
        /* Slight scale on mobile */
    }
}

/* --- Growth Graph Section --- */
.growth-graph-container {
    background: linear-gradient(180deg, #050510 0%, #0f1025 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    margin-top: 40px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.axis-y-label {
    position: absolute;
    top: 150px;
    left: 60px;
    transform: rotate(-90deg);
    transform-origin: left top;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.axis-x-label {
    position: absolute;
    bottom: 150px;
    right: 80px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.graph-visual {
    flex-grow: 1;
    position: relative;
    margin: 20px 40px 60px 60px;
    /* Space for axes */
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.growth-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.4));
}

.graph-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.start-point {
    bottom: 15%;
    /* Matches SVG path start roughly */
    left: -10px;
}

.end-point {
    top: -25px;
    right: -10px;
}

.point-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    margin: 5px;
}

.point-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    white-space: nowrap;
}

.end-point .point-label {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--secondary-color);
}

.phases-timeline {
    display: flex;
    justify-content: space-between;
    margin-left: 60px;
    margin-right: 20px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.phase {
    text-align: center;
    position: relative;
    flex: 1;
    padding: 0 5px;
}

.phase:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.phase h4 {
    font-size: 0.8rem;
    color: white;
    margin-bottom: 5px;
    margin-top: 10px;
}

.phase span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}

.phase-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 5px;
    border-radius: 2px;
}

/* Response Graph */
@media (max-width: 768px) {
    .growth-graph-container {
        padding: 20px 10px;
    }

    .graph-visual {
        margin: 10px 10px 40px 30px;
    }

    .start-point {
        left: -10px;
        font-size: 0.8rem;
    }

    .end-point {
        right: -10px;
        font-size: 0.8rem;
    }

    .phases-timeline {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-left: 10px;
    }

    .phase {
        border-right: none !important;
        margin-bottom: 10px;
        background: rgba(255, 255, 255, 0.02);
        padding: 10px;
        border-radius: 8px;
    }

    .phase-bar {
        display: none;
    }

    .axis-y-label {
        left: 5px;
        font-size: 0.7rem;
    }
}


/* DAQUI PRA BAIXO É TUDO GEMINI */

/* --- AJUSTE DE HIERARQUIA (SEO) --- */
/* Garante que os novos H3 tenham o tamanho visual dos antigos H4 */

.phase h3 {
    margin: 0 !important;
    font-size: 0.9rem !important; /* Tamanho pequeno para o gráfico */
    color: white;
    font-weight: 700;
}

.info-card h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1rem; /* Tamanho adequado para contato */
}

footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem; /* Tamanho para o rodapé */
    font-weight: 700;
}

/* --- AJUSTE DE ALINHAMENTO DO RODAPÉ --- */
@media screen and (min-width: 769px) {
    .footer-content {
        align-items: flex-start !important; /* Alinha tudo pelo topo (teto) */
    }
    
    /* Um ajuste fino pra logo não ficar colada demais no teto se os títulos tiverem margem */
    .footer-brand {
        margin-top: 0px; 
    }
    
    /* Garante que os títulos H3 fiquem na mesma linha visual */
    footer h3 {
        margin-top: 0 !important;
    }
}

/* =========================================
   AJUSTE FINAL MOBILE: HEADER LADO A LADO + EXPLORE QUICANDO
   Cole no FINAL do style.css
   ========================================= */

@media screen and (max-width: 768px) {

    /* --- 1. CABEÇALHO LADO A LADO (Igual sua imagem) --- */
    nav.container {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 20px !important;
        gap: 10px;
    }

    .logo-img {
        max-height: 28px !important; 
        width: auto;
    }

    /* Botão do Header "Emagrecido" */
    header .btn {
        font-size: 0.75rem !important;
        padding: 8px 15px !important;
        white-space: nowrap;
        width: auto !important;
    }

    .nav-links { display: none; }


    /* --- 2. CAPA (HERO) --- */
    .hero {
        padding-top: 120px !important; 
        padding-bottom: 60px !important;
        height: auto !important;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }


    /* --- 3. BOTÕES E EXPLORE --- */
    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 30px;
        margin-bottom: 50px; /* Espaço para o Explore */
    }

    /* O Explore DESTRAVADO para quicar */
    .scroll-indicator {
        position: relative !important; /* Volta pro fluxo normal */
        left: auto !important;         /* Tira do centro absoluto */
        bottom: auto !important;
        
        /* O SEGREDO DO PULO ESTÁ AQUI EMBAIXO 👇 */
        transform: translateY(0);      /* Reseta só a posição, deixa animar */
        margin-left: 0 !important;     /* Remove margens antigas */
        
        width: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        opacity: 1 !important;
        
        /* Aplica a animação com força total */
        animation: mobile-quica 2s infinite; 
    }

    /* Animação exclusiva pro Mobile */
    @keyframes mobile-quica {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-10px); }
        60% { transform: translateY(-5px); }
    }


    /* --- 4. AJUSTES GERAIS (RESTO DO SITE) --- */
    .section-padding { padding: 40px 0 !important; }
    
    .services-grid, 
    .comparison-grid, 
    .metrics-bar .container,
    .contact-wrapper,
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }

    .contact-info, .contact-form-box { width: 100% !important; }
    .social-icons { justify-content: center !important; }
    
    /* Esconde o Gráfico no Mobile */
    .growth-graph-container,
    section.section-padding:has(.growth-graph-container) {
        display: none !important;
    }
}