/* ============ VARIÁVEIS ============ */
:root {
  --primary: #4b220e;
  --primary-dark: #341708;
  --primary-light: #f1dce0;
  --accent: #f1dce0;
  --accent-deep: #c08a9a;
  --tint: #f5ebea;
  --ink: #2f2118;
  --muted: #7c6a5f;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(75, 34, 14, 0.12);
  --shadow-lg: 0 20px 45px rgba(75, 34, 14, 0.2);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

/* ============ RESET ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ============ UTILITÁRIOS ============ */
.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tint,
.cta-final {
  background: var(--tint);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(241, 220, 224, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-logo {
  height: 44px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
}

.nav-social {
  display: flex;
  gap: 0.5rem;
}

.nav-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(241, 220, 224, 0.6), transparent 60%),
    radial-gradient(50% 70% at 5% 90%, rgba(75, 34, 14, 0.08), transparent 60%),
    var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.2rem;
}

.accent {
  color: var(--accent-deep);
  font-style: italic;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stats span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-curve {
  position: absolute;
  inset: -12% -18%;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.hero-curve img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(-8deg);
}

.hero-photo {
  position: relative;
  width: min(100%, 360px);
  z-index: 1;
}

.hero-photo > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
}

.hero-img {
  object-position: 50% 12%;
}

.hero-card {
  position: absolute;
  bottom: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 92%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-card-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-card strong {
  display: block;
  font-size: 0.95rem;
}

.hero-card small {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ============ SOBRE ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-media {
  position: relative;
}

.about-media-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}

.about-media-badge img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.about-grid p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.check-list {
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ============ CARDS ============ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* ============ ACCORDION ============ */
.accordion {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid rgba(75, 34, 14, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
}

.accordion-head:hover {
  background: var(--primary-light);
}

.module-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
}

.accordion-arrow {
  margin-left: auto;
  color: var(--primary);
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 1.4rem;
}

.accordion-item.open .accordion-body {
  padding-bottom: 1.2rem;
}

/* ============ PRICING ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.price-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.currency {
  font-size: 1.4rem;
  vertical-align: 0.4em;
}

.price-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.4rem;
}

.price-card ul {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  flex: 1;
}

.price-card ul li {
  position: relative;
  padding-left: 1.7rem;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============ LEAD FORM ============ */
.lead-form-wrap {
  max-width: 780px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  text-align: center;
}

.lead-form-wrap h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 0.8rem;
}

.lead-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(75, 34, 14, 0.3);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.lead-form input.error {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12);
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-feedback.success {
  color: var(--primary-dark);
}

.form-feedback.error {
  color: #d64545;
}

/* ============ TESTIMONIALS ============ */
.testimonial p {
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word; /* fallback de suporte */
  hyphens: auto;
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(75, 34, 14, 0.18);
  border: 2px solid var(--primary-light);
}

.testimonial-meta strong {
  display: block;
  font-size: 0.98rem;
}

.testimonial-meta small {
  color: var(--muted);
  font-size: 0.8rem;
}

.stars {
  color: #f5b301;
  letter-spacing: 0.15em;
  margin-bottom: 0.9rem;
}

/* ============ CTA FINAL ============ */
.cta-final {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

.cta-final-inner {
  max-width: 640px;
}

.cta-final h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: #cfc3cc;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer .brand {
  color: var(--white);
  justify-content: center;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.9rem;
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.footer-links a {
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-note {
  font-size: 0.8rem;
  color: #8d8191;
}

/* ============ WHATSAPP FLUTUANTE ============ */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.wa-float-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wa-float:hover .wa-float-tip {
  opacity: 1;
}

/* ============ BARRA MOBILE ============ */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  display: none;
  grid-template-columns: auto auto 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: var(--white);
  box-shadow: 0 -6px 20px rgba(47, 33, 24, 0.12);
}

.mobile-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
}

.mobile-bar-cta {
  color: var(--white);
  background: var(--primary);
}

.mobile-bar-cta:hover {
  background: var(--primary-dark);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============ HEADER SCROLLED ============ */
.header.scrolled {
  box-shadow: 0 8px 24px rgba(47, 33, 24, 0.08);
}

/* ============ RESPONSIVO ============ */
@media (max-width: 980px) {
  .nav-links {
    gap: 1rem;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .about-media img {
    max-width: 480px;
    margin-inline: auto;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-bar {
    display: grid;
  }

  .wa-float {
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .wa-float-tip {
    display: none;
  }

  .body-has-mobilebar {
    padding-bottom: 4rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(75, 34, 14, 0.15);
    padding: 1.25rem 5%;
    gap: 1.1rem;
    box-shadow: var(--shadow);
  }

  .hero-stats {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}