:root {
  --color-red: #CD0B0B;
  --color-red-dark: #a30909;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray-900: #24262b;
  --color-gray-600: #5b5e66;
  --color-gray-300: #e2e2e2;
  --color-gray-100: #f7f7f7;

  --font-base: "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: "Poppins", var(--font-base);
  --font-display: "Facebook Letter Faces", var(--font-heading);

  --container-width: 1140px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@font-face {
  font-family: "Facebook Letter Faces";
  src: url("../fontes/FACEBOLF.OTF") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-weight: 300;
  color: var(--color-gray-900);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

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

/* Botões */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(205, 11, 11, 0.25);
}

.btn-primary:hover {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(205, 11, 11, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-300);
}

.btn-ghost:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
}

/* Top bar */

.top-bar {
  background: var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-300);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.contact-info,
.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-info a,
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gray-600);
}

.contact-info a:hover,
.social-links a:hover {
  color: var(--color-gray-900);
}

.contact-info i,
.social-links i {
  color: var(--color-red);
}

.social-links {
  gap: 16px;
}

.social-links i {
  font-size: 1rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--color-gray-300);
  position: sticky;
  top: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo img {
  width: 160px;
  height: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-gray-900);
}

.main-nav a:hover {
  color: var(--color-red);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-gray-900);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(205, 11, 11, 0.07), transparent 70%);
  border-radius: 50%;
}

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

.eyebrow {
  font-family: var(--font-display);
  color: var(--color-red);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.75rem;
  max-width: 760px;
  margin: 0 auto 24px;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Pillars */

.pillars {
  padding: 80px 0;
  background: var(--color-gray-100);
}

.pillars h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
}

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

.pillar {
  background: var(--color-white);
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(205, 11, 11, 0.08);
  color: var(--color-red);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.pillar h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.pillar p {
  color: var(--color-gray-600);
}

/* Segments */

.segments {
  padding: 80px 0;
  text-align: center;
}

.segments h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-lead {
  color: var(--color-gray-600);
  margin-bottom: 48px;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.segments-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.segments-grid a:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.segments-grid i {
  color: var(--color-red);
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

/* Legal pages */

.legal-page {
  padding: 64px 0 96px;
}

.legal-page h1 {
  font-size: 2.25rem;
  margin-bottom: 40px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
}

.legal-toc-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-900);
  margin-bottom: 16px;
}

.legal-toc ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-toc li {
  border-left: 2px solid var(--color-gray-300);
  padding-left: 14px;
}

.legal-toc a {
  font-size: 0.9rem;
  color: var(--color-gray-600);
}

.legal-toc a:hover {
  color: var(--color-red);
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-content p {
  color: var(--color-gray-600);
  margin-bottom: 14px;
}

.legal-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.legal-content li {
  position: relative;
  color: var(--color-gray-600);
  padding-left: 20px;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red);
}

.legal-content a {
  color: var(--color-red);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* Sustainability */

.sustainability {
  padding: 80px 0;
  text-align: center;
}

.sustainability h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.sustainability .section-lead {
  max-width: 720px;
  margin: 0 auto 56px;
}

.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  margin-bottom: 56px;
}

.sustainability-item {
  background: var(--color-gray-100);
  padding: 32px 28px;
  border-radius: 12px;
}

.sustainability-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.sustainability-item p {
  color: var(--color-gray-600);
}

.sustainability-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--color-gray-900);
  max-width: 700px;
  margin: 0 auto 56px;
  padding-left: 28px;
  border-left: 4px solid var(--color-red);
  text-align: left;
}

.sustainability-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat-circle {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--color-red) calc(var(--value) * 1%), var(--color-gray-300) 0);
  margin: 0 auto 24px;
}

.stat-circle::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--color-white);
  border-radius: 50%;
}

.stat-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.stat-title {
  font-weight: 600;
}

.stat-subtitle {
  color: var(--color-gray-600);
  font-size: 0.9rem;
}

/* CTA band */

.cta-band {
  padding: 72px 0;
  background: linear-gradient(135deg, #000000, #1f1f1f);
  color: var(--color-white);
  text-align: center;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 28px;
}

/* Footer */

.site-footer {
  background: var(--color-gray-100);
  border-top: 1px solid var(--color-gray-300);
  color: var(--color-gray-600);
  padding-top: 64px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-gray-300);
}

.footer-brand {
  flex: 0 0 180px;
}

.footer-logo {
  width: 170px;
  height: auto;
}

.footer-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  min-width: 0;
}

.footer-col h3 {
  font-family: var(--font-heading);
  color: var(--color-gray-900);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--color-red);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--color-gray-600);
}

.footer-col a:hover {
  color: var(--color-red);
}

.footer-social {
  flex-direction: row;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-900);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list i {
  color: var(--color-red);
  width: 16px;
  margin-top: 3px;
}

.footer-address {
  color: var(--color-gray-600);
  font-size: 0.88rem;
  line-height: 1.5;
}

.partner-seal {
  max-width: 150px;
  margin-top: 4px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-300);
  border-radius: 8px;
  padding: 10px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--color-gray-300);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-gray-600);
}

.footer-bottom-inner a {
  color: var(--color-gray-600);
}

.footer-bottom-inner a:hover {
  color: var(--color-red);
}

/* Responsive */

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sustainability-grid,
  .sustainability-stats {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-toc {
    position: static;
    border-bottom: 1px solid var(--color-gray-300);
    padding-bottom: 24px;
  }

  .legal-toc ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .legal-toc li {
    border-left: none;
    padding-left: 0;
  }

  .legal-content {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-300);
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .segments-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-info li:nth-child(3) {
    display: none;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
