/* =========================================================
   GCA · v0.4 — Fotos e "mais vida"
   Carregado entre styles.css e responsive.css
   ========================================================= */

img { background: var(--cream); }

/* ---------- Cartões "Qual é o momento" com foto ---------- */
.path { padding: 0 0 26px; overflow: hidden; position: relative; }
.path > *:not(.path__img) { margin-left: 24px; margin-right: 24px; }
.path__img { margin: 0 0 0; aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.path__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,35,63,.35)); }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.path:hover .path__img img { transform: scale(1.06); }
.path__icon { margin-top: -26px; margin-bottom: 18px; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--surface); }

/* ---------- Quem somos: colagem de duas fotos ---------- */
.about__media { position: relative; padding-bottom: 70px; padding-right: 40px; }
.about__photo { box-shadow: var(--shadow); }
.about__photo2 {
  position: absolute; right: 0; bottom: 0; width: 58%; margin: 0;
  border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3;
  border: 6px solid var(--tint); box-shadow: var(--shadow);
}
.about__photo2 img { width: 100%; height: 100%; object-fit: cover; }
.about__photo figcaption { right: auto; max-width: 70%; top: 16px; bottom: auto; }

/* ---------- Galeria "Nosso dia a dia" ---------- */
.gallery { display: grid; gap: 14px; }
@media (min-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .gallery { grid-template-columns: 1.1fr 1fr 1fr; grid-auto-rows: 270px; }
  .gallery__item--wide { grid-column: 2 / -1; }
}
.gallery__item { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; min-height: 240px; background: var(--navy); }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,24,48,0) 40%, rgba(11,24,48,.85)); }
.gallery__item figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1;
  color: rgba(244,237,228,.85); font-size: .92rem; line-height: 1.4;
}
.gallery__item figcaption b { display: block; color: var(--white); font: 800 1.12rem/1.2 var(--display); margin-bottom: 4px; }
.gallery__item figcaption b::before { content: ""; display: block; width: 28px; height: 3px; background: var(--sand); margin-bottom: 10px; border-radius: 2px; }

/* ---------- Seções com foto de fundo (5 sinais, contato) ---------- */
.section--photo { position: relative; isolation: isolate; }
.section--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--bg) center / cover no-repeat;
}
.section--photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,24,48,.95) 0%, rgba(18,35,63,.84) 45%, rgba(18,35,63,.62) 100%);
}
.section--photo[data-bgpos="right"]::before { background-position: 70% 40%; }
@media (min-width: 960px) {
  #sinais.section--photo::after { background: linear-gradient(100deg, rgba(11,24,48,.96) 0%, rgba(18,35,63,.86) 42%, rgba(18,35,63,.55) 100%); }
}
@media (max-width: 719px) {
  .section--photo::after { background: linear-gradient(180deg, rgba(11,24,48,.9), rgba(18,35,63,.84)); }
}

/* Foto de destaque nos 5 sinais (empresário observando a operação) */
.signals__photo { position: relative; margin: 36px 0 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; border: 1px solid rgba(244,237,228,.15); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.signals__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
.signals__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,24,48,.88)); }
.signals__photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; font: 600 .98rem/1.35 var(--display); color: var(--cream); }
.signals__photo figcaption b { display: block; color: var(--sand); font-weight: 800; }

/* ---------- Diferencial principal com foto ---------- */
.diff--feature { padding: 0 0 28px; overflow: hidden; }
.diff--feature > *:not(.diff__img) { margin-left: 28px; margin-right: 28px; }
.diff__img { margin: 0 0 22px; aspect-ratio: 16 / 10; overflow: hidden; }
.diff__img img { width: 100%; height: 100%; object-fit: cover; }
.diff--feature .diff__icon { margin-bottom: 18px; }
@media (min-width: 1080px) { .diff--feature { justify-content: flex-start; } .diff--feature .diff__icon { margin-bottom: 18px; } }

/* ---------- Equipe com foto ---------- */
.team__grid { align-items: stretch; }
.person { padding: 0; overflow: hidden; gap: 0; display: flex; flex-direction: column; }
.person__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #eef0f3, #dfe3ea); position: relative; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; background: #f2f2f2; transition: transform .8s var(--ease); }
.person:hover .person__photo img { transform: scale(1.04); }
.person__photo--placeholder { background: linear-gradient(160deg, var(--navy), var(--navy-2)); display: grid; place-items: center; }
.person__photo--placeholder svg { position: absolute; width: 70%; height: 70%; color: rgba(255,255,255,.05); left: 15%; top: 12%; }
.person__photo--placeholder span { font: 800 2.6rem/1 var(--display); color: var(--sand); letter-spacing: .04em; position: relative; }
.person__info { padding: 20px 22px 22px; border-top: 3px solid var(--sand); }
.person__info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.person__info p { margin: 0; color: var(--sand-2); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
