:root{
  --bg: #0b0b0b;
  --panel: #1a1a1a;
  --text: rgba(255,255,255,.92);
  --muted: #b0b0b0;
  --border: rgba(255,255,255,.08);

  --orange: #FF8C42;
  --purple: #9D4EDD;

  --shadow: 0 30px 60px rgba(0,0,0,.55);
  --radius-lg: 24px;
  --radius-xl: 28px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }

.site{ min-height: 100vh; }

.container{
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111; /* grafite bem escuro */
  padding: 80px 24px;
}

.hero::before{
  display: none;
}


.hero__inner{
  position: relative;
  width: min(860px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero__logoWrap{
  width: 192px;
  height: 192px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

@media (min-width: 768px){
  .hero__logoWrap{ width: 256px; height: 256px; }
}

.hero__logo{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .7s ease;
}

.hero__logoWrap:hover .hero__logo{
  transform: scale(1.05);
}

.hero__title{
  margin: 0;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: lowercase;
  opacity: .92;
  font-size: clamp(20px, 2.6vw, 38px);
}

/* SECTIONS */
.section{
  padding: 72px 0;
}

@media (min-width: 768px){
  .section{ padding: 96px 0; }
}

.grid{
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px){
  .grid{
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
  }
  .grid--reverse{
    grid-template-columns: .95fr 1.05fr;
  }
  .grid--reverse .block{ order: 2; }
  .grid--reverse .media{ order: 1; }
}

.block__title{
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
}

.block__title--orange{ color: var(--orange); }
.block__title--purple{ color: var(--purple); }

.block__text{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  max-width: 52ch;
}

/* CTA */
.cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  transform: translateZ(0);
  transition: transform .25s ease;
}

.cta:hover{ transform: scale(1.04); }

.cta__arrow{
  display: inline-block;
  transition: transform .25s ease;
}

.cta:hover .cta__arrow{
  transform: translateX(4px);
}

.cta__label{
  border-bottom: 2px solid transparent;
  transition: border-color .25s ease;
}

.cta--orange{ color: var(--orange); }
.cta--purple{ color: var(--purple); }

.cta--orange:hover .cta__label{ border-color: var(--orange); }
.cta--purple:hover .cta__label{ border-color: var(--purple); }

/* MEDIA */
.media{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.media__img{
  width: 100%;
  display: block;
  min-height: 300px;
  height: clamp(300px, 42vw, 500px);
  object-fit: cover;
  transform: scale(1);
  transition: transform .5s ease;
}

.media:hover .media__img{
  transform: scale(1.05);
}

/* FOOTER */
.footer{
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer__title{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.footer__text{
  margin: 0;
  color: var(--muted);
}

.footer__link{
  margin-top: 6px;
  transition: color .25s ease;
}

.footer__link:hover{
  color: var(--orange);
}

.footer__copy{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* EDITORA GRID */

.cards{
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card{
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  color: white;
  transition: .25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card:hover{
  border-color: rgba(255,140,66,.4);
  transform: translateY(-4px);
}

.card__icon{
  font-size: 28px;
  opacity: .8;
}

.card h3{
  margin: 0;
  font-size: 22px;
}

.card p{
  margin: 0;
  color: #b0b0b0;
}

.card__status{
  margin-top: auto;
  font-size: 13px;
  color: #6ee7b7;
}

.card--ghost{
  opacity: .5;
  border-style: dashed;
  text-align: center;
  justify-content: center;
  align-items: center;
}

/* CHATBOTS - detalhes extras */

.card--bot{
  position: relative;
  overflow: hidden;
}

.card__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.card__badge{
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 26px rgba(0,0,0,.35);
}

.card__ghost{
  font-size: 64px;
  opacity: .10;
  transform: translate(10px,-8px);
  user-select: none;
}

.card__meta{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  gap: 8px;
  color: #34d399; /* verde */
  font-size: 14px;
}

.dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 7px;
  box-shadow: 0 0 0 4px rgba(78,121,167,.12);
}


.dot--solid{
  background: #22c55e;
}

.dot--ping{
  background: rgba(34,197,94,.25);
  position: relative;
}

.dot--ping::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius:999px;
  background: rgba(34,197,94,.65);
  animation: ping 1.2s ease-out infinite;
  transform: scale(1);
  opacity: .75;
}

@keyframes ping{
  0%{ transform: scale(1); opacity: .75; }
  100%{ transform: scale(2.3); opacity: 0; }
}

/* ICONE TOPO */

.brandMini{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.15em;
  opacity:.9;
}

.brandMini img{
  height:18px;
  width:auto;
  display:block;
}
