:root{
  --bg:#ffffff;
  --bg2:#f5f8fb;
  --panel:#ffffff;
  --panel2:#f9fbfe;

  --text:#0b1220;
  --muted:#4b5565;
  --border:#e6edf5;

  --accent:#2f8f8c;   /* matches your logo */
  --accent2:#8ac9c6;
  --accentSoft:rgba(47,143,140,.12);

  --shadow:0 10px 30px rgba(16,24,40,.10);
  --radius:18px;
  --max:1120px;
}


*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
  radial-gradient(900px 500px at 10% -10%, rgba(138,201,198,.35), transparent 60%),
  radial-gradient(800px 500px at 90% 0%, rgba(47,143,140,.18), transparent 55%),
  linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);

}

a{ color:inherit; text-decoration:none; }
.container{ max-width:var(--max); margin:0 auto; padding:22px; }

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(8px);
  background: #f3f6f8;   /* instead of dark grey */
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 18px; max-width:var(--max); margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:12px; min-width:200px;
}
.brand img{
  height: 44px;       /* ✅ bigger & balanced */
  width: auto;
  display:block;
  object-fit: contain;
  /* subtle crispness/contrast without changing the file */
  filter: contrast(1.08) saturate(1.05);
  transform: translateZ(0); /* helps rendering */
}
.nav{
  display:flex; gap:22px; flex-wrap:wrap; justify-content:center;align-items:center;
}
.nav a{
  text-decoration:none;
  color: #1a2433;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 999px;
}
.nav a:hover{ color:var(--text); border-color:rgba(255,255,255,.08); background:rgba(42,166,166,.10); }
.nav a.active{ color:#1f2937; border-color:rgba(42,166,166,.35); background:rgba(79,127,130,0.15); border-radius: 999px;}

.actions{
  display:flex; gap:12px; align-items:center; justify-content:flex-end; min-width:200px;
}
.lang{
  display:flex; border:1px solid rgba(255,255,255,.10);
  border-radius:999px; overflow:hidden; background:rgba(255,255,255,.03);
}
.lang button{
  border:0; background:transparent; color:var(--muted);
  padding:8px 10px; cursor:pointer; font-weight:600;
}
.lang button[aria-pressed="true"]{ color:var(--text); background:rgba(42,166,166,.14); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  border:1px solid rgba(42,166,166,.35);
  background:linear-gradient(180deg, rgba(42,166,166,.16), rgba(42,166,166,.08));
  color:var(--text);
  box-shadow:var(--shadow);
}
.btn:hover{ border-color:rgba(127,209,209,.55); }

.hero{
  padding:54px 0 26px;
}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  color:var(--accent2);
  font-weight:700; letter-spacing:.2px;
  background:rgba(42,166,166,.10);
  border:1px solid rgba(42,166,166,.25);
  padding:8px 12px; border-radius:999px;
}
h1{ margin:16px 0 10px; font-size:40px; line-height:1.08; letter-spacing:-.5px; }
p.lead{ margin:0; color:var(--muted); font-size:18px; line-height:1.6; max-width:70ch; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
  margin-top:22px;
}
.card{
  grid-column: span 6;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,.10);
}

.card h3{ margin:0 0 8px; font-size:18px; color:#0f172a; }
.card p{ margin:0; color: rgba(15,23,42,.72); line-height:1.65; }
.card.full{ grid-column: span 12; display:flex; align-items:center; justify-content:space-between; gap:14px; background:rgba(20,26,36,.78); }
.card.full .text{ max-width:70ch; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-card li {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.5;
}
.service-block {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 26px;
  margin: 22px 0;
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
  max-width: 820px;
}

.service-block h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.service-block ul {
  margin: 0;
  padding-left: 18px;
}

.service-block li {
  margin-bottom: 8px;
  color: #4b5563;
}



.list{
  margin:12px 0 0; padding:0 0 0 18px; color:var(--muted);
  line-height:1.75;
}

.page-title{ padding:34px 0 10px; }
.page-title h1{ font-size:34px; margin:0; }
.page-title p{ margin:10px 0 0; color:var(--muted); line-height:1.65; max-width:80ch; }

.footer{
  margin-top:42px;
  border-top:1px solid rgba(255,255,255,.10);
  background: #f1f5f7;
  color: #6b7280;
}
.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 22px;
  display:flex; flex-wrap:wrap; gap:10px;
  align-items:center; justify-content:space-between;
  color:var(--muted);
}

small{ color:var(--muted); }

@media (max-width: 820px){
  h1{ font-size:34px; }
  .header-inner{ flex-wrap:wrap; }
  .brand, .actions{ min-width:auto; }
  .card{ grid-column: span 12; }
  .card.full{ flex-direction:column; align-items:flex-start; }
}
/* ===== Machines (clean) ===== */
.machines-wrap{
  display:grid;
  gap:18px;
}

/* Card */
.machine-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 14px 30px rgba(15,23,42,.08);
}

/* Layout */
.machine-top{
  display:grid;
  grid-template-columns: 440px 1fr;
  gap: 26px;
  align-items:start;
  padding: 18px;
}

@media (max-width: 900px){
  .machine-top{ grid-template-columns: 1fr; }
}

/* Left column */
.machine-left{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* Hero */
.machine-hero{
  border:0;
  padding:0;
  width:100%;
  border-radius: 16px;
  overflow:hidden;
  background:#eef3f6;
  cursor: zoom-in;

  /* key: makes it look “designed” and prevents awkward crops */
  aspect-ratio: 4 / 3;
  display:block;
}

.machine-hero .machine-open{
  width:100%;
  height:100%;
  border:0;
  padding:0;
  background:transparent;
  cursor: zoom-in;
  display:block;
}

.machine-hero img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover; /* fill frame nicely */
}


/* Thumbs */
.machine-gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}

@media (max-width: 520px){
  .machine-gallery{ grid-template-columns: repeat(3, 1fr); }
}

.machine-thumb{
  border: 2px solid transparent;
  border-radius: 12px;
  padding:0;
  background:transparent;
  cursor:pointer;
  transition: border-color .2s ease, transform .15s ease;
}

.machine-thumb img{
  width:100%;
  height:72px;
  object-fit:cover;
  border-radius:10px;
  display:block;
}

.machine-thumb:hover{
  border-color: rgba(47,143,140,.45);
  transform: translateY(-2px);
}

.machine-thumb:focus-visible,
.machine-open:focus-visible{
  outline: 3px solid rgba(47,143,140,.45);
  outline-offset: 3px;
}

/* Right column */
.machine-body{
  padding-top: 2px;
}

.machine-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 0 0 10px 0;
}

.machine-title{
  margin: 0 0 10px 0;
  font-size: 22px;
  line-height:1.25;
  color:#0f172a;
}

.machine-sub{
  margin: 0 0 12px 0;
  color:#64748b;
  line-height:1.5;
}

/* Bullets */
.machine-bullets{
  list-style:none;
  padding:0;
  margin: 0;
  display:grid;
  gap: 10px;
}

.machine-bullets li{
  position:relative;
  padding-left:18px;
  line-height:1.55;
  color:#1f2937;
  font-size:15px;
}

.machine-bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:8px;
  height:8px;
  border-radius:50%;
  background: rgba(47,143,140,.55);
}

.machine-bullets strong{ font-weight: 650; }

/* Specs */
.machine-specs{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
}

@media (max-width: 520px){
  .machine-specs{ grid-template-columns: 1fr; }
}

.spec{ display:flex; gap:8px; line-height:1.35; }
.spec b{ min-width: 110px; }

/* Actions (button placement) */
.machine-actions{
  margin-top: 14px;
}

.machine-actions--inline{
  /* aligns with bullets nicely */
  display:flex;
  justify-content:flex-start;
}

.machine-actions .btn{
  padding: 12px 20px;
  font-weight: 600;
  min-width: 220px;
}

/* Note below card (optional) */
.machine-note{
  padding: 0 18px 18px 18px;
  color:#64748b;
  line-height:1.6;
}

/* ===== Lightbox (clean) ===== */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.open{ display:block; }

.lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.lightbox-panel{
  position: relative;
  width: min(1100px, calc(100% - 32px));
  margin: 24px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  padding: 14px;

  top: 50%;
  transform: translateY(-50%);
}

.lightbox-img{
  width: 100%;
  height: auto;
  display:block;
  border-radius: 12px;
}

.lightbox-close{
  position:absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: rgba(0,0,0,.06);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.lightbox-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  border:0;
  background: rgba(0,0,0,.06);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.lightbox-prev{ left: 10px; }
.lightbox-next{ right: 10px; }

.lightbox-counter{
  position:absolute;
  left: 12px;
  bottom: 10px;
  font-size: 12px;
  background: rgba(0,0,0,.06);
  padding: 6px 10px;
  border-radius: 999px;
}

/* ===== Cookie modal (Usercentrics-like) ===== */
.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cookie-modal.open{ display: block; }

.cookie-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .50);
}

.cookie-panel{
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;

  top: 50%;
  transform: translateY(-50%);

  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(15,23,42,.35);

  padding: 18px 18px 14px;
}

.cookie-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-title{
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  color: #0f172a;
}

.cookie-body{
  margin-top: 10px;
  color: rgba(15,23,42,.72);
  line-height: 1.55;
  font-size: 14px;
}

.cookie-links{
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

.cookie-links a{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-btn{
  border: 1px solid rgba(15,23,42,.12);
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.cookie-btn:hover{
  border-color: rgba(47,143,140,.35);
}

.cookie-btn.accept{
  border-color: rgba(47,143,140,.35);
  background: linear-gradient(180deg, rgba(47,143,140,.18), rgba(47,143,140,.10));
}

.cookie-x{
  border: 0;
  background: rgba(15,23,42,.06);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.70);
}

.cookie-x:hover{ background: rgba(15,23,42,.10); }

@media (max-width: 520px){
  .cookie-panel{ padding: 16px 14px 12px; }
  .cookie-actions{ justify-content: stretch; }
  .cookie-btn{ width: 100%; }
}

/* ===== Pills / Badges ===== */
.machine-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 0 0 10px 0;
}

/* base pill */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding: 9px 12px;
  border-radius: 999px;

  border: 1px solid rgba(42,166,166,.35);
  background: linear-gradient(180deg, rgba(42,166,166,.16), rgba(42,166,166,.08));
  color: var(--text);

  font-weight: 700;
  font-size: 13px;
  line-height: 1;

  box-shadow: var(--shadow);
  user-select: none;
}

/* tiny dot */
.badge::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(47,143,140,.65);
}

/* optional variants */
.badge--muted{
  border-color: rgba(15,23,42,.12);
  background: rgba(15,23,42,.04);
}
.badge--muted::before{ background: rgba(15,23,42,.35); }
.badge--ok::before{ background: rgba(34,197,94,.75); }
.badge--warn::before{ background: rgba(245,158,11,.80); }


/* ===============================
   Language switch (PT/EN)
   =============================== */
.lang{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(15,23,42,.10);
  backdrop-filter: blur(8px);
}

.lang a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text, #0f172a);
  text-decoration: none;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}

.lang a:hover{
  background: rgba(15,23,42,.06);
}

.lang a.active{
  background: rgba(13,148,136,.16);
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
}

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

