/* Publicações de clientes — extensão visual do site Turismo */
.client-stories-section{
  position:relative;
  padding:0 0 24px;
}

.client-stories-section::before{
  content:"";
  position:absolute;
  inset:4% 0 2%;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 18%,rgba(0,86,176,.08),transparent 22rem),
    radial-gradient(circle at 88% 78%,rgba(176,0,32,.05),transparent 18rem);
}

.client-stories-heading{
  max-width:900px;
  margin-bottom:38px;
}

.client-stories-heading h2{
  margin-bottom:0;
  font-family:"Instrument Sans",Inter,ui-sans-serif,system-ui,sans-serif;
  color:var(--forest);
  font-size:clamp(34px,4.7vw,58px);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-.01em;
  font-kerning:normal;
  font-feature-settings:"kern" 1,"liga" 1;
  text-wrap:balance;
}

.client-posts-list{
  display:grid;
  gap:40px;
  width:min(900px,100%);
  margin-inline:auto;
}

.client-post-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:36px;
  box-shadow:0 26px 72px rgba(6,18,55,.13);
}

.client-post-card[hidden]{
  display:none;
}

.client-post-card.is-post-entering{
  animation:client-post-enter .42s cubic-bezier(.22,.72,.22,1) both;
}

@keyframes client-post-enter{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}

.client-posts-navigation{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  width:min(900px,100%);
  margin:22px auto 0;
}

.client-posts-navigation[hidden]{
  display:none;
}

.client-post-navigation-button{
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:max-content;
  min-height:48px;
  padding:0 18px;
  border:1px solid rgba(0,86,176,.18);
  border-radius:999px;
  color:var(--forest);
  background:#fff;
  box-shadow:0 10px 28px rgba(6,18,55,.08);
  font-family:"Instrument Sans",Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

.client-post-navigation-button:last-child{
  justify-self:end;
}

.client-post-navigation-button:hover:not(:disabled){
  transform:translateY(-2px);
  border-color:rgba(0,86,176,.38);
  box-shadow:0 14px 34px rgba(6,18,55,.12);
}

.client-post-navigation-button:disabled{
  opacity:.42;
  cursor:not-allowed;
  box-shadow:none;
}

.client-post-navigation-button:focus-visible{
  outline:3px solid rgba(176,0,32,.30);
  outline-offset:4px;
}

.client-posts-counter{
  margin:0;
  color:var(--forest-2);
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:14px;
  font-weight:700;
  text-align:center;
}

.client-carousel{
  position:relative;
  padding:16px 16px 0;
  outline:none;
}

.client-carousel-viewport{
  position:relative;
  overflow:hidden;
  width:100%;
  aspect-ratio:4/3;
  border-radius:26px;
  background:var(--mint);
  touch-action:pan-y;
}

.client-carousel-track{
  display:flex;
  width:100%;
  height:100%;
  transform:translate3d(0,0,0);
  transition:transform .46s cubic-bezier(.22,.72,.22,1);
  will-change:transform;
}

.client-carousel-slide{
  flex:0 0 100%;
  width:100%;
  height:100%;
  margin:0;
  background:var(--mint);
}

.client-carousel-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  user-select:none;
  -webkit-user-drag:none;
}

.client-carousel-arrow{
  position:absolute;
  top:calc(50% - 19px);
  z-index:3;
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  padding:0;
  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;
  color:#fff;
  background:rgba(0,62,128,.86);
  box-shadow:0 12px 30px rgba(6,18,55,.25);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}

.client-carousel-arrow:hover{
  transform:translateY(-2px);
  background:var(--forest);
  box-shadow:0 16px 36px rgba(6,18,55,.30);
}

.client-carousel-arrow:focus-visible,
.client-carousel-dot:focus-visible,
.client-instagram-link:focus-visible{
  outline:3px solid rgba(176,0,32,.30);
  outline-offset:4px;
}

.client-carousel-arrow span{
  display:block;
  font-size:38px;
  font-weight:400;
  line-height:.7;
  transform:translateY(-1px);
}

.client-carousel-prev{left:32px}
.client-carousel-next{right:32px}

.client-carousel-status{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
  min-height:58px;
  padding:12px 5px 10px;
}

.client-carousel-dots{
  grid-column:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.client-carousel-dot{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(0,86,176,.22);
  cursor:pointer;
  transition:width .2s ease,background .2s ease;
}

.client-carousel-dot.is-active{
  width:26px;
  background:var(--forest);
}

.client-carousel-count{
  grid-column:3;
  justify-self:end;
  margin:0;
  color:var(--forest-2);
  font-family:Inter,ui-sans-serif,system-ui,sans-serif;
  font-size:14px;
  font-weight:700;
}

.client-carousel.has-single-slide .client-carousel-arrow,
.client-carousel.has-single-slide .client-carousel-status{
  display:none;
}

.client-post-content{
  padding:8px 34px 34px;
  border-top:1px solid rgba(0,86,176,.09);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.client-post-caption{
  color:var(--ink);
  font-size:17px;
  line-height:1.72;
}

.client-post-caption p{
  margin:0 0 18px;
}

.client-post-caption p:first-child{
  font-size:18px;
  font-weight:500;
}

.client-post-caption a{
  color:var(--forest);
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.client-post-caption a:hover{
  color:var(--forest-2);
}

.client-post-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  margin:4px 0 26px;
}

.client-post-tags a{
  color:var(--forest);
  font-size:14px;
  font-weight:700;
}

.client-instagram-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  color:#fff;
  background:var(--forest);
  box-shadow:0 14px 34px rgba(0,86,176,.22);
  font-family:"Instrument Sans",Inter,ui-sans-serif,system-ui,sans-serif;
  font-weight:700;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}

.client-instagram-link:hover{
  transform:translateY(-2px);
  color:#fff;
  background:var(--forest-2);
  box-shadow:0 18px 40px rgba(0,86,176,.28);
}

.client-instagram-icon{
  position:relative;
  width:20px;
  height:20px;
  flex:0 0 20px;
  border:2px solid currentColor;
  border-radius:6px;
}

.client-instagram-icon::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:7px;
  height:7px;
  border:2px solid currentColor;
  border-radius:50%;
  transform:translate(-50%,-50%);
}

.client-instagram-icon::after{
  content:"";
  position:absolute;
  top:3px;
  right:3px;
  width:3px;
  height:3px;
  border-radius:50%;
  background:currentColor;
}

@media (max-width:640px){
  .client-stories-section{padding-bottom:0}
  .client-stories-heading{margin-bottom:28px;text-align:left}
  .client-stories-heading h2{font-size:38px;letter-spacing:-.018em}
  .client-posts-list{gap:28px}
  .client-post-card{border-radius:28px}
  .client-carousel{padding:10px 10px 0}
  .client-carousel-viewport{border-radius:21px}
  .client-carousel-arrow{top:calc(50% - 18px);width:44px;height:44px}
  .client-carousel-arrow span{font-size:32px}
  .client-carousel-prev{left:20px}
  .client-carousel-next{right:20px}
  .client-carousel-status{gap:10px;min-height:52px;padding-inline:2px}
  .client-carousel-dots{gap:6px}
  .client-carousel-dot{width:8px;height:8px}
  .client-carousel-dot.is-active{width:21px}
  .client-carousel-count{font-size:13px}
  .client-post-content{padding:8px 20px 24px}
  .client-post-caption{font-size:16px;line-height:1.68}
  .client-post-caption p:first-child{font-size:17px}
  .client-instagram-link{width:100%;padding-inline:16px}
  .client-posts-navigation{grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
  .client-posts-counter{grid-column:1/-1;grid-row:1}
  .client-post-navigation-button{grid-row:2;width:100%;min-height:46px;padding-inline:12px;font-size:13px;justify-content:center}
  .client-post-navigation-button:last-child{justify-self:stretch}
}

@media (prefers-reduced-motion:reduce){
  .client-post-card.is-post-entering{
    animation:none!important;
  }
  .client-carousel-track,
  .client-carousel-arrow,
  .client-carousel-dot,
  .client-instagram-link,
  .client-post-navigation-button{
    transition:none!important;
  }
}
