:root {
  --primary-color: #0056b3;
  --secondary-color: #f77f00;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f4f7f6;
  --white: #ffffff;
  --alert-bg: #fff3cd;
  --alert-border: #ffeeba;
  --alert-text: #856404;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-light);
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h2 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

ul {
  margin-left: 20px;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003d82 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero-section h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.event-details {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections Globals */
main section {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero-section + main {
  margin-top: -30px;
}

/* Alert Box */
.alert-box {
  background-color: var(--alert-bg);
  border: 1px solid var(--alert-border);
  color: var(--alert-text);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.alert-box ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Table */
.table-responsive {
  overflow-x: auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.size-table th, .size-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.size-table th {
  background-color: var(--primary-color);
  color: var(--white);
}

.size-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* --- ESTILIZAÇÃO DO FORMULÁRIO DA PLATAFORMA (#mcom_area) --- */
#mcom_area {
  font-family: inherit;
  width: 100%;
  margin-top: 1.5rem;
}

/* Área de Ofertas (Topo do form) */
.mcom_valor_area {
  background: #e9f2fa;
  border: 1px solid #b6d4f0;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.mcom_apartir p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.mcom_apartir_valor_area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.mcom_apartir_valor_area .label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: right;
  line-height: 1.2;
}

.mcom_apartir_valor_area .label span {
  display: block;
  font-weight: bold;
  color: var(--primary-color);
}

.mcom_apartir_valor_area .valor {
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary-color);
}

/* Campos do Formulário */
.campo {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.campo label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.campo input[type="text"],
.campo input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.campo input:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Telefone (DDD + Número) */
.fone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-code {
  background: #eee;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--text-light);
  font-weight: bold;
}

.fone input.ddd {
  width: 70px;
  text-align: center;
}

.fone input[name="fone"] {
  flex: 1;
}

/* Termos de Uso */
.termo_uso {
  margin: 1.5rem 0;
  background: #f9f9f9;
  padding: 15px;
  border-radius: var(--radius);
  border: 1px solid #eee;
}

.termo_uso label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.termo_uso input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.termo_uso .link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: bold;
}

/* Botões Globais (.btn-cta e .btn) */
.btn-cta, .btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.btn-cta:hover, .btn:hover {
  background-color: #d66d00;
  transform: translateY(-2px);
}

.btn {
  width: 100%;
}

.mcom_valor_area .btn {
  max-width: 300px;
  background-color: var(--primary-color);
}

.mcom_valor_area .btn:hover {
  background-color: #003d82;
}

/* --- ESTILIZAÇÃO DA OFERTA SELECIONADA (.mcom_selected_oferta) --- */
.mcom_selected_oferta {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #e0e0e0;
}

.mcom_detalhes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 1.5rem;
  text-align: left;
}

.mcom_item {
  flex: 1 1 calc(50% - 15px);
  background: var(--bg-light);
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #eee;
}

.mcom_item.mcom_unidade {
  flex: 1 1 100%;
}

.mcom_item .mcom_label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mcom_item .mcom_valor {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.mcom_valores {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.mcom_valores_coluna {
  text-align: left;
}

.mcom_valor_de {
  font-size: 0.95rem;
  text-decoration: line-through;
  opacity: 0.8;
}

.mcom_valor_por {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffd166;
}

.mcom_valor_economia {
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 20px;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.mcom_valor_economia b {
  display: block;
  font-size: 1.2rem;
}

.mcom_info_importante {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-decoration: underline;
  cursor: pointer;
  display: inline-block;
}

.mcom_btn_mudar {
  margin-top: 0.5rem;
}

.mcom_btn_mudar span {
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.mcom_btn_mudar span:hover {
  color: var(--secondary-color);
}

/* Responsividade extra */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  main section {
    padding: 1.5rem;
  }
  .fone {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .mcom_item {
    flex: 1 1 100%;
  }
  .mcom_valores {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .mcom_valores_coluna {
    text-align: center;
  }
}