/* ═══════════════════════════════════════════════════════════════
   LCZ Contabilidade — style.css
   Paleta: Azul Confiança + Teal Assertivo + Verde Crescimento
   Mobile-first, sem dependências externas
═══════════════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Paleta principal */
  --azul:       #1E3A6B;   /* Confiança, segurança */
  --azul-med:   #2756A8;   /* Hover, destaques */
  --azul-vivo:  #0B7EC8;   /* Agilidade, links ativos */
  --teal:       #0D9488;   /* Assertividade, acento */
  --teal-claro: #14B8A6;   /* Hover teal */
  --verde:      #059669;   /* Crescimento, success */

  /* Neutros */
  --fundo:      #F5F8FF;
  --fundo-card: #FFFFFF;
  --texto:      #0F172A;
  --texto-suave:#475569;
  --borda:      #D1DCF0;
  --borda-suave:#E8EFFC;

  /* WhatsApp */
  --wpp: #25D366;
  --wpp-dark: #128C4A;

  /* Tipografia */
  --fonte-head: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
  --fonte-body: 'Inter', system-ui, sans-serif;

  /* Espaçamentos */
  --section-py: 80px;
  --container:  1160px;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(30,58,107,.10);
  --shadow-md:  0 8px 40px rgba(30,58,107,.16);
}

/* ── Base ────────────────────────────────────────────────────── */
body {
  font-family: var(--fonte-body);
  background: var(--fundo);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--fonte-head);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.container {
  width: min(var(--container), 100% - 2rem);
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13,148,136,.10);
  padding: .3em .85em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--azul);
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--texto-suave);
  max-width: 540px;
}

/* ── Botões ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--fonte-head);
  font-weight: 700;
  font-size: .95rem;
  padding: .75em 1.75em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--azul-vivo);
  color: #fff;
}
.btn-primary:hover { background: var(--azul); }

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

.btn-outline {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}
.btn-outline:hover { background: var(--azul); color: #fff; }

/* ── Navegação ───────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda-suave);
  box-shadow: 0 2px 12px rgba(30,58,107,.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav__logo-mark {
  width: 38px; height: 38px;
  background: var(--azul);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--fonte-head);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -.04em;
}
.nav__logo-text {
  font-family: var(--fonte-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--azul);
  line-height: 1.1;
}
.nav__logo-text span {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  color: var(--texto-suave);
  letter-spacing: .04em;
}

.nav__links {
  display: none;
  gap: 2rem;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--texto-suave);
  transition: color .15s;
}
.nav__links a:hover { color: var(--azul-vivo); }

.nav__cta { display: none; }

.nav__hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.nav__hamburger span {
  width: 24px; height: 2px;
  background: var(--azul);
  border-radius: 2px;
  transition: all .25s;
}

/* Menu mobile aberto */
.nav.is-open .nav__hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.nav.is-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--borda-suave);
}
.nav.is-open .nav__mobile { display: flex; }
.nav__mobile a {
  font-size: 1rem; font-weight: 600;
  color: var(--texto-suave);
  padding: .6rem 0;
  border-bottom: 1px solid var(--borda-suave);
  transition: color .15s;
}
.nav__mobile a:hover { color: var(--azul-vivo); }
.nav__mobile .btn { margin-top: .75rem; justify-content: center; }

@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__cta    { display: flex; }
  .nav__hamburger { display: none; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 80% 60% at 60% 0%, rgba(11,126,200,.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(5,150,105,.08) 0%, transparent 70%),
    var(--fundo);
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13,148,136,.10);
  padding: .4em 1em;
  border-radius: 100px;
  border: 1px solid rgba(13,148,136,.2);
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(1.4); }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--azul);
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--azul-vivo);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--texto-suave);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero__stat strong {
  display: block;
  font-family: var(--fonte-head);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--azul);
  line-height: 1;
}
.hero__stat span {
  font-size: .82rem;
  color: var(--texto-suave);
  font-weight: 500;
}

/* Card visual lado direito */
.hero__visual {
  display: none;
  justify-content: center;
}
.hero__card {
  background: var(--fundo-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--borda-suave);
  padding: 2rem;
  width: 320px;
  position: relative;
}
.hero__card::before {
  content: '';
  position: absolute;
  inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(30,58,107,.04), transparent);
}
.hero__card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--azul), var(--azul-vivo));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  margin-bottom: 1rem;
}
.hero__card h3 {
  font-size: 1.1rem; color: var(--azul); margin-bottom: .4rem;
}
.hero__card p {
  font-size: .88rem; color: var(--texto-suave); line-height: 1.6;
}
.hero__card-tags {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem;
}
.hero__card-tag {
  font-size: .75rem; font-weight: 600;
  padding: .25em .75em; border-radius: 100px;
  background: var(--fundo); color: var(--azul-vivo);
  border: 1px solid var(--borda);
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .hero__visual { display: flex; }
}

/* ── Serviços ────────────────────────────────────────────────── */
.servicos {
  padding: var(--section-py) 0;
  background: var(--fundo-card);
}

.servicos__header {
  text-align: center;
  margin-bottom: 3rem;
}
.servicos__header .section-sub { margin-inline: auto; }

.servicos__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.servico-card {
  background: var(--fundo);
  border: 1px solid var(--borda-suave);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.servico-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.servico-card__icon--azul    { background: rgba(30,58,107,.10);  color: var(--azul); }
.servico-card__icon--teal    { background: rgba(13,148,136,.10); color: var(--teal); }
.servico-card__icon--verde   { background: rgba(5,150,105,.10);  color: var(--verde); }
.servico-card__icon--vivo    { background: rgba(11,126,200,.10); color: var(--azul-vivo); }

.servico-card h3 {
  font-size: 1.1rem; color: var(--azul); margin-bottom: .5rem;
}
.servico-card p {
  font-size: .9rem; color: var(--texto-suave); line-height: 1.65;
}

@media (min-width: 600px)  { .servicos__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .servicos__grid { grid-template-columns: repeat(4,1fr); } }

/* ── Diferenciais ───────────────────────────────────────────── */
.diferenciais {
  padding: var(--section-py) 0;
  background: linear-gradient(135deg, var(--azul) 0%, #0B3270 60%, #0A2850 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.diferenciais::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(11,126,200,.25), transparent 70%);
  pointer-events: none;
}

.diferenciais__header {
  margin-bottom: 3rem;
}
.diferenciais .section-tag {
  color: var(--teal-claro);
  background: rgba(20,184,166,.15);
}
.diferenciais .section-title { color: #fff; }
.diferenciais .section-sub { color: rgba(255,255,255,.7); }

.diferenciais__grid {
  display: grid;
  gap: 1.5rem;
}
.diferencial {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.diferencial__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(255,255,255,.15);
}
.diferencial__body h3 {
  font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .3rem;
}
.diferencial__body p {
  font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6;
}

@media (min-width: 768px)  { .diferenciais__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .diferenciais__grid { grid-template-columns: repeat(3,1fr); } }

/* ── Sobre ───────────────────────────────────────────────────── */
.sobre {
  padding: var(--section-py) 0;
  background: var(--fundo);
}
.sobre__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.sobre__visual {
  display: flex;
  justify-content: center;
}
.sobre__avatar {
  width: 260px; height: 260px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--azul), var(--azul-vivo));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.sobre__avatar::after {
  content: 'CRC/SP';
  position: absolute;
  bottom: -1rem;
  left: 50%; transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: .35em 1em; border-radius: 100px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.sobre__content p {
  color: var(--texto-suave);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.sobre__destaque {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}
.sobre__tag {
  display: flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 600;
  color: var(--azul);
  background: rgba(30,58,107,.07);
  padding: .45em 1em; border-radius: 8px;
  border: 1px solid rgba(30,58,107,.12);
}

@media (min-width: 900px) {
  .sobre__inner { grid-template-columns: auto 1fr; }
}

/* ── Contato ─────────────────────────────────────────────────── */
.contato {
  padding: var(--section-py) 0;
  background: var(--fundo-card);
}
.contato__inner {
  display: grid;
  gap: 3rem;
}

.contato__info h3 {
  font-size: 1.3rem; color: var(--azul); margin-bottom: 1.5rem;
}
.contato__item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.25rem;
}
.contato__item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(30,58,107,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--azul-vivo);
}
.contato__item-body strong {
  display: block; font-size: .9rem; color: var(--azul); margin-bottom: .15rem;
}
.contato__item-body span, .contato__item-body a {
  font-size: .9rem; color: var(--texto-suave);
}
.contato__item-body a:hover { color: var(--azul-vivo); }

.contato__wpp-btn {
  width: 100%;
  justify-content: center;
  padding: 1em;
  margin-top: 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius);
}

/* Formulário */
.contato__form {
  background: var(--fundo);
  border: 1px solid var(--borda-suave);
  border-radius: var(--radius);
  padding: 2rem;
}
.contato__form h3 {
  font-size: 1.2rem; color: var(--azul); margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .85rem; font-weight: 600; color: var(--texto-suave);
  margin-bottom: .5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75em 1em;
  border: 1.5px solid var(--borda);
  border-radius: 8px;
  font-family: var(--fonte-body);
  font-size: .95rem;
  color: var(--texto);
  background: var(--fundo-card);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--azul-vivo);
  box-shadow: 0 0 0 3px rgba(11,126,200,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: .9em;
  font-size: 1rem;
}
.form-msg { display: none; margin-top: 1rem; }
.form-msg.success { display: block; color: var(--verde); font-weight: 600; }
.form-msg.error   { display: block; color: #dc2626; font-weight: 600; }

@media (min-width: 900px) {
  .contato__inner { grid-template-columns: 1fr 1.5fr; }
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--azul);
  color: rgba(255,255,255,.7);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer__logo {
  display: flex; align-items: center; gap: .6rem;
  color: #fff;
}
.footer__logo-mark {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fonte-head); font-weight: 900; font-size: .85rem;
}
.footer__logo span {
  font-family: var(--fonte-head); font-weight: 800; font-size: .95rem;
}
.footer__nav {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center;
}
.footer__nav a { font-size: .85rem; transition: color .15s; }
.footer__nav a:hover { color: #fff; }
.footer__copy { font-size: .8rem; }
.footer__legal { opacity: .75; }

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── WhatsApp Floating Button ───────────────────────────────── */
.wpp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.wpp-float__bubble {
  background: #fff;
  color: var(--texto);
  font-size: .82rem;
  font-weight: 600;
  padding: .5em 1em;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: fadeSlide .4s ease both;
  display: none;
}
.wpp-float:hover .wpp-float__bubble { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wpp-float__btn {
  width: 58px; height: 58px;
  background: var(--wpp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.wpp-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}

/* ── Utilitários ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
