/* ============================================================
   Talura Consultoria — Design system compartilhado
   Importado por TODAS as páginas, antes do CSS específico de
   cada uma. Reúne o que era duplicado em cada arquivo (navbar,
   rodapé, botões, reset) para manter o site consistente e fácil
   de manter — qualquer ajuste aqui já reflete em todas as páginas.
   ============================================================ */

:root {
  --brand: #0a4460;
  --brand-dark: #06202c;
  --brand-darker: #03141c;
  --ink: #0a1418;
  --muted: #55666f;
  --surface: #f6f9fb;
  --line: #e6edf1;
  --accent: #1f93a8;
  --accent-2: #4fc2d4;
  --accent-soft: rgba(31, 147, 168, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 6px 18px rgba(6, 32, 44, 0.08);
  --shadow-md: 0 14px 34px rgba(6, 32, 44, 0.14);
  --shadow-lg: 0 24px 60px rgba(6, 32, 44, 0.22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
}

a {
  text-decoration: none;
}

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

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1180px;
  background-color: #ffffff;
  color: var(--brand);
  border-radius: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 34px;
  z-index: 100;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
}

.navbar.scrolled {
  border-color: rgba(10, 68, 96, 0.12);
  box-shadow: var(--shadow-md);
}

.logo-link {
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s var(--ease);
}

.logo-link:hover img {
  transform: rotate(-6deg) scale(1.05);
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--brand);
  letter-spacing: 0.4px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  position: relative;
  text-decoration: none;
  color: var(--brand);
  font-weight: 500;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

.nav-toggle button {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--brand);
  line-height: 0;
}

@media (max-width: 860px) {
  .navbar {
    padding: 13px 22px;
    top: 16px;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  .navbar.open nav {
    display: block;
    position: absolute;
    top: 68px;
    right: 0;
    width: 230px;
    background: #fff;
    padding: 1.3rem 1.4rem;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
  }

  .navbar.open nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .navbar.open nav a {
    color: var(--brand);
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1rem;
  }

  .logo img {
    height: 32px;
  }

  .navbar {
    padding: 11px 18px;
    border-radius: 30px;
  }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  background: #ffffff;
  color: var(--brand);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--brand);
  color: var(--brand);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: 0.3s var(--ease);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}

.data-btn {
  display: inline-block;
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  padding: 0.9rem 1.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.6px;
  text-decoration: none;
}

.data-btn:hover {
  background-color: #fff;
  color: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* variante escura, para usar sobre fundo claro */
.data-btn-dark {
  border-color: var(--brand);
  color: var(--brand);
}

.data-btn-dark:hover {
  background-color: var(--brand);
  color: #fff;
}

/* ---------- Ícones fixos (WhatsApp) ---------- */
.fixed-icons {
  position: fixed;
  bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 0 25px;
  z-index: 999;
  pointer-events: none;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  animation: pulse-wa 2.6s ease-in-out infinite;
}

.icon-circle:hover {
  animation-play-state: paused;
  transform: scale(1.08);
}

.icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), var(--shadow-md); }
  50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), var(--shadow-md); }
}

@media (prefers-reduced-motion: reduce) {
  .icon-circle { animation: none; }
}

/* ---------- Rodapé ---------- */
footer {
  background-color: var(--brand-dark);
  color: #eaf1f5;
  padding: 0 6% 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.footer-cta {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 60px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  max-width: 480px;
  line-height: 1.3;
  margin: 0;
}

.footer-cta a.btn-footer {
  background: var(--accent);
  color: #06202c;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s var(--ease);
}

.footer-cta a.btn-footer:hover {
  background: #fff;
  color: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section {
  flex: 1;
  min-width: 240px;
}

.footer-section h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-section p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: #b8c4cc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #d3dce2;
  text-decoration: none;
  font-size: 0.93rem;
  transition: all 0.25s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-2);
  padding-left: 4px;
}

.logo-footer {
  max-width: 130px;
}

.logo-talura-footer {
  max-width: 130px;
  margin-bottom: 18px;
}

.footer-bottom {
  text-align: center;
  padding: 25px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7f929c;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  footer {
    padding: 0 6% 40px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 10px;
  }

  .logo-footer {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .footer-cta h3 {
    font-size: 1.3rem;
  }
}

/* ---------- Folhas flutuantes (decoração animada, gerada via JS) ---------- */
.leaf-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.leaf-particle {
  position: absolute;
  top: -40px;
  width: 14px;
  height: 20px;
  background: linear-gradient(160deg, var(--accent-2), var(--accent));
  border-radius: 0% 70% 0% 70%;
  opacity: 0;
  animation-name: leafFall;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

@keyframes leafFall {
  0% {
    transform: translate(0, -10vh) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: 0.55;
  }
  50% {
    transform: translate(24px, 55vh) rotate(180deg);
  }
  92% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-16px, 120vh) rotate(340deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .leaf-particle { animation: none; opacity: 0; }
}
