/* =============================================================
   ipHosting Design System — 2025
   Fonts: Space Grotesk (headings), Hanken Grotesk (body), JetBrains Mono (labels)
   Brand: #EB6608 orange · #101014 dark · #16161a dark-alt
   ============================================================= */

/* ─── FONT FACES ─────────────────────────────────────────────── */

/* Hanken Grotesk — Body */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/hanken-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/hanken-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk — Headings */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono — Labels / Numbers */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── CSS CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
  --orange: #EB6608;
  --orange-light: #f97316;
  --dark: #101014;
  --dark-2: #16161a;
  --border: #e6e6ea;
  --muted: #71717a;
}

/* ─── TAILWIND UTILITIES AUSENTES DO COMPILADO ───────────────── */
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }

/* ─── FONT OVERRIDES ─────────────────────────────────────────── */
body {
  font-family: 'Hanken Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ─── BRAND COLOR OVERRIDES ──────────────────────────────────── */
/* Override the Tailwind-compiled #FF781F → #EB6608 */
.text-brand-orange { color: #EB6608 !important; }
.bg-brand-orange { background-color: #EB6608 !important; }
.border-brand-orange { border-color: #EB6608 !important; }
.hover\:text-brand-orange:hover { color: #EB6608 !important; }
.hover\:bg-brand-orange:hover { background-color: #EB6608 !important; }
.hover\:bg-orange-600:hover { background-color: #c2410c !important; }
.group:hover .group-hover\:text-brand-orange { color: #EB6608 !important; }
.group:hover .group-hover\:bg-brand-orange { background-color: #EB6608 !important; }
.focus\:ring-orange-500:focus { --tw-ring-color: #EB6608 !important; }
.shadow-orange-500\/20 { --tw-shadow-color: rgb(235 102 8 / 0.2) !important; }
.shadow-orange-500\/30 { --tw-shadow-color: rgb(235 102 8 / 0.3) !important; }

/* Background with opacity variants */
.bg-brand-orange\/10 { background-color: rgb(235 102 8 / 0.1) !important; }
.bg-brand-orange\/20 { background-color: rgb(235 102 8 / 0.2) !important; }
.ring-brand-orange\/50 { --tw-ring-color: rgb(235 102 8 / 0.5) !important; }
.ring-inset { --tw-ring-inset: inset; }

/* ─── DESIGN SYSTEM UTILITIES ────────────────────────────────── */

/* Mono section label — e.g. "01 — SERVIÇOS" */
.ds-label {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EB6608;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ds-label::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: #EB6608;
}

/* Dark section label */
.ds-label-dark {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EB6608;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ds-label-dark::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: #EB6608;
}

/* Stat number — big display numbers */
.ds-stat-number {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #EB6608;
}
@media (min-width: 768px) {
  .ds-stat-number { font-size: 3.5rem; }
}

/* Stat card */
.ds-stat-card {
  padding: 2rem 1.5rem;
  border: 1px solid #e6e6ea;
  border-radius: 0.75rem;
  background: white;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.ds-stat-card:hover {
  box-shadow: 0 8px 32px -4px rgb(0 0 0 / 0.08);
  border-color: #EB6608;
}

/* Dark stat card */
.ds-stat-card-dark {
  padding: 2rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.04);
  transition: border-color 0.2s;
}
.ds-stat-card-dark:hover {
  border-color: rgb(235 102 8 / 0.4);
}

/* Comparison table */
.ds-compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 1rem;
  overflow: hidden;
}
.ds-compare-table th {
  padding: 1.25rem 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  letter-spacing: 0.05em;
  background: #101014;
  color: white;
}
.ds-compare-table th.highlight {
  background: #EB6608;
  color: white;
  border-left: 2px solid #EB6608;
  border-right: 2px solid #EB6608;
  position: relative;
}
.ds-compare-table td {
  padding: 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
  color: #334155;
  transition: background-color 0.2s ease;
}
.ds-compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #1e293b;
}
.ds-compare-table td.highlight {
  background: rgb(235 102 8 / 0.06);
  font-weight: 600;
  color: #EB6608;
  border-left: 2px solid #EB6608;
  border-right: 2px solid #EB6608;
}
.ds-compare-table tr:last-child td {
  border-bottom: none;
}
.ds-compare-table tr:last-child td.highlight {
  border-bottom: 2px solid #EB6608;
}
.ds-compare-table tr:nth-child(even) td {
  background: #f4f6f8;
}
.ds-compare-table tr:nth-child(even) td.highlight {
  background: rgb(235 102 8 / 0.09);
}
.ds-compare-table tr:hover td {
  background: #f8fafc;
}
.ds-compare-table tr:hover td.highlight {
  background: rgb(235 102 8 / 0.08);
}

/* Check / X icons in table */
.ds-check { color: #22c55e; font-weight: 700; font-size: 1.4rem; }
.ds-x { color: #ef4444; font-weight: 700; font-size: 1.4rem; }
.ds-partial { color: #f59e0b; font-weight: 700; font-size: 1.4rem; }

/* Hero stat bar (horizontal strip) */
.ds-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 640px) {
  .ds-stats-bar { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .ds-stats-bar { grid-template-columns: repeat(6, 1fr); }
}
.ds-stats-bar > div {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgb(255 255 255 / 0.08);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.ds-stats-bar > div:last-child {
  border-right: none;
}

/* Timeline */
.ds-timeline {
  position: relative;
  padding-left: 2rem;
}
.ds-timeline::before {
  content: '';
  position: absolute;
  left: 0.375rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(to bottom, #EB6608, transparent);
}
.ds-timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.ds-timeline-item::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 0.375rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #EB6608;
  border: 2px solid white;
  box-shadow: 0 0 0 3px rgb(235 102 8 / 0.2);
}

/* Badge pill */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  background: rgb(235 102 8 / 0.1);
  color: #EB6608;
  border: 1px solid rgb(235 102 8 / 0.25);
}

/* Section divider */
.ds-divider {
  width: 3rem;
  height: 3px;
  background: #EB6608;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

/* Light stats bar (fundo branco/claro) */
.ds-stats-bar-light {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e2e8f0;
}
@media (min-width: 768px) {
  .ds-stats-bar-light { grid-template-columns: repeat(6, 1fr); }
}
.ds-stats-bar-light > div {
  padding: 2rem 1rem;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}
.ds-stats-bar-light > div:last-child {
  border-right: none;
}
.ds-stat-num-light {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #1e293b;
}
.ds-stat-num-light-green { color: #16a34a; }
.ds-stat-lbl-light {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* Numbered list item */
.ds-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #EB6608;
  letter-spacing: 0.05em;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal[data-reveal="left"]  { transform: translateX(-32px); }
.reveal[data-reveal="right"] { transform: translateX(32px); }
.reveal[data-reveal="scale"] { transform: scale(0.92); opacity: 0; }
.reveal[data-reveal="left"].revealed,
.reveal[data-reveal="right"].revealed { transform: translateX(0); }
.reveal[data-reveal="scale"].revealed { transform: scale(1); }

/* ─── NAVBAR SCROLL-AWARE ────────────────────────────────── */
nav {
  transition: box-shadow 0.3s ease;
}
nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.nav-main-inner {
  transition: height 0.3s ease;
}
nav.scrolled .nav-main-inner {
  height: 4rem !important;
}

/* ─── FAQ ACCORDION ──────────────────────────────────────── */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer.open {
  max-height: 600px;
}
.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  color: #EB6608;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-btn.open .faq-icon {
  transform: rotate(45deg);
}

/* ─── CTA TRUST BADGES ───────────────────────────────────── */
.cta-badges {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  margin-top: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  align-items: center;
  justify-content: center;
}
.cta-badges .ck { color: #EB6608; font-weight: 700; }
.cta-badges .sep { opacity: 0.35; }
.cta-badges-dark  { color: #94a3b8; }
.cta-badges-light { color: #64748b; }

/* ─── TESTIMONIAL CARD ───────────────────────────────────── */
.testimonial-card {
  position: relative;
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.testimonial-card:hover {
  border-color: rgba(235,102,8,0.4);
  transform: translateY(-3px);
}
.testimonial-quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: #EB6608;
  opacity: 0.2;
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  pointer-events: none;
  user-select: none;
}

/* ─── "COMO FUNCIONA" CONNECTOR ──────────────────────────── */
.how-connector {
  display: none;
}
@media (min-width: 768px) {
  .how-connector {
    display: block;
    position: absolute;
    top: 1.75rem;
    left: calc(16.666% + 1.5rem);
    right: calc(16.666% + 1.5rem);
    height: 0;
    border-top: 2px dashed #e2e8f0;
    z-index: 0;
  }
}

/* ─── MULTI-STEP FORM ────────────────────────────────────── */
.contact-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #1e293b;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}
.contact-input:focus {
  border-color: #EB6608;
  box-shadow: 0 0 0 3px rgba(235,102,8,0.12);
}
.contact-input.error {
  border-color: #f87171;
}
.step-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: 'JetBrains Mono', monospace;
}
.step-dot.active,
.step-dot.done {
  background-color: #EB6608;
  color: #fff;
}
.step-dot.pending {
  background-color: #e2e8f0;
  color: #94a3b8;
}
.step-line {
  flex: 1;
  height: 2px;
  background-color: #e2e8f0;
  transition: background-color 0.3s ease;
}
.step-line.done {
  background-color: #EB6608;
}
.check-path {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
}
.check-path.animate {
  transition: stroke-dashoffset 0.6s ease 0.15s;
  stroke-dashoffset: 0;
}
