/* ============================================================
   SOS EXPEDIENTE — tokens
   ============================================================ */
:root{
  --brand-900: #0a2620;
  --brand-800: #0e3b31;
  --brand-700: #145648;
  --brand-500: #1f8f73;
  --brand-400: #2fcf9e;
  --surface: #ffffff;
  --surface-muted: #eef2f1;
  --ink: #12211d;
  --ink-dim: #5b6b67;
  --line: #e3e8e6;
  --font-display: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--surface-muted);
  background: linear-gradient(165deg, var(--brand-800), var(--brand-700) 70%);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
}

a{ color: inherit; text-decoration: none; }
::selection{ background: var(--brand-400); color: #06231c; }

.page-wrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 4vw 0;
}

/* ---------- header / hero ---------- */
.site-header{
  background: #0f171a;
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
  padding: 18px 32px 26px;
  position: relative;
  overflow: hidden;
}

.util-nav{
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 10px;
}
.util-link{
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  transition: color 0.15s;
}
.util-link:hover{ color: var(--brand-400); }

.hero-panel{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-brand{
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.hero-logo{ width: 74px; height: 74px; flex-shrink: 0; }
.hero-wordmark{ display: flex; flex-direction: column; line-height: 1; }
.wm-top{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.wm-top i{ font-style: normal; color: var(--brand-400); }
.wm-bottom{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.32em;
  color: var(--brand-400);
  margin-top: 2px;
}

.hero-tagline{
  flex: 1 1 260px;
  padding-left: 24px;
  border-left: 2px solid rgba(255,255,255,0.15);
  min-width: 220px;
}
.hero-tagline h1{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.hero-tagline p{
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  max-width: 250px;
}
.hero-tagline strong{ color: var(--brand-400); }

.hero-features{
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.hero-features li{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  text-align: center;
  width: 84px;
}
.feat-icon{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- produtos / catálogo ---------- */

.catalog-shell{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  align-items: stretch;
}

.cat-sidebar{
  background: linear-gradient(165deg, var(--brand-800), var(--brand-700) 70%);
  padding: 24px 18px;
  min-width: 0;
}
.cat-sidebar-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  position: relative;
}
.cat-sidebar-head::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 46px; height: 3px;
  background: var(--brand-400);
  border-radius: 2px;
}
.cat-sidebar-icon{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(47,207,158,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-sidebar-icon svg{ width: 22px; height: 22px; fill: none; stroke: var(--brand-400); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cat-sidebar-head h2{
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 1.15rem;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
}

.cat-menu{ display: flex; flex-direction: column; gap: 10px; }
.cat-item{
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0d2223;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.cat-item:hover{ background: rgba(255,255,255,0.1); }
.cat-item.active{
  background: var(--brand-500);
  border-color: var(--brand-400);
}
.cat-item-icon{
  width: 30px;
  height: 30px;
  /*border-radius: 8px;
  background: rgba(255,255,255,0.12);*/
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cat-item-icon svg{ width: 26px; height: 26px; fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cat-item-label{
  flex: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: #ffffff;
}
.cat-item-arrow{ color: rgba(255,255,255,0.6); font-size: 1.1rem; }

.cat-content{
  background: #f6f6f6;
  padding: 30px;
  min-width: 0;
  position: relative;
}
.cat-content-head{ margin-bottom: 18px; }
.cat-content-head h3{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.cat-content-head h3::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 46px; height: 3px;
  background: var(--brand-500);
  border-radius: 2px;
}

.slider-frame{ position: relative; }

.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand-500);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(18,33,29,0.12);
  transition: all 0.15s;
  z-index: 5;
}
.carousel-btn:hover{ background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.carousel-btn-prev{ left: 0; }
.carousel-btn-next{ right: 0; }

.carousel-track-wrap{
  overflow: hidden;
  padding: 6px 54px;
  min-width: 0;
  touch-action: pan-y;
}
.carousel-track{
  display: flex;
  gap: 20px;
  transition: transform 0.35s ease;
}
.slide{
  display: flex;
  gap: 20px;
  flex: 0 0 100%;
  justify-content: flex-start;
}

.slide-dots{
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 18px;
}
.slide-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
}
.slide-dot.active{ background: var(--brand-500); }

/* product 'card' */
.card{
  flex: 0 0 calc(50% - 10px);
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover{ box-shadow: 0 0 30px rgba(18,33,29,0.1); transform: translateY(-9px); }

.card-main-wrap{ position: relative; margin-bottom: 10px; }
.card-main-img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-muted);
  display: block;
  cursor: zoom-in;
}
.card-zoom-hint{
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(18,33,29,0.75);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 20px;
  pointer-events: none;
}

.card-thumbs{ display: flex; gap: 6px; margin-bottom: 12px; }
.card-thumb-link{ position: relative; flex: 1 1 0; display: block; cursor: zoom-in; }
.card-thumb{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  transition: border-color 0.15s;
}
.card-thumb-link:hover .card-thumb{ border-color: var(--brand-500); }
.card-thumb-link::after{
  content: "⤢";
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  background: rgba(18,33,29,0.35);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.15s;
}
.card-thumb-link:hover::after{ opacity: 1; }

.card-title{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 6px;
}
.card-desc{
  color: var(--ink-dim);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- feature bar (rodapé do catálogo) ---------- */
.feature-bar{
  background: #111b1d;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.feature-bar-item{
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 220px;
}
.fb-icon{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(47,207,158,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fb-icon svg{ width: 22px; height: 22px; fill: none; stroke: var(--brand-400); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fb-icon.whatsapp{ background: rgba(47,207,158,0.22); }
.feature-bar-item div{ display: flex; flex-direction: column; }
.feature-bar-item strong{
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.feature-bar-item span{
  font-family: var(--font-display);
  color: var(--brand-400);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------- contato ---------- */
.contato{ padding: 10px 0 50px; }
.section-title{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 28px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.section-title::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 50px; height: 3px;
  background: var(--brand-500);
  border-radius: 2px;
}

.contato-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--line);
}

.contato-info{ display: flex; flex-direction: column; gap: 22px; }
.info-row{ display: flex; align-items: flex-start; gap: 14px; }
.info-icon{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(31,143,115,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg{ width: 19px; height: 19px; fill: none; stroke: var(--brand-500); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.info-row strong{ display: block; font-family: var(--font-display); color: var(--ink); font-size: 0.92rem; margin-bottom: 2px; }
.info-row p{ margin: 0; color: var(--ink-dim); font-size: 0.88rem; line-height: 1.5; }

.contato-form{ display: flex; flex-direction: column; gap: 16px; }
.contato-form label{ display: flex; flex-direction: column; gap: 6px; font-family: var(--font-display); color: var(--ink-dim); font-size: 0.82rem; font-weight: 600; }
.contato-form input, .contato-form textarea{
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  resize: vertical;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contato-form input:focus, .contato-form textarea:focus{
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(31,143,115,0.15);
  background: #fff;
}
.btn-submit{
  align-self: flex-start;
  background: var(--brand-500);
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-submit:hover{ background: var(--brand-700); }
.form-feedback{ font-family: var(--font-display); color: var(--brand-500); font-weight: 600; min-height: 1.2em; font-size: 0.85rem; }

/* ---------- footer ---------- */
.footer{
  padding: 22px 4vw 30px;
  color: var(--ink-dim);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- lightbox ---------- */
.lightbox{
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,15,12,0.94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open{ display: flex; }
.lightbox-img{
  max-width: min(90vw, 900px);
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}
.lightbox-close{
  position: absolute; top: 24px; right: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.2rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-close:hover{ background: var(--brand-500); }
.lightbox-nav{
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-nav:hover{ background: var(--brand-500); }
.lightbox-prev{ left: 3vw; }
.lightbox-next{ right: 3vw; }
.lightbox-counter{
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ---------- responsive ---------- */
@media (min-width: 992px){
  .cat-content::before {
    content: '';
    background-color: #104338;
    position: absolute;
    top: 0;
    height: 40px;
    left: 40%;
    width: 60%;
    z-index: 1;
    display: block;
    border-radius: 0 0 0 14px;
  }
  .cat-content::after {
    content: '';
    background-color: #f6f6f6;
    position: absolute;
    top: 0;
    height: 50px;
    left: 38%;
    width: 30px;
    z-index: 1;
    display: block;
    border-radius: 14px 14px 0 0;
  }
  .cat-sidebar::before {
    content: '';
    background: #0e3c32;
    width: 50px;
    margin-top: -40px;
    margin-left: -18px;
    height: 30px;
    z-index: 0;
    display: block;
  }
}
@media (max-width: 980px){
  .catalog-shell{ grid-template-columns: 1fr; }
  .cat-sidebar{ order: 1; }
  .cat-content{ order: 2; }
  .cat-menu{ flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .cat-item{ white-space: nowrap; }
  .cat-item-arrow{ display: none; }
  .site-header::after {background: radial-gradient(circle at 85% 99%, rgba(47,207,158,0.18), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 2px, transparent 2px, transparent 40px)}
  .hero-panel{ align-items: center; text-align: center; gap: 20px; }
  .hero-brand{ flex-direction: column; gap: 10px; }
  .hero-tagline{ border-left: none; padding-left: 0; padding-top: 0; text-align: center; }
  .hero-tagline p{ margin: 0 auto; }
  .hero-features{ width: 100%; justify-content: center; }
}

@media (max-width: 640px){
  body{ font-size: 15px; }
  .hidem {
    display: none;
  }
  .page-wrap{ padding: 12px 4vw 0; }
  .site-header{ padding: 16px 16px 20px; border-radius: var(--radius-md); }
  .util-nav{ gap: 16px; margin-bottom: 4px; }

  .hero-logo{ width: 58px; height: 58px; }
  .wm-top{ font-size: 1.9rem; }
  .wm-bottom{ font-size: 0.82rem; letter-spacing: 0.24em; }
  .hero-tagline h1{ font-size: 1.2rem; }
  .hero-tagline p{ font-size: 0.88rem; max-width: none; }

  .hero-features{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .hero-features li{ width: auto; font-size: 0.55rem }
  .hero-features li img { width: 30px; }

  .cat-sidebar{ padding: 18px 14px; border-radius: var(--radius-md); }
  .cat-sidebar-head h2{ font-size: 1rem; }
  .cat-content{ padding: 20px 16px 24px; border-radius: var(--radius-md); }
  .cat-content-head h3{ font-size: 1.25rem; }

  .card{ flex: 0 0 100%; }
  .carousel-btn{ width: 34px; height: 34px; font-size: 1.2rem; }
  .carousel-track-wrap{ padding: 6px 38px; }

  .feature-bar{ padding: 18px 20px; border-radius: var(--radius-md); }

  .section-title{ font-size: 1.3rem; }
  .contato-grid{ grid-template-columns: 1fr; gap: 28px; padding: 20px; border-radius: var(--radius-md); }

  .lightbox-nav{ width: 40px; height: 40px; font-size: 1.5rem; }
  .lightbox-prev{ left: 2vw; }
  .lightbox-next{ right: 2vw; }
}

@media (max-width: 380px){
  .hero-features{ grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .wm-top{ font-size: 1.6rem; }
}
