:root {
  --ink: #211313;
  --plum: #7f1825;
  --red: #c82333;
  --red-dark: #5f121b;
  --gold: #deb483;
  --gold-dark: #b9853e;
  --gold-light: #f7dfaa;
  --gold-bright: #ffe7a6;
  --gold-deep: #8f5f1f;
  --gold-polished: linear-gradient(135deg, #8f5f1f 0%, #d19a45 22%, #ffe7a6 48%, #c58a36 68%, #7a4d19 100%);
  --rose: #deb483;
  --rose-dark: #b9853e;
  --paper: #fff8f1;
  --white: #ffffff;
  --mist: #f7eee7;
  --teal: #a82030;
  --line: rgba(127, 24, 37, 0.16);
  --shadow: 0 20px 55px rgba(36, 25, 35, 0.18);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    linear-gradient(180deg, #4d1018 0%, #8f1b2b 42%, #5f121b 100%);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  color: var(--white);
  background: rgba(33, 19, 19, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(33, 19, 19, 0.94);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 232px;
}

.brand-logo {
  display: block;
  width: 230px;
  max-width: 30vw;
  height: auto;
  filter: drop-shadow(0 9px 18px rgba(0, 0, 0, 0.2));
}

.brand-mark {
  display: block;
  width: 43px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--rose);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.header-cta {
  position: relative;
  overflow: hidden;
  min-width: 138px;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.btn {
  padding: 0 22px;
}

.btn svg,
.header-cta svg,
.floating-whatsapp svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  color: #2a1708;
  background: var(--gold-polished);
  box-shadow: 0 18px 34px rgba(185, 133, 62, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary::after,
.btn-form::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.46) 46%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.btn-secondary {
  color: var(--gold-light);
  border: 1px solid rgba(222, 180, 131, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.btn-form {
  position: relative;
  overflow: hidden;
  width: 100%;
  color: #2a1708;
  background: var(--gold-polished);
  box-shadow: 0 16px 30px rgba(185, 133, 62, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.btn-primary:hover::after,
.btn-form:hover::after {
  transform: translateX(120%);
}

.hero {
  position: relative;
  min-height: min(760px, 88vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, #4d1018 0%, #8d1a2a 54%, #5f121b 100%);
}

.hero-media {
  position: absolute;
  top: -18px;
  right: 0;
  bottom: -110px;
  width: min(60vw, 790px);
  opacity: 0.96;
  filter: saturate(0.94) contrast(1.05);
  animation: portraitDrift 10s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 18%, #000 42%, #000 100%);
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 3%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 19, 19, 0.98) 0%, rgba(95, 18, 27, 0.92) 42%, rgba(127, 24, 37, 0.18) 68%, rgba(95, 18, 27, 0.32) 100%),
    linear-gradient(180deg, rgba(33, 19, 19, 0.04) 0%, rgba(33, 19, 19, 0.66) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 126px 0 64px;
}

.hero-inner > * {
  animation: fadeUp 680ms ease both;
}

.hero-inner > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-inner > *:nth-child(3) {
  animation-delay: 160ms;
}

.hero-inner > *:nth-child(4) {
  animation-delay: 230ms;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(1.85rem, 3.45vw, 3.45rem);
  font-weight: 600;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-credentials span {
  padding: 8px 12px;
  border: 1px solid rgba(222, 180, 131, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
}

.trust-band {
  padding: 16px 0;
  background: rgba(95, 18, 27, 0.96);
  border-top: 1px solid rgba(222, 180, 131, 0.2);
  border-bottom: 1px solid rgba(222, 180, 131, 0.18);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 14px;
  background: transparent;
}

.trust-grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px;
  border: 1px solid rgba(222, 180, 131, 0.18);
  border-radius: 8px;
  background: rgba(255, 248, 241, 0.96);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trust-grid div:hover {
  transform: translateY(-3px);
  border-color: rgba(222, 180, 131, 0.38);
  box-shadow: 0 18px 38px rgba(36, 25, 35, 0.18);
}

.trust-grid strong {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.trust-grid span {
  color: rgba(36, 25, 35, 0.68);
}

.section {
  padding: 92px 0;
  background:
    linear-gradient(180deg, rgba(95, 18, 27, 0.96) 0%, rgba(127, 24, 37, 0.96) 100%);
  color: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.section h2 {
  color: var(--white);
  font-size: clamp(1.85rem, 3.6vw, 3.05rem);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.intro {
  background:
    linear-gradient(180deg, rgba(95, 18, 27, 0.98) 0%, rgba(127, 24, 37, 0.96) 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: end;
}

.intro-grid > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.areas {
  background:
    linear-gradient(180deg, rgba(127, 24, 37, 0.96) 0%, rgba(95, 18, 27, 0.98) 100%);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.area-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.area-card:hover,
.testimonial-card:hover,
.timeline-item:hover,
details:hover {
  transform: translateY(-4px);
  border-color: rgba(222, 180, 131, 0.38);
  box-shadow: 0 18px 42px rgba(36, 25, 35, 0.18);
}

.area-card {
  min-height: 220px;
  padding: 26px;
}

.area-card svg {
  width: 30px;
  height: 30px;
  color: var(--gold-dark);
}

.area-card h3,
.timeline h3 {
  margin: 18px 0 10px;
  color: var(--red-dark);
  font-size: 1.2rem;
}

.area-card p,
.timeline p,
.profile-content p,
.faq p,
.contact-copy p,
.site-footer p {
  color: rgba(36, 25, 35, 0.7);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section-action .btn-primary,
.contact-copy .btn-primary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-action .btn-primary::after,
.contact-copy .btn-primary::after {
  display: none;
}

.section-action .btn-primary:hover,
.contact-copy .btn-primary:hover,
.header-cta:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.method {
  background:
    linear-gradient(180deg, rgba(95, 18, 27, 0.98) 0%, rgba(127, 24, 37, 0.94) 100%);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.method-copy p:last-child {
  margin-top: 22px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(75, 36, 53, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 248, 241, 0.94);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
}

.timeline-item h3,
.timeline-item p {
  margin: 0;
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.profile {
  background:
    linear-gradient(180deg, rgba(127, 24, 37, 0.94) 0%, rgba(95, 18, 27, 0.98) 100%);
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 64px;
  align-items: center;
}

.profile-photo {
  min-height: 590px;
  border-radius: var(--radius);
  background-image: url("../img/teresa-galvao-hero-desktop.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--gold);
}

.method-copy > p:not(.section-kicker),
.profile-content > p,
.faq-grid > div:first-child > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  color: rgba(255, 255, 255, 0.86);
}

.testimonials {
  background:
    linear-gradient(180deg, rgba(95, 18, 27, 0.98) 0%, rgba(127, 24, 37, 0.94) 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.testimonial-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 300px;
  padding: 24px;
}

.testimonial-card img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card p {
  margin: 0;
  color: rgba(36, 25, 35, 0.75);
}

.testimonial-card strong {
  margin-top: auto;
  color: var(--red-dark);
}

.faq {
  background:
    linear-gradient(180deg, rgba(127, 24, 37, 0.94) 0%, rgba(95, 18, 27, 0.98) 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
}

.accordion {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(75, 36, 53, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--red-dark);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

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

.contact .section-kicker,
.contact h2 {
  color: var(--gold);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.16);
  outline: none;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.footer-logo {
  display: block;
  width: min(340px, 100%);
  height: auto;
}

.footer-logo-wrap {
  display: block;
  max-width: min(340px, 100%);
  margin: 0 0 16px;
}

.footer-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-contact a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: 0 0 auto;
}

.footer-map {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 178px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(222, 180, 131, 0.24);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(222, 180, 131, 0.18), rgba(95, 18, 27, 0.5)),
    repeating-linear-gradient(25deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 32px),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 34px),
    #331015;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.footer-map:hover {
  transform: translateY(-3px);
  border-color: rgba(222, 180, 131, 0.44);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.footer-map .map-pin {
  position: absolute;
  top: 42px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--red-dark);
  background: var(--gold);
  transform: translateX(-50%);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.footer-map .map-pin svg {
  width: 25px;
  height: 25px;
}

.footer-map .map-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 19%, rgba(222, 180, 131, 0.3) 20%, transparent 21%),
    linear-gradient(0deg, transparent 44%, rgba(255, 255, 255, 0.18) 45%, transparent 46%),
    radial-gradient(circle at 50% 54%, rgba(222, 180, 131, 0.16), transparent 30%);
  pointer-events: none;
}

.footer-map strong,
.footer-map small {
  position: relative;
  z-index: 1;
}

.footer-map strong {
  font-size: 1.05rem;
}

.footer-map small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
}

.floating-whatsapp {
  position: fixed;
  z-index: 25;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.34);
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portraitDrift {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(10px) scale(1.015);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.34);
  }

  50% {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 42px rgba(37, 211, 102, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    gap: 14px;
    backdrop-filter: none;
  }

  .main-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 188px;
    max-width: 54vw;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media {
    top: 82px;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 560px;
    opacity: 0.52;
    filter: none;
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-media img {
    object-position: center 6%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(33, 19, 19, 0.72) 0%, rgba(95, 18, 27, 0.86) 52%, rgba(33, 19, 19, 0.72) 100%);
  }

  .hero-inner {
    padding-top: 116px;
  }

  .trust-grid,
  .intro-grid,
  .method-grid,
  .profile-grid,
  .faq-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .area-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    height: 68px;
    padding: 0 14px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .header-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .hero {
    min-height: 800px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9.6vw, 2.85rem);
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
    padding: 0 16px;
  }

  .section {
    padding: 68px 0;
  }

  .area-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    min-height: 470px;
  }

  .contact-form {
    padding: 20px;
  }
}
