/*
Theme Name: SGT POS
Theme URI: https://sgtpos.com.br
Author: MMoura Soluções
Author URI: https://marcosmoura.dev
Description: Tema institucional do SGT POS — Sistema de Gestão de Transações POS. Landing page com carrossel "Como funciona", Benefícios, Para o gestor, Planos e formulário de demonstração. Etapas do carrossel, Funcionalidades e Planos cadastráveis pelo painel.
Version: 0.11.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: sgt-pos
*/

/* ============================================================
   TOKENS — cores extraídas do logo SGT POS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:         #0B1B4D;
  --navy-deep:    #081338;
  --navy-soft:    #15296B;
  --primary:      #0490CB;
  --primary-dark: #03709F;
  --cyan:         #07BFD7;
  --cyan-light:   #C1F2F9;
  --text:         #0B1B4D;
  --text-muted:   #52607A;
  --on-dark:      #C9D4EA;
  --bg:           #FFFFFF;
  --bg-alt:       #F2F8FC;
  --border:       #D9E6F0;
  --success:      #0F9D6B;
  --warning:      #B7791F;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --shadow:       0 4px 24px rgba(11,27,77,.08);
  --shadow-lg:    0 18px 50px rgba(11,27,77,.16);
  --transition:   .25s ease;
  --max-w:        1200px;
  --header-h:     76px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  /* escala de tamanho dos textos — definida por seção no Personalizador */
  --fs-t: 1;   /* títulos */
  --fs-x: 1;   /* textos */
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--header-h); }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .btn, .btn-access { font-family: var(--font-display); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; }

.screen-reader-text,
.skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 2000; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); }

/* ============================================================
   HEADER (sempre escuro, continua o hero)
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(8,19,56,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.site-logo:hover { text-decoration: none; }
.site-logo__img { height: 34px; width: auto; }
.site-logo__desc { font-size: .78rem; color: var(--on-dark); line-height: 1.25; max-width: 24ch; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }

.site-nav { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav__link { padding: 8px 12px; border-radius: var(--radius-sm); color: #fff; font-size: .93rem; font-weight: 500; transition: background var(--transition); }
.site-nav__link:hover, .site-nav__link[aria-current="section"] { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.site-nav__link--login { color: var(--on-dark); }

.btn-access {
  display: inline-block; margin-left: 10px;
  background: #fff; color: var(--navy) !important;
  border-radius: 100px; padding: 10px 20px;
  font-size: .88rem; font-weight: 700;
  transition: background var(--transition);
}
.btn-access:hover { background: var(--cyan-light); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #fff; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-block; border-radius: 100px;
  padding: 14px 26px; font-size: .98rem; font-weight: 700; text-align: center;
  cursor: pointer; border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { text-decoration: none; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cyan-light); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--primary-dark); color: #fff; }
.btn--cyan { background: var(--cyan); color: var(--navy); }
.btn--cyan:hover { background: var(--cyan-light); color: var(--navy); }
button.btn:disabled { opacity: .6; cursor: progress; }

/* ============================================================
   TIPOGRAFIA DE SEÇÃO
   ============================================================ */
main > section { padding-block: 104px; }

.kicker {
  font-family: var(--font-display);
  font-size: calc(.78rem * var(--fs-x)); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--cyan); }
.kicker--light { color: var(--cyan); }

.section-title {
  font-size: calc(clamp(1.8rem, 3.4vw, 2.7rem) * var(--fs-t));
  font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  color: var(--navy); margin-bottom: 18px; max-width: 20ch;
}
.section-text { color: var(--text-muted); font-size: calc(1.08rem * var(--fs-x)); max-width: 58ch; }
/* trecho destacado nos títulos (<span> no painel) */
.section-title span, .antes__title span, .duo__card h3 span { color: var(--primary-dark); }
.duo__card--dark h3 span, .contato__info h2 span { color: var(--cyan); }

/* ============================================================
   HOME / HERO
   ============================================================ */
.hero {
  background: var(--navy-deep);
  color: #fff;
  padding-block: 0 !important;
  overflow: hidden;
}

/* ── Carrossel de banners ─────────────────────────────────── */
.hero-carousel { position: relative; display: grid; }
.hero__slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex; align-items: center;
  min-height: min(760px, 92vh);
  padding: calc(var(--header-h) + 72px) 0 170px;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.hero__slide:not(.has-img) {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(4,144,203,.28), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(7,191,215,.12), transparent 60%),
    var(--navy-deep);
}
/* sem banners cadastrados: mantém a altura da seção, só com o fundo */
.hero__slide--vazio { min-height: min(760px, 92vh) !important; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; z-index: 1; }

.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 75% center; /* mantém o assunto (lado direito da imagem) visível em telas estreitas */
  transform: scale(1.06);
}
.hero__slide.is-active .hero__bg { animation: sgt-zoom 9s ease-out forwards; }
@keyframes sgt-zoom { to { transform: scale(1); } }

/* escurecimento para garantir leitura do texto sobre a imagem */
.hero__slide.has-img::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, var(--navy-deep) 0%, rgba(8,19,56,0) 32%),
    linear-gradient(90deg, rgba(8,19,56,.92) 0%, rgba(8,19,56,.72) 45%, rgba(8,19,56,.3) 100%);
}
.hero__slide--overlay-forte.has-img::before {
  background:
    linear-gradient(0deg, var(--navy-deep) 0%, rgba(8,19,56,0) 32%),
    linear-gradient(90deg, rgba(8,19,56,.94) 0%, rgba(8,19,56,.85) 55%, rgba(8,19,56,.7) 100%);
}
.hero__slide--overlay-leve.has-img::before {
  background:
    linear-gradient(0deg, var(--navy-deep) 0%, rgba(8,19,56,0) 30%),
    linear-gradient(90deg, rgba(8,19,56,.85) 0%, rgba(8,19,56,.45) 50%, rgba(8,19,56,0) 100%);
}
.hero__slide > .container { position: relative; z-index: 2; }

.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__grid--solo { grid-template-columns: minmax(0, 620px); }
.hero__text { text-shadow: 0 1px 24px rgba(8,19,56,.35); }

/* controles */
.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 104px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
}
.hero__dots { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
.hero__dot { background: none; border: none; cursor: pointer; padding: 12px 4px; }
.hero__dot span {
  position: relative; display: block; overflow: hidden;
  width: 28px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.3);
  transition: width var(--transition), background var(--transition);
}
.hero__dot:hover span { background: rgba(255,255,255,.6); }
.hero__dot[aria-current="true"] span { width: 52px; background: rgba(255,255,255,.35); }
.hero__dot[aria-current="true"] span::after {
  content: ''; position: absolute; inset: 0; background: #fff;
  transform-origin: left; transform: scaleX(1);
}
.hero-carousel.is-playing .hero__dot[aria-current="true"] span::after { transform: scaleX(0); animation: sgt-fill var(--sgt-interval, 7s) linear forwards; }
.hero-carousel.is-paused  .hero__dot[aria-current="true"] span::after { animation-play-state: paused; }
@keyframes sgt-fill { to { transform: scaleX(1); } }

.hero__arrow {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8,19,56,.35); border: 1.5px solid rgba(255,255,255,.3); color: #fff;
  cursor: pointer; transition: border-color var(--transition), background var(--transition);
}
.hero__arrow:hover { border-color: #fff; background: rgba(8,19,56,.6); }
.hero__arrow--play .i-play { display: none; }
.hero-carousel.is-paused .hero__arrow--play .i-play { display: block; }
.hero-carousel.is-paused .hero__arrow--play .i-pause { display: none; }

.hero__title {
  font-size: calc(clamp(2.1rem, 4.2vw, 3.25rem) * var(--fs-t));
  font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
  margin-bottom: 22px; max-width: 21ch;
}
.hero__title span { color: var(--cyan); }
/* títulos longos ficam um pouco menores para não virar um bloco de 6+ linhas */
.hero__title--longo { font-size: calc(clamp(1.8rem, 3.3vw, 2.5rem) * var(--fs-t)); line-height: 1.15; }
.hero__desc { font-size: calc(1.12rem * var(--fs-x)); color: var(--on-dark); max-width: 54ch; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* card de cobrança */
.hero__visual { display: flex; justify-content: center; }
.cob-card {
  width: min(100%, 420px);
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
}
.cob-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.cob-card__label { display: block; font-size: .75rem; color: var(--text-muted); }
.cob-card__id { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy); }
.cob-card__badge { position: relative; display: inline-block; font-size: .75rem; font-weight: 700; min-width: 86px; height: 26px; }
.cob-card__badge > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 100px; }
.cob-card__badge-wait { background: #FDF3DC; color: var(--warning); }
.cob-card__badge-ok   { background: #DDF5EC; color: #0B6B49; opacity: 0; }
.cob-card__valor { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); margin: 10px 0 16px; }
.cob-card__dados { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 16px 0; border-block: 1px solid var(--border); }
.cob-card__dados dt { font-size: .72rem; color: var(--text-muted); }
.cob-card__dados dd { font-size: .9rem; font-weight: 600; color: var(--navy); }

.cob-card__timeline { list-style: none; padding: 16px 0 6px; display: flex; flex-direction: column; gap: 10px; }
.cob-card__timeline li { position: relative; padding-left: 28px; font-size: .88rem; color: var(--text-muted); }
.cob-card__timeline li::before {
  content: ''; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--border); background: #fff;
}
.cob-card__timeline li::after {
  content: ''; position: absolute; left: 5px; top: 50%;
  width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: translateY(-65%) rotate(45deg); opacity: 0;
}
.cob-card__nsu { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; color: var(--text-muted); opacity: 0; }

@keyframes sgt-step { to { color: var(--navy); } }
@keyframes sgt-dot  { to { background: var(--success); border-color: var(--success); } }
@keyframes sgt-in   { to { opacity: 1; } }
@keyframes sgt-out  { to { opacity: 0; } }
.cob-card__timeline li { animation: sgt-step .3s ease forwards; }
.cob-card__timeline li::before { animation: sgt-dot .3s ease forwards; }
.cob-card__timeline li::after { animation: sgt-in .2s ease forwards; }
.cob-card__timeline li:nth-child(1), .cob-card__timeline li:nth-child(1)::before, .cob-card__timeline li:nth-child(1)::after { animation-delay: .5s; }
.cob-card__timeline li:nth-child(2), .cob-card__timeline li:nth-child(2)::before, .cob-card__timeline li:nth-child(2)::after { animation-delay: 1.1s; }
.cob-card__timeline li:nth-child(3), .cob-card__timeline li:nth-child(3)::before, .cob-card__timeline li:nth-child(3)::after { animation-delay: 1.9s; }
.cob-card__timeline li:nth-child(4), .cob-card__timeline li:nth-child(4)::before, .cob-card__timeline li:nth-child(4)::after { animation-delay: 2.6s; }
.cob-card__badge-wait { animation: sgt-out .25s ease 2.6s forwards; }
.cob-card__badge-ok   { animation: sgt-in  .25s ease 2.7s forwards; }
.cob-card__nsu        { animation: sgt-in  .4s  ease 2.9s forwards; }

/* pilares */
.pilares {
  list-style: none;
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  background: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0,0,0,.2);
  position: relative; z-index: 4;
  margin-top: -64px !important;
}
.pilar { padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 10px; }
/* qualquer quantidade de pilares: até 4 por linha */
.pilares[data-count="1"] { --n: 1; } .pilares[data-count="2"] { --n: 2; }
.pilares[data-count="4"], .pilares[data-count="7"], .pilares[data-count="8"] { --n: 4; }
.pilar { border-left: 1px solid var(--border); border-top: 1px solid var(--border); margin: 0 0 -1px -1px; }
.pilar strong { font-family: var(--font-display); font-size: calc(1.05rem * var(--fs-t)); line-height: 1.2; color: var(--navy); }
.pilar span { color: var(--text-muted); font-size: calc(.95rem * var(--fs-x)); line-height: 1.5; }

/* ============================================================
   A DOR DA CLÍNICA
   ============================================================ */
.dor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.dor__perguntas li { font-size: calc(.97rem * var(--fs-x)); }
.dor__destaque {
  margin-top: 28px; padding-left: 18px;
  border-left: 4px solid var(--cyan);
  font-family: var(--font-display); font-weight: 700; font-size: calc(1.2rem * var(--fs-x)); line-height: 1.4;
  color: var(--navy); max-width: 36ch;
}
.dor__perguntas { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dor__fecho {
  margin-top: 16px; padding: 18px 20px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: calc(1rem * var(--fs-x)); line-height: 1.45;
}
.dor__perguntas li {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  font-weight: 500; color: var(--navy);
}
.dor__perguntas li span {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 800; color: var(--primary-dark);
}

/* ============================================================
   A SOLUÇÃO
   ============================================================ */
.solucao { padding-top: 0 !important; }
.destino {
  list-style: none; counter-reset: none;
  display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 8px;
  margin-top: 40px;
}
.destino li {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 12px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: calc(clamp(.8rem, .75vw + .15rem, .92rem) * var(--fs-x)); line-height: 1.25; color: var(--navy);
  hyphens: auto; overflow-wrap: anywhere;
}
.destino li:not(:last-child)::after {
  content: ''; position: absolute; right: -7px; top: 50%; z-index: 1;
  width: 8px; height: 8px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary);
  transform: translateY(-50%) rotate(45deg); background: transparent;
}
.destino__n { font-size: .72rem; color: var(--text-muted); font-weight: 600; }
.destino li.is-final { background: var(--navy); border-color: var(--navy); color: #fff; }
.destino li.is-final .destino__n { color: var(--cyan); }
.solucao__nota { margin-top: 20px; font-size: calc(.92rem * var(--fs-x)); color: var(--text-muted); }

/* ============================================================
   COMO FUNCIONA — CARROSSEL
   ============================================================ */
.como { background: var(--bg-alt); }
.como__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.como__head .section-title { margin-bottom: 0; }

.carousel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }

.carousel__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.carousel__tabs::-webkit-scrollbar { display: none; }
.carousel__tab {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; min-width: 170px;
  background: none; border: none; cursor: pointer; text-align: left;
  font: inherit; color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}
.carousel__tab + .carousel__tab { border-left: 1px solid var(--border); }
.carousel__tab:hover { background: var(--bg-alt); }
.carousel__tab-n {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 800; font-size: .88rem;
}
.carousel__tab-t { font-family: var(--font-display); font-weight: 700; font-size: calc(.9rem * var(--fs-x)); line-height: 1.2; }
.carousel__tab-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--cyan); }
.carousel__tab[aria-selected="true"] { color: var(--navy); }
.carousel__tab[aria-selected="true"] .carousel__tab-n { background: var(--navy); border-color: var(--navy); color: #fff; }
.carousel__tab[aria-selected="true"] .carousel__tab-bar { width: 100%; }
.carousel.is-playing .carousel__tab[aria-selected="true"] .carousel__tab-bar { width: 0; animation: sgt-progress var(--sgt-interval, 7s) linear forwards; }
.carousel.is-paused .carousel__tab[aria-selected="true"] .carousel__tab-bar { animation-play-state: paused; }
@keyframes sgt-progress { to { width: 100%; } }

.carousel__viewport { overflow: hidden; touch-action: pan-y; }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.carousel__slide {
  flex: 0 0 100%;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center;
  padding: 48px 48px 40px;
  min-height: 520px;
}
.carousel__step { display: block; font-size: calc(.8rem * var(--fs-x)); font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.carousel__text h3 { font-size: calc(clamp(1.5rem, 2.6vw, 2.1rem) * var(--fs-t)); font-weight: 800; letter-spacing: -.015em; color: var(--navy); margin-bottom: 14px; line-height: 1.15; }
.carousel__text p { color: var(--text-muted); font-size: calc(1.08rem * var(--fs-x)); max-width: 36ch; }

.carousel__controls {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 0 48px 28px;
}
.carousel__btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--border); color: var(--navy);
  cursor: pointer; transition: border-color var(--transition), background var(--transition);
}
.carousel__btn:hover { border-color: var(--navy); }
.carousel__btn--play .i-play { display: none; }
.carousel.is-paused .carousel__btn--play .i-play { display: block; }
.carousel.is-paused .carousel__btn--play .i-pause { display: none; }
.carousel__count { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--text-muted); min-width: 44px; text-align: center; }

/* molduras das imagens */
.frame { margin: 0; justify-self: center; }
.frame img { width: 100%; }
.frame--janela {
  width: 100%;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.frame__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DEE8; }
.frame__bar b { margin-left: 10px; font-family: var(--font-display); font-size: .72rem; color: var(--text-muted); font-weight: 700; }
.frame--cartao {
  width: min(100%, 470px);
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.frame--celular {
  width: min(100%, 250px);
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(165deg, var(--navy-soft), var(--navy-deep));
  box-shadow: var(--shadow-lg);
}
.frame--celular img { border-radius: 24px; }

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.funcs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 44px; }
.card-func { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; transition: border-color var(--transition); }
.card-func h3::before { content: ""; display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--cyan); margin-bottom: 16px; }
.card-func:hover { border-color: var(--cyan); }
/* 7 cards: 4 colunas, com o primeiro em destaque ocupando 2 linhas (sem card sobrando) */
@media (min-width: 1100px) {
  .funcs__grid[data-count="7"] { grid-template-columns: repeat(4, 1fr); }
  .funcs__grid[data-count="7"] .card-func:first-child {
    grid-row: span 2;
    background: var(--navy); border-color: var(--navy);
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .funcs__grid[data-count="7"] .card-func:first-child h3 { color: #fff; font-size: calc(1.35rem * var(--fs-t)); }
  .funcs__grid[data-count="7"] .card-func:first-child p { color: var(--on-dark); font-size: calc(1.02rem * var(--fs-x)); }
}
.card-func__icon { width: 46px; height: 46px; background: var(--cyan-light); border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.35rem; }
.card-func h3 { font-size: calc(1.08rem * var(--fs-t)); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-func p { color: var(--text-muted); font-size: calc(.97rem * var(--fs-x)); }

/* ============================================================
   PARA O GESTOR
   ============================================================ */
.gestor { background: var(--bg-alt); }
.gestor__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }

.dash { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 24px; }
.dash__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.dash__head strong { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; }
.dash__head span { font-size: .78rem; color: var(--text-muted); }
.dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.dash__stats div { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.dash__stats span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.dash__stats strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }
.dash__table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.dash__table th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--border); }
.dash__table td { padding: 11px 6px; border-bottom: 1px solid var(--border); color: var(--navy); }
.dash__table tr:last-child td { border-bottom: none; }
.st { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 100px; padding: 3px 10px; }
.st--ok { background: #DDF5EC; color: #0B6B49; }
.st--wait { background: #FDF3DC; color: var(--warning); }

.antes { margin-top: 96px; }
.antes__title { font-size: calc(clamp(1.5rem, 2.6vw, 2rem) * var(--fs-t)); font-weight: 800; color: var(--navy); margin-bottom: 24px; letter-spacing: -.015em; }
.antes__table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.antes__table { width: 100%; border-collapse: collapse; min-width: 520px; }
.antes__table th { text-align: left; padding: 16px 24px; font-family: var(--font-display); font-size: calc(.9rem * var(--fs-x)); }
.antes__table th:first-child { background: var(--bg-alt); color: var(--text-muted); }
.antes__table th:last-child { background: var(--navy); color: #fff; }
.antes__table td { padding: 15px 24px; border-top: 1px solid var(--border); width: 50%; font-size: calc(1rem * var(--fs-x)); }
.antes__table td:first-child { color: var(--text-muted); }
.antes__table td:last-child { font-weight: 700; color: var(--navy); background: #FAFDFF; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.duo__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.duo__card h3 { font-size: calc(1.35rem * var(--fs-t)); font-weight: 800; line-height: 1.25; color: var(--navy); margin-bottom: 18px; letter-spacing: -.01em; }
.duo__card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.duo__card li { padding-left: 22px; position: relative; color: var(--text-muted); font-size: calc(1rem * var(--fs-x)); }
.duo__card li::before { content: ''; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--cyan); }
.duo__card p { color: var(--text-muted); font-size: calc(1rem * var(--fs-x)); }
.duo__card p + p { margin-top: 12px; }
.duo__card--dark { background: var(--navy); border-color: var(--navy); }
.duo__card--dark h3 { color: #fff; }
.duo__card--dark p { color: var(--on-dark); }

/* ============================================================
   PLANOS
   ============================================================ */
.planos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; margin-top: 44px; }
.planos__grid[data-count="1"] { max-width: 420px; }
.planos__grid[data-count="2"] { max-width: 860px; }
.card-plano { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; }
.card-plano--destaque { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.card-plano__selo { position: absolute; top: -13px; left: 28px; background: var(--cyan); color: var(--navy); font-size: .8rem; font-weight: 700; border-radius: 100px; padding: 4px 12px; }
.card-plano__nome { font-size: calc(1.25rem * var(--fs-t)); font-weight: 800; color: var(--navy); }
.card-plano__desc { color: var(--text-muted); font-size: calc(.95rem * var(--fs-x)); margin-top: 6px; min-height: 3em; }
.card-plano__preco { display: flex; align-items: baseline; gap: 4px; margin: 24px 0; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.card-plano__valor { font-family: var(--font-display); font-size: calc(2.2rem * var(--fs-t)); font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1; }
.card-plano__periodo { color: var(--text-muted); }
.card-plano__recursos { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.card-plano__recursos li { display: flex; gap: 10px; align-items: flex-start; font-size: calc(.97rem * var(--fs-x)); }
.card-plano__recursos svg { flex-shrink: 0; margin-top: 3px; }
.card-plano__recursos .is-in svg { color: var(--primary); }
.card-plano__recursos .is-out { color: var(--text-muted); }
.card-plano__recursos .is-out svg { color: #A5B1C2; }
.card-plano__btn { width: 100%; }
.card-plano--destaque .card-plano__nome, .card-plano--destaque .card-plano__valor { color: #fff; }
.card-plano--destaque .card-plano__desc, .card-plano--destaque .card-plano__periodo { color: var(--on-dark); }
.card-plano--destaque .card-plano__preco { border-color: rgba(255,255,255,.16); }
.card-plano--destaque .card-plano__recursos .is-in svg { color: var(--cyan); }
.card-plano--destaque .card-plano__recursos .is-out, .card-plano--destaque .card-plano__recursos .is-out svg { color: rgba(255,255,255,.5); }
.planos__nota { margin-top: 28px; font-size: calc(.9rem * var(--fs-x)); color: var(--text-muted); }

/* ============================================================
   CONTATO
   ============================================================ */
.contato { padding-top: 0 !important; }
.contato__box {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(7,191,215,.35), transparent 60%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--navy) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 64px;
}
.contato__info h2 { font-size: calc(clamp(1.8rem, 3.2vw, 2.6rem) * var(--fs-t)); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 16px; }
.contato__info p { color: #DCE8F6; font-size: calc(1.08rem * var(--fs-x)); max-width: 44ch; }
.contato__canais { list-style: none; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.contato__canais a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.contato__form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.2); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: calc(.86rem * var(--fs-x)); font-weight: 600; color: var(--navy); }
.form-group .optional { font-weight: 400; color: var(--text-muted); }
.form-group input, .form-group select {
  border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px;
  font-family: inherit; font-size: calc(1rem * var(--fs-x)); color: var(--text); background: var(--bg-alt); width: 100%;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(7,191,215,.2); }
.form-group [aria-invalid="true"] { border-color: #C62839; }
.contato__form .btn { margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { font-size: .9rem; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-notice.success { background: #DDF5EC; color: #0B6B49; }
.form-notice.error { background: #FBE3E6; color: #8E1B29; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer { background: var(--navy-deep); color: var(--on-dark); padding-block: 32px; font-size: .9rem; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__links a { color: #fff; }

.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* ============================================================
   PÁGINAS GENÉRICAS
   ============================================================ */
.page-generic { padding-block: calc(var(--header-h) + 56px) 80px; }
.entry { max-width: 760px; margin-inline: auto; }
.entry__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.entry__content { font-size: 1.05rem; line-height: 1.8; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__content h2, .entry__content h3 { color: var(--navy); margin-top: 1.6em; }
.entry__content ul, .entry__content ol { padding-left: 1.4em; }

/* ============================================================
   REVEAL (discreto)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1180px) {
  .destino { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .destino li::after { display: none; }
}
@media (max-width: 1080px) {
  .destino { grid-template-columns: repeat(4, 1fr); }
  .destino li::after { display: none; }
  .site-logo__desc { display: none; }
}

@media (max-width: 980px) {
  main > section { padding-block: 80px; }
  .hero__grid, .dor__grid, .como__head, .gestor__grid, .contato__box { grid-template-columns: 1fr; gap: 40px; }
  .carousel__slide { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px 24px; min-height: 0; align-content: start; }
  .carousel__controls { padding: 0 28px 24px; }
  .pilares { grid-template-columns: 1fr; }
  .hero__slide { min-height: 0; padding-bottom: 150px; align-items: flex-start; }
  .hero__slide.has-img::before,
  .hero__slide--overlay-leve.has-img::before {
    background:
      linear-gradient(0deg, var(--navy-deep) 0%, rgba(8,19,56,0) 30%),
      rgba(8,19,56,.86);
  }
  .hero__controls { bottom: 84px; }
  .hero__slide--vazio { min-height: 70vh !important; }
  .pilares { --n: 1 !important; }
  .pilar { border-left: none; }
  .duo { grid-template-columns: 1fr; }
  .contato__box { padding: 40px 28px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--navy-deep); padding: 12px 24px 24px;
    box-shadow: 0 16px 30px rgba(0,0,0,.3);
  }
  .site-nav.open { display: flex; }
  .btn-access { margin: 10px 0 0; display: block; text-align: center; }
}

@media (max-width: 600px) {
  .hero__slide { padding-top: calc(var(--header-h) + 44px); }
  /* no celular o card de cobrança sai para os banners terem a mesma altura */
  .hero__visual { display: none; }
  .hero__ctas > a { flex: 1 1 100%; }
  .cob-card { padding: 20px 18px 16px; }
  .cob-card__valor { font-size: 2rem; }
  .destino { grid-template-columns: repeat(2, 1fr); }
  .destino li.is-final { grid-column: 1 / -1; }
  .carousel__tab { min-width: 64px; padding: 14px 12px; justify-content: center; }
  .carousel__tab-t { display: none; }
  .dash__stats { grid-template-columns: repeat(2, 1fr); }
  .dash__table th:nth-child(3), .dash__table td:nth-child(3) { display: none; }
  .duo__card { padding: 28px 22px; }
  .contato__form { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
