:root {
  --blue: #24145f;
  --orange: #f36b21;
  --ink: #20232a;
  --muted: #5d6470;
  --line: #dfe3ea;
  --soft: #f5f7fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--orange);
  color: var(--blue);
  font-weight: 800;
}

.skip-link:focus {
  left: 8px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(20, 23, 31, 0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.header-menu-strip {
  background: var(--blue);
  color: var(--white);
  border-top: 1px solid rgba(36, 20, 95, 0.08);
}

.header-menu-strip .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 750;
}

.header-menu-strip a {
  color: var(--white);
  text-decoration: none;
}

.header-menu-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.brand img {
  width: 190px;
  max-height: 72px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
  border-radius: 4px;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--soft);
}

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

.menu-toggle {
  display: none;
}

.button,
.menu-toggle {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.button-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--blue);
}

.button-ghost {
  background: transparent;
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 15, 55, 0.91), rgba(20, 15, 55, 0.66) 45%, rgba(20, 15, 55, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 6vh, 58px) 0 clamp(28px, 5vh, 44px);
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.12;
}

h1 {
  max-width: 740px;
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-lead {
  max-width: 660px;
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li,
.card,
.note-box,
.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 16px;
}

.hero-proof strong {
  display: block;
  color: var(--orange);
  font-size: 1.35rem;
}

.section {
  padding: 78px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--blue);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.lead-copy {
  font-size: 1.08rem;
  color: var(--muted);
}

.dark .lead-copy,
.dark p {
  color: rgba(255, 255, 255, 0.84);
}

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

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

.card {
  height: 100%;
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.card h3 {
  color: var(--blue);
}

.card p,
.card li,
.note-box p {
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 850;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

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

.region-list li,
.check-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: var(--white);
}

.dark .region-list li,
.dark .check-list li {
  color: var(--ink);
}

.note-box {
  background: #fff8f4;
  border-color: #f8c9ae;
}

.catalog-band {
  padding: 34px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
}

.catalog-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 36px;
  align-items: start;
  padding: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #151924 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow: 0 18px 48px rgba(20, 23, 31, 0.16);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band .lead-copy {
  color: rgba(255, 255, 255, 0.78);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 23, 31, 0.08);
}

.quote-form label,
.quote-form .full {
  grid-column: span 2;
}

.quote-form label:not(.full) {
  grid-column: span 1;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.94rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form [name="website"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status[data-state="sent"] {
  color: #127a3d;
}

.form-status[data-state="error"] {
  color: #b02a1f;
}

.curriculum-note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 16px;
  border: 1px solid rgba(255, 170, 0, 0.58);
  border-radius: 8px;
  background: rgba(255, 122, 0, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}

.curriculum-note strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.curriculum-note p {
  margin: 0 0 12px;
}

.curriculum-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.curriculum-note a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-item summary {
  position: relative;
  padding: 18px 52px 18px 18px;
  color: var(--blue);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.footer {
  padding: 58px 0 32px;
  background: #151924;
  color: var(--white);
  margin-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.footer small {
  display: block;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand-logo {
  width: 210px;
  max-width: 100%;
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1.05rem;
}

.footer p,
.footer address {
  color: rgba(255, 255, 255, 0.74);
}

.footer-navigation a,
.footer-policy a,
.footer-social a,
.footer-action-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-navigation a {
  display: flex;
  padding: 5px 0;
}

.footer-units {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.footer-unit {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 16px;
}

.footer-unit h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.02rem;
}

.footer-unit h3::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 107, 33, 0.16);
}

.footer-unit p,
.footer-unit address {
  margin: 6px 0;
  font-style: normal;
}

.footer-social,
.footer-action-strip,
.footer-policy,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.footer-social a,
.footer-action-strip a,
.footer-policy a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 9px 12px;
}

.footer-action-strip .footer-button-primary {
  background: var(--orange);
  color: var(--blue);
  border-color: var(--orange);
  font-weight: 900;
}

.footer-action-strip .footer-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.footer-social img {
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 999px;
  padding: 4px;
}

.footer-bottom {
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 20px;
}

.signature-agenzzia {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--container);
  margin: 18px auto 0;
  padding: 0 24px 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.signature-spacer {
  flex: 1 1 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.signature-credit {
  flex: 0 1 auto;
  text-align: center;
}

.signature-agenzzia a {
  color: #ff7a00;
  font-weight: 700;
  text-decoration: none;
}

.signature-agenzzia a:hover {
  text-decoration: underline;
}

.contact-panel {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 40;
  display: none;
  width: min(360px, calc(100vw - 32px));
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 18px 60px rgba(20, 23, 31, 0.24);
}

.contact-panel h2 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 1.15rem;
}

.contact-panel a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--line);
}

body.whatsapp-open .whatsapp-panel,
body.phone-open .phone-panel {
  display: block;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 35;
  box-shadow: 0 12px 28px rgba(20, 23, 31, 0.22);
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.floating-whatsapp::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-right: 8px;
  display: inline-block;
  background: url("../../site/imagem/whatsapp.svg") center / contain no-repeat;
}

@keyframes whatsappPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 28px rgba(20, 23, 31, 0.22);
  }

  50% {
    transform: translateY(-3px) scale(1.025);
    box-shadow: 0 16px 36px rgba(243, 107, 33, 0.34);
  }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--blue);
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 14px;
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-bottom: 14px;
  }

  .header-menu-strip .container {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 0;
  }

  .split,
  .grid,
  .grid.two,
  .footer-grid,
  .footer-units,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    margin: 0 auto;
    width: min(1180px, calc(100% - 32px));
    padding: 82px 0 54px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 154px;
  }

  .header-actions {
    display: none;
  }

  .button,
  .menu-toggle {
    white-space: normal;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    min-height: calc(100vh - 120px);
  }

  .hero-content {
    padding: 34px 0 38px;
  }

  .hero-proof {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .quote-form,
  .quote-form label,
  .quote-form label:not(.full),
  .quote-form .full {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }
}
