/* ==========================================================================
   REVOLUTION — camada de redesign global
   --------------------------------------------------------------------------
   Este arquivo é carregado por último em head.php e redefine a aparência do
   site público (header, topbar, home, conteúdo interno, rodapé e componentes
   Bootstrap). Os HTMLs das páginas internas vivem em /public_html e NÃO são
   alterados — por isso o redesign é feito por CSS.

   Ordem de camadas:
     1. Tokens
     2. Base / tipografia
     3. Topbar
     4. Header / navegação
     5. Botões e formulários (Bootstrap)
     6. Componentes de conteúdo interno
     7. Home
     8. Rodapé
     9. Flutuantes
    10. Responsivo
    11. Movimento reduzido
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Marca */
  --rv-primary: #2563EB;
  --rv-primary-600: #1D4ED8;
  --rv-primary-700: #1E40AF;
  --rv-primary-050: #EFF6FF;
  --rv-primary-100: #DBEAFE;
  --rv-accent: #06B6D4;
  --rv-accent-050: #ECFEFF;

  /* Neutros */
  --rv-ink: #0B1220;
  --rv-ink-soft: #1E293B;
  --rv-text: #334155;
  --rv-muted: #64748B;
  --rv-muted-light: #94A3B8;
  --rv-line: #E2E8F0;
  --rv-line-soft: #EEF2F7;
  --rv-surface: #FFFFFF;
  --rv-bg: #F6F8FC;
  --rv-bg-alt: #EDF2FA;

  /* Estados */
  --rv-success: #059669;
  --rv-warning: #D97706;
  --rv-danger: #DC2626;

  /* Forma */
  --rv-radius-sm: 8px;
  --rv-radius: 12px;
  --rv-radius-lg: 18px;
  --rv-radius-xl: 24px;
  --rv-pill: 999px;

  /* Elevação */
  --rv-shadow-xs: 0 1px 2px rgba(11, 18, 32, .05);
  --rv-shadow-sm: 0 2px 8px rgba(11, 18, 32, .06);
  --rv-shadow: 0 8px 24px rgba(11, 18, 32, .08);
  --rv-shadow-lg: 0 18px 44px rgba(11, 18, 32, .12);
  --rv-shadow-brand: 0 14px 30px rgba(37, 99, 235, .26);

  /* Tipografia */
  --rv-font: 'Exo2-Light', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --rv-font-semi: 'Exo2-SemiBold', 'Segoe UI', system-ui, sans-serif;
  --rv-font-bold: 'Exo2-Bold', 'Exo2-SemiBold', 'Segoe UI', system-ui, sans-serif;

  /* Métricas do chrome fixo */
  --rv-topbar-h: 38px;
  --rv-header-h: 68px;
  --rv-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. Base / tipografia
   ========================================================================== */

body {
  background: var(--rv-bg);
  color: var(--rv-text);
  font-family: var(--rv-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Compensa o chrome fixo (topbar 38px + header 68px). */
  padding-top: 106px !important;
}

body,
body * {
  scrollbar-width: thin;
  scrollbar-color: #C3CFDF transparent;
}

body ::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

body ::-webkit-scrollbar-thumb {
  border-radius: var(--rv-pill);
  background: #C3CFDF;
}

body ::-webkit-scrollbar-thumb:hover {
  background: #A9BACC;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--rv-font-semi);
  letter-spacing: -.015em;
  line-height: 1.22;
}

/* A cor de título é definida só onde há fundo claro garantido. Fixar
   `color` no seletor genérico de heading quebrava os heroes escuros: o
   .text-white do Bootstrap pinta o container, mas o h1 não herda porque
   tem cor própria declarada — deixando texto escuro sobre fundo escuro.
   Sem declaração aqui, o h1 herda a cor do contexto (body = ink). */
h1, h2, h3, h4, h5, h6 { color: inherit; }

/* Fundos claros conhecidos recebem o ink explicitamente (conteúdo do
   #about, artigos de /pages). */
#about h1, #about h2, #about h3, #about h4,
.pages h1, .pages h2, .pages h3, .pages h4 {
  color: var(--rv-ink);
}

h1, .h1 { font-family: var(--rv-font-bold); }

p { margin-bottom: 1rem; }

a {
  color: var(--rv-primary);
  text-decoration: none;
  transition: color .18s var(--rv-ease);
}

a:hover {
  color: var(--rv-primary-700);
}

hr {
  border: 0;
  border-top: 1px solid var(--rv-line);
  opacity: 1;
  margin: 1.75rem 0;
}

strong, b { font-family: var(--rv-font-semi); }

::selection {
  background: var(--rv-primary-100);
  color: var(--rv-ink);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 2px;
  border-radius: 4px;
}

.text-purple { color: var(--rv-primary) !important; }
.text-blue { color: var(--rv-primary) !important; }
.text-muted { color: var(--rv-muted) !important; }

/* Container mais respirável */
.container-xxl {
  max-width: 1280px;
  padding-inline: 20px;
}

/* ==========================================================================
   3. Topbar
   ========================================================================== */

#topbar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  height: var(--rv-topbar-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: var(--rv-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

#topbar header,
#topbar > .container-xxl {
  width: 100%;
}

#topbar a.btn-link {
  padding: 4px 10px !important;
  border-radius: var(--rv-radius-sm);
  color: rgba(255, 255, 255, .74) !important;
  font-family: var(--rv-font-semi);
  font-size: .78rem;
  letter-spacing: .01em;
  text-decoration: none !important;
  transition: color .18s var(--rv-ease), background-color .18s var(--rv-ease);
}

#topbar a.btn-link .small {
  font-size: .78rem;
  color: inherit !important;
}

#topbar a.btn-link:hover,
#topbar a.btn-link:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .1);
  text-decoration: none !important;
}

#topbar .d-flex .btn-link + .btn-link {
  margin-left: 2px;
}

#topbar img {
  max-height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
}

/* ==========================================================================
   4. Header / navegação
   ========================================================================== */

#header {
  position: fixed;
  top: var(--rv-topbar-h);
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0 !important;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rv-line);
  box-shadow: 0 1px 0 rgba(11, 18, 32, .02);
  transition: box-shadow .25s var(--rv-ease), background-color .25s var(--rv-ease);
}

#header.header-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--rv-shadow-sm);
}

#header .navbar,
#header .bg-menu {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: .5rem 0 !important;
  min-height: var(--rv-header-h);
}

#header .navbar > .container {
  max-width: 1280px;
  gap: 18px;
}

#header .logo {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

#header .logo img {
  height: auto;
  width: auto;
  max-height: 42px;
}

/* Links do menu */
.navbar-dark .navbar-nav {
  gap: 2px;
  font-size: .9rem;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .link-blue {
  position: relative;
  padding: .55rem .85rem !important;
  border-radius: var(--rv-radius-sm);
  color: var(--rv-ink-soft) !important;
  font-family: var(--rv-font-semi);
  font-size: .88rem;
  letter-spacing: -.01em;
  transition: color .18s var(--rv-ease), background-color .18s var(--rv-ease);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav a.nav-link.active {
  color: var(--rv-primary) !important;
  background: var(--rv-primary-050);
}

/* Sublinhado animado apenas em telas grandes */
@media (min-width: 768px) {
  .navbar-dark .navbar-nav .nav-link:not(.btn-basket)::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--rv-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s var(--rv-ease);
  }

  .navbar-dark .navbar-nav .nav-link:not(.btn-basket):hover::after,
  .navbar-dark .navbar-nav a.nav-link.active::after {
    transform: scaleX(1);
  }
}

/* Carrinho */
.nav-link.btn-basket {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: var(--rv-pill) !important;
  background: var(--rv-primary) !important;
  color: #fff !important;
  box-shadow: var(--rv-shadow-brand);
  transition: transform .18s var(--rv-ease), background-color .18s var(--rv-ease);
}

.nav-link.btn-basket:hover {
  background: var(--rv-primary-600) !important;
  transform: translateY(-1px);
}

.fabasket {
  width: auto;
  height: auto;
  font-size: 1rem;
  border-radius: 0;
  color: inherit !important;
}

/* Dropdown */
.dropdown-menu {
  min-width: 320px;
  margin-top: .6rem !important;
  padding: .55rem !important;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  background: #fff;
  box-shadow: var(--rv-shadow-lg);
}

.dropdown-item {
  padding: .7rem .8rem;
  border-radius: var(--rv-radius);
  white-space: normal;
  transition: background-color .16s var(--rv-ease);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--rv-bg);
}

.dropdown-item .media {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dropdown-item .media i,
.dropdown-item .media .bi {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 !important;
  border-radius: 10px;
  background: var(--rv-primary-050);
  color: var(--rv-primary) !important;
  font-size: 1.05rem !important;
}

.dropdown-item .media-body h5 {
  margin: 1px 0 2px !important;
  font-family: var(--rv-font-semi);
  font-size: .92rem;
  color: var(--rv-ink);
}

.dropdown-item .media-body .text-muted {
  font-size: .8rem;
  line-height: 1.45;
  color: var(--rv-muted) !important;
}

/* Botão hambúrguer */
#header .navbar-toggler {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  border: 1px solid var(--rv-line) !important;
  border-radius: var(--rv-radius) !important;
  background: #fff;
  box-shadow: none !important;
}

/* ==========================================================================
   5. Botões, formulários e componentes Bootstrap
   ========================================================================== */

.btn {
  border-radius: var(--rv-radius-sm);
  font-family: var(--rv-font-semi);
  font-size: .9rem;
  letter-spacing: -.01em;
  transition: transform .16s var(--rv-ease), box-shadow .18s var(--rv-ease),
              background-color .18s var(--rv-ease), border-color .18s var(--rv-ease),
              color .18s var(--rv-ease);
}

.btn:active { transform: translateY(1px) scale(.995); }

.btn-primary {
  --bs-btn-bg: var(--rv-primary);
  --bs-btn-border-color: var(--rv-primary);
  --bs-btn-hover-bg: var(--rv-primary-600);
  --bs-btn-hover-border-color: var(--rv-primary-600);
  --bs-btn-active-bg: var(--rv-primary-700);
  --bs-btn-active-border-color: var(--rv-primary-700);
  background: var(--rv-primary);
  border-color: var(--rv-primary);
  box-shadow: var(--rv-shadow-brand);
}

.btn-primary:hover {
  background: var(--rv-primary-600);
  border-color: var(--rv-primary-600);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, .3);
}

.btn-light {
  background: #fff;
  border: 1px solid var(--rv-line);
  color: var(--rv-ink);
  box-shadow: var(--rv-shadow-xs);
}

.btn-light:hover {
  background: var(--rv-bg);
  border-color: #CFDBEA;
  color: var(--rv-ink);
}

.btn-outline-primary,
.btn-outline-info {
  color: var(--rv-primary) !important;
  border-color: #C3D6F5 !important;
  background: #fff;
}

.btn-outline-primary:hover,
.btn-outline-info:hover {
  background: var(--rv-primary) !important;
  border-color: var(--rv-primary) !important;
  color: #fff !important;
}

.btn-lg {
  padding: .8rem 1.5rem;
  border-radius: var(--rv-radius);
  font-size: .95rem;
}

.form-control,
.form-select,
.select2-container--bootstrap-5 .select2-selection {
  min-height: 46px;
  padding: .6rem .9rem;
  border: 1px solid #D8E1EC;
  border-radius: var(--rv-radius-sm);
  background-color: #fff;
  color: var(--rv-ink);
  font-family: var(--rv-font);
  font-size: .94rem;
  box-shadow: none;
  transition: border-color .16s var(--rv-ease), box-shadow .16s var(--rv-ease);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--rv-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .14);
}

.form-control::placeholder { color: var(--rv-muted-light); }

.form-label,
label {
  font-family: var(--rv-font-semi);
  font-size: .86rem;
  color: var(--rv-ink-soft);
}

.alert {
  border: 1px solid transparent;
  border-radius: var(--rv-radius);
  font-size: .92rem;
}

.alert-danger { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-info { background: var(--rv-accent-050); border-color: #A5F3FC; color: #155E75; }
.alert-light { background: #fff; border-color: var(--rv-line); color: var(--rv-text); }

.card {
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-sm);
  overflow: hidden;
}

.card-body { padding: 1.4rem; }

.modal-content {
  border: 0;
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow-lg);
}

.modal-header,
.modal-footer { border-color: var(--rv-line); }

.breadcrumb { font-size: .85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--rv-muted-light); }

.badge {
  padding: .4em .7em;
  border-radius: var(--rv-pill);
  font-family: var(--rv-font-semi);
  font-size: .74rem;
  letter-spacing: .01em;
}

.table { --bs-table-color: var(--rv-text); font-size: .92rem; }
.table > :not(caption) > * > * { padding: .85rem .9rem; border-color: var(--rv-line-soft); }
.table thead th {
  font-family: var(--rv-font-semi);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rv-muted);
  background: var(--rv-bg);
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  line-height: 32px;
  color: var(--rv-ink);
}

/* ==========================================================================
   6. Conteúdo interno (páginas de política, página de conteúdo)
   ========================================================================== */

#main {
  position: relative;
  z-index: 3;
  min-height: 60vh;
}

/* Página de conteúdo (pages.php) */
#about {
  padding: clamp(36px, 5vw, 68px) 0 clamp(56px, 7vw, 96px);
  background: transparent !important;
}

#about > .container {
  max-width: 880px;
}

#about > .container > .row > [class*="col-"] {
  padding: clamp(28px, 4vw, 52px);
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow-sm);
}

#about h1 {
  margin: 0 0 .4rem;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.15;
}

#about hr {
  width: 56px;
  height: 4px;
  margin: 1.1rem 0 1.9rem;
  border: 0;
  border-radius: var(--rv-pill);
  background: linear-gradient(90deg, var(--rv-primary), var(--rv-accent));
  opacity: 1;
}

#about h2 { margin: 2rem 0 .75rem; font-size: 1.35rem; }
#about h3 { margin: 1.6rem 0 .6rem; font-size: 1.12rem; }
#about h4 { margin: 1.4rem 0 .5rem; font-size: 1rem; }

#about p,
#about li {
  color: var(--rv-text);
  font-size: .96rem;
  line-height: 1.75;
}

#about ul,
#about ol { padding-left: 1.25rem; }

#about li { margin-bottom: .45rem; }
#about li::marker { color: var(--rv-primary); }

#about a {
  font-family: var(--rv-font-semi);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, .35);
  text-underline-offset: 3px;
}

#about blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.35rem;
  border-left: 4px solid var(--rv-primary);
  border-radius: 0 var(--rv-radius) var(--rv-radius) 0;
  background: var(--rv-primary-050);
  color: var(--rv-ink-soft);
}

#about table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .9rem;
}

#about table th,
#about table td {
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--rv-line-soft);
  text-align: left;
}

#about table th {
  background: var(--rv-bg);
  font-family: var(--rv-font-semi);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--rv-muted);
}

#about img { max-width: 100%; height: auto; border-radius: var(--rv-radius); }

/* Aviso discreto na primeira dobra de páginas internas */
#main > section:first-child:not([class*="home-"]):not(#about) {
  padding-top: 1.25rem;
}

/* ==========================================================================
   7. Home
   ========================================================================== */

.home-page {
  background: var(--rv-bg);
}

.home-page .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5.5vw, 76px) 0 clamp(52px, 7vw, 88px);
  color: #fff;
  background-color: #0A1124;
  background-image:
    radial-gradient(900px 460px at 82% -8%, rgba(37, 99, 235, .55), transparent 62%),
    radial-gradient(680px 420px at 8% 108%, rgba(6, 182, 212, .3), transparent 62%),
    linear-gradient(160deg, #070D1C 0%, #0C1830 52%, #0A1B3A 100%);
  background-size: cover;
  background-position: center;
}

/* Malha sutil sobre o hero */
.home-page .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.home-page .home-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -48%;
  width: 64%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(37, 99, 235, .38) 0%, rgba(37, 99, 235, 0) 68%);
  pointer-events: none;
}

.home-page .home-hero > .container-xxl {
  position: relative;
  z-index: 1;
}

.home-page .home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 60px);
}

.home-page .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--rv-pill);
  background: rgba(255, 255, 255, .1);
  color: #CFE0FF;
  font-family: var(--rv-font-semi);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.home-page .home-eyebrow i { color: #7DD3FC; }

.home-page .home-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  color: #fff;
}

.home-page .home-hero h1 span {
  background: linear-gradient(96deg, #7DD3FC 0%, #93C5FD 48%, #C7D2FE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home-page .home-hero__lead {
  max-width: 48ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.68;
}

/* Busca de domínio */
.home-page .home-search {
  display: flex;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: 590px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 20px 46px rgba(2, 8, 20, .46);
  transition: box-shadow .2s var(--rv-ease), border-color .2s var(--rv-ease);
}

.home-page .home-search:focus-within {
  border-color: rgba(125, 211, 252, .6);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .3), 0 22px 50px rgba(2, 8, 20, .5);
}

.home-page .home-search__field {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding: 0 14px;
  border-right: 1px solid var(--rv-line);
}

.home-page .home-search__prefix {
  color: var(--rv-muted-light);
  font-family: var(--rv-font-semi);
  font-size: 1rem;
}

.home-page .home-search__field input {
  width: 100%;
  min-width: 60px;
  padding: 13px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rv-ink);
  font-family: var(--rv-font);
  font-size: 1rem;
}

.home-page .home-search__field input::placeholder { color: var(--rv-muted-light); }

.home-page .home-search__tld {
  flex: 0 0 auto;
  max-width: 134px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--rv-ink);
  font-family: var(--rv-font-semi);
  font-size: .95rem;
  cursor: pointer;
}

.home-page .home-search__btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--rv-primary) 0%, #3B82F6 100%);
  color: #fff;
  font-family: var(--rv-font-semi);
  font-size: .95rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .34);
  transition: transform .18s var(--rv-ease), box-shadow .18s var(--rv-ease), filter .18s var(--rv-ease);
}

.home-page .home-search__btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.home-page .home-search__btn:active { transform: translateY(1px); }

.home-page .home-search__hint {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
}

.home-page .home-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
}

.home-page .home-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--rv-pill);
  background: rgba(255, 255, 255, .05);
}

.home-page .home-trust i { color: #7DD3FC; font-size: 1rem; }

/* Cards de plano */
.home-page .home-plans {
  display: grid;
  gap: 13px;
}

.home-page .home-plan {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--rv-radius-lg);
  background: #fff;
  color: var(--rv-text);
  box-shadow: 0 16px 36px rgba(2, 8, 20, .3);
  transition: transform .2s var(--rv-ease), box-shadow .2s var(--rv-ease);
}

.home-page .home-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(2, 8, 20, .38);
}

.home-page .home-plan--featured {
  border-color: rgba(125, 211, 252, .35);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(6, 182, 212, .22), transparent 70%),
    linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  color: #fff;
}

.home-page .home-plan__body { flex: 1 1 auto; min-width: 0; }

.home-page .home-plan__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--rv-pill);
  background: var(--rv-primary-050);
  color: var(--rv-primary-600);
  font-family: var(--rv-font-semi);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-page .home-plan--featured .home-plan__tag {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.home-page .home-plan h3 {
  margin: 7px 0 2px;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--rv-ink);
}

.home-page .home-plan--featured h3 { color: #fff; }
.home-page .home-plan__meta { margin: 0; color: var(--rv-muted); font-size: .8rem; }
.home-page .home-plan--featured .home-plan__meta { color: rgba(255, 255, 255, .76); }

.home-page .home-plan__price { flex: 0 0 auto; text-align: right; line-height: 1.1; }

.home-page .home-plan__price small {
  display: block;
  color: var(--rv-muted);
  font-size: .62rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.home-page .home-plan__price strong {
  display: block;
  color: var(--rv-ink);
  font-family: var(--rv-font-bold);
  font-size: 1.45rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.home-page .home-plan__price span { color: var(--rv-muted); font-size: .74rem; }
.home-page .home-plan--featured .home-plan__price small,
.home-page .home-plan--featured .home-plan__price span { color: rgba(255, 255, 255, .7); }
.home-page .home-plan--featured .home-plan__price strong { color: #fff; }

.home-page .home-plan__cta {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-pill);
  color: var(--rv-primary);
  font-size: 1rem;
  transition: background-color .18s var(--rv-ease), color .18s var(--rv-ease), border-color .18s var(--rv-ease), transform .18s var(--rv-ease);
}

.home-page .home-plan__cta:hover {
  border-color: var(--rv-primary);
  background: var(--rv-primary);
  color: #fff;
  transform: translateX(2px);
}

.home-page .home-plan--featured .home-plan__cta { border-color: rgba(255, 255, 255, .5); color: #fff; }
.home-page .home-plan--featured .home-plan__cta:hover { background: #fff; color: var(--rv-primary-600); }

/* Seções */
.home-page .home-section { padding: clamp(52px, 6.5vw, 92px) 0; }

.home-page .home-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.home-page .home-section__head h2 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
}

.home-page .home-section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-page .home-section__head--center p {
  max-width: 58ch;
  margin: 10px 0 0;
  color: var(--rv-muted);
  font-size: 1rem;
}

.home-page .home-section:not(.home-services) .home-eyebrow,
.home-page .home-tlds .home-eyebrow {
  border-color: var(--rv-primary-100);
  background: var(--rv-primary-050);
  color: var(--rv-primary-600);
}

.home-page .home-section:not(.home-services) .home-eyebrow i,
.home-page .home-tlds .home-eyebrow i { color: var(--rv-primary); }

.home-page .home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rv-primary);
  font-family: var(--rv-font-semi);
  font-size: .9rem;
  text-decoration: none;
  transition: gap .18s var(--rv-ease), color .18s var(--rv-ease);
}

.home-page .home-link:hover { gap: 10px; color: var(--rv-primary-700); text-decoration: none; }

/* TLDs */
.home-page .home-tlds {
  padding: clamp(40px, 5vw, 62px) 0 clamp(26px, 3.5vw, 38px);
  background: #fff;
  border-bottom: 1px solid var(--rv-line-soft);
}

.home-page .home-tlds .home-section__head h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }

.home-page .home-tlds__rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.home-page .home-tlds__rail::-webkit-scrollbar { height: 6px; }
.home-page .home-tlds__rail::-webkit-scrollbar-thumb { border-radius: 99px; background: #CBD5E1; }

.home-page .home-tld {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 124px;
  padding: 16px 12px 14px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: #fff;
  color: var(--rv-text);
  scroll-snap-align: start;
  text-decoration: none;
  box-shadow: var(--rv-shadow-xs);
  transition: transform .18s var(--rv-ease), border-color .18s var(--rv-ease), box-shadow .18s var(--rv-ease);
}

.home-page .home-tld:hover {
  border-color: #BBD3F7;
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, .14);
}

.home-page .home-tld img { width: auto; max-width: 88px; height: 30px; object-fit: contain; }

.home-page .home-tld__price {
  color: var(--rv-ink);
  font-family: var(--rv-font-semi);
  font-size: .86rem;
}

.home-page .home-tld__price small { color: var(--rv-muted); font-size: .68rem; font-weight: 400; }

/* Benefícios */
.home-page .home-benefits {
  padding: clamp(38px, 4.5vw, 56px) 0;
  background: var(--rv-bg);
  border-top: 0;
  border-bottom: 1px solid var(--rv-line-soft);
}

.home-page .home-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .home-benefits__grid li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  background: #fff;
  box-shadow: var(--rv-shadow-xs);
  transition: transform .2s var(--rv-ease), box-shadow .2s var(--rv-ease), border-color .2s var(--rv-ease);
}

.home-page .home-benefits__grid li:hover {
  border-color: #C9DCF8;
  transform: translateY(-3px);
  box-shadow: var(--rv-shadow);
}

.home-page .home-benefits__icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--rv-radius);
  background: linear-gradient(140deg, var(--rv-primary-050) 0%, var(--rv-accent-050) 100%);
  color: var(--rv-primary);
  font-size: 1.15rem;
}

.home-page .home-benefits__grid h3 { margin: 2px 0 4px; font-size: .96rem; }
.home-page .home-benefits__grid p { margin: 0; color: var(--rv-muted); font-size: .82rem; line-height: 1.55; }

/* Serviços */
.home-page .home-services { background: #fff; }

.home-page .home-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.home-page .home-service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-xl);
  background: #fff;
  box-shadow: var(--rv-shadow-xs);
  transition: transform .22s var(--rv-ease), box-shadow .22s var(--rv-ease), border-color .22s var(--rv-ease);
}

.home-page .home-service:hover {
  border-color: #BAD3F6;
  transform: translateY(-5px);
  box-shadow: var(--rv-shadow-lg);
}

.home-page .home-service__media {
  display: grid;
  height: 178px;
  padding: 20px;
  place-items: center;
  background: linear-gradient(160deg, #EFF6FF 0%, #F8FAFF 100%);
}

.home-page .home-service__media--navy { background: linear-gradient(160deg, #EEF2F8 0%, #F8FAFC 100%); }
.home-page .home-service__media--mint { background: linear-gradient(160deg, #ECFDF5 0%, #F7FEFB 100%); }

.home-page .home-service__media img {
  width: auto;
  max-width: 100%;
  max-height: 138px;
  object-fit: contain;
  transition: transform .3s var(--rv-ease);
}

.home-page .home-service:hover .home-service__media img { transform: scale(1.045); }

.home-page .home-service__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px;
}

.home-page .home-service__body h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 9px;
  font-size: 1.12rem;
}

.home-page .home-service__body h3 i { color: var(--rv-primary); font-size: 1.05rem; }
.home-page .home-service__body p { margin: 0 0 20px; color: var(--rv-muted); font-size: .92rem; line-height: 1.62; }
.home-page .home-service__body .home-link { margin-top: auto; }

/* CTA final */
.home-page .home-final { background: #fff; padding-top: 0; }

.home-page .home-final__box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(30px, 4.5vw, 54px);
  border-radius: var(--rv-radius-xl);
  background:
    radial-gradient(520px 260px at 92% 4%, rgba(6, 182, 212, .34), transparent 66%),
    linear-gradient(122deg, #0A1124 0%, #14306B 52%, #1D4ED8 100%);
  color: #fff;
  box-shadow: 0 26px 54px rgba(20, 48, 107, .26);
}

.home-page .home-final__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 100% at 100% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 100% 0%, #000 10%, transparent 72%);
  pointer-events: none;
}

.home-page .home-final__text,
.home-page .home-final__actions { position: relative; z-index: 1; }

.home-page .home-final__text h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  color: #fff;
}

.home-page .home-final__text p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .95rem; }

.home-page .home-final .home-eyebrow {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .18);
  color: #DCEBFF;
}

.home-page .home-final__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.home-page .home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--rv-radius);
  font-family: var(--rv-font-semi);
  font-size: .93rem;
  text-decoration: none;
  transition: background-color .18s var(--rv-ease), color .18s var(--rv-ease),
              transform .18s var(--rv-ease), box-shadow .18s var(--rv-ease);
}

.home-page .home-btn:active { transform: translateY(1px); }

.home-page .home-btn--white {
  background: #fff;
  color: var(--rv-primary-600);
  box-shadow: 0 10px 24px rgba(2, 8, 20, .22);
}

.home-page .home-btn--white:hover {
  background: #F1F6FF;
  color: var(--rv-primary-700);
  transform: translateY(-2px);
}

.home-page .home-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.home-page .home-btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transform: translateY(-2px);
}

.home-page .home-search__btn:focus-visible,
.home-page .home-plan__cta:focus-visible,
.home-page .home-btn:focus-visible,
.home-page .home-tld:focus-visible {
  outline: 3px solid rgba(125, 211, 252, .8);
  outline-offset: 2px;
}

/* ==========================================================================
   8. Rodapé
   ========================================================================== */

#footer {
  position: relative;
  background: #070D1C;
  color: #94A3B8;
  font-size: .9rem;
  padding: 0 0 28px;
  margin-top: 0;
}

#footer a { color: #CBD5E1; text-decoration: none; }
#footer a:hover,
#footer a:focus-visible { color: #fff; }

/* Newsletter */
#footer .footer-newsletter {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 54px) 0;
  background:
    radial-gradient(600px 300px at 88% 0%, rgba(6, 182, 212, .3), transparent 68%),
    linear-gradient(118deg, #0F2A5E 0%, #1D4ED8 100%);
  color: #fff;
}

#footer .footer-newsletter h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

#footer .footer-newsletter p { margin: 0; color: rgba(255, 255, 255, .8); }

/* O <form> É o .newsForm (mesmo elemento, não um filho). Não há contêiner
   próprio, então quem emoldura os campos é o próprio form. */
#footer .newsForm { display: flex; gap: 10px; margin: 0; padding: 0; }

#footer .newsForm input[type="email"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 50px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--rv-radius);
  background: #fff;
  color: var(--rv-ink);
  box-shadow: none;
}

#footer .newsForm input[type="email"]:focus {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .22);
}

/* O style.css legado estiliza o <form> como uma "pílula" branca
   (background:#fff; border-radius:50px) para receber o botão absoluto.
   Como o próprio form é o .newsForm, essa pílula virava uma borda
   sobrando em volta do campo e do botão. Aqui o form fica sem caixa:
   quem desenha o visual são o input e o botão, cada um por si. */
#footer .footer-newsletter form {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  gap: 8px;
}

#footer .newsForm input[type="email"] {
  border: 0 !important;
  background: #fff;
}

@media (max-width: 767.98px) {
  /* Empilhado: campo e botão um sob o outro, sem moldura no form. */
  #footer .newsForm {
    gap: 10px;
  }
}

#footer .newsForm button {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 0 0 auto;
  width: auto;
  min-height: 50px;
  padding: 10px 24px;
  border: 0;
  border-radius: var(--rv-radius);
  background: #0A1124;
  color: #fff;
  font-family: var(--rv-font-semi);
  font-size: .92rem;
  transition: background-color .18s var(--rv-ease), transform .18s var(--rv-ease);
}

/* O style.css legado define, com especificidade maior
   (#footer .footer-newsletter form button), o botão como position:absolute
   sobre o campo de e-mail — e o @media (max-width:420px) só aplicava
   width:100%, sem desfazer o absolute. No mobile o botão ficava POR CIMA
   do input. Aqui a especificidade é igualada e o posicionamento é anulado. */
#footer .footer-newsletter form button {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto;
  margin: 0 !important;
  padding: 10px 24px;
  border-radius: var(--rv-radius) !important;
}

/* O input também herda do legado um width:calc(100% - 140px), pensado para
   conviver com o botão absoluto. No layout flex isso não é necessário. */
#footer .footer-newsletter form input[type="email"] {
  width: auto !important;
}


#footer .newsForm button:hover,
#footer .newsForm button:focus-visible {
  background: #16233F;
  transform: translateY(-1px);
}

#footer .newsletter-consent {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .62);
  font-size: .76rem;
  line-height: 1.5;
}

#footer .newsletter-consent a { color: #fff; text-decoration: underline; }

/* Colunas */
#footer .footer-top {
  padding: clamp(38px, 4.5vw, 58px) 0 12px;
  background: transparent;
  border: 0;
  color: #94A3B8;
}

#footer .footer-top .container > .row { row-gap: 10px; }

#footer .footer-top h2,
#footer .footer-top h3,
#footer .footer-top h4 {
  margin: 0 0 14px;
  padding: 0;
  color: #fff;
  font-family: var(--rv-font-semi);
  font-size: .8rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#footer .footer-top h3 { margin-top: 26px; }

#footer .footer-links ul,
#footer .footer-top ul {
  margin: 0 0 0;
  padding: 0;
  list-style: none;
}

#footer .footer-top .footer-links ul li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 2px;
  padding: 0;
  font-size: .875rem;
  line-height: 1.5;
}

#footer .footer-top .footer-links ul li:first-child { padding-top: 0; }

#footer .footer-top .footer-links ul i {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: #3B82F6;
  font-size: .95rem;
  line-height: 1.5;
}

#footer .footer-top .footer-links ul a {
  display: inline-block;
  padding: 3px 0;
  color: #94A3B8;
  font-size: .875rem;
  transition: color .16s var(--rv-ease), transform .16s var(--rv-ease);
}

#footer .footer-top .footer-links ul a:hover {
  color: #fff;
  transform: translateX(2px);
}

#footer .footer-top .footer-contact { margin-bottom: 26px; }

#footer .footer-top .footer-contact p {
  color: #94A3B8;
  font-family: var(--rv-font);
  font-size: .875rem;
  line-height: 1.75;
}

#footer .footer-top .footer-contact strong { color: #fff; }

#footer .footer-top .footer-contact a { color: #93C5FD; }
#footer .footer-top .footer-contact a:hover { color: #fff; }

/* Redes sociais */
#footer .social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }

#footer .footer-top .social-links a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--rv-radius);
  background: rgba(255, 255, 255, .04);
  color: #CBD5E1;
  font-size: 1.05rem;
  transition: background-color .18s var(--rv-ease), border-color .18s var(--rv-ease),
              color .18s var(--rv-ease), transform .18s var(--rv-ease);
}

#footer .footer-top .social-links a:hover {
  border-color: transparent;
  background: var(--rv-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Base do rodapé */
#footer .footer-bottom {
  margin-top: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

#footer .footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#footer .footer-bottom-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: .85rem;
}

#footer .copyright {
  padding: 0;
  text-align: left;
  color: #94A3B8;
  font-size: .85rem;
}

#footer .copyright strong { color: #fff; }

#footer .credits {
  padding: 0;
  text-align: left;
  color: #64748B;
  font-size: .78rem;
  line-height: 1.6;
}

/* ==========================================================================
   9. Elementos flutuantes
   ========================================================================== */

/* --------------------------------------------------------------------------
   Heroes das páginas internas
   Os HTMLs vivem em /public_html e não podem ser alterados, então o unificar
   do visual acontece por seletor. Cada página interna tem um wrapper
   reconhecível: .parallax + .cover-blue (registro e transferência),
   .bg-whois (whois) e .tlds-hero (tlds).
   -------------------------------------------------------------------------- */

/* Wrapper com imagem de fundo + overlay azul */
.parallax {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(700px 380px at 84% 0%, rgba(37, 99, 235, .52), transparent 66%),
    linear-gradient(122deg, #070D1C 0%, #0E1E3E 55%, #14306B 100%) !important;
  background-size: cover !important;
  background-position: center !important;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 76%);
  pointer-events: none;
}

.parallax > * { position: relative; z-index: 1; }

.cover-blue {
  background: transparent !important;
}

/* Hero com imagem de fundo (WHOIS) */
.bg-whois {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(700px 380px at 82% 0%, rgba(37, 99, 235, .5), transparent 66%),
    linear-gradient(122deg, #070D1C 0%, #0E1E3E 55%, #14306B 100%) !important;
  background-size: cover !important;
  background-position: center !important;
}

.bg-whois::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 76%);
  pointer-events: none;
}

.bg-whois > div { position: relative; z-index: 1; }

.bg-whois h1,
.bg-whois h5,
.bg-whois h2 {
  color: #fff !important;
  font-family: var(--rv-font-bold);
  letter-spacing: -.025em;
}

.bg-whois h1 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }

/* Heros escuros: qualquer heading dentro dos wrappers de fundo escuro
   recebe branco, independentemente de a página usar .text-white ou não.
   O h1 do transferir-dominio não tinha classe de cor e ficava ink sobre
   o gradiente escuro (contraste 1.48:1).

   Os seletores de hero usam `:not()` para não vazar em containers
   claros aninhados — por exemplo os cards .home-plan que vivem DENTRO
   do .home-hero mas têm fundo branco próprio. */
.parallax h1, .parallax h2, .parallax h3, .parallax h4, .parallax h5, .parallax h6,
.cover-blue h1, .cover-blue h2, .cover-blue h3, .cover-blue h4, .cover-blue h5, .cover-blue h6,
.bg-whois h1, .bg-whois h2, .bg-whois h3, .bg-whois h4, .bg-whois h5, .bg-whois h6,
.bg-contato h1, .bg-contato h2, .bg-contato h3, .bg-contato h4, .bg-contato h5, .bg-contato h6,
.tlds-hero h1, .tlds-hero h2, .tlds-hero h3, .tlds-hero h4, .tlds-hero h5, .tlds-hero h6,
.home-page .home-hero h1, .home-page .home-hero h2, .home-page .home-hero h3,
.home-page .home-final__box h1, .home-page .home-final__box h2, .home-page .home-final__box h3,
.home-plan--featured h2, .home-plan--featured h3, .home-plan--featured h4,
#footer .footer-newsletter h1, #footer .footer-newsletter h2, #footer .footer-newsletter h3 {
  color: #fff !important;
  font-family: var(--rv-font-bold);
  letter-spacing: -.03em;
}

/* Cards claros dentro de um hero escuro: a cor branca do hero não pode
   vencer aqui — o card tem fundo branco próprio. */
.home-page .home-hero .home-plan:not(.home-plan--featured) h2,
.home-page .home-hero .home-plan:not(.home-plan--featured) h3,
.home-page .home-hero .home-plan:not(.home-plan--featured) h4 {
  color: var(--rv-ink) !important;
}

.parallax p, .parallax .fs-5,
.cover-blue p,
.bg-whois p,
.bg-contato p,
.tlds-hero p {
  color: rgba(255, 255, 255, .82);
}

/* Hero claro com container (registro / transferência de domínio) */
.domain-reg-hero-content {
  position: relative;
  padding-top: clamp(24px, 3vw, 38px);
  padding-bottom: clamp(24px, 3vw, 38px);
}

.domain-reg-intro h1,
.tlds-hero__title {
  color: #fff !important;
  font-family: var(--rv-font-bold);
  letter-spacing: -.03em;
  text-shadow: 0 2px 18px rgba(2, 8, 20, .28);
}

.domain-reg-intro p {
  color: rgba(255, 255, 255, .82) !important;
}

/* Hero de TLDs */
.tlds-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 58px) 0;
  background-image:
    radial-gradient(700px 380px at 84% 0%, rgba(37, 99, 235, .5), transparent 66%),
    linear-gradient(122deg, #070D1C 0%, #0E1E3E 55%, #14306B 100%) !important;
  background-size: cover !important;
}

.tlds-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 76%);
  pointer-events: none;
}

.tlds-hero > * { position: relative; z-index: 1; }

.tlds-hero__lead {
  color: rgba(255, 255, 255, .82) !important;
}

.tlds-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}

.tlds-hero__stats li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--rv-pill);
  background: rgba(255, 255, 255, .06);
}

.tlds-hero__stats i { color: #7DD3FC; }

/* Breadcrumb */
.breadcrumb {
  font-family: var(--rv-font);
  font-size: .82rem;
}

/* O breadcrumb das páginas internas fica logo abaixo do header fixo —
   precisa de respiro para não sumir atrás dele. */
.domain-reg-hero-nav {
  padding-top: 14px;
}

.breadcrumb-item a {
  color: var(--rv-muted) !important;
  text-decoration: none;
}

.breadcrumb-item a:hover { color: var(--rv-primary) !important; }

.breadcrumb-item.active {
  color: #fff;
  font-family: var(--rv-font-semi);
}

.breadcrumb .icon-home {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--rv-radius-sm);
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
}

/* Campo de busca de domínio nas páginas internas */
.domain-reg-search-field,
.bg-white.p-1.p-sm-2.rounded.shadow {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: var(--rv-radius) !important;
  background: #fff !important;
  box-shadow: 0 16px 34px rgba(2, 8, 20, .26) !important;
}

.domain-reg-search-field .form-control,
.bg-white.p-1.p-sm-2.rounded.shadow .form-control {
  min-height: 48px;
  padding: .55rem .6rem;
  border: 0 !important;
  background: transparent;
  font-size: 1rem;
}

.domain-reg-search-field .border-right,
.bg-white.p-1.p-sm-2.rounded.shadow .border-right {
  border-color: var(--rv-line) !important;
  color: var(--rv-muted-light) !important;
}

/* Painel de resultados de domínio */
.domain-search-panel,
.d-none.bg-white.p-3.p-sm-4.mt-0.rounded.mx-auto {
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg) !important;
  box-shadow: var(--rv-shadow);
}

/* Grade de TLDs da página de registro de domínio.
   O .row do Bootstrap usa margin-inline:-12px; dentro do .container-xxl
   (padding lateral de 20px) isso estourava 3px e criava scroll horizontal
   em telas de 390px. Aqui o gutter é compensado dentro do container. */
.domains .container-xxl > .row {
  margin-inline: 0;
}

.domains .container-xxl > .row > [class*="col-"] {
  padding-inline: 6px;
}

/* Páginas de SSL (comparessl / sslcheck).
   O custom-ssl.css reduz o padding do container para 10px no mobile,
   mas o .row do Bootstrap continua com margin-inline:-12px — sobram 2px
   de cada lado e o documento passa a rolar na horizontal em 390px.
   Restaurar os 12px padrão do Bootstrap faz a conta fechar. */
@media (max-width: 767.98px) {
  .ssl-page .container { padding-inline: 12px; }
}

/* Cards de serviço (registro de domínio) */
.service-item {
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow-xs);
  transition: transform .2s var(--rv-ease), box-shadow .2s var(--rv-ease), border-color .2s var(--rv-ease);
}

.service-item:hover {
  border-color: #BCD4F6;
  transform: translateY(-4px);
  box-shadow: var(--rv-shadow-lg);
}

.service-item h2,
.service-item h3 {
  color: var(--rv-ink);
  letter-spacing: -.015em;
}

.bg-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--rv-radius);
  background: linear-gradient(140deg, var(--rv-primary-050) 0%, var(--rv-accent-050) 100%);
  color: var(--rv-primary);
  font-size: 1.4rem;
}

/* Blocos "bg-light" usados como seções de conteúdo */
.bg-light {
  background-color: var(--rv-bg) !important;
}

.container-xxl.bg-light,
.container-fluid.bg-light {
  border-top: 1px solid var(--rv-line-soft);
  border-bottom: 1px solid var(--rv-line-soft);
}

/* --------------------------------------------------------------------------
   Tabela de preços (templates/themes_pricing — fora do escopo do tema).
   O .row dePricing fica sem .container, o que gera overflow horizontal de
   12px (padding negativo do Bootstrap). Contido aqui.
   -------------------------------------------------------------------------- */
.pricing {
  position: relative;
  overflow-x: clip;
}

.pricing > .row {
  row-gap: 22px;
  margin-inline: 0;
}

.pricing > .row > [class*="col-"] {
  padding-inline: 12px;
}

/* Cartões de plano de preços */
.pricing .card {
  height: 100%;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow-xs);
  transition: transform .2s var(--rv-ease), box-shadow .2s var(--rv-ease), border-color .2s var(--rv-ease);
}

.pricing .card:hover {
  border-color: #BCD4F6;
  transform: translateY(-4px);
  box-shadow: var(--rv-shadow-lg);
}

.pricing .card-header {
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--rv-line-soft);
  background: #fff;
}

.pricing .card-title {
  margin: 0;
  color: var(--rv-ink);
  font-family: var(--rv-font-semi);
  font-size: 1.05rem;
  letter-spacing: -.015em;
}

.pricing .card-body { padding: 1.4rem; }

.pricing .list-group-item {
  padding: .7rem .2rem;
  border-color: var(--rv-line-soft);
  background: transparent;
  color: var(--rv-text);
  font-size: .9rem;
}

.pricing .price,
.pricing .card-price {
  font-family: var(--rv-font-bold);
  letter-spacing: -.02em;
  color: var(--rv-ink);
}

/* --------------------------------------------------------------------------
   Bloco de preço (.plan-cost).
   O themes_pricing posiciona .plan-brl e .plan-type de forma ABSOLUTA, com
   margens negativas fixas (-20px / 25px). Com a fonte de preço maior do
   redesign (2.4rem), o "R$" encostava no primeiro dígito e o período
   ("1 Ano", "/Mês") ficava POR CIMA do número.
   Aqui a posição volta para o fluxo (flex), preservando a ordem
   R$ -> preço -> período, e o período ganha linha própria.
   -------------------------------------------------------------------------- */
.pricing .plan-cost {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 .3rem;
  margin: .35rem 0 .6rem;
  line-height: 1.15;
}

.pricing .plan-cost .plan-brl {
  position: static;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  opacity: .85;
  align-self: center;
  transform: translateY(-.15em);
}

.pricing .plan-cost .price {
  position: static;
  margin: 0;
  padding: 0;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.05;
}

.pricing .plan-cost .plan-type {
  position: static;
  margin: 0;
  font-size: .9rem;
  font-weight: 500;
  opacity: .8;
  white-space: nowrap;
  flex-basis: 100%;
  text-align: center;
  margin-top: .2rem;
}

/* Preço "de <strike> ... por" (plano padrão com desconto) */
.pricing .plan-price_old {
  font-size: .85rem;
  opacity: .75;
  margin-bottom: .15rem;
  font-weight: 600;
  text-transform: none;
}

.pricing .plan-cor-default {
  display: block;
}

/* Selo de destaque (fita diagonal) */
.pricing .ribbon span {
  background: linear-gradient(135deg, var(--rv-primary) 0%, var(--rv-primary-700) 100%);
  box-shadow: 0 4px 12px -4px rgba(2, 8, 20, .45);
}

.pricing .btn {
  border-radius: var(--rv-radius-sm);
  font-family: var(--rv-font-semi);
}

/* Aviso de cookies (renderizado por /cookies, fora do tema — só o estilo) */#cookie-notice {
  border-radius: var(--rv-radius-lg) var(--rv-radius-lg) 0 0;
  box-shadow: 0 -12px 34px rgba(2, 8, 20, .22);
  font-family: var(--rv-font);
}

#cookie-notice .cookie-notice-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
}

#cookie-notice .cn-text-container {
  display: block;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .8);
  font-size: .82rem;
  line-height: 1.55;
}

#cookie-notice .cn-buttons-container { display: block; }

#cookie-notice .cookies-preferencias {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#cookie-notice .cookies-save {
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--rv-radius-sm);
  background: transparent;
  color: #fff;
  font-family: var(--rv-font-semi);
  font-size: .84rem;
  transition: background-color .18s var(--rv-ease), border-color .18s var(--rv-ease);
}

#cookie-notice .cookies-save:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .55);
}

#cookie-notice .accept-btn {
  background: var(--rv-primary);
  border-color: var(--rv-primary);
}

#cookie-notice .accept-btn:hover {
  background: var(--rv-primary-600);
  border-color: var(--rv-primary-600);
}

#cookie-notice-personalizar .modal-content-custom {
  border-radius: var(--rv-radius-xl);
  font-family: var(--rv-font);
}

.back-to-top { right: 18px; bottom: 18px; z-index: 99998; }

.back-to-top i {
  width: 44px;
  height: 44px;
  border-radius: var(--rv-radius);
  background: var(--rv-ink);
  color: #fff;
  font-size: 22px;
  box-shadow: var(--rv-shadow);
  transition: background-color .2s var(--rv-ease), transform .2s var(--rv-ease);
}

.back-to-top i:hover { background: var(--rv-primary); color: #fff; transform: translateY(-2px); }

.whatsapp-button {
  right: 76px;
  bottom: 18px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--rv-pill);
  background: #16A34A;
  font-family: var(--rv-font-semi);
  font-size: .88rem;
  box-shadow: 0 12px 26px rgba(22, 163, 74, .32);
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background: #15803D;
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   10. Responsivo
   ========================================================================== */

@media (max-width: 1199.98px) {
  .home-page .home-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023.98px) {
  .home-page .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .home-hero__lead { max-width: 62ch; }
  .home-page .home-plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .home-page .home-plan { align-items: flex-start; flex-wrap: wrap; }
  .home-page .home-plan__price { margin-left: auto; }
}

/* Menu colapsado até 991px.
   O <nav> usa navbar-expand-lg: o menu horizontal com 7 itens + dropdown
   não cabe entre 768px e 991px (precisa de ~660px e sobram ~430px depois
   da logo). Com navbar-expand-md os últimos itens ficavam cortados e o
   botão hambúrguer não aparecia. */
@media (max-width: 991.98px) {
  /* O container precisa permitir a quebra de linha: logo + botão ficam na
     primeira linha e o .navbar-collapse (flex-basis:100%) cai para a segunda.
     Com flex-wrap:nowrap o menu era empurrado para fora da viewport. */
  #header .navbar > .container {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  #header .logo { flex: 0 0 auto; }

  #header .navbar-toggler { flex: 0 0 auto; margin-left: auto; }

  #header .navbar-collapse {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start !important;
  }

  #header .navbar-collapse .navbar-nav {
    width: 100%;
    margin-left: 0 !important;
  }

  #header .navbar-collapse {
    margin-top: .6rem;
    padding: .6rem;
    border: 1px solid var(--rv-line);
    border-radius: var(--rv-radius-lg);
    background: #fff;
    box-shadow: var(--rv-shadow-lg);
  }

  .navbar-dark .navbar-nav { gap: 1px; }

  .navbar-dark .navbar-nav .nav-link {
    padding: .7rem .85rem !important;
    border-radius: var(--rv-radius-sm);
    font-size: .93rem;
  }

  .nav-link.btn-basket { margin: .35rem .85rem; }

  .dropdown-menu {
    min-width: 0;
    margin-top: 0 !important;
    border: 0;
    background: var(--rv-bg);
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  .home-page .home-plans { grid-template-columns: minmax(0, 1fr); }

  .home-page .home-final__box { align-items: flex-start; }
  .home-page .home-final__actions { width: 100%; }
  .home-page .home-final__actions .home-btn { flex: 1 1 100%; }

  #footer .footer-bottom .container { align-items: flex-start; }

  #about > .container > .row > [class*="col-"] { padding: 24px 20px; }

  .whatsapp-button {
    right: 12px;
    bottom: 72px;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    border-radius: var(--rv-pill);
  }

  .whatsapp-button span { display: none; }

  /* O botão do chat flutuante fica acima do WhatsApp; desloca os dois
     para não cobrirem o preço dos planos no mobile. */
  .dh-chat {
    bottom: 152px !important;
  }
}

@media (max-width: 575.98px) {
  :root { --rv-header-h: 62px; }

  #header .logo img { height: auto; max-height: 34px; }

  /* Em telas muito estreitas (360px) a logo (240px) + o botão do menu (42px)
     + o gap não cabiam na linha, e o botão caía para uma segunda linha,
     deixando o header com 105px de altura. Aqui a logo encolhe. */
  #header .logo { flex: 0 1 auto; min-width: 0; margin-right: 0 !important; }
  #header .logo img { max-width: 100%; }
  #header .navbar > .container { gap: 8px; }

  .home-page .home-hero { padding-top: 30px; }
  .home-page .home-hero h1 { font-size: 2.05rem; }

  .home-page .home-search {
    flex-wrap: wrap;
    gap: 0;
    padding: 6px;
  }

  .home-page .home-search__field {
    flex: 1 1 100%;
    padding: 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--rv-line);
  }

  .home-page .home-search__tld {
    flex: 1 1 auto;
    min-height: 48px;
    max-width: none;
    padding-left: 12px;
  }

  .home-page .home-search__btn { flex: 0 0 auto; padding: 12px 18px; }
  .home-page .home-search__btn span { display: none; }

  .home-page .home-trust { gap: 8px 10px; font-size: .84rem; }
  .home-page .home-trust li { padding: 5px 11px 5px 8px; }

  .home-page .home-plan { gap: 12px; padding: 15px 16px; }
  .home-page .home-benefits__grid { grid-template-columns: minmax(0, 1fr); }
  .home-page .home-section__head { align-items: flex-start; }
  .home-page .home-tld { width: 112px; }

  #footer .newsForm { flex-direction: column; }
  #footer .newsForm button { width: 100%; }

  /* No mobile o botão vai para baixo do campo. Precisa repor width:100%
     depois da regra de especificidade alta acima (que zera o width). */
  #footer .footer-newsletter form button,
  #footer .footer-newsletter form input[type="email"] {
    width: 100% !important;
  }

  .whatsapp-button { right: 62px; bottom: 14px; padding: 11px 14px; font-size: .82rem; }
}

/* Compensa a altura do chrome fixo, mantendo o HTML original intacto.
   No mobile o header tem ~63px; a folga cobre topbar + header com folga. */
@media (max-width: 767.98px) {
  body { padding-top: calc(var(--rv-topbar-h) + 76px); }

  /* O .row dentro do formulário de busca de domínio herda as margens
     negativas do Bootstrap e estoura 3px na largura de 390px. */
  .domain-reg-search .row {
    margin-inline: 0;
    row-gap: 8px;
  }

  .domain-reg-search .row > [class*="col-"] {
    padding-inline: 0;
  }
}

/* ==========================================================================
   11. Movimento reduzido
   ========================================================================== */

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

  .home-page *:hover { transform: none !important; }
  section.pricing .card:hover { transform: none !important; }
}

/* ==========================================================================
   12. Ofertas (/ofertas) e WHOIS (/whois)
   --------------------------------------------------------------------------
   Os HTMLs vivem em /public_html e não podem ser alterados, então a
   modernização é toda por seletor. Dois detalhes de cascata importantes:

   - /ofertas injeta o default.css do themes_pricing por `echo` no CORPO da
     página, ou seja, DEPOIS deste arquivo. Em especificidade igual o
     default.css vence, por isso as cores aqui levam !important.
   - O cabeçalho da seção vem de text_services.php (.display-6.purple e
     .display-8), combinação que só existe nesse arquivo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   12.1 Cabeçalho da seção de planos
   -------------------------------------------------------------------------- */
h4.display-6.purple {
  margin: 0 !important;
  padding-top: clamp(26px, 3.6vw, 44px);
  color: var(--rv-ink) !important;
  font-family: var(--rv-font-bold);
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.2;
}

/* Barra de acento sob o título */
h4.display-6.purple::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: .85rem auto 0;
  border-radius: var(--rv-pill);
  background: linear-gradient(90deg, var(--rv-primary), var(--rv-accent));
}

h5.display-8 {
  margin: .95rem auto 0 !important;
  max-width: 62ch;
  padding-bottom: clamp(20px, 2.6vw, 32px);
  color: var(--rv-muted) !important;
  font-family: var(--rv-font);
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  font-weight: 400;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12.2 Grade de planos
   O box_pricing.php do themes_pricing/revolution abre um <div class="row
   justify-content-center"> NOVO a cada 4 produtos, e a seção não tem
   .container. Com 5 produtos o último card ficava sozinho numa segunda
   linha, centralizado, com a largura de 1 coluna.
   Solução: a própria <section> vira grid e os .row passam a display:contents,
   de modo que TODOS os cards viram itens do mesmo grid — o card órfão passa
   a se distribuir junto com os demais, qualquer que seja a quantidade.
   As métricas (1280/20px) repetem as do .container-xxl para o bloco alinhar
   com o resto da página.
   -------------------------------------------------------------------------- */
section.pricing {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 20px !important;
  align-items: stretch;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(14px, 3vw, 20px) !important;
}

section.pricing > .row {
  display: contents !important;
}

section.pricing > .row > [class*="col"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

section.pricing > .row > [class*="col"] > form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --------------------------------------------------------------------------
   12.3 Cartão
   -------------------------------------------------------------------------- */
section.pricing .card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 !important;
  border: 1px solid var(--rv-line) !important;
  border-radius: var(--rv-radius-xl) !important;
  background: #fff !important;
  box-shadow: var(--rv-shadow-sm) !important;
  color: var(--rv-text) !important;
  transition: transform .2s var(--rv-ease), box-shadow .2s var(--rv-ease), border-color .2s var(--rv-ease);
}

/* O default.css aplica margin-top negativo e fundo lilás (#ECDCF5) no
   hover — isso deslocava o card e desalinhava a grade. */
section.pricing .card:hover {
  margin: 0 !important;
  background: #fff !important;
  border-color: #BCD4F6 !important;
  box-shadow: var(--rv-shadow-lg) !important;
  color: var(--rv-text) !important;
  transform: translateY(-4px);
}

section.pricing .card.destaque,
section.pricing .card.destaque:hover {
  border-color: transparent !important;
  background: linear-gradient(150deg, var(--rv-primary-600) 0%, var(--rv-primary-700) 55%, #16307A 100%) !important;
  color: #fff !important;
  box-shadow: var(--rv-shadow-brand) !important;
  overflow: hidden;
}

section.pricing .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  /* O topo reserva espaço para o selo. Todos os cards usam a mesma medida
     para que os títulos fiquem alinhados na horizontal, com ou sem selo. */
  padding: 2.9rem 1.35rem 1.5rem !important;
}

section.pricing .card-title {
  margin: 0 0 .3rem !important;
  color: var(--rv-ink) !important;
  font-family: var(--rv-font-bold) !important;
  font-size: 1.02rem !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  line-height: 1.3;
}

section.pricing .card.destaque .card-title {
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   12.4 Bloco de preço
   -------------------------------------------------------------------------- */
section.pricing .plan-price_old {
  margin: 0 0 .4rem !important;
  color: var(--rv-muted) !important;
  font-family: var(--rv-font);
  font-size: .82rem !important;
  font-weight: 500 !important;
  opacity: 1 !important;
  text-transform: none !important;
}

section.pricing .card.destaque .plan-price_old {
  color: rgba(255, 255, 255, .74) !important;
}

section.pricing .plan-price_old strike {
  color: var(--rv-muted);
  font-size: 1em;
}

section.pricing .card.destaque .plan-price_old strike {
  color: rgba(255, 255, 255, .58) !important;
}

section.pricing .plan-cost {
  margin: .25rem 0 .1rem !important;
}

section.pricing .plan-cost .price {
  color: var(--rv-ink) !important;
  font-size: 2.45rem !important;
}

/* O themes_pricing deixa o período com opacity .8, o que sobre o branco
   resulta num cinza muito claro. Cor sólida garante leitura. */
section.pricing .plan-cost .plan-type {
  color: var(--rv-muted) !important;
  opacity: 1 !important;
}

section.pricing .card.destaque .plan-cost .plan-type {
  color: rgba(255, 255, 255, .82) !important;
}

section.pricing .card.destaque .plan-cost .price,
section.pricing .card.destaque .plan-cost .plan-brl,
section.pricing .card.destaque .plan-cost .plan-type {
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   12.5 Lista de recursos
   O default.css zera o padding-left do .fa-ul, então o ícone inline ficava
   colado (e no mobile sobreposto) ao início do texto. Aqui o ícone vira uma
   coluna fixa à esquerda e o texto ganha recuo constante.
   -------------------------------------------------------------------------- */
section.pricing .fa-ul {
  margin: 1.15rem 0 1.3rem !important;
  padding-left: 0 !important;
  list-style: none !important;
}

section.pricing .fa-ul > li {
  margin: 0 0 .55rem !important;
  color: var(--rv-text) !important;
  font-family: var(--rv-font);
  font-size: .875rem !important;
  line-height: 1.5 !important;
}

section.pricing .fa-ul > li:last-child {
  margin-bottom: 0 !important;
}

/* Só os itens de recurso (text-left) que realmente começam com ícone
   recebem o recuo pendurado — o item "Linux, Windows" (text-center, dois
   ícones) continua centralizado como no original. */
section.pricing .fa-ul > li.text-left:has(> i:first-child) {
  position: relative;
  padding-left: 1.55em !important;
}

section.pricing .fa-ul > li.text-left > i:first-child {
  position: absolute;
  left: 0;
  top: .32em;
  width: 1em;
  color: var(--rv-primary);
  font-size: .82em;
  text-align: center;
}

/* Ícones que não são o primeiro (ex.: Linux/Windows) ganham respiro. */
section.pricing .fa-ul > li > i:not(:first-child) {
  margin-inline: .3em;
}

section.pricing .card.destaque .fa-ul > li {
  color: rgba(255, 255, 255, .9) !important;
}

section.pricing .card.destaque .fa-ul > li.text-left > i:first-child {
  color: #7DD3FC;
}

/* --------------------------------------------------------------------------
   12.6 Botões (o default.css usa amarelo #ffd100, que destoa do tema)
   -------------------------------------------------------------------------- */
section.pricing .btn-orange,
section.pricing .btn-pricing {
  border: 0 !important;
  border-radius: var(--rv-radius) !important;
  background: var(--rv-primary) !important;
  color: #fff !important;
  font-family: var(--rv-font-semi) !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  padding: .85rem 1rem !important;
  box-shadow: 0 10px 22px -8px rgba(37, 99, 235, .55) !important;
  transition: background-color .18s var(--rv-ease), transform .18s var(--rv-ease), box-shadow .18s var(--rv-ease);
}

section.pricing .btn-orange:hover,
section.pricing .btn-pricing:hover {
  background: var(--rv-primary-600) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -8px rgba(37, 99, 235, .62) !important;
}

section.pricing .card.destaque .btn {
  background: #fff !important;
  color: var(--rv-primary-700) !important;
  box-shadow: 0 12px 24px -10px rgba(2, 8, 20, .55) !important;
}

section.pricing .card.destaque .btn:hover {
  background: var(--rv-primary-050) !important;
  color: var(--rv-primary-700) !important;
}

/* Empurra o botão para o rodapé do card: com alturas iguais na grade,
   todos os botões ficam na mesma linha. */
section.pricing .pricing-signup {
  margin-top: auto;
  padding-top: .5rem;
}

/* --------------------------------------------------------------------------
   12.7 Divisor e seletor de ciclo
   -------------------------------------------------------------------------- */
section.pricing hr {
  margin: 1.05rem 0 !important;
  border: 0;
  border-top: 1px solid var(--rv-line-soft) !important;
  background: none !important;
  opacity: 1 !important;
}

section.pricing .card.destaque hr {
  border-top-color: rgba(255, 255, 255, .22) !important;
  background: none !important;
}

section.pricing select.form-control,
section.pricing select.form-select {
  height: auto;
  padding: .6rem .85rem;
  border: 1px solid var(--rv-line) !important;
  border-radius: var(--rv-radius-sm) !important;
  background-color: #fff !important;
  color: var(--rv-text) !important;
  font-family: var(--rv-font);
  font-size: .85rem !important;
}

/* --------------------------------------------------------------------------
   12.8 Selo de destaque
   O default.css desenha uma fita diagonal com a caixa fixa em 75x75px, o
   texto rotacionado a 45° e fonte de ~9px. Como o card agora tem cantos de
   24px e overflow:hidden, a fita era cortada de forma irregular.
   Aqui o selo vira uma pílula centralizada no topo do card — legível em
   qualquer largura e sem depender de recorte.
   -------------------------------------------------------------------------- */
section.pricing .ribbon {
  position: absolute;
  top: 12px;
  left: 50%;
  right: auto;
  width: auto;
  height: auto;
  transform: translateX(-50%);
  overflow: visible;
  z-index: 2;
  text-align: center;
}

section.pricing .ribbon span {
  position: static;
  display: inline-block;
  width: auto;
  max-width: min(220px, 100%);
  padding: 4px 13px;
  transform: none;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: var(--rv-pill);
  background: rgba(255, 255, 255, .17) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--rv-font-semi);
  font-size: .58rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5 !important;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* As dobras triangulares da fita original não fazem sentido na pílula. */
section.pricing .ribbon span::before,
section.pricing .ribbon span::after {
  content: none !important;
  display: none !important;
}

/* --------------------------------------------------------------------------
   12.9 WHOIS — hero
   -------------------------------------------------------------------------- */
#bg-whois {
  padding: clamp(42px, 5.5vw, 78px) 0 clamp(38px, 5vw, 66px) !important;
  box-shadow: none !important;
}

#bg-whois h1 {
  margin: 0 auto !important;
  max-width: 24ch;
  color: #fff !important;
  font-family: var(--rv-font-bold);
  font-size: clamp(1.7rem, 3.6vw, 2.85rem) !important;
  font-weight: 800;
  letter-spacing: -.032em;
  line-height: 1.14;
  text-wrap: balance;
}

/* O <h5> do template é vazio — não deve reservar espaço. */
#bg-whois h5:empty {
  display: none !important;
}

#bg-whois .row h3 {
  margin: 0 0 .4rem !important;
  color: #fff !important;
  font-family: var(--rv-font-bold);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}

#bg-whois .row p {
  margin: 0 !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: .95rem;
}

/* --------------------------------------------------------------------------
   12.10 WHOIS — formulário de busca
   O markup põe "www." num .col-sm-1 e o input num .col-8 dentro de uma
   caixa branca. Sem tratamento, o "www." encostava no placeholder e, no
   mobile, o input ficava com apenas 125px de largura.
   -------------------------------------------------------------------------- */
#formWhois {
  width: 100%;
}

#formWhois > .row {
  --bs-gutter-x: 12px;
  row-gap: 10px;
  align-items: stretch;
  margin-inline: 0;
}

/* Caixa branca do campo */
#formWhois .bg-white {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 !important;
  border-radius: var(--rv-radius-lg) !important;
  box-shadow: 0 18px 44px -14px rgba(2, 8, 20, .5) !important;
}

#formWhois .bg-white > .row {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  min-width: 0;
}

#formWhois .bg-white > .row > [class*="col"] {
  width: auto !important;
  max-width: none !important;
  flex: 1 1 auto;
  padding: 0 !important;
}

/* "www." como prefixo de verdade, separado por um divisor */
#formWhois .col-sm-1 {
  flex: 0 0 auto !important;
  padding: 0 .7rem 0 1.05rem !important;
  border-right: 1px solid var(--rv-line) !important;
  color: var(--rv-muted-light) !important;
  font-family: var(--rv-font-semi);
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

#formWhois #domain {
  width: 100%;
  height: 58px;
  padding: 0 .95rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--rv-ink) !important;
  font-family: var(--rv-font);
  font-size: 1.05rem !important;
  box-shadow: none !important;
}

#formWhois #domain::placeholder {
  color: var(--rv-muted-light);
}

#formWhois button[type="submit"] {
  width: 100%;
  height: 58px;
  border: 0 !important;
  border-radius: var(--rv-radius-lg) !important;
  background: var(--rv-primary) !important;
  color: #fff !important;
  box-shadow: 0 18px 38px -14px rgba(37, 99, 235, .75) !important;
  transition: background-color .18s var(--rv-ease), transform .18s var(--rv-ease);
}

#formWhois button[type="submit"]:hover {
  background: var(--rv-primary-600) !important;
  transform: translateY(-1px);
}

#formWhois button[type="submit"] .h5 {
  font-family: var(--rv-font-semi) !important;
  font-size: .95rem !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
}

/* O template limita o formulário a 75% (.w-75). Abaixo de 992px isso
   espremia o campo: em 576px o input ficava com 232px e o botão com 85px,
   quebrando o "Verificar" em duas linhas. */
@media (max-width: 991.98px) {
  #bg-whois .w-75 {
    width: 100% !important;
  }

  #formWhois button[type="submit"] {
    min-width: 132px;
    white-space: nowrap;
  }
}

/* No mobile o form precisa de largura cheia (o template usa .w-75). */
@media (max-width: 575.98px) {
  #formWhois #domain {
    height: 54px;
    font-size: 1rem !important;
  }

  #formWhois button[type="submit"] {
    height: 52px;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   12.11 WHOIS — resultado da consulta
   A seção #response nasce com .d-none e é revelada por JS.
   -------------------------------------------------------------------------- */
#response {
  margin-top: clamp(24px, 3vw, 40px) !important;
}

#response > .row > [class*="col-"] {
  border-radius: var(--rv-radius-xl);
}

#response .card {
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-sm);
}

#response .card-header {
  border-bottom: 1px solid var(--rv-line-soft);
  border-radius: var(--rv-radius-lg) var(--rv-radius-lg) 0 0;
  background: #fff !important;
}

#response .card-header h3 {
  margin: 0;
  color: var(--rv-ink);
  font-family: var(--rv-font-bold);
  font-size: 1.05rem;
  font-weight: 700;
}

#response .image-box {
  border-radius: var(--rv-radius);
  box-shadow: var(--rv-shadow-sm);
}

/* --------------------------------------------------------------------------
   12.12 WHOIS — as duas colunas de texto do fim da página
   Selecionadas por `#response + .container`, que é exatamente o bloco que
   vem logo depois da área de resultado.
   -------------------------------------------------------------------------- */
#response + .container {
  margin-top: clamp(38px, 5vw, 66px) !important;
  margin-bottom: clamp(38px, 5vw, 66px) !important;
}

#response + .container > .row {
  --bs-gutter-x: 24px;
  row-gap: 20px;
}

#response + .container > .row > [class*="col-"] {
  padding: clamp(22px, 2.6vw, 32px);
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow-sm);
}

#response + .container h3 {
  margin: 0 0 .7rem !important;
  color: var(--rv-ink) !important;
  font-family: var(--rv-font-bold);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem) !important;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}

#response + .container h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: .8rem;
  border-radius: var(--rv-pill);
  background: linear-gradient(90deg, var(--rv-primary), var(--rv-accent));
}

#response + .container > .row > [class*="col-"] > span {
  display: block;
  color: var(--rv-muted);
  font-size: .92rem;
  line-height: 1.68;
}

#response + .container a {
  color: var(--rv-primary);
  font-weight: 600;
  text-decoration: none;
}

#response + .container a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   12.13 Ofertas — ajustes de mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  section.pricing {
    gap: 16px !important;
  }

  section.pricing .card-body {
    padding: 1.35rem 1.2rem !important;
  }

  section.pricing .fa-ul > li {
    font-size: .9rem !important;
  }

  section.pricing .plan-cost .price {
    font-size: 2.3rem !important;
  }

  h4.display-6.purple {
    padding-top: 26px;
  }
}
