:root {
  color-scheme: light;
  --blue-light: #95b9ff;
  --blue: #1a6aff;
  --blue-deep: #124fb9;
  --orange: #fa854f;
  --ink: #17191d;
  --muted: #666d78;
  --line: #e6e9ef;
  --white: #fff;
  --soft: #f7f9fc;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 92px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--blue-light);
  box-shadow: 0 2px 14px rgb(21 67 145 / 8%);
}

.header-content {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--blue-deep);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
}

.brand-icon {
  position: relative;
  display: block;
  overflow: hidden;
  width: 68px;
  height: 58px;
  flex: 0 0 68px;
}

.brand-icon img {
  position: absolute;
  top: -21px;
  left: -56px;
  width: 180px;
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #204e98;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.primary-nav a {
  font-size: 16px;
  font-weight: 600;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--blue-deep);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 10px;
  background: var(--blue);
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1167 / 327;
  object-fit: cover;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue-deep);
}

.hero-button {
  position: absolute;
  z-index: 3;
  right: max(5%, calc((100% - 1120px) / 2));
  bottom: 11%;
  box-shadow: 0 6px 20px rgb(0 42 110 / 20%);
}

.intro {
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.intro h1,
.section-heading h2 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-lead {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 18px;
}

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

.service-card {
  min-height: 280px;
  padding: 28px 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 32px rgb(24 43 78 / 4%);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff0e9;
  color: var(--blue-deep);
  font-size: 24px;
}

.service-card h2 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: #424750;
  font-size: 14px;
}

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

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 84px);
}

.why-image {
  width: 100%;
  min-height: 460px;
  border-radius: 14px 90px 14px 14px;
  object-fit: cover;
}

.why-copy h2,
.blog-intro h2 {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.why-lead {
  margin: 14px 0 22px;
  color: #414750;
}

.accordion details {
  border-bottom: 1px solid #dfe3e9;
}

.accordion summary {
  position: relative;
  padding: 17px 34px 17px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.accordion summary::after {
  position: absolute;
  top: 50%;
  right: 3px;
  color: var(--blue);
  content: "+";
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion details p {
  margin: -3px 28px 18px 0;
  color: var(--muted);
  font-size: 14px;
}

.numbers {
  padding-block: 56px;
}

.numbers img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.section-heading > p:last-child {
  margin: 12px auto 0;
  color: var(--muted);
}

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

.gallery-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -18px 0 18px;
}

.gallery-control {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-deep);
  cursor: pointer;
  font-size: 22px;
  transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.gallery-control:hover:not(:disabled) {
  background: var(--blue);
  color: var(--white);
}

.gallery-control:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.gallery-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--blue-light) transparent;
  scrollbar-width: thin;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  flex: 0 0 calc((100% - 36px) / 3);
  height: 300px;
  margin: 0;
  border-radius: 14px;
  background: #dceaff;
  scroll-snap-align: start;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 18px 16px;
  background: linear-gradient(transparent, rgb(5 26 58 / 78%));
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
}

.blog-intro {
  position: sticky;
  top: 120px;
}

.blog-intro p:not(.eyebrow) {
  margin: 16px 0 24px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
}

.blog-list {
  display: grid;
  gap: 14px;
}

.blog-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  min-height: 130px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(24 43 78 / 8%);
}

.blog-thumb {
  display: block;
  width: 118px;
  height: 104px;
  border-radius: 9px;
  background-image: url("imagens/imagem 01.jpg");
  background-position: 76% center;
  background-size: cover;
}

.blog-thumb-ph {
  background-image: url("imagens/imagem 04.jpg");
  background-position: 48% center;
}

.blog-thumb-clear {
  background-position: 83% center;
}

.blog-thumb-green {
  background-image: url("imagens/imagem 06.jpg");
  background-position: center;
}

.blog-card-copy {
  display: grid;
  align-content: center;
  gap: 3px;
}

.blog-category {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-copy strong {
  font-size: 16px;
  line-height: 1.35;
}

.blog-meta {
  color: var(--muted);
  font-size: 12px;
}

.card-arrow {
  align-self: start;
  color: var(--blue);
  font-size: 18px;
}

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

.faq-container {
  max-width: 820px;
}

.faq-accordion {
  border-top: 1px solid #dfe3e9;
}

.faq-accordion summary {
  padding-block: 20px;
}

.faq-accordion details p {
  font-size: 15px;
}

.contact-heading {
  margin-bottom: 28px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 82px);
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 16px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #edf3ff;
  color: var(--blue);
  font-size: 22px;
}

.map-frame {
  overflow: hidden;
  height: 250px;
  margin-top: 10px;
  border-radius: 14px;
  background: #edf3ff;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  align-content: start;
  gap: 9px;
}

.contact-form label {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dde6;
  border-radius: 8px;
  outline: none;
  background: var(--white);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(26 106 255 / 12%);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  margin-top: 8px;
}

.form-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding-block: 28px;
  background: var(--blue-light);
}

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

.site-footer .footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.site-footer .footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c13584;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.whatsapp-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #128c7e;
  color: var(--white);
}

.instagram-icon {
  width: 29px;
  height: 29px;
}

.footer-content > p {
  margin: 0;
  color: #30466d;
  font-size: 12px;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.article-main {
  min-height: calc(100vh - 190px);
  padding-block: 74px 96px;
  background:
    radial-gradient(ellipse at 86% 6%, rgb(149 185 255 / 28%), transparent 34rem),
    var(--soft);
}

.article-content {
  max-width: 780px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 55px rgb(22 48 94 / 7%);
}

.article-content h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.article-meta {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 13px;
}

.article-image {
  width: 100%;
  max-height: 390px;
  margin-bottom: 28px;
  border-radius: 12px;
  object-fit: cover;
}

.article-body p {
  margin: 0 0 18px;
  color: #414750;
  font-size: 17px;
  line-height: 1.8;
}

.article-source {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-back {
  margin-top: 12px;
}

.article-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.article-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

.article-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid #124fb9;
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .header-content {
    min-height: 76px;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: rgb(255 255 255 / 45%);
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 21px;
    height: 2px;
    background: var(--blue-deep);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    background: var(--blue-light);
    box-shadow: 0 12px 16px rgb(21 67 145 / 10%);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav a {
    padding: 10px 0;
  }

  .hero-button {
    right: 4%;
    bottom: 7%;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .why-image {
    min-height: 400px;
  }

  .gallery-item {
    flex-basis: calc((100% - 18px) / 2);
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .blog-intro {
    position: static;
    max-width: 580px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, 440px);
  }

  .section-pad {
    padding-block: 64px;
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    width: 100%;
    margin: 0 0 4px;
  }

  .hero {
    padding-bottom: 12px;
  }

  .hero-image {
    min-height: 0;
    aspect-ratio: 1167 / 327;
    object-fit: contain;
  }

  .hero-button {
    position: static;
    display: flex;
    width: fit-content;
    margin: 12px 16px 0 auto;
    min-height: 42px;
    padding: 8px 13px;
    font-size: 13px;
  }

  .intro h1,
  .section-heading h2 {
    font-size: 31px;
  }

  .section-lead {
    font-size: 16px;
  }

  .service-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 14px;
    margin-top: 32px;
  }

  .service-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .why-grid {
    gap: 30px;
  }

  .why-image {
    min-height: 330px;
    max-height: 420px;
    border-radius: 12px 70px 12px 12px;
  }

  .numbers {
    padding-block: 36px;
  }

  .numbers img {
    height: auto;
  }

  .gallery-item {
    flex-basis: 86%;
    height: 260px;
  }

  .blog-card {
    grid-template-columns: 84px minmax(0, 1fr) 16px;
    gap: 12px;
    min-height: 108px;
    padding: 9px;
  }

  .blog-thumb {
    width: 84px;
    height: 88px;
  }

  .blog-card-copy strong {
    font-size: 14px;
  }

  .blog-category {
    font-size: 10px;
  }

  .blog-meta {
    font-size: 11px;
  }

  .contact-grid {
    gap: 32px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .article-main {
    padding-block: 42px 64px;
  }

  .article-body p {
    font-size: 16px;
  }
}
