/* ==========================================================================
   OAK BLINK — Landing page
   Paleta extraída da identidade visual da marca:
   Verde principal #2E8460 | Ameixa #5B4956 | Verde-limão #8CBF42 | Creme #FFFFEF
   ========================================================================== */

:root {
  --green: #2E8460;
  --green-dark: #1F5E44;
  --green-light: #E8F3EE;
  --plum: #5B4956;
  --plum-dark: #3E323C;
  --lime: #8CBF42;
  --cream: #FFFFEF;
  --white: #FFFFFF;
  --ink: #2B2530;
  --muted: #6E6570;
  --border: #E7E1D8;

  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(43, 37, 48, 0.08);
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--plum-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { line-height: 1.65; color: var(--muted); margin: 0 0 1em; }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cascata: cada card do grupo entra um pouco depois do anterior */
.benefits-grid .benefit-card:nth-child(1) { transition-delay: 0s; }
.benefits-grid .benefit-card:nth-child(2) { transition-delay: 0.1s; }
.benefits-grid .benefit-card:nth-child(3) { transition-delay: 0.2s; }
.benefits-grid .benefit-card:nth-child(4) { transition-delay: 0.3s; }

.resale-grid .benefit-card:nth-child(1) { transition-delay: 0s; }
.resale-grid .benefit-card:nth-child(2) { transition-delay: 0.12s; }
.resale-grid .benefit-card:nth-child(3) { transition-delay: 0.24s; }

.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.32s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.4s; }

/* ---------- Animações reutilizáveis ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 16px rgba(43, 37, 48, 0.08); }
  50% { box-shadow: 0 8px 22px rgba(46, 132, 96, 0.35); }
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.08); }
  66% { transform: translate(-18px, 14px) scale(0.95); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(43, 37, 48, 0.08);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(43, 37, 48, 0.14);
}

.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover::after { left: 130%; }

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-cta-pulse { animation: pulseGlow 2.8s ease-in-out infinite; }
.btn-cta-pulse:hover { animation-play-state: paused; }

.btn-ghost {
  background: transparent;
  border-color: var(--plum);
  color: var(--plum);
}
.btn-ghost:hover { background: var(--plum); color: var(--white); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 239, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.brand-logo { height: 40px; width: auto; }

.nav {
  display: flex;
  gap: 24px;
  margin: 0 auto;
}

.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--plum-dark);
  position: relative;
  padding: 6px 0;
}
.nav a:hover { color: var(--green); }

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.brand-logo { transition: transform 0.25s ease; }
.brand:hover .brand-logo { transform: scale(1.05) rotate(-2deg); }

.header-cta { flex-shrink: 0; }

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--plum-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero { padding-top: 88px; padding-bottom: 72px; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 14px;
}

.eyebrow-light { color: var(--lime); }

.hero-text h1 {
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.18;
  margin-bottom: 20px;
  color: var(--plum-dark);
}

.hero-lead {
  font-size: 18px;
  max-width: 46ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero { position: relative; overflow: hidden; }

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  animation: blobMove 12s ease-in-out infinite;
  pointer-events: none;
}
.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(140, 191, 66, 0.22);
  top: -80px;
  right: 8%;
}
.hero::after {
  width: 260px;
  height: 260px;
  background: rgba(46, 132, 96, 0.16);
  bottom: -60px;
  left: 4%;
  animation-delay: -6s;
}

.hero-inner { position: relative; z-index: 1; }

.hero-visual {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.hero-illustration {
  width: 100%;
  height: auto;
  animation: float 5s ease-in-out infinite;
}

/* ---------- Section headings ---------- */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.section-lead { font-size: 17px; }
.section-lead-light { color: #D9D0DC; }

/* ---------- Sobre / Benefits ---------- */
.sobre { background: var(--white); }

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

.benefit-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.benefit-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.3s ease;
}
.benefit-card:hover .benefit-icon {
  transform: scale(1.2) rotate(-6deg);
}

.benefit-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.benefit-card p { font-size: 14px; margin: 0; }

/* ---------- Serviços ---------- */
.servicos { background: var(--cream); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--lime);
  background: var(--plum-dark);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.service-card:hover .service-number {
  transform: scale(1.12);
  background: var(--green);
}

.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; margin: 0; }

.process {
  margin-top: 72px;
  background: var(--plum-dark);
  border-radius: 24px;
  padding: 48px;
}

.process-title {
  color: var(--white);
  text-align: center;
  font-size: 20px;
  margin-bottom: 32px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  color: var(--white);
  border-left: 1px solid rgba(255,255,255,0.15);
  padding: 0 16px;
}
.process-step:first-child { border-left: none; }

.process-day {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--lime);
  font-size: 15px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.process-step p { color: #EDE7EA; margin: 0; font-size: 15px; }

/* ---------- Seja revendedor ---------- */
.revenda { background: var(--white); }

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

.process-alt {
  background: var(--green-dark);
  background: linear-gradient(160deg, var(--green-dark), var(--plum-dark));
}
.process-alt .process-day { color: var(--cream); }

.section-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Contato ---------- */
.contato {
  background: var(--green-dark);
  background: linear-gradient(160deg, var(--green-dark), var(--plum-dark));
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contato h2 { color: var(--white); }

.contact-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 14px;
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lime);
  font-weight: 700;
}

.contact-list a { color: var(--white); font-size: 17px; font-weight: 600; }
.contact-list a:hover { color: var(--lime); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--plum-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}

.contact-form select { cursor: pointer; }

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

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-dark);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
  color: #C9C1CB;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .resale-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-inner {
    height: auto;
    min-height: 84px;
  }

  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }

  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    z-index: 90;
  }

  body.nav-open .nav a {
    font-size: 16px;
    padding: 10px 0;
  }

  body.nav-open .nav-cta-mobile {
    display: inline-flex;
    justify-content: center;
    margin-top: 6px;
  }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .benefits-grid,
  .services-grid,
  .resale-grid { grid-template-columns: 1fr; }
  .process { padding: 32px 20px; }
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .process-step { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); padding: 20px 0 0; }
  .process-step:first-child { border-top: none; padding-top: 0; }
  .hero-visual { padding: 20px; }
}
