/* ========================================================================== 
   Nino Máquinas e Serviços | Site institucional v5.3.0
   Reconstrução semântica do mockup aprovado. Todos os textos são HTML real.
   Largura máxima: 1280 px. Identidade: azul-marinho, laranja e verde funcional.
   ========================================================================== */

:root {
  --site-max: 1280px;
  --content-max: 1188px;
  --navy-1000: #01070d;
  --navy-950: #020b14;
  --navy-925: #03101d;
  --navy-900: #041522;
  --navy-850: #061b2c;
  --navy-800: #08243a;
  --navy-760: #0a2c47;
  --navy-700: #123b5a;
  --orange: #f36f10;
  --orange-strong: #dc5600;
  --orange-soft: #ff9a4c;
  --green: #53a43c;
  --green-strong: #2e7b2e;
  --green-soft: #9ad766;
  --white: #f7f9fb;
  --gray-100: #e7eef4;
  --gray-200: #c8d4de;
  --gray-300: #9fb0be;
  --gray-400: #758999;
  --line: rgba(255,255,255,.13);
  --line-strong: rgba(255,255,255,.22);
  --shadow-sm: 0 12px 30px rgba(0,0,0,.22);
  --shadow-md: 0 24px 60px rgba(0,0,0,.34);
  --shadow-lg: 0 38px 100px rgba(0,0,0,.44);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-body: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: #01060b; }
body {
  margin: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 50% -15%, rgba(20,70,108,.35), transparent 38%),
    linear-gradient(90deg,#00050a,#020911 18%,#020911 82%,#00050a);
  overflow-x: hidden;
}
body.is-modal-open { overflow: hidden; }
img,svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button,input,textarea,select { font: inherit; }
button,a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(243,111,16,.95); outline-offset: 3px; }

#cms-page {
  width: min(100%, var(--site-max));
  margin-inline: auto;
  overflow: clip;
  background: var(--navy-950);
  box-shadow: 0 0 100px rgba(0,0,0,.58);
}
.site-shell { width: min(var(--content-max), calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed; top: 10px; left: -9999px; z-index: 1000;
  padding: 10px 15px; border-radius: 8px; color: #07111a; background: #fff; font-weight: 800;
}
.skip-link:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 18px; border: 1px solid transparent; border-radius: 7px;
  font-size: 13px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase;
  cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: linear-gradient(135deg,#ff7b15,var(--orange-strong)); box-shadow: 0 14px 32px rgba(210,76,0,.25); }
.btn--primary:hover { box-shadow: 0 18px 42px rgba(210,76,0,.38); }
.btn--outline { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(2,14,24,.62); backdrop-filter: blur(7px); }
.btn--outline:hover { border-color: var(--green-soft); background: rgba(4,27,43,.88); }
.btn--whatsapp { color: #fff; border-color: rgba(116,218,100,.42); background: linear-gradient(135deg,#399448,#247232); box-shadow: 0 12px 30px rgba(27,110,47,.25); }
.btn svg { width: 19px; height: 19px; fill: currentColor; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 800; }
.text-link--green { color: var(--green-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(2,15,27,.96); backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
}
.cms-admin-mode .site-header { top: 52px; }
.header-inner {
  min-height: 76px; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 22px;
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.site-brand > img { width: 78px; height: 78px; object-fit: contain; flex: 0 0 auto; }
.site-brand > img,.hero__brand-stamp img,.circular-mark__core img,.site-brand--footer > img { object-fit:contain; object-position:center; }
.site-brand__copy { display: grid; line-height: .92; white-space: nowrap; }
.site-brand__copy strong { font-family: var(--font-display); font-size: 31px; letter-spacing: .055em; }
.site-brand__copy small { margin-top: 6px; color: var(--gray-100); font-family: var(--font-display); font-size: 10px; font-weight: 800; letter-spacing: .085em; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(11px,1.4vw,22px); }
.main-nav a {
  position: relative; padding: 28px 0 25px; color: var(--gray-100);
  font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; white-space: nowrap;
}
.main-nav a::after { content:""; position:absolute; right:0; bottom:17px; left:0; height:2px; border-radius:99px; background:var(--orange); transform:scaleX(0); transform-origin:left; transition:transform .18s ease; }
.main-nav a:hover::after,.main-nav a.is-active::after { transform: scaleX(1); }
.header-whatsapp { min-height: 42px; padding: 9px 14px; white-space: nowrap; }
.menu-toggle { display:none; width:44px; height:42px; padding:9px; border:1px solid var(--line-strong); border-radius:8px; background:rgba(255,255,255,.045); cursor:pointer; }
.menu-toggle span { display:block; width:23px; height:2px; margin:4px auto; border-radius:9px; background:#fff; }

/* Hero */
.hero { position: relative; padding: 18px 0 20px; background: linear-gradient(180deg,var(--navy-925),var(--navy-950)); }
.hero__background {
  position:absolute; inset:18px 16px 20px; border-radius:17px; overflow:hidden;
  background:
    linear-gradient(90deg,rgba(1,9,16,.96) 0%,rgba(2,15,26,.83) 34%,rgba(2,15,26,.26) 64%,rgba(1,10,18,.75) 100%),
    linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.34)),
    url("../img/site2026/hero-workshop-clean.webp?v=5.3.0") center/cover no-repeat;
  border:1px solid rgba(255,255,255,.08); box-shadow:var(--shadow-md);
}
.hero__background::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 53% 43%,rgba(243,111,16,.18),transparent 37%); }
.hero__inner {
  position:relative; min-height: 456px; display:grid; grid-template-columns: 35% 45% 20%; align-items:stretch; z-index:1;
}
.hero__copy { align-self:center; z-index:3; padding: 46px 0 40px 28px; max-width: 415px; }
.eyebrow { display:block; color:var(--orange); font-family:var(--font-display); font-size:13px; font-weight:900; letter-spacing:.045em; text-transform:uppercase; }
.hero h1 { margin:10px 0 15px; max-width:380px; font-family:var(--font-display); font-size:clamp(42px,4.35vw,64px); line-height:.93; letter-spacing:-.025em; text-transform:uppercase; text-shadow:0 4px 20px rgba(0,0,0,.45); }
.hero h1 span,.hero h1 strong { color:var(--orange); font-weight:inherit; }
.hero__copy p { max-width:345px; margin:0; color:var(--gray-200); font-size:15px; line-height:1.5; text-shadow:0 2px 10px rgba(0,0,0,.55); }
.hero__actions { display:flex; flex-wrap:wrap; gap:11px; margin-top:22px; }
.hero__visual { position:relative; min-width:0; overflow:visible; }
.hero__machine-frame { position:absolute; inset:23px -8px 15px -16px; overflow:hidden; border-radius:14px; mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 92%,transparent 100%); }
.hero__machine { position:absolute; width:66%; max-width:none; height:100%; left:3%; top:0; object-fit:cover; object-position:50% 50%; filter:saturate(1.06) contrast(1.03) drop-shadow(0 20px 30px rgba(0,0,0,.38)); }
.hero__machine-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(2,13,23,.65),transparent 26%,transparent 76%,rgba(2,13,23,.38)); pointer-events:none; }
.hero__mascot { position:absolute; z-index:4; width:50%; max-width:none; right:-7%; bottom:-5px; object-fit:contain; filter:drop-shadow(0 22px 30px rgba(0,0,0,.48)); }
.hero__brand-stamp { position:absolute; z-index:5; left:34%; top:40%; width:72px; height:72px; padding:6px; border:1px solid rgba(255,255,255,.18); border-radius:50%; background:rgba(3,15,25,.82); box-shadow:0 10px 24px rgba(0,0,0,.4); transform:rotate(-2deg); }
.hero__brand-stamp img { width:100%; height:100%; object-fit:contain; }
.hero-benefits { align-self:center; z-index:6; display:grid; gap:0; margin:54px 14px 54px -4px; border:1px solid rgba(243,111,16,.72); border-radius:12px; background:rgba(2,17,29,.88); box-shadow:0 20px 50px rgba(0,0,0,.34); backdrop-filter:blur(8px); overflow:hidden; }
.hero-benefits article { display:grid; grid-template-columns:38px 1fr; gap:10px; align-items:center; min-height:96px; padding:16px 14px; border-bottom:1px solid rgba(255,255,255,.09); }
.hero-benefits article:last-child { border-bottom:0; }
.line-icon { width:34px; height:34px; display:grid; place-items:center; color:var(--orange); }
.line-icon svg { width:31px; height:31px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.hero-benefits strong { display:block; font-size:14px; line-height:1.2; }
.hero-benefits small { display:block; margin-top:4px; color:var(--gray-200); font-size:12px; line-height:1.25; }

/* Common headings */
.section-heading { margin-bottom:18px; }
.section-heading--compact { display:flex; flex-direction:column; align-items:flex-start; }
.section-heading h2 { margin:4px 0 0; font-size:28px; line-height:1.15; }

/* Services */
.services-section { padding:26px 0 22px; background:linear-gradient(180deg,#051a2c,#041624); }
.service-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:10px; }
.service-card { position:relative; min-width:0; overflow:hidden; border:1px solid rgba(255,255,255,.2); border-radius:11px; background:linear-gradient(180deg,#071d30,#061624); box-shadow:0 12px 28px rgba(0,0,0,.18); transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.service-card:hover { transform:translateY(-4px); border-color:rgba(243,111,16,.72); box-shadow:0 18px 38px rgba(0,0,0,.32); }
.service-card > img { width:100%; aspect-ratio:1.15/1; object-fit:cover; border-bottom:1px solid rgba(255,255,255,.1); }
.service-card--mascot > img { object-position:center 15%; }
.service-card__body { position:relative; min-height:150px; padding:11px 10px 30px; }
.service-card__title { display:flex; align-items:flex-start; gap:7px; }
.mini-icon { flex:0 0 auto; display:grid; place-items:center; width:22px; height:22px; border:1px solid rgba(243,111,16,.82); border-radius:50%; color:var(--orange); font-size:12px; font-weight:900; }
.service-card h3 { margin:1px 0 0; font-family:var(--font-display); font-size:14px; line-height:1.1; text-transform:capitalize; }
.service-card p { margin:10px 0 0; color:var(--gray-300); font-size:11px; line-height:1.45; }
.service-card__body > a { position:absolute; right:10px; bottom:8px; color:var(--orange); font-size:21px; line-height:1; font-weight:900; }

/* Nino Circular */
.circular-section { position:relative; padding:18px 0; overflow:hidden; background:linear-gradient(100deg,#05150d,#0a2614 48%,#04190d); border-top:1px solid rgba(92,160,67,.4); border-bottom:1px solid rgba(92,160,67,.4); }
.circular-section::before { content:""; position:absolute; inset:0; opacity:.18; background:radial-gradient(circle at 52% 50%,rgba(95,185,70,.35),transparent 34%),repeating-radial-gradient(circle at 50% 110%,transparent 0 20px,rgba(255,255,255,.025) 21px 22px); }
.circular-grid { position:relative; min-height:245px; display:grid; grid-template-columns:34% 30% 36%; align-items:center; gap:18px; z-index:1; }
.circular-copy h2 { margin:8px 0 12px; max-width:390px; font-size:31px; line-height:1.15; }
.circular-copy p { max-width:390px; margin:0; color:#c3d3c5; font-size:14px; line-height:1.55; }
.eyebrow--green { color:var(--green-soft); }
.circular-mark { position:relative; width:250px; height:250px; margin:auto; display:grid; place-items:center; }
.circular-arrows { position:absolute; inset:0; width:100%; height:100%; overflow:visible; filter:drop-shadow(0 10px 18px rgba(0,0,0,.36)); }
.circular-arrows > path { fill:none; stroke:#63ae43; stroke-width:17; stroke-linecap:round; }
.circular-arrows marker path { fill:#63ae43; stroke:none; }
.circular-mark__core { position:relative; z-index:2; width:152px; height:152px; display:grid; place-items:center; padding:0; border-radius:50%; background:transparent; filter:drop-shadow(0 18px 24px rgba(0,0,0,.42)); }
.circular-mark__core img { width:100%; height:100%; object-fit:contain; }
.circular-benefits { display:grid; gap:13px; }
.circular-benefits article { display:grid; grid-template-columns:38px 1fr; gap:11px; align-items:start; }
.circular-benefits article > span { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(132,205,84,.7); border-radius:50%; color:var(--green-soft); font-size:17px; }
.circular-benefits strong { display:block; color:var(--green-soft); font-size:14px; text-transform:uppercase; }
.circular-benefits p { margin:3px 0 0; color:#c9d7cb; font-size:12px; line-height:1.4; }
.circular-benefits b { color:var(--green-soft); font-size:14px; text-transform:uppercase; letter-spacing:.025em; }

/* Cases */
.cases-section { padding:26px 0 22px; background:linear-gradient(180deg,#061a2b,#041522); }
.cases-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.case-card { overflow:hidden; border:1px solid rgba(255,255,255,.24); border-radius:10px; background:#061624; box-shadow:var(--shadow-sm); cursor:pointer; transition:transform .18s ease,border-color .18s ease; }
.case-card:hover { transform:translateY(-3px); border-color:rgba(243,111,16,.72); }
.case-compare { display:grid; grid-template-columns:1fr 1fr; }
.case-compare figure { position:relative; margin:0; overflow:hidden; border-right:1px solid rgba(255,255,255,.28); }
.case-compare figure:last-child { border-right:0; }
.case-compare img { width:100%; aspect-ratio:1.55/1; object-fit:cover; transition:transform .35s ease; }
.case-card:hover img { transform:scale(1.035); }
.case-compare span { position:absolute; z-index:2; top:7px; left:7px; padding:3px 7px; border-radius:4px; color:#fff; background:rgba(2,10,18,.86); border:1px solid rgba(255,255,255,.22); font-size:10px; font-weight:900; text-transform:uppercase; }
.case-compare figure:last-child span { background:var(--orange); border-color:var(--orange); }
.case-card h3 { margin:0; padding:9px 10px 10px; text-align:center; font-size:14px; }
.case-dots { display:flex; justify-content:center; gap:6px; margin-top:13px; }
.case-dots span { width:7px; height:7px; border-radius:50%; background:#526374; }
.case-dots .is-active { background:var(--orange); }

/* Why */
.why-section { padding:20px 0 24px; background:#041522; border-top:1px solid rgba(255,255,255,.08); }
.why-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); margin-top:12px; border-top:1px solid rgba(255,255,255,.12); }
.why-grid article { display:grid; grid-template-columns:42px 1fr; gap:9px; align-items:start; min-height:108px; padding:17px 15px 10px; border-right:1px solid rgba(255,255,255,.13); }
.why-grid article:first-child { padding-left:0; }
.why-grid article:last-child { border-right:0; padding-right:0; }
.why-icon { width:36px; height:36px; display:grid; place-items:center; color:var(--orange); font-size:26px; }
.why-grid h3 { margin:0; font-size:14px; }
.why-grid p { margin:5px 0 0; color:var(--gray-300); font-size:11px; line-height:1.42; }

/* CTA */
.cta-section { padding:16px 0 17px; background:linear-gradient(180deg,#041522,#03111d); }
.cta-grid { position:relative; min-height:174px; display:grid; grid-template-columns:34% 28% 38%; align-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.13); border-radius:14px; background:linear-gradient(100deg,#09223a,#071c31 62%,#09243c); box-shadow:var(--shadow-sm); }
.cta-copy { padding:25px 25px 23px 34px; }
.cta-copy h2 { margin:0; font-family:var(--font-display); font-size:34px; line-height:1.02; text-transform:uppercase; }
.cta-copy h2 span { color:var(--orange); }
.cta-copy p { margin:12px 0 0; color:var(--gray-200); font-size:13px; line-height:1.5; }
.cta-list { display:grid; gap:9px; margin:0; padding:20px 20px 20px 28px; list-style:none; border-left:1px solid rgba(255,255,255,.13); }
.cta-list li { display:flex; align-items:center; gap:9px; color:var(--gray-100); font-size:12px; }
.cta-list li span { width:18px; height:18px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--green); font-size:11px; font-weight:900; }
.cta-mascot { position:relative; align-self:stretch; min-width:0; }
.cta-mascot > img { position:absolute; width:56%; max-width:none; right:34%; bottom:-31%; filter:drop-shadow(0 18px 26px rgba(0,0,0,.38)); }
.btn--cta { position:absolute; right:28px; bottom:22px; z-index:3; }

/* Footer */
.site-footer { padding:26px 0 0; border-top:1px solid rgba(255,255,255,.1); background:#020d17; }
.footer-grid { display:grid; grid-template-columns:1.55fr .72fr .72fr .72fr 1.35fr; gap:28px; padding-bottom:22px; }
.site-brand--footer > img { width:112px; height:112px; }
.site-brand--footer .site-brand__copy strong { font-size:29px; }
.site-brand--footer { display:block; }
.site-brand--footer > img { object-fit:contain; }
.footer-brand > p { max-width:290px; margin:13px 0 0; color:var(--gray-300); font-size:12px; line-height:1.55; }
.footer-brand .footer-legal { color:#778b9a; font-size:10px; }
.site-footer h3 { margin:5px 0 12px; color:var(--gray-100); font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
.footer-links { display:grid; gap:7px; }
.footer-links a,.footer-contact a,.footer-contact address,.footer-contact small { color:var(--gray-300); font-size:11px; line-height:1.45; font-style:normal; }
.footer-links a:hover,.footer-contact a:hover { color:var(--orange-soft); }
.footer-contact { display:grid; align-content:start; gap:8px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; padding:12px 0 15px; border-top:1px solid rgba(255,255,255,.09); color:#6f8494; font-size:10px; }

/* Floating WhatsApp */
.whatsapp-float { position:fixed; right:max(18px,calc((100vw - var(--site-max))/2 + 18px)); bottom:18px; z-index:75; display:flex; align-items:center; gap:8px; min-height:45px; padding:10px 14px; border-radius:999px; color:#fff; background:#25823b; box-shadow:0 16px 36px rgba(0,0,0,.35); font-size:12px; font-weight:800; }
.whatsapp-float svg { width:23px; height:23px; fill:currentColor; }

/* Lightbox */
.lightbox { position:fixed; inset:0; z-index:300; display:grid; place-items:center; padding:28px; background:rgba(0,5,10,.88); backdrop-filter:blur(10px); }
.lightbox[hidden] { display:none; }
.lightbox img { max-width:min(980px,92vw); max-height:78vh; border-radius:12px; box-shadow:var(--shadow-lg); }
.lightbox strong { margin-top:13px; font-size:18px; }
.lightbox__close { position:absolute; top:18px; right:20px; width:46px; height:46px; border:1px solid rgba(255,255,255,.28); border-radius:50%; color:#fff; background:rgba(0,0,0,.38); font-size:30px; cursor:pointer; }

/* CMS visual safety */
.cms-editing .site-header { position:relative; top:auto; }
.cms-editing [data-cms-component] { min-height:1px; }

/* 1180 and below */
@media (max-width:1180px) {
  .header-inner { grid-template-columns:84px 1fr auto; gap:14px; }
  .site-brand > img { width:68px; height:68px; }
  .site-brand__copy strong { font-size:27px; }
  .main-nav { gap:12px; }
  .main-nav a { font-size:12px; }
  .header-whatsapp { padding-inline:11px; }
  .hero__inner { grid-template-columns:37% 43% 20%; }
  .hero h1 { font-size:48px; }
  .service-card h3 { font-size:13px; }
}

/* Tablet */
@media (max-width:1020px) {
  html { scroll-padding-top:76px; }
  .site-shell { width:min(var(--content-max),calc(100% - 32px)); }
  .header-inner { min-height:70px; grid-template-columns:1fr auto auto; }
  .menu-toggle { display:block; order:2; }
  .header-whatsapp { order:3; }
  .main-nav { position:absolute; top:70px; right:16px; left:16px; display:none; grid-template-columns:repeat(2,1fr); gap:0; padding:8px; border:1px solid var(--line-strong); border-radius:12px; background:rgba(2,15,27,.98); box-shadow:var(--shadow-md); }
  .main-nav.is-open { display:grid; }
  .main-nav a { padding:13px 14px; border-radius:7px; }
  .main-nav a::after { display:none; }
  .main-nav a:hover,.main-nav a.is-active { background:rgba(243,111,16,.12); color:var(--orange-soft); }
  .hero__inner { min-height:530px; grid-template-columns:42% 58%; }
  .hero__copy { padding-left:22px; }
  .hero__visual { grid-column:2; }
  .hero-benefits { position:absolute; right:12px; bottom:22px; width:260px; margin:0; grid-template-columns:repeat(3,1fr); }
  .hero-benefits article { min-height:82px; grid-template-columns:1fr; gap:4px; padding:10px; text-align:center; border-bottom:0; border-right:1px solid rgba(255,255,255,.09); }
  .hero-benefits article:last-child { border-right:0; }
  .line-icon { margin:auto; }
  .hero-benefits small { display:none; }
  .service-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
  .service-card__body { min-height:132px; }
  .circular-grid { grid-template-columns:1fr 240px; }
  .circular-benefits { grid-column:1/-1; grid-template-columns:repeat(3,1fr); gap:14px; padding-top:6px; border-top:1px solid rgba(255,255,255,.1); }
  .circular-benefits b { grid-column:1/-1; text-align:center; }
  .cases-grid { grid-template-columns:repeat(2,1fr); }
  .why-grid { grid-template-columns:repeat(3,1fr); }
  .why-grid article:nth-child(3) { border-right:0; }
  .why-grid article:nth-child(n+4) { border-top:1px solid rgba(255,255,255,.13); }
  .cta-grid { grid-template-columns:45% 55%; }
  .cta-copy { grid-column:1; }
  .cta-list { grid-column:1; border-left:0; padding-top:0; }
  .cta-mascot { grid-column:2; grid-row:1/3; }
  .cta-mascot > img { width:70%; right:28%; bottom:-18%; }
  .footer-grid { grid-template-columns:1.5fr repeat(3,1fr); }
  .footer-contact { grid-column:1/-1; grid-template-columns:repeat(4,1fr); gap:18px; padding-top:15px; border-top:1px solid rgba(255,255,255,.09); }
  .footer-contact h3 { grid-column:1/-1; }
}

/* Mobile */
@media (max-width:720px) {
  .site-shell { width:calc(100% - 24px); }
  .site-brand__copy { display:none; }
  .site-brand > img { width:58px; height:58px; }
  .header-inner { grid-template-columns:1fr auto auto; min-height:66px; }
  .header-whatsapp { min-width:43px; width:43px; padding:8px; border-radius:9px; }
  .header-whatsapp svg { width:22px; height:22px; }
  .header-whatsapp { font-size:0; }
  .main-nav { top:66px; }
  .hero { padding-top:10px; }
  .hero__background { inset:10px 8px 14px; }
  .hero__inner { min-height:680px; display:block; }
  .hero__copy { position:relative; z-index:8; max-width:none; padding:34px 18px 0; }
  .hero h1 { max-width:330px; font-size:44px; }
  .hero__copy p { max-width:330px; font-size:14px; }
  .hero__actions { gap:8px; }
  .hero__actions .btn { min-height:43px; padding:10px 12px; font-size:11px; }
  .hero__visual { position:absolute; right:8px; bottom:73px; left:8px; height:365px; }
  .hero__machine-frame { inset:0; }
  .hero__machine { width:72%; height:100%; left:2%; object-position:50% 50%; opacity:.94; }
  .hero__mascot { width:49%; right:-2%; bottom:-2px; }
  .hero__brand-stamp { width:56px; height:56px; left:31%; top:44%; }
  .hero-benefits { right:18px; bottom:18px; left:18px; width:auto; grid-template-columns:repeat(3,1fr); }
  .hero-benefits article { min-height:66px; padding:7px 5px; }
  .hero-benefits strong { font-size:10px; }
  .line-icon,.line-icon svg { width:24px; height:24px; }
  .services-section { padding-top:22px; }
  .section-heading h2 { font-size:24px; }
  .service-grid { display:flex; gap:11px; overflow-x:auto; scroll-snap-type:x mandatory; padding:2px 2px 12px; scrollbar-width:thin; }
  .service-card { flex:0 0 70%; max-width:245px; scroll-snap-align:start; }
  .service-card > img { aspect-ratio:1.45/1; }
  .service-card__body { min-height:120px; }
  .circular-grid { min-height:auto; grid-template-columns:1fr; padding:8px 12px; text-align:left; }
  .circular-copy h2 { font-size:27px; }
  .circular-mark { width:225px; height:225px; }
  .circular-benefits { grid-template-columns:1fr; }
  .circular-benefits b { text-align:left; }
  .cases-grid { display:flex; overflow-x:auto; gap:12px; padding:2px 2px 12px; scroll-snap-type:x mandatory; }
  .case-card { flex:0 0 86%; scroll-snap-align:start; }
  .why-grid { grid-template-columns:1fr; border-top:0; }
  .why-grid article,.why-grid article:first-child,.why-grid article:last-child { min-height:auto; padding:13px 0; border-right:0; border-top:1px solid rgba(255,255,255,.11); }
  .cta-grid { min-height:450px; display:block; padding:0; }
  .cta-copy { padding:24px 22px 8px; }
  .cta-copy h2 { font-size:31px; }
  .cta-list { width:58%; padding:10px 12px 88px 22px; }
  .cta-mascot { position:static; }
  .cta-mascot > img { width:61%; right:-16%; bottom:-18%; }
  .btn--cta { right:auto; left:22px; bottom:18px; max-width:190px; min-height:40px; padding:8px 10px; font-size:10px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px 18px; }
  .footer-brand { grid-column:1/-1; }
  .footer-contact { grid-column:1/-1; display:grid; grid-template-columns:1fr; gap:8px; }
  .footer-contact h3 { grid-column:auto; }
  .footer-bottom { flex-direction:column; gap:5px; }
  .whatsapp-float { right:12px; bottom:12px; width:48px; height:48px; min-height:48px; padding:11px; justify-content:center; }
  .whatsapp-float span { display:none; }
}

@media (max-width:420px) {
  .hero__inner { min-height:710px; }
  .hero h1 { font-size:39px; }
  .hero__visual { height:350px; bottom:76px; }
  .hero__machine { width:77%; left:-4%; }
  .hero__mascot { width:53%; right:-5%; }
  .service-card { flex-basis:78%; }
  .cta-copy p { max-width:95%; }
  .cta-list { width:62%; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* ========================================================================== 
   Compatibilidade dos módulos administrativos e do Portal Nino Circular
   Mantém as telas internas da produção funcionais após a reconstrução pública.
   ========================================================================== */
:root {
  --slate-100: var(--gray-100);
  --slate-200: var(--gray-200);
  --slate-300: var(--gray-300);
  --slate-400: var(--gray-400);
  --orange-500: var(--orange);
  --orange-400: var(--orange-soft);
  --green-500: var(--green);
  --green-600: var(--green-strong);
}
.site-container,.container { width:min(var(--content-max),calc(100% - 48px)); margin-inline:auto; }
.brand-lockup { display:inline-flex; align-items:center; gap:10px; min-width:0; }
.brand-lockup>img { width:64px; height:64px; flex:0 0 auto; object-fit:contain; }
.brand-lockup__text { display:grid; line-height:.92; white-space:nowrap; }
.brand-lockup__text strong { font-family:var(--font-display); font-size:30px; letter-spacing:.045em; }
.brand-lockup__text small { margin-top:6px; color:var(--gray-100); font-family:var(--font-display); font-size:10px; font-weight:800; letter-spacing:.08em; }
.button { display:inline-flex; min-height:46px; align-items:center; justify-content:center; gap:9px; padding:11px 18px; border:1px solid transparent; border-radius:7px; color:#fff; font-size:13px; font-weight:900; text-transform:uppercase; cursor:pointer; }
.button--primary { background:linear-gradient(135deg,#ff7b15,var(--orange-strong)); }
.button--outline { border-color:rgba(255,255,255,.35); background:rgba(2,14,24,.62); }
.button--eco,.button--whatsapp { background:linear-gradient(135deg,#399448,#247232); }
.button--wide { width:100%; }

.nino-access-layer[hidden] { display:none; }
.nino-access-layer { position:fixed; inset:0; z-index:950; display:grid; place-items:center; padding:20px; }
.nino-access-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; background:rgba(0,7,13,.78); backdrop-filter:blur(8px); cursor:default; }
.nino-access-panel { position:relative; z-index:2; width:min(460px,100%); padding:26px; border:1px solid var(--line-strong); border-radius:18px; background:linear-gradient(160deg,#0b2d49,#051827); box-shadow:0 32px 90px rgba(0,0,0,.52); }
.nino-access-panel__head { display:grid; grid-template-columns:60px 1fr 38px; align-items:center; gap:12px; margin-bottom:20px; }
.nino-access-panel__head img { width:58px; height:58px; object-fit:contain; }
.nino-access-panel__head h2 { margin:0; font-family:var(--font-display); font-size:26px; text-transform:uppercase; }
.nino-access-panel__head p { margin:2px 0 0; color:var(--gray-300); font-size:11px; }
.nino-access-close { width:36px; height:36px; border:1px solid var(--line); border-radius:8px; color:#fff; background:rgba(255,255,255,.05); cursor:pointer; }
.nino-access-form { display:grid; gap:13px; }
.nino-access-form label { display:grid; gap:5px; color:var(--gray-200); font-size:11px; font-weight:700; }
.nino-access-form input { width:100%; padding:12px 13px; border:1px solid rgba(255,255,255,.18); border-radius:8px; color:#fff; background:rgba(255,255,255,.055); }
.nino-access-actions { display:flex; gap:10px; margin-top:4px; }
.nino-access-actions>* { flex:1; }
.nino-access-error { margin-bottom:12px; padding:10px 12px; border:1px solid rgba(223,93,70,.4); border-radius:8px; color:#ffe7e2; background:rgba(165,50,34,.28); font-size:11px; }
.nino-access-logged { display:grid; gap:12px; }
.nino-access-logged p { margin:0; color:var(--gray-200); }
.nino-access-fab { position:fixed; z-index:75; right:18px; top:18px; padding:9px 12px; border:1px solid var(--line-strong); border-radius:999px; color:#fff; background:rgba(4,24,41,.94); box-shadow:var(--shadow-sm); font-size:11px; font-weight:800; cursor:pointer; }
.site-public .nino-access-fab { display:none; }

.page-shell { min-height:70vh; padding:58px 0 80px; background:linear-gradient(180deg,#071d31,#041321); }
.page-title { margin:0 0 10px; font-family:var(--font-display); font-size:clamp(36px,5vw,52px); text-transform:uppercase; }
.section-kicker { color:var(--orange); font-family:var(--font-display); font-weight:900; letter-spacing:.045em; text-transform:uppercase; }
.small-muted { color:var(--gray-300); font-size:13px; }
.portal-card,.portal-panel { padding:24px; border:1px solid var(--line-strong); border-radius:16px; background:linear-gradient(180deg,rgba(14,53,84,.96),rgba(7,29,49,.98)); box-shadow:var(--shadow-sm); }
.portal-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.portal-table { width:100%; border-collapse:collapse; }
.portal-table th,.portal-table td { padding:12px; border-bottom:1px solid var(--line); text-align:left; }
.portal-form { display:grid; gap:16px; }
.portal-form .row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.portal-form label { display:grid; gap:6px; font-weight:700; }
.portal-form input,.portal-form textarea,.portal-form select { width:100%; padding:12px 13px; border:1px solid rgba(255,255,255,.18); border-radius:8px; color:#fff; background:rgba(255,255,255,.055); }
.portal-form select option { color:#111; }
.portal-actions { display:flex; flex-wrap:wrap; gap:12px; }
.status-pill { display:inline-flex; padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.12); font-size:11px; font-weight:800; }
.status-pill--green { color:#d8f6df; background:rgba(51,145,72,.28); }
.alert-ok,.alert-error,.admin-alert { margin:0 0 16px; padding:12px; border-radius:10px; color:#fff; }
.alert-ok { background:#276d3a; }
.alert-error { background:#8b3025; }
.quick-link { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.05); }

.portal-body { min-height:100vh; background:radial-gradient(circle at 82% 0%,rgba(64,139,77,.12),transparent 28%),linear-gradient(180deg,#020b14,#041321 42%,#020b14); }
.portal-body .nino-access-fab { display:none; }
.portal-site-header .header-inner { grid-template-columns:minmax(210px,auto) 1fr auto; }
.portal-user-badge { min-width:142px; display:grid; padding:9px 12px; border:1px solid var(--line); border-radius:9px; background:rgba(255,255,255,.045); line-height:1.12; }
.portal-user-badge span { color:var(--gray-400); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.portal-user-badge strong { max-width:190px; margin-top:4px; overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.portal-page-heading { margin-bottom:30px; }
.portal-page-heading .section-kicker { margin-bottom:7px; }
.portal-footer { border-top:1px solid var(--line); background:#020c16; }
.portal-footer__inner { min-height:118px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px; padding-top:20px; padding-bottom:20px; }
.portal-footer__inner img { width:58px; height:58px; object-fit:contain; }
.portal-footer__inner p { margin:0; color:var(--gray-300); font-size:13px; }
.portal-footer__inner strong { color:#fff; }
.portal-footer__inner a { padding:10px 14px; border:1px solid rgba(104,185,108,.36); border-radius:8px; color:#dff5e2; background:rgba(47,125,59,.16); font-size:12px; font-weight:800; }
.portal-register-header { border-bottom:1px solid var(--line); background:rgba(3,17,30,.98); }
.portal-register-header>.container { min-height:86px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.portal-register-header>.container>div { display:flex; flex-wrap:wrap; gap:10px; }
.portal-register .page-shell { padding-top:44px; }
.portal-register .portal-panel { max-width:920px; }
.portal-register .page-title { max-width:850px; }
.portal-register .nino-access-layer { z-index:1000; }

@media(max-width:1020px){
  .site-container,.container { width:min(var(--content-max),calc(100% - 32px)); }
  .portal-site-header .header-inner { grid-template-columns:1fr auto auto; }
  .portal-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:720px){
  .site-container,.container { width:calc(100% - 24px); }
  .brand-lockup__text { display:none; }
  .portal-user-badge { min-width:0; max-width:150px; }
  .portal-grid,.portal-form .row { grid-template-columns:1fr; }
  .portal-table { display:block; overflow-x:auto; }
  .portal-footer__inner { grid-template-columns:auto 1fr; }
  .portal-footer__inner>a { grid-column:1/-1; text-align:center; }
  .portal-register-header>.container { align-items:flex-start; padding-top:12px; padding-bottom:12px; }
  .nino-access-actions { flex-direction:column; }
}
