:root {
  --orange: #f7931e;
  --green: #00a859;
  --brown: #6b4b25;
  --yellow: #ffcc00;

  --ink: #2b2926;
  --muted: #5b5148;
  --cream: #fff6e6;
  --paper: #fffaf0;

  --shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    Helvetica, sans-serif;
  color: var(--ink);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* HEADER */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand .name {
  font-weight: 800;
  color: var(--brown);
  letter-spacing: 0.06em;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.1;
}

nav {
  position: relative;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--orange);
  border-color: var(--orange);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.menu-btn:focus-visible {
  outline: 2px solid var(--green);
}

.menu-btn .bar,
.menu-btn .bar::before,
.menu-btn .bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  position: relative;
  margin: 0 auto;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.menu-btn .bar::before,
.menu-btn .bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn .bar::before {
  top: -7px;
}

.menu-btn .bar::after {
  top: 7px;
}

header.nav-open .menu-btn .bar {
  transform: rotate(45deg);
}

header.nav-open .menu-btn .bar::before {
  transform: rotate(-90deg);
  top: 0;
}

header.nav-open .menu-btn .bar::after {
  opacity: 0;
}

/* TIPOGRAFIA */

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0.005em;
}

p {
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.lead {
  font-size: clamp(1.05rem, 0.8vw + 1rem, 1.25rem);
  color: var(--ink);
  text-align: center;
}

/* LAYOUT BASE */

main {
  flex: 1;
  padding-block: var(--space-6);
}

.section {
  margin-block: var(--space-6);
  text-align: center;
}

.section h2 {
  font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2rem);
  color: var(--green);
  margin-bottom: var(--space-3);
}

.section .content {
  max-width: 68ch;
  margin-inline: auto;
}

/* HERO */

.hero {
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-6) var(--space-5);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.3vw + 0.8rem, 3.1rem);
  color: var(--orange);
  margin-bottom: var(--space-2);
}

.hero p {
  margin-inline: auto;
  max-width: 60ch;
}

.hero .cta {
  display: inline-block;
  margin-top: var(--space-3);
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 168, 89, 0.18);
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    background 0.2s;
}

.hero .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 168, 89, 0.24);
}

.hero-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.hero-media img {
  width: 100%;
  height: auto;
}

/* GRIDS / CARDS */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow);
  text-align: center;
}

.card h3 {
  color: var(--brown);
  margin-bottom: var(--space-1);
}

/* FORMULÁRIOS */

form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 520px;
  margin: var(--space-3) auto 0;
  text-align: center;
}

input,
textarea {
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
  font-size: 1rem;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--green);
  border-color: transparent;
}

button.cta {
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 168, 89, 0.18);
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    background 0.2s;
}

button.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 168, 89, 0.24);
}

/* FOOTER */

footer {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer p {
  color: var(--brown);
  text-align: center;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* MENU MOBILE */

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  }

  header.nav-open nav {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
  }

  nav a {
    display: block;
    padding: 14px 20px;
    border-bottom: 0;
  }

  body.menu-open {
    overflow: hidden;
  }
}

/* CARROSSEL */

.carousel {
  position: relative;
  margin-top: 16px;
  user-select: none;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: #fff;
  aspect-ratio: 16 / 9;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--brown);
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.carousel-btn.prev {
  left: -6px;
}

.carousel-btn.next {
  right: -6px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.carousel-dots button[aria-current="true"] {
  width: 28px;
  background: var(--green);
}

@media (max-width: 860px) {
  .carousel-btn.prev {
    left: 4px;
  }

  .carousel-btn.next {
    right: 4px;
  }
}

/* WHATSAPP BOTÃO + FAB */

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    background 0.2s;
}

.wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  background: #1ebe5d;
}

.wa-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: #fff;
}

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(37, 211, 102, 0.35);
  z-index: 60;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.2s;
}

.wa-fab:hover {
  transform: translateY(-1px) scale(1.03);
  background: #1ebe5d;
}

.wa-fab svg {
  width: 26px;
  height: 26px;
  display: block;
}

@media (max-width: 480px) {
  .wa-fab {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

/* INSTAGRAM — MESMO PADRÃO DO WHATSAPP */

.insta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  margin-left: 12px; /* espaçamento em relação ao botão do WhatsApp */
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.35);
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    background 0.2s;
}

.insta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(221, 42, 123, 0.45);
}

.insta-btn .insta-icon {
  width: 20px;
  height: 20px;
  display: block;
}
.social-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

/* remove o margin-top individual quando estiver dentro do wrapper */
.social-actions .wa-btn,
.social-actions .insta-btn {
  margin-top: 0;
}
