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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

:root {
    /* Cores da marca */
    --azul-naval: #003D7A;
    --azul-tech: #0066CC;
    --ciano: #00B4D8;
    --verde: #00D084;
    --laranja: #FF6B35;
    
    /* Dark Mode (padrão) */
    --bg-primary: #0A0A0A;
    --bg-secondary: #1A1A1A;
    --bg-tertiary: #252525;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    --card-bg: #1A1A1A;
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    /* Light Mode */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-tertiary: #EEEEEE;
    --text-primary: #0A0A0A;
    --text-secondary: #1A1A1A;
    --text-muted: #555555;
    --card-bg: #FFFFFF;
    --card-border: rgba(0, 0, 0, 0.1);
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 4vw, 20px);
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(0, 61, 122, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px var(--shadow);
    box-sizing: border-box;
}


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

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

.logo-img {
    height: 50px;
    width: auto;
    min-width: 40px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

/* Fallback - se imagem não existir, o texto aparecerá */
.logo-img[src=""],
.logo-img:not([src]),
.logo-img[alt=""] {
    display: none !important;
}

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

.logo h1 {
    color: var(--branco);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
}

.logo .tagline {
    font-size: 11px;
    color: var(--ciano);
    font-family: 'Roboto Mono', monospace;
    margin-top: -5px;
}

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

.nav a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

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

.btn-nav {
    background: var(--ciano);
    padding: 10px 25px;
    border-radius: 25px;
    color: var(--preto) !important;
    font-weight: 700;
}

.btn-nav:hover {
    background: var(--verde);
    color: var(--preto) !important;
}

.menu-mobile {
    display: none;
    background: none;
    border: none;
    color: var(--branco);
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    min-width: 40px;
}

    .btn-nav {
        background: var(--ciano);
        padding: 10px 20px;
        border-radius: 25px;
        color: var(--preto) !important;
        font-weight: 700;
        white-space: nowrap;
        min-width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
        width: auto;
    }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--azul-naval) 0%, var(--azul-tech) 50%, var(--ciano) 100%),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover;
    position: relative;
    padding-top: 100px;
    color: var(--branco);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 40px 20px;
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.hero-logo-img {
    max-width: 300px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    animation: fadeIn 1s ease-out;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

/* Fallback - se imagem não carregar, mostra texto */
.hero-logo-img:not([src]),
.hero-logo-img[src=""] {
    display: none;
}

.hero-logo-text {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -2px;
    animation: fadeIn 1s ease-out 0.2s both;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Se não tem imagem, texto aparece sozinho */
.hero-logo-wrapper:not(:has(.hero-logo-img[src])) .hero-logo-text {
    margin-bottom: 0;
}

.hero-logo {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
    animation: fadeIn 1s ease-out;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    animation: slideUp 1s ease-out 0.3s both;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 24px);
    margin-bottom: 15px;
    opacity: 0.95;
    animation: slideUp 1s ease-out 0.6s both;
    line-height: 1.6;
}

.hero-location {
    font-size: clamp(14px, 1.8vw, 18px);
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideUp 1s ease-out 0.9s both;
}

.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: slideUp 1s ease-out 1.2s both;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 1s ease-out 1.5s both;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--verde), #00A86B);
    color: var(--branco);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 208, 132, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--branco);
    color: var(--branco);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--branco);
    color: var(--azul-naval);
    transform: translateY(-3px);
}

.btn-tertiary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--branco);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--branco);
    transform: translateY(-3px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========================================
   SECTION TITLES
   ======================================== */
.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    padding: 100px clamp(15px, 4vw, 20px);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.stats .section-title {
    color: var(--branco);
}

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

.stat-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ciano);
}

.stat-number {
    font-size: 72px;
    font-weight: 800;
    color: var(--ciano);
    margin-bottom: 10px;
    font-family: 'Roboto Mono', monospace;
}

.stat-label {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 14px;
    opacity: 0.8;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: 100px clamp(15px, 4vw, 20px);
    background: var(--bg-primary);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--card-border);
    box-sizing: border-box;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.3);
    border-color: var(--azul-tech);
}

.service-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    color: var(--azul-tech);
    margin-bottom: 15px;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content li {
    padding: 8px 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.service-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--verde);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ========================================
   STACK SECTION
   ======================================== */
.stack {
    padding: 100px clamp(15px, 4vw, 20px);
    background: linear-gradient(135deg, var(--azul-naval), var(--azul-tech));
    color: var(--branco);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.stack .section-title {
    color: var(--branco);
}

.stack .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.stack-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.stack-category h3 {
    font-size: 28px;
    color: var(--ciano);
    margin-bottom: 20px;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border-color: var(--ciano);
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    padding: 100px 20px;
    background: var(--cinza-escuro);
    color: var(--branco);
}

.projects .section-title {
    color: var(--branco);
}

.projects-carousel-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.projects-carousel {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.project-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 40px;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-info h3 {
    font-size: 28px;
    color: var(--ciano);
    margin-bottom: 15px;
}

.project-stack {
    color: var(--verde);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

.project-desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.project-result {
    background: rgba(0, 208, 132, 0.1);
    border-left: 4px solid var(--verde);
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 180, 216, 0.9);
    color: var(--branco);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-arrow:hover {
    background: var(--ciano);
    transform: translateY(-50%) scale(1.15);
}

.projects-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 20px;
}

.projects-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-indicators .indicator.active {
    background: var(--ciano);
    transform: scale(1.2);
}

/* ========================================
   DIFFERENTIALS SECTION
   ======================================== */
.differentials {
    padding: 100px 20px;
    background: var(--branco);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.differential-card {
    background: var(--branco);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.differential-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.3);
}

.differential-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.differential-card h3 {
    font-size: 22px;
    color: var(--azul-naval);
    margin: 20px 20px 15px;
}

.differential-card p {
    padding: 0 20px 20px;
    color: var(--cinza-medio);
    line-height: 1.7;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--azul-naval), var(--azul-tech));
    color: var(--branco);
}

.testimonials .section-title {
    color: var(--branco);
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
}

.testimonials-carousel {
    position: relative;
    min-height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-stars {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-author {
    font-weight: 700;
    color: var(--ciano);
    text-align: center;
    font-size: 16px;
}

.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonials-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-indicators .indicator.active {
    background: var(--ciano);
    transform: scale(1.2);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process {
    padding: 100px clamp(15px, 4vw, 20px);
    background: var(--bg-primary);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.process-timeline {
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--azul-tech), var(--ciano));
}

.process-step {
    display: flex;
    gap: 30px;
    position: relative;
    padding-left: 100px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.step-number {
    position: absolute;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--azul-tech);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.process-step h3 {
    font-size: 24px;
    color: var(--azul-naval);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--cinza-medio);
    line-height: 1.7;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--branco) 0%, #F5F5F5 100%);
}

.team-lead {
    background: linear-gradient(135deg, var(--azul-naval), var(--azul-tech));
    color: var(--branco);
    padding: 60px;
    border-radius: 30px;
    margin-bottom: 60px;
    box-shadow: 0 20px 60px rgba(0, 61, 122, 0.3);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-lead h3 {
    font-size: 32px;
    color: var(--ciano);
    margin-bottom: 30px;
    text-align: center;
}

.team-lead-info {
    font-size: 18px;
    line-height: 1.8;
}

.team-lead-info p {
    margin-bottom: 15px;
}

.team-lead-info ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.team-lead-info li {
    padding: 5px 0;
}

.btn-portfolio {
    display: inline-block;
    background: var(--verde);
    color: var(--preto);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.3);
}

.btn-portfolio:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 208, 132, 0.5);
}

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

.team-card {
    background: var(--branco);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.3);
}

.team-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.team-card h3 {
    font-size: 22px;
    color: var(--azul-naval);
    margin: 20px 20px 10px;
}

.team-card p {
    margin: 10px 20px;
    color: var(--cinza-medio);
}

.team-card ul {
    list-style: none;
    padding: 0 20px 20px;
}

.team-card li {
    padding: 5px 0;
    color: var(--cinza-medio);
}

.team-card li:before {
    content: "•";
    color: var(--verde);
    margin-right: 10px;
    font-weight: bold;
}

.team-closing {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
    font-size: 18px;
    color: var(--cinza-medio);
    line-height: 1.8;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing {
    padding: 100px 20px;
    background: var(--branco);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--branco);
    border: 2px solid #E0E0E0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--azul-tech);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.2);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--laranja);
    color: var(--branco);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 28px;
    color: var(--azul-naval);
    margin-bottom: 10px;
}

.pricing-subtitle {
    color: var(--cinza-medio);
    margin-bottom: 20px;
    font-size: 14px;
}

.pricing-price {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--preto);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--cinza-medio);
}

.btn-pricing {
    display: inline-block;
    background: var(--azul-tech);
    color: var(--branco);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-pricing-featured {
    background: var(--verde);
    color: var(--preto);
}

.btn-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.pricing-guarantees {
    text-align: center;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    font-size: 16px;
    color: var(--cinza-medio);
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: 100px clamp(15px, 4vw, 20px);
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.05), rgba(0, 180, 216, 0.05));
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
    width: 100%;
    box-sizing: border-box;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--card-border);
    width: 100%;
    box-sizing: border-box;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.faq-question:hover {
    background: rgba(0, 102, 204, 0.1);
}

.faq-question.active {
    background: rgba(0, 102, 204, 0.15);
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0;
    opacity: 0;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 25px 25px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================================
   CTA FINAL SECTION
   ======================================== */
.cta-final {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--azul-naval) 0%, var(--azul-tech) 50%, var(--ciano) 100%),
                url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920&q=80') center/cover;
    color: var(--branco);
    text-align: center;
    position: relative;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.cta-final .container {
    position: relative;
    z-index: 2;
}

.cta-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-logo-img {
    max-width: 250px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

/* Fallback - se imagem não carregar */
.cta-logo-img:not([src]),
.cta-logo-img[src=""] {
    display: none;
}

.cta-logo-text {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2px;
}

.cta-logo-wrapper:not(:has(.cta-logo-img[src])) .cta-logo-text {
    margin-bottom: 0;
}

.cta-logo {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.cta-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 50px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-cta-primary,
.btn-cta-secondary,
.btn-cta-tertiary {
    padding: 25px 50px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: var(--branco);
}

.btn-cta-primary {
    background: var(--verde);
    color: var(--preto);
}

.btn-cta-secondary {
    background: #25D366;
}

.btn-cta-tertiary {
    background: #EA4335;
}

.btn-cta-primary:hover,
.btn-cta-secondary:hover,
.btn-cta-tertiary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.btn-cta-primary small,
.btn-cta-secondary small,
.btn-cta-tertiary small {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
}

.cta-urgency {
    background: rgba(255, 107, 53, 0.2);
    border-left: 4px solid var(--laranja);
    padding: 20px;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
}

.cta-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-badges span {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--cinza-escuro);
    color: var(--branco);
    padding: 60px 20px 20px;
}

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

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--ciano);
}

.footer-tagline {
    font-weight: 600;
    color: var(--ciano);
    margin-bottom: 10px;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
}

.footer-col p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-col h4 {
    color: var(--ciano);
    margin-bottom: 20px;
    font-size: 20px;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--ciano);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* ========================================
   RESPONSIVE - TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-logo-img {
        max-width: 250px;
    }
    
    .hero-logo-text {
        font-size: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .differentials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .project-slide {
        grid-template-columns: 1fr;
    }
    
    .project-info {
        padding: 30px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .logo .tagline {
        font-size: 9px;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--azul-naval);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav a {
        padding: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .menu-mobile {
        display: block;
        background: none;
        border: none;
        color: var(--branco);
        font-size: 32px;
        cursor: pointer;
        padding: 5px;
    }
    
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-logo-wrapper {
        margin-bottom: 20px;
    }
    
    .hero-logo-img {
        max-width: 200px;
    }
    
    .hero-logo-text {
        font-size: 48px;
    }
    
    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: clamp(14px, 4vw, 18px);
    }
    
    .hero-location {
        font-size: clamp(12px, 3vw, 14px);
        margin-bottom: 20px;
    }
    
    .hero-badges {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .badge {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 15px;
        box-sizing: border-box;
        padding: 0;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-tertiary {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 16px 30px;
        font-size: 16px;
        box-sizing: border-box;
    }
    
    .section-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: clamp(14px, 4vw, 18px);
        margin-bottom: 40px;
    }
    
    /* Stats */
    .stats {
        padding: 60px clamp(15px, 4vw, 20px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-label {
        font-size: 16px;
    }
    
    .stat-desc {
        font-size: 12px;
    }
    
    /* Services */
    .services {
        padding: 60px clamp(15px, 4vw, 20px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
    
    /* Stack */
    .stack {
        padding: 60px 20px;
    }
    
    .stack-category h3 {
        font-size: 22px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tech-item {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    /* Projects */
    .projects {
        padding: 60px 20px;
    }
    
    .project-slide {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .project-image {
        height: 250px;
        min-height: 250px;
    }
    
    .project-info {
        padding: 25px 20px;
    }
    
    .project-info h3 {
        font-size: 22px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    /* Differentials */
    .differentials {
        padding: 60px 20px;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .differential-image {
        height: 180px;
    }
    
    .differential-card h3 {
        font-size: 20px;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 60px 20px;
    }
    
    .testimonial-slide {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    /* Process */
    .process {
        padding: 60px clamp(15px, 4vw, 20px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .process-timeline {
        margin-top: 40px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        padding-left: 70px;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
    }
    
    .step-number {
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .step-icon {
        font-size: 36px;
    }
    
    .process-step h3 {
        font-size: 20px;
        width: 100%;
    }
    
    .process-step p {
        font-size: 14px;
        width: 100%;
    }
    
    /* Team */
    .team {
        padding: 60px 20px;
    }
    
    .team-lead {
        padding: 30px 20px;
    }
    
    .team-lead h3 {
        font-size: 24px;
    }
    
    .team-lead-info {
        font-size: 16px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .team-image {
        height: 200px;
    }
    
    /* Pricing */
    .pricing {
        padding: 60px 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    .pricing-card h3 {
        font-size: 24px;
    }
    
    .pricing-price {
        font-size: 20px;
    }
    
    .pricing-guarantees {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }
    
    /* FAQ */
    .faq {
        padding: 60px clamp(15px, 4vw, 20px);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
    
    .faq-answer.active {
        padding: 0 20px 20px;
    }
    
    /* CTA Final */
    .cta-final {
        padding: 60px 20px;
    }
    
    .cta-logo-wrapper {
        margin-bottom: 20px;
    }
    
    .cta-logo-img {
        max-width: 200px;
    }
    
    .cta-logo-text {
        font-size: 40px;
    }
    
    .cta-title {
        font-size: clamp(28px, 8vw, 36px);
    }
    
    .cta-subtitle {
        font-size: clamp(14px, 4vw, 16px);
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-tertiary {
        width: 100%;
        padding: 20px 30px;
        font-size: 16px;
    }
    
    .cta-urgency {
        font-size: 14px;
        padding: 15px;
    }
    
    .cta-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-badges span {
        font-size: 12px;
        padding: 8px 15px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-col h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE SMALL (480px)
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo-img {
        height: 35px;
        min-width: 30px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo .tagline {
        font-size: 8px;
    }
    
    .nav {
        top: 60px;
    }
    
    .hero {
        padding-top: 70px;
        padding-bottom: 50px;
    }
    
    .hero-logo-img {
        max-width: 150px;
    }
    
    .hero-logo-text {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-location {
        font-size: 12px;
    }
    
    .badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .service-content h3,
    .differential-card h3,
    .team-card h3 {
        font-size: 18px;
    }
    
    .tech-item {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .project-info h3 {
        font-size: 20px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .process-step {
        padding-left: 60px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .step-icon {
        font-size: 32px;
    }
    
    .team-lead h3 {
        font-size: 20px;
    }
    
    .team-lead-info {
        font-size: 14px;
    }
    
    .pricing-card h3 {
        font-size: 20px;
    }
    
    .pricing-price {
        font-size: 18px;
    }
    
    .faq-question {
        padding: 18px;
        font-size: 14px;
    }
    
    .cta-logo-img {
        max-width: 150px;
    }
    
    .cta-logo-text {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .footer-logo-img {
        height: 30px;
    }
    
    .footer-logo {
        font-size: 20px;
    }
}
