/* ========================================
   CODIN - Landing Pages Profissionais
   CSS Stylesheet - Mobile First
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties (Variables)
   ---------------------------------------- */
:root {
    /* Colors */
    --color-primary: #21253E;
    --color-primary-light: #2d3250;
    --color-primary-dark: #181b2e;
    --color-secondary: #EAEAEA;
    --color-secondary-dark: #d4d4d4;
    --color-accent: #4f6ef7;
    --color-accent-light: #7b93f9;
    --color-white: #ffffff;
    --color-black: #0a0b10;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-success: #25d366;
    --color-star: #FFD700;
    
    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(33, 37, 62, 0.08);
    --shadow-md: 0 4px 20px rgba(33, 37, 62, 0.12);
    --shadow-lg: 0 8px 40px rgba(33, 37, 62, 0.16);
    --shadow-xl: 0 16px 60px rgba(33, 37, 62, 0.2);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: 1.25rem;
    
    /* Header Height */
    --header-height: 70px;
}

/* ----------------------------------------
   Reset & Base Styles
   ---------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ----------------------------------------
   Layout
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--color-primary);
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(33, 37, 62, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(33, 37, 62, 0.4);
}

.btn-primary-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-secondary-light {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.btn-cta {
    background: var(--color-success);
    color: var(--color-white);
    font-size: 1.125rem;
    padding: var(--space-lg) var(--space-2xl);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-cta:hover {
    background: #20bd5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ----------------------------------------
   Section Headers
   ---------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(33, 37, 62, 0.08);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-header-light .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-header-light .section-title {
    color: var(--color-white);
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-light);
}

.section-header-light .section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------
   Header & Navigation
   ---------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(33, 37, 62, 0.1);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: var(--space-sm);
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: right var(--transition-base);
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.nav-link {
    display: block;
    padding: var(--space-md);
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: rgba(33, 37, 62, 0.05);
    color: var(--color-primary);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-primary-light);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background-color: #33364D;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%,
        rgba(234, 234, 234, 0.5) 50%,
        rgba(33, 37, 62, 0.05) 100%
    );
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(33, 37, 62, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 37, 62, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero .container {
    display: grid;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    border: 1px solid rgba(33, 37, 62, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
    color: var(--color-white);
}

.hero-title .highlight {
    position: relative;
    color: var(--color-accent-light);
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 8px;
    background: rgba(78, 104, 255, 0.247);
    border-radius: 4px;
    transform: scaleX(0);
    animation: expandLine 0.6s ease 0.8s forwards;
}

@keyframes expandLine {
    to { transform: scaleX(1); }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-secondary-dark);
    max-width: 540px;
    margin: 0 auto var(--space-xl);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-description strong {
    color: var(--color-accent-light);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-1xl);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(33, 37, 62, 0.1);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--color-secondary);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}

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

.web-site {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Hero Visual */
.hero-visual {
    display: none;
}

/* ----------------------------------------
   Sobre Section
   ---------------------------------------- */
.sobre {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.sobre-content {
    display: grid;
    gap: var(--space-3xl);
}

.sobre-text {
    max-width: 600px;
}

.sobre-text .lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text);
}

.sobre-text p {
    color: var(--color-text-light);
}

.sobre-text .btn {
    margin-top: var(--space-lg);
}

.sobre-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.feature-card {
    padding: var(--space-lg);
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

/* ----------------------------------------
   Serviços Section
   ---------------------------------------- */
.servicos {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--color-primary);
    overflow: hidden;
}

.servicos-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(79, 110, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 234, 234, 0.1) 0%, transparent 50%);
}

.servicos-grid {
    display: grid;
    gap: var(--space-lg);
}

.servico-card {
    position: relative;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.servico-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.servico-featured {
    background: var(--color-white);
    border-color: transparent;
}

.servico-featured:hover {
    background: var(--color-white);
}

.servico-featured .servico-icon {
    color: var(--color-primary);
}

.section-title strong {
    color: #7B93F9;
}

.servico-featured h3,
.servico-featured p,
.servico-featured li {
    color: var(--color-text);
}

.servico-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.servico-icon {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.servico-card h3 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.servico-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.servico-featured h3, .servico-featured p {
    color: var(--color-primary);
}

.servico-features {
    margin-bottom: var(--space-lg);
}

.servico-features li {
    position: relative;
    padding-left: var(--space-lg);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.servico-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.servico-featured .servico-features li {
    color: var(--color-text-light);
}

.servico-card .btn {
    width: 100%;
}

.servico-card strong {
    color: var(--color-accent);
}

/* ----------------------------------------
   Portfolio Section
   ---------------------------------------- */
.portfolio {
    padding: var(--space-4xl) 0;
    background: var(--color-secondary);
}

.portfolio-grid {
    display: grid;
    gap: var(--space-lg);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: transparent;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.portfolio-overlay {
    position: absolute;
    inset: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(33, 37, 62, 0.95) 0%, rgba(33, 37, 62, 0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 1;
    transition: opacity var(--transition-base);
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent-light);
    margin-bottom: var(--space-xs);
}

.portfolio-overlay h3 {
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.portfolio-stats {
    font-size: 0.875rem;
    color: var(--color-success);
}

.portfolio-cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ----------------------------------------
   Depoimentos Section
   ---------------------------------------- */
.depoimentos {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.depoimentos-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.depoimentos-track {
    display: flex;
    gap: var(--space-lg);
    transition: transform var(--transition-slow);
}

.depoimento-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: var(--space-xl);
    background: var(--color-secondary);
    border-radius: var(--radius-xl);
}

.depoimento-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.depoimento-text {
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.depoimento-text strong {
    color: var(--color-primary);
    font-style: normal;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-white);
    border: 3px solid var(--color-white);
    box-shadow: var(--shadow-sm);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: var(--color-primary);
}

.author-role {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.slider-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    border-radius: 50%;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.slider-dots {
    display: flex;
    gap: var(--space-sm);
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: var(--color-secondary-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: var(--radius-full);
}

.depoimentos-cta {
    text-align: center;
}

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--color-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-white);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(33, 37, 62, 0.02);
}

.faq-question span:first-child {
    flex: 1;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform var(--transition-base);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p strong {
    color: var(--color-primary);
}

.faq-contact {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    max-width: 600px;
    margin: 0 auto;
}

.faq-contact p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

/* ----------------------------------------
   CTA Final Section
   ---------------------------------------- */
.cta-final {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--color-primary);
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-title strong {
    color: var(--color-accent-light);
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 540px;
    margin: 0 auto var(--space-xl);
}

.cta-description strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 540px;
    margin: 0 auto var(--space-xl);
}

.cta-buttons {
    margin-bottom: var(--space-md);
}

.cta-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
    padding: var(--space-3xl) 0 var(--space-lg);
    background: var(--color-black);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    gap: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
    color: var(--color-white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

.footer-description strong {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.footer-nav h3,
.footer-contact h3 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-contact {
    font-style: normal;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom strong {
    color: var(--color-white);
}

.footer-legal {
    margin-top: var(--space-sm);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-white);
}

.footer-legal span {
    margin: 0 var(--space-sm);
}

/* ----------------------------------------
   WhatsApp Floating Button
   ---------------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + var(--space-sm));
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 360px) {
    :root {
        --container-padding: 0.75rem;
    }
    .container {
        padding: 0 var(--container-padding);
    }
    .nav-menu {
        max-width: 100vw;
        padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
        gap: var(--space-xs);
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .btn {
        padding: var(--space-md) var(--space-lg);
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    .section-title,
    .nav-link,
    .cta-description {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 800px) {
    .sobre-text {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .sobre-text .btn {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-grid {
        justify-items: center;
    }
    .footer-logo {
        justify-content: center;
        text-align: center;
    }
    .footer-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-nav {
        text-align: center;
    }
    .footer-contact {
        text-align: center;
    }
    .footer-contact ul li {
        justify-content: center;
    }
}

/* ----------------------------------------
   Responsive - Tablet (800px+)
   ---------------------------------------- */
@media (min-width: 800px) {
    :root {
        --container-padding: 2rem;
    }
    
    /* Navigation */
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        flex-direction: row;
        align-items: center;
        gap: var(--space-xs);
    }
    
    .nav-link {
        padding: var(--space-sm) var(--space-md);
    }
    
    .nav-cta {
        margin-top: 0;
        margin-left: var(--space-sm);
    }
    
    /* Hero */
    .hero {
        padding-top: calc(var(--header-height) + var(--space-4xl));
        padding-bottom: var(--space-4xl);
    }
    
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
    
    .stat {
        text-align: left;
    }
    
    /* Hero Visual */
    .hero-visual {
        display: block;
        position: relative;
    }
    
    .hero-mockup {
        position: relative;
    }
    
    .mockup-browser {
        background: var(--color-white);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        animation: fadeInRight 0.8s ease 0.3s forwards;
        opacity: 0;
    }
    
    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .browser-header {
        display: flex;
        gap: 6px;
        padding: var(--space-md);
        background: var(--color-secondary);
    }
    
    .browser-dot {
        width: 12px;
        height: 12px;
        background: var(--color-secondary-dark);
        border-radius: 50%;
    }
    
    .browser-content {
        aspect-ratio: 4/3;
        background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-white) 100%);
    }
    
    .browser-content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .mockup-phone {
        position: absolute;
        right: -30px;
        bottom: -30px;
        width: 120px;
        background: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
        overflow: hidden;
        animation: fadeInRight 0.8s ease 0.5s forwards;
        opacity: 0;
    }
    
    .phone-content {
        aspect-ratio: 9/16;
        background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-white) 100%);
    }
    
    .phone-content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .floating-card {
        position: absolute;
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
        background: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--color-primary);
    }
    
    .card-metrics {
        top: 20%;
        left: -20px;
        animation: floatCard 3s ease-in-out infinite, fadeInUp 0.8s ease 0.7s forwards;
        opacity: 0;
    }
    
    .card-speed {
        bottom: 30%;
        right: -40px;
        animation: floatCard 3s ease-in-out infinite 1.5s, fadeInUp 0.8s ease 0.9s forwards;
        opacity: 0;
    }
    
    @keyframes floatCard {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    
    /* Sobre */
    .sobre-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .sobre-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Serviços */
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .servico-featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto 1fr auto;
        gap: var(--space-md) var(--space-xl);
    }
    
    .servico-featured .servico-icon {
        grid-row: 1 / 3;
    }
    
    .servico-featured .servico-badge {
        position: static;
        grid-column: 2;
        justify-self: start;
    }
    
    .servico-featured h3 {
        grid-column: 2;
    }
    
    .servico-featured p {
        grid-column: 2;
    }
    
    .servico-featured .servico-features {
        grid-column: 2;
    }
    
    .servico-featured .btn {
        grid-column: 2;
        width: auto;
        justify-self: start;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Depoimentos */
    .depoimento-card {
        flex: 0 0 calc(50% - var(--space-md));
        min-width: calc(50% - var(--space-md));
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
    
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-legal {
        margin-top: 0;
    }
}

@media (max-width: 1024px) {
    /* Header */
    .nav-cta {
        display: none;
    }
}

/* ----------------------------------------
   Responsive - Desktop (1024px+)
   ---------------------------------------- */
@media (min-width: 1024px) {

    /* Serviços */
    .servicos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .servico-featured {
        grid-column: span 4;
        grid-template-columns: auto 1fr auto auto;
    }
    
    .servico-featured .servico-features {
        columns: 2;
        column-gap: var(--space-2xl);
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-overlay {
        opacity: 0;
    }
    
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }
    
    /* Depoimentos */
    .depoimento-card {
        flex: 0 0 calc(33.333% - var(--space-lg));
        min-width: calc(33.333% - var(--space-lg));
    }
}

/* ----------------------------------------
   Responsive - Large Desktop (1200px+)
   ---------------------------------------- */
@media (min-width: 1200px) {
    .mockup-phone {
        width: 150px;
        right: -50px;
        bottom: -50px;
    }
}

/* ----------------------------------------
   Animations - Intersection Observer
   ---------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.animate-on-scroll[data-delay="100"] { transition-delay: 100ms; }
.animate-on-scroll[data-delay="200"] { transition-delay: 200ms; }
.animate-on-scroll[data-delay="300"] { transition-delay: 300ms; }
.animate-on-scroll[data-delay="400"] { transition-delay: 400ms; }

/* ----------------------------------------
   Reduced Motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
