/* ==========================================================================
   SPB Cardápio: landing page do cardápio digital (/cardapio-digital)

   Carregado só nesta página, depois do site.css. Prefixo das classes: cdg-.
   Identidade do produto (prompt mestre): vermelho #D71920, grafite #17171A,
   títulos em Manrope 800, corpo em Inter. Ritmo das seções: escura, clara,
   clara suave, escura; nunca mais de duas claras seguidas.
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
}

:root {
  --cdg-red: #D71920;
  --cdg-red-dark: #A90F17;
  --cdg-graphite: #17171A;
  --cdg-graphite-2: #1F1F23;
  --cdg-text: #202124;
  --cdg-gray: #697386;
  --cdg-soft: #F5F6F8;
  --cdg-border: #E4E7EC;
  --cdg-rose: #FEF2F2;
  --cdg-rose-b: #FECACA;
  --cdg-wa: #25D366;
  --cdg-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --cdg-grad: linear-gradient(135deg, var(--cdg-red) 0%, var(--cdg-red-dark) 100%);
  --cdg-shadow: 0 1px 2px rgba(23, 23, 26, .04), 0 10px 28px -14px rgba(23, 23, 26, .16);
  --cdg-shadow-lg: 0 30px 70px -30px rgba(23, 23, 26, .45);
}

/* --------------------------------------------------------------------------
   Base da página
   -------------------------------------------------------------------------- */
.cdg-i {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.cdg-h1,
.cdg-h2 {
  font-family: var(--cdg-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
}
.cdg-h1 {
  font-size: clamp(2.125rem, 1.35rem + 3.3vw, 4rem);
  color: var(--white);
}
.cdg-h1 em { font-style: normal; color: var(--cdg-red); }
.cdg-h2 {
  font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3rem);
  color: var(--cdg-text);
}
.cdg-lead {
  font-size: var(--t-body-lg);
  line-height: 1.6;
  color: var(--cdg-gray);
}
.cdg-lead strong { color: var(--cdg-text); }

.cdg-eyebrow {
  display: inline-flex;
  align-items: center;
  /* Padrão em todas as seções: só o texto vermelho, sem caixa nem borda */
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cdg-red);
}
.cdg-eyebrow--dark { color: #FF5A61; }

/* overflow-x: clip corta o que passa da lateral (sombras, celulares inclinados)
   sem criar barra de rolagem nem quebrar o position: sticky do site. */
.cdg-sec { position: relative; overflow-x: clip; padding-block: clamp(3rem, 2.1rem + 3.6vw, 5.25rem); }
.cdg-sec--white { background: var(--white); }
.cdg-sec--soft { background: var(--cdg-soft); }
.cdg-sec--dark { background: var(--cdg-graphite); overflow: hidden; isolation: isolate; }
.cdg-sec--dark .cdg-h2 { color: var(--white); }
.cdg-sec--dark .cdg-lead { color: #B6B9C2; }
.cdg-sec__glow {
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  left: -260px;
  top: -120px;
  background: radial-gradient(circle, rgba(215, 25, 32, .25) 0%, transparent 65%);
  pointer-events: none;
}

.cdg-head { max-width: 720px; margin-bottom: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); }
.cdg-head > * + * { margin-top: 1rem; }
.cdg-head--center { margin-inline: auto; text-align: center; }
.cdg-head--center .cdg-lead { margin-inline: auto; max-width: 640px; }
.cdg-split .cdg-head { margin-bottom: 1.75rem; }

.cdg-center { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); text-align: center; }

.cdg-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cdg-actions .btn { min-height: 54px; }
.cdg-actions--light { margin-top: 2rem; }

.cdg-illus {
  margin-top: .85rem;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .42);
}
.cdg-illus--light { color: #98A0AE; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.cdg-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cdg-graphite);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 1rem + 2.4vw, 3.25rem));
  padding-bottom: clamp(3rem, 2.2rem + 3vw, 4.75rem);
  color: var(--white);
}
.cdg-hero::after {
  /* Grade sutil: textura de "produto", some nas bordas */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.cdg-hero__glow {
  position: absolute;
  z-index: -1;
  right: -220px;
  top: -260px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(215, 25, 32, .28) 0%, transparent 62%);
  pointer-events: none;
}
.cdg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}
.cdg-hero .breadcrumb { color: rgba(255, 255, 255, .5); margin-bottom: 1.5rem; }
.cdg-hero .breadcrumb [aria-current] { color: var(--white); }
.cdg-hero .breadcrumb li:not(:last-child)::after { background: rgba(255, 255, 255, .3); }

/* Logo do produto: em fundo escuro vai numa placa branca, nunca invertida. */
.cdg-brandplate {
  display: flex;
  width: max-content;
  padding: .55rem .9rem;
  margin-bottom: 1.4rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.cdg-brandplate img { width: clamp(150px, 120px + 6vw, 200px); height: auto; }

.cdg-hero .cdg-eyebrow { margin-bottom: 1.25rem; }
/* O selo é a primeira parte do H1 (palavra-chave); a frase de efeito vem em bloco abaixo. */
.cdg-h1 .cdg-eyebrow { font-family: var(--font); line-height: 1.4; vertical-align: top; }
.cdg-h1__main { display: block; }
.cdg-hero__lead {
  margin-top: 1.5rem;
  max-width: 560px;
  font-size: var(--t-body-lg);
  line-height: 1.6;
  color: #B6B9C2;
}
.cdg-hero .cdg-actions { margin-top: 2rem; }
.cdg-hero .cdg-actions .btn { padding-inline: 1.6rem; }

.cdg-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin-top: 2rem;
  font-size: var(--t-caption);
  color: #B6B9C2;
}
.cdg-trust li { display: inline-flex; align-items: center; gap: .5rem; }
.cdg-trust .cdg-i { color: var(--cdg-red); }

/* Composição: órbita da logo + celular + cartões flutuando */
.cdg-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}
.cdg-orbit {
  position: absolute;
  inset: 8% -4% 10% -4%;
  border-radius: 50%;
  border: 2px solid rgba(215, 25, 32, .75);
  border-left-color: transparent;
  border-bottom-color: rgba(215, 25, 32, .2);
  transform: rotate(-24deg);
  filter: drop-shadow(0 0 10px rgba(215, 25, 32, .55));
  pointer-events: none;
}
.cdg-orbit span {
  position: absolute;
  top: 9%;
  right: 13%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF4A51;
  box-shadow: 0 0 0 5px rgba(215, 25, 32, .25), 0 0 22px 4px rgba(255, 74, 81, .8);
}

.cdg-phone {
  position: relative;
  margin: 0;
  padding: 9px;
  background: linear-gradient(160deg, #3A3A40, #0D0D0F 55%);
  border-radius: 46px;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    0 40px 80px -30px rgba(0, 0, 0, .75),
    0 18px 36px -18px rgba(0, 0, 0, .6);
}
.cdg-phone::before {
  /* Ilha da câmera */
  content: '';
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 50%;
  width: 28%;
  height: 20px;
  transform: translateX(-50%);
  background: #0B0B0C;
  border-radius: 999px;
}
.cdg-phone__screen {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  background: #FFF8F3; /* fundo do cardápio de demonstração */
}
.cdg-phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 4px 24px 0 30px;
  font-size: 12px;
  color: #1C1917;
}
.cdg-phone__status b { font-weight: 700; }
.cdg-phone__status i {
  /* Bateria */
  width: 20px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px #FFF8F3, inset 14px 0 0 0 currentColor;
}
.cdg-phone__screen img {
  display: block;
  width: 100%;
  height: auto;
}
.cdg-phone--hero { width: min(300px, 74vw); z-index: 1; }

.cdg-float {
  position: absolute;
  z-index: 2;
  animation: cdg-float 6s ease-in-out infinite;
}
.cdg-float--notify {
  top: 15%;
  left: -2%;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem .75rem .75rem;
  background: rgba(255, 255, 255, .97);
  color: var(--cdg-text);
  border-radius: 16px;
  box-shadow: var(--cdg-shadow-lg);
  font-size: 13px;
  line-height: 1.3;
}
.cdg-float--notify strong { display: block; font-family: var(--cdg-display); font-weight: 800; }
.cdg-float--notify small { color: var(--cdg-gray); }
.cdg-float__bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--cdg-grad);
  color: var(--white);
}
.cdg-float__bell::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cdg-wa);
  border: 2px solid var(--white);
}
.cdg-float--card {
  right: -4%;
  bottom: 9%;
  width: 230px;
  animation-delay: -3s;
}
@keyframes cdg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Números */
.cdg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
}
.cdg-stats li {
  padding: 1.6rem 1.25rem;
  text-align: center;
  background: var(--cdg-graphite);
}
.cdg-stats strong {
  display: block;
  font-family: var(--cdg-display);
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--cdg-red);
  font-variant-numeric: tabular-nums;
}
.cdg-stats li > span {
  display: block;
  margin-top: .45rem;
  font-size: var(--t-caption);
  color: #A7ABB5;
}

/* --------------------------------------------------------------------------
   Cartões
   -------------------------------------------------------------------------- */
.cdg-grid { display: grid; gap: 1.25rem; }
.cdg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cdg-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cdg-card {
  height: 100%;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--cdg-border);
  border-radius: 16px;
  box-shadow: var(--cdg-shadow);
  transition: transform var(--d) var(--e-out), box-shadow var(--d) var(--e-out), border-color var(--d);
}
.cdg-card:hover {
  transform: translateY(-4px);
  border-color: var(--cdg-rose-b);
  box-shadow: 0 1px 2px rgba(23, 23, 26, .04), 0 22px 44px -22px rgba(215, 25, 32, .32);
}
.cdg-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cdg-rose);
  color: var(--cdg-red);
}
.cdg-card h3 {
  margin-top: 1.1rem;
  font-family: var(--cdg-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--cdg-text);
}
.cdg-card p { margin-top: .5rem; font-size: var(--t-small); line-height: 1.55; color: var(--cdg-gray); }
.cdg-card--pain { border-top: 3px solid var(--cdg-red); }
.cdg-card--sm { padding: 1.3rem; }
.cdg-card--sm h3 { font-size: 1.02rem; margin-top: .9rem; }
.cdg-card--sm p { font-size: var(--t-caption); }

.cdg-answer {
  max-width: 760px;
  margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0;
  text-align: center;
  font-family: var(--cdg-display);
  font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--cdg-text);
}
.cdg-answer strong { color: var(--cdg-red); }
.cdg-answer span {
  background: linear-gradient(transparent 62%, var(--cdg-rose-b) 62%);
  padding-inline: 2px;
}

/* --------------------------------------------------------------------------
   Passos
   -------------------------------------------------------------------------- */
.cdg-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  list-style: none;
  counter-reset: none;
}
.cdg-steps::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 17%;
  right: 17%;
  border-top: 2px dashed var(--cdg-rose-b);
}
.cdg-step { position: relative; text-align: center; }
.cdg-step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--cdg-red);
  color: var(--white);
  font-family: var(--cdg-display);
  font-weight: 800;
  box-shadow: 0 0 0 8px var(--cdg-soft), 0 10px 24px -8px rgba(215, 25, 32, .6);
}
/* As ilustrações têm fundo cinza próprio: viram ladrilhos arredondados. */
.cdg-step img {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 1.5rem auto 0;
  border-radius: 28px;
  box-shadow: 0 1px 2px rgba(23, 23, 26, .04), 0 18px 40px -24px rgba(23, 23, 26, .35);
  transition: transform var(--d-slow) var(--e-out);
}
.cdg-step:hover img { transform: translateY(-6px) rotate(-1deg); }
.cdg-step h3 {
  margin-top: .5rem;
  font-family: var(--cdg-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cdg-step p { max-width: 280px; margin: .5rem auto 0; color: var(--cdg-gray); }

/* --------------------------------------------------------------------------
   Seções de recurso (texto + visual)
   -------------------------------------------------------------------------- */
.cdg-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 1rem + 5vw, 5.5rem);
}
.cdg-split--rev > .cdg-split__text { order: 2; }

.cdg-checks { display: grid; gap: .8rem; }
.cdg-checks li {
  position: relative;
  padding-left: 2.1rem;
  line-height: 1.5;
  color: var(--cdg-text);
}
.cdg-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .05rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cdg-rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D71920' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Dois celulares sobrepostos */
.cdg-duo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 560px;
  padding-inline: 2rem;
}
.cdg-duo::before {
  content: '';
  position: absolute;
  inset: 12% 6% 4%;
  border-radius: 40px;
  background: radial-gradient(circle at 50% 55%, var(--cdg-rose) 0%, transparent 70%);
  z-index: 0;
}
.cdg-phone--back {
  width: min(250px, 46%);
  transform: translateX(26%) translateY(-34px) rotate(5deg);
  opacity: .96;
}
.cdg-phone--front {
  z-index: 1;
  width: min(270px, 50%);
  transform: translateX(-26%) rotate(-3deg);
}
.cdg-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .9rem;
  font-size: 13px;
  font-weight: 650;
  background: var(--white);
  color: var(--cdg-text);
  border: 1px solid var(--cdg-border);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(23, 23, 26, .05), 0 16px 32px -16px rgba(23, 23, 26, .35);
  /* Flutuam como os cartões do topo, cada um no seu ritmo */
  animation: cdg-drift 5.5s ease-in-out infinite;
}
.cdg-tag .cdg-i, .cdg-tag svg { color: var(--cdg-red); }
.cdg-tag--a { top: 8%; right: 4%; }
.cdg-tag--b { bottom: 14%; left: 0; animation-duration: 6.5s; animation-delay: -2.4s; }
@keyframes cdg-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(4px, -10px) rotate(1deg); }
  66% { transform: translate(-3px, -4px) rotate(-1deg); }
}

/* Mini cartões do pedido */
.cdg-minis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.cdg-minis li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  font-size: var(--t-small);
  font-weight: 650;
  line-height: 1.3;
  background: var(--white);
  border: 1px solid var(--cdg-border);
  border-radius: 16px;
  box-shadow: var(--cdg-shadow);
}
.cdg-minis span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--cdg-rose);
  color: var(--cdg-red);
}
.cdg-note {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--cdg-text);
  background: var(--white);
  border-left: 4px solid var(--cdg-red);
  border-radius: 0 16px 16px 0;
  box-shadow: var(--cdg-shadow);
}

/* Conversa de WhatsApp (desenhada em HTML, texto no formato real da mensagem) */
.cdg-chat {
  position: relative;
  width: min(390px, 100%);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 28px;
  background: #EFE7DE;
  box-shadow: var(--cdg-shadow-lg), 0 0 0 1px rgba(23, 23, 26, .06);
}
.cdg-chat__top {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1rem;
  background: #0B3D35;
  color: var(--white);
  font-size: 14px;
  line-height: 1.25;
}
.cdg-chat__top small { display: block; font-size: 12px; opacity: .7; }
.cdg-chat__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
}
.cdg-chat__avatar img { width: 30px; height: 30px; }
.cdg-chat__body {
  padding: 1.1rem .9rem 4.6rem;
  background-image: radial-gradient(rgba(11, 61, 53, .06) 1px, transparent 1px);
  background-size: 14px 14px;
}
.cdg-bubble {
  position: relative;
  max-width: 94%;
  margin-left: auto;
  padding: .75rem .85rem 1.4rem;
  background: #D9FDD3;
  border-radius: 12px 0 12px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #111B21;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.cdg-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  border: 8px solid transparent;
  border-top-color: #D9FDD3;
  border-left-color: #D9FDD3;
}
.cdg-bubble p + p { margin-top: .55rem; }
.cdg-bubble hr { margin: .55rem 0; border: 0; border-top: 1px dashed rgba(17, 27, 33, .25); }
.cdg-bubble__opt { color: #3B4A54; padding-left: .7rem; display: inline-block; }
.cdg-bubble i { color: #3B4A54; }
.cdg-bubble__time {
  position: absolute;
  right: .7rem;
  bottom: .35rem;
  font-size: 11px;
  color: #53BDEB;
}
.cdg-chat__badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem .9rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--cdg-text);
  background: var(--white);
  border: 1px solid var(--cdg-border);
  border-radius: 14px;
  box-shadow: var(--cdg-shadow);
}

/* Etiquetas e pontos de status (mesmas cores do painel) */
.cdg-pill {
  display: inline-flex;
  align-items: center;
  padding: .18rem .55rem;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
}
.cdg-pill--warn { background: #FEF3C7; color: #B45309; }
.cdg-pill--dark { background: #27272A; color: #F4F4F5; }
.cdg-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cdg-dot--warn { background: #F59E0B; }
.cdg-dot--info { background: #3B82F6; }
.cdg-dot--purple { background: #8B5CF6; }
.cdg-dot--ok { background: #22C55E; }

/* --------------------------------------------------------------------------
   Quadro de pedidos (escuro)
   -------------------------------------------------------------------------- */
.cdg-grid--dark { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.cdg-dcard {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  transition: border-color var(--d), background var(--d);
}
.cdg-dcard:hover { border-color: rgba(215, 25, 32, .5); background: rgba(215, 25, 32, .06); }
.cdg-dcard__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(215, 25, 32, .16);
  color: #FF5A61;
}
.cdg-dcard h3 {
  margin-top: 1rem;
  font-family: var(--cdg-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--white);
}
.cdg-dcard p { margin-top: .45rem; font-size: var(--t-small); color: #A7ABB5; }

.cdg-browser {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #F5F6F8;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .03);
}
.cdg-browser__bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1rem;
  background: #232327;
}
.cdg-browser__bar span { width: 10px; height: 10px; border-radius: 50%; background: #4A4A50; }
.cdg-browser__bar span:first-child { background: var(--cdg-red); }
.cdg-browser__bar i {
  flex: 0 1 280px;
  margin-left: .8rem;
  padding: .2rem .8rem;
  font-size: 11px;
  font-style: normal;
  color: #9A9BA3;
  background: #18181B;
  border-radius: 6px;
}

.cdg-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
  padding: 1rem;
}
.cdg-board__col {
  display: grid;
  align-content: start;
  gap: .65rem;
  padding: .75rem;
  background: #ECEEF2;
  border-radius: 14px;
}
.cdg-board__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .15rem .2rem .3rem;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cdg-text);
}
.cdg-board__title em {
  margin-left: auto;
  padding: .05rem .45rem;
  font-size: 11px;
  font-style: normal;
  color: var(--cdg-gray);
  background: var(--white);
  border-radius: 999px;
}

.cdg-ocard {
  padding: .7rem .75rem;
  font-size: 12px;
  line-height: 1.4;
  color: var(--cdg-text);
  background: var(--white);
  border: 1px solid var(--cdg-border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(23, 23, 26, .05);
}
.cdg-ocard__head { display: flex; justify-content: space-between; gap: .5rem; color: var(--cdg-gray); font-size: 11px; }
.cdg-ocard__head b { color: var(--cdg-red); font-size: 12px; }
.cdg-ocard__name { margin-top: .2rem; font-weight: 700; }
.cdg-ocard__line { display: flex; align-items: center; gap: .25rem; margin-top: .15rem; color: var(--cdg-gray); font-size: 11px; }
.cdg-ocard__items { margin-top: .4rem; padding-top: .4rem; border-top: 1px dashed var(--cdg-border); font-size: 11.5px; }
.cdg-ocard__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  margin-top: .45rem;
  font-size: 11px;
  color: var(--cdg-gray);
}
.cdg-ocard__foot b { font-size: 12.5px; color: var(--cdg-text); white-space: nowrap; }
.cdg-ocard__acts { display: flex; gap: .3rem; margin-top: .55rem; }
.cdg-ocard__acts i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--cdg-gray);
  border: 1px solid var(--cdg-border);
  border-radius: 8px;
}
.cdg-ocard__acts i.is-wa { color: #1FA855; }
.cdg-ocard__acts i.is-next { margin-left: auto; color: var(--white); background: var(--cdg-red); border-color: var(--cdg-red); }
.cdg-ocard--late { border-color: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, .16); }
.cdg-ocard--late .cdg-ocard__head span { color: #B45309; font-weight: 700; }
.cdg-ocard--new { border-color: var(--cdg-red); box-shadow: 0 0 0 3px rgba(215, 25, 32, .14), 0 12px 24px -14px rgba(215, 25, 32, .55); }
.cdg-ocard--done { opacity: .72; }
.cdg-ocard--solo {
  padding: .9rem 1rem;
  font-size: 12.5px;
  border-color: rgba(215, 25, 32, .6);
  box-shadow: var(--cdg-shadow-lg), 0 0 0 3px rgba(215, 25, 32, .18);
}

/* --------------------------------------------------------------------------
   Dashboard (desenhado em HTML)
   -------------------------------------------------------------------------- */
.cdg-dash {
  display: grid;
  gap: 1rem;
  padding: clamp(.9rem, .6rem + 1.2vw, 1.5rem);
  background: var(--cdg-soft);
  border: 1px solid var(--cdg-border);
  border-radius: 24px;
  box-shadow: 0 40px 80px -50px rgba(23, 23, 26, .45);
}
.cdg-dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cdg-kpi,
.cdg-panel {
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--cdg-border);
  border-radius: 16px;
}
.cdg-kpi small { display: block; font-size: 12px; font-weight: 600; color: var(--cdg-gray); }
.cdg-kpi b {
  display: block;
  margin-top: .3rem;
  font-family: var(--cdg-display);
  font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cdg-text);
  font-variant-numeric: tabular-nums;
}
.cdg-kpi em { display: block; margin-top: .2rem; font-size: 11.5px; font-style: normal; color: var(--cdg-gray); }
.cdg-kpi em.up { color: #15803D; font-weight: 600; }
.cdg-dash__row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1rem; }
.cdg-panel__title { font-size: 13px; font-weight: 700; color: var(--cdg-text); margin-bottom: 1rem; }

.cdg-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 170px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--cdg-border);
  background: repeating-linear-gradient(to top, transparent 0 41px, #F0F1F4 41px 42px);
}
.cdg-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, var(--cdg-red-dark), var(--cdg-red));
  transform-origin: bottom;
}
.cdg-dash.is-visible .cdg-bars span { animation: cdg-grow .9s var(--e-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes cdg-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.cdg-rank { display: grid; gap: .7rem; list-style: none; counter-reset: rank; }
.cdg-rank li {
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 8.5rem) 1fr auto;
  align-items: center;
  gap: .6rem;
  font-size: 12.5px;
  counter-increment: rank;
}
.cdg-rank li::before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--cdg-gray);
  background: var(--cdg-soft);
  border-radius: 50%;
}
.cdg-rank li:first-child::before { color: var(--white); background: var(--cdg-red); }
.cdg-rank span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdg-rank i { height: 8px; border-radius: 999px; background: var(--cdg-rose); position: relative; overflow: hidden; }
.cdg-rank i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: #F87171; }
.cdg-rank li:first-child i::after { background: var(--cdg-red); }
.cdg-rank b { font-variant-numeric: tabular-nums; }

.cdg-heat {
  display: grid;
  grid-template-columns: 2.2rem repeat(var(--cols), minmax(0, 1fr));
  gap: 4px;
  font-size: 10.5px;
  color: var(--cdg-gray);
}
.cdg-heat__h { text-align: center; }
.cdg-heat__d { align-self: center; font-weight: 600; }
.cdg-heat i { aspect-ratio: 2.4; border-radius: 4px; background: #F3F4F6; }
.cdg-heat i.l1 { background: #FEE2E2; }
.cdg-heat i.l2 { background: #FCA5A5; }
.cdg-heat i.l3 { background: #F87171; }
.cdg-heat i.l4 { background: #E5383F; }
.cdg-heat i.l5 { background: var(--cdg-red-dark); }

.cdg-dataside {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.cdg-grid--feat { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cdg-visits {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  color: var(--white);
  background: var(--cdg-grad);
  border-radius: 20px;
  box-shadow: 0 24px 50px -24px rgba(215, 25, 32, .7);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cdg-visits::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  right: -110px;
  top: -110px;
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}
.cdg-visits__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
}
.cdg-visits h3 {
  margin-top: 1.1rem;
  font-family: var(--cdg-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.cdg-visits p { margin-top: .7rem; line-height: 1.6; color: rgba(255, 255, 255, .9); flex: 1; }
.cdg-visits .btn { margin-top: 1.6rem; align-self: flex-start; color: var(--cdg-red); }
.cdg-visits .btn svg { color: #1FA855; }

/* --------------------------------------------------------------------------
   Google e IA
   -------------------------------------------------------------------------- */
.cdg-seo {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(500px, 100%);
  margin-inline: auto;
  padding-bottom: 1.5rem;
}
.cdg-serp,
.cdg-score {
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--cdg-border);
  border-radius: 18px;
  box-shadow: var(--cdg-shadow);
}
.cdg-serp__site { display: flex; align-items: center; gap: .65rem; font-size: 12.5px; line-height: 1.3; color: #202124; }
.cdg-serp__site img { width: 28px; height: 28px; padding: 3px; border: 1px solid var(--cdg-border); border-radius: 50%; }
.cdg-serp__site small { display: block; color: #4D5156; font-size: 12px; }
.cdg-serp__title { margin-top: .6rem; font-size: 1.15rem; line-height: 1.3; color: #1A0DAB; }
.cdg-serp__desc { margin-top: .3rem; font-size: 13px; line-height: 1.55; color: #4D5156; }
.cdg-score { display: flex; align-items: center; gap: 1.4rem; margin-left: clamp(0rem, 4vw, 3rem); }
.cdg-ring {
  --p: 86;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: conic-gradient(#16A34A calc(var(--p) * 1%), #E7F6EC 0);
}
.cdg-ring::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: var(--white); }
.cdg-ring b, .cdg-ring small { position: relative; }
.cdg-ring b { font-family: var(--cdg-display); font-size: 1.9rem; font-weight: 800; line-height: 1; color: #15803D; }
.cdg-ring small { position: absolute; bottom: 24px; font-size: 11px; color: var(--cdg-gray); }
.cdg-ring b { transform: translateY(-5px); }
.cdg-score ul { display: grid; gap: .5rem; font-size: 13px; }
.cdg-score li { position: relative; padding-left: 1.5rem; line-height: 1.35; }
.cdg-score li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .12rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}
.cdg-score li.ok::before {
  background: #16A34A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.cdg-score li.warn::before { background: #F59E0B; box-shadow: inset 0 0 0 4px #FDE68A; }
.cdg-ai {
  position: absolute;
  right: -.5rem;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.1rem;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  background: var(--cdg-grad);
  border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(215, 25, 32, .8);
  animation: cdg-float 6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Equipe, público e plano
   -------------------------------------------------------------------------- */
.cdg-card--role { text-align: left; }
.cdg-safe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem 2rem;
  margin-top: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  font-size: var(--t-small);
  color: var(--cdg-gray);
}
.cdg-safe li { display: inline-flex; align-items: center; gap: .5rem; }
.cdg-safe svg { color: var(--cdg-red); }

.cdg-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.cdg-chips li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  font-size: var(--t-caption);
  font-weight: 600;
  color: var(--cdg-text);
  background: var(--white);
  border: 1px solid var(--cdg-border);
  border-radius: 999px;
  box-shadow: var(--cdg-shadow);
  transition: border-color var(--d), transform var(--d) var(--e-out);
}
.cdg-chips li:hover { border-color: var(--cdg-rose-b); transform: translateY(-2px); }
.cdg-chips .cdg-i { width: 16px; height: 16px; color: var(--cdg-red); }

.cdg-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
}
.cdg-mosaic img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  transition: transform .6s var(--e-out), box-shadow .6s var(--e-out);
}
.cdg-mosaic img:hover { transform: scale(1.025); box-shadow: 0 24px 48px -24px rgba(23, 23, 26, .5); }

.cdg-plan {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2.4rem + 2.4vw, 4.25rem);
  background: var(--cdg-graphite);
  isolation: isolate;
}
.cdg-plan::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -60% 30% -60% -10%;
  background: radial-gradient(circle, rgba(215, 25, 32, .22) 0%, transparent 60%);
}
.cdg-plan__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cdg-plan__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  color: var(--white);
  background: var(--cdg-grad);
}
.cdg-plan p {
  flex: 1;
  font-family: var(--cdg-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
}

.cdg-plan p span { display: block; margin-top: .3rem; font-size: .62em; font-weight: 600; color: #B6B9C2; letter-spacing: -0.01em; }

/* FAQ: usa o .accordion do site, só ajusta a tipografia */
.cdg-faq .accordion__trigger { font-family: var(--cdg-display); font-weight: 700; }
.cdg-faq .accordion__content { color: var(--cdg-gray); }

/* --------------------------------------------------------------------------
   Chamada final
   -------------------------------------------------------------------------- */
.cdg-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cdg-graphite);
}
.cdg-final__bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}
.cdg-final::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 23, 26, .05) 0%, rgba(23, 23, 26, .55) 45%, rgba(23, 23, 26, .9) 100%);
}
.cdg-final__inner { padding-block: clamp(5rem, 3.5rem + 6vw, 8.5rem); }
.cdg-final__box { max-width: 600px; margin-left: auto; }
.cdg-final__icon {
  width: 72px;
  height: 72px;
  padding: 8px;
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6);
}
.cdg-final .cdg-h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.cdg-final .cdg-lead { margin-top: 1.1rem; color: #C9CBD2; }
.cdg-final .cdg-actions { margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .cdg-float--card { right: -2%; width: 210px; }
  .cdg-float--notify { left: 0; }
  .cdg-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cdg-dataside { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .cdg-hero__grid,
  .cdg-split { grid-template-columns: minmax(0, 1fr); }
  .cdg-split--rev > .cdg-split__text { order: 0; }
  .cdg-hero__visual { min-height: 0; padding-block: 1.5rem 1rem; }
  .cdg-stats { grid-template-columns: repeat(2, 1fr); }
  .cdg-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cdg-dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .cdg-dash__row { grid-template-columns: 1fr; }
  .cdg-duo { min-height: 0; padding-top: 3rem; }
}

@media (max-width: 760px) {
  .cdg-grid--3,
  .cdg-steps { grid-template-columns: 1fr; }
  .cdg-grid--feat { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cdg-grid--feat .cdg-card { padding: 1.05rem; }
  .cdg-grid--feat .cdg-card h3 { font-size: .95rem; }
  .cdg-steps::before { display: none; }
  .cdg-step img { max-width: 190px; margin-top: 1rem; }
  .cdg-mosaic { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .cdg-plan__inner { flex-direction: column; text-align: center; }
  .cdg-final__box { margin-left: 0; }
  .cdg-final::after { background: linear-gradient(180deg, rgba(23, 23, 26, .55) 0%, rgba(23, 23, 26, .92) 70%); }
}

@media (max-width: 640px) {
  /* O site põe .btn com largura total no celular; aqui os botões empilham. */
  .cdg-actions { flex-direction: column; align-items: stretch; }
  .cdg-actions .btn { width: 100%; }
  .cdg-hero .cdg-eyebrow { font-size: 11px; letter-spacing: .1em; }
  .cdg-trust { gap: .6rem 1.1rem; }
  .cdg-float--notify { top: 4%; left: -4px; padding: .6rem .8rem .6rem .6rem; font-size: 12px; }
  .cdg-float--card { right: -6px; bottom: 4%; width: 190px; }
  .cdg-float--card .cdg-ocard__items { display: none; }
  .cdg-orbit { inset: 10% -14% 12% -14%; }
  .cdg-stats li { padding: 1.25rem .75rem; }
  .cdg-grid--4 { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cdg-card--role { padding: 1.15rem; }
  .cdg-card--role h3 { font-size: 1rem; }
  .cdg-minis { grid-template-columns: 1fr; }
  .cdg-duo { padding-inline: 0; }
  .cdg-phone { padding: 7px; border-radius: 38px; }
  .cdg-phone__screen { border-radius: 31px; }
  .cdg-phone__status { height: 32px; padding-inline: 20px 16px; font-size: 10px; }
  .cdg-phone::before { top: 14px; height: 16px; }
  .cdg-tag--a { top: 0; right: 0; }
  .cdg-tag--b { bottom: 4%; left: 0; }
  .cdg-board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.25rem; }
  .cdg-board__col { flex: 0 0 76%; scroll-snap-align: start; }
  .cdg-dash__kpis { gap: .6rem; }
  .cdg-kpi { padding: .85rem .9rem; }
  .cdg-rank li { grid-template-columns: 1.3rem minmax(0, 1fr) 4rem auto; }
  .cdg-heat { gap: 2px; grid-template-columns: 1.9rem repeat(var(--cols), minmax(0, 1fr)); font-size: 9.5px; }
  .cdg-heat i { aspect-ratio: 1; border-radius: 3px; }
  .cdg-score { flex-direction: column; align-items: flex-start; margin-left: 0; }
  .cdg-ai { right: 0; }
  .cdg-safe { justify-content: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .cdg-float, .cdg-ai, .cdg-tag { animation: none; }
}
