/* ============================================================
   Erika Arcanjo — design system 2026
   Paleta: marsala + nude + off-white
   Tipografia: Fraunces (display) + Inter (texto)
   ============================================================ */

:root {
  --bg: #faf6f3;
  --surface: #ffffff;
  --surface-alt: #f3ebe6;
  --line: #e7d6cf;
  --text: #221619;
  --muted: #6a545c;
  --primary: #8e2c33;
  --primary-dark: #6f1f26;
  --primary-soft: #f4e2e3;
  --accent: #c9a36b;          /* dourado discreto */
  --shadow-sm: 0 4px 14px rgba(56, 26, 32, 0.06);
  --shadow-lg: 0 28px 60px -20px rgba(56, 26, 32, 0.22);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

/* Acessibilidade */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

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

/* ============================ HEADER ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 246, 243, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(142, 44, 51, 0.08);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 44px; width: auto; object-fit: contain; }

.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.desktop-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width .3s var(--ease);
}
.desktop-nav a:not(.nav-cta):hover { color: var(--primary); }
.desktop-nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-cta {
  min-height: 44px; padding: 0 22px;
  background: var(--primary); color: #fff !important;
  box-shadow: 0 6px 18px rgba(142, 44, 51, .25);
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.menu-toggle, .menu-close {
  border: 0; background: transparent; cursor: pointer; color: var(--text);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.menu-toggle:hover, .menu-close:hover { background: var(--primary-soft); }
.menu-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0 -100% 0 auto;
  width: min(340px, 90%);
  background: var(--bg);
  box-shadow: -24px 0 60px rgba(35, 25, 28, 0.16);
  padding: 24px;
  transition: right .35s var(--ease);
  z-index: 1500;
}
.mobile-menu.active { right: 0; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; font-weight: 700; font-family: 'Fraunces', serif; font-size: 1.2rem;
}
.mobile-nav { display: grid; gap: 4px; }
.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 1.05rem;
}
.mobile-nav a:last-child {
  margin-top: 18px;
  border: 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: 999px;
  padding: 14px 22px;
}
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(34, 22, 25, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
  z-index: 1400;
}
.menu-overlay.active { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 64px;
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(201, 163, 107, 0.15), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(142, 44, 51, 0.08), transparent 70%),
    linear-gradient(180deg, #fbf6f4 0%, #f3e8e6 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow, .section-tag {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin-top: 20px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}
.hero-copy h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}
.hero-copy > p {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.btn { min-height: 54px; padding: 0 26px; font-size: 0.98rem; }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 14px 32px -8px rgba(142, 44, 51, 0.45);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 18px 36px -8px rgba(142, 44, 51, 0.55); }
.btn-secondary {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }

.hero-highlights { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
.hero-highlights li {
  position: relative; padding-left: 28px;
  color: var(--text); font-weight: 500; font-size: 0.97rem;
}
.hero-highlights li::before {
  content: "✓";
  position: absolute; left: 0; top: -1px;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary);
  border-radius: 50%; font-size: 0.75rem; font-weight: 700;
}

.hero-visual { display: flex; justify-content: center; }
.hero-card {
  width: min(480px, 100%);
  padding: 16px;
  border: 1px solid rgba(142, 44, 51, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: ""; position: absolute; inset: -8px;
  background: linear-gradient(135deg, transparent, rgba(201, 163, 107, 0.2));
  border-radius: inherit; z-index: -1;
}
.hero-image-wrap {
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.4), transparent 35%),
    linear-gradient(180deg, #c47c94 0%, #8e2c33 70%, #6f1f26 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ============================ TRUST BAR ============================ */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid rgba(142, 44, 51, 0.06);
  border-bottom: 1px solid rgba(142, 44, 51, 0.06);
  padding: 24px 0;
}
.trust-items {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  text-align: center;
}
.trust-items div { display: grid; gap: 4px; }
.trust-items strong {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem; font-weight: 600;
  color: var(--primary);
}
.trust-items span { color: var(--muted); font-size: 0.92rem; }

/* ============================ SECTIONS ============================ */
.section { padding: 96px 0; }

.section-heading { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2, .about-copy h2, .final-cta-box h2 {
  margin-top: 16px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.services { background: var(--surface-alt); }

/* Carrossel */
.services-carousel { position: relative; }
.services-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.services-grid::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 auto;
  width: min(320px, 80vw);
  background: var(--surface);
  border: 1px solid rgba(142, 44, 51, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(142, 44, 51, 0.18);
}
.service-card img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: calc(var(--radius-md) - 10px); margin-bottom: 18px;
}
.service-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.2rem; margin-bottom: 8px; color: var(--text);
}
.service-card p { color: var(--muted); font-size: 0.95rem; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  font-size: 1.4rem; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.carousel-btn:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-btn-left { left: -22px; }
.carousel-btn-right { right: -22px; }

/* ============================ DIFFERENTIALS ============================ */
.differentials-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.diff-card {
  background: var(--surface);
  border: 1px solid rgba(142, 44, 51, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.diff-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft); color: var(--primary);
  border-radius: 14px; font-size: 1.4rem; margin-bottom: 18px;
}
.diff-card h3 {
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 1.25rem; margin-bottom: 10px;
}
.diff-card p { color: var(--muted); font-size: 0.97rem; }

/* ============================ ABOUT ============================ */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 56px; align-items: center;
}
.about-copy p { margin-top: 18px; color: var(--muted); max-width: 52ch; }
.about-cta { margin-top: 28px; }

.about-panel {
  background: var(--surface);
  border: 1px solid rgba(142, 44, 51, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid; gap: 22px;
  box-shadow: var(--shadow-sm);
}
.panel-item {
  display: grid; gap: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.panel-item:last-child { padding-bottom: 0; border-bottom: 0; }
.panel-item strong { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem; }
.panel-item span { color: var(--muted); font-size: 0.95rem; }

/* ============================ TESTIMONIALS ============================ */
.testimonials { background: var(--surface-alt); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid rgba(142, 44, 51, 0.08);
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute; top: 6px; left: 18px;
  font-family: 'Fraunces', serif; font-size: 4rem; line-height: 1;
  color: var(--primary); opacity: .25;
}
.testimonial blockquote {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 1.05rem; color: var(--text); line-height: 1.55;
  position: relative; z-index: 1;
}
.testimonial figcaption { margin-top: 16px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* ============================ FINAL CTA ============================ */
.final-cta { padding-bottom: 120px; }
.final-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.final-cta-box::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  border-radius: 50%;
}
.final-cta-box .section-tag { background: rgba(255,255,255,.18); color: #fff; }
.final-cta-box h2 { color: #fff; }
.final-cta-box p { color: rgba(255,255,255,.85); margin-top: 14px; max-width: 50ch; }
.final-cta-box .btn-primary {
  background: #fff; color: var(--primary);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  flex-shrink: 0;
}
.final-cta-box .btn-primary:hover { background: var(--bg); color: var(--primary-dark); }

/* ============================ FOOTER ============================ */
.site-footer {
  padding: 36px 0 110px;
  border-top: 1px solid rgba(142, 44, 51, 0.08);
  background: var(--surface);
}
.footer-wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer-wrap strong { font-family: 'Fraunces', serif; font-size: 1.15rem; }
.footer-wrap p { color: var(--muted); font-size: 0.92rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  color: var(--muted); font-weight: 500; font-size: 0.95rem;
  transition: color .25s var(--ease);
}
.footer-links a:hover { color: var(--primary); }
.footer-copy { width: 100%; text-align: center; font-size: 0.85rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }

/* ============================ WHATSAPP FLOAT ============================ */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: pulseWa 2.4s ease-out infinite;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55); }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* ============================ ANIMATIONS ============================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .differentials-grid,
  .testimonials-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }
  .trust-items { grid-template-columns: repeat(3, 1fr); }

  .footer-wrap { flex-direction: column; align-items: flex-start; text-align: left; }
  .final-cta-box { flex-direction: column; align-items: flex-start; padding: 40px; }

  .hero { padding: 56px 0 48px; }
  .section { padding: 72px 0; }

  .carousel-btn-left { left: 4px; }
  .carousel-btn-right { right: 4px; }
}

@media (max-width: 640px) {
  .nav-wrap { min-height: 64px; }
  .brand img { height: 38px; }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .trust-items strong { font-size: 1.25rem; }
  .trust-items span { font-size: 0.82rem; }
  .final-cta-box { padding: 32px 24px; }
  .diff-card, .testimonial { padding: 26px; }
  .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
