/*
Theme Name: Food Brands SA
Theme URI: https://foodbrands-sa.com.br
Author: DREFIXIT
Author URI: https://www.drefixit.com
Description: Tema institucional responsivo para Food Brands SA, inspirado na estrutura simples e corporativa do site Flavor Holdings.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: food-brands-sa
*/

:root {
  --fb-bg: #08111f;
  --fb-bg-soft: #0f1b2d;
  --fb-card: #ffffff;
  --fb-text: #111827;
  --fb-muted: #667085;
  --fb-line: rgba(255,255,255,.16);
  --fb-gold: #d8b16d;
  --fb-white: #ffffff;
  --fb-radius: 18px;
  --fb-shadow: 0 20px 60px rgba(0,0,0,.18);
  --fb-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fb-text);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.fb-container {
  width: min(calc(100% - 40px), var(--fb-content));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-header__inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.site-navigation ul {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-navigation a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.site-navigation a:hover,
.site-navigation a:focus { color: #fff; }
.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.55rem;
  cursor: pointer;
}
body:not(.home) .site-header {
  position: relative;
  background: #050c17;
}


.hero {
  position: relative;
  min-height: clamp(470px, 68vw, 790px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--fb-bg);
  background-position: center;
  background-size: cover;
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(4,10,20,.08) 20%, rgba(4,10,20,.76) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  text-align: center;
}
.hero__eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: none;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6.2vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1;
  white-space: nowrap;
}
.hero__lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.section {
  padding: clamp(70px, 9vw, 120px) 0;
}
.section--dark {
  color: #fff;
  background: linear-gradient(145deg, var(--fb-bg), var(--fb-bg-soft));
}
.section__header {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}
.section__kicker {
  margin: 0 0 10px;
  color: var(--fb-gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  font-weight: 500;
  line-height: 1.08;
}
.section__intro {
  margin: 18px auto 0;
  color: var(--fb-muted);
}
.section--dark .section__intro { color: rgba(255,255,255,.68); }

.documents-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.document-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--fb-radius);
  background: rgba(255,255,255,.065);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.document-card:hover,
.document-card:focus {
  transform: translateY(-4px);
  border-color: rgba(216,177,109,.78);
  background: rgba(255,255,255,.11);
}
.document-card__number {
  color: var(--fb-gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.document-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.document-card__action {
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.document-card.is-placeholder { cursor: default; }
.document-card.is-placeholder:hover { transform: none; }

.company-strip {
  padding: 54px 0;
  color: #fff;
  background: #111827;
}
.company-strip__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: center;
}
.company-strip h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 3vw, 2.7rem); }
.company-strip p { margin: 0; color: rgba(255,255,255,.72); }
.company-strip__actions { display: flex; justify-content: flex-end; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-weight: 800;
}
.button:hover, .button:focus { background: var(--fb-gold); }

.contact-page { padding: 70px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: stretch;
}
.contact-card {
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--fb-radius);
  background: #f4f6f8;
}
.contact-card h1,
.contact-card h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
.contact-card address { font-style: normal; }
.contact-map {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }

.entry-content {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 70px 0 100px;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 { font-family: Georgia, "Times New Roman", serif; }

.site-footer {
  padding: 60px 0 28px;
  color: #fff;
  background: #050b14;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 44px;
}
.site-footer h2,
.site-footer h3 { margin-top: 0; }
.site-footer h2 {
  font-size: 1.2rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer p,
.site-footer address { color: rgba(255,255,255,.65); font-style: normal; }
.site-footer a { color: #fff; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--fb-line);
  color: rgba(255,255,255,.5);
  font-size: .84rem;
}

@media (max-width: 980px) {
  .documents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header__inner { min-height: 64px; }
  .menu-toggle { display: block; }
  .site-navigation {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding: 20px;
    background: rgba(5,12,23,.97);
    border-top: 1px solid var(--fb-line);
  }
  .site-navigation.is-open { display: block; }
  .site-navigation ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero { min-height: 540px; }
  .hero__content { padding: 110px 0 60px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 3.5rem); }
  .documents-grid { grid-template-columns: 1fr; }
  .company-strip__inner { grid-template-columns: 1fr; }
  .company-strip__actions { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
}


/* Regulatory documents v1.3.0 — approved four cards and signed-document page. */
[hidden] { display: none !important; }
body.foodbrands-collection { background: #08111f; }
a:focus-visible, button:focus-visible { outline: 3px solid #d8b16d; outline-offset: 5px; }
.screen-reader-text:focus { width: auto; height: auto; clip: auto; padding: 12px; background: #fff; color: #000; z-index: 10001; }
.document-card { min-height: 245px; gap: 24px; padding: 25px; border-radius: 16px; }
.document-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.document-card__title { flex: 1; font-size: 1.04rem; line-height: 1.48; font-weight: 650; }
.document-card__action { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.13); padding-top: 16px; color: #c4cbd4; font-size: .72rem; }
.document-card--collection { border-color: rgba(216,177,109,.6); background: rgba(216,177,109,.065); }
.document-card--collection .document-card__action { color: #e0bd81; }
.file-badge { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 8px; border: 1px solid rgba(255,255,255,.22); border-radius: 5px; color: #d0d6de; font-size: .63rem; font-weight: 700; letter-spacing: .08em; }
.file-badge--gold { color: #e0bd81; border-color: rgba(216,177,109,.4); }
.external-arrow { font-family: Arial, sans-serif; font-size: 1.3rem; line-height: 1; }
.document-notice { margin: 25px 0 0; color: #a7b1c0; text-align: center; font-size: .81rem; }
.collection { padding: 56px 0 84px; background: linear-gradient(145deg,#08111f,#0f1b2d); color: #fff; }
.collection .fb-container { max-width: 1050px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; color: #adb8c7; font-size: .77rem; margin: 0 0 36px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs .breadcrumb-current { color: #e0bd81; }
.collection__header { margin: 0 0 30px; }
.collection__header h1 { margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem,4.25vw,3.65rem); font-weight: 500; line-height: 1.14; letter-spacing: -.035em; }
.collection__header .section__kicker { margin-bottom: 12px; }
.collection__intro { margin: 0; color: #b9c3cf; font-size: .93rem; }
.collection__meta { display: flex; justify-content: space-between; gap: 16px; padding: 0 0 13px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 12px; color: #9da9ba; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.collection__meta strong { color: #e0bd81; font-weight: 600; }
.signed-documents { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.signed-document { display: grid; grid-template-columns: 36px 1fr 130px; align-items: center; gap: 18px; padding: 19px 24px; min-height: 93px; color: #fff; text-decoration: none; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; transition: border-color .18s, background .18s; }
.signed-document:hover { border-color: rgba(216,177,109,.7); background: rgba(255,255,255,.075); }
.signed-document__number { color: #d8b16d; font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.signed-document__text { display: grid; gap: 4px; }
.signed-document__title { font-size: .99rem; font-weight: 600; line-height: 1.35; }
.signed-document__subject { color: #afbbc9; font-size: .83rem; line-height: 1.4; }
.signed-document__action { display: flex; align-items: center; justify-content: flex-end; gap: 20px; color: #dfbd85; font-size: .77rem; font-weight: 650; white-space: nowrap; }
.back-link { display: inline-flex; margin: 25px 0 0; padding: 8px 0; gap: 10px; color: #d2d9e3; font-size: .85rem; text-decoration: none; }
.back-link:hover { color: #e0bd81; text-decoration: underline; }
@media(max-width:980px) { .documents-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) { .document-card { min-height: 218px; } .section { padding: 64px 0; } .section__header { margin-bottom: 32px; } .documents-grid { grid-template-columns: 1fr; gap: 16px; } .collection { padding: 32px 0 56px; } .collection__header h1 { font-size: 2.45rem; } .breadcrumbs { margin-bottom: 27px; } .collection__meta { font-size: .63rem; } .signed-document { grid-template-columns: 26px 1fr; gap: 8px 12px; padding: 18px; } .signed-document__action { grid-column: 2; justify-content: flex-start; padding-top: 7px; } .hero h1 { font-size: clamp(1.7rem,8.25vw,3.5rem); } .hero__eyebrow { font-size: .67rem; letter-spacing: .13em; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none !important; } }
