/* ===== Pejétro Performance – Tema Dark Moderno (Azul/PCB) ===== */
:root{
  --ink:#e8eef8;
  --muted:#c3d0e6;

  --bg:#0b0b0d;     /* base muito escura */
  --card:#0c1016;   /* cartões/painéis */
  --line:#151c25;

  --brand:#00c4e8;  /* ciano principal */
  --brand-2:#5fe6ff;

  --brand-glow: 0 0 24px rgba(0,196,232,.35), 0 0 60px rgba(0,196,232,.18);
  --space-1:.75rem;
  --space-2:1.25rem;
  --space-3:1.75rem;
  --space-4:2.6rem;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html.theme-light{
  --ink:#102a4a;
  --muted:#5d6f8a;
  --bg:linear-gradient(180deg,#ffffff 0%,#f2f6ff 45%,#d8e7ff 100%);
  --card:#ffffff;
  --line:rgba(16,52,96,.16);
  --brand:#009edb;
  --brand-2:#35c7ff;
  --brand-glow:0 12px 28px rgba(0,132,222,.22),0 0 0 rgba(0,0,0,0);
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-padding-top:clamp(72px,14vw,116px)}
body{
  margin:0; color:var(--ink); font-family:Inter,system-ui,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background: var(--bg);
  overflow-x:hidden;
  position:relative;
  isolation:isolate;
  font-size:clamp(1rem,0.98rem + 0.5vw,1.08rem);
  line-height:1.65;
}

html.theme-light body{color:var(--ink);}

input,select,textarea{
  font-family:inherit;
  font-size:1rem;
  line-height:1.45;
}

img,svg{display:block;max-width:100%;height:auto}
#language-switcher-mobile{display:none}

/* Overlay fixo com halos (cobre a página toda, sem 'preto') */
body::before{
  content:"";
  position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(1200px 680px at 10% -10%, rgba(0,196,232,.18), transparent 60%),
    radial-gradient(1200px 720px at 90% 110%, rgba(0,196,232,.12), transparent 62%),
    linear-gradient(180deg, #0a0f16 0%, #0a1220 40%, #0b0f16 100%);
  background-repeat:no-repeat;
}

html.theme-light body::before{
  background:
    radial-gradient(1200px 680px at 12% -12%, rgba(92,148,255,.24), transparent 60%),
    radial-gradient(1200px 720px at 88% 110%, rgba(118,174,255,.22), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #eef5ff 48%, #dce9ff 100%);
}

/* ===== Abertura: feixe + grid ===== */
.intro-sweep{
  position:fixed; inset:-25% -10%; z-index:3; pointer-events:none;
  background: linear-gradient(96deg, transparent 0%, rgba(255,255,255,.08) 14%, rgba(255,255,255,.22) 20%, transparent 28%);
  transform: translateX(-120%) rotate(4deg);
  filter: blur(4px);
  animation: sweep 1100ms ease-out forwards 60ms;
}
@keyframes sweep{
  0%{transform:translateX(-120%) rotate(4deg); opacity:.9}
  80%{transform:translateX(20%) rotate(4deg); opacity:.25}
  100%{transform:translateX(120%) rotate(4deg); opacity:0}
}
.grid-wrap{
  position:fixed; inset:0; z-index:2; pointer-events:none;
  display:grid; place-items:end center;
  animation: gridIn 900ms ease-out forwards 120ms;
}
@keyframes gridIn{ from{opacity:0; transform:translateY(10px)} to{opacity:.9; transform:translateY(0)} }
.grid{
  width:140vw; height:58vh;
  background:
    linear-gradient(to right, rgba(95,230,255,.14) 1px, transparent 1px) 0 0/ 5.2vw 100%,
    linear-gradient(to top,   rgba(95,230,255,.14) 1px, transparent 1px) 0 0/ 100% 4.6vh;
  transform-origin:center bottom;
  transform: perspective(900px) rotateX(68deg) translateY(6vh);
  mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 22%, #000 50%);
  border-bottom: 1px solid rgba(95,230,255,.18);
  box-shadow: 0 -40px 120px rgba(0,196,232,.12) inset;
  filter: drop-shadow(0 -2px 22px rgba(0,196,232,.22));
}
.fx-hide{ animation: fxOut .5s ease-in forwards 900ms; }
@keyframes fxOut{ to{opacity:0; visibility:hidden} }

/* ===== Utilidades ===== */
a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:0 clamp(1rem,3.8vw,2.2rem)}
.wrap{display:flex;align-items:center;justify-content:flex-start;gap:.8rem;flex-wrap:wrap}
.site-header .wrap{flex-wrap:nowrap;gap:.75rem}
.mt-1{margin-top:1rem}
.mt-08{margin-top:.8rem}
.muted{color:var(--muted)}
.tight{margin-top:0}
.h2-tight{margin:0 0 .6rem}
p,li{font-size:clamp(1rem,0.96rem + 0.35vw,1.05rem)}

/* ===== Header ===== */
.theme-switcher{
  display:flex;
  align-items:center;
  gap:.2rem;
  margin-left:1rem;
  padding:.2rem;
  border-radius:.9rem;
  background:rgba(12,18,26,.65);
  border:1px solid rgba(95,230,255,.22);
  box-shadow:0 12px 26px rgba(6,14,22,.32);
  backdrop-filter:saturate(1.08) blur(6px);
}
.theme-switcher__btn{
  display:flex;
  align-items:center;
  gap:.35rem;
  border:none;
  background:transparent;
  color:var(--ink);
  font-weight:600;
  font-size:.85rem;
  padding:.35rem .6rem;
  border-radius:.7rem;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.theme-switcher__btn:focus{
  outline:2px solid rgba(95,230,255,.35);
  outline-offset:2px;
}
.theme-switcher__btn.is-active{
  background:rgba(0,196,232,.18);
  color:#f7fbff;
  box-shadow:0 8px 18px rgba(0,196,232,.28);
  transform:translateY(-1px);
}
.theme-switcher__btn:active{transform:translateY(0)}
.theme-switcher__icon{font-size:1rem;line-height:1}
.theme-switcher__label{white-space:nowrap}

.site-header{
  position:sticky; top:0; z-index:40;
  background:radial-gradient(circle at 20% -40%, rgba(0,196,232,.22), transparent 52%) ,
             linear-gradient(120deg, rgba(8,10,14,.95), rgba(4,6,10,.94) 45%, rgba(0,0,0,.92));
  border-bottom:1px solid rgba(4,8,16,.9);
  backdrop-filter:saturate(1.12) blur(8px);
  box-shadow:0 22px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(95,230,255,.08) inset;
}
html.theme-light .site-header{
  background:radial-gradient(circle at 16% -60%, rgba(121,176,255,.22), transparent 50%),
             linear-gradient(120deg, rgba(255,255,255,.96), rgba(233,240,255,.94) 45%, rgba(215,231,255,.92));
  border-bottom:1px solid rgba(16,52,96,.14);
  box-shadow:0 20px 36px rgba(15,64,130,.14), 0 0 0 1px rgba(16,52,96,.08) inset;
}
header .wrap{
  padding:.7rem 0;
  align-items:center;
}
.brand{display:flex;align-items:center;gap:.65rem;min-width:0}
.logo{
  height:96px;
  display:block;
  padding:0;
  border-radius:0;
  background:none;
  border:none;
  box-shadow:none;
  flex-shrink:0;
}
.brand .t{display:flex;flex-direction:column;gap:.15rem;line-height:1.1;min-width:0}
.brand .t .a{font-weight:800;letter-spacing:-.015em;font-size:1.05rem;line-height:1.15;white-space:normal}
.brand .t .b{font-size:.85rem;color:var(--muted);line-height:1.25;white-space:normal}
.menu-toggle{display:none;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:.85rem;border:1px solid rgba(95,230,255,.22);background:rgba(12,18,26,.65);color:var(--ink);font-weight:600;font-size:.92rem;cursor:pointer;box-shadow:0 10px 24px rgba(4,12,18,.42)}
.theme-light .menu-toggle{background:rgba(255,255,255,.92);border-color:rgba(16,52,96,.18);color:#11406e;box-shadow:0 12px 22px rgba(17,64,110,.16)}
.theme-light .menu-toggle.is-active{background:rgba(229,238,255,.96)}
.menu-toggle__icon{position:relative;display:inline-block;width:1.35rem;height:2px;background:currentColor;border-radius:999px;transition:transform .24s ease,background .24s ease}
.menu-toggle__icon::before,
.menu-toggle__icon::after{
  content:"";
  position:absolute;
  left:0;
  width:1.35rem;
  height:2px;
  background:currentColor;
  border-radius:999px;
  transition:transform .24s ease,opacity .24s ease;
}
.menu-toggle__icon::before{transform:translateY(-6px);}
.menu-toggle__icon::after{transform:translateY(6px);}
.menu-toggle.is-active{background:rgba(12,18,26,.9)}
.menu-toggle.is-active .menu-toggle__icon{background:transparent}
.menu-toggle.is-active .menu-toggle__icon::before{transform:translateY(0) rotate(45deg)}
.menu-toggle.is-active .menu-toggle__icon::after{transform:translateY(0) rotate(-45deg)}
.nav{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-left:auto;min-width:0}
.site-header .brand{flex:0 1 auto;min-width:0}
.site-header .nav{flex:1 1 auto;justify-content:flex-end;flex-wrap:nowrap}
.site-header .nav a{white-space:nowrap}
.nav a{color:#d5dbee;margin:0;font-weight:600;opacity:.9;padding:.3rem 0;font-size:.94rem;transition:opacity .2s ease}
.nav a:hover{text-decoration:underline;opacity:1}
.theme-light .nav a{color:#134172;opacity:.95}
.theme-light .nav a:hover{color:#0d3160}
.language-switcher{display:flex;align-items:center;gap:.4rem;margin-left:1rem}
.site-header .language-switcher,
.site-header .theme-switcher{flex:0 0 auto;flex-shrink:0}
.language-select{appearance:none;background:rgba(12,18,26,.8);border:1px solid rgba(95,230,255,.22);color:var(--ink);padding:.45rem .9rem;border-radius:.65rem;font-weight:600;font-size:.9rem;box-shadow:0 6px 16px rgba(4,12,18,.32);cursor:pointer;min-width:130px}
.theme-light .language-select{background:rgba(255,255,255,.95);border-color:rgba(16,52,96,.18);color:#123f6c;box-shadow:0 10px 24px rgba(15,64,130,.12)}
.theme-light .theme-switcher{margin-left:.8rem;background:rgba(255,255,255,.92);border-color:rgba(16,52,96,.14);box-shadow:0 12px 24px rgba(15,64,130,.12)}
.theme-light .theme-switcher__btn{color:#123f6c}
.theme-light .theme-switcher__btn.is-active{background:linear-gradient(180deg,#1b8fff,#1276dd);color:#ffffff;box-shadow:0 10px 24px rgba(18,135,255,.32)}
.theme-light .theme-switcher__btn:focus{outline-color:rgba(18,135,255,.35)}
.language-select:focus{outline:2px solid rgba(95,230,255,.35);box-shadow:0 0 0 4px rgba(95,230,255,.15);}
.theme-light .language-select:focus{outline-color:rgba(18,135,255,.35);box-shadow:0 0 0 4px rgba(18,135,255,.18)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ===== Hero ===== */
main{position:relative; z-index:4}
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:2rem;align-items:center;padding:2rem 0 1.2rem}
.hero-content{display:flex;flex-direction:column;gap:var(--space-2);max-width:clamp(320px,92vw,580px);text-align:center;align-items:center}
.h1{margin:0 0 .35rem;font-weight:800;font-size:clamp(1.35rem,4.8vw,2.4rem);letter-spacing:-.02em}
.sublead{margin:.15rem 0 .8rem;color:var(--muted);font-size:clamp(1rem,2.4vw,1.06rem)}
.cta-hero{display:flex;gap:.7rem;flex-wrap:wrap;margin:.8rem 0 1rem;justify-content:center;align-items:center}
.hero-cta-wrap{text-align:center}
.hero-content{text-align:center}
.hero-content > *{margin-left:auto;margin-right:auto}

.btn{padding:.82rem 1rem;border-radius:.9rem;border:1px solid rgba(255,255,255,.06);text-decoration:none;font-weight:700;display:inline-flex;align-items:center;gap:.5rem; box-shadow:var(--brand-glow);min-height:48px}
.btn-primary{background:linear-gradient(180deg,var(--brand),var(--brand-2));color:#001018;border:none;box-shadow:0 6px 18px rgba(95,230,255,.22)}
.btn-secondary{background:transparent;color:#fff}
.theme-light .btn{border:1px solid rgba(16,52,96,.12)}
.theme-light .btn-primary{color:#ffffff;border:none;box-shadow:0 10px 22px rgba(18,135,255,.28)}
.theme-light .btn-secondary{color:#134172;border-color:rgba(16,52,96,.16);box-shadow:none}

.right-card{background:linear-gradient(180deg,rgba(13,17,23,.96),rgba(10,13,18,.94));padding:1rem;border-radius:1rem;border:1px solid #14202a;max-width:min(440px,100%);margin-left:auto}
.badges{display:flex;flex-wrap:wrap;gap:.5rem;margin:.3rem 0 .9rem}
.badge{display:inline-flex;gap:.4rem;align-items:center;font-size:.84rem;background:#0b131a;border:1px solid #18222d;border-radius:.6rem;padding:.35rem .55rem}
.theme-light .badge{background:rgba(226,236,255,.9);border-color:rgba(16,52,96,.18);color:#123f6c;box-shadow:0 6px 16px rgba(15,64,130,.12)}
.tractor-logos{display:flex;gap:.8rem;align-items:center;justify-content:space-between}
.t-item{text-align:center}
.t-item img{height:80px;object-fit:contain;filter:drop-shadow(0 2px 10px rgba(0,0,0,.25))}
.t-caption{font-size:.8rem;color:var(--muted);margin-top:.3rem}

/* ===== Blocos ===== */
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin-top:.8rem}
.kpi{background:linear-gradient(180deg,rgba(15,20,27,.96),rgba(10,14,19,.94));border:1px solid var(--line);border-radius:.8rem;padding:.8rem}
.kpi strong{font-size:1.05rem}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem;margin:1.2rem 0 0}
.feature{background:var(--card);padding:1rem;border-radius:.9rem;border:1px solid var(--line)}
.feature p{color:var(--muted);margin:.4rem 0 0}

html.theme-light .right-card,
html.theme-light .kpi,
html.theme-light .feature,
html.theme-light .highlight,
html.theme-light .calc-card,
html.theme-light .result-card,
html.theme-light .trust-card,
html.theme-light .trust-item,
html.theme-light .cta-final-card{
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(233,241,255,.95));
  border:1px solid rgba(16,52,96,.16);
  box-shadow:0 16px 34px rgba(15,64,130,.12);
}
html.theme-light .highlight,
html.theme-light .trust-item,
html.theme-light .kpi,
html.theme-light .feature,
html.theme-light .result-card{
  color:var(--ink);
}

section{margin-top:clamp(1.6rem,5vw,var(--space-4))}
h2{margin:0 0 .5rem;font-size:clamp(1.05rem,2.8vw,1.25rem);letter-spacing:.01em}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.highlight{background:linear-gradient(90deg,rgba(11,18,24,.95),rgba(10,16,23,.94));padding:1rem;border-radius:.9rem;border:1px solid rgba(255,255,255,.05)}
.partners{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;justify-content:center}
.partner-logo{height:52px;background:#fff;padding:.35rem;border-radius:.5rem}

.bullets-ul{margin:.6rem 0 0;padding-left:1.1rem}

/* ===== Calculadora ===== */
.calc-section{margin-top:clamp(1.8rem,6vw,3rem)}
.calc-card{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:1.6rem;
  align-items:start;
  background:linear-gradient(120deg, rgba(10,18,26,.95), rgba(7,12,18,.92));
  border:1px solid rgba(95,230,255,.14);
  border-radius:1.1rem;
  padding:clamp(1.2rem,4.5vw,1.8rem);
  box-shadow:0 24px 60px rgba(0,0,0,.36);
}
.calc-copy h2{margin-top:0;margin-bottom:.6rem}
.calc-logo-card{
  margin-top:1.25rem;
  padding:1.1rem;
  border-radius:1.2rem;
  border:1px solid rgba(255,255,255,.22);
  background:
    radial-gradient(circle at 32% 20%, rgba(255,255,255,.95), rgba(255,255,255,0) 54%),
    linear-gradient(140deg, rgba(138,188,255,.45), rgba(16,40,70,.85));
  box-shadow:0 22px 48px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25);
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:170px;
}
.calc-logo-card img{
  width:min(100%,320px);
  height:auto;
  filter:drop-shadow(0 16px 36px rgba(0,0,0,.45));
}
html.theme-dark .calc-logo-card{
  border-color:rgba(146,197,255,.42);
  background:linear-gradient(145deg, rgba(13,54,109,.95) 0%, rgba(108,184,255,.65) 48%, rgba(255,255,255,.82) 100%);
  box-shadow:
    0 28px 56px rgba(4,10,20,.55),
    inset 0 1px 0 rgba(255,255,255,.4),
    inset 0 0 45px rgba(146,197,255,.18);
}
html.theme-light .calc-logo-card{
  background:linear-gradient(135deg, rgba(255,255,255,.96), rgba(220,236,255,.9));
  border-color:rgba(16,52,96,.16);
  box-shadow:0 18px 42px rgba(16,52,96,.15);
}
.calc-form{display:grid;gap:.75rem;align-content:start}
.calc-form .field{display:flex;flex-direction:column;gap:.35rem;background:#0b1219;border:1px solid rgba(95,230,255,.14);border-radius:.75rem;padding:.75rem}
.calc-form label{font-weight:600;font-size:.9rem;color:var(--muted)}
.calc-input{
  width:100%;
  padding:.85rem;
  border-radius:.7rem;
  border:1px solid #2a2a33;
  background:#121217;
  color:var(--ink);
  font-size:1rem;
  line-height:1.45;
  transition:border-color .15s ease, outline-color .15s ease, box-shadow .15s ease;
}
select.calc-input{
  appearance:none;
  cursor:pointer;
  padding-right:2.6rem;
  background-image:
    linear-gradient(45deg,transparent 50%,rgba(95,230,255,.38) 50%),
    linear-gradient(135deg,rgba(95,230,255,.38) 50%,transparent 50%),
    linear-gradient(to right,rgba(95,230,255,.16),rgba(95,230,255,.02));
  background-position:
    calc(100% - 1.45rem) calc(50% - .45rem),
    calc(100% - 1.05rem) calc(50% - .45rem),
    0 0;
  background-size:.55rem .55rem,.55rem .55rem,100% 100%;
  background-repeat:no-repeat;
}
.calc-input::-ms-expand{display:none}
.calc-input:focus{
  outline:2px solid rgba(58,169,255,.3);
  border-color:#3b4a66;
  box-shadow:0 0 0 3px rgba(58,169,255,.12);
}
html.theme-light .calc-input{
  background:#f3f7ff;
  border:1px solid rgba(16,52,96,.18);
  color:#102a4a;
}
html.theme-light select.calc-input{
  background-image:
    linear-gradient(45deg,transparent 50%,rgba(18,135,255,.32) 50%),
    linear-gradient(135deg,rgba(18,135,255,.32) 50%,transparent 50%),
    linear-gradient(to right,rgba(18,135,255,.12),rgba(18,135,255,.02));
}
html.theme-light .calc-input:focus{
  outline:2px solid rgba(18,135,255,.28);
  border-color:rgba(18,135,255,.32);
  box-shadow:0 0 0 3px rgba(18,135,255,.18);
}
.calc-form input:not(.calc-input),
.calc-form select:not(.calc-input){
  background:#060a10;
  border:1px solid rgba(95,230,255,.18);
  border-radius:.6rem;
  padding:.55rem .65rem;
  color:var(--ink);
}
.theme-light .calc-form .field{background:rgba(248,251,255,.95);border-color:rgba(16,52,96,.16)}
.theme-light .calc-form label{color:#4f637d}
.theme-light .calc-form input:not(.calc-input),
.theme-light .calc-form select:not(.calc-input){background:rgba(237,244,255,.95);border-color:rgba(16,52,96,.2);color:var(--ink)}
.calc-form input:not(.calc-input):focus,
.calc-form select:not(.calc-input):focus{outline:2px solid rgba(95,230,255,.38);outline-offset:2px}
.theme-light .calc-form input:not(.calc-input):focus,
.theme-light .calc-form select:not(.calc-input):focus{outline:2px solid rgba(18,135,255,.32);outline-offset:2px;box-shadow:0 0 0 4px rgba(18,135,255,.16)}
.calc-form .btn{justify-content:center;margin-top:.4rem}
.btn.is-loading{opacity:.85;pointer-events:none}
.btn.is-loading::after{
  content:'';
  width:1rem;
  height:1rem;
  display:inline-block;
  border-radius:50%;
  border:2px solid currentColor;
  border-top-color:transparent;
  animation:mini-spin .85s linear infinite;
  margin-left:.35rem;
}
.calc-submit-feedback{
  display:flex;
  align-items:center;
  gap:.4rem;
  font-size:.9rem;
  color:var(--muted);
  margin-top:.2rem;
}
.calc-submit-feedback::before{
  content:'';
  width:.9rem;
  height:.9rem;
  display:inline-block;
  border-radius:50%;
  border:2px solid rgba(95,230,255,.35);
  border-top-color:transparent;
  animation:mini-spin .9s linear infinite;
}
.theme-light .calc-submit-feedback{color:#4f637d}
.mini-preview{
  border:1px solid rgba(95,230,255,.18);
  border-radius:.9rem;
  padding:.85rem;
  background:rgba(7,12,18,.72);
  display:flex;
  flex-direction:column;
  gap:.7rem;
  transition:opacity .2s ease, transform .2s ease;
}
.theme-light .mini-preview{
  border-color:rgba(16,52,96,.16);
  background:rgba(242,247,255,.94);
}
.mini-preview__title{
  margin:0;
  font-size:.95rem;
  font-weight:600;
  color:var(--ink);
}
.mini-preview__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:.65rem;
}
.mini-preview__item{
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.03);
  border-radius:.7rem;
  padding:.5rem .65rem;
  display:flex;
  flex-direction:column;
  gap:.2rem;
}
.theme-light .mini-preview__item{
  border-color:rgba(16,52,96,.08);
  background:rgba(255,255,255,.85);
}
.mini-preview__label{
  font-size:.78rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.05em;
}
.mini-preview__value{
  font-size:1.05rem;
  font-weight:600;
  color:var(--ink);
}
.mini-preview__note,
.mini-preview__disclaimer{
  margin:0;
  font-size:.8rem;
  color:var(--muted);
  line-height:1.4;
}
.theme-light .mini-preview__note,
.theme-light .mini-preview__disclaimer{color:#4f637d}
.mini-preview__note strong{color:var(--ink)}
.mini-preview__value--muted{color:var(--muted)}
@keyframes mini-spin{
  from{transform:rotate(0turn)}
  to{transform:rotate(1turn)}
}
.calc-form .field--with-action{gap:.5rem}
.calc-form .field--with-action .field__row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:flex-end}
.calc-form .field--with-action .field__row input{flex:1 1 200px}
.calc-form .field--with-action .field__row .btn{margin-top:0;flex:0 0 auto;white-space:nowrap}
.calc-form .field--with-action .field__hint{display:block;font-size:.78rem;color:var(--muted);margin:0}
.theme-light .calc-form .field__hint{color:#4f637d}
@media (max-width:540px){
  .calc-form .field--with-action .field__row{flex-direction:column;align-items:stretch}
  .calc-form .field--with-action .field__row .btn{width:100%}
}

/* ===== Resultados ===== */
.results-sub{max-width:640px}
.results-grid{
  margin-top:1.3rem;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.result-card{ 
  background:linear-gradient(160deg, rgba(11,16,23,.96), rgba(9,12,18,.9));
  border:1px solid rgba(95,230,255,.12);
  border-radius:1rem;
  padding:1rem;
  display:flex;
  flex-direction:column;
  gap:.9rem;
  box-shadow:0 18px 38px rgba(0,0,0,.28);
}
.result-card header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.result-card .badge{background:#0a131c;border-color:rgba(95,230,255,.22)}
.theme-light .result-card{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(232,242,255,.94))}
.theme-light .result-card .badge{background:rgba(214,230,255,.92);border-color:rgba(16,52,96,.16);color:#123f6c}
.result-body{display:grid;gap:.8rem}
.result-body strong{font-size:1.4rem;color:var(--brand-2)}
.result-label{display:block;font-weight:700;font-size:.9rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}

/* ===== Confiança ===== */
.trust-section{margin-top:clamp(2rem,6vw,3.6rem)}
.trust-card{
  background:linear-gradient(120deg, rgba(10,16,23,.94), rgba(8,11,16,.9));
  border:1px solid rgba(95,230,255,.12);
  border-radius:1.1rem;
  padding:clamp(1.2rem,4vw,1.9rem);
  box-shadow:0 24px 48px rgba(0,0,0,.32);
}
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:1rem}
.trust-item{background:#0a1118;border:1px solid rgba(95,230,255,.1);border-radius:.9rem;padding:1rem}
.trust-item h3{font-size:1.05rem}

/* ===== CTA Final ===== */
.cta-final{margin-top:clamp(2.2rem,7vw,3.8rem)}
.cta-final-card{
  background:linear-gradient(140deg, rgba(0,196,232,.16), rgba(9,13,19,.9));
  border:1px solid rgba(95,230,255,.22);
  border-radius:1.3rem;
  padding:clamp(1.4rem,4.8vw,2.2rem);
  text-align:center;
  box-shadow:0 26px 70px rgba(0,0,0,.4), inset 0 0 0 1px rgba(95,230,255,.12);
}
.cta-final-card h2{margin-bottom:.6rem;font-size:clamp(1.2rem,3.4vw,1.6rem)}
.cta-actions{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin-top:1.2rem}
.btn-lg{padding:1rem 1.6rem;font-size:1.02rem;min-height:56px}

/* ===== Sticky CTA & Footer ===== */
.sticky-cta{position:sticky;bottom:0;z-index:35;background:rgba(5,9,15,.94);backdrop-filter:blur(6px);border-top:1px solid #0f1116}
.theme-light .sticky-cta{background:rgba(245,249,255,.96);border-top:1px solid rgba(16,52,96,.16);box-shadow:0 -18px 36px rgba(160,190,235,.35)}
.sticky-cta .inner{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:.6rem 0}
.pill-row{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.cta-row{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}

.footer{padding:1.3rem 0;border-top:1px solid #0f1116;color:var(--ink);margin-top:1.6rem;position:relative;z-index:4}
.theme-light .footer{border-top:1px solid rgba(16,52,96,.16);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(231,240,255,.98));box-shadow:0 -14px 32px rgba(160,190,235,.22)}
.footer-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.footer-right{text-align:right;color:var(--ink)}
.footer-right .copy{font-size:.85rem;margin-top:.35rem}

.contact-overlay{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:2rem;z-index:140;background:rgba(7,15,26,.62);backdrop-filter:blur(8px)}
.contact-overlay.is-visible{display:flex}
body.contact-overlay-open{overflow:hidden}
.contact-overlay__backdrop{position:absolute;inset:0}
.contact-overlay__panel{position:relative;width:min(460px,100%);display:grid;gap:1.2rem;background:radial-gradient(circle at 0% 0%,rgba(50,80,130,.22),rgba(8,12,20,.96));border:1px solid rgba(95,230,255,.18);border-radius:18px;padding:2rem 1.8rem;box-shadow:0 24px 64px rgba(2,8,16,.55)}
.theme-light .contact-overlay__panel{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(229,238,255,.96));border:1px solid rgba(16,52,96,.18);box-shadow:0 32px 70px rgba(16,52,96,.22)}
.contact-overlay__close{position:absolute;top:.8rem;right:.8rem;width:34px;height:34px;border-radius:50%;border:1px solid rgba(168,184,216,.35);background:transparent;color:var(--ink);font-size:1rem;font-weight:600;cursor:pointer;display:grid;place-items:center;transition:background .2s ease,border-color .2s ease}
.contact-overlay__close:hover{background:rgba(168,184,216,.18);border-color:rgba(168,184,216,.55)}
.contact-overlay__head{display:grid;gap:.35rem;padding-right:2.4rem}
.contact-overlay__head h3{margin:0;font-size:1.25rem;color:var(--ink)}
.contact-overlay__subtitle{margin:0;color:rgba(210,220,240,.78);font-size:.95rem}
.theme-light .contact-overlay__subtitle{color:rgba(16,29,48,.78)}
.contact-overlay__content{display:grid;gap:.85rem}
.contact-overlay__item{display:grid;gap:.35rem}
.contact-overlay__label{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:rgba(191,205,233,.82)}
.theme-light .contact-overlay__label{color:rgba(16,29,48,.62)}
.contact-overlay__value{font-size:1rem;color:var(--ink);font-weight:600;display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.contact-overlay__actions{display:flex;gap:.55rem;flex-wrap:wrap}
.contact-overlay__link,.contact-overlay__value a{font-weight:600;font-size:.95rem;color:var(--ink);text-decoration:none;padding:.35rem .75rem;border-radius:999px;border:1px solid rgba(168,184,216,.35);transition:background .2s ease,border-color .2s ease}
.contact-overlay__link:hover,.contact-overlay__value a:hover{background:rgba(168,184,216,.16);border-color:rgba(168,184,216,.55)}
.contact-overlay__value strong{font-weight:700}
@media(max-width:640px){.contact-overlay__panel{padding:1.6rem 1.4rem}.contact-overlay__head{padding-right:1.6rem}.contact-overlay__close{top:.6rem;right:.6rem}}
.footer-contact-toggle{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-bottom:.4rem;
  padding:.45rem .85rem;
  border:1px solid rgba(168,184,216,.35);
  border-radius:999px;
  background:transparent;
  color:var(--ink);
  font-weight:600;
  font-size:.9rem;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease,color .2s ease
}
.footer-contact-toggle:hover{
  background:rgba(168,184,216,.12);
  border-color:rgba(168,184,216,.55)
}
.footer-contact-toggle[disabled]{
  opacity:.45;
  cursor:not-allowed;
  background:transparent;
  border-color:rgba(168,184,216,.2)
}
.footer-contact-toggle span{
  font-size:.85rem;
  line-height:1;
  transition:transform .2s ease
}
.footer-contact-toggle[aria-expanded="true"] span{
  transform:rotate(180deg)
}

.footer-contact-panel{
  margin-top:.6rem;
  display:grid;
  gap:.55rem;
  text-align:left
}
.footer-contact-panel[hidden]{
  display:none
}
.footer-contact-item{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  align-items:center;
  font-size:.95rem;
  color:var(--ink)
}
.footer-contact-item strong,
.footer-contact-item a{
  font-weight:600;
  color:var(--ink)
}
.footer-contact-item a{
  text-decoration:none
}
.footer-contact-item a:hover{
  text-decoration:underline
}

.links{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.55rem
}

.theme-light .footer-contact-toggle{
  color:#0b1420;
  border-color:rgba(16,52,96,.24)
}
.theme-light .footer-contact-toggle:hover{
  background:rgba(16,52,96,.1);
  border-color:rgba(16,52,96,.35)
}
.theme-light .footer-contact-item{
  color:#0b1420
}
.theme-light .footer-contact-item strong,
.theme-light .footer-contact-item a{
  color:#0b1420
}

@media (max-width:720px){
  .footer-right{text-align:left}
  .footer-contact-panel{gap:.65rem}
}

/* Modal */
.modal{position:fixed;inset:0;display:none;place-items:center;z-index:60;background:rgba(0,0,0,.55)}
.modal-card{width:min(560px,92vw);background:#0c0f14;border:1px solid #1a2532;border-radius:1rem;padding:1rem}
.theme-light .modal{background:rgba(11,26,45,.4)}
.theme-light .modal-card{background:#ffffff;border:1px solid rgba(16,52,96,.16);box-shadow:0 30px 60px rgba(17,64,120,.22)}
.mini-model-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:1.5rem;background:rgba(4,12,20,.72);backdrop-filter:blur(8px);z-index:1200}
.mini-model-modal.is-open{display:flex}
.mini-model-modal__dialog{width:min(560px,100%);max-height:90vh;overflow:auto;padding:1.6rem;border-radius:1.1rem;background:linear-gradient(180deg,rgba(12,18,26,.96),rgba(7,11,18,.94));border:1px solid rgba(95,230,255,.18);box-shadow:0 22px 48px rgba(2,8,16,.55);display:flex;flex-direction:column;gap:1.1rem}
.mini-model-modal__header{display:flex;justify-content:space-between;align-items:center;gap:.75rem}
.mini-model-modal__header h3{margin:0;font-size:1.3rem}
.mini-model-modal__subtitle{margin:0;color:var(--muted);font-size:.95rem}
.mini-model-modal__form{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.mini-model-modal__form label{display:flex;flex-direction:column;gap:.4rem;font-weight:600;font-size:.9rem;color:var(--muted)}
.mini-model-modal__form select{padding:.8rem;border-radius:.7rem;border:1px solid rgba(95,230,255,.18);background:#0c151f;color:var(--ink);font-size:1rem;transition:border-color .2s ease,outline-color .2s ease,box-shadow .2s ease}
.mini-model-modal__form select:focus{outline:2px solid rgba(95,230,255,.38);border-color:#3b4a66;box-shadow:0 0 0 3px rgba(95,230,255,.12)}
.mini-model-modal__status{min-height:1.2em;margin:.75rem 0 0;font-size:.9rem;color:var(--muted)}
.mini-model-modal__status.is-info{color:var(--muted)}
.mini-model-modal__status.is-warn{color:#d1940c}

.mini-model-modal__status.is-error{color:#ffd0dc}
.mini-model-modal__summary{margin:1rem 0;display:grid;gap:.75rem;padding:.9rem 1rem;border-radius:.9rem;background:rgba(8,13,20,.78);border:1px solid rgba(95,230,255,.16)}
.mini-model-modal__summary span{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.mini-model-modal__summary strong{display:block;font-size:1.05rem;font-weight:700;color:var(--ink)}
.mini-model-modal__notes{margin:.5rem 0 0;color:var(--muted);font-size:.9rem}
.mini-model-modal__actions{display:flex;justify-content:flex-end;gap:.75rem;flex-wrap:wrap}
.mini-model-modal__actions .btn{min-width:160px;justify-content:center}
.mini-model-modal__close{min-width:auto}
body.is-modal-open{overflow:hidden}
.theme-light .mini-model-modal{background:rgba(10,18,32,.36)}
.theme-light .mini-model-modal__dialog{background:linear-gradient(180deg,rgba(244,249,255,.98),rgba(224,236,255,.95));border:1px solid rgba(16,52,96,.16);box-shadow:0 22px 48px rgba(16,52,96,.22)}
.theme-light .mini-model-modal__subtitle{color:#4f637d}
.theme-light .mini-model-modal__form label{color:#4f637d}
.theme-light .mini-model-modal__form select{background:rgba(237,244,255,.96);border-color:rgba(16,52,96,.2);color:#134172}
.theme-light .mini-model-modal__form select:focus{outline:2px solid rgba(18,135,255,.32);box-shadow:0 0 0 3px rgba(18,135,255,.14)}
.theme-light .mini-model-modal__summary{background:rgba(237,244,255,.92);border-color:rgba(16,52,96,.18)}
.theme-light .mini-model-modal__summary strong{color:#123f6c}
.theme-light .mini-model-modal__notes{color:#4f637d}
.theme-light .mini-model-modal__status.is-error{color:#c33c4f}
.theme-light .mini-model-modal__status.is-warn{color:#b0710a}
.mc-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.mc-actions{display:grid;gap:.6rem;margin-top:.8rem}
.qr-row{display:flex;gap:.6rem;align-items:center}
.qr{
  width:116px;
  height:116px;
  border-radius:.6rem;
  border:1px solid #1b2835;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:.5rem;
  overflow:hidden;
}
.qr canvas{
  width:100% !important;
  height:100% !important;
}

/* ===== Mobile ===== */
@media (max-width:1000px){
  .hero{grid-template-columns:1fr; gap:1.4rem; padding:1.4rem 0 1rem}
  .right-card{order:-1}
  .cta-hero{justify-content:flex-start}
  .kpis{grid-template-columns:1fr 1fr}
  .features{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .calc-card{grid-template-columns:1fr}
  .results-grid{grid-template-columns:repeat(2,1fr)}
  .trust-grid{grid-template-columns:1fr 1fr}
  .t-item img{height:64px}
  .sticky-cta .inner{flex-direction:column; align-items:stretch}
  .h1{font-size:clamp(1.2rem,6.2vw,1.6rem)}
  h2{font-size:clamp(1rem,4.4vw,1.15rem)}
  .btn{padding:.78rem .9rem}
}

@media (max-width:880px){
  header .wrap{align-items:flex-start;position:relative;gap:.65rem;flex-wrap:wrap}
  header .wrap > .menu-toggle{order:0}
  header .wrap > .brand{order:1;flex:1 1 100%;min-width:0;align-items:flex-start}
  header .wrap > .nav{order:3;width:100%;flex:1 1 100%;justify-content:flex-start;flex-wrap:wrap;margin-top:.4rem}
  header .wrap > .brand .t{max-width:100%}
  .brand .t .b{max-width:26ch}
  .menu-toggle{display:flex}
  .logo{height:72px}
  .brand .t .a{font-size:1rem;line-height:1.2}
  .brand .t .b{font-size:.82rem;line-height:1.3}
  header .wrap > .language-switcher,
  header .wrap > .theme-switcher{flex:1 1 100%;max-width:100%;align-self:stretch}
  header .wrap > .language-switcher{margin-left:0;width:100%;justify-content:flex-start;margin-top:.6rem;order:2}
  .language-select{width:100%}
  .nav{display:none;position:absolute;top:calc(100% + .65rem);right:0;left:0;padding:clamp(.65rem,2vw,.85rem);background:rgba(7,12,18,.96);border:1px solid rgba(95,230,255,.18);border-radius:1rem;box-shadow:0 18px 40px rgba(2,8,14,.65);z-index:55}
  .nav.is-open{display:grid;gap:.55rem}
  .nav a{flex:initial;display:flex;align-items:center;justify-content:flex-start;padding:.55rem .85rem;background:rgba(10,16,24,.9);border:1px solid rgba(95,230,255,.14);border-radius:.75rem;scroll-snap-align:unset;font-size:1.02rem}
  .nav a:active{transform:translateY(1px)}
  .theme-switcher{margin-left:0;width:100%;order:4}
  .theme-switcher__btn{flex:1;justify-content:center}
  .theme-light .nav{background:rgba(255,255,255,.97);border:1px solid rgba(16,52,96,.16);box-shadow:0 18px 36px rgba(15,64,130,.2)}
  .theme-light .nav a{background:rgba(236,243,255,.96);border-color:rgba(16,52,96,.16);color:#123f6c}
}

@media (max-width:600px){
  header .wrap{gap:.45rem;padding:.5rem 0}
  .brand{flex-direction:row;align-items:center;gap:.45rem}
  .brand .t{align-items:flex-start;text-align:left}
  .logo{height:60px}
  .brand .t .a{font-size:.96rem}
  .brand .t .b{font-size:.78rem;line-height:1.22}
  header .wrap > .language-switcher{margin-top:.5rem}
}

@media (max-width:720px){
  #language-switcher-mobile{
    display:flex;
    flex-direction:column;
    gap:.75rem;
    margin:0 clamp(1rem,5vw,1.6rem) 1.2rem;
  }
  .language-switcher--mobile{
    justify-content:flex-start;
    width:100%;
    gap:.6rem;
    align-items:center;
  }
  .language-switcher--mobile .language-select{width:100%}
  .theme-switcher--mobile{
    margin:0;
    width:100%;
    padding:.35rem;
    border-radius:1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:.65rem;
    background:rgba(12,18,26,.85);
    border:1px solid rgba(95,230,255,.2);
    box-shadow:0 16px 30px rgba(4,10,18,.38);
  }
  .theme-light .theme-switcher--mobile{
    background:rgba(255,255,255,.9);
    border-color:rgba(16,52,96,.18);
    box-shadow:0 16px 28px rgba(16,52,96,.16);
  }
  .theme-switcher--mobile .theme-switcher__btn{
    flex:1;
    justify-content:center;
  }
  body::after{
    content:"";
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    height:calc(92px + var(--safe-bottom));
    pointer-events:none;
    background:linear-gradient(180deg, rgba(5,9,15,0) 0%, rgba(5,11,18,.55) 55%, rgba(5,11,18,.82) 100%);
    z-index:30;
  }
  .theme-light body::after{
    background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(196,218,255,.55) 55%, rgba(196,218,255,.85) 100%);
  }
  body{padding-bottom:calc(5.5rem + var(--safe-bottom))}
  .container{padding:0 clamp(1rem,5vw,1.6rem)}
  main{padding-bottom:clamp(3.4rem,11vw,5rem)}
  .hero{grid-template-columns:1fr; gap:1.6rem; padding:1.6rem 0 1.2rem}
  .hero-content,
  .right-card{padding:clamp(1.05rem,4.4vw,1.6rem); background:linear-gradient(180deg,rgba(12,18,26,.95),rgba(8,12,18,.92)); border-radius:1.1rem; border:1px solid rgba(95,230,255,.16); box-shadow:0 22px 44px rgba(4,10,18,.55)}
  .theme-light .hero-content,
  .theme-light .right-card{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(231,241,255,.94));border:1px solid rgba(16,52,96,.16);box-shadow:0 20px 36px rgba(15,64,130,.16)}
  .hero-content{align-items:center; text-align:center; gap:clamp(1rem,3.4vw,1.4rem); max-width:100%; width:100%}
  .hero-content > *{margin-left:0;margin-right:0}
  .right-card{margin-left:0; width:100%}
  .h1{font-size:clamp(1.45rem,7vw,1.9rem)}
  .sublead{max-width:36ch}
  .cta-hero{flex-direction:column; align-items:stretch; gap:.65rem}
  .cta-hero .btn{justify-content:center; width:100%}
  .kpis{grid-template-columns:1fr; gap:var(--space-2)}
  .features{gap:var(--space-2)}
  .grid-2{gap:var(--space-2)}
  .calc-card{padding:clamp(1rem,5.2vw,1.4rem)}
  .results-grid{grid-template-columns:1fr; gap:var(--space-2)}
  .trust-grid{grid-template-columns:1fr; gap:var(--space-2)}
  .trust-item{padding:clamp(.95rem,3.6vw,1.1rem)}
  .badges{gap:.4rem}
  .tractor-logos{flex-wrap:wrap; gap:.8rem; justify-content:center}
  .t-item{flex:1 1 150px}
  .sticky-cta{position:fixed; left:0; right:0; bottom:0; padding-inline:clamp(.75rem,4vw,1.2rem); padding-bottom:calc(.4rem + var(--safe-bottom)); box-shadow:0 -18px 30px rgba(3,10,18,.58); border-top:1px solid rgba(20,24,30,.95); margin:0; z-index:45}
  .theme-light .sticky-cta{box-shadow:0 -18px 32px rgba(170,196,236,.3);border-top:1px solid rgba(16,52,96,.16)}
.sticky-cta .inner{align-items:stretch; gap:.5rem; padding:.45rem 0}
.pill-row{display:none}
.cta-row{flex-direction:column; width:100%}
  .cta-row .btn{width:100%; justify-content:center; min-height:42px; font-size:clamp(.88rem,3vw,.95rem); padding:.6rem .75rem}
  .footer-row{flex-direction:column; align-items:flex-start}
  .footer-right{text-align:left}
}

@media (max-width:560px){
  .brand{flex-direction:row;align-items:center;gap:.4rem}
  .brand .t{align-items:flex-start;text-align:left}
  .brand .t .a{font-size:.98rem}
  .brand .t .b{font-size:.76rem;line-height:1.2}
  .logo{height:56px}
  .hero{padding:1.2rem 0 .75rem; gap:1rem}
  .right-card{padding:1rem .9rem}
  .hero-content{gap:1.1rem}
  .pill-row{justify-content:center; text-align:center}
  .wa-button{padding:.65rem .9rem}
}

@media (max-width:480px){
  header .wrap{gap:.35rem;padding:.45rem 0}
  .brand{gap:.32rem;flex-direction:row}
  .brand .t{align-items:flex-start}
  .logo{height:52px}
  .brand .t .a{font-size:.9rem}
  .brand .t .b{font-size:.72rem}
  .site-header .theme-switcher{padding:.2rem .3rem}
  .theme-switcher__btn{font-size:.85rem}
  .theme-switcher__icon{font-size:.85rem}
  .nav{top:calc(100% + .5rem)}
  .right-card{padding:1rem .8rem}
  h2{font-size:clamp(.98rem,4.8vw,1.1rem)}
}

/* ===== Resultados em campo ===== */
.cases-section{
  position:relative;
  margin:var(--space-4) 0;
  padding:var(--space-4) 0;
}
.cases-section::before{
  content:"";
  position:absolute;
  inset:-2.5rem 0;
  background:linear-gradient(180deg,rgba(18,24,34,.65),rgba(9,12,19,.85));
  border:1px solid rgba(95,230,255,.16);
  border-radius:28px;
  box-shadow:0 38px 72px rgba(4,9,16,.55);
  z-index:-1;
}
.theme-light .cases-section::before{
  background:linear-gradient(180deg,rgba(235,244,255,.92),rgba(214,228,255,.95));
  border:1px solid rgba(16,52,96,.12);
  box-shadow:0 32px 64px rgba(54,96,168,.18);
}
.cases-intro{
  max-width:640px;
  margin:0 auto var(--space-3);
  text-align:center;
  display:grid;
  gap:.75rem;
}
.cases-intro__label{
  justify-self:center;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:.25rem .85rem;
  border-radius:999px;
  border:1px solid rgba(95,230,255,.42);
  background:rgba(12,18,26,.78);
  color:var(--brand-2);
}
.theme-light .cases-intro__label{
  border-color:rgba(16,52,96,.22);
  background:rgba(244,249,255,.9);
  color:var(--brand);
}
.cases-carousel{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:1rem;
  align-items:center;
}
.cases-track{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(100%,1fr);
  gap:1.25rem;
  overflow-x:auto;
  scroll-snap-type:x proximity;
  padding:0.75rem 0.25rem 1rem;
}
.cases-track::-webkit-scrollbar{height:6px}
.cases-track::-webkit-scrollbar-thumb{
  background:rgba(95,230,255,.25);
  border-radius:999px;
}
.cases-track::-webkit-scrollbar-track{background:transparent}
.cases-arrow{
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid rgba(95,230,255,.28);
  background:rgba(15,20,30,.92);
  color:#f5f9ff;
  display:grid;
  place-items:center;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  box-shadow:0 20px 40px rgba(3,6,12,.55);
  transition:transform .2s ease, opacity .2s ease;
}
.cases-arrow[disabled]{
  opacity:.25;
  pointer-events:none;
}
.cases-arrow:hover{
  transform:scale(1.08);
}
.theme-light .cases-arrow{
  background:rgba(240,246,255,.95);
  color:#0b1a2c;
  border:1px solid rgba(16,52,96,.16);
  box-shadow:0 18px 32px rgba(48,88,152,.22);
}
.cases-card{
  scroll-snap-align:start;
  position:relative;
  border-radius:1.2rem;
  border:1px solid rgba(95,230,255,.16);
  background:linear-gradient(180deg,rgba(14,20,30,.95),rgba(9,13,20,.92));
  box-shadow:0 26px 52px rgba(4,10,20,.45);
  padding:1.35rem;
  display:grid;
  gap:1rem;
  min-height:100%;
}
.cases-card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  border:1px solid rgba(95,230,255,.06);
  pointer-events:none;
}
.theme-light .cases-card{
  background:linear-gradient(180deg,rgba(244,249,255,.96),rgba(230,240,255,.94));
  border:1px solid rgba(16,52,96,.16);
  box-shadow:0 24px 48px rgba(52,92,148,.22);
}
.cases-card--media{
  gap:.8rem;
}
.cases-header{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem .85rem;
  justify-content:space-between;
  align-items:center;
}
.cases-client{
  font-weight:700;
  font-size:1.05rem;
}
.cases-location{
  font-size:.95rem;
  color:var(--muted);
}
.cases-summary{
  display:grid;
  gap:.35rem;
  margin:0;
  text-align:center;
}
.cases-summary__title{
  margin:0 auto;
  font-size:clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight:700;
  color:var(--brand-2);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.theme-light .cases-summary__title{color:var(--brand)}
.cases-description{
  margin:0 auto;
  font-size:.92rem;
  color:var(--text);
  line-height:1.6;
  max-width:38ch;
  text-align:center;
  background:#0b121a;
  border:1px solid rgba(255,255,255,.12);
  border-radius:.85rem;
  padding:.85rem 1.1rem;
  box-shadow:0 12px 26px rgba(0,0,0,.25);
  font-weight:500;
}
html.theme-light .cases-description{
  color:var(--ink);
  background:#fff;
  border-color:rgba(18,42,68,.08);
  box-shadow:0 14px 30px rgba(18,42,68,.12);
}
.cases-video-block{
  display:flex;
  flex-direction:column;
  gap:.4rem;
  width:100%;
  padding:1rem;
  border-radius:1.1rem;
  background:linear-gradient(150deg, rgba(12,18,32,.92), rgba(6,10,20,.88));
  border:1px solid rgba(95,230,255,.18);
  box-shadow:0 18px 38px rgba(4,10,20,.35);
}
.cases-video__label{
  font-size:.95rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#dff4ff;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}
.cases-video__label::before{
  content:'▶';
  font-size:.85rem;
  display:inline-block;
  color:var(--brand-2);
}
.cases-video{
  position:relative;
  border-radius:.95rem;
  overflow:hidden;
  aspect-ratio:16/9;
  width:100%;
  border:1px solid rgba(95,230,255,.32);
  box-shadow:0 22px 48px rgba(4,10,20,.4);
  background:linear-gradient(160deg,rgba(8,12,20,.92),rgba(4,6,10,.92));
}
.theme-light .cases-video{
  border:1px solid rgba(18,42,68,.16);
  box-shadow:0 18px 32px rgba(52,92,148,.18);
  background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(231,240,255,.94));
}
.cases-video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.cases-metrics{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:.75rem;
}
.cases-metric{
  padding:.65rem .75rem;
  border-radius:.85rem;
  background:rgba(95,230,255,.08);
  border:1px solid rgba(95,230,255,.12);
}
.cases-metric dt{
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:.25rem;
}
.cases-metric dd{
  margin:0;
  font-size:.98rem;
  font-weight:600;
  color:var(--ink);
}
.theme-light .cases-metric{
  background:rgba(16,52,96,.08);
  border-color:rgba(16,52,96,.14);
}
.cases-toggle{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.5rem .9rem;
  border-radius:.85rem;
  border:1px solid rgba(95,230,255,.25);
  background:rgba(12,18,26,.85);
  color:var(--brand-2);
  font-size:.92rem;
  font-weight:600;
  cursor:pointer;
  transition:border-color .2s ease, transform .2s ease;
}
.cases-toggle:hover{
  transform:translateY(-1px);
  border-color:rgba(95,230,255,.45);
}
.theme-light .cases-toggle{
  background:rgba(240,246,255,.94);
  border-color:rgba(16,52,96,.16);
  color:var(--brand);
}
.cases-details{
  border-radius:.95rem;
  border:1px solid rgba(95,230,255,.14);
  background:rgba(10,15,24,.78);
  padding:1rem;
  font-size:.95rem;
  line-height:1.6;
  color:var(--ink);
  display:none;
}
.cases-card.is-expanded .cases-details{display:block}
.theme-light .cases-details{
  background:rgba(238,246,255,.92);
  border-color:rgba(16,52,96,.12);
}
.cases-empty{
  margin-top:1.5rem;
  text-align:center;
  color:var(--muted);
  font-size:.98rem;
}

@media (max-width:980px){
  .cases-section{margin:var(--space-3) 0; padding:calc(var(--space-3) + 0.5rem) 0}
  .cases-track{grid-auto-columns:minmax(100%,1fr)}
}

@media (max-width:720px){
  .cases-section::before{inset:-8% -6%}
  .cases-carousel{grid-template-columns:1fr; gap:.75rem}
  .cases-arrow{display:none}
  .cases-track{grid-auto-flow:row; grid-auto-columns:unset; overflow-x:visible}
}

/* Content sliders */
.content-slider-wrapper {
  position: relative;
}

[data-content-collection][data-content-slider-state='active'] {
  --slider-gap: 1.25rem;
  --slider-item-min-width: 260px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(var(--slider-item-min-width), 1fr);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  gap: var(--slider-gap);
  padding-bottom: 0.75rem;
}

[data-content-collection][data-content-slider-state='active'] > * {
  scroll-snap-align: start;
}

.content-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(168, 184, 216, 0.35);
  background: rgba(17, 22, 32, 0.92);
  color: #f5f7fb;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(3, 5, 12, 0.45);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 6;
}

.content-slider-arrow.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.content-slider-arrow[data-direction='prev'] {
  left: 0.5rem;
}

.content-slider-arrow[data-direction='next'] {
  right: 0.5rem;
}

.content-slider-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce){
  .intro-sweep, .grid-wrap{ animation: none !important; }
}
