:root {
  --secondary: #172A3A;
  --ink: #1a1a1a;
  --muted: #6e6e73;
  --bg: #F5F5F5;
  --card: #ffffff;
  --surface-2: #E5E1D8;
  --line: rgba(0,0,0,.08);
  --radius-1: 10px;
  --radius-2: 14px;
  --shadow: 0 10px 26px rgba(10,12,28,.12);
  --shadow-soft: 0 8px 18px rgba(10,12,28,.08);
  --grad-hero: radial-gradient(1200px 500px at 0% 0%, #E5E1D8 0%, #F5F5F5 50%, #FFFFFF 100%);
  --speed-fast: .18s;
  --speed: .3s;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid #ececec;
}

.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.brand__logo img {
  height: 100%;
  width: auto;
  max-height: 50px;
  object-fit: contain;
}

.brand__badge {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--brand-3), var(--brand));
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
}

.brand__text {
  color: #1f2226;
  font-weight: 700;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 8px;
}

.nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.nav__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  margin-right: 10px;
}

.nav-link {
  color: #2d2f33;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background var(--speed-fast), color var(--speed-fast);
  white-space: nowrap;
  font-size: 14px;
}

.nav-link:hover {
  background: var(--surface-2);
  color: #14191e;
}

.nav-link.is-active {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
}

.has-caret {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: transform var(--speed-fast), box-shadow var(--speed-fast), background var(--speed);
  white-space: nowrap;
  font-size: 14px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 10px 24px rgba(68,13,15,.28);
}

.btn--primary:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(68,13,15,.28);
}

.btn--light {
  background: #fff;
  color: var(--brand);
  border: 1px solid rgba(255,255,255,.5);
}

.header__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.hero {
  background: var(--grad-hero);
  padding: 64px 0 48px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  align-items: center;
  gap: 40px;
}

.hero__title {
  font-size: clamp(34px, 5.5vw, 56px);
  line-height: 1.04;
  margin: 0 0 14px;
  letter-spacing: .3px;
}

.hero__desc {
  color: #3f454d;
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.hero__img-card {
  border-radius: 20px;
  padding: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero__img {
  border-radius: 14px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .6s ease;
}

.hero__img-card:hover .hero__img {
  transform: scale(1.04);
}

.section {
  padding: 64px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 26px;
}

.section__title {
  font-size: clamp(26px, 3.6vw, 40px);
  margin: 0 0 6px;
  color: var(--brand);
  letter-spacing: .5px;
}

.section__lead {
  color: #5b6168;
}

.cards-4 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.card-feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}

.card-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(68,13,15,.22);
  box-shadow: 0 18px 44px rgba(23,42,58,.15);
}

.card-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f0e9e4;
  color: var(--brand);
  font-size: 22px;
  margin-bottom: 12px;
}

.card-feature__title {
  margin: 0 0 6px;
  font-size: 18px;
}

.card-feature__text {
  margin: 0;
  color: #6b6b70;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 8px 0 20px;
}

.process-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--speed-fast), border-color var(--speed-fast), box-shadow var(--speed-fast);
}

.process-item:hover {
  transform: translateY(-2px);
  border-color: rgba(68,13,15,.22);
  box-shadow: 0 16px 36px rgba(23,42,58,.12);
}

.pi__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e9edf0;
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.pi__title {
  margin: 0 0 2px;
  font-size: 17px;
}

.pi__subtitle {
  color: #7b7b82;
  font-size: 14px;
}

.pi__action {
  color: var(--brand);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.agenda-list {
  display: grid;
  gap: 16px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 90px 1fr 120px;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--speed-fast), border-color var(--speed-fast), box-shadow var(--speed-fast);
}

.agenda-item:hover {
  transform: translateY(-2px);
  border-color: rgba(68,13,15,.22);
  box-shadow: 0 16px 36px rgba(23,42,58,.12);
}

.ai__date {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: var(--secondary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(23,42,58,.35);
}

.ai__day {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.ai__mon {
  font-size: 12px;
  letter-spacing: .6px;
}

.ai__title {
  margin: 0 0 4px;
}

.ai__subtitle {
  color: #7b7b82;
}

.ai__time {
  text-align: right;
}

.ai__time strong {
  font-size: 16px;
}

.ai__time small {
  display: block;
  color: #7b7b82;
}

.cta {
  background: var(--grad-cta);
  padding: 56px 0 70px;
  color: #fff;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 120px at 50% 0%, rgba(255,255,255,.16), transparent 60%);
  pointer-events: none;
}

.cta__box {
  text-align: center;
}

.cta__title {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 10px;
}

.cta__lead {
  opacity: .95;
  margin: 0 0 16px;
}

.site-footer {
  background: var(--secondary);
  color: #fff;
  padding: 36px 0 44px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr 1.3fr .8fr;
  gap: 28px;
  align-items: flex-start;
}

.brand--invert {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand--invert .brand__logo {
  height: 45px;
}

.brand--invert .brand__logo img {
  max-height: 45px;
}

.brand--invert .brand-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(180deg,#ffffff,var(--bg-2));
  color: var(--brand);
  font-weight: 800;
}

.brand--invert .brand-name {
  color: #fff;
  font-weight: 700;
}

.footer__title {
  margin: 0 0 10px;
  font-size: 15px;
  letter-spacing: .3px;
  color: #fff;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.5;
}

.footer__list a {
  color: #fff;
  opacity: .9;
  text-decoration: none;
  transition: opacity .18s ease, text-decoration-color .18s ease;
}

.footer__list a:hover {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: #fff;
}

.footer__list i {
  font-size: 18px;
  line-height: 1.2;
  opacity: .95;
}

.footer__copy {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 24px;
  padding-top: 18px;
  text-align: center;
  font-size: 14px;
  opacity: .92;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  
  .agenda-item {
    grid-template-columns: 80px 1fr 100px;
  }
  
  .footer__grid {
    grid-template-columns: repeat(2,1fr);
    gap: 22px;
  }
}

@media (max-width: 780px) {
  .nav {
    position: relative;
  }
  
  .nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(10,12,28,.08);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  
  .nav__toggle:hover {
    transform: translateY(-1px);
  }
  
  .nav__list {
    position: absolute;
    top: 80px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    width: min(92vw, 320px);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px) saturate(1.2);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 22px 48px rgba(10,12,28,.22);
    transform-origin: top right;
    animation: menu-pop .22s ease-out;
    margin-right: 0;
  }
  
  .nav.is-open .nav__list {
    display: flex;
  }
  
  .nav__list .nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: transparent;
    font-size: 15px;
  }
  
  .nav__list .nav-link:hover {
    background: var(--surface-2);
  }
  
  .header__btn {
    display: none !important;
  }
  
  .nav.is-open .btn--primary {
    display: inline-block !important;
    margin-top: 10px;
    text-align: center;
    width: 100%;
    order: 999;
    font-size: 15px;
  }
  
  .nav__list .nav-link.is-active {
    background: linear-gradient(180deg, var(--brand-2), var(--brand));
    color: #fff;
  }
  
  @keyframes menu-pop {
    from {
      opacity: 0;
      transform: scale(.98) translateY(-6px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.site-header.has-shadow {
  box-shadow: 0 10px 24px rgba(10,12,28,.06);
}

@media (max-width: 720px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .footer__list li {
    align-items: center;
  }
}

@media (max-width: 540px) {
  .cards-4 {
    grid-template-columns: 1fr;
  }
  
  .agenda-item {
    grid-template-columns: 72px 1fr;
    grid-auto-rows: auto;
  }
  
  .ai__time {
    justify-self: end;
  }
}

/* ===== Aumentar só a logo da NAV (não mexe no footer) ===== */
:root{
  --nav-logo: 84px;    /* ajuste o tamanho que quiser */
  --header-h: 88px;    /* altura da barra para acomodar a logo maior */
}

.site-header .brand__logo{
  height: var(--nav-logo);
}
.site-header .brand__logo img{
  max-height: var(--nav-logo);
}

/* mantém a barra alinhada e o menu mobile no lugar */
.site-header .header__wrap{
  height: var(--header-h);
}
@media (max-width: 780px){
  .nav__list{ top: var(--header-h); }
}


/* Botão flutuante do WhatsApp (global) */
.whatsapp-fab{
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px)); /* respeita safe area no iOS */
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  text-decoration: none;
  font-size: 28px; line-height: 1;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  z-index: 9999;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.whatsapp-fab:hover{ transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.whatsapp-fab:active{ transform: translateY(0); }

/* Se tiver outro botão flutuante (ex.: ajuda '?'), suba um pouco este aqui:  */
@media (min-width: 0){
  /* descomente se precisar empilhar acima de outro FAB
  .whatsapp-fab{ bottom: 86px; }
  */
}

/* Tamanhos em mobile */
@media (max-width: 780px){
  .whatsapp-fab{ right: 14px; width: 54px; height: 54px; font-size: 26px; }
}

/* ==== TROCA DO VERMELHO PARA AZUL (OVERRIDE GLOBAL) ==== */
:root{
  /* Novo tema azul (usa o mesmo “tom” do --secondary) */
  --brand:   #172A3A;   /* principal */
  --brand-2: #1e4a66;   /* variação p/ gradiente */
  --brand-3: #256086;   /* variação p/ destaque */

  /* Gradiente da CTA em azul */
  --grad-cta: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 55%, #0f1f2b 100%);
}

/* Botões e estados que tinham RGBA fixo em vermelho */
.btn--primary{
  /* sombra azulada */
  box-shadow: 0 10px 24px rgba(23,42,58,.28);
}
.btn--ghost{
  color: var(--brand);
  /* borda azulada com alpha (antes usava o vermelho) */
  border: 1px solid rgba(23,42,58,.28);
}

/* Ativo no menu mobile já usa var(--brand), então nada a fazer. */

/* Hovers que usavam a borda “vermelha” translúcida */
.card-feature:hover{
  border-color: rgba(23,42,58,.22);
  box-shadow: 0 18px 44px rgba(23,42,58,.15);
}
.process-item:hover{
  border-color: rgba(23,42,58,.22);
  box-shadow: 0 16px 36px rgba(23,42,58,.12);
}

/* Ícones dos cards: fundo mais neutro azulado + ícone na cor da brand */
.card-feature__icon{
  background: #e6edf5; /* antes: #f0e9e4 */
  color: var(--brand);
}

/* Ações/links já pegam var(--brand); mantemos para garantir consistência */
.pi__action{ color: var(--brand); }

/* No menu mobile (ativo), manter o gradiente em azul */
@media (max-width: 780px){
  .nav__list .nav-link.is-active{
    background: linear-gradient(180deg, var(--brand-2), var(--brand));
    color:#fff;
  }
}

.foot {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
}

.developer-credit {
  text-align: center;
  margin-top: 10px;
}

.developer-credit small {
  color: #ffffff;
  font-size: 0.85rem;
  opacity: 0.9;
}

.developer-credit a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.developer-credit a:hover {
  text-decoration: underline;
  color: var(--accent-2);
}
