/* ═══════════════════════════════════════════════════════════════════
   ME Locações & Suprimentos — style.css
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --blue: #1a6b97;
  --blue-d: #0d3349;
  --blue-l: #f3f6fc;
  --cyan: #12a3c8;
  --pink: #d63a86;
  --yellow: #ffcd06;
  --yellow-s: #e8d33f;
  --gray: #4b484d;
  --text: #3a3a3c;
  --wa: #25d366;
  --wa-d: #1db954;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(13, 51, 73, .12);
  --font-h: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font: 400 1rem/1.65 var(--font-b); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; color: var(--gray); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── Botões ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 8px; border: 0; cursor: pointer; font: 600 1rem var(--font-h); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: linear-gradient(180deg, #2fe06f, var(--wa-d)); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.btn-wa:hover { box-shadow: 0 14px 32px rgba(37, 211, 102, .5); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #145a82; }
.btn-ghost { background: var(--yellow); color: #2a2400; font-size: .86rem; padding: 8px 18px; border-radius: 99px; font-weight: 600; }
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

/* ── Header ── */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.logo { flex: none; }
.logo img { height: 62px; width: auto; max-width: none; aspect-ratio: 500 / 267; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font: 500 .93rem var(--font-b); color: #111; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a.active { color: #0a3fb8; }
.nav a.active { border-color: #0a3fb8; }
.header .btn-wa { padding: 12px 22px; font-size: 1rem; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 26px; height: 2.5px; background: var(--blue-d); border-radius: 2px; transition: transform .3s, opacity .3s; }
.header.open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.header.open .burger span:nth-child(2) { opacity: 0; }
.header.open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; background: var(--blue) url('../img/image_4.webp') center / cover no-repeat; color: #fff; padding: 84px 0 170px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 84, 126, .93), rgba(24, 107, 149, .8)); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--yellow-s); font: 500 1.15rem var(--font-b); margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 700; letter-spacing: -.02em; }
.checks { margin: 26px 0 34px; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.checks svg { width: 28px; height: 28px; flex: none; fill: var(--yellow); }
.hero-art img { width: 100%; max-width: 640px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3)); }

/* ── Cards de produto (sobrepõem o hero) ── */
.products { position: relative; z-index: 2; margin-top: -112px; }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: var(--shadow); border-radius: 6px; overflow: hidden; }
.product { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid #eee; }
.product:last-child { border-right: 0; }
.product img.title { height: auto; width: auto; max-height: 46px; max-width: 100%; object-fit: contain; object-position: left center; align-self: flex-start; }
.product h3 { font: 400 1.35rem var(--font-b); color: #3a3a3c; margin-top: 6px; }
.product p { font-size: .9rem; color: #666; flex: 1; }
.product .btn-ghost { align-self: flex-start; }

/* ── Seções ── */
.section { padding: 96px 0; }
.section.tint { background: var(--blue-l); }
.kicker { color: var(--blue); font: 500 1.02rem var(--font-b); margin-bottom: 10px; }
.h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 600; letter-spacing: -.02em; color: var(--gray); }
.lead { margin-top: 18px; color: #555; font-size: .98rem; }
.lead p + p { margin-top: 14px; }

.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-photos img { width: 100%; height: 100%; max-height: 400px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.about-photos img:nth-child(2) { margin-top: 36px; }
.about .btn { margin-top: 28px; }

/* ── Números ── */
.stats { position: relative; background: var(--blue) url('../img/Counter-BG-Image-4-1.png') center / cover; color: #fff; padding: 84px 0; text-align: center; }
.stats::before { content: ''; position: absolute; inset: 0; background: rgba(24, 107, 149, .93); }
.stats .container { position: relative; }
.stats h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; max-width: 820px; margin: 0 auto 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: #fff; color: var(--gray); border-radius: 18px; padding: 28px 12px 22px; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); }
.stat b { display: block; font: 600 clamp(2.6rem, 5vw, 3.6rem)/1.05 var(--font-h); color: var(--blue); font-variant-numeric: tabular-nums; }
.stat span { font-size: .86rem; display: block; margin-top: 6px; }

/* ── Clientes ── */
.logos { padding: 54px 0; overflow: hidden; }
.logos-track { display: flex; width: max-content; gap: 64px; align-items: center; animation: slide 36s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos img { height: 74px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos img:hover { filter: none; opacity: 1; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── Soluções ── */
.center { text-align: center; }
.sol-head { max-width: 820px; margin: 0 auto 54px; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sol { background: #fff; border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .25s; }
.sol:hover { transform: translateY(-6px); }
.sol .ico { width: 68px; height: 68px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.sol .ico img { width: 34px; height: 34px; object-fit: contain; }
.sol h3 { font: 500 1.25rem var(--font-b); color: #444; }
.sol p { font-size: .86rem; color: #666; flex: 1; }
.sol a { font-size: .86rem; color: var(--blue); font-weight: 600; }
.sol a:hover { text-decoration: underline; }

/* ── Faixa de suporte ── */
.support { position: relative; background: var(--blue-d) url('../img/banner.webp') center / cover no-repeat; color: #fff; padding: 110px 0 170px; text-align: center; }
.support .kicker { color: var(--yellow-s); }
.support h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; }
.support .checks { justify-content: center; justify-items: start; width: fit-content; margin: 26px auto 34px; text-align: left; }

/* ── Formulário ── */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.mini { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.mini .ico { width: 46px; height: 46px; border-radius: 12px; background: #e6f2f8; display: grid; place-items: center; margin-bottom: 14px; }
.mini .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini h3 { font: 500 1.1rem var(--font-b); margin-bottom: 6px; }
.mini p { font-size: .85rem; color: #666; }
.form { background: #efefef; border-radius: 22px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; box-shadow: var(--shadow); }
.form label, .form fieldset { display: block; font: 600 .84rem var(--font-h); color: #3a3a3c; border: 0; }
.form .full { grid-column: 1 / -1; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea, .form select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 6px; border: 1.5px solid transparent; background: #4f93bb; color: #fff; font: 400 .95rem var(--font-b); }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .75); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-color: #fff; box-shadow: 0 0 0 3px rgba(18, 163, 200, .45); }
.form .invalid { border-color: #ff5b5b !important; }
.opts { display: grid; gap: 4px; margin-top: 6px; }
.opts label { display: flex; align-items: center; gap: 8px; font: 400 .85rem var(--font-b); cursor: pointer; }
.opts input { accent-color: var(--blue); width: 16px; height: 16px; }
.form .btn { grid-column: 1 / -1; background: #9a9a9a; color: #fff; }
.form .btn:hover { background: var(--blue); }
.form-note { grid-column: 1 / -1; font-size: .8rem; color: #666; text-align: center; }
.form-ok { grid-column: 1 / -1; background: #e3f7ea; color: #14683a; border-radius: 8px; padding: 12px 14px; font-size: .9rem; display: none; }
.form-ok.show { display: block; }

/* ── Página interna ── */
.page-title { background: var(--blue); padding: 52px 0; }
.page-title h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; }
.history { display: grid; grid-template-columns: 1fr 240px; gap: 56px; align-items: center; }
.history .lead { font-size: .92rem; }
.badge-20 { background: #fff; border-radius: 22px; padding: 30px 14px; text-align: center; box-shadow: var(--shadow); }
.badge-20 b { display: block; font: 600 4rem/1 var(--font-h); color: var(--cyan); }
.badge-20 span { font-size: .9rem; color: #555; }
.slogan { margin-top: 22px; font: 600 1.2rem var(--font-h); color: var(--blue); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.mv.rev .mv-img { order: 2; }
.mv-img img { width: 100%; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
.mv h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; }
.mv p { margin-top: 12px; font-size: .95rem; color: #555; }
.band-blue { background: var(--blue); }
.band-blue .kicker { color: #fff; }
.band-blue h2, .band-blue p { color: #fff; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.value { border-radius: 26px; padding: 34px 18px; text-align: center; color: #fff; font: 500 1rem var(--font-b); display: grid; gap: 16px; justify-items: center; box-shadow: var(--shadow); }
.value img { width: 56px; height: 56px; }
.v1 { background: var(--cyan); } .v2 { background: var(--pink); } .v3 { background: var(--yellow-s); color: #3a3200; } .v4 { background: #4e4b52; }

/* ── Conteúdos ── */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.post:hover { transform: translateY(-6px); }
.post img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.post div { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post time { font-size: .78rem; color: #888; }
.post h3 { font: 600 1.1rem/1.3 var(--font-h); }
.post p { font-size: .88rem; color: #666; flex: 1; }
.post span { color: var(--blue); font-weight: 600; font-size: .88rem; }
.article { max-width: 780px; margin-inline: auto; }
.article img.cover { width: 100%; border-radius: 18px; margin-bottom: 30px; }
.article h2 { font-size: 1.6rem; margin: 34px 0 10px; }
.article p, .article li { color: #444; margin-top: 12px; }
.article ul { list-style: disc; padding-left: 22px; }
.back { display: inline-block; margin-bottom: 20px; color: var(--blue); font-weight: 600; }

/* ── Contato ── */
.contact-card { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-block: 56px 80px; }
.contact-card h1 { font-size: 2.6rem; font-weight: 700; }
.contact-card > div > p { margin: 14px 0 26px; max-width: 360px; font-size: .95rem; color: #555; }
.info { background: var(--blue); border-radius: 26px; padding: 30px; display: grid; gap: 16px; color: #fff; }
.info li { display: flex; align-items: center; gap: 14px; font-size: .88rem; }
.info .ic { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.info .ic svg { width: 20px; height: 20px; fill: none; stroke: #222; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.socials .ig { background: linear-gradient(45deg, #fdc830, #f5576c 55%, #9b42d1); }
.socials .wa { background: var(--wa-d); }
.socials svg { width: 24px; height: 24px; fill: #fff; }
.contact-card img { border-radius: 20px; width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.form.single { grid-template-columns: 1fr; max-width: 640px; margin: 44px auto 0; }

/* ── Footer ── */
.footer { background: var(--blue-d); color: #dbe7ee; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr .8fr; gap: 48px; align-items: start; }
.footer img { width: 260px; max-width: 100%; height: auto; aspect-ratio: 500 / 267; object-fit: contain; }
.footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 18px; }
.footer li { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; margin-bottom: 14px; }
.footer li svg { width: 17px; height: 17px; fill: var(--cyan); flex: none; margin-top: 3px; }
.footer .menu li { margin-bottom: 8px; }
.footer a:hover { color: var(--yellow); }
.copy { text-align: center; font-size: .78rem; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }

/* WhatsApp flutuante */
.wpp { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .2s; }
.wpp:hover { transform: scale(1.08); }
.wpp svg { width: 32px; height: 32px; fill: #fff; }

/* ── Animação de entrada ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .logos-track { animation: none; } html { scroll-behavior: auto; } }

/* ═════════ Responsivo ═════════ */
@media (max-width: 1080px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product:nth-child(2) { border-right: 0; }
  .product:nth-child(-n+2) { border-bottom: 1px solid #eee; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header-inner { height: 76px; }
  .logo img { height: 54px; }
  .burger { display: flex; }
  .header .btn-wa { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid #ddd; box-shadow: 0 20px 30px rgba(0, 0, 0, .12); transform: translateY(-130%); transition: transform .3s; z-index: -1; }
  .header.open .nav { transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid #eee; font-size: 1.05rem; }
  .nav .nav-wa { display: inline-flex; margin-top: 16px; border: 0; color: #fff; }
  .hero { padding: 56px 0 150px; }
  .hero-inner, .about, .form-wrap, .history, .mv, .contact-card, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { margin-inline: auto; max-width: 440px; }
  .section { padding: 68px 0; }
  .sol-grid, .posts { grid-template-columns: repeat(2, 1fr); }
  .mv.rev .mv-img { order: 0; }
  .history { gap: 32px; }
  .badge-20 { max-width: 240px; }
  .contact-card { padding: 28px 22px; }
  .footer-grid { gap: 32px; }
}
@media (min-width: 901px) { .nav .nav-wa { display: none; } }
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .products-grid { grid-template-columns: 1fr; }
  .product { border-right: 0; border-bottom: 1px solid #eee; }
  .product:last-child { border-bottom: 0; }
  .products { margin-top: -96px; }
  .eyebrow { font-size: 1rem; }
  .checks li { font-size: 1rem; }
  .sol-grid, .posts, .mini-cards, .form, .values { grid-template-columns: 1fr; }
  .stats-grid { gap: 14px; }
  .form { padding: 22px 18px; }
  .about-photos { grid-template-columns: 1fr 1fr; }
  .about-photos img:nth-child(3) { display: none; }
  .about-photos img { max-height: 300px; }
  .logos-track { gap: 40px; }
  .logos img { height: 58px; }
  .support { padding: 80px 0 140px; }
  .contact-card h1 { font-size: 2.1rem; }
}

/* ── Popup de contato ── */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(8, 30, 45, .6); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
body.modal-open { overflow: hidden; }
.modal-box { position: relative; background: #fff; border-radius: 20px; width: 100%; max-width: 460px; padding: 34px 28px 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 2rem; line-height: 1; color: #888; cursor: pointer; }
.modal-x:hover { color: #222; }
.modal-box h3 { font: 600 1.6rem var(--font-h); color: var(--blue); }
.modal-sub { font-size: .9rem; color: #666; margin: 6px 0 20px; }
.modal form { display: grid; gap: 14px; }
.modal label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: #444; }
.modal input[type=text], .modal input[type=email], .modal input[type=tel] { font: 400 1rem var(--font-b); padding: 12px 14px; border: 1.5px solid #d9dfe6; border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .2s; }
.modal input:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 107, 151, .18); }
.modal input.invalid { border-color: #d33; }
.modal fieldset { border: 0; padding: 0; margin: 4px 0 0; }
.modal legend { font-size: .85rem; font-weight: 600; color: #444; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: block; font-weight: 500; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 8px 14px; border: 1.5px solid #d9dfe6; border-radius: 99px; font-size: .88rem; color: #444; transition: all .15s; }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(26, 107, 151, .3); }
.modal-err { color: #d33; font-size: .85rem; min-height: 0; }
.modal-err:empty { display: none; }
.modal .btn { justify-content: center; width: 100%; margin-top: 4px; }
