/* Tema filho: sobrescritas do template Edigital. Carrega depois de style.css e responsive.css. */

/* Logo Media Trend (icone + nome) */
.mt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mt-logo img { width: 46px; height: 46px; object-fit: contain; }
.mt-logo span { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }
.sticky-header .mt-logo img { width: 38px; height: 38px; }
.mt-logo img.mt-logo-img, .sticky-header .mt-logo img.mt-logo-img { width: auto; height: 46px; max-width: 100%; }
.sticky-header .mt-logo img.mt-logo-img { height: 40px; }

/* Seletor de idioma */
.mt-lang { display: inline-flex; gap: 4px; margin-right: 14px; vertical-align: middle; }
.mt-lang a { color: #fff; font-size: 13px; font-weight: 600; padding: 4px 8px; border-radius: 6px; opacity: .65; }
.mt-lang a.active, .mt-lang a:hover { opacity: 1; background: rgba(255,255,255,.14); }
.footer-bottom .mt-lang { margin: 0; }

/* Plano sem preco definido */
.pricing-block .price.mt-price-ask span { font-size: 40px; }

/* Preloader com o icone da Media Trend */
.preloader:after { background-image: url(../images/logo/mt-icon.png); background-size: contain; width: 110px; height: 110px; margin-left: -55px; margin-top: -90px; }

/* Imagens 3D no lugar das fotos de exemplo */
.hero-image .image img, .about-thumb img, .about-image-2 img { object-fit: contain; background: transparent; }
.about-thumb, .about-image-2 { background: transparent !important; }

/* Video institucional */
.mt-video-frame { position: relative; max-width: 960px; margin: 40px auto 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.12); }
.mt-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Precos com bandeira */
.mt-prices { margin-bottom: 14px; }
.mt-price { display: flex; align-items: baseline; gap: 6px; color: #fff; line-height: 1.25; padding: 4px 0; }
.mt-price .mt-flag { width: 28px; height: 19px; align-self: center; border-radius: 3px; flex: none; }
.mt-price sup { font-size: 14px; color: var(--theme-color, #8cff2e); top: 0; }
.mt-price span { font-size: 24px; font-weight: 700; }
.mt-price small { font-size: 13px; opacity: .7; }
.mt-price.main span { font-size: 44px; }
.mt-price.main .mt-flag { width: 34px; height: 23px; }
.mt-flag { display: inline-block; }
.mt-phone { display: flex; align-items: center; gap: 10px; }
.mt-phone .mt-flag { width: 28px; height: 19px; border-radius: 3px; }

/* Faixa sem fronteiras */
.mt-country { text-align: center; padding: 34px 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.03); height: 100%; }
.mt-country img { width: 64px; height: 44px; border-radius: 6px; margin-bottom: 18px; }
.mt-country h4 { color: #fff; margin-bottom: 10px; }
.mt-country p { margin: 0; opacity: .8; }

/* Blog */
.mt-card { border: 1px solid rgba(255,255,255,.12); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.03); height: 100%; }
.mt-card-img img { width: 100%; height: 220px; object-fit: cover; display: block; }
.mt-card-body { padding: 24px; }
.mt-card-body h3 { font-size: 22px; margin: 8px 0 10px; }
.mt-card-body h3 a { color: #fff; }
.mt-date { font-size: 13px; opacity: .65; }
.mt-more { color: var(--theme-color, #8cff2e); font-weight: 600; }
.mt-post-body { max-width: 820px; margin: 0 auto; }
.mt-post-cover { width: 100%; border-radius: 20px; margin: 18px 0 28px; }
/* Banner do artigo: a capa (1920x867) ocupa o lugar do placeholder do tema */
.page-title.mt-hero { overflow: hidden; background: #131313; }
.page-title.mt-hero .mt-hero-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-title.mt-hero:before { z-index: 1; opacity: .55; }
.page-title.mt-hero .auto-container { position: relative; z-index: 2; }
.mt-post-text h2 { font-size: 34px; line-height: 1.25; }
.mt-post-text h3 { font-size: 24px; line-height: 1.3; }
.mt-post-text ul, .mt-post-text ol { margin: 0 0 1.2em 1.2em; }
.mt-post-text li { margin-bottom: .4em; }
.mt-post-text a { color: var(--theme-color, #8cff2e); text-decoration: underline; }
/* O tema pinta strong/b de #333 (cinza escuro): some no fundo preto. Aqui o negrito fica branco e legivel. */
.mt-post-text strong, .mt-post-text b { color: #fff; font-weight: 700; }
.mt-post-text em, .mt-post-text i { color: inherit; font-style: italic; }
/* O tema zera os marcadores das listas; aqui eles voltam dentro do artigo */
.mt-post-text ul { list-style: disc outside; padding-left: 1.4em; margin-left: 0; }
.mt-post-text ol { list-style: decimal outside; padding-left: 1.6em; margin-left: 0; }
.mt-post-text li::marker { color: var(--theme-color, #8cff2e); }
.mt-post-text blockquote { margin: 1.4em 0; padding: 10px 18px; border-left: 4px solid var(--theme-color, #8cff2e); background: rgba(255,255,255,.06); color: #e5e7eb; border-radius: 0 10px 10px 0; }
.mt-post-text code { background: rgba(255,255,255,.1); color: var(--theme-color, #8cff2e); padding: 2px 6px; border-radius: 4px; font-size: .92em; }
.mt-post-text pre { background: #0b0f14; color: #e5e7eb; padding: 14px 16px; border-radius: 10px; overflow-x: auto; }
.mt-post-text pre code { background: none; padding: 0; color: inherit; }
.mt-post-text th { color: #fff; background: rgba(255,255,255,.08); }
.mt-post-text table { width: 100%; margin-bottom: 1.2em; }
.mt-post-text th, .mt-post-text td { padding: 8px 10px; border: 1px solid rgba(255,255,255,.15); }
@media (max-width: 575.98px) { .mt-post-text h2 { font-size: 28px; } .mt-post-text h3 { font-size: 21px; } }
.mt-post-text { font-size: 18px; line-height: 1.8; }
.mt-post-text p { margin-bottom: 1.2em; }
.mt-post-text h2, .mt-post-text h3 { margin: 1.6em 0 .6em; color: #fff; }
.mt-post-text img { max-width: 100%; border-radius: 12px; }

/* Fonte manuscrita do template (hospedada aqui, sem depender do Google) */
@font-face { font-family: "Nothing You Could Do"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/nothing-you-could-do.woff2) format("woff2"); }

/* Processo de trabalho (4U) */
.mt-step { position: relative; padding: 34px 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.03); height: 100%; overflow: hidden; }
.mt-step-n { position: absolute; top: 18px; right: 22px; font-weight: 700; opacity: .35; }
.mt-step-u { font-size: 84px; font-weight: 800; line-height: 1; color: var(--theme-color, #8cff2e); margin-bottom: 10px; }
.mt-step h4 { color: #fff; margin-bottom: 10px; }
.mt-step p { margin: 0; opacity: .85; }

/* Depoimentos */
.testimonial-block .infu .image img, .testimonial-block .infu .image .mt-testi-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.mt-testi-av { display: flex; align-items: center; justify-content: center; background: #1b1b1b; border: 1px solid rgba(255,255,255,.18); color: var(--theme-color, #8cff2e); font-weight: 800; }

/* FAQ */
.mt-faq { max-width: 880px; margin: 0 auto; }
.mt-faq details { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 24px; margin-bottom: 14px; background: rgba(255,255,255,.03); }
.mt-faq summary { cursor: pointer; font-weight: 700; font-size: 19px; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.mt-faq summary::-webkit-details-marker { display: none; }
.mt-faq summary::after { content: '+'; color: var(--theme-color, #8cff2e); font-size: 26px; line-height: 1; }
.mt-faq details[open] summary::after { content: '\2212'; }
.mt-faq details p { margin: 14px 0 0; opacity: .85; line-height: 1.7; }

/* Contato */
.mt-contact-card { border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 28px; background: rgba(255,255,255,.03); margin-bottom: 18px; }
.mt-contact-card h4 { color: #fff; margin-bottom: 10px; }
.mt-contact-card a { color: #fff; }
.mt-contact-card .mt-phone { margin: 6px 0; font-size: 18px; }
.mt-form label { display: block; font-weight: 600; margin: 14px 0 6px; color: #fff; }
.mt-form input, .mt-form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; font: inherit; }
.mt-form textarea { min-height: 150px; resize: vertical; }
.mt-form .mt-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.mt-form-msg { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; }
.mt-form-msg.ok { background: rgba(60,200,120,.18); border: 1px solid rgba(60,200,120,.5); }
.mt-form-msg.err { background: rgba(230,70,70,.18); border: 1px solid rgba(230,70,70,.5); }

/* Blog organizado */
.mt-blog-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; flex-wrap: wrap; gap: 8px; }
.mt-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.03); margin-bottom: 40px; }
.mt-featured .mt-card-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.mt-featured .mt-card-body { padding: 38px; display: flex; flex-direction: column; justify-content: center; }
.mt-featured h2 { font-size: 32px; margin: 10px 0 14px; } .mt-featured h2 a { color: #fff; }
.mt-badge { display: inline-block; background: var(--theme-color, #8cff2e); color: #000; font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 20px; margin-right: 10px; }
.mt-pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.mt-pager a, .mt-pager span { padding: 9px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); color: #fff; }
.mt-pager .on { background: var(--theme-color, #8cff2e); color: #000; border-color: transparent; font-weight: 700; }
@media (max-width: 860px) { .mt-featured { grid-template-columns: 1fr; } }

/* Pílula do hero: cresce com o texto (no template ela tinha largura fixa e cortava palavras longas) */
@media (min-width: 992px) {
    .hero-1 .hero-content .hero-title-2 .text-1 { width: auto; min-width: 293px; padding: 0 44px; white-space: nowrap; }
}

/* Squads: reaproveita o cartão dos passos, sem a letra grande */
.mt-squad .mt-step-n { top: 20px; right: 24px; }
.mt-squad h4 { margin-top: 26px; }
.team-item-wrapper .team-block .image img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Fotos reais (hero, sobre, squads) */
.hero-image .image img, .about-thumb img, .about-image-2 img { object-fit: cover; width: 100%; height: 100%; }
.mt-squad { padding: 0 0 28px; }
.mt-squad .mt-step-n { top: 14px; right: 16px; z-index: 2; opacity: 1; background: rgba(0,0,0,.65); padding: 3px 12px; border-radius: 14px; font-size: 14px; }
.mt-squad-img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 20px 20px 0 0; margin-bottom: 22px; }
.mt-squad h4, .mt-squad p { padding: 0 26px; }
.mt-squad h4 { margin-top: 0; }

/* Projetos: cards em proporção fixa */
.case-block .image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Alguns dos nossos clientes */
.mt-clients-text { max-width: 760px; margin-left: auto; margin-right: auto; opacity: .85; }
.mt-client { margin: 0; text-align: center; }
.mt-client img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; border: 1px solid rgba(255,255,255,.14); transition: transform .3s ease; }
.mt-client:hover img { transform: translateY(-6px); }
.mt-client figcaption { margin-top: 12px; color: #fff; font-weight: 600; }

.mt-clients-slider { overflow: hidden; padding: 6px 4px 4px; }
.mt-clients-slider .mt-client img { border-radius: 18px; }

/* Equipe em carrossel */
.mt-team-slider { overflow: hidden; padding-bottom: 46px; }
.mt-team-slider .swiper-slide { height: auto; }
.mt-team-dots { bottom: 6px !important; }
.mt-team-dots .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; }
.mt-team-dots .swiper-pagination-bullet-active { background: var(--theme-color, #8cff2e); }

/* mt-about-fix: o vídeo não pode invadir o "Quem somos".
   No template, a foto pequena (-48%) e o selo (-30%) ficam pendurados abaixo da foto principal.
   Com fotos mais altas isso passava por cima do vídeo: fixamos a altura e reservamos o espaço. */
@media (min-width: 1200px) {
    .about-section .about-image-items1 { margin-bottom: 250px; }
    .about-section .about-image-items1 .about-thumb { height: 560px; overflow: hidden; }
    .about-section .about-image-items1 .about-thumb img { height: 100%; width: 100%; object-fit: cover; object-position: center 38%; }
    .about-section .about-image-items1 .about-image-2 { aspect-ratio: 3 / 4; overflow: hidden; }
    .about-section .about-image-items1 .about-image-2 img { height: 100%; width: 100%; object-fit: cover; }
}
@media (max-width: 1199.98px) {
    .about-section .about-image-items1 .about-image-2 { aspect-ratio: 3 / 4; overflow: hidden; }
    .about-section .about-image-items1 .about-image-2 img { height: 100%; width: 100%; object-fit: cover; }
}
.about-section .about-image-video { clear: both; margin-top: 90px; }

/* O texto vertical de fundo "Projeto em destaque" é longo e abria um vão enorme sob a seção */
.case-wrapper .title-shadow { display: none; }

/* Imagens com width/height reais (evita salto de layout): a altura acompanha a largura definida pelo CSS. */
img { height: auto; }

/* Links legais no rodape */
.footer-bottom .mt-legal-links { margin: 0; font-size: 14px; }
.footer-bottom .mt-legal-links a { color: #fff; opacity: .75; }
.footer-bottom .mt-legal-links a:hover { opacity: 1; text-decoration: underline; }

/* Banner de cookies (consentimento do Google Analytics) */
.mt-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 920px; margin: 0 auto; z-index: 100000; display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #0d0d0d; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.mt-cookie[hidden] { display: none; }
.mt-cookie p { margin: 0; font-size: 14px; line-height: 1.5; color: #e6e6e6; flex: 1; }
.mt-cookie p a { color: var(--theme-color, #8cff2e); text-decoration: underline; }
.mt-cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.mt-cookie-btns button { min-width: 104px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.mt-cookie-btns button.primary { background: var(--theme-color, #8cff2e); border-color: var(--theme-color, #8cff2e); color: #000; }
.mt-cookie-btns button:hover { filter: brightness(1.15); }
@media (max-width: 640px) { .mt-cookie { flex-direction: column; align-items: stretch; gap: 12px; } .mt-cookie-btns button { flex: 1; } }

/* Nota explicativa abaixo dos planos */
.mt-plans-note { max-width: 760px; margin: 28px auto 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.7); }
.mt-plans-note strong { color: #fff; }
