.svc-cta-strip{
  margin-top:40px;
  border-radius:20px;
  overflow:hidden;
  position:relative;
  /* default navy; JS overrides via CSS var */
  --strip-accent:#F26522;
  --strip-accent-rgb:242,101,34;
  background:linear-gradient(135deg,#0E1C2F 0%,#162540 100%);
  border:1px solid rgba(255,255,255,.07);
  box-shadow:0 4px 32px rgba(14,28,47,.18),0 1px 0 rgba(255,255,255,.04) inset;
  /* entrance */
  opacity:0;transform:translateY(16px);
  transition:opacity .5s var(--ease-expo, cubic-bezier(.16,1,.3,1)),
             transform .5s var(--ease-expo, cubic-bezier(.16,1,.3,1));
}
.svc-cta-strip.visible{opacity:1;transform:translateY(0)}

/* accent top bar */
.svc-cta-strip::before{
  content:'';
  position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--strip-accent) 0%,rgba(var(--strip-accent-rgb),.4) 55%,transparent 100%);
  border-radius:2px 2px 0 0;
  transition:background .45s ease;
}
/* subtle glow blob */
.svc-cta-strip::after{
  content:'';
  position:absolute;top:-60px;left:-60px;
  width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(var(--strip-accent-rgb),.18) 0%,transparent 70%);
  filter:blur(32px);pointer-events:none;
  transition:background .45s ease;
}

.svc-cta-strip__inner{
  position:relative;z-index:1;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:24px 32px;
}

/* LEFT */
.svc-cta-strip__left{display:flex;align-items:center;gap:18px}

.svc-cta-strip__icon{
  width:48px;height:48px;flex-shrink:0;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(var(--strip-accent-rgb),.14);
  border:1px solid rgba(var(--strip-accent-rgb),.22);
  color:var(--strip-accent);
  transition:background .45s ease,border-color .45s ease,color .45s ease;
}
.svc-cta-strip__icon svg{width:22px;height:22px}

.svc-cta-strip__copy{}
.svc-cta-strip__label{
  font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--strip-accent);margin-bottom:3px;
  transition:color .45s ease;
}
.svc-cta-strip__desc{
  font-size:.88rem;font-weight:400;
  color:rgba(255,255,255,.65);line-height:1.45;
}

/* RIGHT */
.svc-cta-strip__actions{display:flex;align-items:center;gap:12px;flex-shrink:0}

.svc-cta-strip__btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 22px;border-radius:100px;
  font-family:'Outfit',sans-serif;font-size:.82rem;font-weight:700;
  text-decoration:none;white-space:nowrap;cursor:pointer;
  transition:opacity .2s,transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s;
}
.svc-cta-strip__btn svg{width:14px;height:14px;flex-shrink:0;transition:transform .2s}
.svc-cta-strip__btn:hover svg{transform:translateX(3px)}

.svc-cta-strip__btn--ghost{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  color:rgba(255,255,255,.8);
}
.svc-cta-strip__btn--ghost:hover{
  background:rgba(255,255,255,.12);color:#fff;
  transform:translateY(-1px);
}

.svc-cta-strip__btn--primary{
  background:linear-gradient(135deg,#FF8142 0%,#F26522 100%);
  background-image:linear-gradient(135deg,var(--strip-accent, #FF8142),var(--strip-accent, #F26522));
  color:#fff;border:none;
  box-shadow:0 4px 18px rgba(var(--strip-accent-rgb),.38);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s,background .45s ease;
}
.svc-cta-strip__btn--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(var(--strip-accent-rgb),.5);
}
.svc-cta-strip__btn--primary:active{transform:translateY(0)}

/* text swap animation */
.svc-cta-strip__btn--primary span,
.svc-cta-strip__label,
.svc-cta-strip__desc{
  transition:opacity .2s, color .45s ease;
}
.svc-cta-strip.swapping .svc-cta-strip__btn--primary span,
.svc-cta-strip.swapping .svc-cta-strip__label,
.svc-cta-strip.swapping .svc-cta-strip__desc,
.svc-cta-strip.swapping .svc-cta-strip__btn--ghost{
  opacity:0;
}

/* RESPONSIVE */
@media(max-width:860px){
  .svc-cta-strip__inner{flex-direction:column;align-items:flex-start;gap:20px;padding:22px 24px}
  .svc-cta-strip__actions{width:100%}
  .svc-cta-strip__btn{flex:1;justify-content:center}
}
@media(max-width:480px){
  .svc-cta-strip__actions{flex-direction:column}
  .svc-cta-strip__btn{width:100%}
  .svc-cta-strip__left{gap:14px}
  .svc-cta-strip__icon{width:42px;height:42px}
}

/* ══════════════════════════════════════════════════
   SWITCHER
══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   PANELS
══════════════════════════════════════════════════ */
.eq-panel { display: none; }
.eq-panel.eq-active {
  display: block;
  animation: eqIn .38s cubic-bezier(.16,1,.3,1) both;
}
@keyframes eqIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════
   MODO A — Cards foto+info (padrão atual)
══════════════════════════════════════════════════ */
.eqa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.eqa-card {
  background: #f8f9fc; border: 1.5px solid #e8ecf5;
  border-radius: 18px; overflow: hidden; cursor: pointer;
  opacity: 0; transform: translateY(18px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.eqa-card.eqa-in { opacity: 1; transform: translateY(0); }
.eqa-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(14,28,47,.10); border-color: #d0d8ee; }
.eqa-photo { height: 240px; position: relative; overflow: hidden; background: #e8ecf5; }
.eqa-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s cubic-bezier(.16,1,.3,1); filter: saturate(.9); }
.eqa-card:hover .eqa-photo img { transform: scale(1.06); filter: saturate(1); }
.eqa-photo-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,47,.82) 0%, rgba(14,28,47,.2) 45%, transparent 70%); }
.eqa-spec { position: absolute; top: 12px; left: 12px; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 11px; border-radius: 100px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.eqa-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; }
.eqa-name { font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 3px; }
.eqa-role { font-size: .68rem; color: rgba(255,255,255,.55); font-weight: 500; }
.eqa-body { padding: 14px 16px 16px; }
.eqa-name-body { font-size: .95rem; font-weight: 700; color: #0E1C2F; line-height: 1.2; margin-bottom: 2px; }
.eqa-role-body { font-size: .7rem; color: #6b7a99; font-weight: 500; margin-bottom: 10px; }
.eqa-reg { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #6b7a99; font-weight: 500; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e8ecf5; }
.eqa-reg-dot { width: 6px; height: 6px; border-radius: 50%; background: #F26522; flex-shrink: 0; }
.eqa-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.eqa-tag { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: #eef1f9; color: #3a4d6b; }
.eqa-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 11.5px; font-weight: 700; color: #F26522; text-decoration: none; transition: gap .2s; }
.eqa-link:hover { gap: 9px; }
.eqa-link svg { width: 12px; height: 12px; }

/* ══════════════════════════════════════════════════
   MODO B — Navy escuro
══════════════════════════════════════════════════ */
.eqb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.eqb-card {
  background: #0E1C2F; border-radius: 18px; overflow: hidden;
  cursor: pointer; position: relative;
  opacity: 0; transform: translateY(18px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.eqb-card.eqb-in { opacity: 1; transform: translateY(0); }
.eqb-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #F26522, #FF8142); }
.eqb-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(14,28,47,.4); }
.eqb-photo { height: 200px; position: relative; overflow: hidden; background: #1a2e52; }
.eqb-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: brightness(.9) saturate(.8); mix-blend-mode: luminosity; transition: filter .5s; }
.eqb-card:hover .eqb-photo img { filter: brightness(1) saturate(.95); }
.eqb-photo-ov { position: absolute; inset: 0; background: linear-gradient(to top, #0E1C2F 0%, rgba(14,28,47,.35) 55%, rgba(14,28,47,.08) 100%); }
.eqb-spec { position: absolute; top: 12px; left: 12px; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; background: rgba(242,101,34,.88); color: #fff; }
.eqb-body { padding: 14px 16px 18px; }
.eqb-name { font-family: 'Outfit', serif; font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 4px; }
.eqb-role { font-size: .68rem; color: rgba(255,255,255,.38); font-weight: 500; margin-bottom: 12px; }
.eqb-divider { height: 1px; background: rgba(255,255,255,.07); margin-bottom: 12px; }
.eqb-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.eqb-tag { font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 5px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.5); }
.eqb-link { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; color: #FF8142; text-decoration: none; }
.eqb-link svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════
   MODO C — Horizontal compacto
══════════════════════════════════════════════════ */
.eqc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.eqc-card {
  background: #fff; border: 1.5px solid #e8ecf5;
  border-radius: 16px; overflow: hidden;
  display: flex; cursor: pointer;
  opacity: 0; transform: translateX(-12px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .35s;
}
.eqc-card.eqc-in { opacity: 1; transform: translateX(0); }
.eqc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(14,28,47,.09); border-color: #d0d8ee; }
.eqc-photo { width: 100px; flex-shrink: 0; position: relative; overflow: hidden; background: #eef1f9; }
.eqc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.eqc-info { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; }
.eqc-spec { font-size: 8.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #F26522; margin-bottom: 5px; display: block; }
.eqc-name { font-size: .95rem; font-weight: 700; color: #0E1C2F; line-height: 1.2; margin-bottom: 2px; }
.eqc-role { font-size: .7rem; color: #6b7a99; font-weight: 500; margin-bottom: 8px; }
.eqc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.eqc-tag { font-size: 9.5px; font-weight: 700; padding: 2px 8px; border-radius: 5px; background: #f0f2f9; color: #3a4d6b; }
.eqc-link { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #F26522; text-decoration: none; transition: gap .2s; }
.eqc-link:hover { gap: 7px; }
.eqc-link svg { width: 11px; height: 11px; }

/* ══════════════════════════════════════════════════
   MODO D — Glassmorphism (foto full)
══════════════════════════════════════════════════ */
.eqd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.eqd-card {
  height: 390px; border-radius: 20px; overflow: hidden;
  cursor: pointer; position: relative;
  opacity: 0; transform: scale(.95);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, opacity .35s;
}
.eqd-card.eqd-in { opacity: 1; transform: scale(1); }
.eqd-card:hover { transform: scale(1.025); box-shadow: 0 24px 60px rgba(14,28,47,.25); }
.eqd-photo { position: absolute; inset: 0; }
.eqd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.eqd-bg { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,47,.94) 0%, rgba(14,28,47,.3) 45%, transparent 70%); }

.eqd-glass { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 16px; background: rgba(255,255,255,.08); backdrop-filter: blur(16px) saturate(150%); border-top: 1px solid rgba(255,255,255,.1); }
.eqd-name { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 3px; }
.eqd-role { font-size: .68rem; color: rgba(255,255,255,.52); font-weight: 500; margin-bottom: 10px; }


/* ══════════════════════════════════════════════════
   MODO LISTA
══════════════════════════════════════════════════ */

/* ── BOTÃO VER TODOS (compartilhado) ── */
.eq-cta-row { display: flex; justify-content: center; margin-top: 4px; }
.eq-btn-all {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 100px;
  border: 2px solid rgba(255,255,255,.2); background: transparent;
  color: rgba(255,255,255,.7); font-family: 'Outfit', sans-serif;
  font-size: .9rem; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.eq-btn-all:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.eq-btn-all svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .2s; }
.eq-btn-all:hover svg { transform: translateX(3px); }

/* Responsive */
@media (max-width: 900px) {
  .eqa-grid, .eqb-grid, .eqd-grid { grid-template-columns: repeat(2, 1fr); }
  .eqc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .eqa-grid, .eqb-grid, .eqd-grid { grid-template-columns: 1fr; gap: 14px; }
  .eqc-grid { grid-template-columns: 1fr; }
  .eqa-photo, .eqd-card { height: 220px; }

}

/* ── BTN-PRIMARY shimmer (fallback se shared.css não carregado) ── */
.btn-primary{position:relative;overflow:hidden}
.btn-primary::after{
  content:'';position:absolute;top:0;left:-75%;width:50%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:skewX(-20deg);transition:left .5s ease;pointer-events:none;
}
.btn-primary:hover::after{left:130%}

/* ── CTT-SUBMIT shimmer ── */
.ctt-submit::after{
  content:'';position:absolute;top:0;left:-75%;width:50%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:skewX(-20deg);transition:left .5s ease;pointer-events:none;
}
.ctt-submit:hover::after{left:130%}

/* ── cta-band: âncora esquerda ── */
.cta-band{
  display:grid;
  grid-template-columns:56px 1fr auto;
  align-items:center;
  gap:24px;
}
.cta-band__anchor{
  width:52px;height:52px;flex-shrink:0;
  border-radius:15px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(242,101,34,.13);
  border:1px solid rgba(242,101,34,.22);
  color:#F26522;
  transition:background .3s,transform .35s cubic-bezier(.34,1.56,.64,1);
}
.cta-band:hover .cta-band__anchor{
  background:rgba(242,101,34,.2);
  transform:scale(1.06) rotate(-4deg);
}
.cta-band__anchor svg{width:22px;height:22px}
.cta-band__eyebrow{
  font-size:.62rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;
  color:#F26522;margin-bottom:4px;
}
/* hover shimmer on the strip itself */
.cta-band{
  cursor:default;
  transition:box-shadow .35s;
}
.cta-band:hover{
  box-shadow:0 0 0 1px rgba(242,101,34,.18),0 8px 40px rgba(242,101,34,.12);
}
/* responsive: revert to column on tablet (shared.css handles ≤900) */
@media(max-width:900px){
  .cta-band{grid-template-columns:1fr;gap:20px}
  .cta-band__anchor{display:none}
}

/* ── svc-cta-strip: hover spotlight glow ── */
.svc-cta-strip{
  cursor:default;
  transition:box-shadow .35s,opacity .5s cubic-bezier(.16,1,.3,1),transform .5s cubic-bezier(.16,1,.3,1);
}
.svc-cta-strip:hover{
  box-shadow:
    0 0 0 1px rgba(var(--strip-accent-rgb),.2),
    0 8px 48px rgba(var(--strip-accent-rgb),.14);
}
.svc-cta-strip__icon{
  transition:background .45s ease,border-color .45s ease,color .45s ease,
             transform .35s cubic-bezier(.34,1.56,.64,1);
}
.svc-cta-strip:hover .svc-cta-strip__icon{
  transform:scale(1.08) rotate(-5deg);
}

/* ── shimmer sweep — strip primary btn ── */
.svc-cta-strip__btn--primary{
  position:relative;
  overflow:hidden;
}
.svc-cta-strip__btn--primary::after{
  content:'';
  position:absolute;
  top:0;left:-75%;
  width:50%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:skewX(-20deg);
  transition:left .5s ease;
}
.svc-cta-strip__btn--primary:hover::after{
  left:130%;
}

/* ── shimmer sweep — cta-band btn--primary ── */
.cta-band .btn--primary{
  position:relative;
  overflow:hidden;
}
.cta-band .btn--primary::after{
  content:'';
  position:absolute;
  top:0;left:-75%;
  width:50%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform:skewX(-20deg);
  transition:left .5s ease;
}
.cta-band .btn--primary:hover::after{
  left:130%;
}

/* ══════════════════════════════════════════════════
   GALERIA DA CLÍNICA — Editorial Premium
══════════════════════════════════════════════════ */

/* ── Seção ── */
.clinic-gallery-sec {
  background: #0a1628;
  position: relative;
  overflow: hidden;
  padding: 100px 0 108px;
}

/* noise grain overlay */
.clinic-gallery-sec::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .022;
  pointer-events: none; z-index: 0;
}
/* soft orange glow bottom-left */
.clinic-gallery-sec::after {
  content: '';
  position: absolute; bottom: -80px; left: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,101,34,.11) 0%, transparent 65%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
/* teal glow top-right */
.cg-glow-tr {
  position: absolute; top: -60px; right: -60px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,190,211,.07) 0%, transparent 65%);
  filter: blur(36px); pointer-events: none; z-index: 0;
}

/* ── Layout inner ── */
.cg-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Text column ── */
.cg-copy {
  position: sticky;
  top: 88px;
}
.cg-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .62rem; font-weight: 800; letter-spacing: .26em;
  text-transform: uppercase; color: #F26522;
  margin-bottom: 22px;
}
.cg-eyebrow::before {
  content: ''; width: 24px; height: 1.5px;
  background: #F26522; border-radius: 2px;
}
.cg-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  font-weight: 900; line-height: .97;
  letter-spacing: -.04em; color: #fff;
  margin-bottom: 22px;
}
.cg-title em {
  font-style: normal;
  background: linear-gradient(135deg, #FF8142 0%, #F26522 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cg-or-line {
  display: block; width: 44px; height: 3px; border-radius: 2px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #F26522 0%, rgba(242,101,34,.4) 60%, transparent 100%);
}
.cg-body {
  font-size: .95rem; color: rgba(255,255,255,.52);
  font-weight: 300; line-height: 1.78; margin-bottom: 28px;
}
.cg-points {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 12px;
}
.cg-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .88rem; color: rgba(255,255,255,.72);
  font-weight: 400; line-height: 1.55;
}
.cg-points li::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
  background: linear-gradient(135deg, #FF8142, #F26522);
  box-shadow: 0 0 0 4px rgba(242,101,34,.15);
}
.cg-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.55);
  letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, border-color .2s;
}
.cg-tag:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }
.cg-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #F26522; box-shadow: 0 0 0 3px rgba(242,101,34,.2);
}

/* ── Photo grid ── */
.cg-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 220px 220px 220px;
  gap: 12px;
}

/* 6 fotos em composição assimétrica */
.cg-photo { position: relative; overflow: hidden; border-radius: 18px; isolation: isolate; }
.cg-photo:nth-child(1) { grid-column: 1 / 8;  grid-row: 1 / 3; border-radius: 22px; } /* hero tall */
.cg-photo:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 2; }
.cg-photo:nth-child(3) { grid-column: 8 / 13; grid-row: 2 / 3; }
.cg-photo:nth-child(4) { grid-column: 1 / 5;  grid-row: 3 / 4; }
.cg-photo:nth-child(5) { grid-column: 5 / 9;  grid-row: 3 / 4; }
.cg-photo:nth-child(6) { grid-column: 9 / 13; grid-row: 3 / 4; }

/* image */
.cg-photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .9s cubic-bezier(.16,1,.3,1), filter .5s ease;
  filter: saturate(.9) brightness(.96);
}
.cg-photo:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1.02);
}

/* dark overlay */
.cg-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,40,.85) 0%,
    rgba(10,22,40,.28) 42%,
    rgba(10,22,40,.04) 72%
  );
  transition: opacity .4s;
}
.cg-photo:hover .cg-photo-overlay { opacity: .7; }

/* numbered label */
.cg-photo-num {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-size: .6rem; font-weight: 800; letter-spacing: .2em;
  color: rgba(255,255,255,.45);
  font-variant-numeric: tabular-nums;
}

/* caption */
.cg-photo-cap {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.3;
  transform: translateY(4px);
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .4s;
  opacity: .72;
}
.cg-photo:hover .cg-photo-cap { opacity: 1; transform: none; }

/* border on hover */
.cg-photo::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.0);
  transition: border-color .3s;
  z-index: 3; pointer-events: none;
}
.cg-photo:hover::after { border-color: rgba(255,255,255,.12); }

/* ── Responsive ── */
@media (max-width: 1140px) {
  .cg-inner { grid-template-columns: 280px 1fr; gap: 40px; }
  .cg-grid { grid-template-rows: 190px 190px 190px; }
}
@media (max-width: 960px) {
  .cg-inner { grid-template-columns: 1fr; gap: 48px; }
  .cg-copy { position: static; }
  .cg-grid { grid-template-rows: 180px 180px 180px; }
}
@media (max-width: 700px) {
  .clinic-gallery-sec { padding: 72px 0 80px; }
  .cg-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 190px);
  }
  .cg-photo:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; border-radius: 18px; }
  .cg-photo:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .cg-photo:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
  .cg-photo:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .cg-photo:nth-child(5) { grid-column: 2 / 3; grid-row: 3 / 4; }
  .cg-photo:nth-child(6) { grid-column: 1 / 3; grid-row: 4 / 5; }
}
@media (max-width: 440px) {
  .cg-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, 210px); }
  .cg-photo:nth-child(n) { grid-column: 1 / 2 !important; grid-row: auto !important; }
}
