﻿/* ==============================
   Tokens / Cores base
================================ */
:root {
  --bg: #f7f2ec;
  --dark: #171713;
  --dark-2: #22221d;
  --card: #fff;
  --border: #dfd6cc;
  --sep: #e8ded4;
  --accent: #ff4d00;
  --accent-h: #e64400;
  --txt: #1a1917;
  --muted: #69615a;
  --light: #f8f3ee;
  --shadow-sm: 0 8px 24px rgba(33, 24, 15, 0.08);
  --shadow-md: 0 18px 46px rgba(33, 24, 15, 0.14);
}

/* ==============================
   Reset / Base
================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

button {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: auto;
}

.section {
  padding: 96px 0;
}

/* ==============================
   Tipografia utilitária
================================ */
.title {
  font-family: "Fraunces", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
  margin: 0 0 16px;
  letter-spacing: 0;
}

.center {
  text-align: center;
}

.label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}

.text {
  color: var(--muted);
  margin: 0 0 16px;
  max-width: 720px;
}

/* ==============================
   Botões
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  border-radius: 8px;
  min-height: 46px;
  padding: 12px 20px;
  font-weight: 700;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 77, 0, 0.24);
}

.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 77, 0, 0.28);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 77, 0, 0.18);
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.full {
  width: 100%;
}

/* ==============================
   Reveal animation
================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.reveal-group .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.reveal-group .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

.reveal-group .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

/* ==============================
   Variações de fundo / texto
================================ */
.light {
  background: var(--bg);
}

.white {
  background: #fff;
}

.dark {
  background: var(--dark);
}

.light-title {
  color: var(--light);
}

.light-text {
  color: #9e9a94;
}

/* ==============================
   Widget flutuante WhatsApp
================================ */
.whatsapp-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
}

.whatsapp-float {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
  animation: pulse 1.7s infinite;
}

.whatsapp-float img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.whatsapp-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  color: #fff;
  color: #1e1e1a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 52px 0;
  }

  .title {
    margin-bottom: 12px;
  }

  .label {
    margin-bottom: 8px;
  }

  .text {
    margin-bottom: 12px;
  }
}
