:root {
  --brand-blue: #0e3c8a;
  --soft-bg: #f5f5f5;
  --accent-green: #3f6c51;
  --accent-aqua: #c1fff9;
  --ink: #132238;
  --muted: #5d6a79;
  --line: #d9e0e8;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 34px rgba(16, 43, 84, 0.12);
  --maxw: 1160px;
  --hero-surgery-image: url("https://images.pexels.com/photos/247786/pexels-photo-247786.jpeg?auto=compress&cs=tinysrgb&w=1920");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfdff 0%, var(--soft-bg) 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid rgba(14, 60, 138, 0.1);
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: var(--brand-blue);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(130deg, #184b98, #12397e);
  font-weight: 800;
  font-size: 1.22rem;
}

.logo-copy {
  font-size: 0.93rem;
  line-height: 1.1;
}

.logo-copy strong {
  display: block;
  font-size: 1.06rem;
}

.logo-copy-compact strong {
  font-size: 1.6rem;
  line-height: 0.86;
}

.logo-copy-compact {
  color: #1f3a63;
  font-size: 0.82rem;
  font-weight: 500;
}

.topbar .logo {
  min-width: 210px;
}

.topbar .logo-copy {
  font-size: 0.81rem;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  margin-right: 1rem;
}

.nav-links a {
  font-weight: 700;
  color: #29405f;
  padding: 0.55rem 1rem;
  border-bottom: 0;
  border-radius: 12px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2159ab;
  background: #e9eef6;
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0.48rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #f4fbf7;
  background: #3f6c51;
  box-shadow: 0 8px 18px rgba(43, 89, 64, 0.26);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  place-items: center;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 7rem 0 5.5rem;
  color: #eff6ff;
  background:
    linear-gradient(110deg, rgba(7, 33, 70, 0.9) 0%, rgba(12, 49, 96, 0.78) 44%, rgba(16, 68, 121, 0.58) 100%),
    var(--hero-surgery-image) center/cover no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: var(--hero-surgery-image) center/cover no-repeat;
  filter: blur(6px) saturate(0.86);
  opacity: 0.3;
  transform: scale(1.06);
}

.hero::after {
  background:
    linear-gradient(180deg, rgba(10, 32, 70, 0.2), rgba(8, 30, 62, 0.62)),
    radial-gradient(circle at 68% 54%, rgba(193, 255, 249, 0.15), rgba(193, 255, 249, 0));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.1rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-brand {
  justify-self: end;
  max-width: 380px;
  border: 1px solid rgba(210, 228, 250, 0.26);
  border-radius: 24px;
  background: rgba(7, 30, 62, 0.38);
  backdrop-filter: blur(7px);
  padding: 1.4rem;
  box-shadow: 0 20px 34px rgba(8, 26, 55, 0.38);
}

.hero-brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(2, 15, 39, 0.42));
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(219, 233, 255, 0.38);
  color: #dbe7fb;
  background: rgba(214, 230, 255, 0.16);
  border-radius: 999px;
  padding: 0.4rem 1.05rem;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #bdece2;
  box-shadow: 0 0 0 4px rgba(193, 255, 249, 0.15);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: #e8f0ff;
  border-radius: 999px;
  padding: 0.42rem 0.86rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.08;
  margin-top: 1.15rem;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: #f2f8ff;
}

.hero-highlight {
  color: var(--accent-aqua);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 0.95rem;
}

.lead {
  font-size: 1.11rem;
  max-width: 60ch;
  color: #2f445d;
  margin: 1rem 0 1.8rem;
}

.hero-lead {
  color: #cfddf0;
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  max-width: 47ch;
  margin-top: 1.15rem;
  margin-bottom: 1.35rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  gap: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  padding: 0.88rem 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand-blue), #2362bf);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(14, 60, 138, 0.26);
}

.btn-hero-primary {
  background: #3f6c51;
  color: #f4fff8;
  border-radius: 999px 0 0 999px;
  min-width: 330px;
  justify-content: center;
}

.btn-hero-secondary {
  color: #eaf3ff;
  background: rgba(7, 37, 78, 0.22);
  border-color: rgba(219, 232, 251, 0.45);
  border-radius: 0 999px 999px 0;
  min-width: 300px;
  justify-content: center;
}

.btn-hero-secondary:hover,
.btn-hero-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--brand-blue);
  border-color: #bdd0ee;
  background: var(--white);
}

.btn-soft {
  background: #e5f6f4;
  color: #164938;
}

.panel {
  background: var(--white);
    padding-top: 5rem;
    padding-bottom: 6.5rem;
  border: 1px solid #dbe5f2;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
    font-size: 0.98rem;
  }

  .hero-layout {
    gap: 1.25rem;
  }

  .hero-brand {
    max-width: min(100%, 320px);
    margin: 0 auto 2.75rem;
    justify-self: center;
  }

  .scroll-indicator {
    bottom: 0.9rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head .btn {
    width: auto;
    min-width: 190px;
    justify-content: center;
  }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

    max-width: 100%;
.metric-card {

  .about-intro-caption {
    font-size: 0.98rem;
    line-height: 1.45;
  }
  border: 1px solid #dde8f6;
  padding: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.metric-card strong {
  display: block;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: var(--brand-blue);
  font-size: 1.35rem;
}

.metric-card span {
  font-size: 0.92rem;
  color: #47617f;
}

.section {
  padding: 4.3rem 0;
}

.section.alt {
  background: var(--white);
  border-top: 1px solid rgba(14, 60, 138, 0.08);
  border-bottom: 1px solid rgba(14, 60, 138, 0.08);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
}

.social-grid,
.feature-grid,
.products-overview,
.contact-grid,
.department-grid,
.values-grid {
  display: grid;
  gap: 1rem;
}

.social-grid {
  grid-template-columns: repeat(2, 1fr);
}

.social-section {
  background: #f3f4f6;
  border-top: 1px solid #e2e7ee;
  border-bottom: 1px solid #e2e7ee;
}

.social-wrap {
  text-align: center;
  max-width: 900px;
}

.social-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #607394;
  font-size: 0.9rem;
}

.social-title {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #1a2e4f;
}

.social-subtitle {
  margin: 0.85rem auto 1.9rem;
  max-width: 30ch;
  color: #4f6484;
  font-size: 1.04rem;
}

.social-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  min-width: 310px;
  border-radius: 18px;
  color: #fff;
  font-size: 1.05rem;
  padding: 1rem 1.4rem;
  box-shadow: 0 10px 18px rgba(33, 52, 88, 0.16);
}

.instagram-btn {
  background: linear-gradient(120deg, #d948a8 0%, #8f52ff 58%, #ff9d42 100%);
}

.linkedin-btn {
  background: #1d69bb;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 58px;
  border-radius: 30px;
  border: 1px solid rgba(224, 234, 250, 0.65);
  display: grid;
  place-items: center;
  z-index: 2;
}

.scroll-indicator span {
  width: 5px;
  height: 12px;
  border-radius: 999px;
  background: rgba(220, 233, 252, 0.85);
  animation: scroll-dot 1.6s infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

.social-card,
.feature-card,
.product-card,
.department-card,
.info-card,
.value-card,
.category-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(13, 44, 91, 0.07);
  padding: 1.2rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.social-card h3,
.product-card h3,
.department-card h3,
.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.muted {
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  font-size: 0.85rem;
  background: linear-gradient(120deg, #2f8f66, var(--accent-green));
}

.visual-box {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #0e3c8a 0%, #3f6c51 100%);
}

.visual-box.visual-about-photo {
  background:
    linear-gradient(132deg, rgba(10, 39, 85, 0.66) 0%, rgba(18, 64, 113, 0.42) 48%, rgba(27, 83, 122, 0.28) 100%),
    url("assets/sobre-mar.png") center/cover no-repeat;
}

.visual-box.visual-home-photo {
  background:
    linear-gradient(132deg, rgba(10, 39, 85, 0.64) 0%, rgba(18, 64, 113, 0.38) 48%, rgba(27, 83, 122, 0.24) 100%),
    url("assets/sobre2-mar.png") center/cover no-repeat;
}

.visual-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 20% 20%, rgba(193, 255, 249, 0.56), rgba(193, 255, 249, 0));
}

.visual-box.visual-about-photo::before {
  background:
    linear-gradient(180deg, rgba(6, 24, 53, 0.1) 0%, rgba(6, 24, 53, 0.45) 65%, rgba(6, 24, 53, 0.72) 100%),
    radial-gradient(circle at 75% 18%, rgba(193, 255, 249, 0.24), rgba(193, 255, 249, 0));
  backdrop-filter: blur(1.6px);
}

.visual-box.visual-home-photo::before {
  background:
    linear-gradient(180deg, rgba(6, 24, 53, 0.06) 0%, rgba(6, 24, 53, 0.34) 58%, rgba(6, 24, 53, 0.76) 100%),
    radial-gradient(circle at 72% 22%, rgba(193, 255, 249, 0.2), rgba(193, 255, 249, 0));
  backdrop-filter: blur(1.4px);
}

.visual-copy {
  position: absolute;
  inset: auto 1.2rem 1.2rem;
  color: #eaf4ff;
  z-index: 2;
}

.products-overview {
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eaf1ff;
  color: var(--brand-blue);
}

.cta-band {
  background: linear-gradient(120deg, #0b3276, #23539a);
  color: var(--white);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-intro {
  padding: 3.8rem 0 2.7rem;
}

.page-intro p {
  margin-top: 0.9rem;
  max-width: 76ch;
  color: #2a4665;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.35rem;
  align-items: stretch;
}

.about-intro-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #d5deea;
  box-shadow: 0 14px 30px rgba(10, 34, 70, 0.14);
  min-height: 350px;
}

.about-intro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-intro-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.9rem 1rem;
  font-size: 0.94rem;
  color: #eaf4ff;
  background: linear-gradient(180deg, rgba(7, 26, 55, 0), rgba(7, 26, 55, 0.86));
}

.categories-wrap {
  display: grid;
  gap: 1rem;
}

.category-card h3 {
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}

.category-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: #223954;
}

.category-card li + li {
  margin-top: 0.45rem;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

label {
  font-weight: 600;
  color: #1f3551;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cdd7e2;
  border-radius: 11px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fcfdff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #5786cb;
  box-shadow: 0 0 0 3px rgba(14, 60, 138, 0.1);
}

.department-grid {
  grid-template-columns: repeat(3, 1fr);
}

.department-card p {
  margin: 0.32rem 0;
}

.info-card {
  margin-top: 1rem;
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-card h3 {
  margin-bottom: 0.45rem;
}

.footer {
  margin-top: 3.8rem;
  background: #0b2f6f;
  color: #f1f6ff;
}

.footer-main {
  padding: 2rem 0 1.1rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.1fr 1fr 1fr;
}

.footer h3 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.footer p,
.footer a {
  color: #d5e2f8;
  margin: 0.35rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.95rem 0 1.3rem;
  color: #c3d5f4;
  font-size: 0.94rem;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #3f6c51;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(10, 84, 39, 0.35);
  font-size: 1.35rem;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-layout,
  .feature-grid,
  .contact-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    justify-self: start;
    max-width: 290px;
    margin-top: 0.25rem;
  }

  .hero {
    min-height: auto;
    padding: 6.2rem 0 4.6rem;
  }

  .hero h1 {
    max-width: 15ch;
    font-size: clamp(1.95rem, 8.6vw, 3.05rem);
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    min-width: 100%;
    border-radius: 999px;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .products-overview,
  .values-grid,
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    inset: 78px 1rem auto 1rem;
    background: var(--white);
    border: 1px solid #dce5f1;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: start;
    margin: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-whatsapp {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 6.5rem;
    background-position: 56% center;
  }

  .hero-layout {
    gap: 1.25rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-brand {
    max-width: min(100%, 320px);
    margin: 0 auto 1.6rem;
    justify-self: center;
  }

  .scroll-indicator {
    bottom: 0.9rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head .btn {
    width: 100%;
    justify-content: center;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-media {
    min-height: 300px;
    max-width: 100%;
  }

  .about-intro-caption {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .logo-copy-compact {
    display: none;
  }

  .metrics,
  .products-overview,
  .values-grid,
  .department-grid {
    grid-template-columns: 1fr;
  }

  .social-btn {
    min-width: 100%;
  }

  .cta-band {
    padding: 1.5rem;
    flex-direction: column;
    align-items: start;
  }
}
