@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: #2b201b;
  color: #fff;
  font-family: 'Archivo', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 80px, 1440px);
  margin: 0 auto;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #3a2b24;
}

.hero-background,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-background {
  background-image: url('./hero-background.png');
  background-position: center;
  background-size: cover;
  /* O degradê mantém a leitura do texto mesmo sobre a fotografia. */
  background:
    linear-gradient(90deg, rgba(25, 18, 15, 0.24) 0%, transparent 62%),
    url('./hero-background.png') center / cover;

    
  /* transform: scale(1.02); */
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(25, 18, 15, 0.8) 0%, rgba(35, 24, 19, 0.48) 42%, rgba(28, 19, 15, 0.13) 100%),
    linear-gradient(0deg, rgba(16, 13, 11, 0.63) 0%, transparent 27%, rgba(17, 13, 10, 0.3) 100%);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.18); */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.brand-symbol {
  display: grid;
  width: 34px;
  height: 38px;
  place-items: center;
  border: 1px solid #d1ad6e;
  border-radius: 48% 52% 45% 55%;
  color: #d1ad6e;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: -0.12em;
  transform: rotate(-8deg);
}

.brand-name {
  color: rgba(255, 255, 255, 0.77);
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  letter-spacing: 0.13em;
  line-height: 0.98;
}

.brand-name strong {
  color: #fff;
  font-weight: 500;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(72, 59, 51, 0.56);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
}

.navigation a {
  font-size: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.navigation a:hover,
.navigation a:focus-visible,
.navigation a.is-active {
  background: #fff;
  color: #342922;
}

.header-cta,
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 2.0rem;
  font-weight: 400;
  padding: 16px !important;
}

.header-cta {
  font-size: 14px;
  padding: 4px !important;
}

.header-cta {
  padding: 4px 6px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: #fff;
  color: #2d2520;
}

.cta-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: #c59b59;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.hero-content {
  display: flex;
  /* width: min(100% - 80px, 1220px); */
  flex: 1;
  justify-content: center;
  flex-direction: column;
  padding-top: 92px;
  padding-bottom: 120px;
}

.eyebrow {
margin: 0 0 17px;
    color: #e0bc7e;
    font-size: 12px;
    font-weight: 200;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1 {
  max-width: 40%;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 7.2rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

h1 span {
  color: #e1bd80;
  font-style: italic;
  font-weight: 500;
}

.hero-description {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 2.2rem;
  line-height: 1.65;
}

.hero-cta {
  width: fit-content;
  margin-top: 27px;
  padding: 4px 16px 4px 4px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 10px;
  background: #fff;
  color: #2c231e;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.topic-list {
  display: flex;
  max-width: 530px;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-list a {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(83, 62, 50, 0.46);
  color: rgba(255, 255, 255, 0.88);
  font-size: 9px;
  backdrop-filter: blur(8px);
  transition: background 180ms ease;
}

.topic-list a:hover,
.topic-list a:focus-visible {
  background: rgba(196, 153, 91, 0.65);
}

.featured-card {
  position: absolute;
  right: max(40px, calc((100% - 1440px) / 2));
  bottom: 68px;
  display: flex;
  width: 310px;
  padding: 12px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(30, 27, 25, 0.62);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
}

.featured-photo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 2000px;
  object-fit: cover;
  object-position: 77% 15%;
}

.featured-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.featured-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.35;
}

.featured-copy strong {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.hero-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
  padding-bottom: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
}

.hero-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.hero-footer b {
  margin-left: 6px;
  color: #e0b975;
  font-size: 15px;
  font-weight: 400;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 4px 0;
  background: #fff;
}

.services-section {
  padding: 122px 0 138px;
  background: #f2eee8;
  color: #2b201b;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 68px;
}

.section-eyebrow,
.service-kicker {
  margin: 0 0 16px;
  color: #b18142;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.services-section h2 {
  max-width: 720px;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(42px, 5.2vw, 76px);
  font-size: 7.2rem;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.services-section h2 em {
  color: #a87839;
  font-style: italic;
}

.services-lead {
  max-width: 390px;
  margin: 0 0 5px auto;
  color: rgba(43, 32, 27, 0.7);
  font-size: 17px;
  line-height: 1.65;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: service-card;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background-color: #2f2520;
  background-position: center;
  background-size: cover;
  color: #fff;
  counter-increment: service-card;
  isolation: isolate;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.service-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 13, 10, 0.03) 22%, rgba(19, 13, 10, 0.38) 52%, rgba(19, 13, 10, 0.96) 100%);
  content: '';
  transition: background 260ms ease;
}

.service-card:nth-child(1) { background-image: url('assets/services/bpc-loas.png'); }
.service-card:nth-child(2) { background-image: url('assets/services/salario-maternidade.png'); }
.service-card:nth-child(3) { background-image: url('assets/services/tempo-contribuicao.png'); }
.service-card:nth-child(4) { background-image: url('assets/services/aposentadoria-idade.png'); }
.service-card:nth-child(5) { background-image: url('assets/services/auxilio-doenca.png'); }
.service-card:nth-child(6) { background-image: url('assets/services/pensao-morte.png'); }
.service-card:nth-child(7) { background-image: url('assets/services/planejamento-previdenciario.png'); }
.service-card:nth-child(8) { background-image: url('assets/services/revisao-beneficios.png'); }

.service-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: inherit;
  content: '';
  transition: border-color 260ms ease;
}

.service-card:hover {
  box-shadow: 0 22px 42px rgba(43, 32, 27, 0.22);
  transform: translateY(-7px);
}

.service-card:hover::before {
  background: linear-gradient(180deg, rgba(19, 13, 10, 0.1) 15%, rgba(19, 13, 10, 0.48) 48%, rgba(19, 13, 10, 0.98) 100%);
}

.service-card:hover::after {
  border-color: rgba(177, 129, 66, 0.72);
}

.service-card--featured {
  color: #fff;
}

.service-icon {
  display: none;
}

.service-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.service-card-content {
  position: relative;
  z-index: 1;
}

.service-card .service-kicker {
  margin-bottom: 14px;
  color: #e1b470;
  line-height: 1.4;
}

.service-card .service-kicker::before {
  content: counter(service-card, decimal-leading-zero) ' · ';
}

.service-card h3 {
  max-width: 290px;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.service-card-content > p:not(.service-kicker) {
  max-width: 300px;
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.5;
}

.service-card--featured .service-card-content > p:not(.service-kicker) {
  color: rgba(255, 255, 255, 0.7);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.service-link:hover,
.service-link:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #2b201b;
}

.process-section {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background: #2f2520;
  color: #fff;
}

.process-section::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 54%, rgba(177, 129, 66, 0.16), transparent 35%);
  content: '';
  pointer-events: none;
}

.process-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(60px, 8vw, 128px);
  align-items: center;
}

.process-visual {
  position: relative;
  min-height: 700px;
  border-bottom: 1px solid rgba(225, 180, 112, 0.35);
  isolation: isolate;
}

.process-visual::after {
  position: absolute;
  z-index: -1;
  right: 5%;
  bottom: 0;
  left: 5%;
  height: 18%;
  background: #1d1714;
  filter: blur(26px);
  content: '';
}

.process-visual img {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: min(100%, 520px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.38)) saturate(0.82) sepia(0.08);
}

.process-halo {
  position: absolute;
  top: 13%;
  left: 50%;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(225, 180, 112, 0.32);
  border-radius: 50%;
  transform: translateX(-50%);
}

.process-halo::before,
.process-halo::after {
  position: absolute;
  border: 1px solid rgba(225, 180, 112, 0.13);
  border-radius: inherit;
  content: '';
}

.process-halo::before { inset: 24px; }
.process-halo::after { inset: 52px; }

.process-visual-word {
  position: absolute;
  top: 7%;
  left: -8%;
  color: rgba(255, 255, 255, 0.035);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(92px, 10vw, 170px);
  font-style: italic;
  line-height: 1;
  transform: rotate(-90deg) translateX(-100%);
  transform-origin: left top;
  white-space: nowrap;
}

.process-content .section-eyebrow {
  color: #e1b470;
}

.process-content h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.process-content h2 em {
  color: #d6a765;
  font-style: italic;
}

.process-intro {
  max-width: 570px;
  margin: 26px 0 42px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.65;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.process-number {
  color: #e1b470;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.process-list p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.testimonials-section {
  padding: 122px 0 132px;
  overflow: hidden;
  background: #f2eee8;
  color: #2b201b;
}

.testimonials-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.testimonials-heading h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(44px, 5vw, 74px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.testimonials-heading h2 em {
  color: #a87839;
  font-style: italic;
}

.testimonials-actions {
  display: flex;
  align-items: center;
}

.google-reviews-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 0 20px;
  background: #2f2520;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background 180ms ease, transform 180ms ease;
}

.google-reviews-link:hover,
.google-reviews-link:focus-visible {
  background: #a87839;
  transform: translateY(-2px);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(260px, auto));
  gap: 14px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid rgba(83, 59, 40, 0.15);
  border-radius: 22px;
  background: #e8e0d5;
}

.testimonial-card:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
  background: #2f2520;
  color: #fff;
}

.testimonial-card:nth-child(2),
.testimonial-card:nth-child(3) {
  grid-column: span 5;
}

.testimonial-card:nth-child(4),
.testimonial-card:nth-child(5) {
  grid-column: span 6;
}

.testimonial-card:nth-child(1) blockquote,
.testimonial-card:nth-child(1) footer a {
  color: #fff;
}

.testimonial-card:nth-child(1) footer {
  border-color: rgba(255, 255, 255, 0.16);
}

.testimonial-card:nth-child(1) footer span {
  color: rgba(255, 255, 255, 0.52);
}

.testimonial-stars {
  color: #a87839;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.testimonial-card blockquote {
  margin: 30px 0 auto;
  color: rgba(43, 32, 27, 0.82);
  font-family: 'Archivo', sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(83, 59, 40, 0.15);
}

.testimonial-card footer a {
  width: fit-content;
  color: #2b201b;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-card footer a:hover,
.testimonial-card footer a:focus-visible {
  color: #a87839;
}

.testimonial-card footer span {
  color: rgba(43, 32, 27, 0.55);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-link span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  transition: transform 180ms ease;
}

.service-link:hover span,
.service-link:focus-visible span {
  transform: translate(2px, -2px);
}

@media (max-width: 1440px) {
  html {
    font-size: 8px;
  }
}

@media (max-width: 820px) {
  .container,
  .hero-content {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .navigation {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
    background: rgba(42, 31, 25, 0.97);
  }

  .navigation.is-open {
    display: flex;
  }

  .navigation a {
    border-radius: 8px;
    padding: 12px 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 210px;
  }

  .featured-card {
    bottom: 77px;
  }

  .services-section {
    padding: 82px 0 92px;
  }

  .services-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 42px;
  }

  .services-lead {
    margin-left: 0;
  }

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

  .service-card {
    min-height: 330px;
  }

  .process-section {
    padding: 82px 0;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .process-visual {
    min-height: 570px;
    order: 2;
  }

  .process-visual img {
    right: 50%;
    transform: translateX(50%);
  }

  .process-halo {
    width: min(78vw, 420px);
  }

  .testimonials-section {
    padding: 82px 0 92px;
  }

  .testimonials-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .testimonial-card:nth-child(n) {
    grid-column: span 1;
    grid-row: auto;
  }

  .testimonial-card:nth-child(1) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .container,
  .hero-content {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: clamp(53px, 16vw, 72px);
  }

  .hero-description {
    max-width: 315px;
    font-size: 12px;
  }

  .featured-card {
    right: 16px;
  }

  .topic-list {
    max-width: 305px;
  }

  .topic-list a {
    font-size: 8px;
  }

  .hero-footer {
    font-size: 8px;
  }

  .hero-footer span {
    max-width: 145px;
  }

  .process-content h2 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .process-visual {
    min-height: 470px;
  }

  .testimonials-actions {
    display: block;
  }

  .google-reviews-link {
    justify-content: center;
  }

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

  .testimonial-card:nth-child(n) {
    grid-column: 1;
    padding: 28px;
  }
}
