/* ================================
   IN9NET — Design System
   Cor oficial da marca: #F57921
   ================================ */

:root {
  /* Cores oficiais IN9NET */
  --orange-500: #F57921;
  --orange-400: #f89350;
  --orange-600: #d96612;
  --orange-glow: rgba(245, 121, 33, 0.35);

  --black: #0a0a0a;
  --black-soft: #141414;
  --gray-900: #1a1a1a;
  --gray-800: #262626;
  --gray-700: #3a3a3a;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;

  --success: #10b981;
  --error: #ef4444;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms var(--ease);
  --t: 300ms var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--gray-900); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--black); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { color: var(--gray-700); }

.eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 12px; }
.gradient-text { background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header p { margin-top: 14px; font-size: 1.05rem; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: var(--gray-400); }

/* ================================
   Botões
   ================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; border-radius: var(--radius); transition: transform var(--t-fast), box-shadow var(--t), background var(--t); white-space: nowrap; cursor: pointer; }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%); color: var(--white); box-shadow: 0 8px 24px -10px var(--orange-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--orange-glow); }
.btn--outline { background: transparent; color: var(--black); border: 1.5px solid var(--gray-300); }
.btn--outline:hover { border-color: var(--orange-500); color: var(--orange-500); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn--ghost:hover { border-color: var(--white); }
.btn--whatsapp { background: #25d366; color: var(--white); box-shadow: 0 8px 24px -10px rgba(37, 211, 102, 0.5); }
.btn--whatsapp:hover { transform: translateY(-2px); background: #1fb855; }

/* ================================
   Header + Logo
   ================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); transition: background var(--t); }
.header.scrolled { background: rgba(255,255,255,0.95); border-bottom-color: var(--gray-200); }
.header.scrolled .nav a { color: var(--gray-700); }
.header.scrolled .nav a:hover { color: var(--orange-500); }
.header.scrolled .menu-toggle span { background: var(--black); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* Logo com troca automática entre versões claro/escuro */
.logo-link { display: flex; align-items: center; line-height: 0; }
.logo-img { height: 52px; width: auto; display: block; transition: opacity var(--t); }
.logo-img--dark { display: none; }
.header.scrolled .logo-img--light { display: none; }
.header.scrolled .logo-img--dark { display: block; }

.nav { display: flex; gap: 32px; }
.nav a { font-size: 0.925rem; font-weight: 500; color: var(--gray-300); transition: color var(--t-fast); }
.nav a:hover { color: var(--orange-400); }

.menu-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: background var(--t); }

/* ================================
   Hero
   ================================ */
.hero { position: relative; min-height: 100vh; padding: 140px 0 80px; display: flex; align-items: center; background: var(--black); color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
#fiber-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.35; }
.hero__gradient { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% 30%, rgba(245, 121, 33, 0.18), transparent 60%), radial-gradient(ellipse 60% 50% at 10% 80%, rgba(245, 121, 33, 0.12), transparent 60%); pointer-events: none; }
.hero__content { position: relative; z-index: 1; max-width: 780px; }

.badge { display: inline-block; padding: 6px 14px; font-size: 0.8rem; font-weight: 500; color: var(--orange-400); background: rgba(245, 121, 33, 0.1); border: 1px solid rgba(245, 121, 33, 0.25); border-radius: 100px; margin-bottom: 24px; animation: fadeUp 0.8s var(--ease) both; }

.hero__title { font-size: clamp(2.25rem, 6vw, 4.25rem); font-weight: 700; color: var(--white); margin-bottom: 20px; animation: fadeUp 0.8s 0.1s var(--ease) both; }
.hero__subtitle { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--gray-300); margin-bottom: 36px; max-width: 600px; animation: fadeUp 0.8s 0.2s var(--ease) both; }

.cep-form { margin-bottom: 24px; animation: fadeUp 0.8s 0.3s var(--ease) both; }
.cep-form__label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--gray-400); margin-bottom: 10px; }
.cep-form__group { display: flex; gap: 10px; padding: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); backdrop-filter: blur(8px); transition: border-color var(--t), box-shadow var(--t); }
.cep-form__group:focus-within { border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(245, 121, 33, 0.15); }
.cep-form__group input { flex: 1; padding: 12px 16px; font-size: 1rem; font-family: var(--font-body); color: var(--white); background: transparent; border: 0; outline: 0; }
.cep-form__group input::placeholder { color: var(--gray-500); }
.cep-form__hint { display: block; margin-top: 10px; font-size: 0.825rem; color: var(--gray-500); }
.cep-form__hint.success { color: var(--success); }
.cep-form__hint.error { color: var(--error); }

.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; animation: fadeUp 0.8s 0.4s var(--ease) both; }

.hero__trust { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); animation: fadeUp 0.8s 0.5s var(--ease) both; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); }
.trust-item strong span { color: var(--orange-500); font-size: 1rem; margin-left: 2px; }
.trust-item > span { font-size: 0.825rem; color: var(--gray-400); }

/* ================================
   Planos
   ================================ */
.planos { padding: 100px 0; background: var(--gray-50); }
.planos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }

.plano-card { position: relative; padding: 36px 28px; background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); transition: transform var(--t), box-shadow var(--t), border-color var(--t); display: flex; flex-direction: column; }
.plano-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12); border-color: var(--gray-300); }
.plano-card--featured { background: linear-gradient(180deg, #fff 0%, #fff7ed 100%); border: 1.5px solid var(--orange-500); box-shadow: 0 20px 50px -20px var(--orange-glow); transform: scale(1.04); }
.plano-card--featured:hover { transform: scale(1.04) translateY(-4px); }

.plano-card__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 6px 14px; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); border-radius: 100px; box-shadow: 0 4px 14px -4px var(--orange-glow); }

.plano-card__head h3 { font-size: 1.1rem; color: var(--gray-500); font-weight: 500; margin-bottom: 4px; }
.plano-card__speed { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--black); line-height: 1; margin-bottom: 28px; }
.plano-card__speed small { font-size: 0.9rem; font-weight: 500; color: var(--gray-500); letter-spacing: 0.1em; }

.plano-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-200); }
.plano-card__currency { font-family: var(--font-display); font-size: 1rem; font-weight: 500; color: var(--gray-500); }
.plano-card__value { font-family: var(--font-display); font-size: 3.25rem; font-weight: 700; color: var(--black); line-height: 1; }
.plano-card__cents { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--gray-700); }
.plano-card__cents small { font-size: 0.875rem; color: var(--gray-500); margin-left: 2px; }

.plano-card__features { margin-bottom: 28px; flex: 1; }
.plano-card__features li { padding: 10px 0 10px 28px; position: relative; font-size: 0.95rem; color: var(--gray-700); }
.plano-card__features li::before { content: '✓'; position: absolute; left: 0; top: 10px; width: 18px; height: 18px; background: var(--orange-500); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }

.planos__note { text-align: center; color: var(--gray-600); font-size: 0.95rem; }
.planos__note a { color: var(--orange-500); font-weight: 600; border-bottom: 1px dashed var(--orange-500); }

/* ================================
   Benefícios
   ================================ */
.beneficios { padding: 100px 0; background: var(--black); color: var(--white); }
.beneficios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.beneficio { padding: 32px 28px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); transition: transform var(--t), border-color var(--t), background var(--t); }
.beneficio:hover { transform: translateY(-4px); border-color: rgba(245, 121, 33, 0.4); background: rgba(245, 121, 33, 0.05); }
.beneficio__icon { width: 56px; height: 56px; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); color: var(--white); border-radius: var(--radius); margin-bottom: 20px; box-shadow: 0 8px 20px -8px var(--orange-glow); }
.beneficio h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 10px; }
.beneficio p { color: var(--gray-400); font-size: 0.925rem; line-height: 1.6; }

/* ================================
   Cobertura
   ================================ */
.cobertura { padding: 100px 0; }
.cobertura__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cobertura__text h2 { margin-bottom: 16px; }
.cobertura__text p { margin-bottom: 28px; }
.cobertura__bairros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; margin-bottom: 32px; }
.cobertura__bairros li { padding-left: 22px; position: relative; font-size: 0.925rem; color: var(--gray-700); }
.cobertura__bairros li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; background: var(--orange-500); border-radius: 50%; box-shadow: 0 0 0 3px rgba(245, 121, 33, 0.15); }

.cep-form--inline .cep-form__group { background: var(--white); border-color: var(--gray-300); max-width: 420px; }
.cep-form--inline input { color: var(--black); }
.cep-form--inline input::placeholder { color: var(--gray-500); }

.cobertura__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.2); border: 1px solid var(--gray-200); }
.cobertura__map iframe { display: block; }

/* ================================
   Depoimentos
   ================================ */
.depoimentos { padding: 100px 0; background: var(--gray-50); }
.depoimentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.depoimento { padding: 32px 28px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.depoimento__stars { color: var(--orange-500); font-size: 1rem; letter-spacing: 3px; margin-bottom: 16px; }
.depoimento p { font-size: 1rem; color: var(--gray-800); margin-bottom: 24px; line-height: 1.6; }
.depoimento footer { padding-top: 20px; border-top: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 2px; }
.depoimento footer strong { font-family: var(--font-display); color: var(--black); font-weight: 600; }
.depoimento footer span { font-size: 0.85rem; color: var(--gray-500); }

.depoimentos__badges { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.badge-social { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.badge-social strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--black); }
.badge-social strong span { color: var(--orange-500); font-size: 1.25rem; }
.badge-social > span { font-size: 0.85rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.08em; }

/* ================================
   Suporte
   ================================ */
.suporte { padding: 100px 0; background: var(--black-soft); }
.suporte-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.suporte-card { display: block; padding: 32px 24px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); transition: all var(--t); text-align: center; }
.suporte-card:hover { background: rgba(245, 121, 33, 0.08); border-color: var(--orange-500); transform: translateY(-3px); }
.suporte-card__icon { width: 56px; height: 56px; margin: 0 auto 18px; display: grid; place-items: center; background: rgba(245, 121, 33, 0.1); color: var(--orange-500); border-radius: var(--radius); transition: all var(--t); }
.suporte-card:hover .suporte-card__icon { background: var(--orange-500); color: var(--white); }
.suporte-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.suporte-card p { color: var(--gray-400); font-size: 0.875rem; }

/* ================================
   FAQ
   ================================ */
.faq { padding: 100px 0; }
.faq__inner { max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 4px 24px; transition: border-color var(--t); }
.faq-item[open] { border-color: var(--orange-500); background: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,0.08); }
.faq-item summary { padding: 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--black); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--orange-500); transition: transform var(--t); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--gray-700); }

/* ================================
   CTA Final
   ================================ */
.cta-final { padding: 100px 0; background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%); color: var(--white); position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(245, 121, 33, 0.25), transparent 70%); }
.cta-final__inner { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-final h2 { color: var(--white); margin-bottom: 16px; }
.cta-final p { color: var(--gray-300); font-size: 1.1rem; margin-bottom: 36px; }
.cta-final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================
   Footer
   ================================ */
.footer { background: var(--black); color: var(--gray-400); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 72px 20px; }
.footer__brand p { margin-top: 16px; font-size: 0.925rem; color: var(--gray-400); max-width: 320px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 4px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; color: var(--gray-400); transition: all var(--t); }
.footer__social a:hover { border-color: var(--orange-500); color: var(--orange-500); background: rgba(245, 121, 33, 0.08); }

.footer__col h4 { color: var(--white); font-size: 0.925rem; font-weight: 600; margin-bottom: 18px; letter-spacing: 0.03em; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 0.9rem; color: var(--gray-400); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--orange-400); }
.footer__col li { font-size: 0.9rem; }

.footer__bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; font-size: 0.825rem; color: var(--gray-500); }

/* ================================
   WhatsApp flutuante
   ================================ */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; display: grid; place-items: center; background: #25d366; color: var(--white); border-radius: 50%; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.5); z-index: 99; transition: transform var(--t); animation: pulseWhatsapp 2.5s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.08); animation: none; }

@keyframes pulseWhatsapp {
  0%, 100% { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.5), 0 0 0 16px rgba(37, 211, 102, 0); }
}

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

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ================================
   Responsivo
   ================================ */
@media (max-width: 1024px) {
  .planos-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .plano-card--featured { transform: none; }
  .plano-card--featured:hover { transform: translateY(-4px); }
  .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
  .suporte-grid { grid-template-columns: repeat(2, 1fr); }
  .cobertura__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .depoimentos-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header .btn { display: none; }
  .header.scrolled .btn { display: inline-flex; padding: 8px 14px; font-size: 0.8rem; }

  .logo-img { height: 42px; }
  .footer__logo { height: 44px; }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero__trust { gap: 24px; }
  .trust-item strong { font-size: 1.2rem; }
  .trust-item > span { font-size: 0.75rem; }

  .cep-form__group { flex-direction: column; padding: 8px; }
  .cep-form__group .btn { width: 100%; }

  .planos, .beneficios, .cobertura, .depoimentos, .suporte, .faq, .cta-final { padding: 64px 0; }

  .cobertura__bairros { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr; }

  .whatsapp-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
  .beneficios-grid, .suporte-grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
