/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --blue: #0047FF;
    --orange: #FF6B35;
    --yellow: #FFD700;
    --gray: #F5F5F5;
    --gray-dark: #666666;
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --shadow-hard: 4px 4px 0px 0px var(--black);
    --shadow-hard-lg: 8px 8px 0px 0px var(--black);
}

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

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

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

.text-blue { color: var(--blue); }
.text-yellow { color: var(--yellow); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 2px solid var(--black);
    transition: all 0.2s;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-hard);
}

.btn-primary:hover {
    background: var(--black);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px var(--black);
}

.btn-outline {
    background: transparent;
    color: var(--black);
    box-shadow: var(--shadow-hard);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px var(--black);
}

.btn-white {
    background: var(--white);
    color: var(--blue);
    box-shadow: var(--shadow-hard-lg);
}

.btn-white:hover {
    background: var(--yellow);
    color: var(--black);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--blue);
}

.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ===== BADGE ===== */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--yellow);
    border: 2px solid var(--black);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-hard);
}

.badge-white {
    background: var(--white);
    color: var(--black);
}

/* ===== MARQUEE HEADER ===== */
.marquee-header {
    background: var(--black);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== EXTRAS TRIGGER ===== */
.extras-trigger {
    margin-top: 48px;
    text-align: center;
    border-top: 2px dashed var(--black);
    padding-top: 40px;
}
.extras-trigger p {
    margin-top: 12px;
    color: #555;
    font-size: .875rem;
}
.btn-extras {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    padding: 14px 32px;
    font-family: var(--font-mono);
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.btn-extras:hover {
    background: var(--white);
    color: var(--black);
}

/* ===== EXTRAS MODAL ===== */
.extras-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.extras-modal.open {
    display: flex;
}
.extras-modal-inner {
    background: var(--white);
    border: 2px solid var(--black);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}
.extras-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}
.extras-modal-header h3 {
    font-size: 1.5rem;
    margin: 8px 0 4px;
}
.extras-modal-header p {
    color: #555;
    font-size: .875rem;
}
.extras-close {
    background: none;
    border: 2px solid var(--black);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s;
}
.extras-close:hover {
    background: var(--black);
    color: var(--white);
}
.extras-list {
    list-style: none;
    margin-bottom: 32px;
}
.extras-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: .9rem;
    gap: 16px;
}
.extras-list li:last-child { border-bottom: none; }
.extras-list li span:last-child {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .8rem;
    white-space: nowrap;
    color: var(--blue);
}
.extras-list-highlight {
    background: #f9f9f9;
    margin: 0 -8px;
    padding-left: 8px !important;
    padding-right: 8px !important;
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border: 2px solid var(--black);
    box-shadow: 3px 3px 0px 0px var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-line1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--blue);
    line-height: 1.1;
}

.logo-line2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--yellow);
    line-height: 1.1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.nav-links a:not(.btn):hover {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-title {
    margin: 0;
}

.hero-description {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--gray-dark);
    border-left: 4px solid var(--orange);
    padding-left: 24px;
    padding: 8px 0 8px 24px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--black);
    margin-left: -16px;
}

.avatars img:first-child {
    margin-left: 0;
}

.rating .stars {
    color: var(--yellow);
    font-size: 20px;
    letter-spacing: 2px;
}

.rating p {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    background: var(--blue);
    border: 2px solid var(--black);
    box-shadow: var(--shadow-hard-lg);
    padding: 8px;
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.image-wrapper:hover {
    transform: rotate(0deg);
}

.image-wrapper img {
    border: 2px solid var(--black);
    width: 100%;
    height: auto;
}

.stat-card {
    position: absolute;
    bottom: -48px;
    left: -48px;
    background: var(--yellow);
    border: 2px solid var(--black);
    padding: 24px;
    box-shadow: var(--shadow-hard);
    max-width: 256px;
    transform: rotate(-3deg);
    z-index: 10;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 8px;
}

.stat-text {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.4;
}

/* ===== PROBLEM/SOLUTION SECTION ===== */
.problem-solution {
    background: var(--blue);
    color: var(--white);
    padding: 80px 0;
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.ps-grid h2 {
    margin-bottom: 32px;
}

.ps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ps-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 16px;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 4px;
    border: 2px solid var(--white);
    flex-shrink: 0;
}

.icon-box svg {
    display: block;
    width: 20px;
    height: 20px;
}

.icon-problem {
    background: var(--orange);
    box-shadow: 4px 4px 0px 0px rgba(255,255,255,1);
}

.icon-solution {
    background: #16a34a;
    border-color: var(--white);
    box-shadow: 4px 4px 0px 0px rgba(255,255,255,1);
    color: var(--white);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--gray);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .badge {
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.subtitle {
    font-family: var(--font-mono);
    font-size: 18px;
    color: var(--gray-dark);
}

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

.service-card {
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: var(--shadow-hard);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-color {
    height: 8px;
    width: 100%;
    border: 2px solid var(--black);
    margin: -32px -32px 24px -32px;
    width: calc(100% + 64px);
}

.service-color.blue { background: #DBEAFE; }
.service-color.purple { background: #E9D5FF; }
.service-color.orange { background: #FED7AA; }

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--blue);
    border: 2px solid var(--black);
    box-shadow: var(--shadow-hard);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon i {
    color: var(--white);
    width: 32px;
    height: 32px;
}

.service-card h3 {
    margin-bottom: 16px;
    min-height: 64px;
}

.service-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 12px;
}

.service-features i {
    color: var(--blue);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: var(--white);
    padding: 48px 0;
}

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

.portfolio-item {
    cursor: pointer;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--black);
    box-shadow: var(--shadow-hard);
    transition: box-shadow 0.3s;
}

.portfolio-item:hover .portfolio-image {
    box-shadow: var(--shadow-hard-lg);
}

.portfolio-image img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.portfolio-item:hover .portfolio-image img {
    filter: grayscale(0%);
}

.portfolio-info {
    margin-top: 16px;
}

.portfolio-info .badge {
    margin-bottom: 8px;
}

.portfolio-info h3 {
    margin-bottom: 8px;
}

.portfolio-info p {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--gray-dark);
}

/* ===== PROCESS SECTION ===== */
.process {
    background: var(--gray);
    padding: 48px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.process-card {
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: var(--shadow-hard);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.2s;
}

.process-card:hover {
    transform: translateY(-6px);
}

.process-emoji {
    font-size: 40px;
    margin-bottom: 10px;
}

.process-number {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 36px;
    color: var(--blue);
    margin-bottom: 10px;
}

.process-card h3 {
    margin-bottom: 10px;
}

.process-card p {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--gray-dark);
}

/* ===== FAQ SECTION ===== */
.faq {
    background: var(--white);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 2px solid var(--black);
    box-shadow: var(--shadow-hard);
}

.faq-question {
    width: 100%;
    padding: 24px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--gray);
}

.faq-icon {
    font-size: 24px;
    font-weight: 700;
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    border-top: 2px solid var(--black);
}

.faq-answer p {
    padding: 24px;
    font-family: var(--font-mono);
    color: var(--gray-dark);
    background: var(--gray);
}

/* ===== CTA SECTION ===== */
.cta {
    background: var(--blue);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta .badge {
    margin-bottom: 32px;
}

.cta h2 {
    margin-bottom: 32px;
}

.cta-description {
    font-family: var(--font-mono);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 48px;
    color: rgba(255,255,255,0.9);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 48px 0;
    border-top: 2px solid var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-col p {
    font-family: var(--font-mono);
    font-size: 14px;
    color: #999;
}

.footer-col h4 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-size: 16px;
}

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

.footer-col ul li {
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #999;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--yellow);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: scale(1.2);
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 14px;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 2px solid var(--black);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .ps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid,
    .portfolio-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .section-header,
    .services,
    .faq,
    .hero,
    .problem-solution {
        padding: 60px 0;
    }

    .portfolio,
    .process {
        padding: 40px 0;
    }
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

/* ===== CTA FORM ===== */
.cta-form {
    max-width: 600px;
    margin: 0 auto 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-group input:focus,
.form-group select:focus {
    background: rgba(255, 255, 255, 0.2);
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

.form-group select option {
    color: var(--black);
    background: var(--white);
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.cta-whatsapp {
    text-align: center;
    margin-top: 8px;
}

.cta-whatsapp p {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

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

/* ===== METHOD PROOF ===== */
.method-proof {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 2px solid var(--black);
}

.method-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-item i {
    color: var(--blue);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* ===== SERVICE SCOPE (inclui / não inclui) ===== */
.service-scope {
    flex-grow: 1;
    margin-bottom: 24px;
}

.scope-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    margin-top: 16px;
}

.scope-label:first-child {
    margin-top: 0;
}

.scope-label.include {
    color: var(--blue);
}

.scope-label.include i,
.scope-label.exclude i {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.scope-label.exclude {
    color: #999;
}

.service-excludes {
    list-style: none;
}

.service-excludes li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.service-excludes i {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: #ccc;
}

/* ===== FORM PRIVACY ===== */
.form-privacy {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    line-height: 1.5;
    margin-top: -4px;
}

.form-privacy a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.form-privacy a:hover {
    color: var(--white);
}

/* ===== DEMO MODAL ===== */
.demo-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    align-items: flex-start;
    justify-content: center;
}

.demo-modal.open {
    display: flex;
}

.demo-modal-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Overlay bar — always visible on top of iframe */
.demo-topbar {
    background: var(--black);
    border-bottom: 3px solid var(--blue);
    padding: 0 20px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 12px;
}

.demo-topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .875rem;
    color: var(--white);
    min-width: 0;
}

.demo-brand-icon {
    width: 28px;
    height: 28px;
    background: var(--blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 900;
    border-radius: 4px;
    flex-shrink: 0;
}

.demo-topbar-sep {
    color: #444;
    margin: 0 2px;
}

.demo-topbar-label {
    color: #aaa;
    font-weight: 400;
    font-size: .8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
}

.demo-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.demo-newtab {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: .72rem;
    padding: 6px 12px;
    border: 1px solid #333;
    transition: all .2s;
    white-space: nowrap;
}

.demo-newtab:hover {
    color: var(--white);
    border-color: #666;
}

.demo-newtab i {
    width: 13px;
    height: 13px;
}

.demo-close {
    background: none;
    border: 1px solid #333;
    color: #aaa;
    cursor: pointer;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.demo-close:hover {
    color: var(--white);
    border-color: #666;
    background: #1a1a1a;
}

.demo-close i {
    width: 16px;
    height: 16px;
}

.demo-iframe {
    flex: 1;
    width: 100%;
    border: none;
    display: block;
    background: #fff;
}

/* ===== DEMO BUTTON (service cards) ===== */
.btn-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    background: none;
    border: 2px dashed rgba(0, 0, 0, 0.15);
    color: var(--gray-dark);
    font-size: .8rem;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .5px;
}

.btn-demo:hover {
    border-color: var(--blue);
    border-style: solid;
    color: var(--blue);
    background: rgba(0, 71, 255, 0.04);
}

.btn-demo i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===== PORTFOLIO ACTIONS ===== */
.portfolio-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.portfolio-actions a,
.portfolio-actions button {
    flex: 1;
    padding: 9px 14px;
    text-align: center;
    font-size: .78rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
}

.portfolio-actions i {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.btn-portfolio-demo {
    background: var(--black) !important;
    color: var(--white) !important;
}

.btn-portfolio-demo:hover {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
}

.btn-portfolio-visit {
    background: var(--white) !important;
    color: var(--black) !important;
}

.btn-portfolio-visit:hover {
    background: var(--black) !important;
    color: var(--white) !important;
}

/* logo-dot definido junto com .logo-main acima */

/* ===== PARA QUEM SECTION ===== */
.para-quem {
    padding: 48px 0;
    background: var(--black);
    color: var(--white);
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
}

.para-quem .section-header h2 {
    color: var(--white);
}

.para-quem .section-header .subtitle {
    color: #aaa;
}

.para-quem .badge {
    background: var(--yellow);
    color: var(--black);
}

.para-quem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.para-quem-card {
    background: #111;
    border: 2px solid #333;
    padding: 22px 20px;
    transition: border-color 0.2s, transform 0.2s;
}

.para-quem-card:hover {
    border-color: var(--yellow);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px 0px var(--yellow);
}

.para-quem-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.para-quem-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    color: var(--white);
}

.para-quem-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #999;
    line-height: 1.6;
}

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

@media (max-width: 480px) {
    .para-quem-grid {
        grid-template-columns: 1fr;
    }

    .para-quem {
        padding: 40px 0;
    }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--black);
    background: none;
    color: var(--black);
    transition: background .2s, color .2s;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: var(--black);
    color: var(--white);
}

.theme-toggle svg {
    pointer-events: none;
}

/* ===== DARK MODE ===== */

/* Override shadow vars globally for dark mode */
[data-theme="dark"] {
    --shadow-hard: 4px 4px 0px 0px rgba(255,255,255,0.10);
    --shadow-hard-lg: 8px 8px 0px 0px rgba(255,255,255,0.10);
}

[data-theme="dark"] body {
    background-color: #111111;
    color: #EAEAEA;
}

/* Navbar */
[data-theme="dark"] .navbar {
    background: #111111;
    border-bottom-color: #333;
}

[data-theme="dark"] .nav-links {
    background: #111111;
    border-bottom-color: #333;
}

[data-theme="dark"] .nav-links a:not(.btn) {
    color: #EAEAEA;
}

[data-theme="dark"] .mobile-menu-btn {
    color: #EAEAEA;
}

[data-theme="dark"] .theme-toggle {
    border-color: #EAEAEA;
    color: #EAEAEA;
}

[data-theme="dark"] .theme-toggle:hover {
    background: #EAEAEA;
    color: #111;
}

[data-theme="dark"] .btn-outline {
    color: #EAEAEA;
    border-color: #EAEAEA;
    box-shadow: 4px 4px 0px 0px rgba(255,255,255,.18);
}

[data-theme="dark"] .btn-outline:hover {
    background: #EAEAEA;
    color: #111111;
}

/* Hero */
[data-theme="dark"] .hero {
    background: #111111;
}

[data-theme="dark"] .hero-description {
    color: #AAAAAA;
}

[data-theme="dark"] .image-wrapper {
    border-color: #444;
    box-shadow: 8px 8px 0px 0px #3a3a3a;
}

[data-theme="dark"] .avatars img {
    border-color: #444;
}

[data-theme="dark"] .rating p {
    color: #EAEAEA;
}

[data-theme="dark"] .stat-card {
    border-color: #555;
    box-shadow: 4px 4px 0px 0px #555;
}

/* Badges (yellow bg — text must stay dark) */
[data-theme="dark"] .badge {
    border-color: #555;
    color: #111111;
}

/* Services */
[data-theme="dark"] .services {
    background: #1A1A1A;
}

[data-theme="dark"] .service-card {
    background: #1E1E1E;
    border-color: #444;
    box-shadow: 4px 4px 0px 0px #3a3a3a;
}

[data-theme="dark"] .service-card p,
[data-theme="dark"] .service-features li {
    color: #AAAAAA;
}

[data-theme="dark"] .service-price {
    color: #EAEAEA;
}

[data-theme="dark"] .service-color.blue  { background: #1e3a8a; border-color: #444; }
[data-theme="dark"] .service-color.purple { background: #4c1d95; border-color: #444; }
[data-theme="dark"] .service-color.orange { background: #9a3412; border-color: #444; }

[data-theme="dark"] .scope-label.exclude { color: #666; }
[data-theme="dark"] .service-excludes li { color: #666; }
[data-theme="dark"] .service-excludes i  { color: #555; }

[data-theme="dark"] .btn-demo {
    border-color: rgba(255,255,255,.15);
    color: #777;
}

[data-theme="dark"] .btn-demo:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(0,71,255,.06);
}

/* Extras */
[data-theme="dark"] .extras-trigger {
    border-top-color: #333;
}

[data-theme="dark"] .extras-trigger p {
    color: #777;
}

[data-theme="dark"] .btn-extras {
    background: #EAEAEA;
    color: #111111;
    border-color: #EAEAEA;
}

[data-theme="dark"] .btn-extras:hover {
    background: #333;
    color: #EAEAEA;
}

[data-theme="dark"] .extras-modal-inner {
    background: #1A1A1A;
    border-color: #444;
}

[data-theme="dark"] .extras-modal-header h3 { color: #EAEAEA; }
[data-theme="dark"] .extras-modal-header p  { color: #AAAAAA; }

[data-theme="dark"] .extras-close {
    border-color: #444;
    color: #EAEAEA;
}

[data-theme="dark"] .extras-close:hover {
    background: #333;
    color: #EAEAEA;
}

[data-theme="dark"] .extras-list li {
    border-bottom-color: #333;
    color: #EAEAEA;
}

[data-theme="dark"] .extras-list li span:last-child {
    color: var(--blue);
}

[data-theme="dark"] .extras-list-highlight {
    background: #252525;
}

/* Portfolio */
[data-theme="dark"] .portfolio {
    background: #111111;
}

[data-theme="dark"] .portfolio-image {
    border-color: #444;
    box-shadow: 4px 4px 0px 0px #3a3a3a;
}

[data-theme="dark"] .portfolio-info p {
    color: #AAAAAA;
}

[data-theme="dark"] .portfolio-actions a,
[data-theme="dark"] .portfolio-actions button {
    background: #1E1E1E;
    border-color: #444;
    color: #EAEAEA;
}

[data-theme="dark"] .btn-portfolio-demo {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
}

[data-theme="dark"] .btn-portfolio-visit:hover {
    background: #444 !important;
    color: #EAEAEA !important;
}

/* Process */
[data-theme="dark"] .process {
    background: #1A1A1A;
}

[data-theme="dark"] .process-card {
    background: #1E1E1E;
    border-color: #444;
    box-shadow: 4px 4px 0px 0px #3a3a3a;
}

[data-theme="dark"] .process-card p {
    color: #AAAAAA;
}

/* FAQ */
[data-theme="dark"] .faq {
    background: #111111;
}

[data-theme="dark"] .faq-item {
    border-color: #444;
    box-shadow: 4px 4px 0px 0px #3a3a3a;
}

[data-theme="dark"] .faq-question {
    background: #1E1E1E;
    color: #EAEAEA;
}

[data-theme="dark"] .faq-question:hover {
    background: #252525;
}

[data-theme="dark"] .faq-item.active .faq-answer {
    border-top-color: #444;
}

[data-theme="dark"] .faq-answer p {
    background: #1A1A1A;
    color: #AAAAAA;
}

/* Section subtitles */
[data-theme="dark"] .subtitle {
    color: #AAAAAA;
}

/* Method proof */
[data-theme="dark"] .method-proof {
    border-top-color: #333;
}

/* Demo modal topbar — always dark (keep it) */
[data-theme="dark"] .demo-topbar {
    background: #0A0A0A;
}

/* Footer — already dark, keep it; just ensure border stays right */
[data-theme="dark"] .footer {
    background: #0A0A0A;
    border-top-color: #333;
}

/* Para Quem — already dark */
[data-theme="dark"] .para-quem {
    background: #0A0A0A;
    color: #EAEAEA;
    border-top-color: #333;
    border-bottom-color: #333;
}

/* Marquee — always dark */
[data-theme="dark"] .marquee-header {
    background: #0A0A0A;
}

/* Stat card — yellow bg, must stay dark text */
[data-theme="dark"] .stat-card,
[data-theme="dark"] .stat-card .stat-number,
[data-theme="dark"] .stat-card .stat-text {
    color: #111111;
}
