/* Anamática — página reutilizável para clientes. Identidade clara / versão 2. */
:root {
  color-scheme: light;
  --navy: #0d1b5e;
  --navy-deep: #08133f;
  --text: #101a46;
  --muted: #5d6885;
  --cyan: #00a7b8;
  --cyan-text: #076f7c;
  --page-bg: #ffffff;
  --gutter: clamp(24px, 4vw, 92px);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid var(--cyan-text); outline-offset: 5px; }
.shell { width: calc(100% - var(--gutter) - var(--gutter)); max-width: 1760px; margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fff 0%, #f7fbff 48%, #f7f6ff 100%);
}
.main { flex: 1; display: flex; flex-direction: column; }
.top-area {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}

/* Halos suaves da identidade Anamática, integrados no fundo sem caixa. */
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 95% at 87% 12%, rgba(16, 188, 201, .16), transparent 72%),
    radial-gradient(ellipse 42% 100% at 7% 98%, rgba(178, 77, 181, .09), transparent 75%);
  pointer-events: none;
}
.client-header { position: relative; padding-top: clamp(20px, 2.8vh, 38px); }
.client-name {
  display: inline-block;
  max-width: 100%;
  border-left: 3px solid var(--cyan);
  padding-left: 13px;
  font-size: clamp(25px, 2vw, 36px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.hero-copy { flex: 1; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(32px, 4vw, 74px); padding-block: clamp(24px, 3.6vh, 46px); }
.hero-text { position: relative; max-width: 700px; }
.eyebrow { color: var(--cyan-text); font-size: 14px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
h1 {
  color: var(--navy-deep);
  margin-top: 15px;
  font-size: clamp(49px, 4.6vw, 84px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.065em;
}
h1 span { display: block; color: var(--cyan-text); }
.hero-description { margin-top: 21px; color: var(--muted); font-size: clamp(16px, 1.15vw, 19px); line-height: 1.6; }
.hero-description strong { color: var(--navy); font-weight: 700; }

.services {
  position: relative;
  display: grid;
  grid-template-columns: minmax(245px, .9fr) minmax(0, 2.9fr);
  align-items: center;
  gap: clamp(28px, 3vw, 54px);
  padding-block: 4px clamp(24px, 3.6vh, 44px);
}
.services-intro { align-self: center; }
.anamatica-brand { display: block; justify-self: center; width: min(100%, 465px); border-radius: 5px; }
.anamatica-brand img { width: 100%; filter: drop-shadow(0 14px 24px rgba(17, 31, 83, .10)); }
h2 { color: var(--navy-deep); font-size: clamp(29px, 2.35vw, 40px); font-weight: 750; line-height: 1.16; letter-spacing: -.045em; }
h2 span { color: var(--navy); }
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 23px;
  padding: 11px 20px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 15px;
  font-weight: 750;
  transition: background-color .18s ease;
}
.primary-link:hover { background: var(--navy-deep); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.1vw, 18px); }
.service-card {
  display: flex;
  flex-direction: column;
  min-height: clamp(159px, 20vh, 210px);
  padding: clamp(17px, 1.45vw, 25px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  color: var(--navy-deep);
  background: var(--card-bg);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}
.card-heading { display: flex; align-items: center; gap: 10px; }
.card-heading svg { flex: 0 0 25px; width: 25px; height: 25px; color: var(--card-accent); stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: clamp(17px, 1.15vw, 20px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.service-card p { margin-top: 12px; margin-bottom: 14px; color: #53607a; font-size: 16px; line-height: 1.4; }
.card-action { align-self: flex-start; margin-top: auto; border-bottom: 1px solid #0d1b5e40; padding-bottom: 2px; color: var(--navy); font-size: 14px; font-weight: 650; }
.service-card:hover { transform: translateY(-3px); border-color: var(--card-accent); }
.assistance { --card-bg: #dffafd; --card-accent: #087f8d; --card-border: #c5edf1; }
.equipment { --card-bg: #e7edff; --card-accent: #214ab8; --card-border: #d5dff8; }
.management { --card-bg: #fff6c8; --card-accent: #8a6c00; --card-border: #f0e6b3; }
.security { --card-bg: #e9f8e7; --card-accent: #367c3d; --card-border: #d7ebd5; }
.printing { --card-bg: #fff7f0; --card-accent: #a8552a; --card-border: #f0e3d8; }
.web { --card-bg: #f5e8f7; --card-accent: #934297; --card-border: #e9d8ec; }

.footer { border-top: 1px solid #0d1b5e; background: var(--navy-deep); color: #f5f9ff; }
.footer a:focus-visible { outline-color: #a1f3f6; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: clamp(62px, 7vh, 78px); padding-block: 10px; }
.footer-note { color: #b6c8dc; font-size: 14px; }
.signature { display: flex; align-items: center; gap: 15px; }
.signature span { color: #b6c8dc; font-size: 13px; }
.signature a { display: block; }
.signature img { width: 116px; }

@media (min-width: 1101px) and (max-height: 790px) {
  .client-header { padding-top: 18px; }
  .hero-copy { padding-block: 21px 25px; }
  .hero-description { margin-top: 17px; }
  .services { padding-bottom: 22px; }
  .service-card { padding: 17px; min-height: 159px; }
  .service-card p { margin-top: 10px; margin-bottom: 12px; }
}

@media (max-width: 1100px) {
  .top-area { min-height: 375px; }
  .hero-copy { grid-template-columns: 1.3fr .7fr; gap: 26px; }
  .hero-text { max-width: 640px; }
  .services { grid-template-columns: 1fr; gap: 26px; padding-top: 10px; }
  .services-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 24px; }
  h2 { margin: 0; }
  .primary-link { margin: 0; }
  .service-card { min-height: 180px; }
  .service-card h3 { font-size: 18px; }
}

@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .top-area { min-height: 390px; }
  .client-header { padding-top: 24px; }
  .client-name { font-size: 27px; }
  .hero-copy { grid-template-columns: 1fr; gap: 24px; padding-block: 34px; }
  .hero-text { max-width: 100%; }
  .anamatica-brand { justify-self: start; width: 144px; }
  .eyebrow { font-size: 13px; letter-spacing: .1em; }
  h1 { font-size: clamp(29px, 8.7vw, 62px); letter-spacing: -.06em; line-height: 1.05; }
  .hero-description { max-width: 490px; font-size: 16px; }
  .desktop-break { display: none; }
  .services { gap: 26px; padding-block: 10px 30px; }
  .services-intro { gap: 18px 16px; }
  h2 { font-size: 30px; }
  .primary-link { font-size: 14px; padding-inline: 16px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .service-card { padding: 19px; min-height: 183px; }
  .card-heading { gap: 9px; }
  .service-card h3 { font-size: 18px; }
  .footer-inner { padding-block: 20px; justify-content: center; }
  .footer-note { display: none; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .top-area { min-height: 350px; }
  h2 { font-size: 27px; }
  .service-card { min-height: 159px; padding: 20px; }
  .signature { gap: 12px; }
  .signature span { font-size: 12px; }
  .signature img { width: 109px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .primary-link { transition: none; }
  .service-card:hover { transform: none; }
}
