@font-face {
  font-family: "Libre Caslon Display";
  src: url("../fonts/caslon-display.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/opensans-var.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --support: #f4f1ed;
  --ink: #181716;
  --muted: #66615c;
  --line: #ded9d3;
  --red: #971521;
  --red-dark: #76101a;
  --green: #147a35;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --shell: 1180px;
  --article: 760px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

address {
  font-style: normal;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner,
.page-shell,
.footer-main,
.footer-bottom,
.article-cta-inner {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0;
}

.brand img {
  width: 40px;
  height: 51px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  margin-left: 12px;
  padding-left: 13px;
  border-left: 1.5px solid var(--red);
  line-height: 1;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 740;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.brand-copy small {
  justify-self: end;
  margin-top: 6px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  padding-block: 28px;
  font-size: 15px;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--red);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
  transition: color 180ms ease, background-color 180ms ease;
}

.header-cta {
  color: var(--red);
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

.button-outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--red);
  border-color: var(--red);
}

.button-light {
  color: var(--red);
  border-color: var(--white);
  background: var(--white);
}

.button-ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
}

.brand:focus-visible,
.site-nav a:focus-visible,
.header-cta:focus-visible,
.button:focus-visible,
.article-preview a:focus-visible,
.related-link:focus-visible,
.footer-links a:focus-visible,
.breadcrumbs a:focus-visible,
.inline-link:focus-visible,
.mobile-dock a:focus-visible {
  outline: 3px solid rgba(151, 21, 33, 0.28);
  outline-offset: 4px;
}

.cta-short {
  display: none;
}

.blog-hero {
  padding: 78px 0 58px;
  border-bottom: 1px solid var(--line);
}

.blog-hero-inner {
  max-width: 760px;
}

.blog-hero h1,
.article-header h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.blog-hero h1 {
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.08;
}

.blog-hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.articles-section {
  padding: 70px 0 92px;
}

.articles-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.articles-heading h2,
.related-section h2,
.article-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.articles-heading h2 {
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.12;
}

.articles-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.article-list {
  border-bottom: 1px solid var(--line);
}

.article-preview {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.article-preview-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--support);
}

.article-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.article-preview:hover .article-preview-media img {
  transform: scale(1.02);
}

.article-preview-copy {
  max-width: 620px;
}

.article-preview h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 720;
  line-height: 1.16;
  letter-spacing: -0.018em;
}

.article-preview h2 a:hover,
.article-preview h2 a:focus-visible,
.read-link:hover,
.read-link:focus-visible {
  color: var(--red);
}

.article-preview p {
  max-width: 570px;
  margin: 16px 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 15px;
  font-weight: 720;
}

.read-link::after {
  content: "→";
}

.article-main {
  padding: 42px 0 82px;
}

.breadcrumbs,
.article-header,
.article-cover,
.article-body {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--red);
}

.article-header {
  max-width: 900px;
  margin-bottom: 40px;
}

.article-header h1 {
  max-width: 880px;
  font-size: clamp(43px, 5.5vw, 68px);
  line-height: 1.08;
}

.article-deck {
  max-width: 710px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.article-cover {
  max-width: 1040px;
  margin-bottom: 52px;
  overflow: hidden;
  background: var(--support);
}

.article-cover img {
  width: 100%;
  height: auto;
}

.article-body {
  max-width: var(--article);
  font-size: 18px;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body h2 {
  margin: 52px 0 18px;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.article-body ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 30px;
  padding-left: 24px;
}

.article-body li::marker {
  color: var(--red);
}

.comparison-table-wrap {
  max-width: 100%;
  margin: 24px 0 36px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.45;
}

.comparison-table caption {
  padding: 14px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.comparison-table thead th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-table tbody th {
  font-weight: 720;
}

.route-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 0 36px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--support);
}

.route-address address {
  color: var(--muted);
  line-height: 1.55;
}

.route-address address strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 21px;
}

.inline-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related-section {
  padding: 62px 0 72px;
  border-top: 1px solid var(--line);
  background: var(--support);
}

.related-section h2 {
  margin-bottom: 26px;
  font-size: clamp(28px, 3vw, 36px);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.related-link {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 142px;
  border: 1px solid var(--line);
  background: var(--white);
}

.related-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-link span {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
}

.related-link strong {
  font-size: 20px;
  line-height: 1.22;
}

.related-link small {
  color: var(--red);
  font-size: 14px;
  font-weight: 720;
}

.article-cta {
  padding: 54px 0;
  color: var(--white);
  background: var(--red);
}

.article-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.article-cta-copy {
  max-width: 620px;
}

.article-cta h2 {
  color: var(--white);
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.14;
}

.article-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.cta-actions {
  display: flex;
  flex: none;
  gap: 12px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer .brand-copy strong,
.site-footer .brand-copy small {
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) 1fr 1fr;
  gap: 54px;
  padding: 54px 0 46px;
}

.footer-brand p {
  margin: 20px 0 0;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-links h2 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 15px;
  font-weight: 720;
}

.footer-links a {
  font-size: 15px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.mobile-dock {
  display: none;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .article-preview {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 30px;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom);
    font-size: 16px;
  }

  .header-inner,
  .page-shell,
  .footer-main,
  .footer-bottom,
  .article-cta-inner,
  .breadcrumbs,
  .article-header,
  .article-cover,
  .article-body {
    width: min(calc(100% - 40px), var(--shell));
  }

  .header-inner {
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    gap: 0;
  }

  .brand img {
    width: 34px;
    height: 43px;
  }

  .brand-copy { margin-left: 9px; padding-left: 10px; }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 0.36em;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .cta-long {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .blog-hero {
    padding: 50px 0 42px;
  }

  .blog-hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  .blog-hero p {
    margin-top: 17px;
    font-size: 18px;
  }

  .articles-section {
    padding: 46px 0 64px;
  }

  .articles-heading {
    margin-bottom: 22px;
  }

  .articles-heading h2 {
    font-size: 30px;
  }

  .articles-heading p {
    margin-top: 10px;
    font-size: 16px;
  }

  .article-preview {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0 30px;
  }

  .article-preview-media {
    aspect-ratio: 16 / 10;
  }

  .article-preview h2 {
    font-size: 27px;
  }

  .article-preview p {
    margin: 12px 0 16px;
    font-size: 16px;
  }

  .article-main {
    padding: 24px 0 58px;
  }

  .breadcrumbs {
    margin-bottom: 28px;
    font-size: 13px;
  }

  .article-header {
    margin-bottom: 28px;
  }

  .article-header h1 {
    font-size: 39px;
    line-height: 1.1;
  }

  .article-deck {
    margin-top: 16px;
    font-size: 18px;
  }

  .article-cover {
    width: 100%;
    margin-bottom: 38px;
  }

  .article-body {
    font-size: 17px;
  }

  .article-body h2 {
    margin: 42px 0 15px;
    font-size: 28px;
  }

  .comparison-table-wrap {
    width: calc(100% + 20px);
    margin-right: -20px;
  }

  .comparison-table {
    min-width: 620px;
  }

  .route-address {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .route-address .button {
    width: 100%;
  }

  .related-section {
    padding: 46px 0 54px;
  }

  .related-section h2 {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .related-link {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 112px;
  }

  .related-link span {
    padding: 16px;
  }

  .related-link strong {
    font-size: 17px;
  }

  .article-cta {
    padding: 42px 0;
  }

  .article-cta-inner {
    display: grid;
    gap: 24px;
  }

  .article-cta h2 {
    font-size: 30px;
  }

  .article-cta p {
    font-size: 16px;
  }

  .cta-actions {
    display: grid;
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 42px 0 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
    gap: 5px;
    padding: 17px 0 22px;
  }

  .mobile-dock {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(66px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .mobile-dock a {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 730;
  }

  .mobile-dock svg,
  .mobile-dock img {
    width: 23px;
    height: 23px;
  }

  .mobile-dock svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-dock .dock-whatsapp {
    color: var(--white);
    background: var(--green);
  }
}

@media (max-width: 390px) {
  .header-inner,
  .page-shell,
  .footer-main,
  .footer-bottom,
  .article-cta-inner,
  .breadcrumbs,
  .article-header,
  .article-body {
    width: min(calc(100% - 32px), var(--shell));
  }

  .brand-copy strong {
    font-size: 13px;
  }

  .header-cta {
    padding-inline: 12px;
    font-size: 13px;
  }

  .blog-hero h1,
  .article-header h1 {
    font-size: 35px;
  }

  .related-link {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .related-link span {
    padding: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* v14: wordmark na mesma família editorial da headline principal. */
.brand-copy strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .025em;
}

@media (max-width: 680px) {
  .brand-copy strong { font-size: 15px; }
}
