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

:root {
  /* Base platform */
  --bg-page: #f8fbff;
  --bg-surface: #ffffff;
  --bg-dark: #0b2540;

  --text-main: #102033;
  --text-light: #ffffff;

  --border-soft: #d9e6f2;

  /* Brand */
  --primary: #0b6fc6;
  --primary-contrast: #ffffff;

  /* Accents */
  --accent-yellow: #f2c94c;
  --accent-orange: #f97316;

  /* Header / Footer */
  --header-bg: #ffffff;
  --header-text: #102033;

  --footer-bg: #0b2540;
  --footer-text: #ffffff;

  /* Brand extras */
  --brand-green: #148a3b;
  --brand-green-soft: #dff3e5;
  --brand-blue-soft: #d9ecfb;

  /* UI */
  --shadow-soft: 0 10px 30px rgba(16, 32, 51, 0.08);
  --radius-main: 16px;

  /* M4 Brand (kept for distributor strip and related sections) */
  --m4-navy: #001632;
  --m4-navy2: #002c5e;
  --m4-blue: #014ca1;
  --m4-blue2: #015ec2;
  --m4-silver: #b0bac6;
  --m4-white: #f7f7f7;
  --m4-orange: #c2410c;
  --m4-blue-rgb: 1, 94, 194;
  --m4-navy2-rgb: 0, 44, 94;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72)),
    radial-gradient(circle at top left, rgba(0,0,0,0.03), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0,0,0,0.04), transparent 30%),
    var(--bg-page);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.main-content {
  flex: 1;
}

a {
  color: var(--primary);
}

button:disabled,
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 22px 0;
  text-align: center;
  margin-top: 60px;
}

.btn {
  display: inline-block;
  background: var(--accent-orange);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.media-modal[hidden] {
  display: none !important;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.media-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(2px);
}

.media-modal__dialog {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.media-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.media-modal__body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 24px;
}

.media-modal__body img,
.media-modal__body video {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  display: block;
  object-fit: contain;
}

.media-clickable {
  position: relative;
  cursor: zoom-in;
}

.media-clickable::after {
  content: "View";
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(17, 17, 17, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.media-clickable:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.distributor-strip__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #e2e8f0; /* texto claro */
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.meta-item svg {
  color: #38bdf8; /* azul bonito */
  flex-shrink: 0;
}

.site-footer{
  margin-top: 60px;
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0 30px;
}

.site-footer__brand-top{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.site-footer__logo-wrap{
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.site-footer__logo{
  width: 150%;
  height: 150%;
  object-fit: contain;
  display: block;
}

.site-footer__brand-text{
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 0.98;
}

.site-footer__title{
  font-size: 25px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.site-footer__subtitle{
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-green);
  margin-top: 2px;
}

.site-footer__brand-sub{
  font-size: 12px;
  color: rgba(255,255,255,0.68);
  margin-top: 6px;
  line-height: 1.2;
}

.site-footer__tagline{
  max-width: 420px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.site-footer__col{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__col h4{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}

.site-footer__col a,
.site-footer__col p{
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  margin: 0;
}

.site-footer__col a:hover{
  color: #fff;
}

.site-footer__bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__bottom-inner{
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__bottom-inner p{
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  margin: 0;
}

.site-footer__social{
  display:flex;
  gap:12px;
  margin-top:14px;
}

.footer-social{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:rgba(255,255,255,0.05);
  color:#cbd5f5;
  transition:all .2s ease;
}

.footer-social svg{
  width:18px;
  height:18px;
}

.footer-social:first-child {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.footer-social:hover{
  background:#2563eb;
  color:#ffffff;
  transform:translateY(-2px);
}

@media (max-width: 980px){
  .site-footer__inner{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px){
  .site-footer__inner{
    grid-template-columns: 1fr;
    padding: 34px 0 24px;
  }

  .site-footer__bottom-inner{
    align-items: flex-start;
    justify-content: flex-start;
    padding: 14px 0;
  }
}
