/* =========================================================
   DELTA DISTRIBUIDORA · LINK NA BIO
   Rev.Labs · V4 · mobile first
   ========================================================= */

:root {
  --green: #214d32;
  --green-deep: #163923;
  --green-bright: #4c9f28;
  --orange: #f47a21;
  --orange-dark: #c95a10;
  --cream: #f5f1e9;
  --paper: #ffffff;
  --ink: #1f2a23;
  --muted: #56615a;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  background: #dfe0d8;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #dfe0d8;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: max(22px, env(safe-area-inset-top)) var(--gutter) 0;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.hero__shape {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 260px;
  right: -128px;
  top: -176px;
  border-radius: 44px;
  background: var(--orange);
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  width: auto;
  max-width: 112px;
  max-height: 64px;
  object-fit: contain;
}

.hero__official {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__copy {
  padding-top: 30px;
  max-width: 420px;
}

.hero h1 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(40px, 11.4vw, 56px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero h1 span { color: var(--orange); }

.hero__lead {
  max-width: 360px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* =========================================================
   LINKS PRINCIPAIS
   ========================================================= */

.links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.primary-link {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 13px 12px 22px;
  border-radius: 20px;
  color: #fff;
  background: var(--green);
  transition: transform .2s ease, background .2s ease;
}

.primary-link:hover { transform: translateY(-2px); background: var(--green-deep); }

.primary-link__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.primary-link__copy strong { font-size: 17px; font-weight: 800; }

.primary-link__copy small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.primary-link__arrow {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--green-deep);
  background: var(--orange);
}

.primary-link__arrow svg { width: 20px; height: 20px; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-link {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 10px;
  border-radius: 16px;
  color: #fff;
  transition: transform .2s ease, filter .2s ease;
}

.quick-link:hover { transform: translateY(-2px); filter: brightness(.96); }

.quick-link--elix { color: var(--green-deep); background: var(--orange); }
.quick-link--market { background: var(--green-deep); }
.quick-link--whatsapp { background: var(--green-bright); }
.quick-link__avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.7); }
.quick-link--instagram { background: var(--green-bright); }
.quick-link--contact { color: var(--green-deep); background: var(--paper); }

.quick-link__icon {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.18);
}

.quick-link--elix .quick-link__icon { background: rgba(255,255,255,.28); }
.quick-link--contact .quick-link__icon { color: #fff; background: var(--green); }

.quick-link__icon svg { width: 17px; height: 17px; }

/* rótulo quebra linha em vez de ser cortado */
.quick-link__label {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
}

/* convite para rolar: discreto, faz parte do hero */

/* =========================================================
   CONTEÚDO
   ========================================================= */

.content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px var(--gutter) 48px;
  background: var(--cream);
}


/* ---------- base comum dos cards ---------- */

.feature-card,
.shop-card,
.business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  transition: transform .25s ease;
}

.feature-card:hover,
.shop-card:hover,
.business-card:hover { transform: translateY(-3px); }

.feature-card h3,
.shop-card h3,
.business-card h3 {
  margin: 0;
  font-size: clamp(26px, 7vw, 32px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.feature-card p,
.shop-card p,
.business-card p {
  margin: 12px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.card-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.card-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.card-cta svg { width: 17px; height: 17px; flex: 0 0 auto; }

.card-cta--orange { color: var(--green-deep); background: var(--orange); }
.card-cta--green { color: #fff; background: var(--green-deep); }

/* ---------- Elix ---------- */

.feature-card { background: var(--paper); }

.feature-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 340px;
  width: 100%;
  overflow: hidden;
  background: var(--green-deep);
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.feature-card__copy { padding: 24px 22px 26px; }
.feature-card h3 { color: var(--green-deep); }
.feature-card p { color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.text-link svg { width: 17px; height: 17px; }

/* ---------- Loja ---------- */

.shop-card {
  gap: 22px;
  padding: 26px 22px 24px;
  color: #fff;
  background: var(--green-deep);
}

.shop-card .card-label { color: #ffad70; }
.shop-card p { color: rgba(255,255,255,.82); }

.shop-card__visual {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: var(--green);
}

.shop-card__visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Comercial ---------- */

.business-card {
  gap: 24px;
  padding: 28px 22px 24px;
  color: var(--green-deep);
  background: var(--orange);
}

.business-card__mark {
  position: absolute;
  right: -18px;
  top: -46px;
  color: rgba(255,255,255,.2);
  font-size: 200px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.business-card__copy { position: relative; }
.business-card .card-label { color: rgba(22,57,35,.75); }
.business-card p { color: rgba(22,57,35,.86); }
.business-card .card-cta { position: relative; }

/* =========================================================
   RODAPÉ
   ========================================================= */

.footer {
  display: grid;
  gap: 30px;
  padding: 40px var(--gutter) max(26px, env(safe-area-inset-bottom));
  color: #fff;
  background: var(--green-deep);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 16px;
  background: #fff;
}

.footer__logo img { max-width: 52px; max-height: 44px; object-fit: contain; }

.footer__brand p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.5;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.footer__cols nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.footer__cols h2 {
  margin: 0 0 3px;
  color: #ffad70;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer__cols a {
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 600;
}

.footer__cols a:hover { color: #fff; text-decoration: underline; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 6px;
}

.footer__bottom p {
  margin: 0;
  color: rgba(255,255,255,.56);
  font-size: 11px;
}

.footer__bottom strong { color: #fff; font-weight: 800; }

/* =========================================================
   AJUSTES DE TELA
   ========================================================= */

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .quick-link__label { font-size: 12px; }
  .hero__lead { font-size: 14px; }
}

@media (min-width: 760px) {
  body { padding: 28px 0; }
  .page-shell { border-radius: 32px; box-shadow: 0 0 60px rgba(18,39,26,.1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}