/* ===== MAC Brazil — Styles =====
   Paleta:
   - Azul escuro (background):  #162537
   - Verde teal (acento):       #297C6A
   - Amarelo "BRAZIL":          #D5CD24
   - Branco:                    #FFFFFF
*/

:root {
  --bg-dark:   #162537;
  --bg-deeper: #0e1c2c;
  --teal:      #297C6A;
  --teal-light:#3a9985;
  --yellow:    #D5CD24;
  --white:     #FFFFFF;
  --gray-light:#f4f4f4;
  --gray:      #d6d6d6;
  --text:      #FFFFFF;
  --text-muted:#a8b3c0;
  --radius:    8px;
  --shadow:    0 6px 24px rgba(0,0,0,.25);
  --max-w:     1200px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-decoration: none; transition: color .2s; }
a:hover { color: var(--yellow); }

.container { width: min(94%, var(--max-w)); margin-inline: auto; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,28,44,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(41,124,106,.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo-header { height: 56px; width: auto; }

.main-nav .nav-list {
  list-style: none; display: flex; gap: 32px; align-items: center;
}
.main-nav a {
  font-weight: 600; font-size: 14px; letter-spacing: .08em;
  position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--yellow); transform: scaleX(0);
  transition: transform .2s;
}
.main-nav a:hover::after { transform: scaleX(1); }

.lang-switch a {
  border: 1px solid var(--teal);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px !important;
  transition: background .2s, color .2s;
}
.lang-switch a:hover { background: var(--teal); color: var(--white) !important; }
.lang-switch a::after { display: none !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 32px; height: 28px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 3px; width: 100%;
  background: var(--white); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 70vh;
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(41,124,106,.35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(213,205,36,.15), transparent 50%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-deeper));
  padding: 80px 0;
}
.hero-inner { text-align: center; }
.hero-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.accent-yellow { color: var(--yellow); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px; margin: 0 auto 32px;
}
.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; letter-spacing: .05em;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--teal-light); color: var(--white); transform: translateY(-2px); }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: .05em;
  position: relative;
}
.section-title::after {
  content: ''; display: block;
  width: 80px; height: 4px;
  background: var(--teal);
  margin: 16px auto 0;
  border-radius: 2px;
}
.sub-title {
  text-align: center;
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: .15em; color: var(--yellow);
  margin: 48px 0 24px;
}

/* ===== ABOUT ===== */
.about-section { padding: 80px 0; background: var(--bg-dark); }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.about-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(41,124,106,.2);
  padding: 32px;
  border-radius: var(--radius);
  transition: transform .3s, border-color .3s;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}
.about-icon {
  width: 120px; height: auto; margin: 0 auto 20px;
}
.about-card h3 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--yellow);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: .05em;
}
.about-card p { margin-bottom: 12px; color: var(--text-muted); }
.about-card ul { list-style: none; padding-left: 0; margin: 12px 0; }
.about-card ul li {
  padding: 6px 0 6px 24px; position: relative;
  color: var(--text-muted);
}
.about-card ul li::before {
  content: '▸'; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}

/* ===== CHANNELS ===== */
.channels-section { padding: 80px 0; background: var(--bg-deeper); }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  justify-items: center;
}
.logo-grid img {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(41,124,106,.15);
  transition: transform .25s, border-color .25s, background .25s;
}
.logo-grid img:hover {
  transform: scale(1.05);
  border-color: var(--teal);
  background: rgba(41,124,106,.1);
}

/* ===== BRANDS ===== */
.brands-section { padding: 80px 0; background: var(--bg-dark); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  gap: 32px;
}
.brand-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
  transition: transform .3s, box-shadow .3s;
  box-shadow: var(--shadow);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.brand-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.brand-card img { max-height: 100%; width: auto; }
/* Indicador sutil de que é clicável (seta no canto) */
a.brand-card::after {
  content: '↗';
  position: absolute;
  top: 12px; right: 14px;
  font-size: 18px;
  color: var(--teal);
  opacity: 0;
  transition: opacity .25s, transform .25s;
}
a.brand-card:hover::after {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ===== CONTACT ===== */
.contact-section { padding: 80px 0; background: var(--bg-deeper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.5rem; color: var(--yellow);
  margin-bottom: 20px; letter-spacing: .05em;
}
.contact-info p { margin-bottom: 16px; color: var(--text-muted); }
.contact-info a { color: var(--teal-light); border-bottom: 1px dotted var(--teal-light); }
.contact-info a:hover { color: var(--yellow); border-color: var(--yellow); }

.contact-form {
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,.04);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(41,124,106,.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.25);
  color: var(--white);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(0,0,0,.4);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}
.btn-send {
  background: var(--teal); color: var(--white);
  padding: 14px 24px;
  border: 0;
  border-radius: 6px;
  font-weight: 700; letter-spacing: .1em;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  transition: background .2s, transform .15s;
}
.btn-send:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-send:disabled { opacity: .6; cursor: wait; }
.form-status {
  margin-top: 8px; min-height: 24px;
  font-size: 14px; text-align: center;
}
.form-status.success { color: var(--yellow); }
.form-status.error   { color: #ff6b6b; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-deeper);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(41,124,106,.2);
}
.footer-logo { width: 80px; margin: 0 auto 16px; opacity: .8; }
.site-footer p { color: var(--text-muted); margin-bottom: 4px; }
.site-footer .small { font-size: 12px; opacity: .6; }

/* ===== RESPONSIVO MOBILE ===== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; z-index: 110; }
  .nav-list {
    position: fixed; top: 0; right: 0;
    width: 75%; max-width: 320px; height: 100vh;
    background: var(--bg-deeper);
    flex-direction: column !important;
    justify-content: center;
    gap: 32px !important;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -8px 0 24px rgba(0,0,0,.4);
    visibility: hidden;
  }
  .nav-list.open { transform: translateX(0); visibility: visible; }
  .nav-list a { font-size: 18px; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .logo-header { height: 44px; }

  .hero { min-height: 60vh; padding: 60px 0; }
  .about-section,
  .channels-section,
  .brands-section,
  .contact-section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .logo-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .about-card { padding: 24px; }
}
