/* ==========================================================================
   Mipri Gráfica Express — Stylesheet
   Paleta oficial (conferida no arquivo mestre CorelDraw):
   #016559 (teal primário), #014c43 (teal escuro), #013a33 (teal mais escuro),
   #017e6f / #16a085 / #1abc9c (variações), #000000, #FFFFFF
   Tipografia: Poppins
   ========================================================================== */

:root{
  --teal: #016559;
  --teal-dark: #014c43;
  --teal-darker: #013a33;
  --teal-light: #017e6f;
  --teal-accent: #16a085;
  --teal-bright: #1abc9c;
  --teal-tint: #e3f3f0;
  --black: #0d0d0d;
  --white: #ffffff;
  --gray-50: #f6f8f8;
  --gray-100: #eef2f2;
  --gray-300: #cfd9d9;
  --gray-500: #6b7a7a;
  --gray-700: #384545;
  --cyan: #00aeef;
  --magenta: #ec008c;
  --yellow: #ffe600;
  --key: #0d0d0d;

  --font: 'Poppins', Arial, Helvetica, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(13, 38, 40, 0.10);
  --shadow-lg: 0 20px 50px rgba(13, 38, 40, 0.18);
  --header-h: 84px;
  --cmyk-bar-h: 5px;
  --transition: 0.25s ease;
}

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

/* Transição suave entre páginas (View Transitions API). Navegadores sem
   suporte (ex: Firefox) simplesmente navegam normal, sem quebrar nada. */
@view-transition{
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root){
  animation-duration: 0.4s;
  animation-timing-function: ease-in-out;
}
body{
  margin: 0;
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--header-h) + var(--cmyk-bar-h));
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4{
  font-family: var(--font);
  color: var(--teal-darker);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}
h1{ font-size: clamp(2rem, 4vw, 3rem); }
h2{ font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 16px; }
.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section{ padding: 72px 0; }
.section-alt{ background: var(--gray-50); }
.section-teal{ background: var(--teal); color: var(--white); }
.section-teal h2, .section-teal h3{ color: var(--white); }
.eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-teal .eyebrow{ color: var(--yellow); }
.section-head{ max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p{ color: var(--gray-500); }
.section-teal .section-head p{ color: rgba(255,255,255,0.85); }

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--teal); color: var(--white); }
.btn-primary:hover{ background: var(--teal-dark); }
.btn-whatsapp{ background: #25D366; color: var(--white); }
.btn-whatsapp:hover{ background: #1eb958; }
.btn-outline{ background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover{ background: var(--teal); color: var(--white); }
.btn-outline-white{ background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover{ background: var(--white); color: var(--teal); }
.btn-block{ width: 100%; justify-content: center; }

/* ==========================================================================
   Faixa CMYK — identidade visual de gráfica (Cyan, Magenta, Yellow, Key)
   ========================================================================== */
.cmyk-bar{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--cmyk-bar-h);
  display: flex;
  z-index: 1001;
}
.cmyk-bar span{ flex: 1; }
.cmyk-bar span:nth-child(1){ background: var(--cyan); }
.cmyk-bar span:nth-child(2){ background: var(--magenta); }
.cmyk-bar span:nth-child(3){ background: var(--yellow); }
.cmyk-bar span:nth-child(4){ background: var(--key); }

.cmyk-divider{
  height: var(--cmyk-bar-h);
  display: flex;
}
.cmyk-divider span{ flex: 1; }
.cmyk-divider span:nth-child(1){ background: var(--cyan); }
.cmyk-divider span:nth-child(2){ background: var(--magenta); }
.cmyk-divider span:nth-child(3){ background: var(--yellow); }
.cmyk-divider span:nth-child(4){ background: var(--key); }

.cmyk-dots{
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
}
.cmyk-dots span{ width: 10px; height: 10px; border-radius: 50%; }
.cmyk-dots span:nth-child(1){ background: var(--cyan); }
.cmyk-dots span:nth-child(2){ background: var(--magenta); }
.cmyk-dots span:nth-child(3){ background: var(--yellow); }
.cmyk-dots span:nth-child(4){ background: var(--key); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: fixed;
  top: var(--cmyk-bar-h); left: 0; right: 0;
  height: var(--header-h);
  background: var(--teal);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  z-index: 1000;
}
.site-header .container{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img{ height: 46px; width: auto; }
.brand-fallback{
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.main-nav{ display: flex; align-items: center; gap: 4px; }
.main-nav > ul{ display: flex; align-items: center; gap: 4px; }
.main-nav a{
  display: block;
  position: relative;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  transition: color var(--transition);
}
.main-nav a::after{
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 7px;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.main-nav a:hover, .main-nav a.active{ color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after{ transform: scaleX(1); }
.has-dropdown{ position: relative; }
.dropdown{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a{ padding: 10px 14px; font-size: 0.9rem; border-radius: 6px; color: var(--teal-darker); }
.dropdown a:hover, .dropdown a.active{ background: var(--teal-tint); color: var(--teal); }

.header-actions{ display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-whatsapp{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}
.header-whatsapp svg{ width: 18px; height: 18px; fill: #25D366; }
.icon-link{
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}
.icon-link:hover{ background: var(--white); color: var(--teal); }
.icon-link svg{ width: 18px; height: 18px; fill: currentColor; }

.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span{
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero / Carousel
   ========================================================================== */
.hero-carousel{
  position: relative;
  overflow: hidden;
  background: var(--teal-darker);
}
.hero-video{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.5) saturate(0.75);
}
.hero-slides{ position: relative; z-index: 1; height: 560px; overflow: hidden; }
.hero-slide{
  position: absolute; inset: 0;
  display: flex; align-items: center;
  transform: translateX(100%);
  transition: transform 0.7s ease-in-out;
  background-size: cover; background-position: center;
  z-index: 1;
}
.hero-slide.active{
  transform: translateX(0);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition: none; }
}
.hero-slide::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,38,40,0.95) 0%, rgba(8,38,40,0.78) 55%, rgba(8,38,40,0.5) 100%);
}
/* O vídeo é dispensado quando o usuário prefere menos movimento ou em
   telas pequenas (economia de dados) — fica só o fundo teal + overlay. */
@media (prefers-reduced-motion: reduce), (max-width: 640px){
  .hero-video{ display: none; }
}
.hero-slide-content{
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 620px;
  padding: 0 24px;
  margin: 0 auto;
  width: 100%;
}
.hero-slide-content .eyebrow{ color: var(--yellow); }
.hero-slide-content h1{ color: var(--white); margin-bottom: 18px; }
.hero-slide-content p{ font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 28px; }
.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots{
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 3;
}
.hero-dots button{
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--white); background: transparent;
  padding: 0; cursor: pointer; opacity: 0.6;
  transition: opacity var(--transition), background var(--transition);
}
.hero-dots button.active{ background: var(--white); opacity: 1; }
.hero-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  transition: background var(--transition);
}
.hero-arrow:hover{ background: rgba(255,255,255,0.3); }
.hero-arrow.prev{ left: 20px; }
.hero-arrow.next{ right: 20px; }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-photo{
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--teal-tint), var(--gray-100));
}
.service-card-photo img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.service-card:hover .service-card-photo img{ transform: scale(1.06); }
.service-card-photo--placeholder{ display: flex; align-items: center; justify-content: center; }
.service-card-photo-badge{
  position: absolute; top: 12px; right: 12px;
  background: rgba(13, 38, 40, 0.55);
  color: var(--white);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 10px;
  border-radius: 999px;
}
.service-card-body{
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.service-card h3{ margin-bottom: 4px; }
.service-card p{ color: var(--gray-500); font-size: 0.95rem; flex-grow: 1; }
.service-link{
  font-weight: 600; font-size: 0.9rem; color: var(--teal);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
}
.service-link:hover{ text-decoration: underline; }

/* About summary */
.about-summary{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.about-summary-media{
  background: var(--teal);
  border-radius: var(--radius);
  min-height: 340px;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.about-summary-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.diff-list{ margin-top: 20px; display: grid; gap: 12px; }
.diff-list li{ display: flex; gap: 12px; align-items: flex-start; }
.diff-list .check{
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.diff-list .check svg{ width: 14px; height: 14px; fill: currentColor; }

/* Cases / testimonials placeholder */
.placeholder-block{
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--gray-500);
  background: var(--white);
}
.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial-stars{ color: var(--yellow); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-author{ margin-top: 16px; font-weight: 600; color: var(--teal-darker); font-size: 0.9rem; }
.testimonial-author span{ display: block; font-weight: 400; color: var(--gray-500); font-size: 0.8rem; }

/* Logos marquee */
.logos-marquee{ overflow: hidden; position: relative; }
.logos-marquee::before, .logos-marquee::after{
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
}
.logos-marquee::before{ left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.logos-marquee::after{ right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.logos-track{
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}
.logos-track img{ height: 48px; width: auto; filter: grayscale(1); opacity: 0.6; }
@keyframes scroll-logos{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* Contact strip */
.contact-strip{
  background: var(--teal-darker);
  color: var(--white);
  padding: 36px 0;
}
.contact-strip .container{
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.contact-strip-item{ display: flex; align-items: center; gap: 14px; }
.contact-strip-item .icon{
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-strip-item .icon svg{ width: 22px; height: 22px; fill: var(--yellow); }
.contact-strip-item strong{ display: block; font-size: 1rem; }
.contact-strip-item span{ font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* Contact section: form + map */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form{
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row{ margin-bottom: 18px; }
.form-row label{
  display: block; font-weight: 600; font-size: 0.9rem;
  margin-bottom: 6px; color: var(--teal-darker);
}
.form-row input, .form-row select, .form-row textarea{
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: none; border-color: var(--teal); background: var(--white);
}
.form-row textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: 0.8rem; color: var(--gray-500); margin-top: 12px; }
.form-status{ margin-top: 14px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.success{ display: block; color: var(--teal); }
.form-status.error{ display: block; color: #c0392b; }

.map-wrap{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe{ width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.contact-info-list{ display: grid; gap: 18px; margin-bottom: 24px; }
.contact-info-item{ display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .icon{
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .icon svg{ width: 20px; height: 20px; fill: currentColor; }
.contact-info-item strong{ display: block; color: var(--teal-darker); }
.contact-info-item span, .contact-info-item a{ color: var(--gray-500); font-size: 0.95rem; }
.contact-info-item a:hover{ color: var(--teal); }

/* Page hero (inner pages) */
.page-hero{
  background: var(--teal);
  color: var(--white);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after{
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.page-hero h1{ color: var(--white); font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 6px; }
.breadcrumb{ font-size: 0.8rem; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.breadcrumb a{ color: rgba(255,255,255,0.9); }
.breadcrumb a:hover{ text-decoration: underline; }
.page-hero p{ max-width: 640px; color: rgba(255,255,255,0.88); font-size: 0.95rem; margin: 0; }

/* Página de serviço — loja virtual por categoria */
.shop-categories{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.shop-category-link{
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  color: var(--teal-darker);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.shop-category-link:hover{ background: var(--teal-tint); }
.shop-category-link.active{
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  font-weight: 600;
}

.shop-search{ margin-bottom: 20px; }
.shop-search input[type="search"]{
  width: 100%;
  max-width: 420px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--teal-darker);
  transition: background var(--transition), border-color var(--transition);
}
.shop-search input[type="search"]::placeholder{ color: var(--gray-500); }
.shop-search input[type="search"]:focus{
  outline: none;
  background: var(--white);
  border-color: var(--teal-accent);
}
.no-results-message{
  grid-column: 1 / -1;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Catálogo de produtos (estilo e-commerce) */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 0 20px;
}
.product-card{
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-title{
  font-size: 0.95rem;
  margin: 0;
  padding: 14px 16px 10px;
  color: var(--teal-darker);
}
.gallery-item{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: none;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--gray-100);
}
.gallery-item img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.gallery-item:hover img{ transform: scale(1.06); }
.product-photo-thumbs{ display: flex; flex-wrap: wrap; gap: 4px; padding: 4px 4px 0; }
.product-photo-thumbs .gallery-item{
  width: 48px;
  flex: 0 0 48px;
  border-radius: 4px;
}
.product-card-body{
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-body .btn{ margin-top: auto; }
.product-specs{
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.product-specs li{
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.4;
}
.btn-sm{ padding: 10px 14px; font-size: 0.8rem; white-space: normal; text-align: center; line-height: 1.25; }
.product-catalog-placeholder{
  grid-column: 1 / -1;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 20, 20, 0.92);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.lightbox.open{ opacity: 1; visibility: visible; }
.lightbox-img{
  max-width: min(88vw, 1000px);
  max-height: 84vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox-close{
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none;
  color: var(--white); font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.lightbox-close:hover{ background: rgba(255,255,255,0.25); }
.lightbox-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition);
}
.lightbox-arrow:hover{ background: rgba(255,255,255,0.25); }
.lightbox-arrow.prev{ left: 20px; }
.lightbox-arrow.next{ right: 20px; }
.lightbox.single .lightbox-arrow, .lightbox.single .lightbox-counter{ display: none; }
.lightbox-counter{
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75); font-size: 0.85rem; letter-spacing: 0.04em;
}

.shop-cta{
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.shop-cta h3{ color: var(--white); margin-bottom: 4px; }
.shop-cta p{ color: rgba(255,255,255,0.85); margin: 0; }
.shop-cta-actions{ display: flex; gap: 12px; flex-wrap: wrap; }

/* Clientes page */
.logos-grid-static{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.logos-grid-static .logo-tile{
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 100px;
}

/* Footer */
.site-footer{ background: var(--teal-darker); color: rgba(255,255,255,0.85); padding: 64px 0 0; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img{ height: 44px; margin-bottom: 16px; }
.footer-brand p{ color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-social{ display: flex; gap: 10px; margin-top: 16px; }
.footer-col h4{ color: var(--white); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-col ul li{ margin-bottom: 10px; }
.footer-col a{ color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover{ color: var(--white); }
.footer-col address{ font-style: normal; font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-bottom{
  padding: 22px 0; display: flex; justify-content: space-between; gap: 12px;
  font-size: 0.8rem; color: rgba(255,255,255,0.55); flex-wrap: wrap;
}

/* WhatsApp float */
.whatsapp-float{
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform var(--transition);
}
.whatsapp-float:hover{ transform: scale(1.08); }
.whatsapp-float svg{ width: 30px; height: 30px; fill: currentColor; }

/* Voltar ao topo */
.back-to-top{
  position: fixed; right: 24px; bottom: 96px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal-darker); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}
.back-to-top.visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ background: var(--teal); }
.back-to-top svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* Utility */
.text-center{ text-align: center; }
.mt-32{ margin-top: 32px; }
.grid-2{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .logos-grid-static{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px){
  .main-nav{
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav > ul{ flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a{ padding: 16px 8px; border-bottom: 1px solid var(--gray-100); border-radius: 0; color: var(--teal-darker); }
  .main-nav a::after{ display: none; }
  .main-nav a:hover, .main-nav a.active{ background: var(--teal-tint); color: var(--teal); }
  .dropdown{
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; display: none; padding: 0 0 0 16px; min-width: 0;
  }
  .has-dropdown.open .dropdown{ display: block; }
  .header-whatsapp span{ display: none; }
  .nav-toggle{ display: flex; }
  .about-summary{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-strip .container{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero-slides{ height: 640px; }
  .hero-cta{ flex-direction: column; align-items: stretch; }
  .hero-arrow{ width: 36px; height: 36px; }
  .logos-grid-static{ grid-template-columns: repeat(2, 1fr); }
  .footer-bottom{ flex-direction: column; text-align: center; }
  .section{ padding: 56px 0; }
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
  .lightbox-arrow{ width: 38px; height: 38px; }
  .lightbox-close{ width: 38px; height: 38px; top: 12px; right: 12px; }
}
