:root {
  --azul: #123b63;
  --azul-escuro: #0b243d;
  --premium: #D4A64F;
  --laranja: var(--premium);
  --cinza: #f5f7fa;
  --texto: #263238;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: Poppins, sans-serif;
  color: var(--texto);
  line-height: 1.6;
  background: #050b1d;
  overflow-x: hidden;
}

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

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(2, 8, 23, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 34px rgba(2, 8, 23, 0.18);
  backdrop-filter: blur(16px);
}

.header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--azul);
  line-height: 1;
}

.logo-mark {
  width: 42px;
  height: 42px;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--azul-escuro);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(11, 36, 61, 0.18);
  overflow: hidden;
}

.logo > .logo-mark > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.logo span {
  color: var(--laranja);
}

.logo .logo-text {
  color: #ffffff;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  color: #ffffff;
  font-weight: 500;
}

nav a:hover {
  color: var(--laranja);
}

.menu-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.hero {
  min-height: 620px;
  padding-top: 76px;
  padding-bottom: 60px;
  background:
    linear-gradient(90deg, rgba(11, 36, 61, 0.96) 0%, rgba(11, 36, 61, 0.84) 42%, rgba(11, 36, 61, 0.64) 100%),
    url("img/cotacao-bg.png") center / cover no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.hero-image-link,
.hero-small-image-link {
  display: block;
  margin-top: 28px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.hero-image-link img,
.hero-small-image-link img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-content-small {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: center;
}

.hero-content-small .hero-text {
  max-width: 540px;
}

.hero-small-image-link {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero-content-small {
    grid-template-columns: 1fr;
  }

  .hero-small-image-link {
    margin-top: 28px;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 540px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 500px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--premium);
}

.hero h1:not(.page-title) {
  color: var(--premium) !important;
}

.hero h1.page-title {
  color: var(--premium);
}

.hero p {
  max-width: 500px;
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.carousel-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border-radius: 12px;
}

.carousel-img.active {
  opacity: 1;
  position: relative;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.52);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.dot.active {
  background: var(--laranja);
  border-color: var(--laranja);
  transform: scale(1.3);
}

.btn-cta {
  width: fit-content;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--laranja);
  color: #ffffff;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 166, 79, 0.3);
}

.btn-cta:hover {
  background: #b88934;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 166, 79, 0.4);
}



.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 6px;
  background: var(--laranja);
  color: #ffffff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.section {
  padding: 80px 0;
  scroll-margin-top: 100px;
}

.section-title p {
  color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 42px;
}

.section-title h2 {
  font-size: 34px;
  color: var(--laranja);
  margin-bottom: 10px;
}

.quote-section,
.benefits-section {
  color: var(--azul-escuro);
}

.quote-section .section-title,
.benefits-section .section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.quote-section .section-title h2,
.benefits-section .section-title h2 {
  color: var(--azul);
  text-transform: uppercase;
}

.quote-section .section-title p,
.benefits-section .section-title p {
  color: #45515f;
}

.quote-form {
  max-width: 980px;
  padding: 46px 48px;
  background: #f3f6fa;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(11, 36, 61, 0.08);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 26px;
}

.quote-form label {
  color: var(--azul);
  font-size: 14px;
  font-weight: 700;
}

.quote-form input {
  margin-top: 8px;
  background: #ffffff;
}

.quote-form .privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 26px;
  color: #1d2c3b;
  font-weight: 400;
}

.quote-form .privacy-check input {
  width: auto;
  margin-top: 5px;
}

.quote-form .privacy-check a {
  color: #005bd3;
  text-decoration: underline;
}

.quote-btn {
  display: block;
  width: fit-content;
  min-width: 210px;
  margin: 34px auto 0;
  border-radius: 999px;
  background: var(--laranja);
}

.benefits-section {
  padding-top: 18px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  min-height: 210px;
  padding: 30px 26px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(11, 36, 61, 0.08);
  text-align: center;
}

.benefit-card i {
  color: var(--laranja);
  font-size: 34px;
  margin-bottom: 18px;
}

.benefit-card h3 {
  color: var(--azul);
  font-size: 16px;
  margin-bottom: 12px;
}

.benefit-card p {
  color: #263238;
  font-size: 13px;
  line-height: 1.55;
}

.bg-light {
  background: var(--cinza);
}

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

.card {
  background: #ffffff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card i {
  font-size: 34px;
  color: var(--laranja);
  margin-bottom: 16px;
}

.card h3 {
  color: var(--azul);
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 18px;
}

.card-btn {
  margin-top: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 12px;
}

.card-wide {
  grid-column: span 2;
}

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

.testimonial-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  
  /* Force single-column testimonials on narrow mobile devices */
  @media (max-width: 480px) {
    .testimonials-grid {
      grid-template-columns: 1fr !important;
      gap: 14px !important;
    }
  
    .testimonial-card {
      width: 100% !important;
      margin: 0 !important;
      padding: 20px !important;
      border-radius: 10px;
    }
  
    .testimonial-author {
      gap: 10px;
    }
  }
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--laranja);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.testimonials-section .section-title p {
  color: #45515f;
}

@media (max-width: 850px) {
  .testimonial-card {
    padding: 24px;
  }
  .testimonials-grid {
    gap: 18px;
  }
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.stars i {
  color: #ffc107;
  font-size: 16px;
}

.testimonial-text {
  color: #4d5362;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: var(--azul);
  font-size: 14px;
  margin: 0;
  margin-bottom: 2px;
}

.testimonial-author p {
  color: #999;
  font-size: 12px;
  margin: 0;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab {
  padding: 12px 18px;
  border: 1px solid #dddddd;
  background: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.tab.active {
  background: var(--azul);
  color: #ffffff;
}

.tab-content {
  background: #ffffff;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.tab-content h3 {
  color: var(--azul);
  margin-bottom: 10px;
}

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

.about img {
  width: 100%;
  border-radius: 8px;
}

.about h2 {
  color: var(--laranja);
  font-size: 34px;
  margin-bottom: 18px;
}

.about p {
  color: #ffffff;
  margin-bottom: 12px;
}

.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px 36px;
  align-items: center;
}

.partner {
  min-height: 72px;
  padding: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner img {
  max-width: 150px;
  max-height: 54px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.insurers-section .section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.insurers-section .section-title h2 {
  color: var(--azul);
  text-transform: uppercase;
}

.insurers-section .section-title p {
  color: #5b6570;
}

form {
  max-width: 700px;
  margin: auto;
  display: grid;
  gap: 16px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  font-family: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

footer {
  background: linear-gradient(180deg, #071321 0%, var(--azul-escuro) 100%);
  color: #ffffff;
  padding: 46px 0 22px;
}

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

footer h3 {
  margin-bottom: 14px;
  color: var(--laranja);
  font-size: 18px;
}

.footer-brand {
  max-width: 560px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: #0b243d;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.footer-logo strong,
.footer-brand h3 {
  color: var(--laranja);
}

.footer p,
.footer-info,
.footer-link {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-link,
.footer-info {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
}

.footer-link i,
.footer-info i {
  width: 18px;
  margin-top: 4px;
  color: var(--laranja);
  text-align: center;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--laranja);
}

@media (max-width: 850px) {
  nav {
    display: none;
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    width: auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(2, 8, 23, 0.94);
    box-shadow: 0 18px 42px rgba(2, 8, 23, 0.32);
    backdrop-filter: blur(16px);
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 4px;
    padding: 0;
  }

  nav a {
    display: block;
    padding: 13px 14px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
  }

  nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--dourado);
  }

  .menu-btn {
    display: block;
    color: #ffffff;
    line-height: 1;
    padding: 8px;
    border-radius: 10px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    .testimonials-grid {
      display: flex !important;
      flex-direction: column !important;
      gap: 14px !important;
      padding: 0 12px !important;
    }

    .testimonial-card {
      width: 100% !important;
      margin: 0 auto !important;
      box-sizing: border-box !important;
    }
    gap: 30px;
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(28px, 5vw, 40px);
  }

  .hero-image img {
    max-width: 100%;
  }

  .carousel {
    max-width: 100%;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    transform: scale(1.2);
  }

  .cards,
  .benefits-grid,
  .partners,
  .about,
  .testimonials-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-form {
    padding: 30px 22px;
  }

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

  .partners {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 18px;
  }

  .partner img {
    max-width: 135px;
  }

  .card-wide {
    grid-column: auto;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 34px;
    background-position: center top;
    background-size: cover;
  }

  .hero .container {
    min-height: auto;
    justify-content: flex-end;
    padding-top: 20px;
  }

  .hero p {
    max-width: 350px;
    font-size: 17px;
    line-height: 1.42;
    margin-top: 22px;
  }

  .hero h3 {
    max-width: 350px;
    font-size: 22px;
    line-height: 1.55;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: auto;
    background-position: center top;
    background-size: auto 100%;
  }

  .hero .container {
    min-height: auto;
    padding-top: 20px;
  }

  .hero p {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.45;
    margin-top: 20px;
  }

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

  .hero h3 {
    max-width: 340px;
    font-size: 21px;
    line-height: 1.55;
  }
}

@media (max-width: 600px) {
  /* ensure testimonials stack vertically and are centered */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 12px;
  }

  .testimonial-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto !important;
    padding: 20px !important;
    border-radius: 10px;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
  }

  /* reduce header size for mobile */
  header {
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  .header {
    height: 60px;
    padding: 8px 0;
  }

  .logo {
    font-size: 18px;
    gap: 8px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
    padding: 4px;
  }

  .menu-btn {
    font-size: 22px;
  }

  nav {
    top: 66px;
  }

  /* reduce hero top padding so header doesn't push content */
  .hero {
    padding-top: 60px;
  }

  .hero-content {
    gap: 26px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.15;
  }

  .hero h1:not(.page-title) {
    color: var(--premium) !important;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-image {
    width: 100%;
  }

  .carousel {
    max-width: 100%;
  }

  /* Service page hero typography fixes */
  .hero h3 {
    font-size: 20px;
    line-height: 1.35;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .btn-cta {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* Página de Política de Privacidade */
#privacidade {
  background: #ffffff;
}

#privacidade .container {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

#privacidade .section-title {
  text-align: left;
  margin-bottom: 22px;
}

#privacidade .section-title h2 {
  color: var(--laranja);
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 8px;
}

#privacidade .privacy-title {
  color: var(--laranja);
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 8px;
}

#privacidade .section-title p {
  color: #4d5a64;
  font-size: 13px;
}

#privacidade .privacy-text {
  color: var(--texto);
  font-size: 14px;
  line-height: 1.75;
}

#privacidade .privacy-text p {
  margin-bottom: 18px;
}

#privacidade .privacy-text h3 {
  color: var(--laranja);
  font-size: 20px;
  line-height: 1.35;
  margin: 34px 0 10px;
}

#privacidade .privacy-text h4 {
  color: var(--azul-escuro);
  font-size: 15px;
  line-height: 1.4;
  margin: 20px 0 8px;
}

#privacidade .privacy-text ul {
  margin: 0 0 22px 20px;
  padding-left: 14px;
}

#privacidade .privacy-text li {
  margin-bottom: 8px;
}

#privacidade .privacy-alert {
  background: #fff1e5;
  border-left: 4px solid var(--laranja);
  padding: 16px 18px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  #privacidade .section-title h2 {
    font-size: 24px;
  }

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

  #privacidade .privacy-text {
    font-size: 13px;
  }

  #privacidade .privacy-text h3 {
    font-size: 18px;
  }
}

/* Pilares de Atuação - teste.html */
.pillars-section {
  background: #f4f7fb;
}

.pillars-section .container {
  width: min(1080px, 94%);
}

.pillars-section .section-title {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}

.pillars-section .section-title h2 {
  color: var(--azul);
  text-transform: uppercase;
  font-size: 31px;
  line-height: 1.25;
}

.pillars-section .section-title p {
  color: #4d5362;
  font-size: 17px;
}

.pillar-panel {
  background: #f6f8fb;
  border-radius: 8px;
  padding: 34px 28px 30px;
  box-shadow: 0 8px 28px rgba(12, 32, 55, 0.06);
}

.pillar-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 52px;
}

.pillar-tabs .tab {
  width: 100%;
  min-height: 50px;
  padding: 10px 8px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #071321;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.pillar-tabs .tab.active {
  background: transparent;
  color: var(--laranja);
  border-bottom-color: var(--laranja);
}

.pillar-content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  align-items: center;
  gap: 46px;
  background: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 10px 28px rgba(12, 32, 55, 0.08);
}

.pillar-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(12, 32, 55, 0.12);
}

.pillar-info {
  text-align: left;
}

.pillar-info h3 {
  color: var(--azul);
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.pillar-info p {
  color: #4d5362;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 26px;
}

.pillar-services {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.pillar-service {
  width: 128px;
  min-height: 120px;
  padding: 18px 12px 16px;
  border: 1px solid #e7ebf0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(12, 32, 55, 0.08);
  text-align: center;
}

.pillar-service i {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9eef4;
  color: var(--azul);
  font-size: 20px;
}

.pillar-service span {
  display: block;
  color: #071321;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.pillar-btn {
  display: block;
  width: max-content;
  margin: 0 auto;
  padding: 13px 30px;
  border-radius: 999px;
  background: var(--laranja);
}

@media (max-width: 900px) {
  .pillar-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
  }

  .pillar-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .pillar-panel {
    padding: 24px 14px;
  }

  .pillar-tabs {
    grid-template-columns: 1fr;
  }

  .pillar-content {
    padding: 20px;
  }

  .pillar-info h3 {
    font-size: 18px;
  }

  .pillar-info p {
    font-size: 14px;
  }

  .pillar-service {
    width: 100%;
  }
}

/* Página Proteja seu Patrimônio */
.patrimonio-page .patrimonio-solutions {
  background: #f4f7fb;
}

.patrimonio-page .patrimonio-solutions .section-title {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
}

.patrimonio-page .patrimonio-solutions .section-title h2,
.patrimonio-page .patrimonio-help h2,
.patrimonio-page .patrimonio-about h2 {
  color: var(--azul);
  text-transform: uppercase;
}

.patrimonio-page .patrimonio-solutions .section-title p {
  color: #4d5362;
}

.patrimonio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.patrimonio-card {
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 36, 61, 0.08);
}

.patrimonio-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.patrimonio-card-body {
  padding: 22px;
}

.patrimonio-card h3 {
  color: var(--azul);
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.patrimonio-card p {
  color: #4d5362;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.patrimonio-note {
  min-height: 92px;
  padding: 14px;
  margin-bottom: 18px;
  border-left: 3px solid var(--laranja);
  background: #fff1e5;
  color: #5b4740;
  font-size: 12px;
  line-height: 1.55;
}

.patrimonio-note strong {
  color: var(--laranja);
}

.patrimonio-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
}

.patrimonio-help {
  padding: 58px 0;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(11, 36, 61, 0.92), rgba(18, 59, 99, 0.88)),
    url("img/top1.png") center/cover;
}

.patrimonio-page .patrimonio-help h2 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 12px;
}

.patrimonio-help p {
  max-width: 760px;
  margin: 0 auto 22px;
  font-size: 14px;
  line-height: 1.7;
}

.patrimonio-help-btn {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 12px;
  text-transform: uppercase;
}

.patrimonio-about {
  background: #ffffff;
}

.patrimonio-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.patrimonio-about h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.patrimonio-about p {
  color: #4d5362;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.patrimonio-about img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 36, 61, 0.14);
}

.patrimonio-differentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.patrimonio-differential {
  min-height: 150px;
  padding: 24px 16px;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(11, 36, 61, 0.06);
}

.patrimonio-differential i {
  color: var(--laranja);
  font-size: 24px;
  margin-bottom: 12px;
}

.patrimonio-differential h3 {
  color: var(--azul);
  font-size: 15px;
  margin-bottom: 8px;
}

.patrimonio-differential p {
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .patrimonio-cards,
  .patrimonio-about-grid,
  .patrimonio-differentials {
    grid-template-columns: 1fr;
  }

  .patrimonio-note {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .patrimonio-page .patrimonio-help h2,
  .patrimonio-about h2 {
    font-size: 22px;
  }

  .patrimonio-card-body {
    padding: 18px;
  }
}

/* Widget WhatsApp Flutuante */
.whatsapp-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 2147483647;
  text-decoration: none;
}

.whatsapp-widget:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-widget:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Popup de cotação */
.quote-popup-open {
  overflow: hidden;
}

.quote-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 8, 23, 0.68);
  backdrop-filter: blur(8px);
}

.quote-popup-overlay.is-visible {
  display: flex;
}

.quote-popup {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 44px);
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(2, 8, 23, 0.2), rgba(2, 8, 23, 0.82)),
    url("img/cotacao-bg.png") center / cover no-repeat;
  box-shadow: 0 28px 80px rgba(2, 8, 23, 0.42);
}

.quote-popup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 23, 0.25);
}

.quote-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(2, 8, 23, 0.48);
  cursor: pointer;
  font-size: 18px;
  transition: 0.2s ease;
}

.quote-popup-close:hover {
  color: var(--dourado);
  border-color: var(--dourado);
  transform: scale(1.04);
}

.quote-popup-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding: 30px 26px 26px;
  text-align: center;
}

.quote-popup-brand {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--dourado);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.quote-popup h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.1;
}

.quote-popup p {
  margin: 8px 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
}

.quote-popup-form {
  display: grid;
  gap: 16px;
}

.quote-popup-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.quote-popup-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  color: #ffffff;
  background: rgba(2, 8, 23, 0.24);
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: 0.22s ease;
  backdrop-filter: blur(4px);
}

.quote-popup-card:hover,
.quote-popup-card.selected {
  color: #ffffff;
  border-color: var(--dourado);
  background: rgba(212, 166, 79, 0.24);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(2, 8, 23, 0.26);
}

.quote-popup-card i {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
}

.quote-popup-card span {
  display: block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-popup-card strong {
  display: block;
  max-width: 100%;
  margin-top: 3px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.12;
  text-transform: uppercase;
}

.quote-popup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

.quote-popup-fields label {
  display: grid;
  gap: 5px;
}

.quote-popup-fields label:last-child {
  grid-column: 1 / -1;
}

.quote-popup-fields span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.quote-popup-fields input,
.quote-popup-fields textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding: 10px 12px;
  color: #102033;
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.quote-popup-fields textarea {
  min-height: 74px;
  resize: vertical;
}

.quote-popup-fields input:focus,
.quote-popup-fields textarea:focus {
  border-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(212, 166, 79, 0.22);
}

.quote-popup-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--dourado), var(--laranja));
  box-shadow: 0 14px 28px rgba(212, 166, 79, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.quote-popup-location-note {
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.4;
}

.quote-popup-error {
  display: none;
  padding: 10px 12px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(220, 38, 38, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.quote-popup-error.show {
  display: block;
}

.quote-popup-later {
  margin-top: 6px;
  border: 0;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.quote-popup-later:hover {
  color: #ffffff;
}

@media (max-width: 980px) {
  .quote-popup-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .quote-popup-overlay {
    padding: 12px;
  }

  .quote-popup {
    max-height: calc(100vh - 24px);
    border-radius: 6px;
    overflow-y: auto;
  }

  .quote-popup-content {
    padding: 56px 16px 22px;
  }

  .quote-popup-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .quote-popup-card {
    min-height: 104px;
    padding: 14px 10px;
  }

  .quote-popup-card i {
    margin-bottom: 12px;
    font-size: 34px;
  }

  .quote-popup-card strong {
    font-size: 14px;
  }

  .quote-popup-fields {
    grid-template-columns: 1fr;
  }

  .quote-popup-fields label:last-child {
    grid-column: auto;
  }
}
