/* ==========================================================================
   Digital 7 — Landing Page
   Reconstrução estática, limpa e responsiva com fidelidade visual ao layout
   original (cores, tipografia, textos, imagens locais e espaçamentos).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variáveis de design (paleta e tipografia extraídas do site original)
   -------------------------------------------------------------------------- */
:root {
  /* Cores */
  --navy:          #001B5C;   /* azul institucional               */
  --navy-deep:     #021544;   /* fundo do hero                    */
  --navy-about:    #000A23;   /* fundo da seção "Sobre Nós"       */
  --blue:          #004BFF;   /* títulos dos serviços             */
  --gray-bg:       #E8E6E6;   /* fundo da área de serviços        */
  --gray-footer:   #C7C7C7;   /* fundo do rodapé                  */
  --gray-text:     #595959;   /* texto do rodapé                  */
  --white:         #FFFFFF;
  --off-white:     #F6F8FF;

  /* Botão verde (WhatsApp) */
  --green:         #1FDF67;
  --green-glow:    #00FF60;
  --green-hover:   #3F7652;   /* hover dos links "Saber mais"     */

  /* Tipografia (substituindo as fontes licenciadas do Wix por Helvetica/Arial) */
  --font-bold:  "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-roman: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-light: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --container:       980px;
  --container-cards: 1200px;
  --card-shadow:     0 1px 4px 0 rgba(0, 27, 92, .6);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font-roman);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, p { margin: 0; }

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

/* Acessibilidade — link de salto */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

/* Divisor (linha decorativa) — 160x5px com borda de 1px */
.divider {
  display: block;
  width: 160px;
  height: 5px;
  border-top: 1px solid var(--navy);
}
.divider--navy  { border-color: var(--navy); }
.divider--light { border-color: var(--off-white); }

/* --------------------------------------------------------------------------
   3. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  font-family: var(--font-roman);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}

.btn--whatsapp {
  color: var(--white);
  border: 1px solid var(--white);
  background: var(--green);
  box-shadow: 2.83px 2.83px 16px 7px var(--green-glow);
}
.btn--whatsapp:hover {
  color: #000;
  border-color: #000;
  background: #fff;
}

/* --------------------------------------------------------------------------
   4. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/images/hero-bg.jpg") center center / cover no-repeat;
  opacity: .07;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 55px;
}

.hero__eyebrow {
  max-width: 372px;
  margin: 0 0 26px;
  font-family: var(--font-light);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
}
.hero__eyebrow a { color: inherit; text-decoration: none; }

.hero__logo {
  width: 424px;
  max-width: 100%;
  height: auto;
  margin: 0 0 9px;
}

.hero__title {
  max-width: 980px;
  margin: 0 0 8px;
  font-family: var(--font-bold);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}
.hero__title a { color: inherit; text-decoration: none; }

.hero__lead {
  max-width: 725px;
  margin: 0 0 60px;
  font-size: 16px;
  line-height: normal;
  color: var(--off-white);
}

.hero .btn--whatsapp { width: 190px; }

.hero__hours {
  max-width: 475px;
  margin: 24px 0 0;
  font-family: var(--font-light);
  font-size: 15px;
  font-weight: 300;
  color: var(--white);
}
.hero__hours a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------------------
   5. Animações de entrada (progressive enhancement)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* Container largo (área de serviços, mais larga que o grid de 980px) */
.container--wide { max-width: var(--container-cards); }

/* --------------------------------------------------------------------------
   6. SERVIÇOS / SOLUÇÕES CONTÁBEIS
   -------------------------------------------------------------------------- */
.services { background: var(--gray-bg); }

.services__head {
  padding-top: 39px;
  text-align: center;
}

.services__title {
  margin: 0 0 15px;
  font-family: var(--font-bold);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.services__head .divider { margin: 0 auto 7px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 92px;
  max-width: var(--container-cards);
  margin: 0 auto;
  padding: 27px 0 68px;
}

.card {
  display: grid;
  grid-template-columns: 84px 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  padding: 20px 9px 19px 4px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.card__icon {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  height: auto;
  max-width: 84px;
  max-height: 72px;
  justify-self: center;
}

.card__title {
  grid-column: 2;
  grid-row: 1;
  margin-top: 21px;
  font-family: var(--font-bold);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue);
}

.card__link {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 45px;
  margin-top: 25px;
  padding: 3px 14px 3px 8px;
  border-radius: 50px;
  font-family: var(--font-bold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--navy);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.card__arrow {
  flex: none;
  width: 28px;
  height: 28px;
  fill: var(--navy);
  transition: fill .2s ease, width .2s ease, height .2s ease;
}
.card__link:hover { background: var(--green-hover); color: #fff; }
.card__link:hover .card__arrow { fill: #fff; width: 34px; height: 34px; }

/* --------------------------------------------------------------------------
   7. CTA — FALE CONOSCO PELO WHATSAPP
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 268px;
  background: var(--navy);
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/images/cta-bg.jpg") center center / cover no-repeat;
  opacity: .09;
}

.cta__content {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
}

.cta__title {
  margin: 0 0 7px;
  font-family: var(--font-bold);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta__text {
  max-width: 494px;
  font-family: var(--font-light);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
}

.cta .btn--whatsapp { flex: none; }

/* --------------------------------------------------------------------------
   8. SOBRE NÓS
   -------------------------------------------------------------------------- */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 60px 0;
  background: var(--navy-about);
}

.about__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/images/about-bg.jpg") center center / cover no-repeat;
  opacity: .08;
}

.about__content { display: flex; justify-content: center; }

.about__panel {
  width: 649px;
  max-width: 100%;
  padding: 34px 31px;
  background: rgba(255, 255, 255, .12);
  text-align: center;
}

.about__eyebrow {
  display: block;
  margin: 0 0 7px;
  font-family: var(--font-bold);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}

.about__role {
  margin: 0 0 16px;
  font-family: var(--font-bold);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.about__panel .divider { margin: 0 auto 26px; }

.about__title {
  margin: 0 0 20px;
  font-family: var(--font-bold);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  text-align: left;
}

.about__text {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--off-white);
  text-align: left;
}

/* --------------------------------------------------------------------------
   9. RODAPÉ
   -------------------------------------------------------------------------- */
.footer { background: var(--gray-footer); }
.footer .container { padding-top: 10px; padding-bottom: 11px; }

.footer__cnpj {
  text-align: center;
  font-size: 16px;
  color: var(--gray-text);
}

/* --------------------------------------------------------------------------
   10. RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
    row-gap: 44px;
  }
}

@media (max-width: 992px) {
  .hero__title   { font-size: 44px; }
  .hero__eyebrow { font-size: 18px; }
  .hero__lead    { margin-bottom: 44px; }
}

@media (max-width: 768px) {
  .cta__row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .services__grid  { grid-template-columns: 1fr; max-width: 340px; padding-bottom: 48px; }
  .services__head  { padding-top: 28px; }
  .services__title { font-size: 22px; }

  .hero__content  { padding-top: 40px; padding-bottom: 40px; }
  .hero__eyebrow  { font-size: 17px; margin-bottom: 18px; }
  .hero__logo     { width: 300px; }
  .hero__title    { font-size: 30px; line-height: 1.35; }
  .hero__lead     { margin-bottom: 32px; }
  .hero .btn--whatsapp { width: 100%; max-width: 260px; }

  .cta            { min-height: 0; }
  .cta__content   { padding-top: 40px; padding-bottom: 40px; }
  .cta__title     { font-size: 24px; }
  .cta__text      { max-width: none; }

  .about          { padding: 40px 0; }
  .about__panel   { padding: 26px 20px; }
  .about__eyebrow { font-size: 21px; }
  .about__title   { font-size: 21px; }
}
