/*
Theme Name: Mansec Trading
Theme URI: https://mansec.com.br
Author: Mansec Trading Ltda
Author URI: https://mansec.com.br
Description: Tema institucional da Mansec Trading Ltda - Importa com você
Version: 1.0.0
License: All rights reserved
Text Domain: mansec
*/

/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --brand-red: #8c1a2e;
  --brand-red-hover: #a62040;
  --brand-red-light: rgba(140, 26, 46, 0.1);
  --bg-main: #d4cfc5;
  --bg-card: #eae5dc;
  --bg-dark: #262626;
  --fg-main: #363636;
  --fg-muted: #666666;
  --fg-light: rgba(212, 207, 197, 0.85);
  --border-color: #bfb9ad;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--fg-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

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

/* ===== LAYOUT UTILITIES ===== */
.container-narrow {
  max-width: 1152px;
  margin: 0 auto;
}

.section-padding {
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 7rem 6rem;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-brand {
  background-color: var(--brand-red);
  color: #fff;
}

.btn-brand:hover {
  background-color: var(--brand-red-hover);
}

.btn-xl {
  padding: 1rem 2.25rem;
  font-size: 0.9375rem;
}

.btn-brand-outline {
  background: transparent;
  color: var(--brand-red);
  border: 1px solid var(--brand-red);
}

.btn-brand-outline:hover {
  background: var(--brand-red-light);
}

.btn-hero-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-light:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===== TYPOGRAPHY UTILITIES ===== */
.label-red {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 1rem;
  display: block;
}

.text-muted {
  color: var(--fg-muted);
}

.text-brand-red {
  color: var(--brand-red);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(212, 207, 197, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border-color);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .site-header .header-inner {
    padding: 0 6rem;
  }
}

.site-header .logo img {
  height: 2.5rem;
  width: auto;
}

.site-header nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-header nav {
    display: flex;
  }
}

.site-header nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--fg-main);
}

.site-header .header-cta {
  display: none;
}

@media (min-width: 768px) {
  .site-header .header-cta {
    display: block;
  }
}

.site-header .header-cta .btn {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-main);
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu.open {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  color: var(--fg-light);
}

.site-footer .footer-bar {
  height: 4px;
  background: var(--brand-red);
}

.site-footer .footer-inner {
  padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
  .site-footer .footer-inner {
    padding: 4rem 6rem;
  }
}

.site-footer .footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer .footer-logo img {
  height: 2.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}

.site-footer .footer-desc {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

.site-footer .footer-slogan {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-top: 1rem;
}

.site-footer h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.site-footer .footer-nav a {
  font-size: 0.875rem;
  opacity: 0.7;
  font-weight: 400;
}

.site-footer .footer-nav a:hover {
  opacity: 1;
  color: var(--brand-red);
}

.site-footer .footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.site-footer .footer-contact a:hover {
  opacity: 1;
}

.site-footer .footer-contact svg {
  color: var(--brand-red);
  width: 14px;
  height: 14px;
}

.site-footer .footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 207, 197, 0.1);
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(38, 38, 38, 0.85), rgba(38, 38, 38, 0.75), rgba(38, 38, 38, 0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero h1 {
  font-size: 2.25rem;
  color: var(--bg-main);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero .hero-text {
  color: rgba(212, 207, 197, 0.7);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.hero .hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero .hero-buttons {
    flex-direction: row;
  }
}

/* ===== SECTIONS ===== */
.bg-dark {
  background: var(--bg-dark);
  color: var(--fg-light);
}

.bg-card {
  background: var(--bg-card);
}

.bg-main {
  background: var(--bg-main);
}

/* ===== GRID UTILITIES ===== */
.grid-2 {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== DIFERENCIAL CARDS ===== */
.diferencial-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.diferencial-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
  stroke-width: 1.5;
}

.diferencial-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== MODALIDADE CARDS (Home) ===== */
.modalidade-card {
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  background: rgba(234, 229, 220, 0.5);
  transition: all 0.2s;
  position: relative;
}

.modalidade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: var(--bg-card);
}

.modalidade-card.highlight {
  border-color: rgba(140, 26, 46, 0.3);
  background: var(--bg-card);
}

.modalidade-card.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-red);
}

.modalidade-card .card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(54, 54, 54, 0.05);
}

.modalidade-card.highlight .card-icon {
  background: var(--brand-red-light);
}

.modalidade-card .card-icon svg {
  width: 20px;
  height: 20px;
  color: rgba(54, 54, 54, 0.7);
  stroke-width: 1.5;
}

.modalidade-card.highlight .card-icon svg {
  color: var(--brand-red);
}

.modalidade-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modalidade-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.modalidade-card .badge-estrategica {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-red);
}

/* ===== QUIZ CARDS ===== */
.quiz-card {
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  text-align: left;
  transition: all 0.2s;
  display: block;
}

.quiz-card:hover {
  background: var(--bg-main);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.quiz-card .quiz-q {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.quiz-card .quiz-a {
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.2s;
}

.quiz-card:hover .quiz-a {
  color: var(--brand-red);
}

/* ===== MODALIDADE DETAIL BLOCKS ===== */
.modalidade-block {
  border: 1px solid var(--border-color);
  padding: 2rem;
  background: rgba(234, 229, 220, 0.5);
  position: relative;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .modalidade-block {
    padding: 3rem;
  }
}

.modalidade-block.highlight {
  border-color: rgba(140, 26, 46, 0.3);
  background: var(--bg-card);
}

.modalidade-block.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-red);
}

.modalidade-block .block-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .modalidade-block .block-header {
    flex-direction: row;
    align-items: center;
  }
}

.modalidade-block .block-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--fg-muted);
}

.modalidade-block .block-title {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .modalidade-block .block-title {
    font-size: 1.875rem;
  }
}

.modalidade-block .block-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: var(--brand-red-light);
  padding: 0.25rem 0.625rem;
  border-radius: 0.125rem;
}

.modalidade-block .block-desc {
  font-size: 1rem;
  color: rgba(54, 54, 54, 0.8);
  line-height: 1.6;
  max-width: 48rem;
  margin-bottom: 2rem;
}

.detail-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.detail-label svg {
  width: 14px;
  height: 14px;
  color: var(--brand-red);
}

.detail-label span {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.detail-value {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.detail-value.bold {
  font-weight: 600;
  color: var(--fg-main);
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.detail-list li .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-red);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Vantagens e Atenção boxes */
.info-boxes {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .info-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-box {
  padding: 1.25rem;
  border-radius: 0.125rem;
}

.info-box.vantagens {
  border: 1px solid rgba(21, 128, 61, 0.2);
  background: rgba(21, 128, 61, 0.03);
}

.info-box.atencao {
  border: 1px solid rgba(180, 83, 9, 0.2);
  background: rgba(180, 83, 9, 0.03);
}

.info-box .info-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.info-box .info-header svg {
  width: 14px;
  height: 14px;
}

.info-box.vantagens .info-header svg,
.info-box.vantagens .info-header span {
  color: #15803d;
}

.info-box.atencao .info-header svg,
.info-box.atencao .info-header span {
  color: #b45309;
}

.info-box .info-header span {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box li {
  font-size: 0.875rem;
  color: rgba(54, 54, 54, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.info-box li svg {
  width: 14px;
  height: 14px;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.info-box.vantagens li svg {
  color: #15803d;
}

.info-box.atencao li svg {
  color: #b45309;
}

/* ===== ABOUT PAGE ===== */
.img-accent {
  position: relative;
}

.img-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-red);
}

.img-accent img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.principio-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.25rem;
  background: rgba(140, 26, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.principio-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-red);
  stroke-width: 1.5;
}

.valores-list {
  list-style: none;
  padding: 0;
}

.valores-list li {
  font-size: 0.875rem;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.valores-list li .dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-red);
  flex-shrink: 0;
}

/* ===== PRODUCTS PAGE ===== */
.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s;
}

.product-link:hover {
  padding-left: 0.75rem;
}

.product-link:hover span {
  color: var(--brand-red);
}

.product-link svg {
  width: 14px;
  height: 14px;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.product-link:hover svg {
  color: var(--brand-red);
}

/* ===== CONTACT FORM ===== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--fg-main);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}

.form-group input {
  height: 2.75rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg-dark);
  color: var(--fg-light);
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 2.25rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ===== LUCIDE INLINE SVG ===== */
.icon-inline {
  display: inline-block;
  vertical-align: middle;
}
