/* ========== ROOT TOKENS ========== */
:root{
  /* cores */
  --brand: #FC8405;            /* laranja pedido */
  --brand-gradient: linear-gradient(90deg, #FC4B05 0%, #FC8405 100%);
  --bg: #08122A;               /* fundo geral */
  --card: #0E1A38;             /* blocos */
  --text: #FFFFFF;
  --muted: #AAB3C5;

  /* spacing & radius */
  --container: min(1200px, 92vw);
  --r: 12px;

  /* tipografia */
  --ff-head: "Khand", system-ui, sans-serif;
  --ff-body: "Nunito", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* tamanhos (base 16px) */
  --h-xl: 4rem;    /* 64px */
  --h-lg: 4rem;    /* 64px (h2 no mesmo tamanho que pediste) */
  --h3: 1.5rem;    /* 24px */
  --p: 1rem;       /* 16px */
}

/* ========== RESET BÁSICO ========== */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.55;
}

/* ========== TIPOGRAFIA GLOBAL ========== */
h1,h2{ font-family: var(--ff-head); font-weight: 700; }
h1{ font-size: var(--h-xl); line-height: 1.05; letter-spacing: .5px;  color:var(--brand); background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2{ font-size: var(--h-lg); line-height: 1.05; letter-spacing: .5px; color:var(--brand); background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h3{ font-family: var(--ff-head); font-size: var(--h3); font-weight: 700; color: var(--text); }
p{ font-size: var(--p); color: var(--text); margin: .75rem 0 0; }

/* ========== COMPONENTES ========== */
.btn{
  display:inline-block;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}
.btn-outline{
  display:inline-block;
  margin-top: .75rem;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: .5rem .9rem;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 600;
}

.btn:hover{ transform: translateY(-3px);}
.btn-outline:hover{  display:inline-block;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  padding: .5rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  transform: translateY(-3px);
}

/* ========== NAVBAR ========== */
.navbar{
  position: absolute; inset: 0 0 auto 0;
  display:flex; align-items:center; justify-content:space-between;
  padding: 1rem max((100vw - var(--container))/2, 4vw);
  z-index: 10;
}
.navbar .logo{ color: var(--brand); font-weight: 800; letter-spacing: .5px; }
.navbar ul{ list-style: none; display:flex; gap:2rem; margin:0; padding:0; }
.navbar a{ color: var(--text); text-decoration:none; }
.navbar ul a:hover {color: var(--brand); font-weight: bold; text-decoration:none; }


.logo {
  max-width: 150px; /* tamanho padrão do logo */
  height: auto;
}

/* Quando a tela for menor que 768px → reduz para 50% */
@media (max-width: 768px) {
  .logo {
    max-width: 75px; /* metade do tamanho padrão */
  }
}

/* ========== HERO ========== */
.hero{ position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover;  object-position: 50% 80%;}

.hero-content{
  position: relative; z-index: 1;
  height: 100%; display:grid; place-items:center; text-align:center;
  padding-inline: 4vw;  align-items: flex-start; padding-top: 8rem;
}

/* ========== SERVICES ========== */
.services{ padding: clamp(3rem, 5vw, 5rem) 0; height: 110vh;  align-content: center;}
.services > h2{
  width: var(--container); margin: 0 auto 2rem; text-align: center;
  text-transform: uppercase; 
}

.services-layout{
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr min(600px, 48vw);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

/* esquerda: lista de cards em coluna */
.services-list{ display:flex; flex-direction:column; gap:1rem; }

/* card */
.service-card{
  background: var(--card);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid transparent;
}
.service-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
}

/* header do card */
.service-head{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.service-head .chev{
  color: var(--brand);
  transition: transform .25s ease;
  font-size: 1.1rem;
}

/* conteúdo extra (expansível no hover) */
.service-extra{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  opacity: 0;
}

/* ✅ abre o conteúdo:
   - quando o card é o ativo (clicado)
   - OU quando o mouse está em cima (hover) */
.service-card:hover .service-extra,
.service-card.active .service-extra{
  max-height: 160px; /* aumenta se seu texto for maior */
  opacity: 1;
}

/* ✅ setinha gira tanto no hover quanto no ativo */
.service-card:hover .chev,
.service-card.active .chev{
  transform: rotate(90deg);
}

.services-layout:has(.service-card:hover) 
  .service-card.active:not(:hover) .service-extra{
  max-height: 0 !important;
  opacity: 0 !important;
}

/* Mesma lógica para a setinha */
.services-layout:has(.service-card:hover) 
  .service-card.active:not(:hover) .chev{
  transform: rotate(0deg) !important;
}

/* direita: área de vídeo */
.services-video{
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
}
.services-video .vid{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  opacity: 0; pointer-events:none; transition: opacity .25s ease;
}

/* ✅ vídeo ativo visível */
.services-video .vid.is-active{
  opacity: 1;
}

/* ====== Troca de vídeo no hover do card (CSS :has) ======
   quando .services-layout "tem" (has) o 1º/2º/3º card sendo hovered,
   mostramos o vídeo correspondente. */
.services-layout:has(.service-card[data-video="1"]:hover) .services-video .vid{ opacity: 0; }
.services-layout:has(.service-card[data-video="1"]:hover) .services-video .v1{ opacity: 1; }

.services-layout:has(.service-card[data-video="2"]:hover) .services-video .vid{ opacity: 0; }
.services-layout:has(.service-card[data-video="2"]:hover) .services-video .v2{ opacity: 1; }

/* ================= CTA ================= */
.cta{
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14,26,56,.6), rgba(14,26,56,0));
  align-content: center;
}

.cta h2{
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cta__lead{
  max-width: 56ch;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}
.cta .btn{ font-size: 1rem; background: var(--brand-gradient);}
.cta .btn:hover{transform: translateY(-3px);}

/* glow decorativo */
.cta__glow{
  position: absolute;
  inset: auto 50% -40% auto;
  top: -600px; /* começa um pouco acima */
  z-index: -1;
  width: 1200px; height: 1200px;
  translate: 50% 0;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--text) 0%, #fff 70%) 0%, transparent 70%);
  filter: blur(40px);
  opacity: .25;
  pointer-events: none;
   transform: translateX(-50%) translateY(50);
    transition: transform 0.1s linear;
}

.cta__inner{
  width: var(--container);
  margin: 0 auto;
  z-index: 1;
  text-align: center;
}

/* ================= INSIGHTS ================= */
.insights{
  padding: clamp(3rem, 6vw, 5rem) 0;
  min-height: 100vh;
  height: auto; /* deixa crescer se precisar */
  background:  var(--card);
}
.insights__head{
  width: var(--container);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.link-all{
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.link-all:hover {text-decoration: underline; transform: translateY(-3px);}

.insights-grid{
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.insight-card{
  background: var(--bg);
  border-radius: var(--r);
  overflow: clip;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.insight-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.insight-card .thumb img{
  display:block; width:100%; height: 200px; object-fit: cover;
}
.insight-info{ padding: 1rem 1rem 1.2rem; }
.insight-info .pill{
  display:inline-block; font-family: var(--ff-body); font-weight:bold;
  font-size: .9rem; color:#000; background: var(--brand);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .5rem;
}
.insight-info h3{
  font-size: 1.25rem; line-height: 1.2; margin-top: .25rem;
}
.insight-info p{ color: var(--muted); margin-top: .5rem; }
.insight-info .read{
  display:inline-block; margin-top: .75rem; color: var(--brand);
  text-decoration: none; font-weight: 700;
}

.insight-info .read:hover {text-decoration: underline; transform: translateY(-3px);}

/* ================= FOOTER ================= */
/* FOOTER */
.site-footer{
  position: relative; /* garante referência para o absolute */
  padding: clamp(2.5rem, 6vw, 4rem) 0;

  overflow: hidden; /* evita scroll horizontal */
}
.footer__inner{
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr; /* esquerda/direita */
  align-items: center;
  gap: 2rem;
}
.footer__brand .logo{
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer__brand p{ margin-top: 2rem; max-width: 60ch; }
.footer__brand .contacts a{ color: var(--text); text-decoration: none; }
.footer__brand .contacts a:hover { color: var(--brand); text-decoration: none; }
.footer__brand .legal{ color: var(--muted); margin-top: 2rem; }
.socials{
  list-style: none;
  display: flex;
  gap: .75rem;
  margin: .75rem 0 0;
  padding: 0;
}
.socials a{ color: var(--brand); text-decoration: none; font-weight: 700; }
.socials li:hover{
    transform: translateY(-3px);}

/* Coluna direita (imagem) */
.footer__art{
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none; /* não bloqueia cliques nos links */
}
.footer__art img{
  display: block;
  max-width: 500px; /* controla tamanho */
  width: 100%;
  height: auto;
  opacity: .9;
}

/* Responsivo */
@media (max-width: 1024px){
  .footer__inner{ grid-template-columns: 1fr; }
  .footer__art{ justify-self: right; max-width: 320px; margin-top: 0.5rem; }
}

@media (max-width: 768px){
  .footer__art img{
    display: none;
  }
}
/* ========= Responsivo das novas seções ========= */
@media (max-width: 1024px){
  .insights-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .insights-grid{ grid-template-columns: 1fr; }
  .insight-card .thumb img{ height: 180px; }
  .cta__lead{ padding-inline: 1rem; }
}


/* ========== RESPONSIVO ========== */
@media (max-width: 900px){
  .services-layout{
    grid-template-columns: 1fr;     /* empilha no tablet/mobile */
  }
  .services-video{ display:none; }  /* vídeo acima dos cards */
}

@media (max-width: 768px){
  .services-video{
    display: none;
  }
}



@media (max-width: 900px){
  .navbar ul{ display:none; }
  h1,h2{ font-size: clamp(2rem, 7vw, 3rem); }
}


/* Botão Contact Us desktop */
.btn-contact{ display: inline-block; }

/* Hamburger - escondido desktop */
.hamburger{
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 20px;
  background: none; border: none;
  cursor: pointer;
}
.hamburger span{
  display: block;
  height: 3px;
  width: 100%;
  background: var(--brand);
  border-radius: 2px;
  transition: .3s;
}

/* Overlay menu mobile */
.mobile-menu{
  position: fixed;
  inset: 0;
  background: rgba(8,18,42,.96);
  display: none;              /* inicia fechado */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.mobile-menu nav ul{
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.mobile-menu nav a{
  font-size: 1.5rem;
  font-family: var(--ff-head);
  color: var(--text);
  text-decoration: none;
}
.btn-mobile-contact{
  background: var(--brand);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

/* Responsivo */
@media (max-width: 900px){
  .nav-links{ display: none; }
  .btn-contact{ display: none; } /* esconde botão no header */
  .hamburger{ display: flex; }   /* mostra hamburger */
}


.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2){
  opacity: 0;
}
.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu{
  position: fixed;
  inset: 0;
  background: rgba(8,18,42,.96);
  display: none; /* fechado */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* aberto */
.mobile-menu.open{
  display: flex;
}

/* PAGINA BRAND SETUP */

/* HERO */
/* HERO full height */
.page-hero {
  height: 100vh; /* full viewport */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 1rem;
  text-align: center;
  background: var(--bg);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--brand);
  text-transform: uppercase; /* uppercase */
}
.page-hero p {
  color: var(--muted);
  max-width: 60ch;
  margin: 1rem auto 2rem;
}


/* GET READY */
.get-brand {
  height: 100vh; /* full viewport */
  align-content: center;
  background: var(--card);
}

.get-ready {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 4rem 6rem;
  align-items: center;
  background: var(--bg); /* mesmo fundo dos plan-cards */
  border-radius: var(--r);   /* bordas arredondadas */
}
.get-ready h2 {
  text-transform: uppercase;

}
.get-img img {
  max-width: 100%;
  border-radius: var(--r);
}
@media (max-width: 1200px) {
    .get-brand {
    height: auto;
    padding: 3rem 1rem;
  }

  .get-ready {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;   /* já ajusto o padding aqui, explico abaixo */
  }

  /* imagem sobe pra cima do texto */
  .get-img {
    order: -1;
    margin-bottom: 1.5rem;
    margin-top: 0;
  }
}

/* PLAN */
.plan {
  min-height: 100vh;
  height: auto; /* deixa crescer se precisar */
  padding: 4rem 0;
  text-align: center;
  align-content:center;
}
.plan h2 { 
  text-align: center;
  margin-bottom: 2rem; 
  text-transform: uppercase; 
}

.plan-grid {
  width: var(--container, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}
.plan-card {
  background: var(--card);
  border-radius: var(--r);
  padding: 2rem 1.5rem;
  position: relative;
  text-align: left;
}
.plan-card h3 { margin-top: 1.5rem; }
.plan-card p { color: var(--muted); }
.plan-icon {
  top: 1rem;
  left: 1rem;
  width: 60px;
  height: 60px;
}


/* Mobile */
@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .plan-card {
    text-align: center;
    padding: 1.5rem;
  }

  .plan-card img {
    margin: 0 auto 1rem;
    max-width: 70px;
  }

  .plan-card h3 {
    margin-bottom: .5rem;
  }
}

/* FAQ acordeão */
/* FAQ */
.faq {
  width: var(--container, 1200px);
  margin: 4rem auto;
  padding: 0 2rem;
  background: var(--card);
  align-content: center;
}
.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.faq-item {
  max-width: var(--container);
  margin-bottom: 1rem;
  background: var(--bg);
  border-radius: var(--r);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--ff-head);
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question .icon {
  font-size: 1.5rem;
  color: var(--text);
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}
.faq-answer p {
  color: var(--muted);
  margin: .5rem 0;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 500px; /* ajuste conforme conteúdo */
  padding: 0 1.5rem 1.2rem;
}
.faq-item.active .faq-question .icon {
  transform: rotate(180deg); /* opcional: faz o + girar */
  content: "-";
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg); /* fundo do site */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.loader svg {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

.loader p {
  font-family: var(--ff-head);
  color: var(--brand);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Animação do círculo / logo */
.circle {
  stroke-dasharray: 314;   /* perímetro aproximado do círculo */
  stroke-dashoffset: 0;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% { stroke-dashoffset: 314; }
  100% { stroke-dashoffset: 0; }
}


/* Cabeçalho da seção de insights na home */
.insights__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.insights__head h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  text-transform: uppercase;
}

/* Títulos dos cards de insight – tirar azul e sublinhado */
.insight-card .insight-info h3 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
}

.insight-card .insight-info h3 a {
  color: inherit;
  text-decoration: none;
}

.insight-card .insight-info h3 a:hover {
  text-decoration: underline;
}

/* Link "Read article" */
.insight-card .read {
  display: inline-block;
  margin-top: .75rem;
  text-decoration: none;
  font-weight: 600;
  color: linear-gradient(90deg, #FC4B05 0%, #FC8405 100%); /* sua cor de destaque */
}

.insight-card .read:hover {
  text-decoration: none;
  color: ;
}
