.site-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1em;
  color: currentColor;
}

:root {
  --white: #ffffff;
  --bg: #f8fbff;
  --soft: #f2f7fc;
  --blue: #1c62ab;
  --blue-strong: #155196;
  --blue-soft: #e8f0fa;
  --blue-soft-2: #d6e6f6;
  --navy: #162d4a;
  --text: #344f6d;
  --muted: #5e7490;
  --line: #dce8f2;
  --success: #3b7d68;
  --shadow: 0 8px 28px rgba(20, 50, 82, .07);
  --shadow-sm: 0 2px 8px rgba(20, 50, 82, .05);
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1220px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  font-size: 17px
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--text);
  line-height: 1.65
}

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

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

button,
input,
textarea,
select {
  font: inherit
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  z-index: 999
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(219, 231, 242, .3)
}

.navbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--navy)
}

.brand-symbol {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.brand-symbol svg {
  width: 64px;
  height: 64px;
  fill: var(--blue)
}

.brand-name {
  font-size: 2rem;
  letter-spacing: -.05em
}

.brand-name span {
  color: var(--blue)
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0
}

.nav-links a,
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  font-size: .97rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease
}

.nav-links a:hover,
.dropdown-toggle:hover {
  background: var(--soft);
  color: var(--blue)
}

.nav-links a.active {
  background: var(--blue-soft);
  color: var(--blue);
  position: relative
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue)
}

.dropdown-toggle .site-icon {
  width: 16px;
  height: 16px
}

.has-dropdown {
  position: relative
}

.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(20, 50, 82, .10), 0 1px 4px rgba(20, 50, 82, .06);
  border-radius: 16px;
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  transform-origin: top left;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1)
}

.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
  transition: background .15s ease
}

.dropdown a:hover {
  background: var(--soft)
}

.dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  overflow: hidden
}

.dropdown-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px
}

.dropdown a strong {
  display: block;
  color: var(--navy);
  font-size: .97rem;
  font-weight: 600;
  margin-bottom: 2px
}

.dropdown a span {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.4
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  cursor: pointer
}

.menu-toggle .site-icon {
  font-size: 1.45rem;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  cursor: pointer
}

.btn:hover {
  transform: none
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: none
}

.btn-primary:hover {
  background: var(--blue-strong);
  box-shadow: 0 2px 10px rgba(28, 98, 171, .18)
}

.btn-primary:active {
  background: #124886
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-soft-2)
}

.btn-secondary:hover {
  background: var(--blue-soft);
  border-color: var(--blue)
}

.btn-secondary:active {
  background: var(--blue-soft-2)
}

.btn-large {
  padding: 15px 28px;
  font-size: 1.02rem
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: .78rem;
  color: var(--blue);
  margin: 0 0 18px
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--blue)
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 34px;
  background: #fff
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0)
}

.hero-bg-shape-left {
  width: 640px;
  height: 640px;
  left: -360px;
  top: 60px;
  background: radial-gradient(circle, rgba(217, 232, 247, .45) 0%, rgba(217, 232, 247, 0) 70%)
}

.hero-bg-shape-right {
  width: 720px;
  height: 720px;
  right: -380px;
  top: -80px;
  background: radial-gradient(circle, rgba(231, 240, 250, .85) 0%, rgba(231, 240, 250, 0) 68%)
}

.hero-panel {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid #e5eef7;
  border-radius: 36px;
  padding: 38px 42px 46px;
  box-shadow: 0 4px 24px rgba(20, 50, 82, .06);
  z-index: 2
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 40px;
  align-items: center
}

.hero-copy {
  position: relative;
  padding: 18px 6px 18px 0
}


.hero-text {
  font-size: 1.2rem;
  max-width: 640px;
  color: var(--muted);
  margin: 0 0 30px
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 590px
}

.hero-points li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem
}

.hero-points li::before {
  content: none;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900
}

.hero-media {
  display: flex;
  justify-content: flex-end
}

.hero-image-card {
  position: relative;
  width: min(100%, 560px);
  border-radius: 34px;
  overflow: visible;
  min-height: 620px
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 14px -12px -14px 12px;
  border-radius: 34px;
  background: var(--blue-soft);
  z-index: 0
}

.hero-image-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: 0 18px 44px rgba(22, 89, 166, .12)
}

.floating-badge {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #dbe7f2;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 18px 35px rgba(22, 89, 166, .13);
  max-width: 290px
}

.floating-badge strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 4px
}

.floating-badge span {
  display: block;
  font-size: .94rem;
  color: var(--muted);
  line-height: 1.5
}

.badge-top {
  left: -34px;
  top: 34px
}

.badge-bottom {
  left: -48px;
  bottom: 30px
}

.hero-bottom-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 145px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(231, 240, 250, .72) 100%);
  clip-path: ellipse(78% 100% at 50% 100%);
  z-index: 1
}

.quick-info {
  position: relative;
  z-index: 3;
  margin-top: -10px
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 43, 70, .06);
  border-radius: 24px;
  overflow: hidden
}

.quick-grid article {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  background: #fff
}

.quick-grid article:last-child {
  border-right: 0
}

.quick-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.05rem
}

.quick-grid span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55
}

.section {
  padding: 90px 0
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px
}

.section-heading.align-left {
  text-align: left;
  margin-left: 0
}

.section h2,
.cta h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 0 0 16px
}

.section-heading p:not(.eyebrow),
.about-copy p,
.cta p {
  color: var(--muted);
  font-size: 1.12rem;
  margin: 0
}

.card-grid.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.feature-card,
.service-card,
.team-card,
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm)
}

.feature-card {
  padding: 28px
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 18px
}

.feature-card h3,
.service-card h3,
.team-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.25rem
}

.feature-card p,
.service-card p,
.team-card p {
  margin: 0;
  color: var(--muted)
}

.services {
  background: var(--soft);
  border-block: 1px solid var(--line)
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.service-card {
  padding: 32px
}

.service-icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  border: 2px solid var(--blue-soft-2);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  overflow: hidden;
  background: #fff
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px
}

.service-card a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 800
}

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: center
}

.photo-placeholder {
  min-height: 380px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f9fbfd, #eef5fb);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding: 24px;
  position: relative;
  overflow: hidden
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 34px 28% auto auto;
  width: 112px;
  height: 112px;
  border: 18px solid rgba(21, 95, 168, .12);
  border-radius: 50%
}

.photo-about {
  min-height: 460px
}

.about-copy h2 {
  text-align: left
}

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
  font-weight: 600
}

.check-list li::before {
  content: none;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 900
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.team-card {
  text-align: center;
  padding: 22px
}

.avatar-placeholder {
  height: 190px;
  border-radius: 18px;
  background: #f3f7fb;
  border: 1px solid var(--line);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden
}

.avatar-placeholder::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #d9e8f6;
  box-shadow: 0 80px 0 44px #e6f0f9
}

.testimonials {
  background: #fff
}

.testimonials-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center
}

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 22px
}

.slider-controls button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0
}

.slider-controls button .site-icon {
  width: 1em;
  height: 1em;
  display: grid;
  place-items: center
}

.testimonial-slider {
  position: relative;
  min-height: 260px
}

.testimonial {
  position: absolute;
  inset: 0;
  padding: 42px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity .75s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1), visibility .65s;
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0)
}

.testimonial p {
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 24px
}

.testimonial strong {
  color: var(--blue)
}

.cta {
  padding: 36px 0 92px
}

.cta-box {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--blue);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px
}

.footer {
  background: #0f2236;
  color: #c8daea;
  padding-top: 0
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 60px 0 52px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.footer-logo-icon .site-icon {
  width: 22px;
  height: 22px;
  fill: #7ab4e8
}

.footer-logo-name {
  font-size: 1.22rem;
  color: #fff;
  letter-spacing: -.02em
}

.footer-logo-name strong {
  color: #7ab4e8
}

.footer-tagline {
  margin: 0;
  font-size: .94rem;
  color: #8dafc8;
  line-height: 1.6;
  max-width: 280px
}

.footer-links-group h4,
.footer-contact-group h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 18px
}

.footer-links-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.footer-links-group a {
  color: #8dafc8;
  font-size: .96rem;
  text-decoration: none;
  transition: color .15s ease;
  display: inline-block
}

.footer-links-group a:hover {
  color: #fff
}

address {
  font-style: normal;
  display: grid;
  gap: 12px
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: #8dafc8;
  line-height: 1.45
}

.footer-contact-item .site-icon {
  flex-shrink: 0;
  color: #7ab4e8;
  margin-top: 1px
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 4px
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #8dafc8;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none
}

.socials a:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  color: #fff
}

.footer-bottom {
  padding: 18px 0;
  background: rgba(0,0,0,.18)
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .87rem;
  color: #6b8fa8
}

.footer-bottom-note {
  color: #4e7290
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

@media (max-width:1120px) {
  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-media {
    justify-content: flex-start
  }

  .hero-image-card {
    max-width: 100%;
    min-height: auto
  }

  .hero-image-card img {
    height: 520px
  }

  .badge-top {
    left: 18px;
    top: 18px
  }

  .badge-bottom {
    left: 18px;
    bottom: 18px
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr
  }

  .quick-grid article:nth-child(2) {
    border-right: 0
  }

  .quick-grid article:nth-child(3),
  .quick-grid article:nth-child(4) {
    border-top: 1px solid var(--line)
  }
}

@media (max-width:980px) {
  html {
    font-size: 16px
  }

  .menu-toggle {
    display: grid;
    place-items: center
  }

  .nav-menu {
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column
  }

  .nav-menu.open {
    display: flex
  }

  .nav-links {
    display: block
  }

  .nav-links li {
    margin-bottom: 4px
  }

  .nav-links a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px
  }

  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 14px;
    margin: 4px 0 10px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none
  }

  .has-dropdown.open .dropdown {
    display: block
  }

  .card-grid.four,
  .service-grid,
  .about-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr
  }

  .team-grid {
    gap: 16px
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column
  }
}

@media (max-width:640px) {
  .container {
    width: min(100% - 28px, var(--container))
  }

  .navbar {
    height: 78px
  }

  .nav-menu {
    top: 78px;
    left: 14px;
    right: 14px
  }

  .brand-name {
    font-size: 1.15rem
  }

  .brand-symbol {
    width: 64px;
    height: 64px
  }

  .hero {
    padding-top: 28px
  }

  .hero-panel {
    padding: 24px 18px 28px;
    border-radius: 28px
  }

  .hero-grid {
    gap: 30px
  }

  .hero h1 {
    font-size: 2.6rem
  }

  .hero-text {
    font-size: 1.08rem
  }

  .hero-actions .btn {
    width: 100%
  }

  .hero-image-card img {
    height: 360px;
    border-radius: 26px
  }

  .hero-image-card::before {
    inset: 10px -6px -10px 6px;
    border-radius: 26px
  }

  .floating-badge {
    position: relative;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    max-width: none;
    margin-top: 12px
  }

  .hero-image-card {
    display: flex;
    flex-direction: column
  }

  .hero-bottom-wave {
    height: 92px
  }

  .quick-info {
    margin-top: 18px
  }

  .quick-grid,
  .card-grid.four,
  .service-grid,
  .about-grid,
  .team-grid,
  .testimonials-grid {
    grid-template-columns: 1fr
  }

  .quick-grid article {
    border-right: 0 !important;
    border-top: 1px solid var(--line)
  }

  .quick-grid article:first-child {
    border-top: 0
  }

  .section {
    padding: 68px 0
  }

  .section-heading,
  .section-heading.align-left {
    text-align: left
  }

  .testimonial-slider {
    min-height: 330px
  }

  .testimonial {
    padding: 30px
  }

  .testimonial p {
    font-size: 1.22rem
  }

  .cta-box {
    padding: 28px
  }

  .footer-top {
    grid-template-columns: 1fr
  }

  .footer-brand {
    grid-column: auto
  }

  .footer-grid {
    gap: 26px
  }
}

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

  .reveal {
    opacity: 1;
    transform: none
  }
}


/* Ajustes finais pedidos: hero mais compacto, sem equipa/marcação, avaliações melhoradas */
.navbar {
  height: 82px
}

.nav-menu {
  gap: 18px
}

.hero {
  padding: 28px 0 24px
}

.hero-panel {
  padding: 26px 34px 30px;
  border-radius: 32px
}

.hero-grid {
  gap: 32px
}

.hero-copy {
  padding: 8px 6px 8px 0
}

.hero h1 {
  font-size: clamp(2.55rem, 4.3vw, 4.25rem);
  margin-bottom: 18px;
  max-width: 630px
}

.hero-text {
  font-size: 1.12rem;
  margin-bottom: 22px;
  max-width: 610px
}

.hero-actions {
  margin-bottom: 18px
}

.hero-points {
  gap: 8px
}

.hero-image-card {
  min-height: 500px;
  width: min(100%, 520px)
}

.hero-image-card img {
  height: 500px
}

.floating-badge {
  padding: 14px 16px;
  max-width: 270px
}

.badge-top {
  left: -22px;
  top: 26px
}

.badge-bottom {
  left: -30px;
  bottom: 24px
}

.hero-bottom-wave {
  height: 110px
}

.quick-info {
  margin-top: -6px
}

.quick-grid article {
  padding: 18px 22px
}

.section {
  padding: 82px 0
}

.reviews {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border-top: 1px solid var(--line)
}

.reviews-grid {
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 48px
}

.reviews .section-heading {
  margin-bottom: 0
}

.slider-controls {
  gap: 12px;
  margin-top: 26px
}

.slider-controls button {
  width: 52px;
  height: 52px;
  box-shadow: 0 8px 20px rgba(18, 43, 70, .06);
  transition: .2s ease
}

.slider-controls button:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue)
}

.slider-controls button:focus-visible {
  outline: 3px solid rgba(28, 98, 171, .22);
  outline-offset: 3px
}

.testimonial-slider {
  min-height: 340px
}

.testimonial {
  padding: 38px 40px;
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(18, 43, 70, .08);
  overflow: hidden
}

.testimonial::before {
  content: "“";
  position: absolute;
  right: 34px;
  top: 4px;
  font-size: 7rem;
  line-height: 1;
  color: rgba(31, 102, 179, .08);
  font-weight: 800;
  pointer-events: none
}

.stars {
  color: #f2b63f;
  font-size: 1.35rem;
  letter-spacing: .08em;
  margin-bottom: 18px;
  line-height: 1
}

.stars .star-off {
  color: #d0dbe6;
}

.testimonial p {
  font-size: 1.32rem;
  line-height: 1.52;
  margin-bottom: 26px;
  position: relative;
  z-index: 1
}

.review-author {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1
}

.review-author strong {
  color: var(--navy);
  font-size: 1.05rem
}

.review-author span {
  color: var(--muted);
  font-size: .96rem
}

@media (max-width:1120px) {
  .hero-image-card {
    width: 100%;
    min-height: auto
  }

  .hero-image-card img {
    height: 470px
  }

  .badge-top {
    left: 18px;
    top: 18px
  }

  .badge-bottom {
    left: 18px;
    bottom: 18px
  }
}

@media (max-width:980px) {
  .nav-menu {
    top: 82px
  }

  .card-grid.four,
  .service-grid,
  .about-grid,
  .testimonials-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:640px) {
  .navbar {
    height: 78px
  }

  .nav-menu {
    top: 78px
  }

  .hero {
    padding-top: 22px
  }

  .hero-panel {
    padding: 22px 18px 26px
  }

  .hero h1 {
    font-size: 2.45rem
  }

  .hero-image-card img {
    height: 340px
  }

  .quick-info {
    margin-top: 16px
  }

  .quick-grid,
  .card-grid.four,
  .service-grid,
  .about-grid,
  .testimonials-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .testimonial-slider {
    min-height: 390px
  }

  .testimonial {
    padding: 28px
  }

  .testimonial p {
    font-size: 1.16rem
  }

  .reviews .slider-controls {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center
  }
}


/* Ajustes finais — hero mais compacto e responsivo */
@media (min-width: 981px) {
  .site-header {
    position: sticky;
  }

  .navbar {
    height: 76px;
  }

  .brand-symbol {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 1.72rem;
  }

  .hero {
    padding: 28px 0 22px;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
  }

  .hero .container {
    width: min(100% - 56px, 1180px);
  }

  .hero-panel {
    min-height: auto;
    padding: 30px 34px 26px;
    border-radius: 30px;
  }

  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
  }

  .hero-copy {
    padding: 4px 0;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 4.25vw, 4.35rem);
    line-height: 0.98;
    max-width: 560px;
    margin-bottom: 18px;
    letter-spacing: -0.07em;
  }

  .hero-text {
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 22px;
  }

  .hero-actions {
    margin-bottom: 18px;
  }

  .btn-large {
    padding: 14px 26px;
  }

  .hero-points {
    gap: 7px;
  }

  .hero-points li {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .hero-image-card {
    width: min(100%, 520px);
    min-height: 430px;
    margin-left: auto;
  }

  .hero-image-card img {
    height: 430px;
    border-radius: 28px;
  }

  .hero-image-card::before {
    border-radius: 28px;
    inset: 12px -10px -12px 10px;
  }

  .floating-badge {
    padding: 13px 16px;
    border-radius: 17px;
    max-width: 250px;
  }

  .floating-badge strong {
    font-size: 0.94rem;
  }

  .floating-badge span {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .badge-top {
    left: -24px;
    top: 28px;
  }

  .badge-bottom {
    left: -32px;
    bottom: 24px;
  }

  .hero-bottom-wave {
    height: 80px;
  }

  .quick-info {
    margin-top: 16px;
  }

  .quick-grid article {
    padding: 16px 20px;
  }

  .quick-grid strong {
    font-size: 1rem;
  }

  .quick-grid span {
    font-size: 0.94rem;
    line-height: 1.45;
  }
}

/* Tablet: mantém impacto, mas evita caixas demasiado altas */
@media (max-width: 1120px) and (min-width: 641px) {
  .hero {
    padding: 30px 0 28px;
  }

  .hero-panel {
    padding: 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.95fr;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 5.4vw, 3.7rem);
    max-width: 520px;
  }

  .hero-text {
    font-size: 1.05rem;
    max-width: 520px;
  }

  .hero-image-card {
    min-height: 390px;
  }

  .hero-image-card img {
    height: 390px;
  }

  .floating-badge {
    max-width: 240px;
    padding: 12px 14px;
  }

  .badge-top {
    left: 16px;
    top: 16px;
  }

  .badge-bottom {
    left: 16px;
    bottom: 16px;
  }

  .quick-info {
    margin-top: 14px;
  }
}

/* Telemóvel: hero elegante, sem overflow e com imagem/card bem organizado */
@media (max-width: 640px) {
  .navbar {
    height: 74px;
  }

  .nav-menu {
    top: 74px;
  }

  .hero {
    padding: 18px 0 26px;
  }

  .hero .container {
    width: min(100% - 24px, var(--container));
  }

  .hero-panel {
    padding: 22px 16px 18px;
    border-radius: 24px;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }

  .hero .eyebrow::before {
    width: 28px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.065em;
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: 1.02rem;
    line-height: 1.58;
    margin-bottom: 18px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-large {
    padding: 13px 20px;
    font-size: 1rem;
  }

  .hero-points {
    gap: 6px;
  }

  .hero-points li {
    font-size: 0.95rem;
    line-height: 1.4;
    padding-left: 28px;
  }

  .hero-image-card {
    min-height: auto;
    width: 100%;
    display: block;
  }

  .hero-image-card::before {
    inset: 8px -5px -8px 5px;
    border-radius: 24px;
  }

  .hero-image-card img {
    height: 245px;
    border-radius: 24px;
    object-position: center;
  }

  .floating-badge {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    max-width: none;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .floating-badge strong {
    font-size: 0.92rem;
  }

  .floating-badge span {
    font-size: 0.86rem;
  }

  .hero-bottom-wave {
    height: 64px;
  }

  .quick-info {
    margin-top: 14px;
  }

  .quick-grid {
    border-radius: 20px;
  }

  .quick-grid article {
    padding: 15px 16px;
  }
}

/* Ecrãs muito baixos: garante que a caixa principal cabe melhor */
@media (min-width: 981px) and (max-height: 780px) {
  .hero {
    padding: 18px 0;
  }

  .hero-panel {
    padding: 24px 30px 22px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 3.9vw, 3.85rem);
    margin-bottom: 14px;
  }

  .hero-text {
    font-size: 1.02rem;
    margin-bottom: 16px;
  }

  .hero-actions {
    margin-bottom: 12px;
  }

  .hero-points {
    gap: 4px;
  }

  .hero-image-card,
  .hero-image-card img {
    height: 380px;
    min-height: 380px;
  }

  .quick-grid article {
    padding: 12px 18px;
  }
}


/* btn overrides removed — handled in base styles */

.quick-info {
  display: none;
}

@media (min-width: 981px) {
  .hero {
    min-height: calc(100vh - 76px);
    padding: 26px 0;
  }

  .hero-panel {
    padding: 32px 36px;
  }

  .hero-image-card {
    width: min(100%, 510px);
    min-height: 410px;
  }

  .hero-image-card img {
    height: 410px;
  }

  .floating-badge {
    max-width: 218px;
    padding: 10px 13px;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(22, 89, 166, 0.10);
  }

  .floating-badge strong {
    font-size: 0.84rem;
    line-height: 1.28;
    margin-bottom: 2px;
  }

  .floating-badge span {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .badge-top {
    left: -18px;
    top: 26px;
  }

  .badge-bottom {
    left: -22px;
    bottom: 22px;
  }
}

@media (min-width: 981px) and (max-height: 780px) {
  .hero {
    padding: 18px 0;
  }

  .hero-panel {
    padding: 26px 32px;
  }

  .hero-image-card,
  .hero-image-card img {
    height: 370px;
    min-height: 370px;
  }

  .floating-badge {
    max-width: 205px;
    padding: 9px 12px;
  }

  .floating-badge strong {
    font-size: 0.8rem;
  }

  .floating-badge span {
    font-size: 0.75rem;
  }
}

@media (max-width: 1120px) and (min-width: 641px) {
  .floating-badge {
    max-width: 210px;
    padding: 10px 12px;
  }

  .floating-badge strong {
    font-size: 0.82rem;
  }

  .floating-badge span {
    font-size: 0.76rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 22px;
  }

  .floating-badge {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(22, 89, 166, 0.09);
  }

  .floating-badge strong {
    font-size: 0.86rem;
    margin-bottom: 2px;
  }

  .floating-badge span {
    font-size: 0.8rem;
    line-height: 1.35;
  }
}
.feature-card .icon .site-icon {
  font-size: 1.45rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
}

.check-list li .site-icon {
  margin-top: 4px;
  color: var(--blue);
  flex-shrink: 0;
}


@media (min-width: 992px) {
  .about-clinic-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: start;
  }

  .about-clinic-media,
  .about-clinic-content {
    align-self: start;
  }

  .about-clinic-media {
    display: flex;
    align-items: flex-start;
  }

  .about-clinic-image-card {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    max-height: none;
    align-self: flex-start;
    overflow: hidden;
  }

  .about-clinic-image-card img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: cover;
  }
}

@media (max-width: 991px) {
  .about-clinic-image-card {
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .about-clinic-image-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
    object-fit: cover;
  }
}

/* Mobile responsiveness refinements */
@media (max-width: 991px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

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

  .container {
    width: min(100% - 32px, var(--container));
  }

  /* Keep mobile hero decoration inside the viewport. */
  .hero-bg-shape {
    display: none;
  }

  .hero-bottom-wave,
  .hero-image-card::before {
    display: none;
  }

  .hero-image-card {
    box-shadow: 0 10px 24px rgba(20, 50, 82, .08);
  }

  .navbar {
    height: 76px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-symbol {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }

  .brand-symbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .brand-name {
    font-size: 1.34rem;
    line-height: 1;
    white-space: nowrap;
  }

  .menu-toggle {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .nav-menu {
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    z-index: 130;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav-links a,
  .dropdown-toggle {
    min-height: 46px;
    padding: 11px 13px;
  }

  .dropdown {
    max-height: none;
    overflow: visible;
  }

  .dropdown a {
    gap: 12px;
    padding: 12px;
  }

  .dropdown-item-icon {
    width: 34px;
    height: 34px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .section-heading.align-left {
    max-width: none;
    margin-bottom: 30px;
    text-align: left;
  }

  .section h2,
  .cta h2 {
    font-size: clamp(1.8rem, 5vw, 2.55rem);
    line-height: 1.14;
  }

  .section-heading p:not(.eyebrow),
  .about-copy p,
  .cta p {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .hero {
    padding: 22px 0 30px;
  }

  .hero-panel {
    padding: 26px 22px;
    border-radius: 28px;
  }

  .hero-grid,
  .about-grid,
  .testimonials-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 7.4vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
  }

  .hero-text {
    max-width: none;
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-actions .btn,
  .cta-box .btn,
  .service-card a {
    min-height: 46px;
  }

  .hero-media {
    justify-content: stretch;
  }

  .hero-image-card {
    width: 100%;
    min-height: 0;
    margin-left: 0;
  }

  .hero-image-card img {
    width: 100%;
    height: clamp(260px, 46vw, 390px);
    object-fit: cover;
  }

  .about-clinic-image-card,
  .about-clinic-image-card img {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .about-clinic-image-card img {
    aspect-ratio: auto;
  }

  .check-list {
    gap: 12px;
  }

  .check-list li {
    gap: 10px;
    line-height: 1.5;
  }

  .card-grid.four,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .feature-card,
  .service-card,
  .testimonial,
  .cta-box {
    padding: 24px;
    min-width: 0;
  }

  .service-card h3,
  .feature-card h3 {
    line-height: 1.25;
  }

  .testimonial-slider {
    min-height: 330px;
  }

  .testimonial p {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  .slider-controls {
    margin-top: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 46px 0 40px;
  }

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

  .footer-contact-item,
  .footer-links-group a,
  .footer-tagline {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .navbar {
    height: 74px;
  }

  .nav-menu {
    top: calc(100% + 6px);
    left: 14px;
    right: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .hero-panel {
    padding: 24px 18px 22px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9vw, 2.85rem);
  }

  .hero-image-card img {
    height: clamp(240px, 56vw, 340px);
  }

  .hero-actions .btn {
    flex: 1 1 220px;
  }

  .card-grid.four,
  .service-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .reviews-grid,
  .testimonials-grid {
    gap: 24px;
  }

  .testimonial-slider {
    min-height: 360px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .navbar {
    height: 70px;
  }

  .brand-symbol {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .menu-toggle {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .nav-menu {
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 84px);
  }

  .dropdown a {
    align-items: flex-start;
  }

  .section {
    padding: 54px 0;
  }

  .eyebrow {
    gap: 8px;
    font-size: 0.72rem;
  }

  .eyebrow::before {
    width: 22px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-panel {
    padding: 22px 16px 18px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 10.5vw, 2.65rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-box .btn {
    width: 100%;
  }

  .hero-image-card img {
    height: 230px;
  }

  .feature-card,
  .service-card,
  .testimonial,
  .cta-box {
    padding: 20px;
    border-radius: 18px;
  }

  .testimonial-slider {
    min-height: 390px;
  }

  .testimonial::before {
    right: 18px;
    font-size: 5.5rem;
  }

  .stars {
    font-size: 1.12rem;
  }

  .footer-top {
    gap: 24px;
    padding: 40px 0 34px;
  }

  .footer-logo-name {
    font-size: 1.08rem;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn,
  .hero-actions .btn-large {
    width: auto;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.92rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .reviews-grid {
    gap: 0;
  }

  .reviews .section-heading {
    display: contents;
    opacity: 1;
    transform: none;
  }

  .reviews .section-heading > .eyebrow {
    order: 1;
    margin-bottom: 12px;
  }

  .reviews .section-heading > h2 {
    order: 2;
    margin-bottom: 16px;
  }

  .reviews .section-heading > p:not(.eyebrow) {
    order: 3;
    margin: 0 0 24px;
  }

  .reviews .testimonial-slider {
    order: 4;
    min-height: 0;
    margin-bottom: 18px;
  }

  .reviews .testimonial {
    position: relative;
    inset: auto;
    display: none;
    transform: none;
  }

  .reviews .testimonial.active {
    display: block;
  }

  .reviews .review-summary {
    order: 5;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px 12px;
    flex-wrap: wrap;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(18, 43, 70, .06);
  }

  .reviews .review-summary strong {
    color: var(--navy);
    font-size: 1.65rem;
    line-height: 1;
  }

  .reviews .review-summary-stars {
    margin: 0;
    font-size: 1rem;
  }

  .reviews .review-summary span {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.3;
  }

  .reviews .slider-controls {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn,
  .hero-actions .btn-large {
    padding: 9px 8px;
    font-size: 0.86rem;
  }
}
