/* HospedaOJS — Design System */
:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --primary: #0d7377;
  --primary-dark: #095456;
  --primary-light: #12a0a6;
  --accent: #c9a227;
  --accent-light: #dbb94a;
  --surface: #f4f6f9;
  --surface-2: #e8edf3;
  --border: #d5dde8;
  --muted: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
  --radius: 10px;
  --radius-lg: 16px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --max-width: 1140px;
  --header-h: 88px;
  /* legacy aliases */
  --navy: var(--ink);
  --navy-light: #1e293b;
  --teal: var(--primary);
  --teal-light: var(--primary-light);
  --gold: var(--accent);
  --gold-light: var(--accent-light);
  --gray-50: var(--surface);
  --gray-100: var(--surface-2);
  --gray-200: var(--border);
  --gray-400: var(--muted);
  --gray-600: var(--ink-soft);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.2s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--teal);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--gray-100);
  border-radius: 999px;
}

.lang-switch__btn {
  min-width: 2.25rem;
  padding: 0.375rem 0.625rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch__btn:hover {
  color: var(--navy);
}

.lang-switch__btn--active {
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.plans__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.plans__rate-note {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.plans__note a {
  color: var(--teal);
  font-weight: 600;
}

.footer__disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 115, 119, 0.35);
}

.btn--primary:hover {
  background: var(--teal-light);
  box-shadow: 0 6px 20px rgba(13, 115, 119, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}

.btn--white:hover {
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--white) 55%),
    var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.hero__logo {
  width: min(100%, 400px);
  height: auto;
  margin: 0 auto 2rem;
}

.hero__tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(13, 115, 119, 0.08);
  border: 1px solid rgba(13, 115, 119, 0.18);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.hero__trust-item strong {
  color: var(--primary);
  font-weight: 700;
}

.hero .btn--outline {
  background: var(--white);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--accent {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 8%, var(--white)) 0%, var(--white) 100%);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.5rem;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section--navy .section__eyebrow {
  color: var(--gold-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--gray-600);
  font-size: 1.0625rem;
}

.section--navy .section__desc {
  color: rgba(255, 255, 255, 0.75);
}

/* Process workflow */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: process;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  border-top: 3px solid var(--primary);
}

.process-step__num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(13, 115, 119, 0.15);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.process-step__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

.pillar__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.pillar__text {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Desenvolvimento */
.dev-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.dev-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.dev-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, var(--white)) 0%, var(--white) 35%);
}

.dev-card__badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.625rem;
  border-radius: 4px;
}

.dev-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}

.dev-card__text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.dev-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink);
}

.dev-card__list li {
  padding-left: 1.25rem;
  position: relative;
}

.dev-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.dev-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Pricing */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, rgba(13, 115, 119, 0.04) 0%, var(--white) 40%);
}

.pricing-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.625rem;
  border-radius: 4px;
  white-space: nowrap;
  transform: none;
  left: auto;
}

.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-600);
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.pricing-card__annual {
  font-size: 0.8125rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.pricing-card__check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
}

/* DOI section */
.doi-section__intro {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.doi-section__logo {
  width: min(100%, 160px);
  height: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.doi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.doi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.doi-card__title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.doi-card__text {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
}

/* FAQ */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
}

.faq__question:hover {
  color: var(--teal);
}

.faq__question span {
  flex: 1;
  text-align: left;
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--gray-400);
}

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  background: rgba(13, 115, 119, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__item-label {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 0.125rem;
}

.contact__item-value {
  font-weight: 600;
}

.contact__item-value a:hover {
  color: var(--teal);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  background-color: var(--gray-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-group select:focus {
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.12);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(13, 115, 119, 0.1);
  border-radius: var(--radius);
  color: var(--teal);
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

.form-error {
  display: none;
  padding: 1rem;
  background: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius);
  color: #b91c1c;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

.form-error.visible {
  display: block;
}

/* Footer */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__brand img {
  height: 120px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.footer__brand-text {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold-light);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  text-align: center;
}

.contact__item-value--address {
  font-weight: 500;
  line-height: 1.55;
  max-width: 22rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* Responsive */
@media (max-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doi-cards,
  .pricing__grid,
  .dev-highlight {
    grid-template-columns: 1fr 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__list {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav__list.open {
    display: flex;
  }

  .nav__list li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__toggle {
    display: flex;
  }

  .nav .btn--primary {
    display: none;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .process__grid,
  .doi-cards,
  .pricing__grid,
  .pillars,
  .dev-highlight {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    text-align: center;
  }
}
