:root {
  --navy: #082f3c;
  --navy-deep: #05242e;
  --teal: #087f76;
  --teal-dark: #06675f;
  --ink: #17232b;
  --muted: #5d6b72;
  --line: #dce5e6;
  --soft: #f3f7f6;
  --white: #fff;
  --max: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #e8ab43; outline-offset: 4px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 16px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 72px;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.header-inner nav { display: flex; align-items: center; gap: 24px; }
.header-inner nav a { font-size: 14px; font-weight: 750; text-decoration: none; }
.hero {
  min-height: 570px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 34%, rgb(8 127 118 / 13%) 0 9%, transparent 9.3%),
    linear-gradient(128deg, #f8fbfa 0 66%, #e7f0ee 66%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 50px; align-items: center; padding-block: 80px; }
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { margin-bottom: 20px; font-size: clamp(40px, 5.5vw, 66px); letter-spacing: -.025em; }
h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.018em; }
h3 { font-size: 27px; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: 20px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--teal); box-shadow: 0 12px 28px rgb(8 127 118 / 20%); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { color: var(--white); background: var(--navy); }
.button-secondary:hover { background: var(--navy-deep); }
.hero-author-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: rgb(255 255 255 / 94%);
  border: 1px solid rgb(8 47 60 / 12%);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 22px 55px rgb(8 47 60 / 10%);
}
.hero-author-card img {
  width: 140px;
  height: 170px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 9px;
}
.hero-author-label {
  margin: 0 0 5px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-author-content h2 { margin-bottom: 10px; font-size: 24px; }
.hero-author-content > p:not(.hero-author-label) { margin-bottom: 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero-author-content a { color: var(--navy); font-size: 12px; font-weight: 850; letter-spacing: .05em; text-underline-offset: 4px; text-transform: uppercase; }
.products-section { padding-block: 88px 100px; }
.section-heading { max-width: 680px; margin-bottom: 40px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}
.product-card {
  display: grid;
  grid-template-rows: 310px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgb(8 47 60 / 8%);
}
.product-visual { display: grid; place-items: center; min-width: 0; min-height: 0; overflow: hidden; background: var(--soft); }
.guide-visual {
  position: relative;
  align-content: center;
  justify-items: start;
  padding: 46px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-deep), var(--navy) 68%, var(--teal-dark));
}
.guide-visual::after { content: ""; position: absolute; right: -45px; bottom: -70px; width: 210px; height: 210px; border: 28px solid rgb(255 255 255 / 8%); border-radius: 50%; }
.guide-visual span { color: #9adbd5; font-size: 17px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.guide-visual strong { max-width: 390px; margin: 5px 0 22px; font-size: clamp(38px, 5vw, 57px); line-height: .98; }
.guide-visual small { max-width: 340px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 30%); font-size: 15px; }
.bacen-visual { padding: 22px; }
.bacen-visual img { width: 100%; height: 100%; object-fit: contain; }
.guide-cover-visual { padding: 22px; background: #e9f1ef; }
.guide-cover-visual img { width: auto; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgb(5 36 46 / 18%)); }
.product-content { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; }
.product-label { margin-bottom: 10px; color: var(--teal-dark); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.product-content h3 { margin-bottom: 14px; }
.product-content > p:not(.product-label) { margin-bottom: 28px; color: var(--muted); }
.product-content .product-meta { margin-top: -14px; color: var(--navy); font-size: 14px; font-weight: 800; }
.product-content .button { margin-top: auto; }
.about-section { padding-block: 76px; color: #d6e4e7; background: var(--navy-deep); }
.about-grid { display: grid; grid-template-columns: 190px minmax(0, 700px); gap: 48px; align-items: center; justify-content: center; }
.about-grid img { width: 190px; height: 230px; object-fit: cover; object-position: center 22%; border-radius: 10px; }
.eyebrow-light { color: #8edbd3; }
.about-grid h2 { color: var(--white); }
.about-grid p:last-child { margin-bottom: 0; font-size: 18px; }
.site-footer { padding-block: 30px; color: #aebfc3; background: #031a22; font-size: 13px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.footer-inner strong { color: var(--white); }
.footer-inner nav { display: flex; gap: 22px; }
.footer-inner a { text-underline-offset: 4px; }
.footer-inner p { margin: 0; text-align: right; }

@media (max-width: 800px) {
  .hero { min-height: 0; background: #f3f7f6; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-block: 64px; }
  .hero-author-card { grid-template-columns: 120px 1fr; gap: 20px; padding: 20px; }
  .hero-author-card img { width: 120px; height: 150px; }
  .products-section { padding-block: 68px; }
  .product-card { grid-template-rows: 280px 1fr; }
  .about-grid { grid-template-columns: 150px 1fr; gap: 30px; }
  .about-grid img { width: 150px; height: 190px; }
  .footer-inner { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner p { text-align: left; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 66px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { max-width: 125px; font-size: 13px; line-height: 1.2; white-space: normal; }
  .header-inner nav a { display: none; }
  .header-inner nav a:nth-child(2) { display: inline-flex; padding: 8px 10px; color: var(--white); background: var(--navy); border-radius: 6px; font-size: 12px; }
  .hero-inner { padding-block: 48px; }
  h1 { font-size: 38px; }
  h2 { font-size: 32px; }
  .hero-copy > p:not(.eyebrow) { font-size: 17px; }
  .hero-author-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-author-card img { width: 120px; height: 150px; }
  .hero-author-card { padding: 18px; }
  .hero-author-content > p:not(.hero-author-label) { font-size: 12px; line-height: 1.45; }
  .product-card { grid-template-rows: 235px 1fr; }
  .guide-visual { padding: 30px; }
  .guide-visual strong { font-size: 41px; }
  .product-content { padding: 26px 22px; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-grid img { margin-inline: auto; }
  .footer-inner nav { flex-direction: column; gap: 7px; }
}

@media (max-width: 340px) {
  .brand strong { max-width: 100px; font-size: 12px; }
  .header-inner nav a:nth-child(2) { padding-inline: 8px; font-size: 11px; }
  h1 { font-size: 33px; }
  .product-card { grid-template-rows: 220px 1fr; }
  .guide-visual { padding: 24px; }
  .guide-visual strong { font-size: 36px; }
}

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