:root {
  --blue: #1a1a4e;
  --orange: #ee7509;
  --orange-dark: #d4632b;
  --navy: #0a263a;
  --white: #ffffff;
  --black: #000000;
  --blue-soft: rgba(26, 26, 78, 0.06);
  --blue-border: rgba(26, 26, 78, 0.13);
  --white-muted: rgba(255, 255, 255, 0.78);
  --shadow: 0 18px 48px rgba(10, 38, 58, 0.12);
  --radius: 18px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Poppins", "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

body,
input,
select,
button {
  font-family: "Poppins", "Montserrat", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--blue);
  font-weight: 700;
  line-height: 1.16;
}

.container {
  width: min(var(--container), calc(100% - 42px));
  margin: 0 auto;
}

.section {
  padding: clamp(64px, 8vw, 92px) 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  z-index: 20;
  padding: 10px 18px;
  color: var(--white);
  background: var(--orange);
  border-radius: 7px;
}

.skip-link:focus {
  top: 18px;
}

.eyebrow,
.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker.inverse {
  color: var(--orange);
}

.accent-line {
  display: block;
  width: 58px;
  height: 3px;
  margin: 0 0 24px;
  background: var(--orange);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--orange);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--orange);
  background: rgba(238, 117, 9, 0.15);
}

.button-block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 742px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 38, 58, 0.96) 0%, rgba(26, 26, 78, 0.92) 45%, rgba(10, 38, 58, 0.5) 100%),
    url("assets/fachada-cidades.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -190px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(238, 117, 9, 0.32);
  border-radius: 50%;
  content: "";
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 0;
}

.brand img {
  width: clamp(178px, 22vw, 225px);
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav-contact {
  padding: 10px 0 10px 21px;
  border-left: 2px solid var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 1fr) 382px;
  gap: clamp(40px, 6vw, 74px);
  align-items: center;
  padding: 34px 0 66px;
}

.hero-content h1 {
  max-width: 630px;
  color: var(--white);
  font-size: clamp(2.45rem, 5vw, 3.7rem);
  letter-spacing: -0.045em;
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-lead {
  max-width: 550px;
  margin-top: 23px;
  color: var(--white-muted);
  font-size: clamp(1.01rem, 2vw, 1.15rem);
  font-weight: 500;
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 50px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.location-list span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.location-list span::before {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  content: "";
}

.hero-form-card {
  padding: 29px 28px 25px;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-form-kicker {
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-form-card h2 {
  margin-bottom: 23px;
  font-size: 1.42rem;
}

.hero-form-card .field {
  margin-bottom: 15px;
}

.hero-form-card input,
.hero-form-card select {
  min-height: 48px;
}

.consent-compact {
  margin: 5px 0 21px;
  line-height: 1.5;
}

.hero-success {
  padding: 42px 0 34px;
}

.proposal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: clamp(42px, 8vw, 104px);
  align-items: center;
}

.proposal h2,
.benefits h2 {
  max-width: 670px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.body-copy {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(10, 38, 58, 0.72);
}

.trust-card {
  padding: 35px 31px;
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--blue-soft);
}

.trust-card p {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trust-card strong {
  display: block;
  margin-bottom: 21px;
  color: var(--blue);
  font-size: 1.12rem;
}

.trust-card a {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
}

.benefits {
  background: var(--blue-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
  margin-top: 40px;
}

.card {
  min-height: 236px;
  padding: 30px 27px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 25px rgba(10, 38, 58, 0.05);
}

.card svg {
  width: 41px;
  height: 41px;
  margin-bottom: 25px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.card p {
  color: rgba(10, 38, 58, 0.68);
  font-size: 0.88rem;
}

.registration {
  color: var(--white);
  background: var(--blue);
}

.registration-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(440px, 1fr);
  gap: clamp(38px, 7vw, 76px);
  align-items: start;
}

.form-copy h2 {
  margin-bottom: 17px;
  color: var(--white);
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
}

.form-copy > p:not(.section-kicker) {
  color: var(--white-muted);
}

.service-photo {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  border-radius: 13px;
}

.service-photo img {
  width: 100%;
  height: 238px;
  object-fit: cover;
}

.service-photo div {
  position: absolute;
  inset: auto 0 0;
  padding: 38px 21px 18px;
  background: linear-gradient(transparent, rgba(10, 38, 58, 0.88));
}

.service-photo strong,
.service-photo span {
  display: block;
}

.service-photo span {
  color: var(--white-muted);
  font-size: 0.8rem;
}

.form-card {
  padding: clamp(25px, 4vw, 39px);
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 600;
}

input,
select {
  display: block;
  width: 100%;
  min-height: 51px;
  padding: 0 14px;
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input::placeholder {
  color: rgba(10, 38, 58, 0.48);
}

input:focus,
select:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(238, 117, 9, 0.14);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 27px;
  color: rgba(10, 38, 58, 0.7);
  font-size: 0.78rem;
}

.consent input {
  flex: none;
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.form-note {
  margin-top: 14px;
  color: rgba(10, 38, 58, 0.55);
  font-size: 0.72rem;
  text-align: center;
}

.success {
  padding: clamp(20px, 5vw, 58px) 0;
  text-align: center;
}

.success-mark {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 700;
}

.success h3 {
  margin-bottom: 11px;
  font-size: 1.45rem;
}

.success p {
  max-width: 400px;
  margin: 0 auto 28px;
  color: rgba(10, 38, 58, 0.7);
}

.final-cta {
  padding: clamp(46px, 7vw, 66px) 0;
  color: var(--white);
  background: var(--navy);
}

.final-grid {
  display: flex;
  gap: 38px;
  align-items: center;
  justify-content: space-between;
}

.final-grid h2 {
  max-width: 700px;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.18rem);
}

.footer {
  padding: 43px 0 35px;
  color: var(--white-muted);
  background: #071c2c;
  font-size: 0.82rem;
}

.footer-grid {
  display: flex;
  gap: 36px;
  align-items: end;
  justify-content: space-between;
}

.footer-logo {
  width: 190px;
  margin-bottom: 17px;
}

.creci {
  margin-top: 7px;
  color: var(--white);
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--white);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--orange);
}

.mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    background-position: 62% center;
  }

  .proposal-grid,
  .registration-grid,
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    max-width: 620px;
    gap: 39px;
    padding: 42px 0 64px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .form-copy {
    max-width: 570px;
  }

  .service-photo {
    max-width: 520px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 67px;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .nav {
    padding: 22px 0;
  }

  .brand img {
    width: 172px;
  }

  .nav-contact {
    display: none;
  }

  .hero {
    min-height: 0;
    background-position: 69% center;
  }

  .hero-layout {
    padding: 35px 0 43px;
    gap: 34px;
  }

  .hero-content h1 {
    font-size: clamp(2.02rem, 10vw, 2.42rem);
  }

  .location-list {
    margin-top: 32px;
    gap: 9px;
  }

  .hero-form-card {
    padding: 25px 19px 21px;
  }

  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 23px 18px;
  }

  .final-grid,
  .footer-grid {
    display: block;
  }

  .final-grid .button {
    width: 100%;
    margin-top: 27px;
  }

  .footer-links {
    margin-top: 30px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    min-height: 67px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--orange);
    font-size: 0.94rem;
    font-weight: 600;
  }
}
