/*
 * D'Ascola Teck / Soluções × Portfólio — 2026-11-02
 * Layout alinhado à vitrine /portfolio. Isolado na seção de serviços:
 * não altera o portfólio, a home, a área do cliente ou o catálogo de soluções.
 * Carregado após o sistema tipográfico comum, inclusive nos temas claro/escuro.
 */
.dt-unified-public .dt-v13-services .dt-v13-portfolio{
  --sv-ink:#102f53;--sv-muted:#405d7a;--sv-accent:#116ee6;
  --sv-line:#cadff1;--sv-paper:#f3f8ff;--sv-soft:#f3f8ff;--sv-surface:#fff;
  background:var(--sv-paper);color:var(--sv-ink);
  padding:clamp(58px,6.5vw,92px) 0 78px!important;
}
.dt-unified-public .dt-v13-services .dt-v13-portfolio>.container{
  width:min(1280px,calc(100% - 64px));max-width:1280px;margin-inline:auto;
}
/* Mesmo alinhamento da chamada e a mesma escala tipográfica do portfólio. */
.dt-v13-services .dt-v13-portfolio-heading{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:36px;margin-bottom:25px;
}
.dt-v13-services .dt-v13-portfolio-heading>div{min-width:0}
.dt-v13-services .dt-v13-portfolio-heading .dt-v13-eyebrow{
  display:block;color:#1171d6;font-size:10px;font-weight:800;letter-spacing:.13em;
}
.dt-unified-public .dt-v13-services .dt-v13-portfolio-heading h2{
  font-size:clamp(25px,2.55vw,34px);line-height:1.19;letter-spacing:-.032em;
  font-weight:700;color:var(--sv-ink);margin:12px 0 0;
}
.dt-unified-public .dt-v13-services .dt-v13-portfolio-heading h2 em{
  font-style:normal;color:inherit;
}
.dt-v13-services .dt-v13-portfolio-heading>p{
  max-width:380px;flex:0 1 380px;font-size:13px;line-height:1.8;color:var(--sv-muted);
}
/* Filtros e busca com a mesma disposição da toolbar em /portfolio. */
.dt-v13-services .dt-v13-toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:15px;
  margin-bottom:17px;
}
.dt-v13-services .dt-v13-filters{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  margin:0;min-width:0;
}
.dt-v13-services .dt-v13-filters button{
  min-height:42px;border:1px solid var(--sv-line);border-radius:999px;
  padding:10px 14px;background:var(--sv-surface);color:#4d6886;
  font-size:12px;font-weight:600;white-space:nowrap;box-shadow:none;
  transition:background .18s,border-color .18s,color .18s;
}
.dt-v13-services .dt-v13-filters button:hover{transform:none;border-color:#5ba4ee}
.dt-v13-services .dt-v13-filters button.is-current,
.dt-v13-services .dt-v13-filters button[aria-pressed="true"]{
  background:#0c2a51;color:#fff;border-color:#0c2a51;box-shadow:none;
}
.dt-v13-services .dt-v13-filters small{font-size:11px;margin-left:4px;opacity:.75}
.dt-v13-services .dt-v13-search{display:flex;position:relative;align-items:center;flex:0 1 220px;min-width:190px}
.dt-v13-services .dt-v13-search input{
  display:block;width:100%;height:44px;min-height:44px;
  border:1px solid var(--sv-line);border-radius:12px;
  padding:12px 36px 12px 13px;background:var(--sv-surface);
  color:var(--sv-ink);font-size:12px;outline-offset:3px;
}
.dt-v13-services .dt-v13-search input::placeholder{color:#607d9b;opacity:1}
.dt-v13-services .dt-v13-search>span:last-child{position:absolute;right:12px;color:#5c7897;font-size:24px;pointer-events:none}
.dt-v13-services .dt-v13-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Card principal e navegação lateral reproduzem o visual de /portfolio. */
.dt-v13-services .dt-v13-showcase{
  display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);
  min-height:0;border:1px solid var(--sv-line);border-radius:22px;
  background:var(--sv-surface);box-shadow:0 20px 70px #072c5a13;overflow:hidden;
}
.dt-v13-services .dt-v13-selector{
  min-width:0;display:flex;flex-direction:column;
  background:linear-gradient(165deg,#e7f2ff,#d9ebfb);
  border-right:1px solid #b6d4ec;color:#15395a;
}
.dt-v13-services .dt-v13-selector-head{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:25px 20px 19px;border-bottom:1px solid #b8d6eb;
}
.dt-v13-services .dt-v13-selector-head span{
  color:#1b5b8d;font-size:10px;letter-spacing:.13em;font-weight:800;
}
.dt-v13-services .dt-v13-selector-head small{
  color:#1b5b8d;font-size:11px;font-weight:600;letter-spacing:0;white-space:nowrap;
}
.dt-v13-services .dt-v13-tabs{
  display:flex;flex-direction:column;gap:3px;padding:9px;
  max-height:690px;overflow-y:auto;overflow-x:hidden;
  scrollbar-width:thin;scrollbar-color:#729fca transparent;
}
.dt-v13-services .dt-v13-tab{
  display:grid;grid-template-columns:34px minmax(0,1fr) 14px;
  gap:12px;align-items:center;min-height:73px;width:100%;padding:13px 11px;
  border:1px solid transparent;border-radius:12px;
  background:transparent;color:#173b60;text-align:left;
  transition:background .2s,border-color .2s;
}
.dt-v13-services .dt-v13-tab:not(.is-current):hover{background:#cfe6fc;border-color:transparent}
.dt-v13-services .dt-v13-tab.is-current,
.dt-v13-services .dt-v13-tab[aria-selected="true"]{
  background:linear-gradient(100deg,#106bc1,#157cc9);
  border-color:#79c8ff70;color:#fff;box-shadow:0 6px 20px #0002;
}
.dt-v13-services .dt-v13-tab-num{
  display:grid;place-items:center;flex:none;
  width:34px;height:34px;border:1px solid #a1c6e8;
  border-radius:9px;background:#e4edf7;color:#164b80;font-size:11px;font-weight:700;
}
.dt-v13-services .dt-v13-tab.is-current .dt-v13-tab-num{
  background:#ffffff1e;border-color:#ffffff50;color:#fff;
}
.dt-v13-services .dt-v13-tab-text{gap:3px}
.dt-v13-services .dt-v13-tab-text strong{
  color:inherit;font-size:12px;line-height:1.4;font-weight:700;
}
.dt-v13-services .dt-v13-tab-text small{
  color:#1c486e;font-size:10px;line-height:1.35;opacity:1;
}
.dt-v13-services .dt-v13-tab.is-current .dt-v13-tab-text small{color:#fff}
.dt-v13-services .dt-v13-tab-chevron{font-size:24px;color:#5296cf;opacity:1}
.dt-v13-services .dt-v13-tab.is-current .dt-v13-tab-chevron{color:#d9edff}
.dt-v13-services .dt-v13-empty{margin:0;padding:20px;color:var(--sv-muted);font-size:12px;line-height:1.6}
.dt-v13-services .dt-v13-no-detail{padding:clamp(25px,3vw,38px);color:var(--sv-muted);font-size:13px;line-height:1.7;margin:0}
/* Hierarquia do detalhe e galeria iguais às páginas de projetos. */
.dt-v13-services .dt-v13-detail-wrap{min-width:0;background:var(--sv-surface)}
.dt-v13-services .dt-v13-panel{padding:clamp(20px,3.3vw,38px)}
.dt-v13-services .dt-v13-panel-top{margin-bottom:15px;align-items:center}
.dt-v13-services .dt-v13-panel-top span{
  background:#e3f1ff;color:#0e6198;border-radius:7px;
  padding:7px 10px;font-size:10px;font-weight:700;letter-spacing:.09em;
}
.dt-v13-services .dt-v13-panel-top small{
  color:#7890ad;font-size:10px;font-weight:700;letter-spacing:.12em;
}
.dt-unified-public .dt-v13-services .dt-v13-panel h3{
  color:var(--sv-ink);font-size:clamp(26px,2.8vw,41px);
  line-height:1.28;margin:13px 0 8px;letter-spacing:-.032em;
}
.dt-v13-services .dt-v13-panel-lead{font-size:14px;line-height:1.65;margin:0 0 21px;color:var(--sv-muted)}
.dt-v13-services .dt-v13-panel-image{
  position:relative;aspect-ratio:16/9;min-height:0;
  border-radius:15px;overflow:hidden;border:1px solid #20496c;background:#081b31;
}
.dt-v13-services .dt-v13-panel-image>img{
  display:block;width:100%;height:100%;object-fit:contain;object-position:center;
  transform:none!important;transition:opacity .25s ease;
}
/* Controles compactos no canto inferior direito, como em /portfolio. */
.dt-v13-services .dt-v14-gallery-toolbar{
  position:absolute;right:14px;bottom:13px;z-index:4;
  display:flex;gap:8px;align-items:center;
  padding:5px;border:1px solid #97d5ff55;border-radius:10px;
  background:#051b34e8;color:#fff;
}
.dt-v13-services .dt-v14-gallery-toolbar button{
  position:static;transform:none;display:grid;place-items:center;
  width:30px;height:30px;min-height:0;padding:0;
  border:0;border-radius:6px;background:#ffffff1c;
  color:#fff;font-size:20px;font-weight:500;box-shadow:none;
}
.dt-v13-services .dt-v14-gallery-toolbar button:hover{background:#146cc0;color:#fff}
.dt-v13-services .dt-v14-gallery-toolbar .dt-v14-gallery-pause{font-size:12px}
.dt-v13-services .dt-v14-gallery-position{
  min-width:44px;font-size:10px;font-weight:700;letter-spacing:.06em;
  font-variant-numeric:tabular-nums;text-align:center;
}
/* Miniaturas preservadas como indicadores discretos: continuam clicáveis e acessíveis. */
.dt-v13-services .dt-v14-gallery-thumbs{
  position:absolute;left:12px;bottom:14px;transform:none;
  display:flex;gap:4px;align-items:center;width:max-content;max-width:42%;
  padding:4px;border:1px solid #97d5ff55;border-radius:10px;
  background:#051b34e8;backdrop-filter:none;
}
.dt-v13-services .dt-v14-gallery-thumbs button{
  display:grid;place-items:center;flex:none;width:28px;height:28px;
  aspect-ratio:auto;min-height:0;border:0;border-radius:6px;
  background:transparent;opacity:1;padding:0;cursor:pointer;
}
.dt-v13-services .dt-v14-gallery-thumbs button::after{
  content:"";display:block;width:7px;height:7px;border-radius:50%;background:#a6bcd2;
}
.dt-v13-services .dt-v14-gallery-thumbs button.is-current::after{
  background:#62c4ff;box-shadow:0 0 0 3px #62c4ff33;
}
.dt-v13-services .dt-v14-gallery-thumbs button:hover{background:#ffffff22;border:0}
.dt-v13-services .dt-v14-gallery-thumbs button img{display:none}
.dt-v13-services .dt-v13-photo-caption{
  margin:0;padding:10px 0 0;color:var(--sv-muted);
  font-size:11px;line-height:1.5;font-weight:600;
}
.dt-v13-services .dt-v13-panel-content{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:22px;align-items:start;margin-top:17px;padding:20px 0 0;
  border-top:1px solid var(--sv-line);border-bottom:0;
}
.dt-v13-services .dt-v13-panel-content>p{font-size:12px;line-height:1.75;color:var(--sv-muted)}
.dt-v13-services .dt-v13-benefits{padding-left:22px;border-left:1px solid var(--sv-line)}
.dt-v13-services .dt-v13-benefits h4{font-size:12px;line-height:1.5;margin-bottom:11px}
.dt-v13-services .dt-v13-benefits ul{gap:8px}
.dt-v13-services .dt-v13-benefits li{font-size:11px;line-height:1.6;color:var(--sv-muted)}
.dt-v13-services .dt-v14-gallery-controls{
  margin:13px 0 20px;color:var(--sv-muted);
  font-size:11px;line-height:1.65;
}
/* Tema escuro com contraste e hierarquia equivalentes ao Portfólio. */
html[data-theme="dark"] .dt-unified-public .dt-v13-services .dt-v13-portfolio{
  --sv-ink:#f0f8ff;--sv-muted:#b9d0e6;--sv-accent:#8bd1ff;
  --sv-line:#355475;--sv-paper:#071b32;--sv-soft:#071b32;--sv-surface:#10253d;
  background:#071b32;
}
html[data-theme="dark"] .dt-v13-services .dt-v13-portfolio-heading .dt-v13-eyebrow{color:#8bd1ff}
html[data-theme="dark"] .dt-v13-services .dt-v13-filters button:not(.is-current){background:#122d4b;color:#dfedff;border-color:#365e83}
html[data-theme="dark"] .dt-v13-services .dt-v13-filters button.is-current{background:#1672ba;border-color:#1672ba;color:#fff}
html[data-theme="dark"] .dt-v13-services .dt-v13-search input{background:#0e2844;color:#f3f8ff;border-color:#396189}
html[data-theme="dark"] .dt-v13-services .dt-v13-search input::placeholder{color:#a0c5e4}
html[data-theme="dark"] .dt-v13-services .dt-v13-selector{
  background:linear-gradient(160deg,#091c38,#103c68 85%);color:#dceaf9;border-color:#365779;
}
html[data-theme="dark"] .dt-v13-services .dt-v13-selector-head{border-color:#ffffff22}
html[data-theme="dark"] .dt-v13-services .dt-v13-selector-head span{color:#86d1ff}
html[data-theme="dark"] .dt-v13-services .dt-v13-selector-head small{color:#aecde8}
html[data-theme="dark"] .dt-v13-services .dt-v13-tab{color:#dceaf9}
html[data-theme="dark"] .dt-v13-services .dt-v13-tab:not(.is-current):hover{background:#ffffff12}
html[data-theme="dark"] .dt-v13-services .dt-v13-tab:not(.is-current) .dt-v13-tab-text small{color:#aac9e8}
html[data-theme="dark"] .dt-v13-services .dt-v13-tab-num{background:#173f65;border-color:#6aa6e344;color:#7dcaff}
html[data-theme="dark"] .dt-v13-services .dt-v13-tab.is-current .dt-v13-tab-num{background:#ffffff1e;border-color:#ffffff50;color:#fff}
html[data-theme="dark"] .dt-v13-services .dt-v13-panel-top span{color:#b1deff;background:#193c62}
html[data-theme="dark"] .dt-v13-services .dt-v13-panel-top small{color:#aac4dd}
/* Quebra para navegação horizontal: mesmo comportamento do Portfólio mobile. */
@media(max-width:1050px){
  .dt-v13-services .dt-v13-showcase{grid-template-columns:265px minmax(0,1fr)}
  .dt-v13-services .dt-v13-panel-content{grid-template-columns:1fr;gap:14px}
  .dt-v13-services .dt-v13-benefits{border-left:0;padding-left:0}
}
@media(max-width:800px){
  .dt-unified-public .dt-v13-services .dt-v13-portfolio>.container{width:calc(100% - 36px)}
  .dt-v13-services .dt-v13-portfolio-heading{display:block}
  .dt-v13-services .dt-v13-portfolio-heading>p{margin-top:13px;max-width:100%}
  .dt-v13-services .dt-v13-toolbar{align-items:stretch;flex-direction:column}
  .dt-v13-services .dt-v13-search{flex:1;min-width:0;max-width:400px}
  .dt-v13-services .dt-v13-showcase{grid-template-columns:1fr}
  .dt-v13-services .dt-v13-selector{border-right:0;border-bottom:1px solid var(--sv-line)}
  .dt-v13-services .dt-v13-selector-head{padding:17px;border-bottom:1px solid var(--sv-line)}
  .dt-v13-services .dt-v13-tabs{
    display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;
    max-height:none;gap:7px;padding:11px;scroll-snap-type:x proximity;
  }
  .dt-v13-services .dt-v13-tab{
    flex:0 0 225px;min-height:69px;scroll-snap-align:start;
    padding:11px;grid-template-columns:34px minmax(0,1fr) 14px;
  }
  .dt-v13-services .dt-v13-panel{padding:clamp(18px,4vw,32px)}
}
@media(max-width:480px){
  .dt-unified-public .dt-v13-services .dt-v13-portfolio{
    padding:52px 0 60px!important;
  }
  .dt-unified-public .dt-v13-services .dt-v13-portfolio>.container{width:calc(100% - 28px)}
  .dt-unified-public .dt-v13-services .dt-v13-portfolio-heading h2{font-size:26px}
  .dt-v13-services .dt-v13-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
  .dt-v13-services .dt-v13-filters button{flex:none;font-size:11px}
  .dt-v13-services .dt-v13-showcase{border-radius:17px}
  .dt-v13-services .dt-v13-panel h3{font-size:29px}
  .dt-v13-services .dt-v13-panel-lead{font-size:12px}
  .dt-v13-services .dt-v13-panel-content>p{font-size:12px}
  .dt-v13-services .dt-v14-gallery-toolbar{right:5px;bottom:5px;gap:4px;padding:4px}
  .dt-v13-services .dt-v14-gallery-toolbar button{width:27px;height:27px}
  .dt-v13-services .dt-v14-gallery-thumbs{left:5px;bottom:5px;padding:2px;gap:0}
  .dt-v13-services .dt-v14-gallery-thumbs button{width:19px;height:27px}
  .dt-v13-services .dt-v14-gallery-thumbs button::after{width:5px;height:5px}
  .dt-v13-services .dt-v14-gallery-position{min-width:39px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .dt-v13-services .dt-v13-panel,.dt-v13-services .dt-v13-tab,
  .dt-v13-services .dt-v13-filters button{animation:none!important;transition:none!important}
}
