/* =============================================================
   CÁSSIO MONTADOR — styles.css
   Paleta: #161969 · #2F2F98 · #383A6A · #DDD021 · #C9C8C3 · #A09EA4
============================================================= */

/* =============================================
   RESET & VARIABLES
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Amarelo vibrante: accent principal ── */
  --accent:        #DDD021;
  --accent-dark:   #B8B01C;   /* hover mais escuro */
  --accent-light:  #E8ED30;   /* versão clara */

  /* ── Família navy ── */
  --navy:          #161969;   /* azul escuro profundo */
  --navy-mid:      #2F2F98;   /* azul médio */
  --navy-dk:       #383A6A;   /* azul acinzentado */

  /* ── Neutros ── */
  --bg:            #FFFFFF;
  --bg-alt:        #F2F1EF;   /* off-white derivado de #C9C8C3 */
  --text:          #161969;   /* navy como cor de texto → look premium */
  --text-muted:    #A09EA4;
  --border:        #C9C8C3;

  /* ── Sistema ── */
  --radius:        12px;
  --shadow:        0 4px 24px rgba(22,25,105,.10);
  --shadow-lg:     0 8px 48px rgba(22,25,105,.16);
  --whatsapp:      #25D366;
  --whatsapp-dk:   #1DA851;
  --header-h:      72px;
  --transition:    .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================
   ANIMATIONS
============================================= */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* glow verde para botões WhatsApp */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0   rgba(37,211,102,.55); }
  50%       { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
}

/* glow amarelo para botões de accent */
@keyframes pulse-glow-yellow {
  0%, 100% { box-shadow: 0 0 0 0   rgba(221,208,33,.55); }
  50%       { box-shadow: 0 0 0 14px rgba(221,208,33,0); }
}

@keyframes bounce-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(.97);
  transition: opacity .6s var(--transition), transform .6s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .6s var(--transition), transform .6s var(--transition);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* stagger */
.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }
.delay-4 { transition-delay: .32s !important; }
.delay-5 { transition-delay: .40s !important; }
.delay-6 { transition-delay: .48s !important; }

/* =============================================
   HEADER — fundo branco fixo, nav navy
============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 20px rgba(22,25,105,.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
}

.logo-icon {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.1rem;
}

nav { display: flex; align-items: center; gap: 28px; }
nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy-dk);
  transition: color var(--transition);
}
nav a:hover { color: var(--navy) !important; }

/* CTA da nav: verde WhatsApp */
.nav-cta {
  background: var(--whatsapp);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--whatsapp-dk) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.5rem;
  padding: 4px;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(22,25,105,.10);
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 998;
  transform: translateY(-110%);
  transition: transform var(--transition);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.mobile-nav a:hover { color: var(--navy-mid); }
.mobile-nav .nav-cta {
  text-align: center;
  background: var(--whatsapp);
  color: #fff !important;
  padding: 14px;
  border-radius: 10px;
}

/* =============================================
   HERO — imagem fixa de móveis + overlay navy
============================================= */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background:
    linear-gradient(135deg, rgba(10,13,70,.60) 0%, rgba(22,25,105,.30) 60%, rgba(10,13,70,.55) 100%),
    url('images/fundo.png') center 40% / cover no-repeat;
  background-color: var(--navy);
}

@media (max-width: 768px) {
  #hero { background-attachment: scroll; }
}

.hero-bg { display: none; }

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect x='10' y='10' width='60' height='60' rx='4' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cline x1='10' y1='28' x2='70' y2='28' stroke='%23fff' stroke-width='1.5'/%3E%3Ccircle cx='40' cy='49' r='8' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(221,208,33,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(221,208,33,.35);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: slideInLeft .8s ease both;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: slideInLeft .9s .15s ease both;
}
.hero-title span { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: slideInLeft .9s .3s ease both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: slideInLeft .9s .45s ease both;
}

/* Botão primário: WhatsApp verde */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: .97rem;
  padding: 16px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  animation: pulse-glow 2.2s 1.2s infinite;
}
.btn-primary:hover { background: var(--whatsapp-dk); transform: translateY(-2px); }

/* Botão secundário: outline translúcido */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 700;
  font-size: .97rem;
  padding: 16px 28px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.hero-urgency {
  margin-top: 20px;
  color: rgba(255,255,255,.65);
  font-size: .83rem;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: slideInLeft .9s .6s ease both;
}
.hero-urgency i { color: var(--accent); }

.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: .8rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce-float 2s infinite;
}
.hero-scroll i { font-size: 1.3rem; }

/* =============================================
   STATS BAR — navy-mid (#2F2F98) como fundo
============================================= */
#stats {
  background: var(--navy-mid);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: var(--accent);
}
.stat-suffix { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--accent); }
.stat-label {
  margin-top: 8px;
  font-size: .92rem;
  font-weight: 500;
  opacity: .85;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(221,208,33,.3);
}

/* =============================================
   SECTION COMMON
============================================= */
section { padding: 88px 0; }

.section-label {
  display: inline-block;
  background: rgba(22,25,105,.08);
  color: var(--navy-mid);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--navy);
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* =============================================
   SERVICES
============================================= */
#services { background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-icon {
  width: 50px; height: 50px;
  background: rgba(22,25,105,.08);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--navy-mid);
  transition: background var(--transition), color var(--transition);
}
/* hover: ícone ganha fundo amarelo com texto navy */
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--navy);
}
.service-name { font-weight: 800; font-size: 1rem; color: var(--navy); }
.service-desc { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* =============================================
   HOW IT WORKS
============================================= */
#how { background: var(--bg); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 41px;
  left: calc(16.6% + 24px);
  right: calc(16.6% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  gap: 18px;
}
/* Círculo amarelo com número navy — alto contraste */
.step-num {
  width: 84px; height: 84px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 0 0 10px rgba(221,208,33,.18);
  transition: transform var(--transition);
}
.step:hover .step-num { transform: scale(1.08); }
.step-title { font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.step-desc { color: var(--text-muted); font-size: .9rem; }

/* =============================================
   WHY US
============================================= */
#why { background: var(--bg-alt); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
/* Ícone: gradiente navy escuro → navy médio */
.why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--accent);
}
.why-title { font-weight: 800; font-size: 1rem; color: var(--navy); }
.why-desc { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }

/* =============================================
   TESTIMONIALS — fundo navy profundo
============================================= */
#testimonials { background: var(--navy); }
#testimonials .section-title { color: #fff; }
#testimonials .section-label {
  background: rgba(221,208,33,.20);
  color: var(--accent);
}
#testimonials .section-sub { color: rgba(255,255,255,.58); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: rgba(47,47,152,.25);
  border: 1px solid rgba(221,208,33,.15);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  background: rgba(47,47,152,.40);
  transform: translateY(-3px);
}

.stars { color: var(--accent); font-size: .95rem; letter-spacing: 2px; }

.testimonial-text {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: #fff; font-size: .88rem; }
.author-city { color: rgba(255,255,255,.45); font-size: .76rem; margin-top: 2px; }

/* =============================================
   CONTACT — centralizado sem formulário
============================================= */
#contact { background: var(--bg); }

.contact-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.contact-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy);
}
.contact-copy p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-copy .section-label { display: inline-block; }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(22,25,105,.07);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy-dk);
}
.badge i { color: var(--navy-mid); }

/* Botão WhatsApp grande — verde com glow */
.btn-whatsapp-big {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 17px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition), transform var(--transition);
  animation: pulse-glow 2.4s 1s infinite;
}
.btn-whatsapp-big:hover { background: var(--whatsapp-dk); transform: translateY(-2px); }
.btn-whatsapp-big i { font-size: 1.4rem; }

/* =============================================
   FOOTER — navy profundo
============================================= */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo .logo-icon {
  background: var(--accent);
  color: var(--navy);
}
.footer-about { font-size: .9rem; line-height: 1.7; max-width: 300px; }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--navy); }

.footer-heading { font-weight: 700; font-size: .95rem; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .83rem;
}
.footer-accent { color: var(--accent); font-weight: 600; }

/* =============================================
   FLOATING WHATSAPP BUTTON
============================================= */
.float-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  width: 60px; height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  animation: bounce-float 2.2s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-wa:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  animation: none;
}
.float-wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--navy);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateX(8px);
}
.float-wa:hover .float-wa-tooltip { opacity: 1; transform: translateX(0); }

/* =============================================
   SCROLL TO TOP
============================================= */
#scrollTop {
  position: fixed;
  bottom: 100px; right: 28px;
  z-index: 9998;
  width: 44px; height: 44px;
  background: var(--navy-mid);
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: .95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22,25,105,.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { background: var(--navy); }

/* =============================================
   RESPONSIVE
============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet menor / mobile grande */
@media (max-width: 900px) {
  nav           { display: none; }
  .hamburger    { display: block; }
  .steps-grid   { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 640px) {
  section { padding: 60px 0; }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stat-divider { display: none; }

  .services-grid     { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .hero-ctas { flex-direction: column; }
  .btn-primary,
  .btn-secondary { justify-content: center; }

  .float-wa-tooltip { display: none; }
}
