/* =========================================================
Mimo7 | style.css (VERSÃO REESCRITA COMPLETA)
Base B2B, SEO, performance e responsivo
Inclui:
- Rodapé institucional com ícones alinhados
- Bloco Produção com altura fixa + overlay (troca só a imagem)
- Carrossel de logos contínuo elegante (cinza → color no hover)
========================================================= */

/* =========================================================
01) VARIÁVEIS
========================================================= */
:root{
  --m7_teal:   #4BA6C9;
  --m7_blue:   #3F79DF;
  --m7_green:  #A1CDAB;
  --m7_beige:  #E9E7E3;
  --m7_maroon: #360E0C;
  --m7_indigo: #393A76;
  --m7_yellow: #FAE54D;
  --m7_pink:   #E9BDBC;
  --m7_gray:   #9B9B9A;
  --m7_white:  #FFFFFF;

  --bg:          var(--m7_white);
  --surface:     var(--m7_white);
  --surface_alt: var(--m7_beige);

  --text:  #0F172A;
  --muted: #475569;

  --line: rgba(57,58,118,.18);

  --brand:       var(--m7_indigo);
  --accent:      var(--m7_yellow);
  --accent_text: #111827;

  --success: #16a34a;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --shadow_soft: 0 6px 18px rgba(2,6,23,.06);

  --container: 1120px;

  --img_hero: url("/assets/img/hero/hero.jpg");
  --focus: rgba(63,121,223,.35);
}

/* =========================================================
02) RESET E BASE
========================================================= */
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; display: block; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

/* =========================================================
03) ÍCONES (PADRÃO GLOBAL)
========================================================= */
.mini_icon,
.icon{
  width: 22px;
  height: 22px;
  display: block;
}

/* tamanhos por contexto */
.topbar .mini_icon{ width: 18px; height: 18px; }
.seo_block .mini_icon{ width: 16px; height: 16px; }
.footer .mini_icon{ width: 16px; height: 16px; }

/* =========================================================
04) TOPBAR
========================================================= */
.topbar{
  background: var(--brand);
  color: rgba(255,255,255,.92);
  font-size: 14px;
}

.topbar__inner{
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
}

.topbar__item{
  display: flex;
  gap: 10px;
  align-items: center;
}

.topbar__icon{
  display: flex;
  align-items: center;
}

.topbar__link{ opacity: .98; }
.topbar__link:hover{ text-decoration: underline; }

/* =========================================================
05) HEADER E MENU
========================================================= */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
}

.brand__logo{
  width: 118px;
  height: auto;
}

.nav{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__link{
  font-size: 15px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  transition: all .35s cubic-bezier(.4,.0,.2,1);
}

.nav__link:hover{
  background: rgba(75,166,201,.12);
  color: var(--text);
}

.nav__link.is_active{
  color: var(--text);
  font-weight: 650;
}

.header__cta{
  margin-left: 6px;
}

/* Menu mobile */
.nav_toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav_toggle span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

/* =========================================================
06) BOTÕES
========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid transparent;

  font-weight: 650;
  letter-spacing: .2px;

  cursor: pointer;
  user-select: none;

  transition: transform .08s ease, opacity .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:active{ transform: translateY(1px); }

.btn_primary{
  background: var(--accent);
  color: var(--accent_text);
  box-shadow: 0 8px 18px rgba(250,229,77,.28);
}

.btn_primary:hover{ opacity: .95; }

.btn_secondary{
  background: rgba(255,255,255,.92);
  border-color: var(--line);
  color: var(--text);
}

.btn_secondary:hover{ background: rgba(233,231,227,.65); }

.btn_whats{
  background: var(--success);
  color: #fff;
}

.btn_whats:hover{ opacity: .95; }

.btn_small{
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 14px;
}

/* =========================================================
07) HERO
========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(57,58,118,.84) 0%,
      rgba(57,58,118,.56) 45%,
      rgba(57,58,118,.18) 100%),
    var(--img_hero) center/cover no-repeat;
}

.hero__content{
  position: relative;
  padding: 64px 0;
}

.hero__text{
  width: min(760px, 100%);
  color: #fff;
}

.hero h1{
  margin: 0 0 12px 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.hero__subtitle{
  margin: 0 0 18px 0;
  font-size: 16px;
  opacity: .95;
  max-width: 70ch;
}

.hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero__trust{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trust_item{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: 12px 14px;
  border-radius: 16px;
  min-width: 220px;
}

.trust_item__title{ display: block; font-weight: 750; }
.trust_item__desc{ display: block; opacity: .9; font-size: 14px; }

.hero__proofline{
  margin-top: 14px;
  opacity: .95;
  font-weight: 650;
}

/* =========================================================
08) SEÇÕES E TÍTULOS
========================================================= */
.section{ padding: 56px 0; }

.section_alt{
  background: var(--surface_alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__header{
  text-align: center;
  margin-bottom: 24px;
}

.section__header h2{
  margin: 0 0 8px 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
}

.section__header p{
  margin: 0;
  color: var(--muted);
}

.section__title{
  margin: 0 0 8px 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.2;
  text-align: center;
}

.section__lead{
  margin: 0 0 24px 0;
  color: var(--muted);
  text-align: center;
  max-width: 86ch;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
09) GRIDS
========================================================= */
.grid3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* =========================================================
10) CARDS
========================================================= */
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.icon_badge{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(57,58,118,.08);
  border: 1px solid rgba(57,58,118,.14);
  margin-bottom: 12px;
}

/* =========================================================
AJUSTE | LISTAS (UL/OL) NO PADRÃO DO TEXTO DO SITE
Mantém listas com mesma tipografia, cor e ritmo dos parágrafos
========================================================= */

.card ul,
.card ol{
  margin: 10px 0 10px 18px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card li{
  margin: 6px 0;
}

.card li::marker{
  color: rgba(57,58,118,.65);
}

.card ul ul,
.card ol ol,
.card ul ol,
.card ol ul{
  margin-top: 8px;
}

/* =========================================================
11) CATEGORIAS
========================================================= */
.product_card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product_card__imgWrap{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #cbd5e1;
}

.product_card__imgFile{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product_card__body{
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product_card__text h3{
  margin: 0 0 6px 0;
  font-size: 15px;
}

.product_card__text p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
12) ETAPAS
========================================================= */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.step{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;

  display: flex;
  gap: 12px;
  align-items: flex-start;

  box-shadow: var(--shadow);
}

.step__num{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.step__text{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step__title{ font-weight: 650; color: var(--text); }
.step__meta{ font-size: 13px; color: var(--muted); }

/* =========================================================
13) PROCESSO (IMAGEM + CTA)
========================================================= */
.factory{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.factory__media{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #cbd5e1;
}

.factory__img{
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* overlay premium */
.factory__media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.14));
  pointer-events:none;
}

.factory__cta{
  padding: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
14) BLOCO PRODUÇÃO (ALTERNATIVO)
Use quando você tiver: <div class="production-image"><img ...></div>
========================================================= */
.production-image{
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.production-image img{
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.production-image::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.04), rgba(0,0,0,0.14));
  pointer-events:none;
}

/* =========================================================
15) PROVA SOCIAL (CARROSSEL)
========================================================= */
.logos_carousel{
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 8px 0;
}

.logos_carousel::before,
.logos_carousel::after{
  content:"";
  position:absolute;
  top:0;
  width:80px;
  height:100%;
  z-index:2;
  pointer-events:none;
}

.logos_carousel::before{
  left:0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(255,255,255,0) 100%);
}

.logos_carousel::after{
  right:0;
  background: linear-gradient(270deg, var(--bg) 0%, rgba(255,255,255,0) 100%);
}

.logos_track{
  display:flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: logosScroll 180s linear infinite;
}

.logos_carousel:hover .logos_track{
  animation-play-state: paused;
}

.logos_list{
  display:flex;
  align-items:center;
  gap: 14px;
}

.logos_list img{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;

  width: 160px;
  height: 74px;

  padding: 12px 18px;
  object-fit: contain;

  box-shadow: var(--shadow_soft);
  display:block;

  filter: grayscale(100%);
  opacity: .86;
  transition: all .35s cubic-bezier(.4,.0,.2,1);
}

.logos_list img:hover{
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

@keyframes logosScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .logos_track{ animation: none; }
}

.note{
  margin: 18px 0 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* =========================================================
16) LOCALIZAÇÃO
========================================================= */
.local_box{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.local_box__item{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.local_box__item h3{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.local_link:hover{ text-decoration: underline; }

/* =========================================================
17) CTA FINAL
========================================================= */
.cta{
  background: var(--brand);
  color: #fff;
}

.cta__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta h2{ margin: 0; }

.cta p{
  margin: 8px 0 0 0;
  opacity: .9;
}

.cta__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
18) SEO BLOCK (FUNDO CLARO) DADOS DA EMPRESA
========================================================= */
.section.seo_block{
  background: #ffffff;
  padding: 40px 0 34px;
  border-top: 1px solid var(--line);
}

.seo_block .footer__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px;
}

.seo_block .footer__title{
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 750;
  color: var(--text);
}

.seo_block .footer__subtitle{
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 750;
  color: var(--text);
}

.seo_block .footer__col p{
  margin: 8px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  font-weight: 500;
}

.seo_block .footer__item{
  display:flex;
  align-items:center;
  gap:12px;
  margin:10px 0;
}

.seo_block .footer__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  flex:0 0 18px;
  opacity:.95;
}

.seo_block .footer_link{
  position: relative;
  display: inline-block;
  margin: 6px 0;
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  transition: color .25s ease;
  font-weight: 500;
}

.seo_block .footer_link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.seo_block .footer_link:hover{ color: var(--text); }
.seo_block .footer_link:hover::after{ width: 100%; }

.seo_block .footer__item a{ word-break: break-word; }

/* =========================================================
19) FOOTER (ROXO) ENDEREÇO E COPYRIGHT
========================================================= */
.footer{
  background: var(--brand);
  color: rgba(255,255,255,.92);
  padding-top: 22px;
}

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 12px 0;
  text-align: center;
  font-size: 13px;
  opacity: .88;
}

.footer .footer_link{
  position: relative;
  display: inline-block;
  margin: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,.92);
  opacity: .9;
  text-decoration: none;
  transition: opacity .2s ease;
  font-weight: 500;
}

.footer .footer_link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.footer .footer_link:hover{ opacity: 1; }
.footer .footer_link:hover::after{ width: 100%; }

/* =========================================================
20) RODAPÉ | BLOCO LEGAL
   ---------------------------------------------------------
   Estilização dos links institucionais:
   - Política de Privacidade
   - Termos de Uso
   Localização: acima de "Todos os direitos reservados"
   Objetivo: reforçar conformidade jurídica e credibilidade B2B
========================================================= */

.footer__legal a{
  font-size: 13px;
  opacity: .85;
  transition: .2s ease;
}

.footer__legal a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* =========================================================
21) PÁGINAS LEGAIS | POLÍTICA E TERMOS
========================================================= */
.legal_page{ padding: 56px 0; }

.legal_header{
  text-align: center;
  margin-bottom: 22px;
}

.legal_header h1{
  margin: 0 0 8px 0;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.2;
}

.legal_subtitle{
  margin: 0;
  color: var(--muted);
  max-width: 90ch;
  margin-left: auto;
  margin-right: auto;
}

.legal_meta{
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal_card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.legal_card h2{
  margin: 18px 0 8px 0;
  font-size: 18px;
}

.legal_card p{
  margin: 0 0 10px 0;
  color: var(--muted);
}

.legal_card ul{
  margin: 0 0 10px 18px;
  color: var(--muted);
}

.legal_card li{ margin: 6px 0; }

@media (max-width: 720px){
  .legal_card{ padding: 18px; }
}
/* =========================================================
22) CONTATO (KOMMO)
========================================================= */
.contact_grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}

.contact_grid > *{ min-width: 0; }

.contact_form_card{ min-width: 0; }

.contact_form_card .kommo_embed{
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.contact_form_card .kommo_embed iframe{
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  display: block;
}

.contact_stack{
  display: grid;
  gap: 16px;
  min-width: 0;
}

.map_card iframe{
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: 14px;
  display: block;
}

.contact_info_block strong{
  display: block;
  font-size: 14px;
  margin-top: 10px;
}

.contact_info_block p{
  font-size: 14px;
  color: var(--muted);
}

/* =========================================================
23) LINKS PREMIUM (CONTEÚDO)
========================================================= */
a:not(.btn):not(.nav__link):not(.topbar__link):not(.footer_link){
  color: var(--brand);
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}

a:not(.btn):not(.nav__link):not(.topbar__link):not(.footer_link)::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

a:not(.btn):not(.nav__link):not(.topbar__link):not(.footer_link):hover{
  color: var(--text);
}

a:not(.btn):not(.nav__link):not(.topbar__link):not(.footer_link):hover::after{
  width: 100%;
}

/* =========================================================
24) RESPONSIVO GERAL
========================================================= */
@media (max-width: 1024px){
  .factory__img,
  .production-image img{ height: 380px; }
}

@media (max-width: 980px){
  .grid4{ grid-template-columns: repeat(2, 1fr); }
  .grid3{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }

  .cta__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .local_box{ grid-template-columns: 1fr; }
  .contact_grid{ grid-template-columns: 1fr; }

  .contact_form_card .kommo_embed{ min-height: 560px; }
  .map_card iframe{ height: 240px; }
}

@media (max-width: 768px){
  .factory__img,
  .production-image img{ height: 280px; }
}

@media (max-width: 720px){
  .topbar__inner{ justify-content: space-between; }

  .nav_toggle{
    display: flex;
    margin-left: auto;
  }

  .nav{
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;

    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;

    flex-direction: column;
    gap: 8px;

    box-shadow: var(--shadow);
  }

  .nav.is_open{ display: flex; }
  .header__cta{ display: none; }

  .hero__content{ padding: 52px 0; }

  .trust_item{
    min-width: 0;
    width: 100%;
  }

  .grid4{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }

  .product_card__body{
    flex-direction: column;
    align-items: flex-start;
  }

  .logos_carousel::before,
  .logos_carousel::after{
    width: 40px;
  }

  .logos_list img{
    width: 140px;
    height: 68px;
    padding: 10px 14px;
  }

  .seo_block .footer__grid{
    gap: 22px;
  }
}
/* ======================================================
CARDS DA PÁGINA LOJAS
====================================================== */

.loja_card__img {
  height: 200px;              /* altura do retângulo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loja_card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* faz preencher todo o espaço */
}
