/*
Theme Name: MidiaLab Child
Theme URI: https://midialab.org
Description: Tema filho para o site MidiaLab
Author: Bruce Wate
Template: generatepress
Version: 1.0
*/

html,
body {
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  font-family: "Roboto", sans-serif !important;
}

h1,
.impact-title {
  font-weight: 900;
}

h2,
h3,
.section-title {
  font-weight: 700;
}

p,
li,
span {
  font-weight: 400;
}

.main-menu a,
.impact-cta,
button {
  font-weight: 500;
}

p {
  line-height: 1.7;
}

h1,
h2,
h3 {
  letter-spacing: -0.3px;
}

/* =========================================
   HEADER 
   ========================================= */
.midialab-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  height: 90px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Desktop*/
.logo img {
  height: 130px;
  width: auto;
  position: relative;

  top: -30px;
}

/* MENU DESKTOP – removido top:-28px */
.main-menu .menu-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  position: relative;
  top: -28px;
}

.main-menu .menu-list li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: 0.2s;
}

.main-menu .menu-list li a:hover {
  color: #0073e6;
}

/* Menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  padding: 5px;
}

#mobileMenuButton {
  background-color: white;
  color: black;
}

/* =========================================
   MOBILE HEADER – MENU VERTICAL DEFINITIVO
   ========================================= */
@media (max-width: 768px) {

  .midialab-header {
    height: 56px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    position:fixed;
  }

  /* LOGO (INALTERADO) */
  .logo img {
    height: 38px;
    width:40px;
    max-height: 100%;
    position: static;
  }

  /* BURGER (INALTERADO) */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  /* MENU MOBILE */
  .main-menu {
    display: none;
    position: absolute;
    top: 86px;
    right: 3px;
    padding: 0;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    width: 180px;
    max-width: calc(100vw - 24px);
    background-color:white;
  }

  .main-menu.active {
    display: block;
  }

  /* LISTA — FORÇA VERTICAL */
  .main-menu .menu-list {
    display: block;          
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: white;
  }

  .main-menu .menu-list li {
    display: block;        
    margin: 0;
    width: 100%;
  }

  /* LINKS */
  .main-menu .menu-list li a {
    display: block;          
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.4px;
    color: #1f2a44;
    text-decoration: none;
    border-bottom: 1px solid #e9e9e9;
    box-sizing: border-box;
  }


  .main-menu .menu-list li a:hover {
    background: #f4f4f4;
  }
}



/* =========================================
   ANIMAÇÃO DO HERO
   ========================================= */
.animate-hero {
  opacity: 0;
  transform: translateX(-80px);
  animation: heroSlide 1.2s ease-out forwards;
}

@keyframes heroSlide {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.impact-title {
  color: whitesmoke;
  font-size: 6em;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
  text-align: left;

  margin-top: 20px;
}

.impact-subtitle {
  color: white;
  font-size: 30px;
  margin-bottom: 25px;
  max-width: 700px;
  text-align: left;
  font-weight: 600;
}

.impact-cta {
  display: inline-block;
  background: #0073e6;
  padding: 14px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  color: white;
  transition: 0.3s;
}

.impact-cta:hover {
  background: #005bb5;
}

/* =========================================
   HERO
   ========================================= */
.impact-hero-full {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 35px;

  min-height: 80vh;
  padding: 60px 0;

  background-image: url("assets/img/new_backgroudn.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* Container interno */
.impact-hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  margin-left: 107px;
}

/* =========================================
   HERO OVERLAY (ESCURECER FUNDO)
   ========================================= */

.impact-hero-full {
  position: relative;
}

/* Overlay escuro */
.impact-hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* controla o escuro aqui */
  z-index: 1;
}

/* Garantir que o conteúdo fique acima do overlay */
.impact-hero-container {
  position: relative;
  z-index: 2;
}

/* =========================================
   MOBILE HERO
   ========================================= */
@media (max-width: 900px) {
  .impact-cta {
    position: relative;
    left: -5px;
  }
}

@media (max-width: 768px) {
  .impact-hero-full {
    margin-top: -40px;
  }
  .impact-title {
    font-size: 3em;
    text-align: left;
    padding-left: 20px;
  }

  .impact-subtitle {
    font-size: 16px;
    text-align: left;
    max-width: 90%;
    margin: 10px auto 20px;
  }

  .impact-cta {
    font-size: 18px;
    padding: 12px 25px;
    margin: 0 auto;
    position: relative;
    left: -56px;
  }

  .impact-hero-container {
    text-align: center;
    width: 100%;
    position: relative;
    left: -95px;
  }
}

/* ==============================
   SOBRE NÓS
   ============================== */

.home-about {
  padding: 80px 0;
  width: 100%;
  background: #ffffff;
}

.home-about-wrapper {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: -80px;
}

/* COLUNA ESQUERDA */
.about-left {
  flex: 1;
}

.section-title {
  font-size: 3em;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0073e6;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.about-text {
  font-size: 18px;
  color: #444;
  max-width: 600px;
  line-height: 1.6;
  text-align: justify;
}

/* COLUNA DIREITA */
.about-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-right img {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  object-fit: cover;
}

/* MOBILE */
@media (max-width: 900px) {
  .home-about-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .about-left,
  .about-right {
    width: 100%;
  }

  .about-right img {
    max-width: 90%;
  }

  .section-title {
    text-align: center;
  }
}

/* ===================================
   SEÇÃO VALORES 
   =================================== */

.home-values {
  padding: 100px 0;
  width: 100%;
  background: linear-gradient(135deg, #e1eaf8b9 0%, #edf4fcd2 100%);
}

/* Wrapper */
.values-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* Barra lateral e título */
.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;
}

.title-bar {
  width: 6px;
  height: 45px;
  background: #0073e6; /* azul MidiaLab */
  border-radius: 4px;
}

.values-container .section-title {
  font-size: 3em;
  font-weight: 800;
  color: #0073e6;
}

/* GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}
/* CARDS — versão simétrica */
.value-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;

  /* 🔑 ESSENCIAL PARA SIMETRIA */
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}


.value-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.1);
}

/* Slot fixo do ícone */
.value-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}


/* Ícones */
.value-icon img {
  width: 70px;
  margin-bottom: 15px;
  opacity: 0.9;
  transition: 0.3s;
}

.value-box:hover .value-icon img {
  opacity: 1;
  transform: scale(1.05);
}
.value-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #005bab;

  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.value-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  flex-grow: 1;
}

.value-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.1);
}


/* ANIMAÇÃO BASE — estado inicial */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Quando o JS detectar que entrou no viewport */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Atraso escalonado para cada card */
.fade-in:nth-child(1) {
  transition-delay: 0s;
}

.fade-in:nth-child(2) {
  transition-delay: 0.15s;
}

.fade-in:nth-child(3) {
  transition-delay: 0.3s;
}

.fade-in:nth-child(4) {
  transition-delay: 0.45s;
}

/* ========= MOBILE ========= */

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-title {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2.3em;
    text-align: center;
  }
}

.inside-article {
  max-width: 100% !important;
  width: 100% !important;
}

.home-about,
.home-values {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

#page,
.site,
.site-content {
  max-width: 100% !important;
}

/* =========================================
   FOOTER MIDIALAB
   ========================================= */

.midialab-footer {
  background: #0a0a0a;
  color: #f1f1f1;
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Logo */
.footer-logo {
  width: 140px;
  position: relative;
  top: 20px;
}

/* Descrição */
.footer-desc {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 280px;
  text-align: justify;
}

/* Títulos */
.footer-col h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* Listas */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  opacity: 0.85;
}

.footer-col ul li a {
  text-decoration: none;
  color: #d7d7d7;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #0073e6;
}

/* Redes Sociais */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-social img {
  width: 28px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.footer-social img:hover {
  transform: scale(1.15);
  filter: brightness(1);
}

/* Linha inferior */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}

/* Responsivo */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  #logo {
    text-align: center;
  }

  #links {
    text-align: center;
  }

  #redes {
    text-align: center;
  }

  #contactos {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-desc {
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ==============================
   SINGLE NEWS — REFINADO
   ============================== */

.single-news {
  padding: 100px 0;
  background: #ffffff;
}

.single-news-container {
  width: 90%;
  max-width: 820px;
  margin: auto;
}

.single-article {
  display: block;
}

/* META */
.single-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* TÍTULO */
.single-title {
  font-family: "Oswald", sans-serif;
  font-size: 3.2em;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #111;
}

/* DIVISOR */
.single-divider {
  width: 60px;
  height: 4px;
  background: #0073e6;
  margin-bottom: 40px;
}

/* IMAGEM */
.single-thumb img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 50px;
}

/* CONTEÚDO */
.single-content {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: #222;
}

.single-content p {
  margin-bottom: 24px;
}

.single-content h2,
.single-content h3 {
  font-family: "Oswald", sans-serif;
  margin: 40px 0 15px;
  color: #111;
}

/* VOLTAR */
.single-back {
  margin-top: 60px;
}

.single-back a {
  font-weight: 600;
  color: #0073e6;
  text-decoration: none;
}

.single-back a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .single-title {
    font-size: 2.2em;
  }

  .single-news {
    padding: 60px 0;
  }
}

/* ==============================
   HOME NEWS
   ============================== */
.home-news-card a,
.home-news-card a:hover {
  text-decoration: none;
  color: inherit;
}



.home-news {
  padding: 100px 0;
  background: #ffffff;
}



.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* CARD */
.home-news-card {
  background: #4391cd95;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: 0.3s ease;
}

.home-news-card:hover {
  transform: translateY(-8px);
}

/* THUMB */
.home-news-thumb {
  width: 100%;
  aspect-ratio: 16 / 9; /* padrão jornalístico */
  overflow: hidden;
}

.home-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-news-card h3 {
  font-size: 20px;
  margin: 8px 20px 15px ;
  color: #005bab;
  font-weight: 700;
  line-height: 1.35;

  /* 🔑 LIMITE DE 3 LINHAS */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-card p {
  font-size: 15px;
  color: #555;
  margin: 0 20px 15px;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  margin: 0 20px 20px;
  font-weight: 600;
  color: #0073e6;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home-news-card:hover .read-more {
  color: #005bab;
  transform: translateX(4px);
}

.home-news-card {
  display: flex;
  flex-direction: column;
}

.home-news-card p {
  flex-grow: 1;
}


/* BOTÃO FINAL */
.home-news-action {
  text-align: center;
  margin-top: 50px;
}

/* MOBILE */
@media (max-width: 900px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }
}


.section-title-wrapper {
  text-align: left;
}

.home-news-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 40px;
}

.home-news-card {
  background: #ecfbffee;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.home-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.home-news-thumb img {
  width: 100%;
  border-radius: 12px;
}

.home-news-more {
  text-align: center;
  margin-top: 40px;
}

/* Responsivo */
@media (max-width: 900px) {
  .home-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   CONTACTOS
   ============================== */

.contact-hero {
  padding: 120px 0;
  background: linear-gradient(135deg, #eef3f9, #f7f9fc);
  text-align: center;
}

.contact-hero h1 {
  font-size: 4em;
}

.contact-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: auto;
  color: #555;
}

/* CONTEÚDO */
.contact-content {
  padding: 100px 0;
  background: #ffffff;
}

.contact-container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* INFO */
.contact-info h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #444;
}

/* FORM */
.contact-form h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.contact-form button {
  background: #0073e6;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #005bb5;
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 2.8em;
  }
}

/* ==============================
   CONTACTOS – UI PROFISSIONAL
   ============================== */

.contact-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #b8d0f5, #aed2fcbe);
}

.contact-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* COLUNA ESQUERDA */
.contact-info h2 {
  font-size: 3em;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

/* FORM CARD */
.contact-form-card {
  background: #ffffff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.contact-form-card h3 {
  font-size: 1.8em;
  margin-bottom: 25px;
}

/* FORM INPUTS */
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: border 0.3s, box-shadow 0.3s;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: #0073e6;
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.15);
}

/* BOTÃO */
#contactForm button {
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  background: #0073e6;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#contactForm button:hover {
  background: #005bb5;
  transform: translateY(-2px);
}

/* FEEDBACK */
.form-response {
  margin-top: 15px;
  font-weight: 500;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .contact-info p {
    margin: auto;
  }

  .contact-details {
    text-align: center;
    margin-top: 15px;
    position: relative;
    left: -15px;
  }
}
/* ==============================
   MAPA – CENTRALIZADO
   ============================== */

.contact-map-section {
  padding: 120px 0;
  background: #ffffff;
  text-align: center;
}

.contact-map-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.map-title {
  font-size: 3em;
  margin-bottom: 40px;
}

/* MAPA */
#midialab-map {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  overflow: hidden;
}

/* BOTÃO */
.map-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid #0073e6;
  color: #0073e6;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.map-button:hover {
  background: #0073e6;
  color: #ffffff;
}

/* MOBILE */
@media (max-width: 768px) {
  .map-title {
    font-size: 2.2em;
  }

  #midialab-map {
    height: 350px;
  }
}
/* ==============================
   NEWSLETTER INLINE BAR – MIDIALAB
   ============================== */
.newsletter-bar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: linear-gradient(
    to bottom,
    #0b2a4a 0%,
    #071a2f 70%,
    #050a0f 100%
  );

  padding: 70px 0 90px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* TRANSIÇÃO SUAVE PARA O FOOTER */
.newsletter-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;

  background: linear-gradient(
    to bottom,
    rgba(5,10,15,0) 0%,
    #0a0a0a 100%
  );
}

/* TRANSIÇÃO SUAVE PARA O FOOTER */
.newsletter-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;

  background: linear-gradient(
    to bottom,
    rgba(5,10,15,0) 0%,
    #0a0a0a 100%
  );
}


.newsletter-bar-inner {
  max-width: 1300px;
  width: 90%;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* TEXTO */
.newsletter-text strong {
  display: block;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 6px;
}

.newsletter-text span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

/* FORM */
.newsletter-form form {
  display: flex;
  align-items: center;
  gap: 15px;
}

.newsletter-input {
  height: 48px;
  padding: 0 16px;
  border-radius: 6px;
  border: none;
  font-size: 15px;
  min-width: 220px;
  outline: none;
}

.newsletter-input::placeholder {
  color: #999;
}

.newsletter-submit {
  height: 48px;
  padding: 0 28px;
  border-radius: 6px;
  border: none;
  background: #ffffff;
  color: #071a2f;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.newsletter-submit:hover {
  background: #0073e6;
  color: #ffffff;
}

/* ==============================
   MOBILE
   ============================== */

@media (max-width: 900px) {
  .newsletter-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-input,
  .newsletter-submit {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }
}


/* ==============================
   REMOVE GAP ENTRE NEWSLETTER E FOOTER
   ============================== */

.inside-article {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.site-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

#page {
  margin-bottom: 0 !important;
}

.newsletter-bar {
  margin-bottom: 0 !important;
}

.midialab-footer {
  margin-top: 0 !important;
}

.newsletter-bar {
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}



