/* Diretório de clientes. Carregado apenas em /clientes/. */
.nexus-directory {
  --paper: #fcfdf9;
  --ink: #14241e;
  --muted: #495d53;
  --green: #075937;
  --line: #d9e6dc;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: normal;
  background: var(--paper);
}
.nexus-directory h1, .nexus-directory h2, .nexus-directory h3, .nexus-directory p { margin: 0; }
.nexus-directory .wrap { width: min(1224px, calc(100% - 88px)); }
.header { position: static; background: var(--paper); }
.header-inner { min-height: 84px; }
.brand { font-size: 2.65rem; letter-spacing: -.085em; line-height: .95; }
.menu-toggle { display: none; }
.header .nav {
  position: static;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 600;
}
.header .nav a { padding: 0; }
.header .nav [aria-current] { color: var(--green); border-bottom: 2px solid #0a7143; padding-block: 7px 5px; }
.header .nav .button { min-height: 0; margin: 0; border: 1px solid #accbb8; border-radius: 100px; padding: 11px 20px; background: transparent; color: var(--green); }
.header .nav .button:hover { background: #eaf4eb; transform: none; box-shadow: none; }
.breadcrumb { gap: 12px; margin-block: 25px 16px; color: var(--muted); font-size: .875rem; }
.breadcrumb [aria-current] { font-weight: 650; color: var(--green); }

.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 1fr);
  min-height: 345px;
  align-items: center;
  border: 1px solid #c8e0cd;
  border-radius: 28px;
  background: linear-gradient(110deg, #f2f8e9 5%, #e6f2e3 62%, #d6ebdb);
}
.intro-copy { position: relative; z-index: 1; padding: clamp(28px, 5vw, 70px); }
.intro h1 { font-size: clamp(3.25rem, 6.4vw, 6.15rem); line-height: .94; letter-spacing: -.073em; font-weight: 760; }
.intro h1 span { display: block; color: var(--green); }
.intro p { max-width: 430px; margin-top: 23px; color: #334c3f; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.55; }
.motif {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(90deg, #285b4413 0 1px, transparent 1px 37px),
              repeating-linear-gradient(0deg, #285b4413 0 1px, transparent 1px 37px);
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.motif::before, .motif::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 86%;
  aspect-ratio: 1;
  border: 1px solid #6fa48355;
  border-radius: 50%;
  transform: translate(4%, 6%);
}
.motif::after { width: 108%; }
.emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(146px, 17vw, 245px);
  aspect-ratio: 1;
  margin-left: 8%;
  transform: rotate(-11deg);
  border: 1px solid #fff9;
  border-radius: 27%;
  background: linear-gradient(145deg, #fffffa, #e6f3df);
  box-shadow: 0 1px 1px #39674a2b, 0 20px 36px #254d3528, inset 0 -5px 12px #85ad851a;
}
.emblem::before, .emblem::after {
  position: absolute;
  content: "";
  width: 96%;
  height: 96%;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid #6a9f7b70;
}
.emblem::before { top: -16px; left: -20px; }
.emblem::after { bottom: -18px; right: -23px; }
.emblem img { width: 62%; transform: rotate(11deg); filter: brightness(.56) saturate(.82); }

.directory { padding-block: 42px 58px; }
.section-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { font-size: 1.65rem; letter-spacing: -.045em; font-weight: 720; }
.section-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.entry { min-width: 0; }
.entry-link {
  display: grid;
  grid-template-rows: 214px 1fr;
  min-height: 100%;
  border: 1px solid #d9e4d7;
  border-radius: 23px;
  overflow: hidden;
  background: #f6f9f1;
  box-shadow: 0 8px 25px #1836210a;
  transition: border-color .2s, box-shadow .2s;
}
.entry-link:hover { border-color: #99b9a3; box-shadow: 0 13px 38px #1836211a; }
.entry:only-child { grid-column: 1 / -1; }
.entry:only-child .entry-link { grid-template: 1fr / minmax(0, 1.22fr) minmax(0, 1fr); }
.entry-media { margin: 0; overflow: hidden; position: relative; background: #dae6d2; }
.entry:only-child .entry-media { min-height: 290px; }
.entry-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 64%; transition: transform .4s; }
.entry-link:hover .entry-media img { transform: scale(1.035); }
.entry-copy { display: flex; flex-direction: column; align-items: start; justify-content: center; gap: 12px; padding: clamp(25px, 3.5vw, 52px); }
.category { text-transform: none; letter-spacing: normal; color: #64414a; font-size: .9375rem; font-weight: 660; }
.entry h3 { font-family: Georgia, serif; font-size: clamp(2.5rem, 4.1vw, 4.2rem); font-weight: 400; letter-spacing: -.06em; line-height: 1; color: #522439; }
.location { color: var(--muted); font-size: .9375rem; }
.entry-description { color: #374b3c; line-height: 1.55; max-width: 36ch; }
.entry-cta { display: inline-flex; margin-top: 8px; border-radius: 9px; padding: 12px 18px; background: var(--green); color: white; font-weight: 650; font-size: .9375rem; }
.entry-link:hover .entry-cta { background: #034329; }
.entry:not(:only-child) .entry-copy { padding: 24px; justify-content: start; }
.entry:not(:only-child) h3 { font-size: clamp(1.8rem, 2.5vw, 2.65rem); }
.entry:not(:only-child) .entry-cta { margin-top: auto; }
.entry-famille-seguros .entry-link { background: #edf5f0; }
.entry-famille-seguros h3 { color: #14575b; }
.entry-famille-seguros .entry-media img { object-position: 50% 32%; }
.entry-cortello-corretora .entry-link { background: #f7eee5; }
.entry-cortello-corretora .entry-media { background: #183441; }
.entry-cortello-corretora .entry-media img { object-fit: contain; object-position: center; padding: 14px; }
.entry-cortello-corretora h3 { color: #853b19; font-family: Arial, sans-serif; font-weight: 750; }
.entry-horizonte-veiculos .entry-link { background: #ecf1f9; }
.entry-horizonte-veiculos h3 { color: #244d89; font-family: Arial, sans-serif; font-weight: 750; }
.entry-lectio-corpore .entry-link { background: #f4f0e7; }
.entry-lectio-corpore h3 { color: #67491f; }
.entry-rael-pouso-alegre .entry-link { background: #fbefed; }
.entry-rael-pouso-alegre h3 { color: #9a292b; font-family: Arial, sans-serif; font-weight: 750; }
.entry-giselda-dantas .entry-link { background: #f7efeb; }
.entry-giselda-dantas .entry-media img { object-position: center 30%; }
.entry-giselda-dantas h3 { color: #67112f; }

@media (max-width: 900px) {
  .nexus-directory .wrap { width: calc(100% - 52px); }
  .header .nav { gap: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .nexus-directory .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand { font-size: 2.25rem; }
  .header .nav { gap: 13px; font-size: .875rem; }
  .nav a[href^="/#"] { display: none; }
  .header .nav .button { padding: 8px 10px; }
  .breadcrumb { margin-block: 19px 12px; }
  .intro { grid-template-columns: 1fr; min-height: 0; border-radius: 21px; }
  .intro-copy { padding: 30px 24px 26px; }
  .intro h1 { font-size: clamp(3rem, 11vw, 4.5rem); }
  .intro p { margin-top: 17px; }
  .motif { position: absolute; top: 0; right: 0; width: 33%; height: 132px; background: none; mask-image: none; }
  .emblem { width: clamp(48px, 15vw, 78px); margin-left: 0; transform: none; }
  .emblem img { transform: none; }
  .emblem::before { top: -6px; left: -7px; }
  .emblem::after { bottom: -7px; right: -8px; }
  .directory { padding-block: 28px 38px; }
  .section-heading { gap: 15px; margin-bottom: 14px; }
  .grid { grid-template-columns: 1fr; }
  .entry:only-child .entry-link { grid-template: 175px 1fr / 1fr; }
  .entry:only-child .entry-media { min-height: 0; }
  .entry-copy { padding: 24px; gap: 10px; }
}
@media (max-width: 370px) {
  .header .brand { font-size: 2rem; }
  .header .nav { gap: 10px; }
  .header .nav a { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .entry-link, .entry-media img { transition: none; }
  .entry-link:hover .entry-media img { transform: none; }
}
