*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}
/* Variavéis cores e fontes*/
:root {
  /* BASE */
  --color-bg: #f8f5f5;
  --color-bg-alt: #efe7e9;
  --color-white: #ffffff;
  --color-bg-glass: rgba(255, 255, 255, 0.6);

  /* TEXTO */
  --color-text: #082136;
  --color-text-muted: #2f485e;

  /* BRAND (confiança) */
  --color-primary: #012b47;

  /* ACOLHIMENTO (rosé) */
  --color-accent: #bb5d5d;
  --color-accent-light: #f7dada;

  /* AÇÃO */
  --color-cta: #ac3250;
  --color-cta-hover: #b83a55;

  /* FONTES */
  --font-heading: "Lora", serif;
  --font-base: "Nunito", sans-serif;

  /* ESPAÇAMENTOS */
  --border-radius-sm: 6px;
  --border-radius-xl: 12px;
  --width-container: 1280px;

  --c1: rgba(244, 164, 164, 0.7);
  --c2: rgba(168, 213, 186, 0.7);
  --c3: rgba(175, 203, 255, 0.7);
  --c4: rgba(255, 199, 130, 0.7);
  --c5: rgba(205, 180, 219, 0.7);
  --c6: rgba(255, 243, 176, 0.7);
}
/* estilizações globais */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;

  -webkit-text-size-adjust: 100%; /*evita que o navegador aumente o tamanho do texto sozinho*/
  -moz-osx-font-smoothing: grayscale; /*deixa o texto mais leve visualmente*/
  -webkit-font-smoothing: antialiased; /*texto mais fino e menos serrilhado*/
  text-rendering: optimizeLegibility; /*melhora a legibilidade do texto. */
}
section {
  padding-block: 5rem;
}

/* Acessibilidade -tab- a borda só aparece quando o usuário navega usando o teclado */
:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: fixed;
  display: block;
  top: -80px;
  left: 50%;
  background: var(--color-cta);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 99999;
}
.skip-link:focus {
  top: 8px;
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
}
h2 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
  font-weight: 400;
}
.container {
  width: 100%;
  max-width: var(--width-container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
button {
  background: none;
  border: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--border-radius-xl);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  user-select: none;
}
/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(163, 129, 140, 0.5);
}
.header__container {
  display: flex;
  align-items: center;
  margin-block: 1.5rem;
  justify-content: space-between;
  position: relative;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header__logo svg {
  color: var(--color-cta);
  font-size: 2rem;
  user-select: none;
}
.logo__title {
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 700;
}
.nav {
  position: absolute;
  background: var(--color-white);
  width: 100%;
  top: 130%;
  right: 0;
  text-align: center;
  padding: 1rem;
  display: none;
  box-shadow: 0px 12px 24px rgba(163, 129, 140, 0.25);
}
.nav.active {
  display: block;
}
.menu-hamburguer .icon-close {
  display: none;
}
.menu-hamburguer.active .icon-open {
  display: none;
}
.menu-hamburguer.active .icon-close {
  display: block;
}
.menu-hamburguer svg {
  transition: transform 0.3s ease;
  stroke: var(--color-cta-hover);
}
.nav__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav__link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-cta);
  transition: ease-in-out 0.3s;
}
.nav__link:hover,
.nav__link:focus {
  color: var(--color-cta-hover);
}
.nav__link:hover::after,
.nav__link:focus::after {
  width: 100%;
}
.nav__contato {
  display: none;
  border-radius: var(--border-radius-xl);
  transition: ease-in-out 0.3s;
  background-color: var(--color-cta);
  color: var(--color-bg);
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.nav__contato:hover {
  transform: translateY(-4px);
  background-color: var(--color-cta-hover);
}

/* HERO */
.hero {
  background-color: var(--color-bg);
  min-height: clamp(38rem, 85vh, 52rem);
  position: relative;
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(248, 245, 245, 0.85) 0%,
    rgba(239, 231, 233, 0.6) 100%
  );
}
.hero__container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 2rem;
  margin-inline: auto;
  animation: fadeInUp 0.8s ease-in-out;
}
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
}
.smallH1 {
  display: block;
  font-size: 1rem;
  margin: 0.5rem 0 1rem;
  color: var(--color-accent);
  opacity: 0.9;
}
.hero__text {
  color: var(--color-text);
  font-size: clamp(1rem, 5vw, 1.3rem);
}
.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block: 1.5rem;
}
.btn-primary {
  padding: 0.85rem 1.4rem;
  background-color: var(--color-cta);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover {
  background-color: var(--color-cta-hover);
  box-shadow: 0 14px 30px rgba(172, 50, 80, 0.6);
  transform: translateY(-4px);
}
.btn-secondary {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  background: transparent;
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(1, 43, 71, 0.3);
}
.hero__line {
  margin-top: 2rem;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  opacity: 0.5;
}
.socialProof {
  opacity: 0.85;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.proof-num {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.75rem;
  font-weight: 600;
}
.proof-info {
  display: block;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 500;
}
.hero__image {
  align-self: center;
  max-width: 480px;
  width: min(100%, 480px);
}
.hero__image img {
  width: 100%;
  display: block;
  border-radius: var(--border-radius-xl);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICES */
.italic {
  font-style: italic;
}
.servicos {
  background: var(--color-bg-alt);
}
.servicos__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.description {
  max-width: 600px;
  margin: 0.85rem auto;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}
.servicos__grid {
  display: grid;
  gap: 1.5rem;
}
.servicos__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.card-1 {
  background: var(--c1);
}
.card-2 {
  background: var(--c2);
}
.card-3 {
  background: var(--c3);
}
.card-4 {
  background: var(--c4);
}
.card-5 {
  background: var(--c5);
}
.card-6 {
  background: var(--c6);
}
.servicos__card img {
  width: 50px;
}
.servicos__card:hover,
.servicos__card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.servicos__card-title {
  font-size: 1.1rem;
  font-style: italic;
}
.servicos__card-text {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.servicos__list {
  padding-left: 1rem;
  margin-top: auto;
}
.servicos__list li {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
  list-style: disc;
  opacity: 0.8;
}

/* CTA SUTIL */
.servicos__cta {
  width: 100%;
  background-image: radial-gradient(
    circle at center,
    rgba(248, 245, 245, 0.6) 0%,
    rgba(247, 218, 218, 0.35) 100%
  );
  box-shadow: 0 10px 30px rgba(187, 93, 93, 0.1);
  border-radius: var(--border-radius-xl);
  margin: 4rem auto;
  text-align: center;
  padding: 3rem 2rem;
}

.servicos__cta p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.servicos__cta strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.servicos__cta .btn {
  margin-top: 1rem;
  font-size: 1rem;
}

/* SOBRE */
.sobre {
  padding: 0;
}
.sobre__container {
  display: grid;
  grid-template-columns: 1fr;
}
.sobre__image {
  height: 100%;
}
.sobre__image img {
  width: 100%;
  height: auto;
  display: block;
}
.sobre__content {
  background-color: var(--color-accent-light);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 1.5rem;
}
.sobre__content .subtitle {
  color: var(--color-text-muted);
}
.sobre__text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 58ch;
}
.sobre__text p {
  margin-bottom: 0.8rem;
}
.sobre__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sobre__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  padding: 1rem 1.2rem;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.sobre__item svg {
  color: var(--color-accent);
}
.sobre__item:hover {
  transform: translateY(-2px);
  transition: 0.3s ease;
}
/* PROCESSO */
.processo {
  background-color: var(--color-bg);
}
.processo__header {
  text-align: center;
}
.subtitle {
  font-style: italic;
  color: var(--color-cta);
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.processo__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  margin-top: 4rem;
}
.processo__list::before {
  display: none;
  content: "";
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent) 20%,
    var(--color-accent) 80%,
    transparent
  );
}
.processo__item {
  text-align: center;
  position: relative;
  padding-top: 0.5rem;
}
.processo__item-title {
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--color-cta-hover);
  margin-bottom: 0.6rem;
}
.processo__item-text {
  line-height: 1.7;
}

.processo__item-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--color-accent),
    var(--color-accent-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-bg);
  box-shadow: 0 8px 24px rgba(201, 137, 122, 0.35);
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
}
.processo__item:hover .processo__item-num {
  transform: scale(1.08);
}
/* CTA sutil, dentro da seção processo) */
.cta-inline {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(187, 93, 93, 0.2);
  background: linear-gradient(
    135deg,
    rgba(247, 218, 218, 0.35) 0%,
    rgba(248, 245, 245, 0.6) 100%
  );
  text-align: center;
}
.cta-inline__text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--color-primary);
  font-style: italic;
}
.cta-inline__btn {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

/* DEPOIMENTOS */
.depoimentos {
  background-color: var(--color-bg-alt);
}
.depoimentos__header {
  text-align: center;
}
.depoimentos__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.depoimentos__item {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--border-radius-sm);
  min-height: 220px;
}
.depoimentos__item-header {
  display: flex;
  justify-content: space-between;
}

.depoimentos__quote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.3rem;
  margin-top: 1rem;
  font-style: italic;
  color: var(--color-text-muted);
}
.depoimentos__aspas {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.8;
}
/* CTA BANNER */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #045f9c 100%);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.2);
  padding: 6rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.cta h2 {
  color: var(--color-bg);
}
.cta h2 span {
  color: var(--color-accent-light);
}
.cta p {
  color: var(--color-bg-alt);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.btn-cta {
  background-color: var(--color-cta);
  color: var(--color-white);
  text-transform: uppercase;
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
}
.btn-cta:hover {
  background-color: var(--color-cta-hover);
}
/* FAQ */
.faq {
  background-color: var(--color-bg-alt);
}
.faq__header {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.faq__list {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}
.faq__item {
  background-color: var(--color-bg);
  border-radius: 1rem;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.faq__item:hover {
  box-shadow: 0 10px 30px rgba(1, 43, 71, 0.08);
}
.faq__item[open] {
  box-shadow: 0 12px 32px rgba(166, 56, 84, 0.12);
}
.faq__question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 3.5rem 1.25rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary);
  list-style: none;
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--color-bg);
  color: var(--color-cta);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}
.faq__item[open] .faq__question::after {
  content: "–";
  background-color: var(--color-cta);
  color: #ffffff;
}
.faq__answer {
  padding: 0 1.25rem 1.25rem;
}
.faq__answer p {
  color: var(--color-text-muted);
  line-height: 1.8;
}
.faq__question:focus-visible {
  outline: 3px solid var(--color-cta);
  outline-offset: -3px;
  border-radius: 1rem;
}
.faq__final-text {
  margin-top: 3rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 22rem;
  margin-inline: auto;
}
.faq__final-text a {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--color-cta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}
.faq__final-text a:hover {
  color: var(--color-accent);
}

/* FOOTER */
.footer {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 5rem 1rem 1.5rem;
}
.footer__container {
  max-width: var(--width-container);
}
.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent-light);
}
.footer__subtitle {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--color-accent-light);
}
.footer__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__social-link,
.location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}

.footer__social-link::after,
.location::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-bg);
  transition: ease-in-out 0.3s;
  margin-top: 0.4rem;
}
.footer__social-link:hover::after,
.footer__social-link:focus::after,
.location:hover::after,
.location:focus::after {
  width: 100%;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1rem;
  text-align: center;
}
.footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (width >= 768px) {
  .faq__question {
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    font-size: 1.2rem;
  }

  .faq__answer {
    padding: 0 1.5rem 1.5rem;
  }
}
@media (width >= 1024px) {
  section {
    padding-block: 8rem;
  }
  header.scrolled {
    background: var(--color-bg-glass);
    box-shadow: 0 8px 32px rgba(163, 129, 140, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(
      12px
    ); /* Garante que o blur funcione em dispositivos Apple/Safari */
  }
  .nav {
    display: block;
    position: static;
    width: auto;
    margin-left: auto;
    background: transparent;
    padding: 0.5rem;
    box-shadow: none;
  }
  .nav__list {
    align-items: center;
    flex-direction: row;
    gap: 2.5rem;
  }
  .menu-hamburguer {
    display: none;
  }
  .nav__contato {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .hero__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
  }
  .hero__content {
    text-align: left;
    margin-inline: 0;
  }
  .hero__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .socialProof {
    justify-content: space-between;
  }
  .hero__image {
    width: 100%;
  }

  .servicos__grid,
  .depoimentos__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .processo__list {
    grid-template-columns: repeat(4, 1fr);
  }
  .processo__list::before {
    display: block;
  }
  .sobre__container {
    grid-template-columns: 1fr 1fr;
  }
  .sobre__content {
    padding: 4rem 6rem 4rem 3rem;
  }
  .cta-inline {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    padding: 2.5rem 4rem;
    text-align: left;
  }
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
