/* ============================================================
   DESTAK GESSOS – Landing Page
   ============================================================ */

:root {
  --orange: #fd7927;
  --orange-light: #ff9756;
  --orange-soft: #fff5ef;
  --orange-translucent-peach: rgba(255, 195, 158, 0.55);
  --orange-translucent-deep: rgba(175, 79, 19, 0.22);
  --soft-beige: #f7f7f7;
  --gray-bg: #f8f8f8;
  --border: #eaeaea;
  --border-soft: #e9e9e9;
  --black: #262626;
  --text-dark: #1e1e1e;
  --text-muted: rgba(30, 30, 30, 0.78);
  --text-brand-gray: #868686;
  --text-brand-dark: #3c3c3c;
  --text-brand-deep: #232323;
  --text-brown: #452e20;
  --white: #ffffff;

  --container-w: 1060px;
  --container-w-wide: 1108px;

  --font-display: "Manrope", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --font-ui: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ============================== RESET ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p, blockquote { margin: 0; }

/* ============================== UTILS ============================== */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.container--wide { max-width: var(--container-w-wide); }

.text-accent { color: var(--orange); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--black);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.section-title--wide { max-width: 900px; }

/* ============================== BUTTONS ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 22px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(253, 121, 39, 0.28);
}
.btn--primary:hover {
  background: #e56a1e;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(253, 121, 39, 0.38);
}
.btn--white {
  background: #fff;
  color: var(--text-brown);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #d9d9d9;
  overflow: hidden;
}

.hero__inner {
  max-width: 1490px;
  margin: 0 auto;
  padding: 80px 60px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 760px;
  position: relative;
}

.hero__content {
  max-width: 510px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 42px;
  position: relative;
  z-index: 3;
}
.hero__text { min-width: 0; max-width: 100%; }
.hero__logo { display: inline-block; width: 250px; }
.hero__logo img { width: 100%; height: auto; object-fit: contain; }
.hero__text { display: flex; flex-direction: column; gap: 14px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.18;
  letter-spacing: -1.2px;
  color: var(--black);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  color: var(--black);
  max-width: 425px;
  overflow-wrap: anywhere;
}
.hero__content .btn { align-self: flex-start; }

/* hero visual (right side) — imagem composta com forma laranja */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 720px;
  justify-self: end;
}
.hero__visual-photo {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: 12px;
  overflow: visible;
}
.hero__visual-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* mobile picture comportamento contain para preservar a vertical */
@media (max-width: 760px) {
  .hero__visual-photo img {
    object-fit: contain;
    object-position: center bottom;
  }
}

/* security badge circle (bottom-left of photo) */
.hero__badge {
  --p-y: 0px;
  position: absolute;
  left: 20px;
  bottom: 120px;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transform: translate3d(0, var(--p-y), 0);
  will-change: transform;
}
.hero__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(253, 121, 39, 0.35));
}

/* brand card (gray box w/ pills) */
.hero__card {
  --p-y: 0px;
  position: absolute;
  right: 12px;
  top: 220px;
  width: 266px;
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  z-index: 6;
  transform: translate3d(0, var(--p-y), 0);
  will-change: transform;
}
.hero__card-brand { display: flex; flex-direction: column; gap: 2px; }
.hero__card-name {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 21px;
  line-height: 1;
  color: var(--text-brand-gray);
}
.hero__card-tag {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--text-brand-dark);
  letter-spacing: 0.2px;
}
.hero__card-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-brand-deep);
  line-height: 1;
}
.pill svg { width: 14px; height: 14px; flex-shrink: 0; }
.pill--peach { background: var(--orange-translucent-peach); color: #6e2e0a; }
.pill--peach svg { color: var(--orange); }
.pill--orange { background: var(--orange-translucent-deep); color: #5a2a10; }
.pill--orange svg { color: #af4f13; }

/* ============================================================
   SOLUÇÕES
   ============================================================ */
.solutions {
  padding: 110px 0;
  background: #fff;
}
.solutions__list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.solution-card {
  display: grid;
  grid-template-columns: 510px 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 36px;
  background: var(--soft-beige);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.solution-card--reverse { grid-template-columns: 1fr 510px; }
.solution-card--reverse .solution-card__image { order: 2; }
.solution-card--reverse .solution-card__body { order: 1; }

.solution-card__image {
  width: 100%;
  height: 332px;
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;
}
.solution-card__image img { width: 100%; height: 100%; object-fit: cover; }
.solution-card__body { display: flex; flex-direction: column; gap: 22px; }
.solution-card__icon {
  width: 56px;
  height: 56px;
  background: var(--orange-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(253, 121, 39, 0.15);
}
.solution-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--orange);
}
.solution-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1.4px;
  color: #000;
}
.solution-card__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  color: var(--text-muted);
  max-width: 421px;
}

/* ============================================================
   EMPRESA FORMAL (BENEFITS)
   ============================================================ */
.benefits {
  padding: 110px 0;
  background: #fff;
}
@media (min-width: 900px) {
  .benefits {
    background: #FFF5EF;
  }
}
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.benefit-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 26px;
  height: 263px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
/* Decorative arc — a thick-bordered rounded-square positioned so only its
   curved corner pokes into the card. Creates a curved swoosh effect. */
.benefit-card__arc {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 90px;
  border: 36px solid var(--orange);
  right: -240px;
  top: -160px;
  transform: rotate(28deg);
  pointer-events: none;
  z-index: 0;
}
.benefit-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
  color: var(--orange);
}
.benefit-card__icon svg { width: 100%; height: 100%; }
.benefit-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #000;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  max-width: 420px;
}
.benefit-card__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  max-width: 440px;
}

/* ============================================================
   QUOTE BANNER
   ============================================================ */
.quote-banner {
  position: relative;
  background: var(--orange);
  padding: 90px 24px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid #dbd4d0;
  border-bottom: 1px solid #dbd4d0;
}
.quote-banner .container { position: relative; z-index: 2; }

.quote-banner__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: #fff;
  max-width: 1040px;
  margin: 0 auto 18px;
}
.quote-banner__author {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: rgba(255, 239, 229, 0.92);
}

/* ============================================================
   AUDIENCE (PARA QUEM)
   ============================================================ */
.audience { padding: 110px 0; background: #fff; }
.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.audience-card {
  background: var(--orange-soft);
  border: 1px solid rgba(253, 121, 39, 0.08);
  border-radius: 16px;
  min-height: 250px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.audience-card__icon {
  width: 50px;
  height: 50px;
  background: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.audience-card__icon svg { width: 26px; height: 26px; }
.audience-card__body { display: flex; flex-direction: column; gap: 10px; }
.audience-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #000;
}
.audience-card__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-muted);
}

/* ============================================================
   COMO FUNCIONA (PROCESS)
   ============================================================ */
.process { padding: 110px 0; background: #fff; }
.process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.step-card {
  position: relative;
  height: 442px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #2a2a2a;
  border: 1px solid var(--border-soft);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  isolation: isolate;
}
.step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.step-card__badge {
  position: relative;
  z-index: 2;
  background: var(--orange);
  color: #1a1a1a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
  padding: 8px 14px;
  border-radius: 100px;
  align-self: flex-start;
}
.step-card__body {
  position: relative;
  z-index: 2;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #fff;
}
.step-card__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta {
  position: relative;
  background: var(--orange);
  padding: 90px 20px;
  overflow: hidden;
  text-align: center;
}
.cta .container { position: relative; z-index: 2; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: #fff;
  margin-bottom: 16px;
}
.cta__subtitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 36px;
  opacity: 0.95;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid #ececec;
}
.footer p {
  font-family: var(--font-display);
  font-size: 16px;
  color: #6b6b6b;
  line-height: 1.5;
}

/* ============================================================
   WHATSAPP FLOATING
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
}
.whatsapp-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-float:hover { transform: translateY(0) scale(1.08); background: #1fb554; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ============================================================
   SCROLL ANIMATIONS — fade in/out bidirecional
   ============================================================ */
.reveal {
  --reveal-y: 40px;
  --reveal-x: 0px;
  --reveal-scale: 1;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* direction variants */
.reveal--left  { --reveal-x: -50px; --reveal-y: 0px; }
.reveal--right { --reveal-x:  50px; --reveal-y: 0px; }
.reveal--up    { --reveal-y:  60px; }
.reveal--down  { --reveal-y: -40px; }
.reveal--zoom  { --reveal-scale: 0.94; --reveal-y: 20px; }

/* stagger via inline custom prop set by JS — falls back to none */
.reveal { transition-delay: var(--reveal-delay, 0s); }

@media (prefers-reduced-motion: reduce) {
  .reveal, html {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .hero__inner { padding: 60px 32px; gap: 30px; min-height: auto; }
  .hero__title { font-size: 42px; }
  .hero__visual { max-width: 540px; height: 620px; }
  .hero__card { right: 8px; top: 200px; width: 240px; }
  .hero__badge { left: 10px; bottom: 100px; }

  .solution-card { grid-template-columns: 460px 1fr; gap: 32px; }
  .solution-card--reverse { grid-template-columns: 1fr 460px; }
  .solution-card__image { height: 300px; }
  .solution-card__title { font-size: 28px; }

  .quote-banner__text { font-size: 40px; }
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 70px;
    padding: 60px 28px;
  }
  .hero__content { max-width: 100%; align-items: flex-start; }
  .hero__visual {
    justify-self: center;
    max-width: 460px;
    height: 540px;
  }
  .hero__card { right: 0; top: 260px; }
  .hero__badge { left: 0; bottom: 90px; }

  .solution-card,
  .solution-card--reverse { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .solution-card--reverse .solution-card__image { order: 1; }
  .solution-card--reverse .solution-card__body { order: 2; }
  .solution-card__image { height: 280px; max-width: 100%; }

  .benefits__grid,
  .audience__grid,
  .process__grid { grid-template-columns: 1fr; }
  .benefit-card { height: auto; min-height: 220px; }
  .audience-card { min-height: auto; }
  .step-card { height: 380px; }

  .quote-banner__text { font-size: 34px; }
  .quote-banner { padding: 70px 20px; }

  .section-title { font-size: 38px; margin-bottom: 50px; }
  .cta__title { font-size: 36px; }
}

@media (max-width: 600px) {
  .hero__inner { padding: 36px 18px; gap: 36px; }
  .hero__title {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.4px;
    padding-right: 4px;
  }
  .hero__subtitle { font-size: 14px; line-height: 1.45; padding-right: 4px; }
  .hero__logo { width: 170px; }
  .hero__content { gap: 22px; max-width: 100%; min-width: 0; }
  .hero__text { max-width: 100%; min-width: 0; }
  .btn { padding: 16px 18px; font-size: 16px; }

  .hero__visual { height: 460px; max-width: 100%; }
  .hero__visual-photo img { object-fit: contain; object-position: center center; }
  .hero__card {
    right: 0;
    top: auto;
    bottom: 14px;
    width: 200px;
    padding: 10px 12px;
  }
  .hero__card-name { font-size: 18px; }
  .hero__card-tag  { font-size: 11px; }
  .hero__badge {
    left: 4px;
    bottom: 20px;
    width: 64px;
    height: 64px;
  }
  .hero__badge svg { width: 32px; height: 32px; }

  .section-title { font-size: 28px; margin-bottom: 36px; }
  .solutions, .benefits, .audience, .process { padding: 70px 0; }
  .solution-card { padding: 22px 18px; }
  .solution-card__image { height: 220px; }
  .solution-card__title { font-size: 22px; }
  .solution-card__text { font-size: 16px; }

  .benefit-card, .audience-card { padding: 22px 18px; }
  .benefit-card__title, .audience-card__title { font-size: 20px; }
  .benefit-card__text, .audience-card__text { font-size: 15px; }
  .benefit-card__arc { width: 220px; height: 220px; border-width: 24px; right: -140px; top: -90px; }

  .quote-banner { padding: 60px 16px; }
  .quote-banner__text { font-size: 24px; }
  .quote-banner__author { font-size: 16px; }
  .quote-star { display: none; }

  .step-card { height: 320px; padding: 26px 22px; }
  .step-card__title { font-size: 20px; }
  .step-card__text { font-size: 15px; }

  .cta { padding: 60px 18px; }
  .cta__title { font-size: 28px; }
  .cta__subtitle { font-size: 16px; margin-bottom: 28px; }
  .cta-star { display: none; }

  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
