* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --blue: #0645b5;
  --blue-dark: #092d70;
  --red: #f3263c;
  --ink: #14213b;
}
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)),
    url("assets/fundo-centro-distribuicao.jpg") center center / cover fixed,
    linear-gradient(115deg, #d8e8f7 0%, #fff 48%, #dcecff 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background:
    repeating-linear-gradient(90deg, transparent 0 16%, rgba(9,61,132,.035) 16.2% 16.5%, transparent 16.7% 32%),
    linear-gradient(90deg, rgba(255,255,255,.7), transparent 18% 82%, rgba(255,255,255,.5));
}
.page {
  width: min(100% - 48px, 1120px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(20px, 3.2vh, 42px) 0 clamp(24px, 3.5vh, 42px);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand { display: flex; justify-content: center; margin: 0 auto clamp(20px, 3vh, 36px); width: 100%; }
.logo { display: block; width: min(100%, 1500px); max-height: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.announcement { text-align: center; max-width: 850px; margin: 0 auto; }
.eyebrow { font-size: clamp(12px, 1.5vw, 20px); letter-spacing: .30em; margin: 0 0 6px; font-weight: 500; }
h1 { color: var(--blue-dark); font-size: clamp(28px, 4.3vw, 54px); line-height: 1.02; letter-spacing: -.035em; margin: 0; font-weight: 800; }
.accent-line { width: 120px; height: 6px; border-radius: 20px; margin: 14px auto; background: linear-gradient(90deg, var(--red) 0 48%, #6d3e91 50%, var(--blue) 56% 100%); }
.intro { font-size: clamp(15px, 1.45vw, 20px); line-height: 1.4; margin: 0 auto; max-width: 720px; }
.contacts { display: flex; gap: 12px; justify-content: center; margin: 24px auto 0; width: 100%; max-width: 900px; }
.contact-card {
  min-width: 0;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--blue-dark);
  border: 1px solid rgba(10,53,120,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.93);
  box-shadow: 0 5px 18px rgba(19,52,105,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(19,52,105,.13); }
.contact-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); }
.contact-icon svg { width: 24px; height: 24px; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card:first-child .contact-icon svg { fill: white; stroke: white; }
.contact-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-label { color: var(--ink); font-size: 12px; letter-spacing: .09em; }
.contact-copy strong { font-size: clamp(14px, 1.5vw, 19px); line-height: 1.15; white-space: nowrap; overflow-wrap: normal; }
.email-card .contact-copy strong { font-size: clamp(11px, 1.23vw, 16px); letter-spacing: -.025em; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 790px; width: 100%; margin: 28px auto 0; }
.value { text-align: center; padding: 0 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.value + .value { border-left: 1px solid rgba(9,45,112,.24); }
.value svg { width: 36px; height: 36px; fill: none; stroke: var(--blue-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value p { margin: 7px 0 0; font-size: 12px; line-height: 1.3; }
.corner { position: fixed; pointer-events: none; z-index: 0; }
.corner-red { top: 0; left: 0; width: 170px; height: 115px; background: var(--red); clip-path: polygon(0 0,100% 0,0 100%); opacity: .95; }
.corner-blue { right: 0; bottom: 0; width: 290px; height: 180px; background: linear-gradient(135deg, #2474f2, #003da8); clip-path: polygon(100% 0,100% 100%,0 100%); }

@media (min-width: 701px) and (max-height: 800px) {
  .page { padding-top: 14px; padding-bottom: 18px; }
  .brand { margin-bottom: 16px; }
  .logo { max-height: 19vh; width: min(100%, 1000px); }
  .accent-line { margin: 10px auto; }
  .contacts { margin-top: 18px; }
  .values { margin-top: 18px; }
}
@media (max-width: 700px) {
  body {
    background-attachment: scroll;
    background-position: center center;
  }
  .page {
    width: min(calc(100% - 28px), 480px);
    padding: 18px 0 20px;
    min-height: 100vh;
    min-height: 100svh;
  }
  .brand { margin-bottom: 18px; }
  .logo { width: min(100%, 460px); max-height: 17vh; }
  .eyebrow { font-size: 11px; letter-spacing: .20em; margin-bottom: 7px; }
  h1 { font-size: clamp(25px, 6.9vw, 37px); line-height: 1.03; }
  .accent-line { width: 95px; height: 5px; margin: 12px auto; }
  .intro { font-size: clamp(14px, 3.7vw, 16px); line-height: 1.35; max-width: 440px; }
  .desktop-break { display: none; }
  .contacts { flex-direction: column; gap: 9px; margin-top: 18px; }
  .contact-card { flex: none; width: 100%; padding: 10px 12px; gap: 11px; border-radius: 14px; }
  .contact-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .contact-icon svg { width: 22px; height: 22px; }
  .contact-label { font-size: 10px; }
  .contact-copy strong { font-size: clamp(14px, 3.8vw, 17px); }
  .email-card .contact-copy strong { font-size: clamp(10px, 3.0vw, 14px); letter-spacing: -.035em; }
  .values { margin-top: 20px; gap: 0; }
  .value { padding: 0 5px; }
  .value svg { width: 29px; height: 29px; }
  .value p { font-size: 9px; margin-top: 6px; line-height: 1.25; }
  .corner-red { width: 82px; height: 62px; }
  .corner-blue { width: 140px; height: 90px; }
}
@media (max-width: 380px) {
  .page { width: calc(100% - 22px); padding-top: 12px; padding-bottom: 12px; }
  .brand { margin-bottom: 12px; }
  .logo { max-height: 15vh; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: 25px; }
  .accent-line { margin: 9px auto; }
  .intro { font-size: 13px; }
  .contacts { margin-top: 14px; gap: 8px; }
  .contact-card { padding: 8px 9px; gap: 8px; }
  .contact-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .contact-label { font-size: 9px; }
  .contact-copy strong { font-size: 13px; }
  .email-card .contact-copy strong { font-size: 10px; }
  .values { margin-top: 15px; }
  .value { padding: 0 3px; }
  .value svg { width: 26px; height: 26px; }
  .value p { font-size: 8px; }
}
@media (max-height: 740px) {
  .page { padding-top: 10px; padding-bottom: 10px; }
  .brand { margin-bottom: 12px; }
  .logo { max-height: 15vh; }
  .accent-line { margin: 8px auto; }
  .contacts { margin-top: 14px; }
  .values { margin-top: 14px; }
  .value svg { width: 28px; height: 28px; }
}
@media (max-height: 650px) {
  .intro { font-size: 13px; line-height: 1.25; }
  .contact-card { padding-top: 7px; padding-bottom: 7px; }
  .contact-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .values { margin-top: 10px; }
  .value p { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* TESTE: aumentar a logo */
.brand {
  width: 100%;
}

.logo {
  width: min(95vw, 750px) !important;
  max-height: none !important;
  height: auto !important;
}
