:root {
  /* Paleta institucional da FUNPEC. */
  --funpec-blue: #102B55;
  --funpec-orange: #F7941D;
  --white: #FFFFFF;
  --gray-50: #F7F9FC;
  --gray-100: #EEF2F6;
  --gray-200: #DDE5EE;
  --gray-500: #667085;
  --gray-700: #344054;
  --success: #178A4B;
  --shadow-sm: 0 12px 28px rgba(16, 43, 85, 0.10);
  --shadow-md: 0 22px 55px rgba(16, 43, 85, 0.16);
  --shadow-glass: 0 28px 70px rgba(16, 43, 85, 0.24);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --header-height: 70px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-700);
  background: var(--gray-50);
  font-family: "Nunito", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 3px solid rgba(247, 148, 29, 0.55);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: var(--funpec-blue);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--white);
  background: var(--funpec-blue);
  box-shadow: 0 8px 26px rgba(16, 43, 85, 0.18);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(16, 43, 85, 0.24);
}

.header-layout {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: 172px;
  min-width: 150px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.brand-link img {
  width: 100%;
  height: auto;
}

.header-info {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
}

.header-info strong {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
}

.header-info span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.25;
}

.hero {
  position: relative;
  min-height: 760px;
  padding-top: var(--header-height);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 43, 85, 0.58), rgba(16, 43, 85, 0.10) 46%, rgba(16, 43, 85, 0.18)),
    url("../img/hero.jpg") center 41% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: var(--header-height) 0 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 43, 85, 0.06) 0%, rgba(16, 43, 85, 0.04) 42%, rgba(16, 43, 85, 0.50) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: calc(760px - var(--header-height));
  display: flex;
  align-items: flex-start;
  padding-top: 150px;
  padding-bottom: 64px;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.48));
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.welcome-card {
  width: min(100%, 520px);
  padding: 26px;
  border-radius: var(--radius-lg);
  color: var(--funpec-blue);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--success);
  background: rgba(23, 138, 75, 0.11);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-badge span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(23, 138, 75, 0.13);
}

.welcome-card h1 {
  margin: 16px 0 10px;
  color: var(--funpec-blue);
  font-size: 2.2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.welcome-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1rem;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-button {
  margin-top: 22px;
  padding: 14px 22px;
  color: var(--white);
  background: var(--funpec-orange);
  box-shadow: 0 18px 34px rgba(247, 148, 29, 0.32);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 46px rgba(247, 148, 29, 0.42);
}

.cards-section,
.about-section,
.contact-section {
  padding: 64px 0;
}

.cards-section {
  background: var(--gray-50);
}

.section-title {
  max-width: 760px;
}

.section-title span,
.eyebrow {
  display: inline-block;
  color: var(--funpec-orange);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title h2,
.about-copy h2,
.contact-card h2 {
  margin: 8px 0 0;
  color: var(--funpec-blue);
  font-size: 1.7rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.cards-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.feature-card {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 148, 29, 0.48);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--funpec-blue);
  background: var(--gray-100);
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 22px 0 8px;
  color: var(--funpec-blue);
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--gray-500);
}

.feature-card a,
.contact-list a {
  color: var(--funpec-blue);
  font-weight: 700;
  text-decoration-color: rgba(247, 148, 29, 0.55);
  text-underline-offset: 4px;
}

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  gap: 26px;
}

.about-copy {
  max-width: 760px;
}

.about-copy p {
  margin: 18px 0 0;
  color: var(--gray-500);
  font-size: 1rem;
}

.secondary-button {
  margin-top: 24px;
  padding: 13px 20px;
  color: var(--funpec-blue);
  background: var(--white);
  border: 2px solid var(--funpec-orange);
  box-shadow: 0 12px 26px rgba(16, 43, 85, 0.08);
}

.secondary-button:hover {
  transform: translateY(-3px);
  color: var(--white);
  background: var(--funpec-orange);
}

.about-highlight {
  align-self: stretch;
  display: grid;
  align-content: end;
  min-height: 240px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(16, 43, 85, 0.93), rgba(16, 43, 85, 0.78)),
    url("../img/hero.jpg") center 44% / cover no-repeat;
  color: var(--white);
}

.about-highlight strong {
  font-size: 1.5rem;
  line-height: 1.18;
}

.about-highlight span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-section {
  background: var(--gray-100);
}

.contact-layout {
  display: grid;
  gap: 18px;
}

.contact-card,
.map-panel {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
}

.contact-list div {
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.contact-list dt {
  color: var(--funpec-blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 5px 0 0;
  color: var(--gray-500);
}

.map-panel {
  min-height: 360px;
  overflow: hidden;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.site-footer {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--funpec-blue);
}

.footer-layout {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.footer-layout img {
  width: 128px;
  height: auto;
  padding: 5px 7px;
  border-radius: 8px;
  background: var(--white);
}

.footer-layout p,
.footer-layout span {
  margin: 0;
  font-size: 0.82rem;
}
