/* Supremo Alimentos – estilos do site */

:root {
  --verde: #00a04b;
  --verde-escuro: #0b5130;
  --verde-profundo: #073a22;
  --amarelo: #ffe100;
  --amarelo-escuro: #f5c400;
  --creme: #fbf7ec;
  --amendoim: #e9a964;
  --texto: #1f2a24;
  --texto-suave: #5a6760;
  --branco: #ffffff;
  --whats: #25d366;
  --raio: 18px;
  --sombra: 0 10px 30px rgba(11, 81, 48, 0.12);
  --fonte-titulo: 'Baloo 2', system-ui, sans-serif;
  --fonte-texto: 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--fonte-texto);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--verde-escuro);
}

h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }

p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.center { text-align: center; margin-top: 40px; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.btn--yellow { background: var(--amarelo); color: var(--verde-profundo); }
.btn--yellow:hover { background: var(--amarelo-escuro); }
.btn--green { background: var(--verde); color: var(--branco); }
.btn--green:hover { background: var(--verde-escuro); }
.btn--outline { border-color: var(--branco); color: var(--branco); }
.btn--outline:hover { background: var(--branco); color: var(--verde-escuro); }
.btn--whats { background: var(--whats); color: var(--branco); }
.btn--sm { padding: 10px 20px; font-size: .95rem; }
.btn--block { display: flex; width: 100%; margin-top: 14px; }

.eyebrow {
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--verde);
  margin-bottom: 10px;
}
.eyebrow--light { color: var(--amarelo); }

/* Cabeçalho */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--branco);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo img { height: 58px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 700;
  color: var(--verde-escuro);
  position: relative;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  border-radius: 3px;
  background: var(--amarelo-escuro);
  transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  margin: 5px 0;
  border-radius: 3px;
  background: var(--verde-escuro);
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--branco);
  background: radial-gradient(circle at 75% 20%, #0f6b3f 0%, var(--verde-escuro) 45%, var(--verde-profundo) 100%);
  padding: 64px 0 150px;
}
/* Sol e faixas inspirados no logotipo */
.hero__sun {
  position: absolute;
  top: -140px; right: 8%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 0, .35) 0%, rgba(255, 225, 0, .1) 45%, transparent 70%);
}
.hero__stripes {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 10px, transparent 10px 26px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tag {
  display: inline-block;
  background: rgba(255, 225, 0, .15);
  color: var(--amarelo);
  border: 1px solid rgba(255, 225, 0, .4);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--branco);
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
}
.hero h1 span { color: var(--amarelo); display: block; }
.hero__text > p { font-size: 1.15rem; max-width: 520px; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }
.hero__stats {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.hero__stats li { font-size: .95rem; opacity: .9; max-width: 120px; line-height: 1.3; }
.hero__stats strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 2.2rem;
  color: var(--amarelo);
  line-height: 1;
}

/* Composição de fotos */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
}
.hero__photo {
  position: absolute;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid var(--branco);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
  background: #f4f4f2;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { left: 0; top: 18%; width: 72%; aspect-ratio: 4 / 3; z-index: 2; transform: rotate(-3deg); }
.hero__photo--top { right: 0; top: 0; width: 40%; aspect-ratio: 3 / 4; z-index: 1; transform: rotate(5deg); }
.hero__photo--bottom { right: 4%; bottom: 0; width: 38%; aspect-ratio: 3 / 4; z-index: 3; transform: rotate(4deg); }
.hero__launch {
  position: absolute;
  left: 6%; bottom: 4%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--verde-profundo);
  text-decoration: none;
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.1;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  transition: transform .2s;
}
.hero__launch:hover { transform: translateY(-3px); }
.hero__launch img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--branco); }
.hero__launch em {
  display: block;
  font-family: var(--fonte-texto);
  font-style: normal;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; fill: var(--branco); }

/* Seções */
.section { padding: 96px 0; }
.section--cream { background: var(--creme); }
.section--green {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-escuro) 100%);
  color: var(--branco);
}
.section--green h2 { color: var(--branco); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head p { color: var(--texto-suave); }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media {
  position: relative;
  background: var(--creme);
  border-radius: 32px;
  padding: 24px;
}
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}
.about__badge {
  position: absolute;
  z-index: 1;
  top: -24px; right: -12px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--verde-profundo);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--sombra);
  transform: rotate(8deg);
}
.about__badge strong { font-family: var(--fonte-titulo); font-size: 2.8rem; line-height: 1; }
.about__badge span { font-size: .78rem; font-weight: 800; line-height: 1.2; padding: 0 12px; }
.about__text p { color: var(--texto-suave); font-size: 1.05rem; }
.about__text strong { color: var(--verde-escuro); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
  font-weight: 700;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  font-size: .8rem;
  display: grid;
  place-items: center;
}

/* Marcas */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.brand {
  --cor: var(--verde);
  background: var(--branco);
  border-radius: var(--raio);
  padding: 32px 28px;
  box-shadow: var(--sombra);
  border-bottom: 6px solid var(--cor);
  overflow: hidden;
  transition: transform .3s;
}
.brand:hover { transform: translateY(-6px); }
.brand--pink { --cor: #d7261e; }
.brand--orange { --cor: #f39200; }
.brand--green { --cor: var(--verde); }
.brand__photo {
  margin: -32px -28px 24px;
  aspect-ratio: 4 / 3;
  background: #f4f4f2;
  overflow: hidden;
}
.brand__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.brand:hover .brand__photo img { transform: scale(1.05); }
.brand h3 { font-size: 1.8rem; margin-bottom: 0; color: var(--cor); }
.brand__type { font-weight: 800; color: var(--verde-escuro); margin-bottom: 12px; }
.brand p:last-child { color: var(--texto-suave); margin: 0; }

/* Produtos */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  font: inherit;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--verde);
  background: transparent;
  color: var(--verde-escuro);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.filter:hover, .filter.is-active { background: var(--verde); color: var(--branco); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product {
  background: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}
.product:hover { transform: translateY(-6px); }
.product[hidden] { display: none; }
.product__img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f4f4f2;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product:hover .product__img img { transform: scale(1.05); }
.product__selo {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--verde-profundo);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product__body .product__info { flex: none; font-size: .85rem; font-weight: 800; color: var(--verde); margin: 0 0 8px; }
.product__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.product__body p { color: var(--texto-suave); font-size: .95rem; flex: 1; }
.product__link { font-weight: 800; color: var(--verde); text-decoration: none; }
.product__link:hover { text-decoration: underline; }

/* Revenda */
.resale { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.resale__text p { font-size: 1.1rem; opacity: .92; margin-bottom: 28px; }
.resale__list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.resale__list li {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--raio);
  padding: 20px;
}
.resale__list .icon { font-size: 1.8rem; line-height: 1; }
.resale__list strong { display: block; font-size: 1.05rem; color: var(--amarelo); }
.resale__list p { margin: 4px 0 0; font-size: .92rem; opacity: .9; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact__cards { display: grid; gap: 14px; }
.card-contact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--creme);
  border-radius: var(--raio);
  padding: 18px 20px;
  text-decoration: none;
  transition: transform .2s;
  overflow-wrap: anywhere;
}
a.card-contact:hover { transform: translateX(4px); }
.card-contact strong { display: block; color: var(--verde-escuro); font-family: var(--fonte-titulo); font-size: 1.15rem; }
.card-contact small { display: block; margin-top: 6px; color: var(--texto-suave); line-height: 1.5; }
.card-contact__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--verde);
  color: var(--branco);
  display: grid;
  place-items: center;
}
.card-contact__icon--whats { background: var(--whats); }
.card-contact__icon svg { width: 22px; height: 22px; }
.status {
  display: inline-block;
  margin-left: 6px;
  font-style: normal;
  font-weight: 800;
  font-size: .8rem;
  padding: 2px 10px;
  border-radius: 999px;
}
.status--aberto { background: #d7f5e3; color: #0a7a3c; }
.status--fechado { background: #fde2e2; color: #b42318; }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--verde-escuro);
  color: var(--branco);
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.social a:hover { background: var(--verde); }
.social svg { width: 18px; height: 18px; }
.contact__map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}

/* Rodapé */
.footer {
  background: var(--verde-profundo);
  color: rgba(255, 255, 255, .85);
  padding: 56px 0 32px;
  text-align: center;
}
.footer__logo {
  width: 170px;
  margin: 0 auto 20px;
  background: var(--branco);
  border-radius: 16px;
  padding: 14px 18px;
}
.footer__legal { font-size: .85rem; opacity: .7; margin: 24px 0 0; }
.credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.credits:hover { background: rgba(255, 255, 255, .16); border-color: var(--amarelo); }
.credits strong { color: var(--branco); }
.credits__heart { color: #ff5a5a; }

/* WhatsApp flutuante */
.whats-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whats);
  color: var(--branco);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  animation: pulse 2.4s infinite;
}
.whats-float svg { width: 32px; height: 32px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  50% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Responsivo */
@media (max-width: 960px) {
  .hero__inner, .about, .resale, .contact { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 110px; }
  .hero__inner { gap: 36px; }
  .hero__visual { max-width: 460px; }
  .brands { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .about { gap: 56px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    overflow-y: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    padding: 24px 16px;
    background: var(--branco);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) {
    width: 100%;
    font-size: 1.2rem;
    padding: 14px 8px;
    text-align: center;
    border-bottom: 1px solid #edf1ee;
  }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; width: 100%; padding: 14px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .whats-float { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .header__logo img { height: 48px; }
  .resale__list { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product__body { padding: 14px; }
  .product__body h3 { font-size: 1.05rem; }
  .product__body p { font-size: .85rem; }
  .product__link { font-size: .85rem; }
  .hero__stats { gap: 20px; }
  .hero__stats strong { font-size: 1.8rem; }
  .hero__text > p { font-size: 1.02rem; }
  .hero__actions { margin: 24px 0 28px; }
  .hero__actions .btn { flex: 1 1 140px; padding: 13px 16px; }
  .hero__launch { font-size: .9rem; left: 0; }
  .hero__launch img { width: 42px; height: 42px; }
  .hero__photo { border-width: 4px; border-radius: 18px; }
  .about__media { padding: 16px; }
  .about__grid { gap: 10px; }
  .about__badge { width: 96px; height: 96px; right: 0; z-index: 1; }
  .about__badge strong { font-size: 2.2rem; }
  .contact__map iframe { height: 320px; }
  .footer { padding-bottom: 104px; }
}
