/*
Theme Name: New Montagens
Theme URI: https://newmontagens.com.br
Author: New Montagens
Description: Tema do site New Montagens com páginas virtuais por cidade e bairro (Vale do Paraíba/SP), pensado para SEO, mobile e baixo consumo de inodes. Inclui, opcionalmente, o módulo MMP Montador Pro.
Version: 1.0.0
Text Domain: newmontagens
*/
/* New Montagens - SEO city/service pages - matches brand (vermelho/prata/preto) */
:root{
  --red: #C1121F;
  --red-light: #E63946;
  --red-dark: #7E0201;
  --red-deep: #4d0000;
  --silver: #C7C9CC;
  --silver-light: #EDEEF0;
  --ink: #1B1B1F;
  --ink-soft: #45464C;
  --bg: #F7F7F8;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --shadow-sm: 0 4px 14px rgba(0,0,0,.08);
  --grad: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 55%, var(--red-light) 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:'Segoe UI', Roboto, Arial, sans-serif; color:var(--ink);
  background:var(--bg); line-height:1.55;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.container{max-width:1180px; margin:0 auto; padding:0 20px}
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:14px 26px; border-radius:50px;
  font-weight:700; font-size:15px; cursor:pointer; border:none; transition:.2s;
}
.btn-primary{background:#25D366; color:#fff; box-shadow:0 6px 18px rgba(37,211,102,.35)}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 10px 24px rgba(37,211,102,.45)}
.btn-outline{background:#fff; color:var(--red); border:2px solid var(--red)}
.btn-outline:hover{background:var(--red); color:#fff}

/* HEADER */
.site-header{
  background:var(--white); box-shadow:0 2px 12px rgba(0,0,0,.08); position:sticky; top:0; z-index:100;
}
.site-header .container{display:flex; align-items:center; justify-content:space-between; padding:10px 20px}
.site-header .logo{display:flex; align-items:center; gap:10px}
.site-header .logo img{height:52px; width:auto}
.header-actions{display:flex; align-items:center; gap:14px}
.header-phone{font-weight:700; color:var(--red-dark); font-size:15px; display:none}
@media(min-width:720px){.header-phone{display:block}}
.nav-links{display:none; gap:22px; font-weight:600; font-size:14px}
@media(min-width:900px){.nav-links{display:flex}}
.nav-links a:hover{color:var(--red)}

/* MENU MOBILE (hamburguer) */
.menu-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:none; border:none; cursor:pointer; padding:0; margin-left:auto; order:2;
}
.menu-toggle span{display:block; width:100%; height:3px; background:var(--ink); border-radius:2px; transition:.25s}
.menu-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
@media(min-width:900px){.menu-toggle{display:none}}
@media(max-width:899px){
  .site-header .container{flex-wrap:wrap}
  .header-actions{order:3}
  .nav-links{order:4; width:100%}
  .nav-links.open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:100%; left:0; right:0; background:#fff;
    box-shadow:0 10px 24px rgba(0,0,0,.14); padding:6px 20px 14px; z-index:150;
  }
  .nav-links.open a{padding:13px 0; border-bottom:1px solid #eee; font-size:15px}
}

/* BREADCRUMB */
.breadcrumb{font-size:13px; color:var(--ink-soft); padding:14px 0}
.breadcrumb a:hover{color:var(--red)}
.breadcrumb span{margin:0 6px; opacity:.5}

/* HERO */
.hero{background:var(--grad); color:#fff; position:relative; overflow:hidden}
.hero .container{padding:52px 20px 60px; display:grid; gap:34px}
@media(min-width:960px){.hero .container{grid-template-columns:1.1fr .9fr; align-items:center; padding:70px 20px 80px}}
.pill{
  display:inline-block; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.4);
  padding:6px 16px; border-radius:50px; font-size:13px; font-weight:700; letter-spacing:.3px; margin-bottom:16px;
}
@media(max-width:480px){.pill{font-size:11.5px; padding:6px 13px; border-radius:16px}}
.hero h1{font-size:clamp(28px,4vw,44px); margin:0 0 16px; line-height:1.15; font-weight:800}
.hero p.lead{font-size:17px; opacity:.95; margin:0 0 26px; max-width:560px}
@media(max-width:480px){.hero p.lead{font-size:15px}}
.hero-actions{display:flex; flex-wrap:wrap; gap:14px}
.hero-media{border-radius:var(--radius); overflow:hidden; box-shadow:0 20px 50px rgba(0,0,0,.35); background:#000}
.hero-media img, .hero-media video{width:100%; height:100%; object-fit:cover; display:block}

/* HERO com foto de fundo (usado na home) */
.hero-bg{background-size:cover; background-position:center; position:relative}
.hero-bg::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, rgba(18,14,12,.80) 0%, rgba(28,20,16,.58) 45%, rgba(28,20,16,.22) 100%);
}
.hero-bg .container{position:relative; z-index:1; display:block; max-width:720px; padding:56px 20px 64px}
@media(min-width:960px){.hero-bg .container{padding:110px 20px 120px}}

/* Na home, o botão de telefone e os selinhos ficam neutros (não vermelhos) sobre a foto */
.hero-bg-home .btn-outline{background:#fff; color:var(--ink); border:2px solid #fff}
.hero-bg-home .btn-outline:hover{background:var(--ink); color:#fff; border-color:var(--ink)}
.hero-bg-home .badge-row span{background:rgba(255,255,255,.92); color:var(--ink-soft); font-weight:700}

/* No mobile, a home fica só com o selo + título + frase curta, tudo centralizado
   (o WhatsApp já tem o botão flutuante, não precisa repetir aqui) */
@media(max-width:959px){
  .hero-bg-home .hero-actions{display:none}
  .hero-bg-home .badge-row{display:none}
  .hero-bg-home p.lead{display:none}
  .hero-bg-home .container{text-align:center; display:flex; flex-direction:column; align-items:center}
}
.hero-sub{display:none}
@media(max-width:959px){
  .hero-bg-home .hero-sub{display:block; font-size:16px; opacity:.95; margin:0 0 6px; font-weight:600}
}

/* Imagem de fundo específica da home: recortes diferentes para mobile e desktop,
   para o móvel aparecer bem enquadrado em vez de cortado/zoomado */
.hero-bg-home{
  background-image:url('assets/img/ferramentas-montagem-mobile-640.webp');
  background-position:center 30%;
  min-height:520px;
}
@media(min-width:960px){
  .hero-bg-home{
    background-image:url('assets/img/roupeiro-hero-desktop-1600.webp');
    background-position:center;
    min-height:0;
  }
}

/* STATS */
.stats-section{background:var(--white); padding:34px 0; border-bottom:1px solid #eee}
.stats-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:22px; text-align:center}
@media(min-width:720px){.stats-grid{grid-template-columns:repeat(4,1fr)}}
.stat-num{font-size:clamp(26px,3vw,36px); font-weight:800; color:var(--red)}
.stat-label{font-size:13px; color:var(--ink-soft); font-weight:600}

/* SECTION */
.section{padding:56px 0}
.section-head{text-align:center; max-width:680px; margin:0 auto 40px}
.section-head .pill{background:rgba(193,18,31,.1); border-color:rgba(193,18,31,.3); color:var(--red-dark)}
.section-head h2{font-size:clamp(24px,3vw,32px); margin:10px 0 12px; font-weight:800}
.section-head p{color:var(--ink-soft); font-size:15.5px}
.section-alt{background:var(--white)}

/* SERVICE CARDS */
.service-grid{display:grid; grid-template-columns:1fr; gap:24px}
@media(min-width:680px){.service-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1020px){.service-grid{grid-template-columns:repeat(3,1fr)}}
.service-card{
  background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm);
  transition:.25s; display:flex; flex-direction:column;
}
.service-card:hover{transform:translateY(-5px); box-shadow:var(--shadow)}
.service-card .thumb{aspect-ratio:4/3; overflow:hidden; background:#eee}
.service-card .thumb img{width:100%; height:100%; object-fit:cover; transition:.4s}
.service-card:hover .thumb img{transform:scale(1.06)}
.service-card .body{padding:20px; display:flex; flex-direction:column; gap:10px; flex:1}
.service-card .icon{font-size:26px}
.service-card h3{margin:0; font-size:18px; font-weight:800}
.service-card p{margin:0; font-size:14px; color:var(--ink-soft); flex:1}
.service-card ul{margin:0; padding:0; list-style:none; font-size:13.5px; color:var(--ink-soft)}
.service-card ul li{padding-left:20px; position:relative; margin-bottom:5px}
.service-card ul li:before{content:"✓"; position:absolute; left:0; color:var(--red); font-weight:800}
.service-card .card-link{margin-top:8px; font-weight:700; color:var(--red); font-size:14px}

/* GALLERY */
.gallery-filters{display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:30px}
.filter-btn{
  background:#fff; border:2px solid var(--silver); color:var(--ink-soft); padding:9px 18px; border-radius:50px;
  font-weight:700; font-size:13.5px; cursor:pointer; transition:.2s;
}
.filter-btn.active, .filter-btn:hover{background:var(--red); border-color:var(--red); color:#fff}
.gallery-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
@media(min-width:720px){.gallery-grid{grid-template-columns:repeat(4,1fr)}}
.gallery-item{border-radius:12px; overflow:hidden; aspect-ratio:1/1; box-shadow:var(--shadow-sm); position:relative}
.gallery-item img{width:100%; height:100%; object-fit:cover; transition:.35s}
.gallery-item:hover img{transform:scale(1.08)}
.gallery-item.hide{display:none}

/* STEPS */
.steps{display:grid; grid-template-columns:1fr; gap:22px}
@media(min-width:720px){.steps{grid-template-columns:repeat(4,1fr)}}
.step{background:#fff; border-radius:var(--radius); padding:26px 20px; text-align:center; box-shadow:var(--shadow-sm)}
.step-num{
  width:44px; height:44px; border-radius:50%; background:var(--grad); color:#fff; font-weight:800;
  display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-size:18px;
}
.step h3{margin:0 0 8px; font-size:16px}
.step p{margin:0; font-size:13.5px; color:var(--ink-soft)}

/* CITIES / TAGS */
.tag-links{display:flex; flex-wrap:wrap; gap:10px; justify-content:center}
.tag-links a{
  background:#fff; border:1px solid #e2e2e4; padding:10px 18px; border-radius:50px; font-weight:700;
  font-size:13.5px; transition:.2s;
}
.tag-links a:hover{background:var(--red); color:#fff; border-color:var(--red)}

/* FAQ */
.faq-list{max-width:800px; margin:0 auto}
.faq-item{background:#fff; border-radius:12px; margin-bottom:12px; box-shadow:var(--shadow-sm); overflow:hidden}
.faq-item summary{
  padding:18px 22px; font-weight:700; cursor:pointer; list-style:none; display:flex;
  justify-content:space-between; align-items:center; font-size:15px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{content:"+"; font-size:22px; color:var(--red); font-weight:400}
.faq-item[open] summary:after{content:"–"}
.faq-item .faq-a{padding:0 22px 20px; color:var(--ink-soft); font-size:14.5px}

/* CTA FINAL */
.cta-final{background:var(--grad); color:#fff; text-align:center; padding:60px 20px; border-radius:var(--radius); margin:0 20px}
.cta-final h2{font-size:clamp(22px,3vw,30px); margin:0 0 14px; font-weight:800}
.cta-final p{opacity:.95; margin:0 0 26px}

/* FLOATING WHATSAPP - agora sempre visível (desktop e mobile), sem a barra grande */
.wa-float-wrap{position:fixed; right:16px; bottom:20px; z-index:200; display:block}
.wa-float{
  width:56px; height:56px; border-radius:50%; background:#25D366; display:flex; align-items:center;
  justify-content:center; box-shadow:0 8px 24px rgba(37,211,102,.5); position:relative;
}
@media(min-width:900px){.wa-float{width:60px; height:60px}}
.wa-float svg{width:28px; height:28px; fill:#fff}
@media(min-width:900px){.wa-float svg{width:30px; height:30px}}
.wa-ring{
  position:absolute; inset:0; border-radius:50%; border:2px solid #25D366; animation:pulse-ring 2s infinite;
}
@keyframes pulse-ring{0%{transform:scale(1); opacity:.7}100%{transform:scale(1.8); opacity:0}}
.sticky-cta{display:none}
body{padding-bottom:0}

/* FOOTER */
.site-footer{background:#151517; color:#c8c8cc; padding:50px 0 20px; margin-top:40px}
.footer-grid{display:grid; grid-template-columns:1fr; gap:30px}
@media(min-width:780px){.footer-grid{grid-template-columns:2fr 1fr 1fr}}
.footer-grid h4{color:#fff; font-size:15px; margin:0 0 14px}
.footer-grid ul{list-style:none; padding:0; margin:0; font-size:13.5px}
.footer-grid ul li{margin-bottom:9px}
.footer-grid ul li a:hover{color:var(--red-light)}
.footer-logo{width:150px; height:auto; margin-bottom:16px; background:#fff; border-radius:10px; padding:6px}
.footer-bottom{text-align:center; font-size:12.5px; color:#777; margin-top:34px; padding-top:20px; border-top:1px solid #2a2a2c}

/* MISC */
.intro-text{max-width:820px; margin:0 auto; color:var(--ink-soft); font-size:15.5px}
.two-col{display:grid; grid-template-columns:1fr; gap:40px; align-items:center}
@media(min-width:900px){.two-col{grid-template-columns:1fr 1fr}}
.two-col img{border-radius:var(--radius); box-shadow:var(--shadow)}
.badge-row{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.badge-row span{background:rgba(255,255,255,.15); padding:6px 14px; border-radius:50px; font-size:12.5px; font-weight:700}

/* ===== Acréscimos do tema (mobile-first) ===== */
.hero-media{aspect-ratio:4/3}
@media(min-width:960px){.hero-media{aspect-ratio:3/4}}
.nm-local{background:#fff; border:1px solid var(--silver-light); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow-sm)}
.nm-local p{margin:0 0 12px; color:var(--ink-soft)}
.nm-local p:last-child{margin-bottom:0}
.nm-chips{display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0}
.nm-chips a{display:inline-block; padding:9px 14px; background:#fff; border:1px solid var(--silver); border-radius:50px; font-size:13.5px; font-weight:600; min-height:40px; line-height:1.4}
.nm-chips a:hover{background:var(--red); border-color:var(--red); color:#fff}
.nm-more{margin-top:14px}
.nm-more summary{cursor:pointer; font-weight:700; color:var(--red-dark); padding:10px 0}
.nm-h2{font-size:clamp(22px,3vw,30px); margin:0 0 14px; line-height:1.2}
.nm-note{font-size:14px; color:var(--ink-soft)}
.breadcrumb{font-size:13px; overflow-x:auto; white-space:nowrap}
.breadcrumb.container{padding-left:20px; padding-right:20px}
@media(max-width:480px){.btn{width:100%; justify-content:center}.hero-actions .btn{width:100%}}

/* ===== Desktop: mais respiro e texto maior (a base acima é pensada para celular) ===== */
@media(min-width:1024px){
  body{font-size:17px; line-height:1.7}
  .container{max-width:1240px; padding:0 40px}
  .site-header .container{padding:12px 40px}
  .breadcrumb.container{padding-left:40px; padding-right:40px; font-size:14px}

  /* topo */
  .hero .container{padding:96px 40px 104px; gap:56px}
  .hero-bg .container{max-width:1240px; padding:150px 40px 160px}
  .hero-bg .container > *{max-width:760px}
  .hero h1{font-size:clamp(36px,3.4vw,46px); line-height:1.15; margin-bottom:24px}
  .hero-bg h1{font-size:clamp(44px,4.2vw,60px); line-height:1.12}
  .hero p.lead{font-size:21px; line-height:1.65; max-width:680px; margin-bottom:36px}
  .pill{font-size:14px; padding:8px 20px; margin-bottom:24px}
  .hero-actions{gap:18px}
  .btn{padding:17px 34px; font-size:17px}
  .badge-row{gap:14px; margin-top:28px}
  .badge-row span{font-size:14.5px; padding:9px 18px}

  /* números */
  .stats-section{padding:64px 0}
  .stats-grid{gap:40px}
  .stat-num{font-size:48px; margin-bottom:6px}
  .stat-label{font-size:16px}

  /* seções */
  .section{padding:104px 0}
  .section-head{max-width:780px; margin-bottom:64px}
  .section-head h2{font-size:clamp(32px,3vw,42px); line-height:1.2; margin:16px 0 18px}
  .section-head p{font-size:18.5px; line-height:1.7}
  .intro-text{max-width:860px; font-size:18px; line-height:1.8}
  .nm-h2{font-size:clamp(28px,2.6vw,36px); margin-bottom:20px}
  .nm-note{font-size:15.5px}
  .two-col{gap:64px}
  .nm-local{padding:32px 36px}
  .nm-local p{font-size:17px; line-height:1.8; margin-bottom:18px}
  .nm-chips{gap:12px}
  .nm-chips a{font-size:15.5px; padding:11px 20px; min-height:44px}

  /* cartões (centraliza a última linha quando sobra) */
  .service-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:36px}
  .service-grid > *{flex:0 0 calc((100% - 72px) / 3); max-width:calc((100% - 72px) / 3)}
  .service-card .body{padding:30px 30px 32px; gap:16px}
  .service-card .icon{font-size:32px}
  .service-card h3{font-size:21px; line-height:1.3}
  .service-card p{font-size:16.5px; line-height:1.7}
  .service-card ul{font-size:16px}
  .service-card ul li{margin-bottom:9px; padding-left:26px}
  .service-card .card-link{font-size:16px; margin-top:12px}

  /* galeria */
  .gallery-filters{gap:14px; margin-bottom:44px}
  .filter-btn{font-size:15.5px; padding:12px 24px}
  .gallery-grid{gap:24px}

  /* passos, cidades, FAQ */
  .steps{gap:32px}
  .step{padding:40px 30px}
  .step-num{width:54px; height:54px; font-size:21px; margin-bottom:20px}
  .step h3{font-size:19px; margin-bottom:12px}
  .step p{font-size:16.5px; line-height:1.7}
  .tag-links{gap:14px}
  .tag-links a{font-size:16px; padding:13px 24px}
  .faq-list{max-width:900px}
  .faq-item{margin-bottom:16px}
  .faq-item summary{padding:24px 30px; font-size:18px}
  .faq-item .faq-a{padding:0 30px 28px; font-size:17px; line-height:1.8}

  /* chamada final e rodapé */
  .cta-final{padding:88px 40px; margin:0 auto; max-width:1160px}
  .cta-final h2{font-size:clamp(30px,3vw,40px); margin-bottom:18px}
  .cta-final p{font-size:19px; margin-bottom:34px}
  .site-footer{padding:72px 0 28px; margin-top:80px}
  .footer-grid{grid-template-columns:1.1fr 1.7fr 1.1fr; gap:56px}
  .footer-logo{width:190px; margin-bottom:22px}
  .footer-grid > div:nth-child(2) ul{columns:2; column-gap:32px}
  .footer-grid > div:nth-child(2) li{break-inside:avoid}
  .footer-grid h4{font-size:17px; margin-bottom:20px}
  .footer-grid ul{font-size:16px}
  .footer-grid ul li{margin-bottom:13px}
  .footer-bottom{font-size:14px; margin-top:48px; padding-top:26px}
}
@media(min-width:1024px) and (max-width:1279px){
  .service-grid{gap:28px}
  .service-grid > *{flex-basis:calc((100% - 56px) / 3); max-width:calc((100% - 56px) / 3)}
}
