/* ============================================================
   DESIGN IDEAL · site.css (reforma 18/07/2026)
   Substitui foundation.css + normalize.css + main.css + float-nav.css.
   Bloco 1: utilitarias que o HTML usava do Foundation.
   Bloco 2: main.css original, intacto (fonte do visual).
   Bloco 3: menu lateral (hamburguer) + paginas internas.
   Breakpoints herdados do Foundation: medium >=640px, large >=1024px.
   ============================================================ */

html { -webkit-text-size-adjust: 100%; }
img { border-style: none; max-width: 100%; }

.text-center { text-align: center; }
.grid-x { display: flex; flex-flow: row wrap; }
.cell { flex: 0 0 auto; min-height: 0; min-width: 0; width: 100%; }
.align-center { justify-content: center; }

/* Como no Foundation, as classes de largura SO valem para filhos
   diretos de .grid-x — fora disso (ex.: hero, que e display:grid
   no main.css) elas sao inertes. */
@media screen and (min-width: 640px) {
  .grid-x > .medium-3 { width: 25%; }
  .grid-x > .medium-4 { width: 33.3333333333%; }
  .grid-x > .medium-8 { width: 66.6666666667%; }
  .medium-text-left { text-align: left; }
}
@media screen and (min-width: 1024px) {
  .grid-x > .large-3 { width: 25%; }
  .grid-x > .large-9 { width: 75%; }
}
@media screen and (max-width: 639px) {
  .hide-for-small-only { display: none !important; }
}


/* ============================================================
   BLOCO 2 · main.css original
   ============================================================ */

/* =========================================
   RESET BÁSICO
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
ul, li { list-style: none; }
a { text-decoration: none; color: inherit; }

/* helper de acessibilidade usado no heading de JOBS */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* =========================================
   TIPOGRAFIA PADRÃO
   ========================================= */
body {
  background: #161616;
  color: #DEDEDE;
  font-family: boreal, sans-serif;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: fields-display, sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  color: #DEDEDE;
}
p, li, a, button, span {
  font-family: boreal, sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1rem;
  color: #DEDEDE;
}

/* =========================================
   UTILITÁRIOS
   ========================================= */
.grid-container { max-width: 80rem; padding-left: 1rem; padding-right: 1rem; margin: 0 auto; }
.bottom30 { margin-bottom: 30px; }
.bottom60 { margin-bottom: 60px; }
.top15 { margin-top: 15px; }
.top30 { margin-top: 30px; }
.m40 { margin: 40px 0; }
.pad { padding: 0 30px; }
.relative { position: relative; }
.bold { font-weight: 800; }

/* =========================================
   TÍTULOS GIGANTES (variáveis por seção)
   ========================================= */
.time-wrap  { --timeSize:  clamp(180px, 24vw, 420px); }
.jobs-wrap  { --jobsSize:  clamp(180px, 24vw, 420px); }
.casos-wrap { --casosSize: clamp(180px, 24vw, 376px); }

.time-bg,
.jobs-bg,
.casos-bg {
  display: block;
  margin: 0 auto;
  text-align: center;
  white-space: nowrap;
  font-family: fields-display, sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 0.85;
  color: #DEDEDE;
  pointer-events: none;
  user-select: none;
}
.time-bg  { font-size: var(--timeSize); }
.jobs-bg  { font-size: var(--jobsSize); }
.casos-bg { font-size: var(--casosSize); }

/* =========================================
   HERO
   ========================================= */
.di-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 240px 1fr; /* logo + texto */
  gap: 48px;
  align-items: center;
  margin: 0 auto;
}
.hero-content { max-width: 820px; }
.hero-logo {
  width: 240px;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: 0;
  align-self: flex-start; 
}
.hero-title {
  font-family: fields-display, sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #DEDEDE;
  line-height: 1.1;
  font-size: clamp(22px, 3.6vw, 34px);
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-title span {
  font-family: fields-display, sans-serif !important;
  font-weight: 600 !important;
  font-style: normal !important;
}
.hero-links { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-link {
  position: relative;
  display: inline-block;
  font-family: boreal, sans-serif;
  font-weight: 300;
  font-style: italic;
  color: #DEDEDE;
  font-size: 0.95rem;
  opacity: 0.9;
  padding-bottom: 8px;
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}
.hero-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: #DEDEDE;
  opacity: 0.9;
}
.hero-link:hover { color: #FFFFFF; opacity: 1; transform: translateY(-3px); }

/* =========================================
   TIME
   ========================================= */
.time-sec {
  position: relative;
  padding: 12vh 0 10vh;
  background: #161616;
}
.time-wrap { position: relative; padding-top: calc(var(--timeSize) * 0.05); }
.time-cards {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--timeSize) * -0.27); /* encosta nos pés do TIME */
  margin-bottom: 36px;
  align-items: flex-end;
}
.time-cards.grid-margin-x { margin-left: -0.5rem; margin-right: -0.5rem; }
.time-cards.grid-margin-x > .cell { padding-left: 0.5rem; padding-right: 0.5rem; }
@media (min-width: 1200px) {
  .time-cards.grid-margin-x { margin-left: -0.4rem; margin-right: -0.4rem; }
  .time-cards.grid-margin-x > .cell { padding-left: 0.4rem; padding-right: 0.4rem; }
}
.time-card { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.time-avatar {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  filter: grayscale(100%); 
  transition: transform .25s ease, filter .25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.time-card:hover .time-avatar { transform: translateY(-10px); filter: grayscale(0%); opacity: 1; }
.time-name {
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: 1rem; color: #DEDEDE;
}
.time-role {
  font-family: boreal, sans-serif; font-weight: 300; font-style: italic;
  font-size: .9rem; color: rgba(222,222,222,.85);
}
.time-sub {
  position: relative; z-index: 2; text-align: center;
  margin: 26px auto 32px; max-width: 820px;
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: clamp(18px, 2.2vw, 28px); line-height: 1.25; color: #DEDEDE;
}

/* =========================================
   JOBS
   ========================================= */
.jobs-sec {
  position: relative;
  padding: 12vh 0 10vh;
  background: #161616;
}
.jobs-wrap { position: relative; padding-top: calc(var(--jobsSize) * 0.05); }
.jobs-cards {
  position: relative;
  z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center;
  row-gap: 40px;                     /* espaço entre linhas */
  column-gap: clamp(40px, 6vw, 80px);/* espaço entre colunas */
  margin-top: calc(var(--jobsSize) * -0.20); /* encosta nos pés do JOBS */
  margin-bottom: 60px;
}
.jobs-cards .cell { flex: 0 1 180px; display: flex; justify-content: center; }

.job {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* círculo (container do logo) */
.job-card {
  background: #161616; z-index: 3;
  border: 2px solid rgba(222,222,222,.85);
  width: 170px; height: 170px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 6px; padding: 12px; text-align: center; color: #DEDEDE;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.job-card:hover { transform: translateY(-10px); border-color: #FFFFFF; box-shadow: 0 16px 40px rgba(0,0,0,.35); }

/* logo dentro do círculo */
.job-logo {
  width: 72%;
  max-width: 88%;
  height: auto;
  object-fit: contain;
  transform: translateZ(0);
}

/* legenda (lista) fora e abaixo do círculo */
.job-caption { text-align: center; margin-top: 6px; }
.job-list {
  font-family: boreal, sans-serif; font-weight: 300; font-style: italic;
  font-size: .85rem; line-height: 1.35; opacity: .95;
  text-align: center; max-width: 18em; margin: 0 auto; text-wrap: balance;
}
.job-list li + li { margin-top: 1px; }

/* =========================================
   CASOS
   ========================================= */
.casos-sec {
  position: relative;
  padding: 12vh 0 10vh;
  background: #161616;
}
.casos-wrap { position: relative; padding-top: calc(var(--casosSize) * 0.05); }
.casos-timeline {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--casosSize) * -0.27);
  padding-top: 20px;
}
.caso-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 24px 0 64px;
}
.caso-item::after {
  content: "";
  display: block; width: 1px; height: 180px;
  margin: 28px auto 0; background: rgba(222,222,222,.28);
  border-radius: 1px;
}
.caso-item:last-child::after { display: none; }
.caso-dot {
  background: #161616; border: 2px solid rgba(222,222,222,.85);
  width: 170px; height: 170px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 6px; padding: 10px; color: #DEDEDE;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform .25s ease, border-color .25s ease;
  z-index: 3;
  overflow: hidden; /* garante que o logo não vaze do círculo */
}
.caso-dot:hover { transform: translateY(-10px); border-color: #fff; }
.caso-desc {
  margin-top: 22px; max-width: 980px;
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: clamp(18px, 2.1vw, 28px); line-height: 1.25; color: #DEDEDE;
}

/* estrutura e logo nos casos */
.caso-block{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:14px;
}
.caso-logo{
  width:72%;
  max-width:88%;
  height:auto;
  object-fit:contain;
  transform:translateZ(0);
  filter:none;
}

/* =========================================
   DIZEM
   ========================================= */
.dizem-sec {
  position: relative;
  padding: 12vh 0 10vh;
  background: #161616;
}
.dizem-wrap {
  --dizemSize: clamp(180px, 24vw, 326px);
  position: relative; padding-top: calc(var(--dizemSize) * 0.05);
}
.dizem-bg {
  display: block; margin: 0 auto; text-align: center; white-space: nowrap;
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: var(--dizemSize); line-height: 0.85; color: #DEDEDE;
  pointer-events: none; user-select: none;
}
.dizem-list { position: relative; z-index: 2; margin-top: calc(var(--dizemSize) * -0.22); }
.dizem-item {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 12px 0 64px;
}
.dizem-item::after {
  content: ""; width: 1px; height: 180px; margin-top: 28px;
  background: rgba(222,222,222,.28); border-radius: 1px;
}
.dizem-item:last-child::after { display: none; }
.dizem-avatar {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  filter: grayscale(100%); opacity: .95; box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.dizem-id { margin-top: 10px; margin-bottom: 6px; }
.dizem-name {
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal; font-size: 1rem;
}
.dizem-role {
  font-family: boreal, sans-serif; font-weight: 300; font-style: italic; font-size: .8rem; opacity: .9;
}
.dizem-text {
  position: relative; padding-top: 20px; margin-top: 100px; max-width: 960px;
  font-family: boreal, sans-serif; font-weight: 300; font-style: italic;
  font-size: clamp(16px, 1.6vw, 18px); line-height: 1.7; color: rgba(222,222,222,.92);
  text-wrap: balance;
}
.dizem-text::before {
  content: "“"; position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: clamp(140px, 16vw, 220px); line-height: 1; color: #DEDEDE; opacity: .9;
  pointer-events: none; z-index: 1;
}
.dizem-quote { display: none !important; }

/* =========================================
   FALE (contato)
   ========================================= */
.fale-sec {
  position: relative; padding: 14vh 0 12vh;
  background: #161616; text-align: center;
}
.fale-wrap { position: relative; z-index: 2; }
.fale-bg {
  display: block; margin: 0 auto 40px;
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: clamp(120px, 20vw, 326px); line-height: 0.85; color: #DEDEDE;
  pointer-events: none; user-select: none;
}
.fale-text {
  margin: 0 auto 30px; max-width: 520px;
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: clamp(18px, 2vw, 30px); line-height: 1.5; color: #DEDEDE; text-wrap: balance;
}
.fale-btn {
  display: inline-block; padding: 10px 28px; margin-top: 10px;
  border: 1px solid #DEDEDE; border-radius: 30px;
  font-family: boreal, sans-serif; font-weight: 400; font-style: italic; font-size: 15px; color: #DEDEDE;
  text-decoration: none; transition: all 0.3s ease;
}
.fale-btn:hover { color: #fff; transform: translateY(-2px); }
.fale-content { margin-top: calc(var(--faleSize) * -0.20); }
.fale-divider { margin: 80px auto 0; width: 1px; height: 160px; background: rgba(222,222,222,.28); }

.company-address {
  margin: 40px auto 0;
  max-width: 680px;
  font-family: boreal, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(222,222,222,.82);
  text-wrap: balance;
}

/* =========================================
   FOOTER
   ========================================= */
.di-footer {
  background: #161616; text-align: center; position: relative;
}
.footer-wrap { display: flex; justify-content: center; }
.footer-logo { width: clamp(180px, 26vw, 240px); height: auto; opacity: .95; filter: grayscale(100%); }
.footer-divider { display: block; width: 1px; height: 220px; margin: 64px auto 0; background: rgba(222,222,222,.35); border-radius: 1px; }

/* =========================================
   DIVISOR GLOBAL (entre seções)
   ========================================= */
.section-divider {
  display: block;
  width: 1px;
  height: 215px;             /* altura ajustada */
  margin: 1vh auto 0;
  background: rgba(222,222,222,.35);
  border-radius: 1px;
}

/* =======================================================================
   RESPONSIVO — manter TUDO abaixo daqui
   ======================================================================= */
/* ===== JOBS: evitar órfão no desktop (3 colunas fixas) ===== */
@media screen and (min-width: 1025px){
  .jobs-cards{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    column-gap: clamp(40px, 4vw, 80px);
    row-gap: 40px;
    justify-items: center;
    margin-top: calc(var(--jobsSize) * -0.20); /* mantém seu respiro do título */
  }
  .jobs-cards .cell{
    /* neutraliza regras de flex da versão antiga */
    flex: initial !important;
    width: auto !important;
    justify-content: center;
  }
}

/* -------- Tablet ≤1024px -------- */
@media screen and (max-width: 1024px) {
  /* HERO */
  .hero-wrap { grid-template-columns: 200px 1fr; gap: 36px; }
  .hero-content { max-width: 720px; }

  /* TIME */
  .time-cards { margin-top: calc(var(--timeSize) * -0.26); }
  .time-avatar { width: 120px; height: 120px; }

  /* JOBS */
  .jobs-cards {
    row-gap: 32px;
    column-gap: clamp(32px, 6vw, 60px);
    margin-top: calc(var(--jobsSize) * -0.18);
    margin-bottom: 48px;
  }
  .job-card { width: 160px; height: 160px; }
  .job-logo { width: 74%; }
  .job-list { font-size: .82rem; max-width: 18em; }

  /* CASOS */
  .casos-timeline { margin-top: calc(var(--casosSize) * -0.20); }
  .caso-item { padding: 20px 0 56px; }
  .caso-item::after { height: 150px; margin-top: 24px; }

  /* DIZEM */
  .dizem-list { margin-top: calc(var(--dizemSize) * -0.20); }
  .dizem-item::after { height: 150px; }
}

/* -------- Mobile ≤767px -------- */
@media screen and (max-width: 767px) {
  /* HERO */
  .hero-wrap { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .hero-logo { margin: 0 auto 8px; width: 56vw; max-width: 280px; }
  .hero-content { max-width: 90vw; margin: 0 auto; }
  .hero-links { justify-content: center; gap: 18px; }

  /* menu do hero vertical + sublinhado central */
  .hero-logo { width: clamp(140px, 44vw, 220px); }
  .hero-links { flex-direction: column; align-items: center; gap: 12px; }
  .hero-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 0; }
  .hero-link::after { left: 50%; transform: translateX(-50%); width: 48px; }

  /* TIME — empilhado (sem slider) com divisores */
  .time-wrap  { --timeSize: clamp(120px, 20vw, 190px); }
  .time-cards { margin-top: calc(var(--timeSize) * -0.10); }
  .time-cards {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    overflow: visible !important;
    padding: 0 16px !important;
    scroll-snap-type: none !important;
    -webkit-overflow-scrolling: auto !important;
  }
  .time-cards.grid-margin-x { margin-left: 0 !important; margin-right: 0 !important; }
  .time-cards.grid-margin-x > .cell { padding-left: 0 !important; padding-right: 0 !important; }
  .time-cards > .cell {
    width: 100%;
    display: flex; justify-content: center;
    position: relative; padding: 20px 0 52px; /* respiro + espaço p/ divisor */
    text-align: center;
  }
  .time-cards > .cell::after {
    content: "";
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 1px; height: 120px; background: rgba(222,222,222,.28); border-radius: 1px;
  }
  .time-cards > .cell:last-child { padding-bottom: 0; }
  .time-cards > .cell:last-child::after { display: none; }
  .time-card { gap: 8px; }
  .time-avatar { width: 120px; height: 120px; }

  /* JOBS — grid 2 colunas; comportamento inteligente do “último” */
  .jobs-wrap { --jobsSize: clamp(96px, 17vw, 160px); }
  .jobs-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px; row-gap: 24px; justify-items: center;
    margin-top: 18px !important; /* separa do “JOBS” */
    margin-bottom: 28px;
  }
  .jobs-cards .cell { width: auto !important; }
  .job-card {
    width: clamp(130px, 40vw, 150px);
    height: clamp(130px, 40vw, 150px);
    border-radius: 50%;
    border-width: 1.5px;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
    gap: 6px;
    padding: 12px;
  }
  .job-logo { width: 78%; }
  .job-caption .job-list  { font-size: .78rem; line-height: 1.25; max-width: 20em; }

  /* regra base: NÃO expandir o último item */
  .jobs-cards .cell:last-child{
    grid-column: auto;
    justify-self: auto;
  }
  /* habilite a centralização do último quando desejar:
     adicione a classe jobs-cards--span-last ao container .jobs-cards */
  .jobs-cards.jobs-cards--span-last .cell:last-child{
    grid-column: 1 / -1;
    justify-self: center;
  }

  /* CASOS */
  .casos-wrap { --casosSize: clamp(110px, 18vw, 180px); }
  .casos-timeline { margin-top: calc(var(--casosSize) * -0.12); }
  .caso-item { padding: 16px 0 48px; }
  .caso-item::after { height: 120px; }
  .caso-desc { max-width: 90vw; }

  /* DIZEM */
  .dizem-wrap { --dizemSize: clamp(96px, 16vw, 150px); }
  .dizem-list { margin-top: calc(var(--dizemSize) * -0.10); }

  /* FALE */
  .fale-content { margin-top: calc(var(--faleSize) * -0.16); gap: 22px; }
  .fale-cta { height: 40px; padding: 0 18px; }
  .company-address { font-size: 0.88rem; padding: 0 16px; }

  /* FOOTER */
  .di-footer { padding: 10vh 0 7vh; }
  .footer-divider { height: 180px; margin-top: 56px; }

  /* Zera padding-top das seções no mobile */
  .time-sec, .jobs-sec, .casos-sec, .dizem-sec, .fale-sec { padding-top: 0; }

  /* FIX — .section-divider visível no mobile */
  .section-divider { position: relative; z-index: 5; display: block; margin-top: 24px; }
  .time-wrap, .jobs-wrap, .casos-wrap, .dizem-wrap, .fale-wrap { position: relative; z-index: 1; }

  /* MENU FLUTUANTE — esconder no mobile */
  .float-nav, .di-float-nav, .floating-nav, [data-floating-nav] { display: none !important; }
}



/* ============================================================
   BLOCO 3A · MENU · hamburguer + painel lateral
   (padrao portado do spep-site; unica navegacao do site)
   O painel abre por CSS: #toggle.on + #menu.
   ============================================================ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: 24px; }

/* alvo de toque de 44x44 (minimo recomendado); os tracos continuam
   com 30x24 no mesmo lugar visual de antes */
#toggle {
  position: fixed; top: 16px; right: 19px; z-index: 1002;
  display: block; width: 44px; height: 44px;
  padding: 10px 7px;
}
#toggle span { position: relative; display: block; top: 11px; }
#toggle span:before, #toggle span:after {
  content: ""; position: absolute; left: 0; top: -9px;
}
#toggle span:after { top: 9px; }
#toggle span, #toggle span:before, #toggle span:after {
  width: 100%; height: 2px; background-color: #DEDEDE;
  border-radius: 2px; transition: all .3s; backface-visibility: hidden;
}
#toggle:hover span, #toggle:hover span:before, #toggle:hover span:after { background-color: #fff; }
#toggle.on span { background-color: transparent; }
#toggle.on span:before { transform: rotate(45deg) translate(6px, 6px); }
#toggle.on span:after { transform: rotate(-45deg) translate(7px, -7px); }

#toggle.on + #menu.di-drawer { transform: translateX(0); visibility: visible; }

#menu.di-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; left: auto;
  width: 340px; max-width: 86vw; height: 100%;
  margin: 0; padding: 0;
  background: #191919;
  border-left: 1px solid rgba(222,222,222,.16);
  box-shadow: -12px 0 40px rgba(0,0,0,.5);
  text-align: left; z-index: 1001;
  transform: translateX(100%);
  transition: transform .35s ease-in-out, visibility .35s;
  visibility: hidden;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}

.di-drawer-topo { padding: 18px 26px; border-bottom: 1px solid rgba(222,222,222,.14); }
.di-drawer-topo img { height: 38px; width: auto; display: block; }
#menu.di-drawer .di-drawer-marca { display: inline-block; padding: 0; border: none; background: none; }

.di-drawer-corpo { padding: 12px 0 24px; }
.di-drawer-grupo + .di-drawer-grupo,
.di-drawer-corpo > ul + .di-drawer-grupo { border-top: 1px solid rgba(222,222,222,.12); margin-top: 10px; padding-top: 12px; }
.di-drawer-titulo {
  display: block;
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px;
  color: rgba(222,222,222,.5);
  padding: 0 26px 6px;
}
#menu.di-drawer a {
  display: block;
  font-family: boreal, sans-serif; font-weight: 300; font-style: italic;
  font-size: .93rem; color: rgba(222,222,222,.88);
  padding: 8px 26px;
  border-left: 2px solid transparent;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
#menu.di-drawer a:hover { color: #fff; background: rgba(255,255,255,.04); border-left-color: rgba(222,222,222,.85); }
#menu.di-drawer a[aria-current="page"] {
  color: #fff; background: rgba(255,255,255,.05);
  border-left-color: #DEDEDE;
}

#menu.di-drawer .di-drawer-cta { margin: 18px 26px 0; }
#menu.di-drawer .di-drawer-cta a {
  border: 1px solid #DEDEDE; border-radius: 30px;
  text-align: center; padding: 12px 18px;
  transition: all .3s ease;
}
#menu.di-drawer .di-drawer-cta a:hover { color: #fff; transform: translateY(-2px); background: none; }

.di-drawer-pe {
  margin-top: 26px; padding: 20px 26px 0;
  border-top: 1px solid rgba(222,222,222,.12);
  font-size: .82rem; font-style: normal;
  color: rgba(222,222,222,.6); line-height: 1.7;
}

.di-drawer-fundo {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease-in-out, visibility .35s;
  z-index: 1000; border: none; padding: 0; margin: 0; cursor: pointer;
}
.di-drawer-fundo.di-aberto { opacity: 1; visibility: visible; }
body.di-travado { overflow: hidden; }

/* mobile: endereço sai do painel (já está no FALE de toda página) */
@media screen and (max-width: 767px) {
  .di-drawer-pe { display: none; }
}

/* ============================================================
   BLOCO 3B · PAGINAS INTERNAS DE SERVICO
   Mesmo ritmo da home: hero com logo ao lado do H1, secoes com
   titulo gigante centralizado, conteudo centrado e divisores
   verticais entre blocos.
   ============================================================ */

/* hero da home reaproveitado; aqui o titulo tem um paragrafo
   embaixo, entao volta a ter respiro */
.hero-title { margin-bottom: 0; }
.pg-di-hero .hero-title { margin-bottom: 20px; }
.pg-sub {
  max-width: 720px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: rgba(222,222,222,.92);
}

/* secao centralizada com titulo gigante (eco de TIME/JOBS/CASOS) */
.pg-sec-c { position: relative; padding: 10vh 0 8vh; background: #161616; }
.pg-wrap { position: relative; --pgSize: clamp(120px, 20vw, 326px); padding-top: calc(var(--pgSize) * 0.05); }
.pg-bg {
  display: block; margin: 0 auto; text-align: center; white-space: nowrap;
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: var(--pgSize); line-height: 0.85; color: #DEDEDE;
  pointer-events: none; user-select: none;
}

/* lista de entregas: um item por linha, empilhado e centrado,
   no ritmo vertical da home (respiro apos o titulo gigante) */
.pg-entregas {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; max-width: 900px;
  margin: 44px auto 0;
}
.pg-entregas li {
  border: 1px solid rgba(222,222,222,.5);
  border-radius: 30px;
  padding: 10px 24px;
  font-size: .95rem;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.pg-entregas li:hover { border-color: #fff; transform: translateY(-2px); }

/* passos de trabalho: um por linha, centrado, com divisor fino
   entre eles (eco da timeline de CASOS da home) */
.pg-passos {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
}
.pg-passo { padding: 6px 0 0; }
.pg-passo::after {
  content: ""; display: block;
  width: 1px; height: 90px;
  margin: 30px auto;
  background: rgba(222,222,222,.28); border-radius: 1px;
}
.pg-passo:last-child::after { display: none; }
.pg-passo-num {
  font-family: fields-display, sans-serif; font-weight: 600; font-style: normal;
  font-size: clamp(44px, 5vw, 64px); line-height: 1; color: rgba(222,222,222,.45);
  margin-bottom: 12px;
}
.pg-passo h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pg-passo p { font-size: .95rem; line-height: 1.65; color: rgba(222,222,222,.85); max-width: 640px; }

/* caso em destaque: mesmo desenho da secao CASOS da home,
   com o circulo-logo linkando pro projeto */
.pg-caso {
  position: relative; z-index: 2;
  text-align: center; max-width: 900px;
  margin: 44px auto 0;
}
.pg-caso .caso-desc { margin: 22px auto 0; }
.pg-caso .caso-dot a {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
/* divisor entre dois cases na mesma secao (eco da timeline da home) */
.pg-caso-sep {
  display: block; width: 1px; height: 120px;
  margin: 44px auto;
  background: rgba(222,222,222,.28); border-radius: 1px;
}
.pg-caso-fonte { display: block; margin-top: 14px; font-size: .85rem; opacity: .75; }

/* fechamento: texto centrado, ritmo do time-sub da home */
.pg-fim { max-width: 820px; margin: 0 auto; text-align: center; }
.pg-fim .pg-text { margin: 0 auto 18px; }
.pg-text { max-width: 760px; line-height: 1.75; color: rgba(222,222,222,.92); }
.pg-text strong { font-weight: 400; font-family: fields-display, sans-serif; font-style: normal; }

/* veja tambem: os outros servicos como pilulas, mesma linguagem
   das entregas e do botao do FALE (nada de link solto em texto) */
.pg-veja { margin: 44px auto 0; text-align: center; }
.pg-veja-titulo {
  display: block;
  font-size: 1rem;
  color: rgba(222,222,222,.92);
  margin-bottom: 16px;
}
.pg-veja-links { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pg-veja-links a {
  display: inline-block;
  border: 1px solid rgba(222,222,222,.6);
  border-radius: 30px;
  padding: 10px 24px;
  font-size: .95rem;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.pg-veja-links a:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }

/* divisor das secoes internas segue o .section-divider do main.css */

@media screen and (max-width: 767px) {
  .pg-sec-c { padding-top: 0; }
  .pg-wrap { --pgSize: clamp(96px, 17vw, 160px); }
  .pg-entregas { margin-top: 28px; }
  .pg-passos { margin-top: 28px; }
  .pg-passo::after { height: 70px; margin: 24px auto; }
  .pg-caso { margin-top: 28px; }
  .pg-di-hero .hero-title { margin-bottom: 14px; }
  .pg-sub { margin: 0 auto; }
}
