:root {
  --primary: #084b63;
  --blue: #2166d5;
  --teal: #19b3a6;
  --orange: #ff9f43;
  --mint: #e8fbf7;
  --soft-blue: #edf5ff;
  --paper: #ffffff;
  --ink: #243b53;
  --muted: #627d98;
  --line: rgba(16, 42, 67, .12);
  --shadow: 0 24px 80px rgba(16, 42, 67, .14);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.7;
}

img, svg {
  max-width: 100%;
}

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

p {
  margin: 0 0 1rem;
}

h2, h3 {
  color: var(--primary);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.3rem);
  max-width: 1400px;
  margin: 0 auto;
  color: var(--paper);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.55rem;
}

.hero .container h1 {
  text-align: center;
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 880px;
}

.section-pad {
  padding: 96px 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 8px;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 50px;
  margin: -85px 5vw 0 5vw;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.navbar {
  width: min(calc(100% - 40px));
  margin: 0 auto;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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


.brand-text {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  background: var(--primary);
  color: var(--paper);
  border-radius: 50px;
  padding: 4px 14px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  margin: 0;
  list-style: none;
  border: 1px solid rgb(223 216 216);
  border-radius: 50px;
}

.idiomas {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a, .idiomas a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-menu a {
  font-size: .95rem;
}

.idiomas a {
  font-size: .75rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.idiomas a:hover,
.idiomas a:focus-visible {
  background: var(--primary);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--soft-blue);
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 280px;
  background-image: url("assets/images/paisagem-coimbra.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 1;
    top: 0;
    opacity: 0.4;
    background-image: linear-gradient(to right, #434343 0%, black 100%);
}

.hero .container {
    z-index: 9;
    position: inherit;
}

.two-col,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1.4fr);
  gap: 14px;
  align-items: center;
}

.two-col {
  align-items: baseline;
}

#parceiros .two-col {
  align-items: normal;
}

.contact-grid {
  align-items: center;
}

.hero-intro {
  font-size: 1.22rem;
  color: var(--paper);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;

}

.col-one {
  position: sticky;
  top: 120px;
}

.section-kicker,
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: 50px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  box-shadow: 0 18px 40px rgba(33, 102, 213, .24);
  border: 2px solid var(--paper);
}

.btn-secondary {
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
}



.intro {
  background: var(--primary);
  color: #d9e8f5;
}

.intro h2 {
  color: #fff;
}

.about,
.partners,
.contact {
  background: #fff;
}

.text-block {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.section-head {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 50px;
}

.service-card,
.destination-card,
.contact-card,
.feature-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(16, 42, 67, .08);
}

.service-card {
  padding: 30px;
}

.reverse {
  grid-template-columns: .9fr 1.1fr;
}

.feature-panel {
  min-height: 360px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  overflow: hidden;
  position: relative;
}

.feature-panel::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  right: -80px;
  top: -100px;
}

.feature-panel span,
.feature-panel strong,
.feature-panel p {
  position: relative;
}

.feature-panel span {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
}

.feature-panel strong {
  display: block;
  font-size: 2rem;
  line-height: 1.12;
  margin: 14px 0;
}

.destinations {
  background: var(--soft-blue);
  border-radius: 50px;
    padding-bottom: 220px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 50px;
}

.destination-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.destination-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -38px;
  top: -38px;
  background: var(--mint);
  border-radius: 999px;
}

.cities {
  border-radius: 10px;
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.city-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal);
  font-weight: 800;
  letter-spacing: .12em;
}

.cta {
  margin-top: -130px;
  padding: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 46px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #16406c);
  box-shadow: var(--shadow);
}

.cta-box .btn-primary {
  width: 220px;
}

.cta-box .section-kicker {
  border: 1px solid var(--paper);
  color: var(--paper);
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3vw, 3rem);
}


.contact-card {
  padding: 34px;
}

.contact-card a {
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  background: var(--primary);
  color: #d9e8f5;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    top: 4px;
    margin: -85px 1vw 0 1vw;
    border-radius: 20px;
  }

  .idiomas a {
    padding: 4px 6px;
  }

  .brand-text,
  .nav-menu a {
    border-radius: 12px;
  }

  #topo.section-pad {
    padding: 160px 0 60px 0;
  }

  .section-pad {
    padding: 74px 0;
  }

  .col-one {
    position: unset;
  }

  .two-col,
  .reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(2) {
    transform: none;
  }

  .navbar {
    gap: 15px;
  }

  .nav-toggle {
    display: contents;
    color: var(--primary);
    font-weight: 900;
    border: 1px solid rgb(223 216 216);
    border-radius: 50px;
  }

  .nav-menu {
    position: fixed;
    inset: 82px 1vw auto 1vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-menu a {
    justify-content: center;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
  }

  .hero {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
}

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

  .hero {
    padding-top: 140px;
  }
 
  .text-block,
  .service-card,
  .destination-card,
  .contact-card,
  .feature-panel,
  .cta-box {
    padding: 24px;
  }

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

  .btn {
    width: 100%;
  }
}
