/* Akili Design — camada de estabilidade WordPress/Elementor
 * Corrige wrappers técnicos, cards, cases e responsividade sem alterar conteúdo.
 */

/* Wrappers criados para manter widgets HTML dentro de uma raiz válida do Elementor. */
.elementor .e-con.akili-elementor-root-wrapper,
.elementor .e-con.skip-link-elementor-wrapper,
.elementor .e-con.header-elementor-wrapper,
.elementor .e-con.case-header-elementor-wrapper {
  --width: 100%;
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
  width: 100%;
  max-width: none !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}
.elementor .e-con.skip-link-elementor-wrapper {
  height: 0;
  overflow: visible;
  position: relative;
  z-index: 1000;
}
.elementor .e-con.header-elementor-wrapper > .elementor-widget,
.elementor .e-con.case-header-elementor-wrapper > .elementor-widget {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.elementor .e-con.header-elementor-wrapper header,
.elementor .e-con.case-header-elementor-wrapper header {
  width: 100%;
}

/* Header principal e headers internos. */
header.site-header {
  width: 100%;
}
.archive-page header.legal-header,
.legal-page header.legal-header {
  width: 100%;
}
.elementor-editor-active .header-elementor-wrapper {
  min-height: 72px;
}
.elementor-editor-active header.site-header {
  position: relative !important;
}

/* Portfólio: uma única lógica de grade e de proporção de imagem. */
.project-grid,
.elementor .project-grid,
.portfolio-archive .project-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: stretch;
  gap: 24px !important;
}
.project-card,
.elementor .project-card,
.portfolio-archive .project-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  overflow: hidden;
  background: #191919 !important;
  background-image: none !important;
  border-radius: 14px;
}
.project-card-media,
.elementor .project-card-media,
.portfolio-archive .project-card-media {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden;
  padding: 0;
  background: #f5f2ec;
}
.project-card-media img,
.elementor .project-card-media img,
.portfolio-archive .project-card-media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  padding: clamp(8px, .85vw, 14px) !important;
  object-fit: contain !important;
  object-position: center !important;
}
.project-card-body,
.elementor .project-card-body,
.portfolio-archive .project-card-body {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px !important;
}
.project-card-body .project-link,
.elementor .project-card-body .project-link {
  margin-top: auto;
  padding-top: 18px;
}

/* Cases: conteúdo legível, imagens sem crop e galeria coerente. */
.case-page .case-nav,
.elementor .case-nav {
  width: 100%;
}
.case-page .case-header,
.elementor .case-header {
  width: 100%;
}
.case-page .case-header-inner,
.elementor .case-header-inner {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.case-page .case-body,
.elementor .case-body {
  width: min(1200px, 100%);
  margin-inline: auto;
}
.case-page .case-visual,
.elementor .case-visual {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
  overflow: hidden;
}
.case-page .case-visual img,
.elementor .case-visual img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 680px !important;
  object-fit: contain !important;
  object-position: center !important;
}
.case-page .case-gallery,
.elementor .case-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 24px !important;
}
.case-page .case-gallery > figure,
.elementor .case-gallery > .e-con {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.case-page .case-gallery img,
.elementor .case-gallery img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 640px !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Footer: evita que widgets do Elementor criem larguras e gaps inesperados. */
.elementor .footer {
  width: 100%;
}
.elementor .footer-lead,
.elementor .footer-links,
.elementor .footer-legal {
  width: min(1200px, 100%);
}
.elementor .footer-links > .elementor-widget,
.elementor .footer-legal > .elementor-widget {
  min-width: 0;
}

@media (max-width: 1000px) {
  .project-grid,
  .elementor .project-grid,
  .portfolio-archive .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .case-page .case-gallery,
  .elementor .case-gallery {
    grid-template-columns: 1fr !important;
  }
  .case-page .case-header-inner,
  .elementor .case-header-inner,
  .case-page .case-visual,
  .elementor .case-visual {
    width: min(100% - 32px, 1200px);
  }
}

@media (max-width: 600px) {
  .project-grid,
  .elementor .project-grid,
  .portfolio-archive .project-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .project-card-media,
  .elementor .project-card-media,
  .portfolio-archive .project-card-media {
    aspect-ratio: 4 / 3 !important;
  }
  .project-card-body,
  .elementor .project-card-body,
  .portfolio-archive .project-card-body {
    padding: 20px !important;
  }
  .case-page .case-header-inner,
  .elementor .case-header-inner,
  .case-page .case-visual,
  .elementor .case-visual {
    width: calc(100% - 24px);
  }
}

/* V5 — revisão UX/UI editorial: menos grade, mais narrativa e leitura. */
html { scroll-behavior: smooth; }
.elementor [id] { scroll-margin-top: 96px; }

/* 01 — composição tipográfica limpa, sem imagem decorativa. */
.elementor .who-image,
.elementor .about-editorial-image,
.elementor .solutions .section-editorial-image,
.elementor .social-editorial-image { display:none !important; }
.elementor .e-con.who-grid.akili-native-container {
  display:block !important;
  width:min(100%, 980px) !important;
  max-width:980px !important;
  margin:36px 0 0 !important;
}
.elementor .who-grid > .elementor-widget,
.elementor .who-grid > .e-con {
  width:100% !important;
  max-width:900px !important;
  margin:0 0 26px !important;
}
.elementor .who-grid p { max-width:72ch; line-height:1.7; }

/* Projetos — índice editorial alternado, não galeria. */
.elementor .project-grid,
.portfolio-archive .project-grid {
  display:block !important;
  width:100% !important;
  max-width:1280px !important;
  margin:42px auto 0 !important;
}
.elementor .project-grid > *,
.portfolio-archive .project-grid > * { width:100% !important; margin:0 !important; }
.elementor .project-card,
.portfolio-archive .project-card {
  display:grid !important;
  grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr) !important;
  gap:clamp(30px,5vw,72px) !important;
  align-items:center !important;
  min-height:0 !important;
  padding:42px 0 !important;
  border:0 !important;
  border-top:1px solid rgba(15,15,15,.18) !important;
  background:transparent !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
.elementor .project-grid > *:nth-child(even) .project-card .project-card-media,
.portfolio-archive .project-grid > *:nth-child(even) .project-card .project-card-media { grid-column:2; grid-row:1; }
.elementor .project-grid > *:nth-child(even) .project-card .project-card-body,
.portfolio-archive .project-grid > *:nth-child(even) .project-card .project-card-body { grid-column:1; grid-row:1; }
.elementor .project-card-media,
.portfolio-archive .project-card-media {
  position:relative !important;
  width:100% !important;
  height:auto !important;
  aspect-ratio:16/10 !important;
  overflow:hidden !important;
  border-radius:18px !important;
  background:#f04a16 !important;
}
.elementor .project-card-media::after,
.portfolio-archive .project-card-media::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(240,74,22,.52),rgba(112,44,20,.16));
  mix-blend-mode:multiply;
  pointer-events:none;
  transition:opacity .3s ease;
}
.elementor .project-card-media img,
.portfolio-archive .project-card-media img {
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  padding:0 !important;
  object-fit:cover !important;
  filter:grayscale(.65) contrast(.96) !important;
  transition:filter .3s ease,transform .45s ease !important;
}
.elementor .project-card:hover .project-card-media::after,
.portfolio-archive .project-card:hover .project-card-media::after { opacity:.22; }
.elementor .project-card:hover img,
.portfolio-archive .project-card:hover img { filter:grayscale(0) contrast(1) !important; transform:scale(1.02); }
.elementor .project-card-body,
.portfolio-archive .project-card-body {
  padding:0 !important;
  gap:14px !important;
  background:transparent !important;
}
.elementor .project-card-body h3,
.portfolio-archive .project-card-body h3 {
  font-size:clamp(2rem,3.8vw,4.15rem) !important;
  line-height:1.02 !important;
  letter-spacing:-.04em !important;
  margin:0 !important;
}
.elementor .project-card-body p,
.portfolio-archive .project-card-body p { font-size:.82rem !important; letter-spacing:.08em !important; text-transform:uppercase; }

/* Conhecimento — um destaque + índice editorial, não grid de blog. */
.elementor .article-grid.akili-dynamic-articles {
  display:block !important;
  width:100% !important;
  max-width:1200px !important;
  margin:52px auto 0 !important;
}
.elementor .akili-dynamic-articles .article-card {
  min-height:0 !important;
  border:0 !important;
  border-top:1px solid rgba(15,15,15,.18) !important;
  background:transparent !important;
  padding:30px 0 !important;
  box-shadow:none !important;
}
.elementor .akili-dynamic-articles .article-card:first-child {
  display:grid !important;
  grid-template-columns:minmax(280px,.88fr) minmax(0,1.12fr) !important;
  gap:clamp(30px,5vw,64px) !important;
  align-items:center !important;
  padding:0 0 48px !important;
  border-top:0 !important;
}
.elementor .akili-dynamic-articles .article-card:first-child .article-image-link {
  display:block !important;
  aspect-ratio:16/10 !important;
  border-radius:18px !important;
  overflow:hidden !important;
}
.elementor .akili-dynamic-articles .article-card:first-child img { width:100% !important; height:100% !important; object-fit:cover !important; }
.elementor .akili-dynamic-articles .article-card:not(:first-child) .article-image-link { display:none !important; }
.elementor .akili-dynamic-articles .article-card:not(:first-child) .article-card-copy {
  display:grid !important;
  grid-template-columns:minmax(150px,.26fr) minmax(0,1fr) auto !important;
  gap:24px !important;
  align-items:baseline !important;
}
.elementor .akili-dynamic-articles .article-card:not(:first-child) .article-meta { grid-column:1; margin:0 !important; }
.elementor .akili-dynamic-articles .article-card:not(:first-child) h3 { grid-column:2; margin:0 !important; font-size:clamp(1.45rem,2.3vw,2.5rem) !important; }
.elementor .akili-dynamic-articles .article-card:not(:first-child) .article-card-copy > p:not(.article-meta) { display:none !important; }
.elementor .akili-dynamic-articles .article-card:not(:first-child) .text-link { grid-column:3; white-space:nowrap; }
.elementor .akili-dynamic-articles .article-card:first-child h3 { font-size:clamp(2rem,3.2vw,3.4rem) !important; line-height:1.08 !important; }
.elementor .articles .section-intro { max-width:900px; }

/* Newsletter — pausa editorial de conversão. */
.newsletter-panel {
  width:min(100%,1200px);
  margin:64px auto 0;
  padding:clamp(32px,5vw,64px);
  background:#111;
  color:#fff;
  border-radius:24px;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:clamp(28px,5vw,64px);
  align-items:end;
}
.newsletter-panel .section-number { color:#f04a16; }
.newsletter-panel h3 { margin:8px 0 14px; font-family:var(--title); font-size:clamp(2rem,3.2vw,3.5rem); line-height:1.04; }
.newsletter-panel p { color:rgba(255,255,255,.78); line-height:1.65; }
.newsletter-form { display:grid; gap:14px; }
.newsletter-form input[type="email"] { width:100%; min-height:54px; padding:0 16px; border:1px solid rgba(255,255,255,.35); background:transparent; color:#fff; border-radius:10px; }
.newsletter-form .newsletter-consent { display:flex; gap:10px; align-items:flex-start; font-size:.84rem; color:rgba(255,255,255,.68); }
.newsletter-form button { min-height:52px; border:0; border-radius:999px; padding:0 22px; background:#f04a16; color:#fff; font-weight:700; cursor:pointer; }
.newsletter-status { min-height:1.3em; font-size:.9rem; }

/* Equipe — foto acima; links discretos e consistentes. */
.elementor .team-photo.akili-native-container { display:block !important; width:100% !important; height:auto !important; aspect-ratio:16/9 !important; max-height:260px !important; margin:0 0 22px !important; overflow:hidden; border-radius:14px; background:#111; }
.elementor .team-photo img { width:100% !important; height:100% !important; object-fit:cover !important; }
.elementor .team-social.akili-native-container { display:flex !important; flex-direction:row !important; gap:16px !important; margin-top:20px; }
.elementor .team-social a { text-decoration:none; border-bottom:1px solid currentColor; }

@media (max-width:900px) {
  .elementor .project-card,
  .portfolio-archive .project-card,
  .elementor .akili-dynamic-articles .article-card:first-child { grid-template-columns:1fr !important; }
  .elementor .project-grid > *:nth-child(even) .project-card .project-card-media,
  .elementor .project-grid > *:nth-child(even) .project-card .project-card-body,
  .portfolio-archive .project-grid > *:nth-child(even) .project-card .project-card-media,
  .portfolio-archive .project-grid > *:nth-child(even) .project-card .project-card-body { grid-column:1 !important; grid-row:auto !important; }
  .elementor .akili-dynamic-articles .article-card:not(:first-child) .article-card-copy { grid-template-columns:1fr auto !important; }
  .elementor .akili-dynamic-articles .article-card:not(:first-child) .article-meta { grid-column:1/-1; }
  .elementor .akili-dynamic-articles .article-card:not(:first-child) h3 { grid-column:1; }
  .elementor .akili-dynamic-articles .article-card:not(:first-child) .text-link { grid-column:2; }
  .newsletter-panel { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .elementor .akili-dynamic-articles .article-card:not(:first-child) .article-card-copy { display:block !important; }
  .elementor .akili-dynamic-articles .article-card:not(:first-child) .text-link { display:inline-block; margin-top:16px; }
  .newsletter-panel { margin-top:42px; padding:28px 22px; border-radius:18px; }
}

/* V5.1 — alinhamento da prévia com a revisão live */
#inicio,#solucoes,#metodo,#projetos,#artigos,#newsletter,#sobre,#diagnostico { scroll-margin-top:110px !important; }
.elementor .who .section-intro,.elementor .who .who-grid { width:min(1120px,100%) !important; max-width:1120px !important; margin-inline:auto !important; }
.elementor .who .section-intro { display:flex !important; flex-direction:column !important; gap:26px !important; }
.elementor .who #who-title { max-width:940px !important; }
.elementor .who .section-intro > .elementor-widget:last-child,.elementor .who .who-copy { width:min(760px,100%) !important; margin-left:auto !important; margin-right:0 !important; }
.elementor .who .who-grid { display:block !important; margin-top:28px !important; }
.elementor .who-image,.elementor .solutions .section-editorial-image,.elementor .social-editorial-image { display:none !important; }

.elementor #projetos .project-grid { display:block !important; counter-reset:akili-case; }
.elementor #projetos .project-card { counter-increment:akili-case; position:relative !important; display:grid !important; grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr) !important; gap:clamp(34px,6vw,88px) !important; align-items:center !important; padding:54px 0 !important; border:0 !important; border-top:1px solid rgba(255,255,255,.28) !important; background:transparent !important; border-radius:0 !important; }
.elementor #projetos .project-card::before { content:counter(akili-case,decimal-leading-zero); position:absolute; top:58px; right:0; font-size:13px; letter-spacing:.14em; color:rgba(255,255,255,.55); }
.elementor #projetos .project-card > .elementor-widget:nth-child(1) { grid-column:1; grid-row:1; }
.elementor #projetos .project-card > .elementor-widget:nth-child(2) { grid-column:2; grid-row:1; }
.elementor #projetos .project-card:nth-child(even) > .elementor-widget:nth-child(1) { grid-column:2; }
.elementor #projetos .project-card:nth-child(even) > .elementor-widget:nth-child(2) { grid-column:1; }
.elementor #projetos .project-card:nth-child(n+7) { display:none !important; }
.elementor #projetos .project-card-body { padding:0 42px 0 0 !important; background:transparent !important; }
.elementor #projetos .project-card:nth-child(even) .project-card-body { padding:0 0 0 42px !important; }

.elementor #newsletter { background:#f23d0c !important; color:#090909 !important; }
.elementor #newsletter .newsletter-copy,.elementor #newsletter .elementor-widget-html { width:min(1160px,100%) !important; margin-inline:auto !important; }
.elementor #newsletter .newsletter-copy { gap:22px !important; }
.elementor #newsletter .newsletter-copy .elementor-heading-title { max-width:1000px !important; color:#090909 !important; font-size:clamp(2.4rem,5vw,5.2rem) !important; line-height:.96 !important; letter-spacing:-.045em !important; }
.elementor #newsletter .newsletter-copy p { max-width:720px !important; color:#090909 !important; }
.elementor #newsletter .newsletter-form { margin-top:42px !important; max-width:860px !important; }
.elementor #newsletter .newsletter-row { display:grid !important; grid-template-columns:minmax(0,1fr) auto !important; gap:12px !important; }
.elementor #newsletter input[type=email] { min-height:58px !important; padding:0 18px !important; border:2px solid #090909 !important; border-radius:0 !important; background:#fff !important; color:#090909 !important; }
.elementor #newsletter .newsletter-submit { min-height:58px !important; padding:0 26px !important; border:2px solid #090909 !important; border-radius:0 !important; background:#090909 !important; color:#fff !important; font-weight:700 !important; }
.elementor #newsletter .newsletter-consent { display:flex !important; align-items:flex-start !important; gap:10px !important; margin-top:14px !important; max-width:720px !important; font-size:.88rem !important; }

.elementor .team-card { padding:34px 0 !important; border:0 !important; border-top:1px solid rgba(9,9,9,.16) !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.elementor .team-photo { width:140px !important; max-width:140px !important; height:120px !important; min-height:120px !important; aspect-ratio:auto !important; border-radius:0 !important; }
.elementor .team-social { display:flex !important; flex-direction:row !important; flex-wrap:wrap !important; gap:18px !important; }
.elementor .team-social a { display:inline-block !important; color:#090909 !important; font-weight:700 !important; border-bottom:1px solid currentColor !important; }

@media (max-width:900px) {
 .elementor .who .section-intro > .elementor-widget:last-child,.elementor .who .who-copy { width:100% !important; margin-left:0 !important; }
 .elementor #projetos .project-card,.elementor #projetos .project-card:nth-child(even) { grid-template-columns:1fr !important; gap:24px !important; }
 .elementor #projetos .project-card > .elementor-widget:nth-child(1),.elementor #projetos .project-card > .elementor-widget:nth-child(2),.elementor #projetos .project-card:nth-child(even) > .elementor-widget:nth-child(1),.elementor #projetos .project-card:nth-child(even) > .elementor-widget:nth-child(2) { grid-column:1 !important; grid-row:auto !important; }
 .elementor #projetos .project-card-body,.elementor #projetos .project-card:nth-child(even) .project-card-body { padding:0 !important; }
}
@media (max-width:620px) { .elementor #newsletter .newsletter-row { grid-template-columns:1fr !important; } .elementor #newsletter .newsletter-submit { width:100% !important; } }

/* V6 — refinamento visual após validação: alinhamento, imagens, equipe, rodapé e leitura editorial. */

/* 01 — uma coluna editorial real, sem deslocamentos herdados das versões anteriores. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .e-con.who.section.akili-native-container {
  display:block !important;
  grid-template-columns:none !important;
  grid-template-rows:none !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .section-intro {
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:24px !important;
  width:min(1120px,100%) !important;
  max-width:1120px !important;
  margin:0 auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .section-intro > .elementor-widget {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who #who-title {
  width:min(100%,980px) !important;
  max-width:980px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .section-intro > .elementor-widget:last-child {
  width:min(100%,860px) !important;
  max-width:860px !important;
  margin:10px 0 0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .who-grid {
  display:block !important;
  width:min(1120px,100%) !important;
  max-width:1120px !important;
  margin:34px auto 0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy {
  display:flex !important;
  flex-direction:column !important;
  gap:24px !important;
  width:min(100%,860px) !important;
  max-width:860px !important;
  margin:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy > .elementor-widget { width:100% !important; margin:0 !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy p,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .section-intro p { line-height:1.72 !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who-image { display:none !important; }

/* Portfólio — imagem tratada como peça editorial, nunca como thumbnail de galeria. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-grid { max-width:1320px !important; margin-inline:auto !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card {
  grid-template-columns:minmax(0,1.04fr) minmax(340px,.96fr) !important;
  gap:clamp(42px,6vw,88px) !important;
  padding:64px 0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-media {
  display:grid !important;
  place-items:center !important;
  width:100% !important;
  min-height:0 !important;
  max-height:480px !important;
  aspect-ratio:16/10 !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:18px !important;
  background:#0b0b0b !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-media img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-height:480px !important;
  padding:clamp(16px,2.4vw,34px) !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:none !important;
  transform:none !important;
  box-sizing:border-box !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-media::after { opacity:.26 !important; mix-blend-mode:soft-light !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card:hover .project-card-media::after { opacity:.08 !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-body { max-width:560px !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-body h3 { font-size:clamp(2.5rem,4.1vw,4.6rem) !important; line-height:.98 !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-body p { max-width:46ch !important; line-height:1.6 !important; }

/* Centro de Conhecimento — imagens mais equilibradas no destaque. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #artigos .akili-dynamic-articles .article-card:first-child .article-image-link {
  max-height:440px !important;
  background:#ece7de !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #artigos .akili-dynamic-articles .article-card:first-child .article-image-link img {
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}

/* Sócios — fotos com presença e redes realmente separadas. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:clamp(36px,5vw,72px) !important;
  align-items:start !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-card {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:0 !important;
  padding:34px 0 42px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card .team-photo {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:16/9 !important;
  margin:0 0 26px !important;
  border-radius:18px !important;
  background-color:#101010 !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  overflow:hidden !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card:nth-child(1) .team-photo { background-position:center 38% !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card:nth-child(2) .team-photo { background-position:center 30% !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-photo-placeholder span { opacity:0 !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-card > .e-con:not(.team-photo) { width:100% !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-social,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-social .elementor-widget-text-editor,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-social .elementor-widget-container {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  align-items:center !important;
  width:auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-social a {
  display:inline-flex !important;
  align-items:center !important;
  min-height:38px !important;
  padding:8px 13px !important;
  border:1px solid rgba(9,9,9,.42) !important;
  border-radius:999px !important;
  color:#090909 !important;
  font-size:.9rem !important;
  font-weight:700 !important;
  line-height:1 !important;
  text-decoration:none !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-social a::after { content:"↗"; margin-left:6px; font-size:.82em; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-social a:hover,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-social a:focus-visible { background:#090909 !important; color:#fff !important; border-color:#090909 !important; }

/* Rodapé — hierarquia limpa em três níveis. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer {
  padding:72px clamp(22px,6vw,88px) 30px !important;
  background:#f23d0c !important;
  color:#090909 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-lead {
  display:grid !important;
  grid-template-columns:minmax(170px,240px) minmax(0,1fr) !important;
  gap:clamp(34px,5vw,72px) !important;
  align-items:end !important;
  width:min(1240px,100%) !important;
  max-width:1240px !important;
  margin:0 auto !important;
  padding:0 0 48px !important;
  border-bottom:1px solid rgba(9,9,9,.38) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-lead img {
  width:190px !important;
  max-width:100% !important;
  height:auto !important;
  max-height:90px !important;
  object-fit:contain !important;
  object-position:left bottom !important;
  filter:brightness(0) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-lead p {
  max-width:780px !important;
  margin:0 !important;
  font-size:clamp(2rem,3.6vw,4rem) !important;
  line-height:1.04 !important;
  letter-spacing:-.04em !important;
  color:#090909 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-links {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:0 36px !important;
  width:min(1240px,100%) !important;
  max-width:1240px !important;
  margin:0 auto !important;
  padding:28px 0 !important;
  border-top:0 !important;
  border-bottom:1px solid rgba(9,9,9,.38) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-links > .elementor-widget { width:100% !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-links a {
  display:block !important;
  padding:9px 0 !important;
  color:#090909 !important;
  font-size:.96rem !important;
  font-weight:700 !important;
  text-decoration:none !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-links a:hover,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-links a:focus-visible { text-decoration:underline !important; text-underline-offset:.28em !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-legal {
  display:grid !important;
  grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr) !important;
  gap:32px !important;
  width:min(1240px,100%) !important;
  max-width:1240px !important;
  margin:0 auto !important;
  padding-top:24px !important;
  border-top:0 !important;
  font-size:.82rem !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-legal > .elementor-widget:last-child { justify-self:end !important; max-width:700px !important; text-align:right !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-legal small { opacity:.76 !important; }

/* Leitura dos artigos — newsletter, artigo relacionado e links contextuais automáticos. */
.article-content.akili-native-article-content { max-width:860px !important; }
.article-context-link {
  color:inherit !important;
  text-decoration-line:underline !important;
  text-decoration-color:#f23d0c !important;
  text-decoration-thickness:2px !important;
  text-underline-offset:.18em !important;
}
.article-context-link:hover,.article-context-link:focus-visible { color:#c9320a !important; }
.article-inline-newsletter,
.article-related-box {
  width:min(1040px,calc(100vw - 40px));
  max-width:1040px;
  margin:clamp(44px,7vw,70px) 0 clamp(44px,7vw,70px) 50%;
  transform:translateX(-50%);
  box-sizing:border-box;
}
.article-box-kicker {
  display:block;
  margin-bottom:10px;
  font:700 .78rem/1.2 var(--title);
  letter-spacing:.13em;
  text-transform:uppercase;
}
.article-inline-newsletter {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:clamp(30px,5vw,64px);
  align-items:end;
  padding:clamp(30px,5vw,58px);
  background:#f23d0c;
  color:#090909;
  border-radius:22px;
}
.article-inline-newsletter h3 {
  margin:0 0 14px;
  font:700 clamp(2rem,3.3vw,3.5rem)/1.02 var(--title);
  letter-spacing:-.04em;
}
.article-inline-newsletter p { margin:0; color:#090909; line-height:1.62; }
.article-newsletter-form { display:grid; gap:14px; }
.article-newsletter-form .newsletter-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.article-newsletter-form input[type=email] {
  min-height:54px;
  padding:0 15px;
  border:2px solid #090909;
  border-radius:0;
  background:#fff;
  color:#090909;
}
.article-newsletter-form button {
  min-height:54px;
  padding:0 20px;
  border:2px solid #090909;
  border-radius:0;
  background:#090909;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.article-newsletter-form .newsletter-consent { display:flex; gap:9px; align-items:flex-start; font-size:.79rem; line-height:1.45; }
.article-newsletter-form .newsletter-consent input { margin-top:.18em; }
.article-newsletter-form .newsletter-status { min-height:1.2em; font-size:.86rem; }
.article-related-box {
  display:grid;
  grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);
  gap:0;
  overflow:hidden;
  background:#111;
  color:#fff;
  border-radius:22px;
}
.article-related-media { display:block; min-height:100%; background:#090909; }
.article-related-media img { display:block; width:100%; height:100%; min-height:280px; object-fit:cover; object-position:center; }
.article-related-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(28px,4vw,50px); }
.article-related-copy .article-box-kicker { color:#f23d0c; }
.article-related-copy h3 { margin:0 0 14px; font:700 clamp(1.8rem,3vw,3rem)/1.06 var(--title); letter-spacing:-.035em; }
.article-related-copy h3 a { color:#fff; text-decoration:none; }
.article-related-copy p { margin:0 0 22px; color:#d8d8d8; line-height:1.6; }
.article-related-copy .text-link { color:#fff; align-self:flex-start; }

@media (max-width:900px) {
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card { grid-template-columns:1fr !important; padding:48px 0 !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-media { max-height:none !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid { grid-template-columns:1fr !important; gap:24px !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card .team-photo { aspect-ratio:16/8 !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-lead { grid-template-columns:1fr !important; align-items:start !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-links { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-legal { grid-template-columns:1fr !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-legal > .elementor-widget:last-child { justify-self:start !important; text-align:left !important; }
  .article-inline-newsletter,.article-related-box { grid-template-columns:1fr; }
  .article-related-media img { min-height:220px; max-height:360px; }
}
@media (max-width:620px) {
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer-links { grid-template-columns:1fr !important; }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card .team-photo { aspect-ratio:4/3 !important; }
  .article-inline-newsletter,.article-related-box { width:calc(100vw - 24px); border-radius:16px; }
  .article-inline-newsletter { padding:26px 20px; }
  .article-newsletter-form .newsletter-row { grid-template-columns:1fr; }
  .article-newsletter-form button { width:100%; }
}

/* Rodapé próprio das páginas de artigo. */
.article-site-footer {
  margin-top:0;
  padding:64px clamp(22px,6vw,88px) 28px;
  background:#f23d0c;
  color:#090909;
}
.article-site-footer-lead,
.article-site-footer-links,
.article-site-footer-legal { width:min(1240px,100%); margin-inline:auto; }
.article-site-footer-lead {
  display:grid;
  grid-template-columns:minmax(170px,240px) minmax(0,1fr);
  gap:clamp(34px,5vw,72px);
  align-items:end;
  padding-bottom:44px;
  border-bottom:1px solid rgba(9,9,9,.38);
}
.article-site-footer-brand img { display:block; width:190px; max-width:100%; height:auto; filter:brightness(0); }
.article-site-footer-lead p { margin:0; max-width:780px; font:700 clamp(2rem,3.5vw,3.8rem)/1.04 var(--title); letter-spacing:-.04em; }
.article-site-footer-links {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0 36px;
  padding:28px 0;
  border-bottom:1px solid rgba(9,9,9,.38);
}
.article-site-footer-links a { display:block; padding:9px 0; color:#090909; font-weight:700; text-decoration:none; }
.article-site-footer-links a:hover,.article-site-footer-links a:focus-visible { text-decoration:underline; text-underline-offset:.28em; }
.article-site-footer-legal { display:grid; grid-template-columns:.7fr 1.3fr; gap:32px; padding-top:22px; font-size:.82rem; }
.article-site-footer-legal > span:last-child { text-align:right; }
.article-site-footer-legal a { color:#090909; }
@media (max-width:900px) {
  .article-site-footer-lead { grid-template-columns:1fr; align-items:start; }
  .article-site-footer-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .article-site-footer-legal { grid-template-columns:1fr; }
  .article-site-footer-legal > span:last-child { text-align:left; }
}
@media (max-width:620px) { .article-site-footer-links { grid-template-columns:1fr; } }

/* V5.3 — ajustes finais aprovados em 08/09: alinhamento, equipe e projetos. */

/* 01 — leitura contínua, menos vazio e subtítulo "Quem somos". */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who {
  padding-bottom:clamp(46px,5vw,72px) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .problem {
  padding-top:clamp(46px,5vw,72px) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .section-intro,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-grid,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy {
  width:min(980px,100%) !important;
  max-width:980px !important;
  margin-left:0 !important;
  margin-right:auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .section-intro {
  gap:18px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .section-intro > .elementor-widget:last-child {
  width:100% !important;
  max-width:900px !important;
  margin:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-grid {
  display:block !important;
  margin-top:22px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy {
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy h3 {
  margin:0 0 4px !important;
  font:700 clamp(1.25rem,2vw,1.65rem)/1.2 var(--title) !important;
  letter-spacing:-.02em !important;
  color:#f23d0c !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy p {
  margin:0 !important;
  line-height:1.66 !important;
}

/* 03 — título e texto compartilham o mesmo eixo de leitura. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain-heading {
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:26px !important;
  width:100% !important;
  max-width:1220px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain-heading > .elementor-widget {
  width:100% !important;
  margin:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain-heading > .elementor-widget:last-child {
  max-width:820px !important;
  margin-left:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain-heading p {
  margin:0 !important;
  line-height:1.62 !important;
}

/* Equipe — volta ao tamanho compacto aprovado; links alinhados no rodapé dos cards. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid {
  align-items:stretch !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card {
  display:flex !important;
  flex-direction:column !important;
  height:100% !important;
  align-items:flex-start !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card .team-photo {
  display:block !important;
  width:140px !important;
  max-width:140px !important;
  height:120px !important;
  min-height:120px !important;
  aspect-ratio:auto !important;
  margin:0 0 20px !important;
  border-radius:12px !important;
  flex:0 0 120px !important;
  background-size:cover !important;
  background-position:center !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card > .e-con:nth-child(2) {
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  width:100% !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card .team-social {
  margin-top:auto !important;
  padding-top:22px !important;
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .team-grid .team-card .team-social a {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:9px 16px !important;
  border:1px solid rgba(9,9,9,.34) !important;
  border-radius:999px !important;
  text-decoration:none !important;
}

/* Projetos — imagens tratadas como peças editoriais, não thumbnails de galeria. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card {
  gap:clamp(32px,5vw,72px) !important;
  padding:clamp(44px,5vw,68px) 0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-media,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card-media {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  aspect-ratio:16/10 !important;
  max-height:500px !important;
  padding:clamp(14px,2vw,24px) !important;
  overflow:hidden !important;
  background:#eee7dc !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:20px !important;
  box-sizing:border-box !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-media::after,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card-media::after {
  opacity:.16 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-media img,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card-media img {
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  filter:none !important;
  border-radius:12px !important;
  background:transparent !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor #projetos .project-card-body,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card-body {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:14px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-grid {
  display:block !important;
  width:min(1280px,100%) !important;
  margin-inline:auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card {
  display:grid !important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr) !important;
  align-items:center !important;
  border-top:1px solid rgba(9,9,9,.18) !important;
  background:transparent !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card:nth-child(even) .project-card-media { grid-column:2 !important; grid-row:1 !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card:nth-child(even) .project-card-body { grid-column:1 !important; grid-row:1 !important; }

/* Cases — a primeira imagem ganha moldura, escala e respiro próprios. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .case-visual {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:min(1240px,calc(100% - 48px)) !important;
  max-width:1240px !important;
  margin:clamp(36px,5vw,64px) auto !important;
  padding:clamp(16px,2.4vw,30px) !important;
  background:#eee7dc !important;
  border-radius:22px !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .case-visual .elementor-widget-image,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .case-visual .elementor-widget-image img {
  width:100% !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .case-visual img {
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-height:min(72vh,720px) !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:14px !important;
  background:transparent !important;
}

html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-grid > .elementor-widget:nth-child(even) .project-card .project-card-media { grid-column:2 !important; grid-row:1 !important; }
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-grid > .elementor-widget:nth-child(even) .project-card .project-card-body { grid-column:1 !important; grid-row:1 !important; }

@media (max-width:900px) {
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card:nth-child(even) {
    grid-template-columns:1fr !important;
  }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card:nth-child(even) .project-card-media,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-card:nth-child(even) .project-card-body,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-grid > .elementor-widget:nth-child(even) .project-card .project-card-media,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .archive-grid .project-grid > .elementor-widget:nth-child(even) .project-card .project-card-body {
    grid-column:1 !important;
    grid-row:auto !important;
  }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .case-visual {
    width:calc(100% - 28px) !important;
  }
}

/* V5.5 — alinhamento editorial, história da Akili e acabamento final solicitado. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .section-intro,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .who-grid,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-intro,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .elementor-widget-shortcode {
  width:min(1520px,calc(100% - 12vw)) !important;
  max-width:1520px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who {
  padding-bottom:clamp(54px,5.6vw,82px) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .section-intro {
  gap:20px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .section-intro > .elementor-widget:last-child,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .section-intro p,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy p {
  max-width:1020px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-grid {
  margin-top:26px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy {
  gap:18px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy h3 {
  margin:0 0 12px !important;
  font:700 clamp(1.45rem,2vw,2rem)/1.1 var(--title) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who .who-copy p {
  margin:0 !important;
  line-height:1.66 !important;
}

.akili-history-timeline {
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  width:100%;
  margin-top:42px;
  padding-top:24px;
  border-top:1px solid rgba(9,9,9,.25);
}
.akili-history-timeline::before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-2px;
  height:3px;
  background:linear-gradient(90deg,#f23d0c 0 26%,rgba(9,9,9,.16) 26% 100%);
}
.akili-history-step {
  position:relative;
  min-height:170px;
  padding:16px clamp(18px,2.4vw,36px) 12px 0;
  border-right:1px solid rgba(9,9,9,.14);
}
.akili-history-step:last-child { border-right:0; padding-right:0; }
.akili-history-step::before {
  content:"";
  position:absolute;
  top:-31px;
  left:0;
  width:13px;
  height:13px;
  border:3px solid #f23d0c;
  border-radius:50%;
  background:#f5f1e9;
}
.akili-history-step span {
  display:block;
  margin-bottom:12px;
  color:#f23d0c;
  font:700 .78rem/1.2 var(--title);
  letter-spacing:.12em;
  text-transform:uppercase;
}
.akili-history-step strong {
  display:block;
  margin-bottom:10px;
  font:700 clamp(1.25rem,1.8vw,1.75rem)/1.08 var(--title);
}
.akili-history-step p {
  max-width:30ch !important;
  font-size:.98rem !important;
  line-height:1.52 !important;
}

html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain .chain-heading {
  display:block !important;
  width:min(1520px,calc(100% - 12vw)) !important;
  max-width:1520px !important;
  margin:0 auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain .chain-heading > .elementor-widget {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain .chain-heading .elementor-widget-text-editor:last-child p {
  width:min(900px,100%) !important;
  max-width:900px !important;
  margin:30px 0 0 !important;
  line-height:1.6 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain .chain-flow {
  margin-top:54px !important;
}

html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-intro {
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:24px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-intro > .elementor-widget {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-intro h2 {
  max-width:980px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-intro .elementor-widget-text-editor:last-child p {
  max-width:900px !important;
  margin:4px 0 0 !important;
  line-height:1.64 !important;
}

/* Portfólio geral: a faixa escura ocupa toda a largura e os cases ficam alinhados no mesmo eixo. */
html body.portfolio-archive .elementor .archive-grid {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 clamp(24px,6vw,96px) !important;
  background:#111 !important;
  box-sizing:border-box !important;
}
html body.portfolio-archive .elementor .archive-grid .project-grid {
  width:min(1280px,100%) !important;
  max-width:1280px !important;
  margin:0 auto !important;
}
html body.portfolio-archive .elementor .archive-grid .project-grid > .elementor-widget {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}
html body.portfolio-archive .elementor .archive-grid .project-card {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:56px 0 !important;
  gap:clamp(36px,5vw,76px) !important;
  background:transparent !important;
  box-sizing:border-box !important;
}
html body.portfolio-archive .elementor .archive-grid .project-card-media {
  min-height:360px !important;
  padding:24px !important;
  border-radius:22px !important;
  background:#eee3d6 !important;
}
html body.portfolio-archive .elementor .archive-grid .project-card-media img {
  width:100% !important;
  height:100% !important;
  max-height:520px !important;
  object-fit:contain !important;
  object-position:center !important;
}
html body.portfolio-archive .elementor .archive-grid .project-card-body {
  align-self:center !important;
}

.article-byline {
  margin:.3rem 0 0 !important;
  color:#f23d0c !important;
  font-size:.95rem !important;
  letter-spacing:.02em;
}
.article-byline strong { color:inherit; font-weight:700; }

@media (max-width:900px) {
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .section-intro,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .who > .who-grid,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-intro,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .elementor-widget-shortcode,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .chain .chain-heading {
    width:calc(100% - 40px) !important;
  }
  .akili-history-timeline { grid-template-columns:1fr 1fr; row-gap:24px; }
  .akili-history-step { min-height:150px; }
  html body.portfolio-archive .elementor .archive-grid .project-card-media { min-height:280px !important; }
}
@media (max-width:620px) {
  .akili-history-timeline {
    display:block;
    border-top:0;
    border-left:2px solid #f23d0c;
    padding:0 0 0 24px;
    margin-top:30px;
  }
  .akili-history-timeline::before { display:none; }
  .akili-history-step {
    min-height:0;
    padding:0 0 30px;
    border-right:0;
  }
  .akili-history-step::before { top:3px; left:-32px; }
  html body.portfolio-archive .elementor .archive-grid { padding-inline:18px !important; }
}

/* V5.6 — eixo global compartilhado com o header + paginação contextual. */
:root { --akili-page-gutter: clamp(1rem,4vw,4rem); --akili-content-wide: 1280px; }

/* Header, hero, seções e rodapés passam a obedecer ao mesmo eixo lateral. */
html body[class*="wp-theme-akili-design-elementor-free"] header.site-header,
html body[class*="wp-theme-akili-design-elementor-free"] header.legal-header {
  padding-left:var(--akili-page-gutter) !important;
  padding-right:var(--akili-page-gutter) !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .hero,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer {
  padding-left:var(--akili-page-gutter) !important;
  padding-right:var(--akili-page-gutter) !important;
}

/* O conteúdo deixa de ser centralizado em um eixo diferente do header. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > *,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer > * {
  margin-left:0 !important;
  margin-right:auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .section-intro,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .chain-heading,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .chain-flow,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .solution-list,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .project-grid,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .team-grid,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .faq-list,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .section-cta,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > .who-grid {
  width:min(var(--akili-content-wide),100%) !important;
  max-width:var(--akili-content-wide) !important;
  margin-left:0 !important;
  margin-right:auto !important;
}

/* Títulos e parágrafos introdutórios seguem a mesma origem horizontal. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section-intro,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section-intro > .elementor-element,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section-intro h1,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section-intro h2,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section-intro h3,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section-intro p {
  margin-left:0 !important;
  margin-right:auto !important;
}

/* A seção de Conhecimento mantém título, texto, cards e paginação no mesmo eixo. */
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-intro,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .elementor-widget-shortcode,
html body[class*="wp-theme-akili-design-elementor-free"] .elementor .articles > .section-cta {
  width:min(var(--akili-content-wide),100%) !important;
  max-width:var(--akili-content-wide) !important;
  margin-left:0 !important;
  margin-right:auto !important;
}

/* Rodapé dos artigos: mesma assinatura branca usada no restante do site. */
.article-site-footer { padding-left:var(--akili-page-gutter) !important; padding-right:var(--akili-page-gutter) !important; }
.article-site-footer-lead,
.article-site-footer-links,
.article-site-footer-legal { width:min(var(--akili-content-wide),100%) !important; margin-left:0 !important; margin-right:auto !important; }
.article-site-footer-brand img { filter:none !important; width:190px !important; }

@media (max-width:900px) {
  :root { --akili-page-gutter: clamp(18px,5vw,32px); }
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .section > *,
  html body[class*="wp-theme-akili-design-elementor-free"] .elementor .footer > * {
    width:100% !important;
    max-width:100% !important;
  }
}

/* V5.7 — um único footer global em todas as páginas. Os footers antigos do Elementor ficam editáveis no editor, mas não são exibidos no front-end. */
body:not(.elementor-editor-active) .elementor .footer { display:none !important; }
.akili-global-footer {
  width:100%;
  padding:clamp(52px,6vw,82px) var(--akili-page-gutter) 28px;
  background:var(--orange);
  color:var(--ink);
  font-family:var(--body);
}
.akili-global-footer a { color:var(--ink); }
.akili-global-footer-lead,
.akili-global-footer-links,
.akili-global-footer-legal {
  width:min(var(--akili-content-wide),100%);
  max-width:var(--akili-content-wide);
  margin-left:0;
  margin-right:auto;
}
.akili-global-footer-lead {
  display:grid;
  grid-template-columns:minmax(150px,220px) minmax(0,1fr);
  align-items:end;
  gap:clamp(28px,5vw,72px);
  padding-bottom:clamp(32px,4vw,48px);
  border-bottom:1px solid rgba(9,9,9,.28);
}
.akili-global-footer-brand { display:inline-flex; width:max-content; }
.akili-global-footer-brand img {
  display:block;
  width:190px;
  max-width:100%;
  height:auto;
  filter:brightness(0) saturate(100%);
}
.akili-global-footer-lead p {
  max-width:760px;
  margin:0;
  font-family:var(--title);
  font-size:clamp(1.35rem,2.5vw,2.4rem);
  font-weight:700;
  line-height:1.15;
}
.akili-global-footer-links {
  display:flex;
  flex-wrap:wrap;
  gap:14px clamp(20px,3vw,38px);
  padding:28px 0;
  border-bottom:1px solid rgba(9,9,9,.28);
}
.akili-global-footer-links a {
  font-weight:700;
  text-decoration:none;
  text-underline-offset:.3em;
}
.akili-global-footer-links a:hover,
.akili-global-footer-links a:focus-visible { text-decoration:underline; }
.akili-global-footer-legal {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  padding-top:24px;
  font-size:.9rem;
  line-height:1.55;
}
.akili-global-footer-legal > span:last-child { text-align:right; }
.akili-global-footer-legal small { opacity:.78; }

@media (max-width:700px) {
  .akili-global-footer-lead { grid-template-columns:1fr; align-items:start; }
  .akili-global-footer-brand img { width:160px; }
  .akili-global-footer-legal { flex-direction:column; }
  .akili-global-footer-legal > span:last-child { text-align:left; }
}

/* V6.2 — paginação sem reload + recomendação relacionada variável. */
.akili-articles-pager [hidden],
.article-related-option[hidden] { display:none !important; }
.akili-pagination {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:clamp(28px,4vw,46px);
}
.akili-pagination .page-numbers {
  appearance:none;
  min-width:42px;
  min-height:42px;
  padding:8px 13px;
  border:1px solid rgba(9,9,9,.28);
  border-radius:999px;
  background:transparent;
  color:#090909;
  font:700 .92rem/1 var(--body);
  cursor:pointer;
}
.akili-pagination .page-numbers.current {
  background:#090909;
  border-color:#090909;
  color:#fff;
}
.akili-pagination .page-numbers:hover:not(:disabled),
.akili-pagination .page-numbers:focus-visible:not(:disabled) { border-color:#f23d0c; }
.akili-pagination .page-numbers:disabled { opacity:.35; cursor:default; }

.article-related-box { display:block !important; }
.article-related-option {
  display:grid;
  grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);
  min-height:280px;
}
@media (max-width:760px) {
  .article-related-option { grid-template-columns:1fr; }
  .article-related-media img { min-height:220px; max-height:320px; }
}

/* V6.3 — movimento editorial progressivo, responsivo e acessível. */
html.akili-motion-ready .akili-motion {
  opacity:0;
  transform:translate3d(0,24px,0);
  filter:blur(5px);
  transition:
    opacity .55s cubic-bezier(.2,.7,.2,1) var(--akili-motion-delay,0ms),
    transform .65s cubic-bezier(.2,.7,.2,1) var(--akili-motion-delay,0ms),
    filter .55s ease var(--akili-motion-delay,0ms);
  will-change:opacity,transform,filter;
}
html.akili-motion-ready .akili-motion[data-motion="left"] { transform:translate3d(-28px,0,0); }
html.akili-motion-ready .akili-motion[data-motion="right"] { transform:translate3d(28px,0,0); }
html.akili-motion-ready .akili-motion[data-motion="scale"] { transform:scale(.965); }
html.akili-motion-ready .akili-motion.is-motion-visible {
  opacity:1;
  transform:none;
  filter:none;
  will-change:auto;
}

/* Sublinhado/traço que se desenha em palavras de destaque. */
.section-intro h1 em,
.section-intro h2 em,
.chain-heading h2 em {
  position:relative;
  display:inline-block;
}
.section-intro h1 em::after,
.section-intro h2 em::after,
.chain-heading h2 em::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-.08em;
  height:3px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .75s cubic-bezier(.2,.7,.2,1) .18s;
}
.akili-motion.is-motion-visible h1 em::after,
.akili-motion.is-motion-visible h2 em::after,
.chain-heading.akili-motion.is-motion-visible h2 em::after { transform:scaleX(1); }

/* Linha da cadeia de confiança surge progressivamente. */
.chain-flow { position:relative; border-top-color:transparent !important; }
.chain-flow::before {
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:1px;
  background:rgba(255,255,255,.28);
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .9s cubic-bezier(.2,.7,.2,1) .12s;
}
.chain-flow.is-motion-visible::before { transform:scaleX(1); }

/* Projetos e imagens: profundidade sutil, sem crop agressivo. */
.project-card,
.article-card,
.team-card { transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.project-card:hover,
.project-card:focus-within,
.article-card:hover,
.article-card:focus-within { transform:translateY(-5px); }
.project-card-media,
.case-visual,
.article-hero,
.article-related-media { overflow:hidden; }
.project-card-media img,
.case-visual img,
.article-hero img,
.article-related-media img {
  --akili-image-scale:1;
  --akili-parallax-y:0px;
  transform:translate3d(0,var(--akili-parallax-y),0) scale(var(--akili-image-scale));
  transition:transform .55s cubic-bezier(.2,.7,.2,1);
  will-change:transform;
}
.project-card:hover .project-card-media img,
.project-card:focus-within .project-card-media img,
.article-related-box:hover .article-related-media img { --akili-image-scale:1.025; }

/* Linha do tempo e listas entram em sequência; JS define o atraso individual. */
.akili-history-step,
.chain-flow li,
.method-steps li,
.solution { backface-visibility:hidden; }

/* Newsletter da Home pode escalar; os blocos dentro dos artigos mantêm o eixo fixo. */
.newsletter.akili-motion { transform:translate3d(0,18px,0) scale(.985); }
.newsletter.akili-motion.is-motion-visible { transform:none; }
.article-inline-newsletter,
.article-related-box {
  transform:translateX(-50%) !important;
}
.article-inline-newsletter .akili-motion,
.article-related-box .akili-motion {
  will-change:opacity,transform,filter;
}

/* Microinterações em CTAs e setas. */
.button,
.elementor-button,
.text-link { transition:transform .22s ease,background-color .22s ease,color .22s ease,border-color .22s ease; }
.button:hover,
.elementor-button:hover { transform:translateY(-2px); }
.text-link span { display:inline-block; transition:transform .22s ease; }
.text-link:hover span,
.text-link:focus-visible span { transform:translate3d(4px,-2px,0); }

/* Footer entra em três tempos, mas permanece discreto. */
.akili-global-footer-lead.akili-motion,
.akili-global-footer-links.akili-motion,
.akili-global-footer-legal.akili-motion { transform:translate3d(0,16px,0); }

@media (max-width:900px) {
  html.akili-motion-ready .akili-motion { transform:translate3d(0,14px,0); filter:blur(2px); }
  html.akili-motion-ready .akili-motion[data-motion="left"],
  html.akili-motion-ready .akili-motion[data-motion="right"] { transform:translate3d(0,14px,0); }
  html.akili-motion-ready .akili-motion[data-motion="scale"] { transform:scale(.985); }
  .project-card:hover,
  .project-card:focus-within,
  .article-card:hover,
  .article-card:focus-within,
  .button:hover,
  .elementor-button:hover { transform:none; }
  .project-card-media img,
  .case-visual img,
  .article-hero img { --akili-parallax-y:0px !important; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto !important; }
  html.akili-motion-ready .akili-motion,
  html.akili-motion-ready .akili-motion[data-motion],
  .article-related-box.akili-motion .article-related-media,
  .article-related-box.akili-motion .article-related-copy,
  .project-card,
  .article-card,
  .team-card,
  .button,
  .elementor-button,
  .text-link span,
  .project-card-media img,
  .case-visual img,
  .article-hero img,
  .article-related-media img {
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
    transition:none !important;
    animation:none !important;
  }
  .section-intro h1 em::after,
  .section-intro h2 em::after,
  .chain-heading h2 em::after,
  .chain-flow::before { transform:scaleX(1) !important; transition:none !important; }
}

/* V6.4 — Seção 08: título proporcional ao bloco de texto. */
html body[class*="wp-theme-akili-design-elementor-free"] #sobre .about-statement,
html body[class*="wp-theme-akili-design-elementor-free"] #sobre .about-copy {
  width:min(860px,100%) !important;
  max-width:860px !important;
  margin-left:0 !important;
  margin-right:auto !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] #sobre #about-title,
html body[class*="wp-theme-akili-design-elementor-free"] #sobre #about-title .elementor-heading-title {
  width:100% !important;
  max-width:780px !important;
}
html body[class*="wp-theme-akili-design-elementor-free"] #sobre #about-title .elementor-heading-title {
  font-size:clamp(2.45rem,4.25vw,4.35rem) !important;
  line-height:1.04 !important;
  letter-spacing:-.045em !important;
  text-wrap:balance;
}
html body[class*="wp-theme-akili-design-elementor-free"] #sobre .about-copy p {
  max-width:760px !important;
}
@media (max-width:700px) {
  html body[class*="wp-theme-akili-design-elementor-free"] #sobre #about-title .elementor-heading-title {
    max-width:100% !important;
    font-size:clamp(2.15rem,9vw,3.25rem) !important;
  }
  html body[class*="wp-theme-akili-design-elementor-free"] #sobre .about-copy p { max-width:100% !important; }
}

/* V6.5 — respiro entre texto e CTA no fechamento dos artigos. */
.article-cta p {
  margin-bottom:clamp(22px,3vw,32px) !important;
}
.article-cta .button,
.article-cta .elementor-button {
  margin-top:0 !important;
}
