/* =========================
   VARIÁVEIS DE CORES
========================= */
:root {
  --azul: #0478b3;
  --azul-escuro: #006f9c;
  --cinza: #333;
  --cinza-claro: #f7f7f7;
  --branco: #fff;
}

/* =========================
   FONTS ESTILIZADAS
========================= */

@font-face {
  font-family: 'Interwoven';
  src: url('../fonts/Interwoven.woff2') format('woff2'),
       url('../fonts/Interwoven.woff') format('woff'),
       url('../fonts/Interwoven.ttf') format('truetype'),
       url('../fonts/Interwoven.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'creative-planner';
  src: url('../fonts/creative-planner.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Yorkshire';
  src: url('../fonts/Yorkshire.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'good-selection';
  src: url('../fonts/good-selection.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'daily_dark';
  src: url('../fonts/daily_dark.otf') format('opentype');
  font-weight: 700;
  font-style: bold;
}

@font-face {
  font-family: 'daily_script';
  src: url('../fonts/daily_regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--cinza);
  background: var(--branco);
  line-height: 1.6;
  overflow-x: hidden; /* evita rolagem horizontal */
}

html {
  max-width: 100%;
  overflow-x: hidden; /* trava geral */
}

h1, h2, h3, h4, h5 {
  font-family: 'Interwoven', sans-serif;
  font-weight: 500;
}

p {
  font-weight: 300;
  color: var(--cinza);
}

a {
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--azul);
}

/* =========================
   NAVBAR
========================= */
.navbar {
  padding: 15px 0;
  background: var(--branco);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--azul);
}

.navbar-brand img{
  height: 50px;
}
.navbar .nav-link {
  font-weight: 500;
  margin-left: 15px;
  color: var(--cinza);
}

.navbar .btn-primary {
  background: var(--azul);
  border: none;
  border-radius: 30px;
  padding: 8px 20px;
}

.navbar .btn-primary:hover {
  background: var(--azul-escuro);
}

/* =========================
   HERO
========================= */
.hero {
  background-color: #0462AA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 2 1'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='1' gradientTransform='rotate(205,0.5,0.5)'%3E%3Cstop offset='0' stop-color='%230462AA'/%3E%3Cstop offset='1' stop-color='%2345BBD7'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='0' y2='1' gradientTransform='rotate(258,0.5,0.5)'%3E%3Cstop offset='0' stop-color='%2352DEFF' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%2352DEFF' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='2' y2='2' gradientTransform='rotate(351,0.5,0.5)'%3E%3Cstop offset='0' stop-color='%2352DEFF' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%2352DEFF' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='2' height='1'/%3E%3Cg fill-opacity='0.18'%3E%3Cpolygon fill='url(%23b)' points='0 1 0 0 2 0'/%3E%3Cpolygon fill='url(%23c)' points='2 1 2 0 0 0'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
  color: var(--branco);
  padding: 50px 20px;
  text-align: center;
  position: relative;
  min-height: 50vh; /* hero sempre ocupa 60% da tela */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero h1 {
  font-family: 'good-selection', sans-serif !important;
  font-weight: 500;
  font-size: 60px;
  margin-bottom: 50px;
  color: var(--branco);
}

#typewriter {
  font-size: 60px; /* ajuste para caber bem */
  margin-bottom: 20px;
  color: var(--branco);
  border-right: 4px solid var(--branco); /* cursor */
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  transition: opacity 0.4s ease-in-out; /* transição suave */
}

@keyframes blinkCursor {
  from { border-color: transparent }
  to { border-color: var(--branco) }
}

#typewriter {
  animation: blinkCursor .7s steps(1) infinite;
}

/* =========================
   SERVIÇOS
========================= */
#servicos {
  margin-top: -130px;
}

#servicos .card {
  border: none;
  background: #fff;
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease-in-out;
}

#servicos .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

#servicos .card i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--azul);
  transition: color 0.3s;
}

#servicos .card:hover i {
  color: var(--azul-escuro);
}

#servicos .card h5 {
  font-family: 'daily_dark', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 15px;
}
/* =========================
   PROCESSOS
========================= */
#processo {
  position: relative;
  overflow: hidden;
}

/* ===== Roadmap vertical ===== */
#processo h2 {
  font-family: 'good-selection', sans-serif !important;
  color: var(--azul);
}

.sticky-illustration {
  position: sticky;
  top: 100px;   /* distância do topo quando fixa */
}

.process-step {
  position: relative;
  margin-top: 20px;
  padding-left: 50px;
  margin-bottom: 60px;
}

.process-step .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--azul);
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.process-step h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 35px;
  width: 3px;
  height: calc(100% - 35px);
  background: var(--azul);
  opacity: 0.25;
}
.process-step:last-child::before {
  display: none; /* remove linha do último */
}

/* responsivo */
@media (max-width: 768px) {
  .sticky-illustration { display: none; }
  .process-step { padding-left: 45px; margin-bottom: 40px; }
}


/* =========================
   PORTFÓLIO
========================= */

#portfolio h2 {
  font-family: 'good-selection', sans-serif !important;
  color: var(--azul);
}

#portfolio .portfolio-item img {
  height: 250px;       /* altura fixa para todas */
  width: 100%;         /* ocupar toda a largura do col */
  object-fit: cover;   /* corta sem distorcer */
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#portfolio .portfolio-item img:hover {
  transform: scale(1.05);
}

#portfolio .portfolio-item h5 {
  font-weight: 300;
  margin-top: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--cinza);
}


/* =========================
   PACOTES
========================= */
#pacotes .nav-pills .nav-link {
  font-weight: 600;
  border-radius: 30px;
  margin: 0 5px;
  padding: 8px 20px;
  color: var(--azul);
}

#pacotes .nav-pills .nav-link.active {
  background: var(--azul);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


#pacotes h2 {
  font-family: 'good-selection', sans-serif;
  font-weight: 500;
  color: var(--azul);
  margin-bottom: 50px;
}

/* Grid de pacotes */
.package {
  background: #fff;
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
  position: relative;
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: var(--azul);
}

.package h4 {
  font-family: 'good-selection', sans-serif;
  font-weight: 200;
  color: var(--azul-escuro);
  margin-bottom: 10px;
}

.package p {
  font-size: 0.95rem;
  color: #666;
  min-height: 50px;
}

.package h5 {
  font-family: 'good-selection', sans-serif;
  font-size: 16px;
  font-weight: 100;
  color: var(--cinza);
  margin: 20px 0;
}

/* Lista de features */
.package ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.package ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95rem;
}

.package ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--azul);
  font-weight: bold;
}

/* Destacar o plano intermediário */
.package.highlight {
  border: 2px solid var(--azul);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.package.highlight::before {
  content: "Mais Popular";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--azul);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 20px;
}

/* Botão dentro dos pacotes */
.package .btn {
  margin-top: 20px;
  background: var(--azul);
  color: #fff;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: 0.3s;
}

.package .btn:hover {
  background: var(--azul-escuro);
}


/* =========================
   DEPOIMENTOS
========================= */
#depoimentos .testimonial {
  background: var(--branco);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#depoimentos img {
  border: 3px solid var(--azul);
}

/* =========================
   FAQ
========================= */
#faq h2 {
  font-family: 'good-selection', sans-serif;
  font-weight: 500;
  color: var(--azul);
  margin-bottom: 50px;
}

#faq h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
}

#faq .accordion-button {
  font-weight: 600;
  color: var(--cinza);
}

#faq .accordion-button:not(.collapsed) {
  background: var(--azul);
  color: var(--branco);
}

/* =========================
   CONTATO
========================= */
#contato {
  background: var(--azul);
  color: var(--branco);
  padding: 80px 20px;
  text-align: center;
}

#contato h2 {
  font-family: 'good-selection', sans-serif;
  font-weight: 500;
  color: var(--azul);
  margin-bottom: 50px;
}

#contato .btn {
  background: var(--branco);
  color: var(--azul);
  border-radius: 30px;
  padding: 12px 25px;
}

#contato .btn:hover {
  background: var(--cinza);
  color: var(--branco);
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--branco);
  color: var(--branco);
  padding: 30px 100px;
  text-align: center;
}

footer a {
  color: var(--azul);
  margin: 0 10px;
  transition: 0.3s;
}

footer a:hover {
  color: var(--branco);
}
