/* Aviso ao Mercado — Grupo Amazonas
   Estilos espelhados do site grupoamazonas.com.br (mesmos tokens, tipografia e medidas). */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/albert-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/albert-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/albert-sans-latin-wght-italic.woff2") format("woff2-variations");
}

:root {
  --background: #fff;
  --foreground: #171717;
  --accent: #ff7f00;
  --accent-foreground: #fff;
  --primary: #171717;
  --primary-foreground: #fff;
  --secondary: #f4f4f4;
  --muted-foreground: #404040;
  --border: #e5e5e5;
  --search: #ebebeb;
  --footer: #3d3b39;
  --legal: #000;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Albert Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 { letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }

.container-page { width: 100%; max-width: 1344px; margin-inline: auto; padding-inline: 16px; }
.container-page.narrow { max-width: 1024px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--background); border-bottom: 1px solid var(--border); }
.header-bar { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; }
.menu-btn svg { width: 20px; height: 20px; }
.brand { flex-shrink: 0; display: flex; align-items: center; height: 52.8px; }
.brand img { height: 40px; width: auto; }
.search { position: relative; flex: 1; display: none; }
.search input {
  width: 100%; height: 44px; border-radius: 999px; background: var(--search);
  padding: 0 48px 0 20px; font: inherit; font-size: 14px; color: var(--foreground); outline: none;
  transition: box-shadow .15s;
}
.search input::placeholder { color: #8a8a8a; }
.search input:focus { box-shadow: 0 0 0 2px rgba(23, 23, 23, .2); }
.search button { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; transition: background .15s; }
.search button:hover { background: var(--background); }
.search svg { width: 16px; height: 16px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; transition: color .3s; }
.icon-link:hover { color: var(--accent); }
.icon-link svg { width: 20px; height: 20px; }
.whats { display: none; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: var(--shadow-sm); transition: filter .15s; }
.whats:hover { filter: brightness(1.05); }
.whats svg { width: 24px; height: 24px; }
.main-nav { display: none; border-top: 1px solid var(--border); }
.main-nav .container-page { display: flex; justify-content: center; gap: 24px; padding-block: 12px; font-size: 13px; font-weight: 600; overflow-x: auto; scrollbar-width: none; }
.main-nav a { white-space: nowrap; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color .15s; }
.main-nav a:hover { color: var(--accent); }
.main-nav.is-open { display: block; }
.main-nav.is-open .container-page { flex-direction: column; gap: 14px; justify-content: flex-start; padding-block: 16px; }
@media (min-width: 640px) { .header-actions { gap: 8px; } .whats { display: grid; } }
@media (min-width: 768px) { .search { display: block; } }
@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .main-nav, .main-nav.is-open { display: block; }
  .main-nav.is-open .container-page { flex-direction: row; justify-content: center; gap: 24px; padding-block: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 380px; overflow: hidden; color: var(--primary-foreground); display: flex; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(23, 23, 23, .75); }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: center; padding-block: 40px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 64px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; }
.hero-copy { max-width: 672px; }
.hero h1 { font-size: 34px; font-weight: 800; line-height: 1.25; }
.hero p { margin-top: 20px; max-width: 576px; font-size: 16px; line-height: 28px; color: rgba(255, 255, 255, .85); }
@media (min-width: 768px) { .hero p { font-size: 18px; } }
@media (min-width: 1024px) { .hero { min-height: 440px; } .hero h1 { font-size: 48px; } }

/* ---------- Conteúdo ---------- */
.content { background: var(--background); padding-block: 64px; }
@media (min-width: 1024px) { .content { padding-block: 96px; } }

.doc-title { margin-top: 12px; font-size: 24px; font-weight: 900; line-height: 1.25; color: var(--accent); text-wrap: balance; }
@media (min-width: 1024px) { .doc-title { font-size: 30px; line-height: 38px; } }

.text { margin-top: 20px; font-size: 14px; line-height: 28px; color: var(--muted-foreground); text-align: justify; }
.text strong { color: var(--foreground); font-weight: 700; }
.text u, .notes u, .closing u { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.caps { margin-top: 20px; font-size: 13.5px; line-height: 26px; font-weight: 700; color: var(--foreground); text-align: justify; }

.notice {
  border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: rgba(244, 244, 244, .5);
  padding: 20px; font-size: 13px; line-height: 24px; font-weight: 700; letter-spacing: .01em; color: var(--foreground);
}
.notice + .doc-title { margin-top: 40px; }

.cards { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 768px) { .cards { grid-template-columns: 1.15fr 1fr; } }
.card { border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); transition: transform .3s, border-color .3s, box-shadow .3s; background: #fff; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.card { display: flex; flex-direction: column; justify-content: center; }
.card-issuer { display: flex; gap: 20px; align-items: center; }
.card-issuer img { width: 132px; height: auto; flex-shrink: 0; }
.card-issuer p { font-size: 13px; line-height: 22px; color: var(--muted-foreground); }
.card-issuer strong { display: block; font-size: 15px; color: var(--foreground); }
.amount-label { font-size: 13px; color: var(--muted-foreground); }
.amount { margin-top: 2px; font-size: 30px; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; color: var(--foreground); white-space: nowrap; }
.amount-words { margin-top: 2px; font-size: 13px; color: var(--muted-foreground); }
@media (max-width: 420px) { .card-issuer { flex-direction: column; align-items: flex-start; } .amount { font-size: 26px; } }

.callout { margin-top: 28px; border: 1px solid rgba(255, 127, 0, .2); background: rgba(255, 127, 0, .05); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-sm); font-size: 13.5px; line-height: 26px; font-weight: 700; color: var(--foreground); text-align: justify; }

.sections { margin-top: 40px; }
.sections > section { padding-block: 32px; }
.sections > section + section { border-top: 1px solid var(--border); }
.sections h2 { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; line-height: 28px; }
.sections h2 > span { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 999px; background: var(--accent); color: var(--accent-foreground); font-size: 12px; letter-spacing: 0; }

/* Cronograma */
.schedule { margin-top: 24px; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.schedule table { width: 100%; border-collapse: collapse; font-size: 14px; }
.schedule th { background: var(--secondary); text-align: left; padding: 14px 20px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-foreground); }
.schedule th sup { text-transform: none; letter-spacing: 0; }
.schedule td { padding: 16px 20px; border-top: 1px solid var(--border); color: var(--muted-foreground); line-height: 22px; vertical-align: middle; }
.schedule tbody tr { transition: background .2s; }
.schedule tbody tr:hover { background: rgba(255, 127, 0, .04); }
.schedule .ord { width: 96px; }
.schedule .ord span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(255, 127, 0, .35); color: var(--accent); font-size: 12px; font-weight: 700; }
.schedule .date { width: 220px; white-space: nowrap; font-weight: 700; color: var(--foreground); }
@media (max-width: 640px) {
  .schedule thead { display: none; }
  .schedule tr { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 16px; border-top: 1px solid var(--border); }
  .schedule tbody tr:first-child { border-top: 0; }
  .schedule td { padding: 0; border: 0; width: auto !important; }
  .schedule .ord { grid-row: span 2; }
  .schedule .date { margin-top: 4px; font-size: 13px; }
}
.notes { margin-top: 20px; display: grid; gap: 10px; font-size: 12px; line-height: 21px; font-style: italic; color: var(--muted-foreground); text-align: justify; }
.notes li { display: grid; grid-template-columns: 26px 1fr; }
.notes li > span:first-child { font-style: normal; font-weight: 700; color: var(--accent); }

/* Fecho */
.closing { padding-top: 32px; border-top: 1px solid var(--border); }
.closing .text:first-child { margin-top: 0; }
.doc-date { margin-top: 28px; text-align: center; font-size: 14px; font-weight: 600; color: var(--foreground); }
.seals { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.seals img { width: 124px; height: auto; border-radius: 4px; }
.lead { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lead span { font-size: 13px; font-weight: 700; color: var(--foreground); }
.lead img { width: 208px; height: auto; }

.download { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; box-shadow: var(--shadow-sm); }
.download h3 { font-size: 16px; font-weight: 700; }
.download p { margin-top: 2px; font-size: 12px; color: var(--muted-foreground); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 8px 16px; border-radius: 3.2px; background: var(--accent); color: var(--accent-foreground); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow-sm); transition: background .15s; }
.btn:hover { background: rgba(23, 23, 23, .9); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--primary-foreground); padding-top: 64px; }
.footer-inner { max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px 32px; margin-bottom: 64px; }
.footer-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-col > img { height: 56px; width: auto; margin-bottom: 32px; }
.social { display: flex; align-items: center; gap: 16px; }
.social a { transition: transform .3s, color .3s; }
.social a:hover { transform: scale(1.1); color: var(--accent); }
.social svg { width: 28px; height: 28px; }
.footer-col h3 { margin-bottom: 32px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col li { line-height: 19.5px; }
.footer-col li a { font-size: 13px; transition: color .2s; }
.footer-col li a:hover { color: var(--accent); }
.footer-legal { background: var(--legal); padding-block: 40px; }
.footer-legal p { max-width: 1100px; margin-inline: auto; padding-inline: 16px; text-align: center; font-size: 11px; font-weight: 300; line-height: 1.8; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-col { align-items: flex-start; text-align: left; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }

@media (max-width: 640px) { .text, .caps, .callout, .notes { text-align: left; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
