/* Casa das Motocicletas — páginas legais
   Estilo replicado de https://casamoto.com.br/politica-de-privacidade-e-protecao-de-dados
   Fonte: Estricta (proprietária Alpes One, hospedada localmente) */

/* ====================================================================
   Fonte Estricta — replicada do tema oficial alpes-yamaha-abracy
   ==================================================================== */

@font-face {
  font-display: swap;
  font-family: 'Estricta';
  font-style: normal;
  font-weight: 400;
  src: url('/_assets/fonts/Estricta-Regular.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Estricta';
  font-style: normal;
  font-weight: 500;
  src: url('/_assets/fonts/Estricta-Medium.ttf') format('truetype');
}

@font-face {
  font-display: swap;
  font-family: 'Estricta';
  font-style: normal;
  font-weight: 700;
  src: url('/_assets/fonts/Estricta-Bold.ttf') format('truetype');
}

/* ====================================================================
   Reset minimal (subset do Bootstrap 4 reboot que o site oficial usa)
   ==================================================================== */

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

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
               sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
               "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

article, aside, figcaption, figure, footer, header,
hgroup, main, nav, section { display: block; }

p { margin-top: 0; margin-bottom: 1rem; }

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li { margin-bottom: 4px; }

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

strong { font-weight: 600; }

small { font-size: 80%; font-weight: 400; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* ====================================================================
   Container (Bootstrap-like, max 1140px)
   ==================================================================== */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* ====================================================================
   Cabeçalho institucional (replica visual do site oficial)
   ==================================================================== */

.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e1e4e8;
  padding: 18px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.site-header__brand img {
  height: 48px;
  width: auto;
  display: block;
}

.site-header__yamaha {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.site-header__yamaha img {
  height: 34px;
  width: auto;
  display: block;
}

@media (max-width: 575.98px) {
  .site-header { padding: 14px 0; }
  .site-header__inner { gap: 12px; justify-content: space-between; }
  .site-header__brand img { height: 36px; }
  .site-header__yamaha img { height: 26px; }
}

/* ====================================================================
   Página de política (replica .policy-section do tema oficial)
   ==================================================================== */

.policy-section {
  padding: 40px 0 60px;
}

.policy-section h1 {
  color: #000;
  font-family: 'Estricta', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.policy-section h2 {
  color: #343434;
  font-family: 'Estricta', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 30px 0;
  text-transform: uppercase;
}

.policy-section h3,
.policy-section h4,
.policy-section h5,
.policy-section h6 {
  color: #343434;
  font-family: 'Estricta', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
}

.policy-section p,
.policy-section li {
  color: #343434;
  /* Texto corrido: system stack (herda do body), mais legível em corpo de texto */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
               sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
               "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
}

.policy-section ul,
.policy-section ol {
  margin-bottom: 16px;
}

.policy-section a {
  color: #007bff;
  text-decoration: underline;
}

.policy-section a:hover {
  color: #0056b3;
}

.policy-section__updated {
  color: #818181;
  font-size: 14px;
  margin-top: -20px;
  margin-bottom: 30px;
  display: block;
}

.policy-section__note {
  background-color: #f8f9fa;
  border-left: 3px solid #007bff;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  color: #343434;
  line-height: 23px;
}

.policy-section__note p:last-child { margin-bottom: 0; }

/* Responsivo — match com breakpoints do tema oficial */
@media (max-width: 767.98px) {
  .policy-section { padding: 24px 0 40px; }
  .policy-section h1 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .policy-section h2,
  .policy-section h3,
  .policy-section h4,
  .policy-section h5,
  .policy-section h6 {
    font-size: 14px;
    margin: 20px 0 8px;
  }
  .policy-section p,
  .policy-section li { font-size: 14px; line-height: 22px; }
}

/* ====================================================================
   Rodapé institucional
   ==================================================================== */

.site-footer {
  background-color: #212529;
  color: #fff;
  padding: 30px 0;
  margin-top: 40px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  /* Rodapé: system stack (texto corrido legível) */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
               sans-serif;
  font-size: 13px;
  color: #adb5bd;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.site-footer a:hover { color: #007bff; }

.site-footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}

.site-footer__brand {
  margin-bottom: 16px;
  line-height: 0;
}

.site-footer__brand img {
  height: 38px;
  width: auto;
  /* Inverte para clarear logo escuro sobre fundo escuro */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
}
