/* ==========================================================================
   BASE STYLES & RESET - TRAY 3.0 (CANÔNICO)
   Fidelidade meticulosa ao layout, container e tipografia oficial
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  font-size: 16px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-width: 360px;
  font-family: var(--font_family);
  font-size: 16px;
  font-weight: var(--font_weight, 400);
  font-style: var(--font_style, normal);
  line-height: 1.4;
  color: var(--color_font_medium);
  background-color: var(--color_background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  transition: ease-out 0.2s;
}

/* Compensação de Altura da Aplicação (Header Fixo + Top-Bar + Menu) */
.application {
  min-width: 360px;
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  .application {
    padding-top: 110px;
  }
  .application.menu-default {
    padding-top: 170px;
  }
  .application.with-message-line {
    padding-top: 152px;
  }
  .application.with-message-line.menu-default {
    padding-top: 212px; /* top-bar 42 + header 110 + navigation 60 */
  }
}

@media (max-width: 767px) {
  .application.with-message-line {
    padding-top: 190px;
  }
  .application:not(.with-message-line) {
    padding-top: 153px;
  }
}

/* ==========================================================================
   CONTAINER RESPONSIVO TRAY 3.0
   Regra Oficial: 1080px base, 75% em desktops (1025-1919px), 1440px em 1920px+
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 .938rem; /* 15px */
}

@media (min-width: 1025px) and (max-width: 1919px) {
  .container {
    max-width: 75%;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1440px;
  }
}

@media (max-width: 575px) {
  .container {
    padding: 0 .625rem; /* 10px */
  }
}

/* Utilitários Flexbox Padronizados Tray */
.flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

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

.inline-flex {
  display: inline-flex;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-evenly {
  justify-content: space-evenly;
}

.f-wrap {
  flex-wrap: wrap;
}

/* ==========================================================================
   CABEÇALHOS DE SEÇÃO (.section-header) - PADRÃO OFICIAL TRAY 3.0
   ========================================================================== */
.section-header {
  margin-bottom: 1.875rem;
  display: flex;
  flex-direction: column;
}

.section-header.center {
  align-items: center;
  text-align: center;
}

.section-header.left {
  align-items: flex-start;
  text-align: left;
}

.section-header.right {
  align-items: flex-end;
  text-align: right;
}

/* Traço decorativo azul característico da Tray 3.0 */
.section-header:after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background-color: var(--color_base);
  margin: 1rem 0;
  border-radius: 2px;
}

.section-header.center:after {
  margin: 1rem auto;
}

.section-header .title-section {
  font-size: 2.37rem; /* ~38px */
  font-weight: 600;
  color: var(--color_font);
  line-height: 1.2;
}

.section-header .subtitle-section {
  font-size: 1.125rem; /* ~18px */
  font-weight: 600;
  color: var(--color_font_light);
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: 1.25rem;
  }
  .section-header .title-section {
    font-size: 1.25rem; /* 20px */
  }
  .section-header .subtitle-section {
    font-size: 0.875rem; /* 14px */
  }
  .section-header:after {
    margin: 0.75rem 0;
  }
  .section-header.center:after {
    margin: 0.75rem auto;
  }
}

/* Botões Comerciais Gerais */
.botao-commerce {
  padding: 0 1.25rem;
  font-family: var(--font_family);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color_base_font);
  background-color: var(--color_base);
  border-radius: var(--border_radius);
  transition: ease-out 0.2s;
  height: 44px;
  line-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.botao-commerce:hover {
  background-color: var(--color_base_hover);
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* Pointer clicks do not need the parent's persistent focus outline. */
.application :where(a, button, input, select, textarea, summary, [tabindex]):focus:not(:focus-visible) {
  outline: none;
}
