:root {
  --blue: #073574;
  --blue-2: #0b4590;
  --brand-blue: #00ccff;
  --red: #e30713;
  --brand-red: #ff0000;
  --green: #16a34a;
  --ink: #0b2347;
  --muted: #52627a;
  --line: #e7ebf0;
  --soft: #f7f8fa;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(13, 43, 82, .10);
  --radius: 16px;
}

* { 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.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-160%); background: var(--white); padding: 10px 14px;
  border: 2px solid var(--blue); border-radius: 8px;
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 370px; max-height: 92px; object-fit: contain; object-position: left center; }
.header-support {
  display: flex; align-items: center; gap: 12px;
  font-size: .93rem; font-weight: 600;
}
.header-support svg { width: 32px; height: 32px; color: var(--blue); }
.menu-button, .mobile-nav { display: none; }

.hero {
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0 43%, #f8f8f7 43% 100%);
}
.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
}
.hero-copy {
  padding: 72px 30px 44px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.3vw, 5.6rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
  color: var(--blue);
}
.hero h1 strong { color: var(--red); font-weight: 400; }
.accent-line { width: 76px; height: 3px; background: var(--red); margin: 36px 0 28px; }
.hero-copy > p {
  max-width: 560px; margin: 0 0 34px;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  color: #263b59;
}
.primary-button {
  width: fit-content;
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  min-height: 64px; padding: 0 27px;
  background: linear-gradient(135deg, var(--red), #f21a24);
  color: #fff; border-radius: 9px;
  font-size: 1.06rem; font-weight: 800;
  box-shadow: 0 10px 24px rgba(227, 7, 19, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(227,7,19,.28); }
.primary-button svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

.responsaveis { display: flex; gap: 13px; margin-top: 34px; font-size: .89rem; }
.responsaveis svg { width: 26px; height: 26px; color: var(--blue); flex: 0 0 auto; }
.responsaveis strong, .responsaveis span { display: block; }
.responsaveis span { margin-top: 4px; color: #2c405d; }

.hero-photo { position: relative; min-width: 0; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0 auto 0 -100px; width: 180px; z-index: 1;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }

.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 48px; }
.pillar {
  min-width: 0; text-align: center; padding: 0 34px;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: 0; }
.icon-circle {
  width: 78px; height: 78px; margin: 0 auto 15px;
  display: grid; place-items: center;
  border-radius: 999px; background: #f4f5f6;
}
.icon-circle svg { width: 48px; height: 48px; color: var(--blue); }
.pillar h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.58rem; font-weight: 500; color: var(--blue);
}
.pillar p { margin: 0 auto; max-width: 220px; font-size: .95rem; color: #263b59; }
.pillar::after {
  content: ""; display: block; width: 38px; height: 2px;
  background: var(--red); margin: 20px auto 0;
}

.contact { padding: 42px 0 50px; }
.section-heading { text-align: center; margin-bottom: 25px; }
.section-heading h2 {
  margin: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem; font-weight: 500; color: var(--blue);
}
.section-heading > span { display: block; width: 46px; height: 2px; background: var(--red); margin: 5px auto 9px; }
.section-heading p { margin: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  min-height: 150px; position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 24px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); box-shadow: 0 5px 17px rgba(18, 49, 91, .06);
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card { transition: transform .2s ease, box-shadow .2s ease; }
.contact-card > svg { width: 46px; height: 46px; color: var(--blue); flex: 0 0 auto; }
.contact-card > svg.green { color: var(--green); fill: none; }
.contact-card strong { display: block; font-size: 1.1rem; color: var(--blue); margin-bottom: 5px; }
.contact-card span { display: block; color: #40526e; font-size: .9rem; }
.contact-card b { margin-left: auto; color: var(--red); font-size: 1.7rem; font-weight: 400; }

.site-footer {
  background: linear-gradient(120deg, #062c66, #041f4b);
  color: rgba(255,255,255,.92);
}
.footer-grid {
  display: grid; grid-template-columns: 1.35fr 1.25fr 1.15fr 1fr;
  gap: 42px; padding-block: 48px 38px;
}
.site-footer h2 {
  margin: 0 0 16px;
  font-size: .94rem; letter-spacing: .06em; text-transform: uppercase;
}
.site-footer p, .site-footer address, .site-footer a, .site-footer button {
  display: block; margin: 0 0 10px;
  color: rgba(255,255,255,.78);
  font: inherit; font-size: .88rem; line-height: 1.55;
}
.site-footer address { font-style: normal; }
.site-footer a:hover, .site-footer button:hover { color: #fff; }
.site-footer button { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: .79rem; color: rgba(255,255,255,.67); }

.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80;
  max-width: 930px; margin: 0 auto;
  display: none; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.20);
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .88rem; color: #30435e; }
.cookie-banner > div { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-banner button { min-height: 42px; padding: 0 15px; border-radius: 8px; font-weight: 700; cursor: pointer; }
.cookie-secondary { border: 1px solid #cad2dd; background: #fff; color: var(--blue); }
.cookie-primary { border: 1px solid var(--red); background: var(--red); color: #fff; }

@media (max-width: 960px) {
  .container { width: min(100% - 32px, 850px); }
  .brand img { width: 300px; }
  .header-inner { min-height: 90px; }
  .header-support { display: none; }
  .menu-button {
    width: 46px; height: 46px; display: grid; place-content: center; gap: 5px;
    border: 0; background: transparent; cursor: pointer;
  }
  .menu-button span { display: block; width: 27px; height: 3px; background: var(--blue); border-radius: 4px; }
  .mobile-nav {
    display: none; padding: 8px 16px 18px;
    border-top: 1px solid var(--line); background: #fff;
  }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--blue); }

  .hero { background: #fff; }
  .hero-grid { min-height: 630px; grid-template-columns: 46% 54%; }
  .hero-copy { padding: 55px 22px 38px 0; }
  .hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
  .hero-copy > p { font-size: 1rem; }
  .primary-button { padding-inline: 18px; font-size: .95rem; }
  .hero-responsaveis { display: none; }
  .pillars-grid { padding-block: 36px; }
  .pillar { padding-inline: 18px; }
  .pillar h3 { font-size: 1.3rem; }
  .pillar p { font-size: .86rem; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 560px); }
  .header-inner { min-height: 78px; }
  .brand img { width: 260px; max-height: 66px; }
  .hero-grid { min-height: 0; display: block; width: 100%; }
  .hero-copy {
    padding: 38px 28px 0;
    background:
      linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.93) 43%, rgba(255,255,255,.10) 74%),
      url("assets/hero-farmaceuticos.webp") center / cover no-repeat;
    min-height: 675px;
  }
  .hero-photo { display: none; }
  .hero h1 { max-width: 82%; font-size: clamp(2.7rem, 13vw, 4.2rem); line-height: 1.03; }
  .accent-line { margin: 28px 0 24px; width: 62px; }
  .hero-copy > p { max-width: 48%; font-size: 1rem; line-height: 1.55; }
  .primary-button {
    width: calc(100% - 28px); min-height: 64px;
    position: absolute; left: 14px; bottom: 22px;
    padding: 0 17px; font-size: 1rem; border-radius: 12px;
  }
  .primary-button svg { width: 27px; height: 27px; }
  .pillars-grid { grid-template-columns: 1fr; padding: 0; }
  .pillar {
    min-height: 132px; display: grid; grid-template-columns: 70px 1fr;
    grid-template-rows: auto auto; text-align: left; align-items: center;
    padding: 22px 8px; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .pillar:last-child { border-bottom: 0; }
  .icon-circle { grid-row: 1 / span 2; width: 62px; height: 62px; margin: 0; }
  .icon-circle svg { width: 38px; height: 38px; }
  .pillar h3 { margin: 0 0 4px; font-family: inherit; font-size: 1.15rem; font-weight: 800; }
  .pillar p { max-width: none; margin: 0; font-size: .88rem; }
  .pillar::after { display: none; }
  .contact { padding-top: 34px; }
  .section-heading h2 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { min-height: 108px; padding: 18px; }
  .contact-card > svg { width: 42px; height: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; padding-block: 38px 30px; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-banner > div { display: grid; grid-template-columns: 1fr; }
}

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