/* ===== Tokens ===== */
:root {
  --brand: #F26722;
  --brand-600: #D9520F;
  --ink: #0A0A0A;
  --ink-soft: #3A3A3A;
  --cream: #FAF5F2;
  --white: #FFFFFF;
  --border: #ECE3DC;

  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --container: 1160px;
  --radius: 16px;
  --radius-sm: 10px;

  --shadow: 0 10px 30px -12px rgba(10, 10, 10, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(10, 10, 10, 0.15);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--ink);
}
.btn-primary:hover { background: #ff7a34; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.section-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.section-dark .btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px -10px rgba(10,10,10,0.15);
  border-bottom-color: var(--border);
}

/* Header em uma faixa só */
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; transition: height .25s var(--ease); }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

/* Contratos e Instagram vivem na coluna miúda no desktop e viram item de menu no mobile */
.nav-extra { display: none; }

.institutional-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  flex-shrink: 0;
  overflow: hidden;
}
.institutional-links a {
  font-size: 0.78rem;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.institutional-links a:hover { color: var(--brand); }

.header-boleto { flex-shrink: 0; }

/* Linha em degradê no pé do header */
.header-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-600) 45%, var(--ink) 100%);
}

.nav-boleto { display: none; }

/* Header compacto ao rolar */
@media (min-width: 861px) {
  .site-header .header-inner { transition: min-height .25s var(--ease), padding .25s var(--ease); }
  .site-header.is-scrolled .header-inner { min-height: 66px; padding-top: 6px; padding-bottom: 6px; }
  .institutional-links { max-width: 160px; opacity: 1; margin-left: 0; transition: max-width .25s var(--ease), opacity .2s var(--ease), margin-left .25s var(--ease); }
  .site-header.is-scrolled .institutional-links { max-width: 0; opacity: 0; margin-left: -26px; pointer-events: none; }
  .site-header.is-scrolled .brand-logo { height: 34px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Compensa o header fixo ao pular por âncora */
#diferenciais, #plano, #cobertura, #suporte, #contato, #contratos, #conteudo { scroll-margin-top: 110px; }
@media (max-width: 760px) { #diferenciais, #plano, #cobertura, #suporte, #contato, #contratos, #conteudo { scroll-margin-top: 90px; } }

/* ===== Faixa / Banner ===== */
.banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 55% 110%, rgba(242,103,34,0.35) 0%, rgba(242,103,34,0) 62%),
    linear-gradient(120deg, #0A0A0A 0%, #171310 55%, #2A1A0E 100%);
  color: var(--white);
}
.banner::after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-600) 50%, transparent 100%);
}

.banner-track { position: relative; }
.banner-slide { display: none; }
.banner-slide.is-active { display: block; animation: banner-in .5s var(--ease) both; }
@keyframes banner-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.banner-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: end;
  gap: 40px;
  min-height: 480px;
}

.banner-art {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
}
.banner-avatar {
  display: block;
  width: auto;
  height: 100%;
  max-height: 480px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 46px rgba(0,0,0,0.5));
  animation: float-avatar 9s ease-in-out infinite;
}
.banner-art.no-avatar .banner-avatar { display: none; }
.banner-icon {
  width: 240px;
  max-width: 100%;
  opacity: 0.9;
  margin-bottom: 48px;
  animation: float-avatar 9s ease-in-out infinite;
}

.banner-copy { padding: 64px 0 72px; }
.banner-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.banner-title span { color: var(--brand); display: block; }
.banner-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  margin-bottom: 26px;
}
.banner-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  max-width: 44ch;
  margin-top: 16px;
}
.banner-note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.banner-note a:hover { color: #ff7a34; }

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.banner-arrow:hover { background: var(--brand); color: var(--ink); }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }

.banner-dots {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background .2s var(--ease), width .2s var(--ease);
}
.banner-dot.is-active { background: var(--brand); width: 26px; border-radius: 999px; }

@keyframes float-avatar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .banner-avatar, .banner-icon { animation: none; }
  .banner-slide.is-active { animation: none; }
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}
.eyebrow-light { color: #FF9A5C; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; margin-top: 14px; }
.section-lead-light { color: rgba(255,255,255,0.72); }

/* ===== Diferenciais bg ===== */
#diferenciais {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(242,103,34,0.14), rgba(242,103,34,0) 55%),
    radial-gradient(circle at 6% 92%, rgba(242,103,34,0.10), rgba(242,103,34,0) 50%),
    linear-gradient(180deg, var(--cream) 0%, #FFFFFF 45%, var(--cream) 100%);
}
#diferenciais::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(242,103,34,0.22), rgba(242,103,34,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
#diferenciais::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10,10,10,0.09) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 10% 10%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 10% 10%, #000 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
#diferenciais .container { position: relative; z-index: 1; }

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(242,103,34,0.12);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
  background: rgba(242,103,34,0.2);
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ===== Plano ===== */
.plan-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.plan-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.plan-lead { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 26px; max-width: 48ch; }
.plan-list { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
}
.plan-list li::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.plan-card {
  position: relative;
  isolation: isolate;
  color: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 70% at 14% -18%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(168deg,
      var(--brand) 0%,
      var(--brand) 14%,
      var(--brand-600) 32%,
      #7E2E09 44%,
      #2B1105 55%,
      var(--ink) 66%,
      var(--ink) 100%);
  box-shadow: 0 30px 60px -28px rgba(242, 103, 34, 0.6), var(--shadow);
}
/* brilho de topo e vinheta: tira o aspecto de cor chapada */
.plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(85% 38% at 50% 0%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(60% 30% at 88% 12%, rgba(242, 103, 34, 0.35) 0%, rgba(242, 103, 34, 0) 72%);
  pointer-events: none;
}
.plan-card-top {
  padding: 38px 32px 30px;
  text-shadow: 0 1px 12px rgba(90, 28, 0, 0.35);
}
.plan-badge {
  display: inline-block;
  background: rgba(10, 10, 10, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.plan-speed { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 2px; }
.plan-speed strong { font-size: 2.9rem; letter-spacing: -0.02em; }
.plan-speed-sub { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.plan-card-bottom {
  position: relative;
  padding: 26px 32px 32px;
}
/* fio de luz no lugar do corte seco entre as duas cores */
.plan-card-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.22) 35%, rgba(255, 255, 255, 0) 100%);
}
.plan-card-bottom p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin-bottom: 20px; }
.plan-card .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.plan-card .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ===== Cobertura ===== */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.coverage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--brand-600);
}
.coverage-item span { color: var(--ink); }

/* ===== Contato ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  color: var(--white);
  transition: color .2s var(--ease);
}
.contact-item svg { color: var(--brand); flex-shrink: 0; }
a.contact-item:hover { color: var(--brand); }
.contact-item-static { color: rgba(255,255,255,0.8); font-weight: 500; }

/* ===== Suporte técnico ===== */
.support-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.support-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(242,103,34,0.12);
  color: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.support-wrap h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; }
.support-wrap .section-lead { margin: 0 auto 28px; }

.support-hours {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 24px;
  margin-bottom: 28px;
  text-align: left;
}
.support-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.support-hours-row:last-child { border-bottom: none; }
.support-hours-row span { color: var(--ink-soft); }
.support-hours-row strong { color: var(--ink); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Footer ===== */
.site-footer { background: #060606; color: rgba(255,255,255,0.75); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 64px 0 40px;
}
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--brand); }
.footer-col li { font-size: 0.9rem; }
.footer-contracts {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
}
.footer-contracts h4,
.footer-addresses h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 18px;
}
.contracts-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer-addresses {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
}
.addresses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.address-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.address-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.address-item a {
  font-size: 0.85rem;
  transition: color .2s var(--ease);
}
.address-item a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-credit {
  text-align: center;
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-credit a { color: rgba(255,255,255,0.55); font-weight: 600; transition: color .2s var(--ease); }
.footer-credit a:hover { color: var(--brand); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-main-phone {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}
.footer-main-phone:hover { color: var(--brand); }
/* ===== Botões flutuantes (WhatsApp / Instagram) ===== */
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.floating-btn:hover { transform: translateY(-3px) scale(1.05); filter: brightness(1.08); }

.floating-whatsapp {
  background: #25D366;
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.6);
}
.floating-instagram {
  background: linear-gradient(45deg, #F58529 0%, #DD2A7B 45%, #8134AF 75%, #515BD4 100%);
  box-shadow: 0 10px 24px -6px rgba(221, 42, 123, 0.55);
}

@media (max-width: 520px) {
  .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
  .floating-btn { width: 50px; height: 50px; }
}


/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Modal 2ª via de Boletos ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.modal.is-open .modal-dialog { opacity: 1; transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-soft);
  padding: 4px 8px;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.modal-close:hover { color: var(--ink); background: var(--cream); }

.modal-title { font-size: 1.35rem; margin-bottom: 8px; }
.modal-desc { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 22px; }
.modal-actions { display: grid; gap: 12px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .banner-inner { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .banner-art { order: -1; padding-top: 32px; }
  .banner-avatar { max-height: 320px; }
  .banner-icon { width: 150px; margin-bottom: 0; }
  .banner-copy { padding: 24px 0 60px; }
  .banner-text { margin-left: auto; margin-right: auto; }
  .banner-arrow { width: 38px; height: 38px; }
  .banner-prev { left: 6px; }
  .banner-next { right: 6px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .addresses-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .header-inner { gap: 18px; }
  .institutional-links { display: none; }
  .nav-extra { display: block; }
  .main-nav ul { gap: 6px 16px; }
  .main-nav a { font-size: 0.86rem; }
}

@media (max-width: 860px) {
  .header-inner { gap: 12px; min-height: 68px; }
  .brand { flex: 1; }
  .brand-logo { height: 34px; }
  .header-boleto { padding: 9px 14px; gap: 6px; font-size: 0.78rem; }
  .header-boleto svg { flex-shrink: 0; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--white);
    padding: 20px 24px 28px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; flex-wrap: nowrap; gap: 4px; justify-content: flex-start; }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-boleto { display: block; margin-top: 12px; }
  .nav-boleto .btn { white-space: normal; }
  .nav-toggle { display: flex; }
}

@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .brand-logo { height: 28px; }
  .header-boleto { padding: 8px 10px; font-size: 0.7rem; }
}

@media (max-width: 760px) {
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 48px 0 32px; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .banner-copy .btn { width: 100%; }
  .contracts-actions { flex-direction: column; align-items: stretch; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
