* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--cor-02);
  text-decoration: none;
}

a:hover {
  color: var(--cor-03);
  text-decoration: none;
}

:root {
  --cor-01: #130d46;
  --cor-02: #054491;
  --cor-03: #0177f3;
  --cor-04: #00b0e6;
  --cor-05: #eef7e2;
  --cor-bg: #efefef;
  --degrade: linear-gradient(to bottom, #111111, #2b2b2b);
  --sidebar: #142852;
}

.text-primary {
  color: var(--cor-03) !important;
}

.btn-primary {
  background-color: var(--cor-03) !important;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--cor-04) !important;
  color: var(--cor-05);
  text-decoration: none;
}

.bg-primary {
  background-color: var(--cor-03) !important;
}

.bg-primary:hover {
  background-color: var(--cor-01) !important;
  color: var(--cor-05);
}

.destaque {
    color: var(--cor-03);
}

/* Texto adicional */
.descricao {
    font-size: 1.1rem;
    color: var(--cor-05);
}

/* ---- CONFIG NAVBAR ---- */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}

.navbar.scrolled {
  background-color: #1F4A6C;
}

.nav-link {
  color: #fff;
}

.nav-link:hover {
  color: var(--cor-03);
  font-weight: 600;
}


/* SESSÃO 01 */

/* ---- CONFIG HOME ---- */
.home {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.video-hidden {
  opacity: 0;
}


.cont-home h1 {
  font-weight: bold;
  font-size: 50px;
}

/* Sobreposição de cor */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(334deg, #130d46, #054491);
  background-size: 180% 180%;
  animation: gradient-animation 6s ease infinite;
  z-index: 2;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Conteúdo */
.cont-home {
  position: relative;
  z-index: 3;
  color: #fff;
}

@media (max-width: 450px){
    .txt-home {
        padding-top: 210px;
    }
}

/* SESSÃO 02 */

.feature-card {
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  border-color: rgba(0,0,0,.06);
  border-radius: 0 !important;
  min-height: 300px;                /* altura mínima equilibrada */
  display: flex;
  flex-direction: column;
  justify-content: center;          /* centraliza vertical */
  align-items: center;              /* centraliza horizontal */
  padding: 2rem;                    /* padding proporcional */
}

.feature-card .feature-icon i {
  font-size: 42px;
  line-height: 1;
  color: #9aa4b2;
  transition: color .25s ease, transform .25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.12);
}

.feature-card:hover .feature-icon i {
  color: var(--cor-03);
  transform: translateY(-2px);
}

/* foco via teclado acessível no link do card */
.feature-card:has(.stretched-link:focus-visible){
  outline: 3px solid var(--cor-03);
  outline-offset: 3px;
}

/* espaçamento fino em telas muito largas (opcional) */
@media (min-width: 1400px){
  #recursos .container{ max-width: 1140px; }
}


/* SESSÃO 03 */

/* Sessão App Preface */
#app-preface .device-wrap{
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;              /* mantém proporção da área */
}

#app-preface .circle-bg{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--cor-03), #6b32ff);
  z-index: 1;
}

/* Imagens dos devices (use seus PNGs com transparência) */
#app-preface .device{
  position: absolute;
  max-width: 70%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.18));
  transition: transform .25s ease, filter .25s ease;
}

/* aparelho do fundo */
#app-preface .device-back{
  left: 12%;
  bottom: 10%;
  transform: scale(0.96);
  opacity: .95;
}

/* aparelho da frente (destacado) */
#app-preface .device-front{
  left: 32%;
  top: 22%;
  transform: translateY(0);
}

/* micro interação no hover (desktop) */
@media (hover:hover){
  #app-preface .device-front:hover{
    transform: translateY(-6px);
    filter: drop-shadow(0 26px 44px rgba(0,0,0,.22));
  }
}

/* Botões de loja */
.btn-store{
  background: var(--cor-03);
  color: #fff !important;
  border: none;
  padding: .9rem 1.25rem;
  font-weight: 600;
  border-radius: .5rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-store:hover{
  background: var(--cor-04);
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0,0,0,.15);
}

/* Responsivo fino */
@media (max-width: 991.98px){
  #app-preface .device-wrap{ max-width: 440px; }
  #app-preface .device-front{ left: 30%; top: 20%; }
}
@media (max-width: 575.98px){
  #app-preface .device-wrap{ max-width: 360px; }
  #app-preface .device-front{ left: 28%; top: 18%; }
  #app-preface .circle-bg{ width: 88%; height: 88%; }
}


/* SESSÃO 04 */

/* ===== App Features: ícones grandes + cor ===== */
#app-features .feat-ico{
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: grid;
  place-items: center;
  /* fallback claro + gradiente com tuas cores */
  background: #e9f3ff;
  background-image: linear-gradient(135deg, var(--cor-03) 0%, var(--cor-04) 100%);
  color: #fff;                         /* cor do ícone */
  border: 0;
  border-radius: 0;                     /* cantos retos */
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
#app-features .feat-ico i{
  font-size: 32px;                     /* maior que antes */
  line-height: 1;
}

#app-features .feat:hover .feat-ico{
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0,0,0,.16);
  filter: saturate(1.15);
}

/* título um pouco mais forte pra equilibrar com o ícone */
#app-features .feat h6{ font-weight: 700; }

/* responsivo fino: reduz levemente no mobile */
@media (max-width: 575.98px){
  #app-features .feat-ico{ width:56px; height:56px; min-width:56px; }
  #app-features .feat-ico i{ font-size: 28px; }
}


/* ===== Pricing ===== */
.price-card{
  transition: transform .25s ease, box-shadow .25s ease;
  background: #fff;
}
.price-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

.price-card.featured{
  background: var(--cor-03);
  color: #fff;
}
.price-card.featured .plan-badge{
  background: rgba(255,255,255,.15);
  color: #fff;
}
.price-card.featured .per{
  color: rgba(255,255,255,.8);
}

.plan-badge{
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem 1rem;
  border-radius: 50px;
  background: var(--cor-03);
  color: #fff;
  letter-spacing: .5px;
}

.price{
  font-size: 2.5rem;
  font-weight: 700;
}
.price .value{
  font-size: 2.5rem;
  position: relative;
}
.price .cents{
  font-size: 1rem;
  vertical-align: super; /* coloca em cima */
}
.price .per{
  font-size: .95rem;
  font-weight: 400;
  color: #6c757d;
}

.price-card.featured .price .per{
  color: rgba(255,255,255,.85);
}


.footer{
  background: var(--cor-01);
  color: #fff;
}

.footer .social-icon{
  font-size: 1.8rem;
  color: #fff;
  transition: color .25s ease, transform .25s ease;
}
.footer .social-icon:hover{
  color: var(--cor-03);
  transform: translateY(-2px);
}

