:root {
  --color-primary: #2f7acb;
  --color-primary-dark: #0d4c9a;
  --color-secondary: #67b2e9;
  --color-navy: #052754;
  --color-ink: #102552;
  --color-text: #35435b;
  --color-muted: #69758b;
  --color-light: #f7f9fc;
  --color-border: #dce3ec;
  --color-white: #ffffff;
  --shadow-soft: 0 16px 34px rgba(13, 39, 86, 0.09);
  --shadow-card: 0 8px 22px rgba(13, 39, 86, 0.07);
  --radius-lg: 16px;
  --radius-md: 8px;
  --container: 1600px;
}

/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  line-height: 1.16;
}

p {
  margin-bottom: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: 5px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

/* Typography and reusable elements */
.eyebrow {
  margin-bottom: 10px;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #a7d3f5;
}

.section {
  padding: 46px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(27px, 3vw, 36px);
}

.section-heading--center {
  text-align: center;
}

.heading-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
}

.section-heading--center .heading-line {
  margin-right: auto;
  margin-left: auto;
}

.heading-line--light {
  background: #65afe4;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  padding: 11px 19px;
  color: var(--color-white);
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 6px;
  box-shadow: 0 7px 16px rgba(47, 122, 203, 0.2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #246ab4;
  border-color: #246ab4;
  box-shadow: 0 10px 22px rgba(47, 122, 203, 0.28);
  transform: translateY(-2px);
}

.button--small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 13px;
}

.button--outline {
  color: var(--color-primary-dark);
  background: transparent;
  border-color: var(--color-primary);
  box-shadow: none;
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.button--outline-light {
  color: var(--color-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.button--outline-light:hover,
.button--outline-light:focus-visible {
  color: var(--color-navy);
  background: var(--color-white);
  border-color: var(--color-white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.text-link i {
  font-size: 11px;
  transition: transform 180ms ease;
}

.text-link:hover i,
.text-link:focus-visible i {
  transform: translateX(3px);
}

.text-link--strong {
  margin-top: 22px;
  font-size: 14px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  color: var(--color-white);
  background: var(--color-navy);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: 205px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 33px 0 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--color-white);
}

.nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--color-white);
  content: "";
}

.nav-link i {
  color: #a8cdeb;
  font-size: 10px;
}

.header-cta {
  margin-left: 3px;
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  padding: 0;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  background: #fefefe;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 1600px);
  background: url("../img/hero-atendimento.webp") center / cover no-repeat;
  content: "";
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.78) 13%, #000 22%, #000 78%, rgba(0, 0, 0, 0.78) 87%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.78) 13%, #000 22%, #000 78%, rgba(0, 0, 0, 0.78) 87%, transparent 100%);
}

.hero-inner {
  display: flex;
  min-height: 500px;
  align-items: center;
}

.hero-copy {
  width: min(100%, 500px);
  padding: 40px 0;
}

.hero-copy h1 {
  max-width: 500px;
  margin-bottom: 17px;
  font-size: clamp(36px, 3.7vw, 48px);
  letter-spacing: -0.035em;
}

.hero-title-line {
  display: block;
}

.hero-text {
  max-width: 420px;
  margin-bottom: 25px;
  color: #45546a;
  font-size: 16px;
}

/* Trust */
.trust-strip {
  background: #f6f8fb;
  border-bottom: 1px solid #e5eaf0;
}

.trust-inner {
  display: grid;
  grid-template-columns: 82px 1px 1fr;
  align-items: center;
  gap: 26px;
  min-height: 150px;
}

.trust-icon {
  display: grid;
  width: 75px;
  height: 75px;
  place-items: center;
  color: var(--color-primary);
  font-size: 48px;
}

.trust-divider {
  width: 1px;
  height: 70px;
  background: #cbd4df;
}

.trust-inner h2 {
  margin-bottom: 6px;
  font-size: clamp(20px, 2.2vw, 28px);
}

.trust-inner p {
  max-width: 890px;
  color: #4f5d70;
  font-size: 15px;
}

/* Services */
.services-section {
  padding-top: 34px;
  padding-bottom: 32px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  padding: 0 24px 8px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  display: grid;
  width: 72px;
  height: 68px;
  margin-bottom: 9px;
  place-items: center;
  color: var(--color-primary);
  font-size: 43px;
}

.service-card h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.service-card p {
  max-width: 190px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Guidance */
.guidance-section {
  padding-top: 0;
  padding-bottom: 30px;
}

.guidance-section > .container {
  width: min(1600px, 100%);
}

.guidance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  height: 380px;
  background: #f7f9fc;
}

.image-frame {
  overflow: hidden;
  min-height: 0;
  height: 100%;
  border-radius: 0;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guidance-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 62px;
}

.guidance-copy h2 {
  max-width: 440px;
  margin-bottom: 13px;
  font-size: clamp(27px, 2.7vw, 34px);
}

.guidance-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin-top: 16px;
  color: #4f5d70;
  font-size: 15px;
}

.benefit-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.benefit-item {
  display: flex;
  min-height: 64px;
  flex-direction: column;
  gap: 9px;
  padding: 0 20px;
  color: var(--color-ink);
  border-right: 1px solid var(--color-border);
}

.benefit-item:first-child {
  padding-left: 0;
}

.benefit-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.benefit-item i {
  color: var(--color-primary);
  font-size: 22px;
}

.benefit-item strong {
  font-size: 13px;
  line-height: 1.35;
}

/* Reasons */
.reasons-section {
  padding-top: 12px;
  padding-bottom: 34px;
}

.reasons-section .section-heading {
  margin-bottom: 21px;
}

.reasons-section .section-heading h2 {
  font-size: clamp(23px, 2.8vw, 31px);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.reason-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  padding: 0 25px;
  border-right: 1px solid var(--color-border);
}

.reason-card:first-child {
  padding-left: 0;
}

.reason-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.round-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 50%;
  font-size: 11px;
}

.reason-card h3 {
  max-width: 155px;
  margin-bottom: 7px;
  font-size: 15px;
}

.reason-card p {
  max-width: 185px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* Product panels */
.products-section {
  padding-bottom: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: min(1600px, 100%);
}

.product-card {
  position: relative;
  min-height: 305px;
  overflow: hidden;
}

.product-card--dark {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 48px 25px;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: 0;
}

.product-copy {
  position: relative;
  z-index: 1;
}

.product-card--dark h2,
.product-card--dark strong,
.product-card--dark p:not(.eyebrow) {
  color: var(--color-white);
}

.product-card h2 {
  max-width: 380px;
  margin-bottom: 13px;
  font-size: clamp(23px, 2.6vw, 32px);
}

.product-card p:not(.eyebrow) {
  max-width: 410px;
  margin-top: 17px;
  color: #536078;
  font-size: 14px;
  line-height: 1.5;
}

.product-card.product-card--dark p:not(.eyebrow) {
  color: #dbe7f2;
}

.product-card strong {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 20px;
}

.product-thumbnails figure {
  position: relative;
  height: 72px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}

.product-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card--consorcio {
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: stretch;
  padding: 0 0 0 48px;
  background: #f3f7fa;
  border-radius: 0;
}

.product-card--consorcio .product-copy {
  align-self: center;
  padding: 30px 28px 30px 0;
}

.product-card--consorcio h2 {
  max-width: 250px;
}

.product-card--consorcio p:not(.eyebrow) {
  max-width: 300px;
}

.product-photo {
  align-self: stretch;
  min-height: 305px;
  margin-top: 0;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  min-height: 305px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

/* Process */
.process-section {
  padding-top: 12px;
  padding-bottom: 44px;
}

.process-section .section-heading {
  margin-bottom: 21px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
}

.process-step {
  display: grid;
  grid-template-columns: 33px 54px 1fr;
  align-items: center;
  gap: 13px;
}

.step-number {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.process-icon {
  display: grid;
  width: 54px;
  height: 60px;
  place-items: center;
  color: var(--color-primary);
  font-size: 36px;
}

.process-step h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.process-step p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

.process-arrow {
  color: var(--color-primary-dark);
  font-size: 22px;
  text-align: center;
}

/* FAQ */
.faq-section {
  padding-top: 0;
  padding-bottom: 20px;
  background: #f8fafc;
}

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

.faq-section .section-heading {
  margin-bottom: 20px;
}

.faq-list {
  display: grid;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.faq-list details {
  background: var(--color-white);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 19px;
  color: var(--color-ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary i {
  color: var(--color-primary-dark);
  font-size: 11px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary i {
  transform: rotate(90deg);
}

.faq-list details p {
  max-width: 850px;
  padding: 0 44px 16px 19px;
  color: var(--color-muted);
  font-size: 14px;
}

/* CTA and footer */
.cta-section {
  color: var(--color-white);
  background: var(--color-navy);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 130px;
}

.cta-inner h2 {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--color-white);
  font-size: clamp(24px, 2.7vw, 34px);
}

.cta-text {
  max-width: 285px;
  color: #d9e5f1;
  font-size: 14px;
}

.button-row--cta {
  justify-content: flex-end;
}

.site-footer {
  color: #d6e1ee;
  background: var(--color-navy);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.9fr 1fr;
  gap: 42px;
  padding-top: 25px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.brand--footer img {
  width: 195px;
}

.footer-brand > p {
  max-width: 245px;
  margin-top: 18px;
  color: #c4d4e4;
  font-size: 14px;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-link--hidden {
  display: none !important;
}

.social-links a {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 12px;
  transition: color 180ms ease, background 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--color-navy);
  background: var(--color-white);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h2 {
  margin-bottom: 6px;
  color: var(--color-white);
  font-size: 15px;
}

.footer-column a,
.footer-column p {
  color: #c4d4e4;
  font-size: 14px;
}

.footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color 180ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--color-white);
}

.footer-column a i {
  width: 14px;
  color: #a8cdeb;
  text-align: center;
}

.footer-column--contact p {
  max-width: 230px;
  margin-bottom: 3px;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 5px;
  color: #c4d4e4;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.footer-address i {
  width: 14px;
  margin-top: 4px;
  color: #a8cdeb;
  text-align: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 17px;
  padding-bottom: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a7bad0;
  font-size: 11px;
  text-align: center;
}

.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible,
.developer-credit a:hover,
.developer-credit a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
}

.developer-credit {
  padding-bottom: 16px;
  color: #8da6c1;
  font-size: 11px;
  text-align: center;
}

.developer-credit a {
  color: #cfe1f2;
}

/* Shared section additions */
.section-intro {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.55;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 27px;
}

/* Internal about page */
.internal-hero {
  overflow: hidden;
  background: #fefefe;
  border-bottom: 1px solid var(--color-border);
}

.internal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  min-height: 500px;
}

.internal-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 62px 72px 62px 0;
}

.internal-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(40px, 4vw, 58px);
  letter-spacing: -0.035em;
}

.internal-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 27px;
  color: #4f5d70;
  font-size: 16px;
}

.internal-hero-photo {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 76%, rgba(0, 0, 0, 0.78) 87%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 76%, rgba(0, 0, 0, 0.78) 87%, transparent 100%);
}

.internal-hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(254, 254, 254, 0.96) 0%, rgba(254, 254, 254, 0.12) 22%, transparent 42%);
  content: "";
  pointer-events: none;
}

.internal-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

.about-story {
  padding-top: 70px;
  padding-bottom: 76px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 76px;
}

.about-story-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 580px;
  justify-self: center;
  padding: 8px;
  background: linear-gradient(145deg, #edf6fd, #d7eafb);
  border: 1px solid #cfe2f3;
  border-radius: calc(var(--radius-lg) + 4px);
  box-shadow: var(--shadow-soft);
}

.about-story-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: calc(var(--radius-lg) - 4px);
}

.experience-seal {
  position: absolute;
  right: -28px;
  bottom: -28px;
  display: flex;
  width: 138px;
  height: 138px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  background: var(--color-navy);
  border: 8px solid var(--color-white);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.experience-seal strong {
  font-size: 35px;
  line-height: 1;
}

.experience-seal span {
  max-width: 86px;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-story-content h2 {
  max-width: 680px;
  margin-bottom: 15px;
  font-size: clamp(31px, 3.3vw, 43px);
}

.about-story-content > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: #4f5d70;
  font-size: 16px;
  line-height: 1.65;
}

.values-section {
  background: #f6f8fb;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}

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

.value-card {
  min-height: 230px;
  padding: 30px 27px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.value-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.value-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--color-primary);
  background: #eef6fd;
  border-radius: 50%;
  font-size: 22px;
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.value-card p {
  color: var(--color-muted);
  font-size: 14px;
}

.testimonials-section {
  padding-top: 64px;
  padding-bottom: 70px;
  background: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  position: relative;
  min-height: 250px;
  padding: 27px;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.testimonial-card--featured {
  grid-column: span 2;
  background: #f2f7fc;
  border-color: #a9ccef;
}

.testimonial-header {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
}

.testimonial-avatar {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--color-white);
  background: linear-gradient(145deg, var(--color-primary), var(--color-navy));
  border: 3px solid var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(13, 39, 86, 0.18);
  font-size: 14px;
  font-weight: 800;
}

.testimonial-header h3 {
  margin-bottom: 3px;
  font-size: 16px;
}

.testimonial-header p {
  color: var(--color-muted);
  font-size: 12px;
}

.testimonial-quote {
  align-self: start;
  color: #c8dcf0;
  font-size: 27px;
}

.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 20px;
  color: #f5b301;
  font-size: 14px;
}

.testimonial-rating span {
  margin-left: 9px;
  color: var(--color-muted);
  font-size: 12px;
}

.testimonial-card blockquote {
  margin: 19px 0 0;
  color: var(--color-text);
  font-size: 16px;
  font-style: normal;
  line-height: 1.62;
}

.commitment-section {
  padding: 64px 0;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-navy), #0b4788);
}

.commitment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 80px;
}

.commitment-copy h2 {
  max-width: 650px;
  margin-bottom: 17px;
  color: var(--color-white);
  font-size: clamp(30px, 3.2vw, 43px);
}

.commitment-copy > p:not(.eyebrow) {
  max-width: 630px;
  color: #d8e6f3;
  font-size: 15px;
}

.commitment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.commitment-list > div {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
}

.commitment-list i {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--color-navy);
  background: #8bc6ef;
  border-radius: 50%;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .cta-inner {
    grid-template-columns: 1.15fr 0.9fr auto;
    gap: 24px;
  }

  .footer-main {
    gap: 25px;
  }

  .internal-hero-copy {
    padding-right: 45px;
  }

  .about-story-grid {
    gap: 52px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 165px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    padding: 13px;
    background: var(--color-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 13px 10px;
  }

  .nav-link.is-active::after {
    right: auto;
    bottom: 9px;
    left: 10px;
    width: 25px;
  }

  .header-cta {
    margin: 10px 0 0;
    text-align: center;
  }

  .hero,
  .hero-inner {
    min-height: 480px;
  }

  .hero {
    background: #fefefe;
  }

  .hero::before {
    width: 100%;
    background-image: url("../img/hero-atendimento.webp");
    background-position: 36% center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.72) 9%, #000 20%, #000 80%, rgba(0, 0, 0, 0.72) 91%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.72) 9%, #000 20%, #000 80%, rgba(0, 0, 0, 0.72) 91%, transparent 100%);
  }

  .hero-inner {
    align-items: flex-start;
  }

  .hero-copy {
    padding-top: 60px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }

  .service-card:nth-child(3) {
    border-right: 0;
  }

  .service-card:nth-child(4) {
    border-left: 0;
  }

  .guidance-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .image-frame {
    height: 330px;
    min-height: 330px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .guidance-copy {
    padding: 36px;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .reason-card:nth-child(2) {
    border-right: 0;
  }

  .reason-card:nth-child(3) {
    padding-left: 0;
  }

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

  .product-card--consorcio {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }

  .cta-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .button-row--cta {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-column--contact {
    grid-column: 2 / -1;
  }

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

  .internal-hero-copy {
    padding: 54px 0 42px;
  }

  .internal-hero-photo,
  .internal-hero-photo img {
    min-height: 360px;
    height: 360px;
  }

  .internal-hero-photo {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .internal-hero-photo::after {
    background: linear-gradient(180deg, #fefefe 0%, rgba(254, 254, 254, 0.12) 24%, transparent 42%);
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-story-photo {
    height: 560px;
  }

  .experience-seal {
    right: 22px;
    bottom: -25px;
  }

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

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

  .testimonial-card--featured {
    grid-column: span 2;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

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

  .section {
    padding: 43px 0;
  }

  .hero {
    min-height: 0;
    background: #fefefe;
  }

  .hero::before {
    top: auto;
    bottom: 0;
    height: 245px;
    background-position: 58% center;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 100%);
  }

  .hero-inner {
    min-height: 0;
    padding-bottom: 232px;
  }

  .hero-copy {
    width: 100%;
    padding: 28px 0 26px;
  }

  .hero-copy h1 {
    max-width: 355px;
    margin-bottom: 13px;
    font-size: clamp(30px, 8.6vw, 35px);
    line-height: 1.08;
  }

  .hero-title-line {
    display: inline;
  }

  .hero-text {
    max-width: 355px;
    margin-bottom: 19px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero .button-row {
    gap: 9px;
  }

  .hero .button {
    min-height: 42px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-inner {
    grid-template-columns: 54px 1px 1fr;
    gap: 15px;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .trust-icon {
    width: 50px;
    height: 50px;
    font-size: 31px;
  }

  .trust-inner h2 {
    font-size: 20px;
  }

  .trust-inner p {
    font-size: 14px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 0;
  }

  .service-card {
    min-height: 168px;
    padding: 0 15px;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(4) {
    border-right: 0;
  }

  .service-card:nth-child(3) {
    border-right: 1px solid var(--color-border);
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 13px;
  }

  .guidance-copy {
    padding: 29px 23px;
  }

  .image-frame {
    height: 255px;
    min-height: 255px;
  }

  .benefit-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .benefit-item,
  .benefit-item:first-child,
  .benefit-item:last-child {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    padding: 0 0 15px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .benefit-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .reason-card,
  .reason-card:first-child,
  .reason-card:last-child,
  .reason-card:nth-child(3) {
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .reason-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .product-card--dark {
    padding: 28px 23px 22px;
  }

  .product-thumbnails {
    gap: 5px;
  }

  .product-thumbnails figure {
    height: 57px;
  }

  .product-card--consorcio {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 28px 23px 0;
  }

  .product-card--consorcio .product-copy {
    padding-bottom: 23px;
  }

  .product-card--consorcio h2 {
    max-width: 100%;
  }

  .product-photo {
    min-height: 210px;
    margin: 0 -23px;
  }

  .product-photo img {
    min-height: 210px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-step {
    grid-template-columns: 33px 50px 1fr;
  }

  .process-arrow {
    display: none;
  }

  .faq-list summary {
    padding: 14px;
    font-size: 14px;
  }

  .faq-list details p {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 14px;
  }

  .cta-inner {
    display: block;
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .cta-inner h2 {
    font-size: 27px;
  }

  .cta-text {
    margin-top: 17px;
  }

  .button-row--cta {
    margin-top: 22px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column--contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .footer-bottom p + p {
    margin-top: 9px;
  }

  .section-intro {
    font-size: 14px;
  }

  .section-action .button {
    width: 100%;
  }

  .internal-hero-copy {
    padding-top: 43px;
    padding-bottom: 34px;
  }

  .internal-hero-copy h1 {
    font-size: 38px;
  }

  .internal-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .internal-hero-photo,
  .internal-hero-photo img {
    min-height: 275px;
    height: 275px;
  }

  .about-story {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .about-story-grid {
    gap: 40px;
  }

  .about-story-photo {
    height: 460px;
  }

  .experience-seal {
    right: 12px;
    bottom: -24px;
    width: 108px;
    height: 108px;
    border-width: 6px;
  }

  .experience-seal strong {
    font-size: 27px;
  }

  .experience-seal span {
    font-size: 9px;
  }

  .about-story-content > p:not(.eyebrow) {
    font-size: 15px;
  }

  .values-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
  }

  .testimonial-card--featured {
    grid-column: auto;
  }

  .testimonials-section {
    padding-top: 48px;
    padding-bottom: 52px;
  }

  .testimonial-card {
    min-height: auto;
    padding: 22px;
  }

  .testimonial-header {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .testimonial-avatar {
    width: 46px;
    height: 46px;
  }

  .testimonial-card blockquote {
    font-size: 14px;
  }

  .commitment-section {
    padding: 46px 0;
  }

  .commitment-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
