/* SIM Seguros: camada de marca sobre o design system do template.
   Vermelho #E30A13 e azul #2F3B4B são as cores originais da marca. */

:root {
  --color--primary: #e30a13;
  --color--secondary: #e30a13;
  --color--dark: #2f3b4b;
  --color--site-bg: #f7f5f4;
  --sim-navy-deep: #232d3a;
  --sim-red-light: #ff5a61;
  --sim-red-dark: #b8070f;
}

body { color: var(--color--dark); }

/* ---------- Botões ---------- */
[data-hover="button-01"] .button-text { color: #fff; }
.button-01 { box-shadow: 0 10px 24px rgba(227, 10, 19, 0.28); }
.button-hover-circle { background-color: var(--sim-navy-deep); }
[data-hover="button-02"] .button-text.text-dark { color: #fff; }
.button-02 { border-color: rgba(255, 255, 255, 0.55); }

/* ---------- Navbar ---------- */
.navbar-brand { width: 170px; }
.navbar-brand img { width: 100%; height: auto; }
.nav-link[aria-current="page"] .nav-dropdown-text { color: var(--color--primary); }
.nav-button-wrapper .button-01 .button-text { white-space: nowrap; }
@media screen and (max-width: 991px) {
  .navbar-brand { width: 140px; }
}

/* ---------- Hero ---------- */
.hero-text-secondary { color: #ff3a42; }
.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 36, 0.82) 0%, rgba(20, 27, 36, 0.45) 55%, rgba(20, 27, 36, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}
.home-hero-wrap,
.hero-hom-sub-heading { position: relative; z-index: 3; }

/* ---------- Tags ---------- */
.tag-wrap .tag { color: #fff; }

/* ---------- Cartões de estatística ---------- */
.hover-dot.bg-secondary { background-color: var(--sim-navy-deep); }
[data-hover="about-box"]:hover .home-about-box-text,
[data-hover="about-box"]:hover .home-about-box-text *,
[data-hover="about-box"]:focus-within .home-about-box-text,
[data-hover="about-box"]:focus-within .home-about-box-text * { color: #fff; }

/* ---------- Secção a vermelho (need-to-know) ---------- */
.need-to-know,
.need-to-know .heading-scale-1 { color: #fff; }
.need-to-know .need-to-know-list .heading-scale-1 { color: rgba(255, 255, 255, 0.92); }
.know-top-linner {
  background-image: linear-gradient(rgba(227, 10, 19, 0), rgba(227, 10, 19, 0) 12%, rgba(227, 10, 19, 0.5) 25%, #e30a13);
}
.need-to-know .tag-wrap.bg-dark { background-color: var(--sim-navy-deep); }

/* ---------- Secções escuras: acentos legíveis ---------- */
.footer .tag.text-secondary,
.projects-v1 .tag.text-secondary { color: var(--sim-red-light); }
.footer-link:hover,
.footer-link[aria-current="page"] { color: var(--sim-red-light); }
[data-hover="footer-link"]:hover .text-light,
[data-hover="footer-link"]:focus-visible .text-light { color: var(--sim-red-light); }
[data-hover="service-v1"]:hover .text-light,
[data-hover="service-v1"]:focus-visible .text-light { color: var(--sim-red-light); }
.project-v1-list:hover [data-hover="project-btn"],
[data-hover="project-btn"]:hover { border-color: var(--sim-red-light); }
.footer-text-link.footer-link-text-02 { color: var(--sim-red-light); }

/* Logos das seguradoras no marquee */
.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  max-width: 130px;
  margin-right: 64px;
}
.logo-box .brand-logo {
  max-height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-box:hover .brand-logo { filter: none; opacity: 1; }

/* Logo do "about" */
.home-about-top-left img { width: 220px; max-width: 100%; height: auto; }

/* Ícones de serviço em círculo vermelho */
.service-card-icon-wrap {
  background-color: var(--color--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-icon-wrap svg { width: 26px; height: 26px; }

/* Cartões de situações (reviews) com link */
.reviews-box-wrap { text-decoration: none; }
.reviews-box-wrap .review-box-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 27, 36, 0) 35%, rgba(20, 27, 36, 0.85) 100%);
  z-index: 1;
}
.reviews-box-text-wrap { z-index: 3; }
.reviews-box-wrap .sim-link-seta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  margin-top: 6px;
}
.reviews-box-wrap:hover .sim-link-seta { color: var(--sim-red-light); }

/* ---------- Páginas interiores ---------- */
.sim-page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 90px;
  color: #fff;
  overflow: hidden;
  background: var(--sim-navy-deep);
}
.sim-page-hero .sim-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.sim-page-hero .sim-page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.sim-page-hero .sim-page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 36, 0.88) 0%, rgba(20, 27, 36, 0.55) 60%, rgba(20, 27, 36, 0.3) 100%);
}
.sim-page-hero .container { position: relative; z-index: 2; }
.sim-page-hero h1 { color: #fff; max-width: 820px; margin-top: 16px; }
.sim-page-hero p { color: rgba(255, 255, 255, 0.86); max-width: 640px; margin-top: 18px; }
.sim-page-hero p a { color: #fff; }
@media screen and (max-width: 767px) {
  .sim-page-hero { min-height: 0; padding: 140px 0 60px; }
}

.sim-section { padding: 120px 0; }
.sim-section.bg-white { background: #fff; }
.sim-section.bg-dark { background: var(--color--dark); color: #fff; }
.sim-section.bg-dark h2,
.sim-section.bg-dark h3 { color: #fff; }
@media screen and (max-width: 991px) { .sim-section { padding: 90px 0; } }
@media screen and (max-width: 767px) { .sim-section { padding: 70px 0; } }

.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
}
.sim-head > div { max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sim-head p { max-width: 460px; }
@media screen and (max-width: 767px) {
  .sim-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
}

.sim-grid { display: grid; gap: 20px; }
.sim-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.sim-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.sim-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media screen and (max-width: 991px) {
  .sim-grid.cols-3, .sim-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 600px) {
  .sim-grid.cols-2, .sim-grid.cols-3, .sim-grid.cols-4 { grid-template-columns: 1fr; }
}

/* Cartão branco no estilo do template */
.sim-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.4s, transform 0.4s;
}
.sim-card:hover { box-shadow: 0 20px 44px rgba(35, 45, 58, 0.12); transform: translateY(-4px); }
.bg-white .sim-card { background: var(--color--site-bg); }
.sim-card .text-style-h5 { margin: 0; }
.sim-card p { margin: 0; color: #4a5562; }
.sim-card .service-card-icon-wrap { margin-bottom: 8px; }

/* Lista de produtos */
.sim-produtos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(47, 59, 75, 0.14);
}
.sim-produtos li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 6px;
  border-bottom: 1px solid rgba(47, 59, 75, 0.14);
  font-size: 19px;
  font-weight: 500;
  transition: color 0.3s, padding 0.3s;
}
.sim-produtos li:hover { color: var(--color--primary); padding-left: 14px; }
.sim-produtos li span.num { font-size: 13px; font-weight: 600; color: #8a939d; letter-spacing: 0.04em; }
@media screen and (max-width: 991px) { .sim-produtos { grid-template-columns: repeat(2, 1fr); column-gap: 30px; } }
@media screen and (max-width: 600px) { .sim-produtos { grid-template-columns: 1fr; } }
.sim-produtos { column-gap: 40px; }

/* Equipa */
.sim-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media screen and (max-width: 991px) { .sim-team { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 767px) { .sim-team { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.sim-person { background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.sim-person-img {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #eef0f2, #e2e6ea);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.sim-person-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.sim-person:hover .sim-person-img img { transform: scale(1.05); }
.sim-person-img .iniciais { align-self: center; font-size: 56px; font-weight: 600; color: #8a939d; }
.sim-person-info { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.sim-person-info .nome { font-size: 19px; font-weight: 600; }
.sim-person-info .cargo { color: var(--color--primary); font-weight: 600; font-size: 14px; }
.sim-person-info .local { color: #6b7580; font-size: 14px; }
.sim-person-info a { color: #4a5562; text-decoration: none; font-size: 14px; overflow-wrap: anywhere; }
.sim-person-info a:hover { color: var(--color--primary); }
.sim-person-info .contactos { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }

/* Linha temporal */
.sim-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media screen and (max-width: 991px) { .sim-timeline { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 600px) { .sim-timeline { grid-template-columns: 1fr; } }
.sim-timeline li { background: #fff; border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.sim-timeline .ano { font-size: 54px; line-height: 1; font-weight: 300; color: var(--color--primary); letter-spacing: -0.02em; }

/* Tabela de assistência */
.sim-tabela { width: 100%; border-collapse: collapse; font-size: 17px; }
.sim-tabela th, .sim-tabela td { padding: 18px 8px; border-bottom: 1px solid rgba(47, 59, 75, 0.14); text-align: left; }
.sim-tabela th { font-weight: 600; }
.sim-tabela td a { color: var(--color--primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sim-tabela tr:hover td, .sim-tabela tr:hover th { background: rgba(227, 10, 19, 0.04); }

/* Formulários */
.sim-form { background: #fff; border-radius: 16px; padding: 40px; }
@media screen and (max-width: 600px) { .sim-form { padding: 26px; } }
.sim-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
@media screen and (max-width: 600px) { .sim-form-grid { grid-template-columns: 1fr; } }
.sim-field.full { grid-column: 1 / -1; }
.sim-field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.sim-field .req { color: var(--color--primary); }
.sim-field input, .sim-field select, .sim-field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--color--dark);
  background: var(--color--site-bg);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.3s, background 0.3s;
}
.sim-field input:focus, .sim-field select:focus, .sim-field textarea:focus {
  outline: none;
  border-color: var(--color--primary);
  background: #fff;
}
.sim-field textarea { min-height: 140px; resize: vertical; }
.sim-field .ajuda { font-size: 13px; color: #6b7580; margin-top: 6px; }
.sim-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.sim-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color--primary); flex: none; }
.sim-check a { color: var(--color--primary); }
.sim-form-estado { margin-top: 14px; font-weight: 600; }
.sim-form-estado[data-tipo="erro"] { color: var(--sim-red-dark); }
.sim-form-estado[data-tipo="ok"] { color: #13773a; }
.sim-form button.button-01 { border: 0; cursor: pointer; font: inherit; }

/* Prosa legal */
.sim-prosa { max-width: 820px; }
.sim-prosa h2 { font-size: 30px; line-height: 1.2; margin: 48px 0 14px; }
.sim-prosa p, .sim-prosa li { font-size: 17px; line-height: 1.7; color: #4a5562; }
.sim-prosa a { color: var(--color--primary); }

/* Escritórios */
.sim-office .tag { color: var(--color--primary); }
.sim-office address { font-style: normal; color: #4a5562; line-height: 1.6; }
.sim-office .tel { font-size: 24px; font-weight: 600; color: var(--color--dark); text-decoration: none; }
.sim-office .tel:hover { color: var(--color--primary); }
.sim-office .mapa { color: var(--color--primary); font-weight: 600; text-decoration: none; }

/* Rodapé legal */
.sim-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  margin-top: 10px;
  color: #a9b3be;
  font-size: 14px;
  line-height: 1.7;
}
.sim-footer-legal .links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 14px; }
.sim-footer-legal a { color: #e6ebf0; text-decoration: none; }
.sim-footer-legal a:hover { color: var(--sim-red-light); }
.footer-logo { width: 190px; height: auto; }

/* Acessibilidade */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 9999;
  background: var(--color--dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--color--primary); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
[id] { scroll-margin-top: 100px; }

/* ---------- Correções de layout ---------- */
.navbar { background: #fff; }
.home-hero.sim-hero-full { height: calc(100svh - 90px); min-height: 620px; }
@media screen and (max-width: 991px) { .home-hero.sim-hero-full { height: calc(100svh - 80px); min-height: 560px; } }
@media screen and (max-width: 767px) { .home-hero.sim-hero-full { height: calc(100svh - 72px); min-height: 520px; } }
.sim-page-hero { padding-top: 140px; }
@media screen and (max-width: 767px) { .sim-page-hero { padding-top: 110px; } }

/* Citação sobre fotografia: overlay para legibilidade */
.ceo-words-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 27, 36, 0.86) 0%, rgba(20, 27, 36, 0.55) 55%, rgba(20, 27, 36, 0.35) 100%);
  pointer-events: none;
}

/* Títulos dos cartões sobre fotografia */
.reviews-box-text-wrap h3 {
  color: #fff;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
}
.sim-footer-legal p { font-size: 14px; line-height: 1.7; margin: 0 0 6px; color: #a9b3be; }

/* ============================================================
   Identidade própria SIM (afastamento do template)
   ============================================================ */

/* Etiquetas em pill com ponto */
.tag-wrap {
  border-radius: 100px;
  padding: 6px 14px 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tag-wrap::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  flex: none;
}
.sim-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 100px; padding: 6px 14px 6px 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.sim-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sim-pill-light { background: rgba(255,255,255,.16); color: #fff; }

/* Numeração dos passos em pill vermelho */
.choose-us-tab-link .text-style-h6 {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 32px; padding: 0 12px;
  border-radius: 100px; background: rgba(227,10,19,.1); color: var(--color--primary);
  font-size: 15px; font-weight: 700;
}
.choose-us-tab-link.is-active .text-style-h6 { background: var(--color--primary); color: #fff; }
.choose-us-tab-link.is-active { box-shadow: inset 4px 0 0 var(--color--primary); }
.process-number-box { background: var(--color--primary); }
.process-number-box .text-style-h6 { color: #fff; }

/* Hero: kicker, lead e cartão de ajuda */
.sim-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px;
  margin-bottom: 18px;
}
.sim-hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--color--primary); }
.sim-hero-lead { color: rgba(255,255,255,.88); font-size: 19px; line-height: 1.55; max-width: 540px; margin-top: 22px; }
.sim-hero-card {
  position: absolute; right: 40px; bottom: 40px; z-index: 4;
  width: 340px; padding: 26px;
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px; color: #fff;
}
.sim-hero-card-top { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.sim-pulse { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: sim-pulse 2s infinite; }
@keyframes sim-pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.sim-hero-tel { display: block; font-size: 38px; font-weight: 600; letter-spacing: -.01em; color: #fff; text-decoration: none; margin: 10px 0 6px; }
.sim-hero-tel:hover { color: #ffb3b6; }
.sim-hero-card p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.85); margin: 0; }
.sim-hero-card p a { color: #fff; }
.sim-hero-card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sim-hero-card-links a {
  font-size: 13px; font-weight: 600; color: #fff; text-decoration: none;
  padding: 8px 14px; border-radius: 100px; background: rgba(255,255,255,.14);
  transition: background .3s;
}
.sim-hero-card-links a:hover { background: var(--color--primary); }
@media screen and (max-width: 991px) {
  .sim-hero-card { position: relative; right: auto; bottom: auto; width: auto; margin: 28px 20px 0; }
  .home-hero.sim-hero-full { height: auto; min-height: calc(100svh - 72px); padding-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .sim-pulse { animation: none; } }

/* Máxima: foto + painel vermelho */
.sim-maxima { padding: 120px 0; }
.sim-maxima-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.sim-maxima-foto { position: relative; border-radius: 24px; overflow: hidden; min-height: 520px; }
.sim-maxima-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim-maxima-painel {
  position: relative; overflow: hidden;
  background: var(--color--primary); color: #fff;
  border-radius: 24px; padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px;
}
.sim-maxima-aguia {
  position: absolute; right: -90px; bottom: -70px; width: 380px; opacity: .18;
  filter: brightness(0) invert(1); pointer-events: none;
}
.sim-maxima-painel blockquote {
  margin: 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em;
}
.sim-maxima-painel p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 460px; margin: 0; }
.sim-maxima-num { display: flex; align-items: center; gap: 18px; margin-top: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); width: 100%; }
.sim-maxima-num .display-02 { color: #fff; }
.sim-maxima-num > span { font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.9); max-width: 200px; }
@media screen and (max-width: 991px) {
  .sim-maxima { padding: 80px 0; }
  .sim-maxima-grid { grid-template-columns: 1fr; }
  .sim-maxima-foto { min-height: 340px; }
  .sim-maxima-painel { padding: 40px 30px; }
}

/* Correções mobile */
@media screen and (max-width: 767px) {
  .process-list-wrap { position: static !important; transform: none !important; }
  .sim-hero-lead { font-size: 17px; }
}
.sim-hero-card { background: rgba(20, 27, 36, 0.58); border-color: rgba(255,255,255,.18); }
.sim-maxima { padding-bottom: 40px; }
.sim-maxima-painel blockquote { border-left-color: rgba(255,255,255,.55); }
@media screen and (max-width: 767px) {
  .hero-container { padding-left: 20px; padding-right: 20px; }
  .home-hero h1 { font-size: 38px; line-height: 44px; }
  .sim-hero-card { margin: 26px 20px 0; }
}
#vidros .process-list-wrap { background: var(--color--site-bg); }

/* ============================================================
   Passe de proporção
   ============================================================ */

/* Grelha bento de soluções */
.sim-solucoes { background: var(--color--dark); padding: 110px 0; }
.sim-solucoes .sim-head h2 { color: #fff; max-width: 560px; }
.sim-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 290px 290px;
  gap: 16px;
}
.sim-bento-item {
  position: relative; overflow: hidden; border-radius: 20px;
  display: flex; align-items: flex-end;
  color: #fff; text-decoration: none; isolation: isolate;
}
.sim-bento-grande { grid-column: span 2; grid-row: span 2; }
.sim-bento-item > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .7s cubic-bezier(.165,.84,.44,1);
}
.sim-bento-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,27,36,0) 30%, rgba(20,27,36,.88) 100%);
  transition: background .4s;
}
.sim-bento-item:hover > img { transform: scale(1.06); }
.sim-bento-item:hover::before { background: linear-gradient(180deg, rgba(227,10,19,.05) 20%, rgba(20,27,36,.92) 100%); }
.sim-bento-texto { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.sim-bento-texto h3 { color: #fff; margin: 0; font-size: 28px; line-height: 1.15; font-weight: 600; }
.sim-bento-grande .sim-bento-texto { padding: 36px; }
.sim-bento-grande .sim-bento-texto h3 { font-size: 46px; }
.sim-bento-texto p { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.86); max-width: 380px; }
.sim-bento-grande .sim-bento-texto p { font-size: 18px; }
.sim-bento-seg {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 6px;
}
.sim-bento-seta {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--color--dark);
  transition: background .3s, color .3s, transform .4s;
}
.sim-bento-item:hover .sim-bento-seta { background: var(--color--primary); color: #fff; transform: rotate(45deg); }
@media screen and (max-width: 991px) {
  .sim-solucoes { padding: 80px 0; }
  .sim-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 240px 240px; }
  .sim-bento-grande { grid-column: span 2; grid-row: span 1; }
  .sim-bento-grande .sim-bento-texto h3 { font-size: 38px; }
}
@media screen and (max-width: 600px) {
  .sim-bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 230px; }
  .sim-bento-grande { grid-column: auto; grid-row: auto; min-height: 320px; }
  .sim-bento-grande .sim-bento-texto h3 { font-size: 34px; }
  .sim-bento-texto h3 { font-size: 26px; }
}

/* Ajuda rápida: imagens mais baixas, títulos maiores */
.review-box-image { height: 340px !important; }
.reviews-box-text-wrap h3 { font-size: 26px; line-height: 32px; }
@media screen and (max-width: 767px) { .review-box-image { height: 280px !important; } }

/* Máxima: proporção mais equilibrada */
.sim-maxima { padding: 110px 0 40px; }
.sim-maxima-foto { min-height: 460px; }

/* Heroes interiores mais compactos */
.sim-page-hero { min-height: 0; padding: 120px 0 72px; }
.sim-page-hero h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.08; }
@media screen and (max-width: 767px) { .sim-page-hero { padding: 96px 0 56px; } }

/* ============================================================
   Footer próprio
   ============================================================ */
.sim-footer { background: var(--sim-navy-deep); color: #c3ccd5; padding: 0 0 28px; }
.sim-footer a { color: #e9edf1; text-decoration: none; transition: color .25s; }
.sim-footer a:hover { color: var(--sim-red-light); }
.sim-footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 56px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.sim-footer-cta-kicker { margin: 0 0 6px; color: var(--sim-red-light); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.sim-footer-cta-titulo { margin: 0; color: #fff; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.sim-footer-cta-acoes { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sim-footer-tel { font-size: 26px; font-weight: 600; color: #fff !important; }
.sim-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 56px 0 44px;
}
.sim-footer h2 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; }
.sim-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sim-footer li { font-size: 16px; }
.sim-footer-marca img { width: 190px; height: auto; }
.sim-footer-marca p { margin: 18px 0 0; font-size: 16px; line-height: 1.6; max-width: 320px; }
.sim-footer-social { display: flex; gap: 8px; margin-top: 22px; }
.sim-footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .25s;
}
.sim-footer-social a:hover { background: var(--color--primary); }
.sim-footer-social img { width: 40px; height: 40px; }
.sim-footer-escr li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 8px; }
.sim-footer-escr strong { color: #fff; font-weight: 500; }
.sim-footer-info { margin: 16px 0 0; font-size: 14px; line-height: 1.6; }
.sim-footer .sim-footer-legal { margin-top: 0; }
@media screen and (max-width: 991px) {
  .sim-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 600px) {
  .sim-footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .sim-footer-cta { padding: 40px 0; }
}

/* ============================================================
   Correções da auditoria UX (desktop, tablet, smartphone)
   ============================================================ */

/* Scroll horizontal no mobile: a faixa de logos tem de ser cortada */
.hero-brand, .hero-brand-wrap { overflow: hidden; }
.hero-brand-right { overflow: hidden; min-width: 0; max-width: 100%; }

/* Texto mínimo de 13px */
.sim-bento-seg { font-size: 13px; }

/* Espaçamento do processo (o template tinha mais de 200px de vazio) */
.process { padding-top: 110px; padding-bottom: 110px; }
@media screen and (max-width: 991px) { .process { padding-top: 80px; padding-bottom: 80px; } }

/* Alvos de toque de pelo menos 44px */
.menu-button { width: 44px; height: 44px; min-width: 44px; }
@media screen and (max-width: 991px) {
  .sim-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .sim-footer ul { gap: 0; }
  .sim-footer-legal .links a { display: inline-flex; align-items: center; min-height: 44px; }
  .sim-footer-marca > a { display: inline-block; }
  .sim-office .tel, .sim-office .mapa { display: inline-flex; align-items: center; min-height: 44px; }
  .sim-hero-card-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .sim-prosa li a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-menu .nav-link { min-height: 48px; display: flex; align-items: center; }
  .sim-footer-tel { display: inline-flex; align-items: center; min-height: 44px; }
}
.sim-check input { width: 24px; height: 24px; }
.sim-check { align-items: center; min-height: 44px; }

/* ---------- Cabeçalhos de secção: etiqueta e título empilhados ---------- */
.our-service-top {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 0;
}
.our-service-top-left { width: auto !important; max-width: 820px; margin: 0 !important; }
.our-service-top-left h2,
.sim-head h2,
.process-left h2,
.faq-left h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.015em; }
.our-service-wrap { gap: 48px; }

/* ---------- Cartões de serviço compactos e alinhados ---------- */
.our-service-bottom { align-items: stretch; }
.home-service-box {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 32px !important;
  height: auto;
}
.home-service-box .service-card-icon-wrap { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 24px; }
.home-service-box .service-card-text { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.home-service-box .service-card-text .text-style-h5 { margin: 0; font-size: 24px; line-height: 1.2; }
.home-service-box .service-card-text p { margin: 0; }
.home-service-box > .button-01 { margin-top: auto; }

/* ============================================================
   Hero responsivo (corrige 480-1199px)
   ============================================================ */
.button-text { white-space: nowrap; }
.sim-hero-tel { white-space: nowrap; font-size: clamp(30px, 7vw, 38px); }
@media screen and (max-width: 1199px) {
  .home-hero.sim-hero-full { height: auto; min-height: calc(100svh - 80px); display: flex; align-items: center; }
  .home-hero .hero-container { width: 100%; }
  .home-hero-wrap {
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 32px; padding: 64px 0 48px; height: auto;
  }
  .sim-hero-card { position: static; width: 100%; max-width: 460px; margin: 0; }
}
@media screen and (max-width: 767px) {
  .home-hero-wrap { padding: 44px 0 36px; gap: 26px; }
  .home-hero-top { max-width: 100%; }
  .sim-hero-card { margin: 0; }
}
@media screen and (max-width: 479px) {
  .hero-button-wrap { width: 100%; }
  .hero-button-wrap .hero-button-01,
  .hero-button-wrap a { width: 100%; }
  .hero-button-wrap .button-01,
  .hero-button-wrap .button-02 { display: flex; justify-content: center; }
  .sim-hero-card { padding: 22px; }
}

/* O cartão é irmão de .home-hero-wrap dentro de .hero-container (flex em linha) */
@media screen and (max-width: 1199px) {
  .home-hero .container.hero-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 48px;
    height: auto;
  }
  .home-hero .home-hero-wrap { padding: 0; height: auto; width: 100%; }
}
@media screen and (max-width: 767px) {
  .home-hero .container.hero-container { padding-top: 40px; padding-bottom: 36px; gap: 24px; }
}

/* Alvos de toque restantes */
.sim-hero-tel { display: inline-flex; align-items: center; min-height: 44px; }
.sim-check a { display: inline-block; padding: 10px 0; }
@media screen and (max-width: 991px) { .nav-menu .nav-link { min-width: 100%; } }

/* Navbar entre 992 e 1240px: tudo cabe sem sobreposição */
@media screen and (min-width: 992px) and (max-width: 1240px) {
  .navbar-brand { width: 140px; }
  .nav-menu .nav-link { padding-left: 9px; padding-right: 9px; }
  .nav-menu .nav-dropdown-text { font-size: 15px; }
  .navbar-right .button-01 { padding: 10px 18px; }
}

/* Navbar: o menu nunca colide com o botão */
@media screen and (min-width: 992px) {
  .navbar-right { flex: none; }
  .navbar-left { flex: none; }
  .navbar-center { flex: 1; min-width: 0; }
}
@media screen and (min-width: 992px) and (max-width: 1240px) {
  .nav-menu { grid-column-gap: 22px; }
}

/* Processo: cartões compactos com o número ao lado */
.process-list-wrap {
  display: grid !important;
  grid-template-columns: 56px 1fr;
  column-gap: 22px;
  align-items: start;
  padding: 28px !important;
}
.process-number-box { width: 56px; height: 56px; margin: 0; }
.process-text-wrap { display: flex; flex-direction: column; gap: 8px; }
.process-text-wrap .text-style-h5 { margin: 0; }
.process-right { display: flex; flex-direction: column; gap: 14px; }
.process-left p { max-width: 420px; }
.process-left .sim-process-cta { margin-top: 10px; }
@media screen and (min-width: 992px) { .process-left { top: 120px; } }
@media screen and (max-width: 479px) {
  .process-list-wrap { grid-template-columns: 1fr; row-gap: 14px; padding: 22px !important; }
}

/* Tablet (600-991px): sem cartões órfãos */
@media screen and (min-width: 600px) and (max-width: 991px) {
  .home-about-bottom { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .home-about-box { width: auto !important; min-height: 0; }
  .home-about-box .display-02 { font-size: 64px; line-height: 72px; }
  .our-service-bottom { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .our-service-bottom > .home-service-box:nth-child(3):last-child { grid-column: 1 / -1; }
  .reviews-bottom { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .reviews-bottom > .reviews-box-wrap { width: auto !important; }
  .reviews-bottom > .reviews-box-wrap:nth-child(3):last-child { grid-column: 1 / -1; }
}

/* Ajuda rápida: a imagem preenche sempre o cartão, o texto fica sempre por cima */
.reviews-box-wrap {
  position: relative !important;
  display: block;
  height: 400px !important;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}
.reviews-box-wrap .review-box-image {
  position: absolute !important;
  inset: 0;
  height: 100% !important;
  width: 100%;
  border-radius: 0;
  z-index: 0;
}
.reviews-box-wrap .reviews-box-text-wrap { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 3; }
.reviews-box-wrap .review-box-image img { transition: transform .6s ease; }
.reviews-box-wrap:hover .review-box-image img { transform: scale(1.05); }
@media screen and (max-width: 991px) { .reviews-box-wrap { height: 340px !important; } }
@media screen and (max-width: 599px) { .reviews-box-wrap { height: 320px !important; } .reviews-box-wrap .reviews-box-text-wrap { left: 20px; right: 20px; bottom: 20px; } }

/* ============================================================
   Etiquetas de secção: texto discreto com traço, sem pílula
   ============================================================ */
.tag-wrap,
.tag-wrap.bg-dark,
.need-to-know .tag-wrap.bg-dark {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: none !important;
}
.tag-wrap::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 0;
  background: var(--color--primary);
  flex: none;
}
.tag-wrap .tag {
  color: var(--color--primary) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: none;
  padding: 0;
}
/* Sobre fundos escuros ou vermelhos */
.sim-page-hero .tag-wrap .tag,
.sim-solucoes .tag-wrap .tag,
.need-to-know .tag-wrap .tag,
.ceo-words .tag-wrap .tag,
.projects-v1 .tag-wrap .tag { color: #fff !important; }
.sim-page-hero .tag-wrap::before,
.sim-solucoes .tag-wrap::before,
.ceo-words .tag-wrap::before { background: var(--sim-red-light); }
.need-to-know .tag-wrap::before { background: #fff; }

/* Etiqueta do painel da máxima (sobre vermelho) */
.sim-pill, .sim-pill-light {
  background: none !important;
  padding: 0 !important;
  border-radius: 0;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .14em;
}
.sim-pill::before { width: 28px; height: 2px; border-radius: 0; background: #fff; }

/* Numeração dos passos também sem pílula */
.choose-us-tab-link .text-style-h6 { background: none !important; padding: 0; min-width: 0; height: auto; color: var(--color--primary); }

/* ============================================================
   Sem etiquetas de secção: o título fala por si
   ============================================================ */
.tag-wrap, .sim-pill, .sim-pill-light { display: none !important; }

/* Sem logo no corpo: a frase "Somos mediadores" ocupa a largura */
.home-about-top-left { display: none !important; }
.home-about-top { display: block !important; }
.home-about-top-right { max-width: 980px !important; width: 100% !important; margin: 0 !important; }
.home-about-top-right h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -.015em; }

/* ---------- Páginas legais ---------- */
.sim-indice {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(47,59,75,.12);
}
.sim-indice a {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--color--dark) !important;
  background: var(--color--site-bg); border-radius: 100px; padding: 10px 16px; transition: background .25s, color .25s;
}
.sim-indice a:hover { background: var(--color--primary); color: #fff !important; }
.sim-prosa ul { padding-left: 1.2em; display: grid; gap: 8px; }
.sim-morada { font-style: normal; background: var(--color--site-bg); border-left: 3px solid var(--color--primary); padding: 18px 22px; border-radius: 0 12px 12px 0; line-height: 1.7; color: var(--color--dark); }
.sim-atualizacao { margin-top: 40px; font-size: 14px !important; color: #6b7580 !important; }
.sim-tabela-wrap { margin: 18px 0 22px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(47,59,75,.12); }
.sim-tabela-legal { font-size: 16px; }
.sim-tabela-legal thead th { background: var(--color--dark); color: #fff; font-weight: 600; padding: 16px; }
.sim-tabela-legal td { padding: 16px; vertical-align: top; color: #4a5562; }
.sim-tabela-legal tbody tr:nth-child(even) td { background: var(--color--site-bg); }
@media screen and (max-width: 767px) {
  .sim-tabela-legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sim-tabela-legal tr { display: block; border-bottom: 1px solid rgba(47,59,75,.12); padding: 10px 0; }
  .sim-tabela-legal td { display: block; border: 0; padding: 6px 16px; background: none !important; }
  .sim-tabela-legal td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color--primary); margin-bottom: 2px; }
}

/* ============================================================
   Ajuda rápida: cartões iguais, imagem limpa e texto por baixo
   ============================================================ */
.sim-ajuda { padding: 110px 0; }
.sim-ajuda-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sim-ajuda-head h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 14px; }
.sim-ajuda-head p { margin: 0; color: #4a5562; }
.sim-ajuda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sim-ajuda-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: 20px; overflow: hidden;
  text-decoration: none; color: var(--color--dark);
  box-shadow: 0 1px 2px rgba(35,45,58,.06);
  transition: transform .35s cubic-bezier(.165,.84,.44,1), box-shadow .35s;
}
.sim-ajuda-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(35,45,58,.14); }
.sim-ajuda-img { aspect-ratio: 16 / 10; overflow: hidden; }
.sim-ajuda-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.165,.84,.44,1); }
.sim-ajuda-card:hover .sim-ajuda-img img { transform: scale(1.06); }
.sim-ajuda-corpo { position: relative; padding: 40px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sim-ajuda-icone {
  position: absolute; top: -28px; left: 28px;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--color--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(227,10,19,.3);
}
.sim-ajuda-icone svg { width: 26px; height: 26px; }
.sim-ajuda-corpo h3 { margin: 0; font-size: 23px; line-height: 1.2; font-weight: 600; color: var(--color--dark); }
.sim-ajuda-corpo p { margin: 0; font-size: 16px; line-height: 1.55; color: #4a5562; }
.sim-ajuda-link {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--color--primary);
}
.sim-ajuda-link svg { transition: transform .3s; }
.sim-ajuda-card:hover .sim-ajuda-link svg { transform: translate(3px, -3px); }
@media screen and (max-width: 991px) {
  .sim-ajuda { padding: 80px 0; }
  .sim-ajuda-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-ajuda-grid > .sim-ajuda-card:nth-child(3) { grid-column: 1 / -1; flex-direction: row; }
  .sim-ajuda-grid > .sim-ajuda-card:nth-child(3) .sim-ajuda-img { aspect-ratio: auto; width: 46%; flex: none; }
}
@media screen and (max-width: 600px) {
  .sim-ajuda-grid { grid-template-columns: 1fr; }
  .sim-ajuda-grid > .sim-ajuda-card:nth-child(3) { flex-direction: column; }
  .sim-ajuda-grid > .sim-ajuda-card:nth-child(3) .sim-ajuda-img { aspect-ratio: 16 / 10; width: 100%; }
  .sim-ajuda-head { margin-bottom: 36px; }
}
@media screen and (min-width: 601px) and (max-width: 991px) {
  .sim-ajuda-grid > .sim-ajuda-card:nth-child(3) .sim-ajuda-corpo { padding: 28px; justify-content: center; }
  .sim-ajuda-grid > .sim-ajuda-card:nth-child(3) .sim-ajuda-icone { position: static; margin-bottom: 6px; }
}

/* ============================================================
   Carrossel de seguradoras: caixas iguais, nunca se sobrepõem
   ============================================================ */
.hero-brand-wrap { display: flex; align-items: center; gap: 48px; }
.hero-brand-left { flex: none; max-width: 300px; }
.sim-marquee {
  flex: 1; min-width: 0; overflow: hidden; display: flex;
  padding: 30px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sim-marquee-track {
  list-style: none; margin: 0; padding: 0 28px 0 0;
  display: flex; align-items: center; gap: 28px;
  flex: none;
  animation: sim-marquee 45s linear infinite;
}
.sim-marquee:hover .sim-marquee-track { animation-play-state: paused; }
.sim-logo {
  flex: none;
  width: 132px; height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.sim-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1); opacity: .7;
  transition: filter .3s, opacity .3s;
}
.sim-logo:hover img { filter: none; opacity: 1; }
@keyframes sim-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media screen and (max-width: 767px) {
  .hero-brand-wrap { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 24px; }
  .hero-brand-left { max-width: none; }
  .sim-marquee { width: 100%; padding: 18px 0 24px; }
  .sim-logo { width: 104px; height: 52px; }
  .sim-marquee-track { gap: 22px; padding-right: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .sim-marquee-track { animation: none; flex-wrap: wrap; row-gap: 16px; }
  .sim-marquee-track[aria-hidden="true"] { display: none; }
}

/* ============================================================
   Lei n.º 14/2023: tipo de chamada junto de cada número
   ============================================================ */
.sim-tel { display: inline; }
.sim-tarifa {
  font-size: 13px; font-weight: 500; line-height: 1.35;
  color: #5b6672; letter-spacing: 0; text-transform: none; white-space: normal;
}
/* No meio de frases: entre parênteses, na mesma linha */
.sim-tarifa::before { content: " ("; }
.sim-tarifa::after { content: ")"; }

/* Em blocos de contacto: por baixo do número, sem parênteses */
.sim-hero-card .sim-tel,
.sim-footer-cta-acoes .sim-tel,
.sim-office .sim-tel,
.sim-person-info .sim-tel,
.sim-footer-escr .sim-tel,
.sim-tabela .sim-tel,
.footer-info-box .sim-tel {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
}
.sim-hero-card .sim-tarifa::before, .sim-hero-card .sim-tarifa::after,
.sim-footer-cta-acoes .sim-tarifa::before, .sim-footer-cta-acoes .sim-tarifa::after,
.sim-office .sim-tarifa::before, .sim-office .sim-tarifa::after,
.sim-person-info .sim-tarifa::before, .sim-person-info .sim-tarifa::after,
.sim-footer-escr .sim-tarifa::before, .sim-footer-escr .sim-tarifa::after,
.sim-tabela .sim-tarifa::before, .sim-tabela .sim-tarifa::after,
.footer-info-box .sim-tarifa::before, .footer-info-box .sim-tarifa::after { content: none; }

/* Fundos escuros */
.sim-hero-card .sim-tarifa,
.sim-footer .sim-tarifa,
.sim-page-hero .sim-tarifa,
.sim-maxima .sim-tarifa { color: rgba(255,255,255,.75); }

/* Ajustes de layout */
.sim-hero-card .sim-tel { margin: 6px 0 8px; }
.sim-hero-card .sim-hero-tel { margin: 0; min-height: 0; }
.sim-footer-cta-acoes .sim-tel { align-items: flex-start; }
.sim-footer-cta-acoes .sim-footer-tel { min-height: 0; }
.sim-footer-escr li { align-items: flex-start; }
.sim-footer-escr .sim-tel { align-items: flex-end; text-align: right; }
.sim-office .sim-tel .tel { min-height: 0; }
.sim-person-info .contactos .sim-tel { margin-top: 2px; }
.sim-person-info .sim-tarifa { font-size: 13px; }
.sim-tabela td .sim-tel a { white-space: nowrap; }

/* Logos das seguradoras: tamanho original (cerca de 40px de altura) */
.sim-logo { width: 104px; height: 40px; }
.sim-marquee-track { gap: 44px; padding-right: 44px; }
.sim-marquee { padding: 32px 0; }
@media screen and (max-width: 767px) {
  .sim-logo { width: 86px; height: 34px; }
  .sim-marquee-track { gap: 30px; padding-right: 30px; }
}

/* ============================================================
   Cartão "Linha de apoio" do hero (redesenho)
   ============================================================ */
.sim-hero-card {
  width: 380px; padding: 24px;
  background: rgba(17, 23, 31, .72);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.sim-hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sim-hc-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: #c9f7dc; background: rgba(61,220,132,.14);
  padding: 6px 12px 6px 10px; border-radius: 100px;
}
.sim-hc-badge .sim-pulse { width: 8px; height: 8px; }
.sim-hc-icone {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--color--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sim-hc-titulo { margin: 0 0 4px; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.8); }
.sim-hero-card .sim-hc-tel { margin: 0 0 18px; gap: 4px; }
.sim-hero-card .sim-hero-tel { font-size: clamp(32px, 6vw, 40px); line-height: 1.05; letter-spacing: -.01em; }
.sim-hero-card .sim-hc-tel .sim-tarifa { font-size: 13px; color: rgba(255,255,255,.62); }
.sim-hc-info {
  list-style: none; margin: 0 0 18px; padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid; gap: 10px;
}
.sim-hc-info li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.86); }
.sim-hc-info svg { flex: none; margin-top: 1px; color: var(--sim-red-light); }
.sim-hc-info a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.sim-hc-info a:hover { text-decoration-color: #fff; }
.sim-hc-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sim-hc-acoes a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,.1); color: #fff; text-decoration: none;
  font-size: 13.5px; font-weight: 600; line-height: 1.2; text-align: center;
  transition: background .25s, transform .25s;
}
.sim-hc-acoes a:hover { background: var(--color--primary); transform: translateY(-1px); }
.sim-hc-acoes a svg { flex: none; }
@media screen and (max-width: 1199px) { .sim-hero-card { width: 100%; max-width: 420px; } }
@media screen and (max-width: 380px) { .sim-hc-acoes { grid-template-columns: 1fr; } }
.sim-hc-info strong { color: #fff; font-weight: 600; }
@media screen and (min-width: 1200px) { .sim-hero-card { width: 420px; } }
.sim-hc-acoes { grid-template-columns: auto 1fr; }
.sim-hc-acoes a { white-space: nowrap; padding: 10px 14px; }
@media screen and (max-width: 400px) { .sim-hc-acoes { grid-template-columns: 1fr; } }

/* Destaque do título do hero no vermelho oficial da SIM */
.hero-text-secondary { color: #e30a13 !important; }

/* ============================================================
   Vantagens (secção vermelha) redesenhada
   ============================================================ */
.sim-vantagens { background: var(--color--primary); color: #fff; padding: 120px 0; position: relative; overflow: hidden; }
.sim-vant-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.sim-vant-left { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.sim-vant-left h2 { color: #fff; margin: 0; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.02em; }
.sim-vant-left p { margin: 0; font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 440px; }
.sim-vant-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  background: #fff; color: var(--color--primary); text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 100px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.sim-vant-btn:hover { background: var(--sim-navy-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.sim-vant-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.28); }
.sim-vant-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.28);
  transition: padding .35s cubic-bezier(.165,.84,.44,1);
}
.sim-vant-num { font-size: 15px; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.7); }
.sim-vant-txt h3 { margin: 0; color: #fff; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.015em; }
.sim-vant-txt p {
  margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 520px;
}
@media (hover: hover) {
  .sim-vant-item:hover { padding-left: 14px; }
  .sim-vant-item:hover .sim-vant-num { color: #fff; }
}
@media screen and (max-width: 991px) {
  .sim-vantagens { padding: 80px 0; }
  .sim-vant-grid { grid-template-columns: 1fr; gap: 40px; }
  .sim-vant-left { position: static; }
}
@media screen and (max-width: 600px) {
  .sim-vant-item { grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0; }
  .sim-vant-left p { font-size: 17px; }
  .sim-vant-txt p { font-size: 16px; }
}

/* Vantagens: versão compacta */
.sim-vantagens { padding: 88px 0; }
.sim-vant-grid { gap: 64px; align-items: center; }
.sim-vant-left { position: static; gap: 18px; }
.sim-vant-left h2 { font-size: clamp(30px, 3.4vw, 46px); }
.sim-vant-left p { font-size: 17px; }
.sim-vant-item { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; }
.sim-vant-num { font-size: 13px; }
.sim-vant-txt h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.sim-vant-txt p { margin-top: 4px; font-size: 15.5px; line-height: 1.45; }
@media screen and (max-width: 991px) { .sim-vantagens { padding: 64px 0; } .sim-vant-grid { gap: 28px; } }
@media screen and (max-width: 600px) { .sim-vant-item { grid-template-columns: 34px 1fr; padding: 14px 0; } }

/* Vantagens em colunas */
.sim-vant-grid { grid-template-columns: 1fr; gap: 52px; align-items: start; }
.sim-vant-left {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 18px;
  align-items: end;
}
.sim-vant-left h2 { grid-row: span 2; align-self: end; }
.sim-vant-left p { max-width: 520px; }
.sim-vant-left > div { justify-self: start; }
.sim-vant-lista {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid rgba(255,255,255,.28);
}
.sim-vant-item {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 26px 4px; border-bottom: 0;
  border-left: 1px solid rgba(255,255,255,.28);
}
.sim-vant-item:first-child { border-left: 0; padding-left: 0; }
.sim-vant-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); color: #fff; font-size: 13px;
}
.sim-vant-txt h3 { font-size: clamp(20px, 1.8vw, 24px); }
.sim-vant-txt p { margin-top: 6px; font-size: 15px; }
@media (hover: hover) {
  .sim-vant-item:hover { padding-left: 26px; }
  .sim-vant-item:first-child:hover { padding-left: 0; }
  .sim-vant-item:hover .sim-vant-num { background: #fff; color: var(--color--primary); }
}
@media screen and (max-width: 991px) {
  .sim-vant-left { grid-template-columns: 1fr; }
  .sim-vant-left h2 { grid-row: auto; }
  .sim-vant-lista { grid-template-columns: repeat(2, 1fr); }
  .sim-vant-item, .sim-vant-item:first-child { border-left: 0; padding: 22px 20px 18px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .sim-vant-item:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.28); }
}
@media screen and (max-width: 560px) {
  .sim-vant-lista { grid-template-columns: 1fr; }
  .sim-vant-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .sim-vant-item { flex-direction: row; align-items: flex-start; gap: 16px; }
  .sim-vant-num { flex: none; }
}

/* Vantagens: título, texto e pontos, empilhados */
.sim-vant-grid { gap: 44px; }
.sim-vant-left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 760px; }
.sim-vant-left h2 { grid-row: auto; align-self: auto; }
.sim-vant-left p { max-width: 620px; font-size: 18px; }
@media screen and (min-width: 561px) and (max-width: 991px) {
  .sim-vant-lista { grid-template-columns: repeat(6, 1fr); }
  .sim-vant-item { grid-column: span 3; }
  .sim-vant-lista:has(> .sim-vant-item:nth-child(5):last-child) > .sim-vant-item:nth-child(5) { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

/* Vantagens: título (linha) + texto e botão (linha) + pontos */
.sim-vant-left { max-width: none; width: 100%; gap: 18px; }
.sim-vant-linha { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; }
.sim-vant-linha p { margin: 0; max-width: 640px; }
.sim-vant-linha .sim-vant-btn { margin-top: 0; white-space: nowrap; }
@media screen and (max-width: 767px) {
  .sim-vant-linha { flex-direction: column; align-items: flex-start; gap: 18px; }
}
