.company-page {
  --accent: #184c55;
  --tint: #edf5f2;
  --paper: #fbfcfb;
  --mark: #17313a;
  --display: Georgia, serif;
  --green: var(--accent);
  color: var(--mark);
  background: var(--paper);
}
.company-page .wrap { width: min(1180px, calc(100% - 80px)); }
.company-header { border-bottom: 1px solid var(--line); }
.company-header .wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}
.company-header nav, .company-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.company-header nav a { font-size: .95rem; font-weight: 650; }
.company-header nav a:hover { text-decoration: underline; }
.company-brand { font-size: 1.25rem; font-weight: 750; letter-spacing: -.025em; }
.company-brand img { width: 118px; height: 46px; object-fit: contain; object-position: left; }
.company-registration { color: var(--accent); font-size: .9rem; font-weight: 700; }
.company-breadcrumb { display: flex; align-items: center; gap: 10px; padding-block: 24px 18px; font-size: .875rem; }
.company-breadcrumb a, .company-link { text-decoration: underline; text-underline-offset: 4px; }
.company-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  min-height: 480px;
  overflow: hidden;
  background: var(--tint);
  border-radius: 24px;
}
.company-hero-copy { align-self: center; padding: clamp(24px, 5vw, 64px); }
.company-location { color: var(--accent); font-size: .875rem; font-weight: 750; }
.company-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.65rem, 5.3vw, 5.15rem);
  line-height: .99;
  font-weight: var(--display-weight, 500);
  letter-spacing: -.055em;
  margin-bottom: 21px;
}
.company-headline { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.37; font-weight: 700; margin-bottom: 14px; }
.company-description { max-width: 51ch; }
.company-actions .button { background: var(--accent); }
.company-actions .button:hover { filter: brightness(.88); }
.company-photo { position: relative; min-height: 100%; }
.company-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-pos, center); }
.company-facts { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.company-facts p { margin: 0; }
.company-facts strong { display: block; margin-bottom: 4px; color: var(--accent); font-size: .85rem; }
.company-facts a { text-decoration: underline; text-underline-offset: 4px; }
.company-section { padding-block: 62px; border-bottom: 1px solid var(--line); }
.company-section h2, .company-contact h2, .company-paths h2 { font-family: var(--display); font-weight: var(--display-weight, 500); }
.company-paths { padding-block: 56px 28px; }
.company-paths h2 { margin-bottom: 24px; }
.company-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.company-path-grid a { display: flex; flex-direction: column; align-items: flex-start; padding: 25px; border: 1px solid var(--line); border-radius: 16px; background: var(--tint); }
.company-path-grid a:hover { border-color: var(--accent); }
.company-path-grid h3 { font-size: 1.25rem; margin-bottom: 12px; line-height: 1.2; }
.company-path-grid p { margin-bottom: 18px; }
.company-path-grid span { margin-top: auto; font-size: .9rem; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.company-about { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.company-about-copy p:last-child { margin-bottom: 0; }
.company-about-photo { margin: 0; overflow: hidden; block-size: clamp(285px, 31vw, 410px); border-radius: 18px; }
.company-about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--about-pos, center); }
.company-about-note, .company-prep { background: var(--tint); border-left: 3px solid var(--accent); padding: 26px; }
.company-about-note h3, .company-prep h3 { margin-bottom: 12px; }
.company-about-note ul, .company-prep ul { padding-inline-start: 21px; margin-bottom: 0; }
.company-prep { margin-top: 36px; }
.company-catalog-heading nav { display: flex; flex-wrap: wrap; gap: 10px; }
.company-catalog-heading nav a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: .92rem; font-weight: 700; }
.company-catalog-heading nav a:hover { background: var(--tint); }
.company-service-group { margin-top: 36px; }
.company-service-group > h3 { margin-bottom: 16px; }
.company-guide-link { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 700; }
.company-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.company-services article { background: var(--tint); border-top: 3px solid var(--accent); border-radius: 0 0 14px 14px; padding: 26px; }
.company-services h4 { margin: 0 0 12px; font-size: 1.15rem; line-height: 1.25; }
.company-services p, .company-contact p { margin-bottom: 0; }
.company-answers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 34px; }
.company-answers summary { padding-left: 0; }
.company-source-links { margin-top: 22px; }
.company-source-links p { margin-bottom: 8px; font-weight: 700; }
.company-source-links a { display: block; width: fit-content; }
.company-contact { margin-block: 60px; padding: clamp(24px, 5vw, 55px); background: var(--tint); border-radius: 18px; }
.company-contact h2 { margin-bottom: 20px; }
.company-contact .company-actions { margin-top: 23px; }
.company-page .footer .brand span { color: #086841; }
.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  padding: clamp(26px, 5vw, 62px);
  border-radius: 22px;
  background: var(--tint);
}
.guide-hero h1 { font: var(--display-weight, 500) clamp(2.2rem, 4.2vw, 4.3rem)/1.04 var(--display); letter-spacing: -.055em; margin-bottom: 16px; }
.guide-lead, .guide-context { font-size: 1.13rem; }
.guide-hero img { width: 100%; height: clamp(205px, 24vw, 340px); object-fit: cover; object-position: var(--photo-pos, center); border-radius: 14px; }
.cortello-corretora .guide-hero img { object-fit: contain; background: #183441; padding: 18px; }
.guide-explained { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(26px, 7vw, 95px); align-items: start; }
.guide-explained h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin-bottom: 9px; }
.guide-explained .company-prep { margin-top: 0; }

.famille-seguros {
  --accent: #14575b;
  --mark: #123c4b;
  --tint: #e9f4ef;
  --photo-pos: center 36%;
}
.famille-seguros .company-hero { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); border-radius: 30px 95px 30px 30px; }
.famille-seguros .company-photo { margin: 21px 21px 21px 0; border-radius: 12px 77px 12px 12px; overflow: hidden; min-height: calc(100% - 42px); }
.famille-seguros .company-about-photo { border-radius: 60px 14px 60px 14px; }

.cortello-corretora {
  --accent: #994011;
  --mark: #142b3a;
  --tint: #f8efe6;
  --display: Arial, sans-serif;
  --display-weight: 750;
}
.cortello-corretora .company-hero { border-radius: 11px; }
.cortello-corretora .company-photo { background: #183441; display: grid; place-items: center; padding: 24px; }
.cortello-corretora .company-photo img { position: static; width: min(100%, 320px); height: auto; border-radius: 50%; }
.cortello-corretora .company-services article { border: 1px solid #e9d6c4; border-radius: 10px; }

.horizonte-veiculos {
  --accent: #244d89;
  --mark: #132444;
  --tint: #eaf0f9;
  --display: Arial, sans-serif;
  --display-weight: 780;
}
.horizonte-veiculos .company-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr); border-radius: 10px; }
.horizonte-veiculos .company-photo { order: -1; }
.horizonte-veiculos .company-services article { border-top: 0; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.horizonte-veiculos .company-path-grid a:first-child { border-top: 3px solid var(--accent); }
.horizonte-veiculos .company-about-photo { border-radius: 8px; }

.lectio-corpore {
  --accent: #755324;
  --mark: #292a23;
  --tint: #f2eee4;
  --paper: #fdfbf6;
  --photo-pos: 68% center;
}
.lectio-corpore .company-hero { border-radius: 2px; border-top: 4px solid var(--accent); }
.lectio-corpore .company-services { grid-template-columns: 1fr; max-width: 880px; gap: 0; }
.lectio-corpore .company-services article { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-inline: 0; background: transparent; }
.lectio-corpore .company-about-photo { order: -1; border-radius: 2px; }
.lectio-corpore .company-path-grid a { border-block: 1px solid #ddd3bc; border-inline: 0; border-radius: 0; background: transparent; }

.rael-pouso-alegre {
  --accent: #a02325;
  --mark: #292124;
  --tint: #fbefed;
  --display: Arial, sans-serif;
  --display-weight: 800;
  --photo-pos: center 53%;
}
.rael-pouso-alegre .company-hero { border-radius: 6px; border-left: 5px solid var(--accent); }
.rael-pouso-alegre .company-brand img { width: 136px; }
.rael-pouso-alegre .company-services article { border-radius: 2px; }
.rael-pouso-alegre .company-path-grid a { border-radius: 6px; border-left: 3px solid var(--accent); }
.rael-pouso-alegre .company-about-photo { border-radius: 5px; }

.giselda-dantas {
  --accent: #67112f;
  --mark: #331d28;
  --tint: #f7efeb;
  --paper: #fdfaf8;
  --photo-pos: center 29%;
  --about-pos: center 32%;
}
.giselda-dantas .company-brand img { width: 64px; height: 56px; }
.giselda-dantas .company-hero { border-radius: 6px 100px 6px 6px; }
.giselda-dantas .company-hero h1 { font-size: clamp(2.6rem, 5.1vw, 4.9rem); }
.giselda-dantas .company-about-photo { order: -1; border-radius: 6px 6px 75px 6px; }
.giselda-dantas .company-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.giselda-dantas .company-services article { border-radius: 6px; border-top: 1px solid #e5d4cb; }

@media (max-width: 820px) {
  .company-page .wrap { width: calc(100% - 44px); }
  .company-page .company-hero { grid-template-columns: 1fr; min-height: 0; }
  .company-page .company-photo { min-height: 290px; margin: 0; border-radius: 0; order: 0; }
  .cortello-corretora .company-photo img { max-width: 220px; }
  .company-services, .giselda-dantas .company-services { grid-template-columns: 1fr; gap: 14px; }
  .company-about, .company-path-grid { grid-template-columns: 1fr; }
  .company-about .company-about-photo { order: 0; }
  .company-answers { grid-template-columns: 1fr; gap: 10px; }
  .company-answers h2 { margin-bottom: 12px; }
  .company-facts { grid-template-columns: 1fr 1fr; }
  .company-facts p:first-child { grid-column: 1 / -1; }
  .guide-hero, .guide-explained { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .company-page .wrap { width: calc(100% - 32px); }
  .company-header .wrap { flex-direction: column; align-items: flex-start; padding-block: 16px; gap: 12px; }
  .company-page .company-photo { min-height: 230px; }
  .company-page .company-hero { border-radius: 14px; }
  .company-paths { padding-block: 34px 8px; }
  .company-section { padding-block: 38px; }
  .company-contact { margin-block: 36px; }
}
