/* ============================================================
   RT2 Uniformes — Catálogo
   Estilo principal
   ============================================================
   Estrutura:
   1. Variáveis (paleta oficial RT2)
   2. Reset / base
   3. Tipografia e utilitários
   4. Componentes (botões, logo, cards)
   5. Layout: header, hero, portfolio, fabrics, customization, cta, footer
   6. WhatsApp flutuante e Modal
   7. Animações (reveal on scroll)
   8. Media queries (mobile-first)
   ============================================================ */


/* ---------- 1. Variáveis (paleta oficial RT2) ---------- */
:root {
  --rt2-navy: #2D496E;
  --rt2-orange-vibrant: #EA7621;
  --rt2-orange-dark: #D96E1E;
  --rt2-blue-secondary: #395376;
  --rt2-white: #FFFFFF;

  /* Cinzas auxiliares (derivados da paleta) */
  --gray-50:  #F7F8FA;
  --gray-100: #EEF1F5;
  --gray-200: #DDE2EA;
  --gray-300: #C2CAD6;
  --gray-500: #6B7280;
  --gray-700: #3A4456;
  --gray-900: #1A2332;

  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #1FB855;

  /* Espaçamento (escala 8pt) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 6rem;

  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Container */
  --container-max: 1200px;
  --container-pad: 1.25rem;

  /* Bordas e sombras */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(45, 73, 110, 0.06), 0 1px 3px rgba(45, 73, 110, 0.08);
  --shadow-md: 0 4px 6px -2px rgba(45, 73, 110, 0.08), 0 10px 24px -4px rgba(45, 73, 110, 0.12);
  --shadow-lg: 0 12px 30px -6px rgba(45, 73, 110, 0.18), 0 22px 48px -10px rgba(45, 73, 110, 0.20);

  /* Transições */
  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t-base: 250ms cubic-bezier(.4,0,.2,1);
  --t-slow: 450ms cubic-bezier(.4,0,.2,1);

  /* Header */
  --header-h: 72px;
}


/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-900);
  background: var(--rt2-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }

ul { list-style: none; padding: 0; margin: 0; }

:focus-visible {
  outline: 3px solid var(--rt2-orange-vibrant);
  outline-offset: 2px;
  border-radius: 4px;
}


/* ---------- 3. Tipografia e utilitários ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--rt2-navy);
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-8);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rt2-orange-vibrant);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.6;
}


/* ---------- 4. Componentes ---------- */

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: transform var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  text-align: center;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--rt2-orange-vibrant);
  color: var(--rt2-white);
  box-shadow: 0 4px 14px rgba(234, 118, 33, 0.32);
}
.btn--primary:hover {
  background: var(--rt2-orange-dark);
  box-shadow: 0 6px 20px rgba(234, 118, 33, 0.42);
}

.btn--secondary {
  background: transparent;
  color: var(--rt2-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--secondary:hover {
  background: var(--rt2-white);
  color: var(--rt2-navy);
  border-color: var(--rt2-white);
}

.btn--whatsapp {
  background: var(--whatsapp-green);
  color: var(--rt2-white);
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.32);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-green-dark);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--rt2-navy);
  border-color: var(--gray-300);
}
.btn--ghost:hover {
  background: var(--gray-100);
  border-color: var(--rt2-navy);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* --- Logo --- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.logo__mark {
  background: var(--rt2-orange-vibrant);
  color: var(--rt2-white);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-weight: 800;
}

.logo__text { color: var(--rt2-navy); }
.logo--footer .logo__text { color: var(--rt2-white); }


/* ---------- 5. Layout ---------- */

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.header.is-scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--header-h);
}

/* Nav desktop */
.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 0.25rem 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--rt2-orange-vibrant);
  transition: right var(--t-base);
}
.nav__link:hover { color: var(--rt2-navy); }
.nav__link:hover::after { right: 0; }

/* Botão hambúrguer (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 6px 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rt2-navy);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* --- Hero --- */
.hero {
  position: relative;
  padding: var(--sp-12) 0 var(--sp-10);
  background: linear-gradient(135deg, var(--rt2-navy) 0%, var(--rt2-blue-secondary) 100%);
  color: var(--rt2-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, var(--rt2-orange-vibrant) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, var(--rt2-orange-vibrant) 0%, transparent 40%);
  pointer-events: none;
}

.hero__inner { position: relative; max-width: 820px; }

.hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  margin-bottom: var(--sp-5);
}

.hero__title {
  color: var(--rt2-white);
  font-size: clamp(2.2rem, 1.4rem + 4vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--sp-5);
  line-height: 1.05;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--sp-6);
  max-width: 640px;
  line-height: 1.55;
}
.hero__subtitle strong { color: var(--rt2-orange-vibrant); font-weight: 700; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero__highlights li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__highlights strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--rt2-orange-vibrant);
  letter-spacing: -0.02em;
}
.hero__highlights span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* --- Portfólio --- */
.portfolio {
  padding: var(--sp-12) 0;
  background: var(--gray-50);
}

.filters {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
  padding: var(--sp-5);
  background: var(--rt2-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.filter-group__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.filter-group__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1.5px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.filter-btn:hover {
  background: var(--gray-200);
  color: var(--rt2-navy);
}
.filter-btn.is-active {
  background: var(--rt2-navy);
  color: var(--rt2-white);
  box-shadow: 0 2px 8px rgba(45, 73, 110, 0.25);
}

/* Grade de produtos */
.products-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.product-card {
  background: var(--rt2-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  animation: card-in 380ms cubic-bezier(.4,0,.2,1) both;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rt2-orange-vibrant);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  overflow: hidden;
  cursor: zoom-in;
}
.product-card__media img,
.product-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--gray-100);
}
.product-card__media img {
  transition: transform var(--t-slow);
}
/* Vídeo fica sobreposto à foto, invisível até começar a tocar */
.product-card__media video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease, transform var(--t-slow);
  pointer-events: none;
}
.product-card__media video.is-playing {
  opacity: 1;
}
.product-card:hover .product-card__media img,
.product-card:hover .product-card__media video { transform: scale(1.05); }

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(45, 73, 110, 0.92);
  color: var(--rt2-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.product-card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.product-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rt2-navy);
}

.product-card__desc {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.5;
  flex: 1;
}

.product-card__fabrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.fabric-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.22rem 0.55rem;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: 4px;
}

/* Cores disponíveis (linha escolar) */
.product-card__colors {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.product-card__colors-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-right: 0.15rem;
}
.color-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  cursor: help;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.color-dot:hover {
  transform: scale(1.18);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
}

/* Preço no card (só aparece se produto tem `precoBase`) */
.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.product-card__price-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}
.product-card__price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rt2-orange-vibrant);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Container dos 2 botões (Comprar + WhatsApp) */
.product-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: var(--rt2-navy);
  color: var(--rt2-white);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), transform var(--t-fast);
  border: 1.5px solid transparent;
}
.product-card__cta:hover {
  background: var(--rt2-orange-vibrant);
  transform: translateY(-1px);
}

/* Botão primário "Comprar agora" — destaque laranja */
.product-card__cta--buy {
  background: var(--rt2-orange-vibrant);
  box-shadow: 0 3px 10px rgba(234, 118, 33, 0.28);
}
.product-card__cta--buy:hover {
  background: var(--rt2-orange-dark);
  box-shadow: 0 5px 14px rgba(234, 118, 33, 0.40);
}

/* Botão secundário "Quero com logo" — quando coexiste com "Comprar agora" */
.product-card__cta--secondary {
  background: transparent;
  color: var(--rt2-navy);
  border-color: var(--gray-200);
}
.product-card__cta--secondary:hover {
  background: var(--gray-50);
  border-color: var(--rt2-navy);
  color: var(--rt2-navy);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.empty-state {
  text-align: center;
  padding: var(--sp-10) var(--sp-4);
  color: var(--gray-500);
}
.empty-state p { margin-bottom: var(--sp-4); }


/* --- Tecidos --- */
.fabrics {
  padding: var(--sp-12) 0;
  background: var(--rt2-white);
}

.fabrics-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.fabric-card {
  padding: var(--sp-5);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--rt2-orange-vibrant);
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.fabric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--rt2-white);
}
.fabric-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
}
.fabric-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.5;
}


/* --- Personalização --- */
.customization {
  padding: var(--sp-12) 0;
  background: var(--gray-50);
}

.custom-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.custom-card {
  padding: var(--sp-6);
  background: var(--rt2-white);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.custom-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rt2-navy), var(--rt2-blue-secondary));
  color: var(--rt2-orange-vibrant);
  border-radius: 16px;
}
.custom-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-3);
}
.custom-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.55;
}


/* --- CTA Final --- */
.cta-final {
  padding: var(--sp-12) 0;
  background: linear-gradient(135deg, var(--rt2-navy) 0%, var(--rt2-blue-secondary) 100%);
  color: var(--rt2-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before,
.cta-final::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--rt2-orange-vibrant);
  opacity: 0.08;
  filter: blur(60px);
  pointer-events: none;
}
.cta-final::before { top: -100px; left: -80px; }
.cta-final::after { bottom: -120px; right: -100px; }

.cta-final__inner { position: relative; }
.cta-final__title {
  color: var(--rt2-white);
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.75rem);
  margin-bottom: var(--sp-4);
}
.cta-final__text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-6);
}


/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.85);
  padding-top: var(--sp-10);
}

.footer__inner {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: var(--sp-8);
}

.footer__tagline {
  margin-top: var(--sp-3);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  max-width: 280px;
}

.footer__title {
  color: var(--rt2-white);
  font-size: 0.95rem;
  margin-bottom: var(--sp-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__list a { color: rgba(255,255,255,0.75); transition: color var(--t-fast); }
.footer__list a:hover { color: var(--rt2-orange-vibrant); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-4) 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}


/* ---------- 6. WhatsApp flutuante e Modal ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  color: var(--rt2-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  z-index: 90;
  transition: transform var(--t-base), box-shadow var(--t-base);
  animation: pulse-ring 2.4s ease-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--whatsapp-green-dark);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 0 0 0    rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 0 0 18px rgba(37, 211, 102, 0);    }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 0 0 0    rgba(37, 211, 102, 0);    }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.72);
  backdrop-filter: blur(4px);
  animation: fade-in 250ms ease;
}

.modal__content {
  position: relative;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--rt2-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: modal-in 320ms cubic-bezier(.4,0,.2,1);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal__close:hover { background: var(--gray-200); color: var(--rt2-navy); }

.modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal__image-wrap {
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  aspect-ratio: 1 / 1;
  padding: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__image-wrap img,
.modal__image-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* mostra a peça inteira sem cortar */
  display: block;
}
.modal__image-wrap img[hidden],
.modal__image-wrap video[hidden] { display: none; }

.modal__info {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.modal__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rt2-orange-vibrant);
}
.modal__title { font-size: 1.6rem; }
.modal__description { color: var(--gray-700); line-height: 1.6; }

.modal__fabrics h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: var(--sp-2);
}
.modal__fabrics ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.modal__fabrics li {
  background: var(--gray-100);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--gray-700);
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}


/* ---------- 7. Animações reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(.4,0,.2,1),
              transform 600ms cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}


/* ---------- 8. Media queries ---------- */

/* Tablet */
@media (max-width: 900px) {
  :root { --sp-12: 4.5rem; }

  .footer__inner { grid-template-columns: 1fr 1fr; }

  .modal__body { grid-template-columns: 1fr; }
  .modal__image-wrap { aspect-ratio: 16 / 10; }
}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --sp-12: 3.5rem;
    --sp-10: 2.5rem;
    --header-h: 64px;
  }

  /* Esconde nav e mostra hambúrguer */
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--rt2-white);
    padding: var(--sp-5) var(--container-pad) var(--sp-6);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform var(--t-base);
    visibility: hidden;
  }
  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    display: block;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 1rem;
  }
  .nav__link::after { display: none; }

  /* Esconde texto do botão WhatsApp no header (só ícone) */
  .btn--whatsapp span { display: none; }
  .btn--whatsapp { padding: 0.55rem 0.7rem; }

  .hero { padding: var(--sp-10) 0 var(--sp-8); }
  .hero__highlights { gap: var(--sp-5); }
  .hero__highlights strong { font-size: 1.3rem; }

  .filters { padding: var(--sp-4); }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    text-align: left;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}

/* Telas pequenas (<= 380px) */
@media (max-width: 380px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}


/* ============================================================
   POLO EXPERIENCE
   - Animação de fundo: padrão de tecido (piquet) que se "afasta"
     enquanto a silhueta da polo emerge.
   - Após a polo se formar, o scroll vertical é convertido em
     scroll horizontal: 4 slides com fotos à esquerda e specs à
     direita (apresentação · composição · costuras · fabricação).
   - Toda a lógica de scroll-link é controlada por JS
     (setupPoloExperience) — aqui ficam apenas estados visuais.
   ============================================================ */

.product-exp {
  position: relative;
  height: 550vh;                 /* scroll doado à seção:
                                    fase 1 ─ 5 estágios em ~60vh cada (~6 scrolls)
                                    fase 2 ─ 4 slides em ~50vh cada
                                    + buffer no final */
  background: #0a1828;
  color: var(--rt2-white);
  isolation: isolate;
  /* Performance: pula renderização enquanto fora da viewport.
     Cada uma das 12 imersões tem 550vh — sem isso, o browser
     processa todas mesmo sem o usuário ter chegado lá. */
  content-visibility: auto;
  contain-intrinsic-size: 0 550vh;
}

.product-exp__viewport {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Camada 1: foto real do tecido em loop --- */
/* Estrutura em duas camadas:
   - .product-exp__fabric        → JS aplica transform (zoom out conforme scroll)
   - .product-exp__fabric-inner  → CSS aplica animação em loop (pan/zoom sutil)
   Assim, scroll-driven e loop CSS não brigam. */
.product-exp__fabric {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: opacity, transform;
  transform-origin: center center;
}
.product-exp__fabric-inner {
  position: absolute;
  inset: -8%;                                  /* sobra pra animação não mostrar bordas */
  animation: fabric-loop 22s ease-in-out infinite;
  will-change: transform;
}
.product-exp__fabric-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}
/* Fallback enquanto a foto real não está no projeto */
.product-exp__fabric-inner--fallback {
  background:
    radial-gradient(circle at 30% 30%, #2d4d72 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #1f3a5c 0%, transparent 60%),
    repeating-linear-gradient(45deg, #1a3052 0 6px, #213b62 6px 12px),
    #142a47;
}

/* Overlay escuro que aumenta intensidade conforme scroll progride */
.product-exp__fabric-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,24,40,0) 0%, rgba(10,24,40,0.4) 70%, rgba(10,24,40,0.8) 100%),
    linear-gradient(180deg, rgba(10,24,40,0.15) 0%, rgba(10,24,40,0.45) 100%);
  pointer-events: none;
  will-change: opacity;
}

/* Animação em loop: pan + zoom sutis (efeito Ken Burns) */
@keyframes fabric-loop {
  0%   { transform: translate(0%, 0%)     scale(1.04); }
  25%  { transform: translate(-2%, 1.5%)  scale(1.06); }
  50%  { transform: translate(1.5%, 2%)   scale(1.08); }
  75%  { transform: translate(2%, -1.5%)  scale(1.06); }
  100% { transform: translate(0%, 0%)     scale(1.04); }
}

/* --- Variações por paleta (data-palette) --- */
/* navy = default (já configurado nos blocos acima) */

/* Paleta BLACK (manga longa) */
[data-palette="black"]                                 { background: #050507; }
[data-palette="black"] .product-exp__fabric-inner--fallback {
  background:
    radial-gradient(circle at 30% 30%, #2a2a30 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #15151a 0%, transparent 60%),
    repeating-linear-gradient(45deg, #0e0e12 0 6px, #14141a 6px 12px),
    #08080b;
}
[data-palette="black"] .product-exp__fabric-overlay {
  background:
    radial-gradient(ellipse at center, rgba(5,5,7,0) 0%, rgba(5,5,7,0.5) 70%, rgba(5,5,7,0.85) 100%),
    linear-gradient(180deg, rgba(5,5,7,0.2) 0%, rgba(5,5,7,0.5) 100%);
}
[data-palette="black"] .product-exp__video-overlay {
  background:
    radial-gradient(ellipse at center, rgba(5,5,7,0) 30%, rgba(5,5,7,0.6) 80%, rgba(5,5,7,0.9) 100%),
    linear-gradient(180deg, rgba(5,5,7,0.2) 0%, rgba(5,5,7,0.5) 100%);
}

/* Paleta ORANGE-HI (alta visibilidade — produtos refletivos) */
[data-palette="orange-hi"]                             { background: #1a0f06; }
[data-palette="orange-hi"] .product-exp__fabric-inner--fallback {
  background:
    radial-gradient(circle at 30% 30%, #b85a18 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #5c2a08 0%, transparent 60%),
    repeating-linear-gradient(45deg, #2a1607 0 6px, #3a1f0a 6px 12px),
    #150a04;
}
[data-palette="orange-hi"] .product-exp__fabric-overlay {
  background:
    radial-gradient(ellipse at center, rgba(26,15,6,0) 0%, rgba(26,15,6,0.45) 70%, rgba(26,15,6,0.8) 100%),
    linear-gradient(180deg, rgba(26,15,6,0.15) 0%, rgba(26,15,6,0.45) 100%);
}
[data-palette="orange-hi"] .product-exp__video-overlay {
  background:
    radial-gradient(ellipse at center, rgba(26,15,6,0) 30%, rgba(26,15,6,0.55) 80%, rgba(26,15,6,0.85) 100%),
    linear-gradient(180deg, rgba(26,15,6,0.15) 0%, rgba(26,15,6,0.45) 100%);
}

/* --- Vídeo de fundo (aparece a partir do estágio 5) --- */
.product-exp__video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;                       /* acima do tecido, abaixo dos estágios */
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  overflow: hidden;
}
.product-exp__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Leve filtro pra integrar com a paleta navy do site */
  filter: saturate(1.1) contrast(1.05);
}
/* Overlay sobre o vídeo: escurece nas bordas pra dar foco e melhorar legibilidade */
.product-exp__video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,24,40,0) 30%, rgba(10,24,40,0.55) 80%, rgba(10,24,40,0.85) 100%),
    linear-gradient(180deg, rgba(10,24,40,0.15) 0%, rgba(10,24,40,0.45) 100%);
  pointer-events: none;
  will-change: opacity;
  opacity: 1;
}

/* --- Camada de estágios narrativos (fio → tecido → recorte → costura → polo) --- */
.product-exp__stages {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.product-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  will-change: opacity, transform;
  transition: transform 0.4s ease;
}
.product-stage.is-active {
  transform: scale(1);
}
.product-stage svg {
  width: min(80vw, 720px);
  height: auto;
  max-height: 70vh;
}

/* Label do estágio atual */
.product-stage__label {
  position: absolute;
  top: 8vh;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rt2-orange-vibrant);
  background: rgba(234, 118, 33, 0.10);
  border: 1px solid rgba(234, 118, 33, 0.32);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Estágio 1 — Fio: traçado animado quando ativo */
.product-stage--thread .thread-line {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 1.6s cubic-bezier(.5,0,.2,1);
}
.product-stage--thread.is-active .thread-line {
  stroke-dashoffset: 0;
}
.product-stage--thread .thread-line--2 {
  transition-delay: 0.25s;
}

/* Estágio 2 — Tecido: linhas H e V aparecem em sequência */
.product-stage--weave .weave-h line,
.product-stage--weave .weave-v line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  transition: stroke-dashoffset 0.9s cubic-bezier(.5,0,.2,1);
}
.product-stage--weave.is-active .weave-h line { stroke-dashoffset: 0; }
.product-stage--weave.is-active .weave-v line { stroke-dashoffset: 0; }
/* Atraso por linha (efeito de "tecer") */
.product-stage--weave .weave-h line:nth-child(1) { transition-delay: 0.00s; }
.product-stage--weave .weave-h line:nth-child(2) { transition-delay: 0.05s; }
.product-stage--weave .weave-h line:nth-child(3) { transition-delay: 0.10s; }
.product-stage--weave .weave-h line:nth-child(4) { transition-delay: 0.15s; }
.product-stage--weave .weave-h line:nth-child(5) { transition-delay: 0.20s; }
.product-stage--weave .weave-h line:nth-child(6) { transition-delay: 0.25s; }
.product-stage--weave .weave-h line:nth-child(7) { transition-delay: 0.30s; }
.product-stage--weave .weave-v line:nth-child(1) { transition-delay: 0.35s; }
.product-stage--weave .weave-v line:nth-child(2) { transition-delay: 0.40s; }
.product-stage--weave .weave-v line:nth-child(3) { transition-delay: 0.45s; }
.product-stage--weave .weave-v line:nth-child(4) { transition-delay: 0.50s; }
.product-stage--weave .weave-v line:nth-child(5) { transition-delay: 0.55s; }
.product-stage--weave .weave-v line:nth-child(6) { transition-delay: 0.60s; }
.product-stage--weave .weave-v line:nth-child(7) { transition-delay: 0.65s; }
.product-stage--weave .weave-v line:nth-child(8) { transition-delay: 0.70s; }
.product-stage--weave .weave-v line:nth-child(9) { transition-delay: 0.75s; }

/* Estágio 3 — Recorte: silhueta tracejada se desenha; tesoura "corta" */
.product-stage--cut .cut-path path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.8s cubic-bezier(.5,0,.2,1);
}
.product-stage--cut.is-active .cut-path path { stroke-dashoffset: 0; }

.product-stage--cut .cut-scissors {
  opacity: 0;
  transition: opacity 0.4s ease 0.5s, transform 2s cubic-bezier(.5,0,.2,1) 0.5s;
}
.product-stage--cut.is-active .cut-scissors {
  opacity: 1;
  animation: scissors-walk 2.4s ease-in-out 0.4s 1;
}
@keyframes scissors-walk {
  0%   { transform: translate(280px,200px); }
  25%  { transform: translate(280px,470px); }
  50%  { transform: translate(115px,470px); }
  75%  { transform: translate(115px,140px); }
  100% { transform: translate(280px,200px); }
}

/* Estágio 4 — Costura: pontos aparecem ao longo da silhueta */
.product-stage--stitch .stitch-path path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.4s cubic-bezier(.5,0,.2,1);
}
.product-stage--stitch.is-active .stitch-path path { stroke-dashoffset: 0; }

/* Estágio 5 — Polo: entra com leve "pulse" */
.product-stage--polo svg { transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.product-stage--polo.is-active svg { animation: polo-reveal 1s cubic-bezier(.2,.8,.2,1); }
@keyframes polo-reveal {
  0%   { transform: scale(0.85); filter: brightness(1.4); }
  60%  { transform: scale(1.05); filter: brightness(1.1); }
  100% { transform: scale(1);    filter: brightness(1);   }
}

/* --- Texto da intro (aparece quando a polo termina de se formar) --- */
.product-exp__intro {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translate(-50%, 20px);
  text-align: center;
  z-index: 5;
  max-width: 640px;
  padding: 0 var(--container-pad);
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}
.product-exp__eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rt2-orange-vibrant);
  background: rgba(234, 118, 33, 0.10);
  border: 1px solid rgba(234, 118, 33, 0.28);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.product-exp__title {
  color: var(--rt2-white);
  font-size: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.product-exp__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.2rem;
}
.product-exp__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: hint-bounce 1.8s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%      { transform: translateY(4px); opacity: 1;  }
}

/* --- Container dos slides horizontais --- */
.product-exp__slides-wrap {
  position: absolute;
  inset: 0;
  z-index: 4;                       /* acima do vídeo (1) e dos estágios (2) */
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.3s ease;
}
.product-exp__slides-wrap.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-exp__track {
  display: flex;
  width: 400%;                   /* 4 slides lado a lado */
  height: 100%;
  will-change: transform;
}

/* --- Cada slide individual --- */
.product-slide {
  width: 25%;                    /* 1 slide = 1 viewport (100vw) */
  height: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
  padding: 4vh 6vw;
}

.product-slide__media {
  position: relative;
  height: min(72vh, 580px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(0);
  animation: slide-media-in 700ms cubic-bezier(.2,.8,.2,1) both;
}
.product-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-slide__media-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 24, 40, 0.85);
  color: var(--rt2-white);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes slide-media-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.product-slide__content {
  max-width: 480px;
  animation: slide-content-in 700ms 100ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes slide-content-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.product-slide__step {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rt2-orange-vibrant);
  margin-bottom: 1rem;
}
.product-slide__title {
  color: var(--rt2-white);
  font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.product-slide__lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Lista de features (slide 1 e 3) */
.product-slide__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.product-slide__features li {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--rt2-orange-vibrant);
  border-radius: 6px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.product-slide__features strong { color: var(--rt2-white); font-weight: 600; }

/* Specs grid (slide 2) */
.product-slide__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
}
.product-slide__specs > div {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.product-slide__specs dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.3rem;
}
.product-slide__specs dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--rt2-white);
  font-weight: 500;
}

/* Etapas numeradas (slide 4) */
.product-slide__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-slide__steps li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}
.product-slide__steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rt2-orange-vibrant);
  color: var(--rt2-white);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Indicador de progresso (dots) --- */
.product-exp__progress {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-exp__progress.is-active { opacity: 1; }
.product-exp__dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.3s ease, width 0.3s ease;
}
.product-exp__dot.is-active {
  background: var(--rt2-orange-vibrant);
  width: 36px;
}

/* --- Tablets (≤ 900px): mantém animação, mas adapta os slides --- */
@media (max-width: 900px) {
  .product-exp { height: 480vh; }

  .product-exp__intro { bottom: 5vh; }
  .product-exp__title { font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); }

  /* Slides: 1 coluna (foto em cima, conteúdo embaixo) */
  .product-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 1.2rem;
    padding: 3vh 6vw 2vh;
    align-items: start;
  }
  .product-slide__media { height: 32vh; max-height: 280px; }
  .product-slide__content { max-width: 100%; }
  .product-slide__title { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); margin-bottom: 0.6rem; }
  .product-slide__lead { font-size: 0.95rem; margin-bottom: 1rem; }
  .product-slide__specs { gap: 0.5rem; }
  .product-slide__specs > div { padding: 0.6rem 0.75rem; }
  .product-slide__features li { padding: 0.55rem 0.8rem; font-size: 0.88rem; }
  .product-slide__steps li { font-size: 0.88rem; }
  .product-slide__steps li span { width: 24px; height: 24px; font-size: 0.75rem; }
}

/* --- Mobile estreito (≤ 480px): comprime ainda mais --- */
@media (max-width: 480px) {
  .product-exp { height: 520vh; }                 /* mais espaço pra ler em telas pequenas */
  .product-exp__intro { bottom: 3vh; padding: 0 1rem; }
  .product-exp__eyebrow { font-size: 0.68rem; padding: 0.3rem 0.65rem; }
  .product-exp__subtitle { font-size: 0.88rem; }

  .product-slide { padding: 2vh 5vw 1vh; gap: 0.9rem; }
  .product-slide__media { height: 28vh; max-height: 220px; border-radius: 16px; }
  .product-slide__media-label { font-size: 0.7rem; padding: 0.35rem 0.65rem; }
  .product-slide__step { font-size: 0.66rem; margin-bottom: 0.5rem; }
  .product-slide__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
  .product-slide__lead { font-size: 0.85rem; line-height: 1.45; margin-bottom: 0.75rem; }
  .product-slide__specs { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .product-slide__specs > div { padding: 0.5rem 0.65rem; }
  .product-slide__specs dt { font-size: 0.62rem; }
  .product-slide__specs dd { font-size: 0.82rem; }
  .product-slide__features { gap: 0.4rem; }
  .product-slide__features li { padding: 0.5rem 0.7rem; font-size: 0.82rem; }
  .product-slide__steps { gap: 0.35rem; margin-bottom: 0.85rem; }
  .product-slide__steps li { font-size: 0.82rem; gap: 0.6rem; }

  .product-exp__progress { bottom: 12px; }
  .product-exp__dot { width: 18px; height: 3px; }
  .product-exp__dot.is-active { width: 28px; }
}


/* ============================================================
   NOVAS SEÇÕES — Stats · Clientes · Processo · Galeria · FAQ
   ============================================================ */

/* --- Stats (números abaixo do hero) --- */
.stats {
  padding: var(--sp-8) 0;
  background: var(--rt2-white);
  border-bottom: 1px solid var(--gray-100);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  text-align: center;
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-3) 0;
}
.stats__num {
  font-size: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  font-weight: 800;
  color: var(--rt2-orange-vibrant);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stats__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* --- Clientes (logos) --- */
.clientes {
  padding: var(--sp-12) 0;
  background: var(--rt2-white);
}
.clientes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-5);
  align-items: center;
  justify-items: center;
}
.clientes__grid li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
}
.clientes__grid img {
  max-width: 140px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--t-base);
}
.clientes__grid li:hover img {
  filter: grayscale(0) opacity(1);
}


/* --- Processo (como funciona) --- */
.processo {
  padding: var(--sp-12) 0;
  background: var(--gray-50);
}
.processo__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
  counter-reset: processo;
}
.processo__step {
  position: relative;
  background: var(--rt2-white);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.processo__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rt2-orange-vibrant);
}
.processo__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rt2-orange-vibrant), var(--rt2-orange-dark));
  color: var(--rt2-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  box-shadow: 0 4px 12px rgba(234, 118, 33, 0.3);
}
.processo__title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--rt2-navy);
}
.processo__text {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.55;
}


/* --- Galeria (uniformes em uso) --- */
.galeria {
  padding: var(--sp-12) 0;
  background: var(--rt2-white);
  /* Performance: 32 fotos pesam — só renderiza quando entra na viewport */
  content-visibility: auto;
  contain-intrinsic-size: 0 1200px;
}
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-3);
}
.galeria__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
  transition: transform var(--t-base);
  cursor: zoom-in;
}
.galeria__item:hover {
  transform: scale(1.02);
}
.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.galeria__item:hover img {
  transform: scale(1.05);
}

/* Estado vazio (galeria escolar aguardando fotos reais) */
.galeria__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-10) var(--sp-5);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
  max-width: 560px;
  margin: 0 auto;
}
.galeria__empty svg {
  color: var(--rt2-orange-vibrant);
  opacity: 0.6;
  margin-bottom: var(--sp-3);
}
.galeria__empty h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
  color: var(--rt2-navy);
}
.galeria__empty p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: var(--sp-5);
  max-width: 420px;
}


/* --- FAQ (accordion via <details>) --- */
.faq {
  padding: var(--sp-12) 0;
  background: var(--gray-50);
}
.faq__inner { max-width: 820px; }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq__item {
  background: var(--rt2-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq__item[open] {
  border-color: var(--rt2-orange-vibrant);
  box-shadow: var(--shadow-sm);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rt2-navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--t-base);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--rt2-orange-vibrant);
  border-radius: 1px;
}
.faq__icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; bottom: 0; width: 2px;  transform: translateX(-50%); transition: transform var(--t-base); }
.faq__item[open] .faq__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq__answer {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq__answer strong { color: var(--rt2-navy); }


/* --- Mobile adjustments para as novas seções --- */
@media (max-width: 720px) {
  .stats__grid    { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .stats__num     { font-size: 1.5rem; }
  .stats__label   { font-size: 0.72rem; }

  .clientes__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .clientes__grid img { max-width: 100px; max-height: 44px; }

  .processo__list { grid-template-columns: 1fr; }
  .processo__step { padding: var(--sp-5); }

  .galeria__grid  { grid-template-columns: repeat(2, 1fr); }

  .faq__question  { padding: var(--sp-3) var(--sp-4); font-size: 0.95rem; }
  .faq__answer    { padding: 0 var(--sp-4) var(--sp-4); font-size: 0.9rem; }
}

@media (max-width: 420px) {
  .clientes__grid { grid-template-columns: repeat(2, 1fr); }
}


/* --- World Tabs (Profissional / Escolar) --- */
.world-tabs {
  padding: var(--sp-6) 0;
  background: var(--rt2-white);
  border-bottom: 1px solid var(--gray-100);
}
.world-tabs__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.world-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: var(--sp-5);
  background: var(--gray-50);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: background var(--t-base), border-color var(--t-base),
              box-shadow var(--t-base), transform var(--t-base);
}
.world-tab:hover {
  background: var(--rt2-white);
  border-color: var(--gray-200);
  transform: translateY(-2px);
}
.world-tab.is-active {
  background: var(--rt2-white);
  border-color: var(--rt2-orange-vibrant);
  box-shadow: 0 8px 24px rgba(234, 118, 33, 0.18);
}
.world-tab__icon {
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: 10px;
  background: var(--gray-100);
  color: var(--rt2-navy);
  transition: background var(--t-base), color var(--t-base);
}
.world-tab.is-active .world-tab__icon {
  background: var(--rt2-orange-vibrant);
  color: var(--rt2-white);
}
.world-tab__label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rt2-navy);
  line-height: 1.2;
}
.world-tab__desc {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .world-tabs__wrap { grid-template-columns: 1fr; }
  .world-tab { padding: var(--sp-4); }
  .world-tab__label { font-size: 1rem; }
  .world-tab__desc { font-size: 0.78rem; }
}


/* --- Banner Escolar (visível só quando aba escolar ativa) --- */
.escolar-banner {
  padding: var(--sp-10) 0;
  background: linear-gradient(135deg, var(--rt2-navy) 0%, var(--rt2-blue-secondary) 100%);
  color: var(--rt2-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.escolar-banner::before,
.escolar-banner::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: var(--rt2-orange-vibrant);
  opacity: 0.10;
  filter: blur(60px);
  pointer-events: none;
}
.escolar-banner::before { top: -80px; left: -60px; }
.escolar-banner::after  { bottom: -100px; right: -80px; }

.escolar-banner__inner { position: relative; }
.escolar-banner__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rt2-orange-vibrant);
  background: rgba(234, 118, 33, 0.10);
  border: 1px solid rgba(234, 118, 33, 0.28);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: var(--sp-4);
}
.escolar-banner__title {
  color: var(--rt2-white);
  font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}
.escolar-banner__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0 auto var(--sp-6);
  line-height: 1.6;
}
.escolar-banner__highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 720px;
  margin: 0 auto;
}
.escolar-banner__highlights li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  text-align: center;
}
.escolar-banner__highlights strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--rt2-orange-vibrant);
  letter-spacing: -0.01em;
}
.escolar-banner__highlights span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .escolar-banner__highlights {
    flex-direction: column;
    gap: var(--sp-4);
  }
}


/* --- Toast (notificação ao copiar/baixar foto) --- */
.toast-container {
  position: fixed;
  bottom: 100px;                   /* acima do WhatsApp flutuante */
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: calc(100vw - 48px);
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  background: var(--rt2-navy);
  color: var(--rt2-white);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(45, 73, 110, 0.32);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 380px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: auto;
  border-left: 4px solid var(--whatsapp-green);
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.toast svg {
  flex-shrink: 0;
  color: var(--whatsapp-green);
}
.toast--info { border-left-color: var(--rt2-orange-vibrant); }
.toast--info svg { color: var(--rt2-orange-vibrant); }

@media (max-width: 720px) {
  .toast-container {
    bottom: 90px;
    right: 12px;
    left: 12px;
  }
  .toast {
    font-size: 0.88rem;
    padding: 0.75rem 0.9rem;
  }
}
