:root {
  --orange: #f5820b;
  --orange-strong: #ef6f00;
  --blue: #0d347d;
  --blue-dark: #07275f;
  --green: #1f8c47;
  --green-dark: #156b35;
  --text: #263248;
  --text-soft: #5f6c82;
  --white: #ffffff;
  --background: #f4f6fb;
  --line: rgba(13, 52, 125, 0.09);
  --shadow: 0 18px 45px rgba(10, 28, 70, 0.1);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --container: 1240px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(245, 130, 11, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(31, 140, 71, 0.08),
      transparent 22%
    ),
    var(--background);
}

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

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ESTRUTURA */
.page-wrap {
  width: 100%;
  padding: 36px 20px;
}

.site-shell {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(15, 36, 78, 0.06);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

/* HEADER */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 42px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.92;
}

.brand-top {
  margin-left: 6px;
  color: var(--orange);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.brand-main {
  color: var(--blue);
  font-size: 47px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.brand-bottom {
  margin-left: 4px;
  color: var(--orange);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  font-size: 17px;
  background: #f7f8fc;
  border: 1px solid rgba(13, 52, 125, 0.08);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease;
}

.header-actions a:hover {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-2px);
}

/* HERO */
.hero-section {
  position: relative;
  padding: 56px 42px 28px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #fff9f3 0%,
    #ffffff 38%,
    #f6f8ff 100%
  );
}

.hero-section::before {
  position: absolute;
  top: 110px;
  left: -140px;
  z-index: 0;
  width: 300px;
  height: 300px;
  content: "";
  background: radial-gradient(
    circle,
    rgba(245, 130, 11, 0.12),
    transparent 65%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 30px;
}

.hero-content {
  padding: 10px 10px 30px 8px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 10px 16px;
  color: var(--orange-strong);
  font-size: 14px;
  font-weight: 600;
  background: rgba(245, 130, 11, 0.1);
  border: 1px solid rgba(245, 130, 11, 0.16);
  border-radius: 999px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.93;
}

.text-orange {
  color: var(--orange);
  font-weight: 800;
}

.text-blue {
  color: var(--blue);
  font-weight: 800;
}

.hero-description {
  max-width: 540px;
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.hero-description.secondary {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 400;
}

.hero-buttons {
  margin-top: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-strong) 100%
  );
  border-radius: 999px;
  box-shadow: 0 14px 24px rgba(245, 130, 11, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(245, 130, 11, 0.28);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-tags li {
  padding: 10px 15px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  background: var(--white);
  border: 1px solid rgba(13, 52, 125, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(13, 52, 125, 0.05);
}

/* ÁREA VISUAL */
.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f2f5ff 100%);
  border: 1px solid rgba(13, 52, 125, 0.08);
  border-radius: var(--radius-xl);
}

.city-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.05),
      rgba(7, 39, 95, 0.1)
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.1),
      rgba(7, 39, 95, 0.2)
    ),
    url("images/caceres-bg.png") center center / cover no-repeat;
}

.city-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.03) 32%,
    rgba(13, 52, 125, 0.12) 100%
  );
}

.city-overlay-text {
  position: absolute;
  top: 120px;
  right: 34px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  text-align: right;
  text-shadow: 0 8px 18px rgba(7, 28, 66, 0.18);
}

.city-name {
  display: block;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 1px;
}

.city-state {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 2px;
}

.portrait-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: min(480px, 86%);
  transform: translateX(-50%);
}

.hero-portrait {
  width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 28px 40px rgba(7, 28, 66, 0.18));
}

.ribbon-shape {
  position: absolute;
  right: -30px;
  bottom: -40px;
  left: -30px;
  z-index: 4;
  height: 130px;
  background: linear-gradient(
    165deg,
    var(--orange) 0%,
    #ffb300 38%,
    var(--green) 75%,
    var(--blue) 100%
  );
  clip-path: ellipse(74% 100% at 50% 100%);
  opacity: 0.98;
}

.hero-wave {
  position: relative;
  z-index: 1;
  height: 44px;
  margin-top: -6px;
  background: linear-gradient(
    90deg,
    var(--orange),
    #ffb300,
    var(--green),
    var(--blue)
  );
  clip-path: ellipse(52% 100% at 50% 0%);
  opacity: 0.96;
}

/* DESTAQUES */
.highlights-section {
  padding: 18px 42px 46px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

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

.highlight-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid rgba(13, 52, 125, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 26px rgba(13, 52, 125, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(13, 52, 125, 0.08);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 23px;
  background: rgba(245, 130, 11, 0.12);
  border-radius: 999px;
}

.highlight-card h2 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.25;
}

.highlight-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* TABLET */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-description,
  .hero-description.secondary {
    max-width: 100%;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .visual-card {
    min-height: 620px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .page-wrap {
    padding: 14px;
  }

  .site-header {
    gap: 16px;
    padding: 18px 20px;
  }

  .brand-main {
    font-size: 34px;
  }

  .brand-bottom {
    font-size: 14px;
    letter-spacing: 4px;
  }

  .header-actions a {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .hero-section {
    padding: 34px 20px 20px;
  }

  .hero-title {
    font-size: clamp(40px, 12vw, 60px);
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-description.secondary {
    font-size: 15px;
  }

  .btn-primary {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .visual-card {
    min-height: 500px;
    border-radius: 22px;
  }

  .city-overlay-text {
    top: 32px;
    right: 22px;
  }

  .city-name {
    font-size: 36px;
  }

  .city-state {
    font-size: 25px;
  }

  .portrait-wrap {
    width: 92%;
  }

  .hero-wave {
    height: 34px;
  }

  .highlights-section {
    padding: 16px 20px 28px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    padding: 24px 20px;
  }
}

@media (max-width: 520px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-kicker {
    padding: 9px 12px;
    font-size: 12px;
  }

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

  .hero-tags {
    gap: 10px;
  }

  .hero-tags li {
    padding: 9px 12px;
    font-size: 13px;
  }

  .visual-card {
    min-height: 430px;
  }

  .city-name {
    font-size: 30px;
  }

  .city-state {
    font-size: 21px;
  }
}
