/* ==========================================================================
   CMI Publicidade — design tokens
   ========================================================================== */
:root {
  --purple-900: #26214f;
  --purple-800: #322c6b;
  --purple-700: #3d3690;
  --purple-600: #4a42a8;
  --purple-100: #eeecfa;
  --purple-050: #f6f5fc;

  --yellow-500: #e8d43c;
  --yellow-600: #d0bc22;
  --yellow-100: #fbf6d8;

  --whatsapp: #25d366;
  --whatsapp-dark: #1ebd5a;

  --ink: #1e1b3a;
  --gray-700: #4a4763;
  --gray-500: #77748f;
  --gray-200: #e3e1f0;
  --white: #ffffff;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(38, 33, 79, .08);
  --shadow-md: 0 12px 30px rgba(38, 33, 79, .14);
  --container: 1180px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--purple-900); }
p { margin: 0 0 1em; color: var(--gray-700); }
svg { width: 1em; height: 1em; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow-500);
  color: var(--purple-900);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--yellow-500);
  color: var(--purple-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--yellow-600); box-shadow: var(--shadow-md); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: var(--shadow-md); }
.btn-whatsapp .icon { width: 20px; height: 20px; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-logo { height: 44px; width: auto; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--purple-800);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--yellow-500);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--purple-800); border-radius: 2px; }

/* ==========================================================================
   Decorative print motifs
   ========================================================================== */
.halftone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  z-index: 0;
}
.halftone-hero { color: var(--purple-700); opacity: .07; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.halftone-dark { color: var(--white); opacity: .05; }

.crop-mark {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--yellow-500);
  border-style: solid;
  border-width: 0;
  opacity: .9;
}
.crop-mark.small { width: 14px; height: 14px; }
.crop-tl { top: -8px; left: -8px; border-top-width: 3px; border-left-width: 3px; }
.crop-tr { top: -8px; right: -8px; border-top-width: 3px; border-right-width: 3px; }
.crop-bl { bottom: -8px; left: -8px; border-bottom-width: 3px; border-left-width: 3px; }
.crop-br { bottom: -8px; right: -8px; border-bottom-width: 3px; border-right-width: 3px; }
.crop-mark.small.crop-tl { top: -6px; left: -6px; }
.crop-mark.small.crop-br { bottom: -6px; right: -6px; }

.swatch-cluster { position: absolute; top: 8%; right: 4%; display: flex; }
.swatch {
  width: 34px; height: 34px;
  border-radius: 50%;
  margin-left: -12px;
  mix-blend-mode: multiply;
  box-shadow: 0 0 0 2px rgba(255,255,255,.6);
}
.swatch-c { background: #35c4e6; }
.swatch-m { background: #e63d9c; }
.swatch-y { background: var(--yellow-500); }
.swatch-k { background: var(--purple-900); }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.dot-c { background: #35c4e6; }
.dot-m { background: #e63d9c; }
.dot-y { background: var(--yellow-500); }

.cutline {
  border-top: 2px dashed rgba(255,255,255,.25);
  margin: 8px 0 48px;
  position: relative;
}
.cutline::before, .cutline::after {
  content: '✂';
  position: absolute;
  top: -13px;
  font-size: 18px;
  color: var(--yellow-500);
  background: transparent;
}
.cutline::before { left: 0; }
.cutline::after { right: 0; }

.edge-torn {
  height: 40px;
  background: var(--white);
  clip-path: polygon(0% 100%, 4% 40%, 8% 100%, 12% 30%, 16% 100%, 20% 45%, 24% 100%, 28% 35%, 32% 100%, 36% 40%, 40% 100%, 44% 30%, 48% 100%, 52% 45%, 56% 100%, 60% 35%, 64% 100%, 68% 40%, 72% 100%, 76% 30%, 80% 100%, 84% 45%, 88% 100%, 92% 35%, 96% 100%, 100% 45%, 100% 100%);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--purple-050) 0%, var(--white) 100%);
  padding: 48px 0 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 36px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple-700);
  background: var(--purple-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: .45em;
}
.hero h1 .highlight { color: var(--purple-700); position: relative; }
.hero-lead { font-size: 1.08rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 700; font-size: .9rem; color: var(--purple-800); }
.hero-facts li { display: flex; align-items: center; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; }
.hero-mascot {
  position: relative;
  z-index: 2;
  width: min(340px, 80%);
  filter: drop-shadow(0 20px 30px rgba(38,33,79,.18));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.print-stack { position: absolute; inset: 0; z-index: 1; }
.stack-card {
  position: absolute;
  display: block;
  width: 170px;
  height: 104px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-top: 8px solid var(--yellow-500);
  overflow: hidden;
}
.stack-card i { position: absolute; inset: 20px 14px auto 14px; height: 8px; border-radius: 4px; background: var(--gray-200); box-shadow: 0 16px 0 var(--gray-200), 0 32px 0 var(--gray-200); }
.card-1 { top: 6%; left: 2%; transform: rotate(-11deg); }
.card-2 {
  top: 40%; right: -2%;
  width: 148px; height: 92px;
  transform: rotate(9deg);
  border-top-color: #35c4e6;
}
.card-3 {
  bottom: 2%; left: 18%;
  width: 156px; height: 96px;
  transform: rotate(5deg);
  border-top-color: #e63d9c;
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 10px;
  padding: 22px 0 28px;
  border-top: 1px dashed var(--gray-200);
}
.hero-strip-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: var(--purple-700);
  white-space: nowrap;
  margin-right: 4px;
}
.hero-strip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-strip-list li {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--purple-100);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 88px 0; position: relative; }
.section-dark {
  background: linear-gradient(160deg, var(--purple-800), var(--purple-900));
  color: var(--white);
  overflow: hidden;
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head-light .eyebrow { background: rgba(255,255,255,.12); color: var(--yellow-500); }
.section-head-light h2, .section-head-light p { color: var(--white); }
.section-head-light p { color: rgba(255,255,255,.75); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow-500);
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .3s ease;
}
.product-card:hover img { transform: scale(1.05); }
.product-card-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px;
  background: rgba(45, 39, 126, .88);
  box-shadow: 0 5px 14px rgba(25, 21, 67, .28);
  color: var(--white);
  padding: 9px;
  stroke-width: 2.25;
}
.product-card-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 12px 14px;
  text-align: center;
}
.product-card-label b {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--purple-900);
}

/* ==========================================================================
   Catalog (broad product grid)
   ========================================================================== */
.section-alt { background: var(--purple-050); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.catalog-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.catalog-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow-500);
}
.catalog-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3.1;
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--purple-100));
}
.catalog-photo svg {
  width: 74%;
  height: 74%;
  filter: drop-shadow(0 6px 10px rgba(38, 33, 79, .16));
  transition: transform .3s ease;
}
.catalog-item:hover .catalog-photo svg { transform: scale(1.05); }
.catalog-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
}
.catalog-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--purple-700);
}
.catalog-icon svg { width: 18px; height: 18px; }
.catalog-label span:last-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--purple-900);
  line-height: 1.2;
}

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.step { text-align: center; padding: 0 10px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--yellow-500);
  color: var(--purple-900);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 16px;
}
.step svg { display: block; width: 30px; height: 30px; color: var(--purple-700); margin: 0 auto 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: .3em; }
.step p { font-size: .92rem; max-width: 30ch; margin: 0 auto; }

/* ==========================================================================
   Benefits
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  position: relative;
  z-index: 1;
}
.benefit svg { width: 32px; height: 32px; color: var(--yellow-500); margin-bottom: 14px; }
.benefit h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .3em; }
.benefit p { color: rgba(255,255,255,.72); font-size: .92rem; margin: 0; }

/* ==========================================================================
   About
   ========================================================================== */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.about-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  font-size: .82rem;
  font-weight: 700;
  color: var(--purple-700);
  background: var(--purple-100);
  padding: 8px 16px;
  border-radius: 999px;
}
.about-mark {
  display: flex;
  justify-content: center;
  padding: 24px;
}
.about-mark img { width: min(280px, 100%); opacity: .9; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  position: relative;
  z-index: 1;
}
.contact-info h2 { color: var(--white); }
.contact-info p { color: rgba(255,255,255,.75); }
.contact-info .eyebrow { background: rgba(255,255,255,.12); color: var(--yellow-500); }
.contact-info .section-head, .contact-info { text-align: left; }
.contact-list { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; color: rgba(255,255,255,.9); }
.contact-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--yellow-500); margin-top: 2px; }
.contact-list a:hover { color: var(--yellow-500); }

.map-wrap {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  height: 220px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-weight: 700; font-size: .85rem; color: var(--purple-800); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--purple-600);
}
.hidden-field { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 700; font-size: .9rem; min-height: 1.2em; }
.form-status.success { color: var(--whatsapp-dark); }
.form-status.error { color: #d64545; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--purple-900); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { height: 34px; opacity: .95; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 600; }
.footer-nav a:hover { color: var(--yellow-500); }
.footer-social { display: flex; gap: 14px; }
.social-link { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); transition: background .2s, color .2s; }
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--yellow-500); color: var(--purple-900); }
.footer-copy { color: rgba(255,255,255,.5); font-size: .82rem; margin: 0; width: 100%; text-align: center; }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 220px; }
  .hero-mascot { width: min(220px, 60%); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-badges { justify-content: center; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info, .contact-info .section-head { text-align: center; }
  .contact-list { align-items: center; }
  .contact-list li { text-align: left; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-label { min-height: 58px; padding: 9px; }
  .product-card-label b { font-size: .78rem; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .swatch-cluster { display: none; }
  .print-stack { display: none; }
  .hero-strip { justify-content: center; text-align: center; }
  .hero-strip-label { width: 100%; text-align: center; margin: 0 0 4px; }
}
