/* ============================================================
   ELO CONTABILIDADE — Landing Page
   Paleta extraída da logo:
   azul profundo · grafite · vermelho (acento) · branco
   ============================================================ */

:root {
  --navy: #2b3990;
  --navy-dark: #1e2a6e;
  --navy-deep: #182252;
  --graphite: #363b42;
  --graphite-soft: #5a6068;
  --red: #d81f26;
  --red-dark: #b5171d;
  --bg: #fafafa;
  --white: #ffffff;
  --line: #e4e5e9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;

  --shadow-sm: 0 1px 4px rgba(24, 34, 82, 0.08);
  --shadow-md: 0 10px 30px rgba(24, 34, 82, 0.12);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover { background: var(--red-dark); }

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn--outline {
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 9px 20px;
  font-size: 0.88rem;
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.topbar__item:hover { color: var(--white); }
.topbar__item svg { width: 13px; height: 13px; }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social span { color: rgba(255, 255, 255, 0.55); }
.topbar__social a { color: inherit; display: flex; transition: color 0.2s ease; }
.topbar__social a:hover { color: var(--white); }
.topbar__social svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.header__logo { height: 52px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  color: var(--graphite);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.nav__link:hover::after { width: 100%; }

.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-deep);
  color: var(--white);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 88px;
}

.hero__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
  padding-left: 34px;
  position: relative;
  margin-bottom: 24px;
}
.hero__kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--red);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: italic;
  border-bottom: 3px solid var(--red);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero__badges {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 26px;
}
.badge-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 3px;
}
.badge-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__photo {
  position: relative;
}
.hero__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 4px;
}
.hero__photo::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  pointer-events: none;
}

/* ---------- Seções (base) ---------- */
.section { padding: 96px 0; }

.section-head { margin-bottom: 40px; }
.section-head__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 12px;
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  color: var(--navy-deep);
}
.section-head__lead {
  margin-top: 16px;
  font-size: 1.02rem;
  color: var(--graphite-soft);
}
.section-head--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

/* ---------- Sobre ---------- */
.sobre { background: var(--white); }
.sobre__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.sobre__text p { margin-bottom: 16px; color: var(--graphite-soft); }
.sobre__text strong { color: var(--navy-dark); }
.sobre__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.historia {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
  margin-bottom: 80px;
}
.historia__title h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-deep);
  padding-left: 18px;
  border-left: 3px solid var(--red);
}
.historia__text p { color: var(--graphite-soft); margin-bottom: 14px; }
.historia__text p:last-child { margin-bottom: 0; }
.historia__text strong { color: var(--navy-dark); }

/* Missão / Visão / Valores */
.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mvv__card {
  border-top: 3px solid var(--navy);
  padding-top: 24px;
}
.mvv__icon {
  width: 30px;
  height: 30px;
  color: var(--red);
  stroke-width: 1.8;
  margin-bottom: 14px;
}
.mvv__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.mvv__card p { font-size: 0.93rem; color: var(--graphite-soft); }

/* ---------- Soluções ---------- */
.solucoes { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card__icon {
  width: 26px;
  height: 26px;
  color: var(--navy);
  stroke-width: 1.8;
}
.card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 10px;
}
.card p { font-size: 0.91rem; color: var(--graphite-soft); }

/* ---------- Diferenciais ---------- */
.diferenciais { background: var(--white); }
.diferenciais__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.diferenciais__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}
.pilares { display: flex; flex-direction: column; }
.pilar {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.pilar:last-child { border-bottom: 1px solid var(--line); }
.pilar__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1.9;
  flex-shrink: 0;
}
.pilar h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}
.pilar p { font-size: 0.92rem; color: var(--graphite-soft); }

/* ---------- CTA ---------- */
.cta {
  background:
    linear-gradient(rgba(24, 34, 82, 0.88), rgba(24, 34, 82, 0.88)),
    url("img/equipe.jpg") center 30% / cover no-repeat;
  color: var(--white);
  padding: 80px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 10px;
  max-width: 560px;
}
.cta p { color: rgba(255, 255, 255, 0.8); max-width: 520px; }

/* ---------- Contato ---------- */
.contato { background: var(--white); }
.contato__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}
.contato__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-item {
  border-left: 3px solid var(--navy);
  padding-left: 18px;
}
.info-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.info-item p { color: var(--graphite-soft); font-size: 0.95rem; }
.info-item a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}
.info-item a:hover { color: var(--red); }

.contato__map {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-height: 400px;
}
.contato__map iframe { width: 100%; height: 100%; min-height: 400px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 56px;
}
.footer__logo-wrap {
  background: var(--white);
  border-radius: 4px;
  padding: 10px 16px;
  display: inline-block;
  margin-bottom: 20px;
}
.footer__logo-wrap img { height: 44px; width: auto; }
.footer__brand p { font-size: 0.9rem; margin-bottom: 22px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.footer__social svg { width: 17px; height: 17px; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer__col a, .footer__col p {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--white); }
.footer__portal {
  margin-top: 6px;
  font-weight: 600;
  color: #ff9a9e !important;
}
.footer__portal:hover { color: var(--white) !important; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
.footer__bottom p { margin-bottom: 4px; }
.footer__bottom p:last-child { margin-bottom: 0; }
.footer__bottom strong { color: rgba(255, 255, 255, 0.8); }

.footer__credit {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer__credit a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer__credit a:hover,
.footer__credit a:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Animação de revelação ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 72px; }
  .hero__photo::after { display: none; }
  .diferenciais__grid { grid-template-columns: 1fr; gap: 40px; }
  .diferenciais__photo img { aspect-ratio: 16 / 10; }
}

@media (max-width: 820px) {
  .topbar__inner { justify-content: center; }
  .topbar__social { display: none; }

  /* Menu mobile */
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    background: var(--navy-deep);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-toggle:checked ~ .nav { max-height: 420px; }
  .nav__link {
    padding: 15px 24px;
    border-top: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__link:hover { background: var(--bg); }
  .nav__portal { margin: 16px 24px 20px; }

  .section { padding: 72px 0; }
  .sobre__grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 56px; }
  .historia { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; margin-bottom: 56px; }
  .mvv { grid-template-columns: 1fr; }
  .contato__grid { grid-template-columns: 1fr; }
  .hero__badges { gap: 28px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__actions .btn { width: 100%; }
  .header__logo { height: 42px; }
}
