/* ===== Reset e variáveis ===== */
:root {
  --color-primary: #c9a04e;
  --color-primary-hover: #b58f3f;
  --color-primary-dark: #8a6423;
  --color-bg: #fdfbf6;
  --color-bg-alt: #f8f0dd;
  --color-surface: rgba(255, 255, 255, 0.84);
  --color-text: #2e2a24;
  --color-text-light: #6a5d47;
  --font-title: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --max-width: 1240px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --border-soft: 1px solid rgba(201, 160, 78, 0.2);
  --shadow-soft: 0 18px 40px rgba(89, 70, 32, 0.08);
  --shadow-strong: 0 24px 60px rgba(72, 55, 24, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(201, 160, 78, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--color-bg) 26%, #fcf8ef 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 999;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (min-width: 1440px) {
  :root {
    --max-width: 1400px;
  }

  .container {
    padding: 0 48px;
  }
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.1rem;
  text-align: center;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}

.section-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 160, 78, 0.12) 0%, var(--color-primary) 50%, rgba(201, 160, 78, 0.12) 100%);
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--color-text-light);
  font-size: 0.98rem;
  line-height: 1.75;
  text-wrap: pretty;
}

/* ===== Botões ===== */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 14px 30px rgba(201, 160, 78, 0.22);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 160, 78, 0.35);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid var(--color-primary-dark);
  color: var(--color-primary-dark);
}

.btn--secondary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(253, 249, 246, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(201, 160, 78, 0.15);
  box-shadow: 0 8px 24px rgba(58, 47, 42, 0.04);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
}

.nav a:hover {
  color: var(--color-primary-dark);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  background: var(--color-primary);
  color: var(--color-text);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(201, 160, 78, 0.25);
}

.nav__cta::after {
  display: none;
}

.nav__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-text);
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  position: relative;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(201, 160, 78, 0.22) 0%, rgba(201, 160, 78, 0) 70%);
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -180px;
  left: -100px;
  background: radial-gradient(circle, rgba(138, 100, 35, 0.12) 0%, rgba(138, 100, 35, 0) 70%);
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr clamp(280px, 34vw, 420px);
  grid-template-areas:
    "heading image"
    "details image";
  column-gap: 48px;
  row-gap: 8px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero__heading {
  grid-area: heading;
}

.hero__details {
  grid-area: details;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 3.4rem;
  line-height: 1.08;
  color: var(--color-text);
  margin-bottom: 10px;
  max-width: 10ch;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: 0;
  padding: 0;
}

.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.hero__subtitle {
  font-size: 1.02rem;
  color: var(--color-text-light);
  margin-bottom: 34px;
  max-width: 540px;
  line-height: 1.8;
}

.hero__image {
  grid-area: image;
  max-width: 420px;
  margin: 0 auto;
}

.hero__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-strong);
}

.hero__credenciais {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  list-style: none;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 160, 78, 0.25);
}

.hero__credenciais li {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: var(--border-soft);
}

.diferencial,
.step,
.card,
.faq__item,
.contato__info {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  backdrop-filter: blur(14px);
  border: var(--border-soft);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.diferencial::before,
.step::before,
.card::before,
.faq__item::before,
.contato__info::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(201, 160, 78, 0) 0%, var(--color-primary) 50%, rgba(201, 160, 78, 0) 100%);
}

/* ===== Diferenciais ===== */
.diferenciais {
  padding: 80px 0;
  background:
    linear-gradient(180deg, rgba(248, 240, 221, 0.9) 0%, rgba(255, 251, 246, 0.78) 100%);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diferencial {
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.diferencial:hover,
.step:hover,
.card:hover,
.contato__info:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.diferencial h3 {
  font-family: var(--font-body);
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  line-height: 1.45;
}

.diferencial p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===== Sobre ===== */
.sobre {
  padding: 80px 0;
}

.sobre__content {
  display: grid;
  grid-template-columns: clamp(240px, 30vw, 380px) 1fr;
  grid-template-areas:
    "image heading"
    "image details";
  column-gap: 48px;
  row-gap: 12px;
  align-items: start;
}

.sobre__heading {
  grid-area: heading;
}

.sobre__image {
  grid-area: image;
}

.sobre__image img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-strong);
}

.sobre__details {
  grid-area: details;
  padding: 8px 0 0;
}

.sobre__heading h2 {
  font-family: var(--font-title);
  font-size: 2.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.sobre__details p {
  color: var(--color-text-light);
  margin-bottom: 18px;
  line-height: 1.82;
  text-align: justify;
}

.sobre__formacao-titulo {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.sobre__formacao {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sobre__formacao li {
  color: var(--color-text-light);
  padding-left: 20px;
  position: relative;
  line-height: 1.75;
  text-align: justify;
}

.sobre__formacao li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.sobre__cta {
  display: inline-block;
  margin-top: 28px;
}

/* ===== Método ===== */
.metodo {
  padding: 80px 0;
  background: transparent;
}

.metodo__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  padding: 32px 24px;
  text-align: center;
}

.step__number {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 10px;
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.step p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Procedimentos ===== */
.procedimentos {
  padding: 80px 0;
}

.procedimentos__layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.procedimentos__image {
  flex: 0 0 clamp(220px, 26vw, 320px);
  position: sticky;
  top: 100px;
}

.procedimentos__image img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-strong);
}

.procedimentos__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 30px 26px;
  border-color: rgba(201, 160, 78, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 160, 78, 0.38);
}

.card h3 {
  color: var(--color-primary-dark);
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

.card__link {
  display: inline-block;
  margin-top: auto;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.card__link:hover {
  transform: translateX(4px);
  color: var(--color-primary);
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background:
    linear-gradient(180deg, rgba(248, 240, 221, 0.9) 0%, rgba(255, 251, 246, 0.76) 100%);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  padding: 18px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.faq__item[open] {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  float: right;
  color: var(--color-primary-dark);
  font-size: 1.2rem;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__item p {
  margin-top: 12px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Contato ===== */
.contato {
  padding: 80px 0;
  background:
    linear-gradient(180deg, rgba(248, 240, 221, 0.84) 0%, rgba(255, 251, 246, 0.92) 100%);
  text-align: center;
}

.contato__grid {
  display: flex;
  gap: 32px;
  align-items: stretch;
  margin-top: 32px;
  text-align: left;
}

.contato__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  padding: 40px;
}

.contato__info .btn {
  text-align: center;
}

.endereco {
  color: var(--color-text-light);
  margin-top: 4px;
  display: inline-block;
  transition: color 0.2s ease;
  font-weight: 500;
}

.endereco:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.contato__mapa {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: var(--border-soft);
}

.contato__mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

/* ===== Botões flutuantes ===== */
.social-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 200;
}

.social-float__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px rgba(58, 47, 42, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 34px rgba(58, 47, 42, 0.28);
}

.social-float__btn img {
  width: 28px;
  height: 28px;
}

.social-float__btn--whatsapp {
  background: #25d366;
}

.social-float__btn--instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* ===== Footer ===== */
.footer {
  padding: 56px 0 24px;
  background: linear-gradient(180deg, rgba(248, 240, 221, 0.7) 0%, rgba(255, 251, 246, 0.96) 100%);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 160, 78, 0.25);
}

.footer__nome {
  font-family: var(--font-body);
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer__coren {
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__nav a {
  font-weight: 500;
}

.footer__nav a:hover {
  color: var(--color-primary-dark);
}

.footer__copy {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 18px;
}

/* ===== Efeito de entrada ao rolar (scroll reveal) ===== */
@media (prefers-reduced-motion: no-preference) {
  .reveal-section {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "image"
      "details";
  }

  .hero__image {
    max-width: 320px;
  }

  .sobre__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "image"
      "details";
    row-gap: 20px;
  }

  .sobre__image {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .metodo__steps,
  .procedimentos__grid,
  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .procedimentos__layout {
    flex-direction: column;
  }

  .procedimentos__image {
    flex: none;
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .contato__grid {
    flex-direction: column;
  }

  .contato__info {
    align-items: center;
    text-align: center;
  }

  .contato__mapa {
    flex: none;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(253, 251, 246, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(201, 160, 78, 0.15);
    box-shadow: 0 18px 32px rgba(58, 47, 42, 0.08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 8px 0;
  }

  .nav__cta {
    display: inline-block;
    text-align: center;
    margin-top: 4px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero,
  .sobre,
  .diferenciais,
  .metodo,
  .procedimentos,
  .faq,
  .contato {
    padding: 56px 0;
  }

  .hero__content {
    text-align: center;
  }

  .hero__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "image"
      "details";
  }

  .hero__heading,
  .hero__details {
    width: 100%;
    text-align: center;
  }

  .hero__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .sobre__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "image"
      "details";
    row-gap: 20px;
  }

  .sobre__heading,
  .sobre__details {
    text-align: left;
  }

  .sobre__image {
    margin: 0 auto;
    max-width: 320px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title,
  .sobre__heading h2 {
    font-size: 1.85rem;
  }

  .hero__image img {
    height: 380px;
  }

  .sobre__details {
    padding: 0;
  }

  .section-subtitle,
  .sobre__details p,
  .sobre__formacao li,
  .card p,
  .faq__item p {
    text-align: justify;
    text-align-last: left;
  }

  .metodo__steps,
  .procedimentos__grid,
  .diferenciais__grid {
    grid-template-columns: 1fr;
  }

  .hero__credenciais {
    justify-content: center;
  }

  .hero__details > .btn {
    width: 100%;
    text-align: center;
  }

  .social-float {
    bottom: 14px;
    right: 14px;
    gap: 10px;
    flex-direction: row;
  }

  .social-float__btn--instagram {
    display: flex;
  }

  .footer__content {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer {
    padding-bottom: 92px;
  }

  .social-float__btn {
    width: 44px;
    height: 44px;
  }

  .social-float__btn img {
    width: 20px;
    height: 20px;
  }
}
