/* ===== DESIGN SYSTEM ===== */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F0F4F8;
  --ink: #0F1B3D;
  --cyan: #00A8E8;
  --purple: #6C5CE7;
  --text: #0F1B3D;
  --text2: #4A5568;
  --muted: #718096;
  --gold: #D4A843;
  --border: #E2E8F0;
  --border-hover: #CBD5E0;
  --grad: linear-gradient(135deg, #00A8E8 0%, #6C5CE7 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,168,232,0.06) 0%, rgba(108,92,231,0.06) 100%);
  --shadow: 0 4px 16px rgba(15,27,61,0.06);
  --shadow-lg: 0 12px 40px rgba(15,27,61,0.08);
  --shadow-xl: 0 20px 60px rgba(15,27,61,0.10);
  --r: 16px;
  --font-d: 'Cormorant Garamond', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-b); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { max-width: 100%; display: block; height: auto; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }
.section { padding: clamp(80px, 6vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-gradient { background: var(--grad-soft); }
.text-center { text-align: center; }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; left: 0; right: 0; height: 72px; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: transform 0.4s ease; }
.header.hidden { transform: translateY(-100%); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 768px) { .header-inner { padding: 0 48px; } }

.header-brand { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); display: flex; align-items: baseline; gap: 6px; }
.header-brand span { font-weight: 400; color: var(--muted); }

.header-nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 768px) { .header-nav { display: flex; } }
.header-nav-link { font-size: 13px; font-weight: 500; color: var(--text2); transition: color 0.3s; position: relative; }
.header-nav-link:hover { color: var(--cyan); }

.header-cta { display: none; height: 40px; padding: 0 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 20px; align-items: center; transition: box-shadow 0.3s, transform 0.2s; }
.header-cta:hover { box-shadow: 0 4px 16px rgba(0,168,232,0.35); transform: translateY(-1px); }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }

.header-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.header-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.3s; }
@media (min-width: 768px) { .header-hamburger { display: none; } }

/* Mobile Menu */
.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-close { position: absolute; top: 24px; right: 24px; font-size: 36px; color: var(--text); padding: 8px; line-height: 1; }
.mobile-nav { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.mobile-link { font-family: var(--font-d); font-size: 32px; color: var(--text); transition: color 0.3s; }
.mobile-link:hover { color: var(--cyan); }
.mobile-cta { margin-top: 16px; height: 48px; padding: 0 32px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; border-radius: 24px; display: inline-flex; align-items: center; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; border-radius: 26px; padding: 0 32px; font-family: var(--font-b); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.3s; white-space: nowrap; gap: 8px; cursor: pointer; }
.btn-primary { background: var(--grad); color: #fff; border: none; box-shadow: 0 4px 16px rgba(0,168,232,0.25); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(0,168,232,0.4); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--cyan); border: 1.5px solid var(--cyan); }
.btn-secondary:hover { background: rgba(0,168,232,0.06); }
.btn-white { background: #fff; color: var(--cyan); border: none; box-shadow: var(--shadow); }
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* ===== SECTION HEADER ===== */
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); }
.section-label-line { width: 32px; height: 2px; background: var(--grad); border-radius: 1px; }
.section-title { font-family: var(--font-d); font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.1; color: var(--text); max-width: 800px; }
.section-title-xl { font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.05; }
.section-body { font-size: clamp(16px, 1.2vw, 18px); color: var(--text2); margin-top: 20px; max-width: 640px; line-height: 1.7; }

/* ===== CARDS ===== */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow); transition: all 0.4s; position: relative; overflow: hidden; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--border-hover); transform: translateY(-4px); }
.card-accent { height: 3px; background: var(--grad); margin: -32px -32px 24px; border-radius: 3px 3px 0 0; }
.card h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text2); line-height: 1.65; }

.cards-2 { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 768px) { .cards-2 { grid-template-columns: 1fr 1fr; } }

.cards-3 { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* ===== ICONS ===== */
.icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.icon-cyan { background: rgba(0,168,232,0.1); color: var(--cyan); }
.icon-purple { background: rgba(108,92,231,0.1); color: var(--purple); }
.icon-gold { background: rgba(212,168,67,0.1); color: var(--gold); }

.step-number { font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 12px; display: block; letter-spacing: 0.05em; }

/* ===== IMPACT QUOTE ===== */
.impact-quote { border-left: 3px solid; border-image: var(--grad) 1; padding-left: 24px; max-width: 800px; margin-top: 60px; }
.impact-quote p { font-family: var(--font-d); font-size: clamp(22px, 3vw, 36px); font-weight: 300; font-style: italic; line-height: 1.25; color: var(--text); }

/* ===== CTA BAR ===== */
.cta-bar { background: var(--grad); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
@media (min-width: 768px) { .cta-bar { flex-direction: row; justify-content: space-between; text-align: left; padding: 48px 56px; } }
.cta-bar-title { font-family: var(--font-d); font-size: clamp(24px, 3vw, 36px); font-weight: 400; color: #fff; line-height: 1.2; }
.cta-bar-text { color: rgba(255,255,255,0.85); font-size: 15px; margin-top: 8px; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 50%, #F5F0FF 100%); }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.5; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; padding-top: 120px; padding-bottom: 80px; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.hero-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); margin-bottom: 20px; }
.hero-title { font-family: var(--font-d); font-size: clamp(40px, 5vw, 72px); font-weight: 300; line-height: 1.05; color: var(--text); }
.hero-subtitle { font-size: clamp(16px, 1.3vw, 18px); color: var(--text2); margin-top: 24px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-image { border-radius: var(--r); box-shadow: var(--shadow-xl); overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== COMPARE (Virada) ===== */
.compare-grid { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 768px) { .compare-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.compare-col { border-radius: var(--r); padding: 32px; border: 1px solid var(--border); background: var(--bg); }
.compare-col-aio { border-color: rgba(0,168,232,0.2); }
.compare-header { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.compare-header-dim { color: var(--muted); }
.compare-header-accent { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.compare-sep { height: 1px; background: var(--border); margin: 20px 0; }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text2); }
.compare-list-aio li { color: var(--text); font-weight: 500; }
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot-dim { background: var(--border-hover); }
.dot-accent { background: var(--cyan); }

/* ===== METODOLOGIA ===== */
.metodologia-grid { display: grid; gap: 48px; align-items: start; margin-top: 48px; }
@media (min-width: 768px) { .metodologia-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.metodologia-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.metodologia-img img { width: 100%; height: auto; object-fit: cover; }
.metodologia-steps { display: flex; flex-direction: column; gap: 24px; }
.m-step { display: flex; gap: 20px; }
.m-circle { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--gold); }
.m-step h4 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.m-step p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ===== CASES ===== */
.cases-grid { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s; display: block; }
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--border-hover); }
.case-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-body { padding: 24px; }
.case-tag { display: inline-block; height: 24px; padding: 0 12px; border-radius: 12px; background: rgba(212,168,67,0.12); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); line-height: 24px; margin-bottom: 12px; }
.case-body h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--text2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.case-link { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.case-card:hover .case-link { gap: 10px; }

/* ===== PUBLICO ===== */
.publico-grid { display: grid; gap: 16px 32px; margin-top: 40px; }
@media (min-width: 768px) { .publico-grid { grid-template-columns: 1fr 1fr; } }
.publico-item { display: flex; align-items: flex-start; gap: 14px; font-size: 16px; color: var(--text); line-height: 1.5; padding: 16px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); }
.publico-item svg { flex-shrink: 0; margin-top: 2px; color: var(--cyan); }
.publico-closing { font-family: var(--font-d); font-size: clamp(20px, 2.5vw, 28px); font-weight: 400; color: var(--text); margin-top: 40px; border-left: 3px solid var(--cyan); padding-left: 20px; line-height: 1.3; }

/* ===== DOR ===== */
.dor-grid { display: grid; gap: 48px; margin-top: 40px; }
@media (min-width: 768px) { .dor-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }
.dor-questions { display: grid; gap: 16px; }
@media (min-width: 768px) { .dor-questions { grid-template-columns: 1fr 1fr; } }
.dor-card { display: flex; align-items: flex-start; gap: 14px; padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); border-left: 3px solid var(--cyan); transition: all 0.3s; }
.dor-card:hover { box-shadow: var(--shadow); }
.dor-q { font-family: var(--font-d); font-size: 22px; color: var(--cyan); line-height: 1; flex-shrink: 0; }
.dor-card p { font-size: 15px; color: var(--text); line-height: 1.6; }
.dor-img { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); }
.dor-img img { width: 100%; height: auto; object-fit: cover; }

/* ===== OFERTA ===== */
.oferta-grid { display: grid; gap: 48px; margin-top: 40px; }
@media (min-width: 768px) { .oferta-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.deliverables-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan); margin-bottom: 24px; }
.deliverables { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.deliverables li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); padding: 12px 16px; background: var(--bg); border-radius: 8px; border: 1px solid var(--border); transition: all 0.3s; }
.deliverables li:hover { border-color: var(--cyan); }
.deliverables li svg { flex-shrink: 0; }
.oferta-note { font-size: 14px; color: var(--muted); margin-top: 40px; font-style: italic; line-height: 1.6; max-width: 600px; }

/* ===== AIO DASHBOARD ===== */
.aio-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 768px) { .aio-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.aio-dashboard { background: linear-gradient(135deg, #0F1B3D 0%, #1a2d5c 100%); border-radius: var(--r); box-shadow: var(--shadow-xl); overflow: hidden; padding: 24px; }
.aio-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.aio-dots { display: flex; gap: 6px; }
.aio-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.aio-title { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-left: 8px; }
.aio-grid-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aio-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 14px; }
.aio-wide { grid-column: 1 / -1; }
.aio-label { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.aio-value { font-family: var(--font-d); font-size: 26px; font-weight: 300; color: #fff; line-height: 1; }
.aio-value span { font-size: 15px; color: rgba(255,255,255,0.4); }
.aio-bar { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.aio-fill { height: 100%; background: var(--grad); border-radius: 2px; width: 0; transition: width 1.5s ease; }
.aio-chart { margin-top: 8px; height: 50px; }
.aio-chart svg { width: 100%; height: 100%; }
.aio-trend { font-size: 11px; color: var(--cyan); margin-top: 6px; }
.aio-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.aio-pill { height: 32px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text2); display: inline-flex; align-items: center; transition: all 0.3s; }
.aio-pill:hover { border-color: var(--cyan); color: var(--cyan); }

/* ===== FAQ ===== */
.faq-title { font-family: var(--font-d); font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.08; color: var(--text); text-align: center; margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.open { border-color: rgba(0,168,232,0.25); box-shadow: 0 0 0 1px rgba(0,168,232,0.05); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 24px; font-size: 16px; font-weight: 500; color: var(--text); text-align: left; gap: 16px; }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: rgba(0,168,232,0.1); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: all 0.3s; }
.faq-item.open .faq-icon { background: var(--grad); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; opacity: 1; }
.faq-a p { padding: 0 24px 24px; font-size: 15px; color: var(--text2); line-height: 1.7; }

/* ===== CTA FINAL ===== */
.cta-final { background: var(--grad); text-align: center; position: relative; }
.cta-final::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 56px 0 32px; }
.footer-top { display: flex; flex-direction: column; gap: 24px; align-items: center; }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-brand { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; }
.footer-sub { font-size: 14px; color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-nav a:hover { color: #fff; }
.footer-sep { height: 1px; background: rgba(255,255,255,0.08); margin: 32px 0; }
.footer-legal { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; font-size: 13px; color: rgba(255,255,255,0.35); }
@media (min-width: 768px) { .footer-legal { flex-direction: row; justify-content: space-between; } }
.footer-legal a { color: rgba(255,255,255,0.35); transition: color 0.3s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
