/* ============================================
   PANDA PERSONALIZADOS — STYLESHEET
   ============================================ */

/* ── FONTES CUSTOMIZADAS ──────────────────────
   Coloque os arquivos dentro da pasta /fonts:

   Sugo Display (títulos / headings):
     fonts/SugoDisplay-Regular.woff2
     fonts/SugoDisplay-Regular.woff

   Glacial Indifference (corpo / UI):
     fonts/GlacialIndifference-Regular.woff2
     fonts/GlacialIndifference-Regular.woff
     fonts/GlacialIndifference-Bold.woff2
     fonts/GlacialIndifference-Bold.woff
   ─────────────────────────────────────────── */

/* ── Sugo Pro Display ── */
@font-face {
  font-family: 'Sugo Display';
  src: url('fonts/Sugo-Pro-Display-Regular-trial.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sugo Display';
  src: url('fonts/Sugo-Pro-Display-Italic-trial.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Sugo Display';
  src: url('fonts/Sugo-Pro-Display-Light-trial.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sugo Display';
  src: url('fonts/Sugo-Pro-Display-Bold-trial.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sugo Display';
  src: url('fonts/Sugo-Pro-Display-Bold-Italic-trial.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ── Glacial Indifference ── */
@font-face {
  font-family: 'Glacial Indifference';
  src: url('fonts/GlacialIndifference-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('fonts/GlacialIndifference-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Paleta baseada no logo Panda Personalizados ── */
  --teal: #29ABE2;          /* azul ciano do logo "& BORDADOS"  */
  --teal-light: #72CBEE;    /* azul ciano claro                 */
  --teal-dim: #D8EEF8;      /* azul ciano bem suave (fundos)    */
  --coral: #f97316;         /* laranja — accent secundário      */
  --coral-light: #fed7aa;
  --off-white: #F4F9FD;     /* branco com leve toque azulado    */
  --white: #ffffff;
  --ink: #0B1422;           /* navy escuro (tom do contorno do logo) */
  --ink-muted: #3D5166;
  --ink-faint: #8AAABB;
  --border: #D6E8F2;
  --surface: #EAF3FA;       /* superfície levemente azulada     */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --shadow-md: 0 8px 32px rgba(15,23,42,.10);
  --shadow-lg: 0 24px 64px rgba(15,23,42,.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Fontes principais ── */
  --font-head:   'Sugo Display',        'Impact', 'Arial Black', sans-serif;
  --font-body:   'Glacial Indifference','Century Gothic', 'Futura', sans-serif;
  --font-accent: 'Sugo Display',        'Impact', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Sugo Display em todos os títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  z-index: 200;
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── PAGE LOADER ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  display: block;
  width: auto;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 1.75rem;
  /* Flutuar suave e lento, sem overshoot (o bounce de .9s parecia tremor) */
  animation: loaderBounce 1.8s ease-in-out infinite alternate;
}
@keyframes loaderBounce { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -8px, 0); } }
.loader-bar {
  width: 160px;
  height: 3px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 4px;
  animation: loaderFill .9s var(--ease) forwards;
}
@keyframes loaderFill { from { width: 0%; } to { width: 100%; } }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 4px 20px rgba(41,171,226,.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0;
  transition: opacity .2s;
  border-radius: inherit;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover {
  background: #1A8ABF;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(41,171,226,.4);
}
.btn-primary:active { transform: scale(.97); }
.btn-primary.btn-large { font-size: 1.05rem; padding: 1rem 2.25rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  border: 2px solid var(--border);
  background: transparent;
  transition: border-color .2s, background .2s, transform .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-ghost:hover { border-color: var(--teal); background: var(--teal-dim); transform: translateY(-2px); }

/* ── TAG / BADGE ── */
.tag {
  display: inline-block;
  background: var(--teal-dim);
  color: var(--teal);
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.tag-light { background: rgba(255,255,255,.15); color: #fff; }

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;           /* Sugo Display já é display/bold por natureza */
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: .75rem;
}
.section-header p { font-family: var(--font-body); color: var(--ink-muted); max-width: 52ch; margin: 0 auto; font-size: 1rem; }

.section { padding: 7rem 0; }
.section-alt { background: var(--surface); }

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
#navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
#navbar.hidden-nav { transform: translateY(-100%); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.nav-logo:hover { transform: scale(1.03); }

/* ── Logo no navbar ── */
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Sombra sutil para o logo aparecer tanto sobre fundo claro quanto escuro */
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.25));
  transition: filter .3s var(--ease);
}
#navbar.scrolled .nav-logo-img {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.12));
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0 auto;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after { width: 100%; }
/* Sobre a hero (navbar transparente) os links ficam brancos com sombra —
   texto escuro ficava invisível sobre o céu claro do vídeo */
#navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
#navbar:not(.scrolled) .nav-links a:hover,
#navbar:not(.scrolled) .nav-links a.active { color: #fff; }
#navbar:not(.scrolled) .nav-links a::after { background: #fff; }
#navbar:not(.scrolled) .hamburger span { background: #fff; }

.nav-cta {
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  padding: .6rem 1.4rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .2s, transform .25s var(--ease), box-shadow .2s;
  box-shadow: 0 2px 12px rgba(41,171,226,.25);
}
.nav-cta:hover { background: #1A8ABF; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(41,171,226,.35); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 2rem 1.75rem;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: slideDown .35s var(--ease);
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--ink); transition: color .2s, transform .2s; }
.mobile-menu a:hover { color: var(--teal); transform: translateX(4px); }
.mobile-cta { background: var(--teal); color: #fff !important; padding: .7rem 1.2rem; border-radius: 100px; text-align: center; font-weight: 600 !important; }
.mobile-menu.open { display: flex; }

/* ========================================
   HERO — VÍDEO FUNDO + TEXTO À ESQUERDA
   ======================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  /* Conteúdo ocupa metade esquerda; direita fica livre pro copo */
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

/* ── Vídeo background ── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Empurra levemente o enquadramento pro lado direito
     pra que o copo apareça mais na metade direita da tela */
  object-position: 65% center;
  z-index: 0;
  animation: videoBgReveal 1.4s var(--ease) both;
}
@keyframes videoBgReveal {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ── Overlay: escuro só no lado esquerdo (onde fica o texto),
      transparente no lado direito (onde fica o copo) ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(11, 20, 34, .94) 0%,
    rgba(11, 20, 34, .84) 38%,
    rgba(11, 20, 34, .28) 60%,
    rgba(11, 20, 34, .04) 100%
  );
  pointer-events: none;
}

/* ── Grain texture ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Conteúdo — coluna esquerda ── */
.hero-content {
  position: relative;
  z-index: 3;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 9rem max(5vw, 2.5rem) 6rem max(6vw, 2.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.88);
  padding: .4rem 1.1rem;
  margin-bottom: 1.75rem;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(114,203,238,.5); } 50%{ box-shadow: 0 0 0 7px rgba(114,203,238,0); } }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 400;           /* Sugo Display é display por natureza */
  line-height: 1.05;
  letter-spacing: .01em;      /* Sugo Display não precisa de tracking negativo */
  color: #fff;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.title-line { display: block; }
.hero-title em {
  font-family: var(--font-head);
  font-style: normal;
  color: var(--teal-light);
  text-shadow: 0 0 40px rgba(114,203,238,.45);
}
/* & em Glacial Indifference pois Sugo Display trial não renderiza corretamente */
.hero-title .amp {
  font-family: var(--font-body);
  font-weight: 700;
  color: #fff;
}

.hero-sub {
  font-family: var(--font-body);
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 2.25rem;
  line-height: 1.75;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 3rem;
}

/* Botão ghost claro para uso sobre vídeo/escuro */
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  border: 2px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.16);
  transform: translateY(-2px);
}

/* Stats ── linha glassmorphic alinhada à esquerda */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md);
  padding: 1.1rem 2rem;
  align-self: flex-start;
}
.stat-num {
  display: block;
  font-family: var(--font-body);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-top: .25rem;
}
.stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.18);
}

/* ── Cards flutuantes — lado direito (sobre o copo) ── */
.hero-card {
  position: absolute;
  z-index: 4;
  /* Fundo sólido (sem backdrop-filter): o desfoque de vidro combinado com a
     animação contínua de flutuar causava re-render a cada quadro = tremor.
     92% de opacidade mantém praticamente o mesmo visual, sem cintilar. */
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: var(--radius-md);
  padding: .75rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.20);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
}
/* Posicionados no lado direito, ao redor do copo */
.float-card-1 {
  top: 20%;
  right: 6%;
  animation: cardFloat 6s ease-in-out infinite;
}
.float-card-2 {
  bottom: 26%;
  right: 4%;
  animation: cardFloat 7.5s ease-in-out infinite 1.5s reverse;
}
.float-card-3 {
  top: 55%;
  right: 18%;
  animation: cardFloat 5.5s ease-in-out infinite 3s;
}
@keyframes cardFloat {
  0%,100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -11px, 0); }
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: max(6vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 4;
  animation: fadeInHint 1s var(--ease) 1.8s both;
}
@keyframes fadeInHint { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.scroll-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal-light);
  animation: scanline 2s ease-in-out infinite;
}
@keyframes scanline { 0%{ transform: translateX(-100%); } 100%{ transform: translateX(100%); } }

/* ========================================
   MARQUEE
   ======================================== */
.marquee-wrap {
  overflow: hidden;
  background: var(--teal);
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  cursor: default;
}
.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 90s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  transition: color .2s;
}
.marquee-track span:not(.sep):hover { color: #fff; }
.marquee-track .sep { color: rgba(255,255,255,.4); }
@keyframes marquee { 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  perspective: 1200px;
}
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card:hover { box-shadow: var(--shadow-lg); }
.product-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-img-wrap img { transition: transform .6s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(41,171,226,.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.product-card:hover .product-overlay { opacity: 1; }
.overlay-btn {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  border: 2px solid rgba(255,255,255,.6);
  padding: .5rem 1.25rem;
  border-radius: 100px;
  transition: background .2s, border-color .2s, transform .2s var(--ease-bounce);
  transform: translateY(6px);
}
.product-card:hover .overlay-btn { transform: translateY(0); }
.overlay-btn:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.product-info { padding: 1.25rem 1.5rem 1.5rem; }
.product-info h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 400; margin-bottom: .4rem; }
.product-info p { font-family: var(--font-body); font-size: .875rem; color: var(--ink-muted); line-height: 1.6; }

/* ========================================
   CLIENTES — LOGOS EM MOLDURA REDONDA
   ======================================== */
.section-clients { background: var(--surface); }

.clients-grid {
  /* Flexbox em vez de grid: centraliza TODAS as fileiras, inclusive a
     última incompleta (com grid ela ficava alinhada à esquerda). */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 1.5rem;
  /* 1216px = largura interna do container: cabem 8 por fileira (8+8+6),
     evitando um logo órfão sozinho na última linha */
  max-width: 1216px;
  margin: 0 auto;
}

/* A moldura: círculo com anel, sombra e fundo branco.
   As imagens são quadradas (1080x1080) com a marca centralizada,
   então o recorte circular remove apenas os cantos vazios. */
.client-logo {
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), 0 0 0 6px rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.client-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.client-logo:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md), 0 0 0 6px rgba(41,171,226,.16);
}

@media (max-width: 768px) {
  .clients-grid { gap: 1.5rem 1rem; }
  .client-logo { width: 100px; height: 100px; box-shadow: var(--shadow-sm), 0 0 0 4px rgba(255,255,255,.9); }
}
@media (max-width: 480px) {
  .client-logo { width: 88px; height: 88px; }
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.section-testimonials { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -.5rem; right: 1.5rem;
  font-size: 8rem;
  font-family: var(--font-accent);
  color: var(--teal-dim);
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .05em; }
.testimonial-card > p { font-family: var(--font-body); font-size: .93rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: .78rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-author strong { display: block; font-family: var(--font-head); font-size: .95rem; font-weight: 400; }
.testimonial-author span { font-family: var(--font-body); font-size: .78rem; color: var(--ink-faint); }

/* ========================================
   CTA / CONTACT SECTION
   ======================================== */
.section-cta {
  background: linear-gradient(135deg, #0B1422 0%, #1A8ABF 40%, #29ABE2 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-blob-1 {
  position: absolute; width: 600px; height: 600px;
  background: rgba(255,255,255,.05); border-radius: 50%;
  top: -250px; right: -150px;
  animation: blobFloat 12s ease-in-out infinite;
  pointer-events: none;
}
.cta-blob-2 {
  position: absolute; width: 350px; height: 350px;
  background: rgba(255,255,255,.04); border-radius: 50%;
  bottom: -150px; left: 5%;
  animation: blobFloat 9s ease-in-out infinite reverse 2s;
  pointer-events: none;
}
/* Deriva suave dos blobs (era referenciado mas nunca tinha sido definido) */
@keyframes blobFloat {
  0%,100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(20px, -24px, 0); }
}
.section-cta .section-header h2 { color: #fff; }
.section-cta .section-header p { color: rgba(255,255,255,.7); }
.cta-inner { position: relative; z-index: 1; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: #fff;
  transition: background .3s, transform .35s var(--ease), box-shadow .3s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
}
.contact-card:hover { background: rgba(255,255,255,.12); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.15); }
.contact-icon { width: 52px; height: 52px; background: rgba(255,255,255,.12); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: transform .3s var(--ease-bounce), background .2s; }
.contact-card:hover .contact-icon { transform: scale(1.1) rotate(-5deg); background: rgba(255,255,255,.18); }
.contact-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 400; margin-bottom: .4rem; }
.contact-card p { font-family: var(--font-body); font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 1rem; }
.contact-link { font-family: var(--font-body); font-size: .875rem; font-weight: 700; color: var(--teal-light); transition: color .2s, letter-spacing .2s; }
.contact-link:hover { color: #fff; letter-spacing: .02em; }

.cta-final { text-align: center; }
.cta-final .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 8px 32px rgba(0,0,0,.25); }
.cta-final .btn-primary:hover { background: var(--teal-dim); color: var(--ink); box-shadow: 0 14px 44px rgba(0,0,0,.3); }

/* ========================================
   FLOATING CTA BUTTON
   ======================================== */
.fab {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  padding: .75rem 1.4rem .75rem 1rem;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(41,171,226,.45);
  transition: transform .3s var(--ease-bounce), box-shadow .3s, background .2s;
  animation: fabEntrance .6s var(--ease-bounce) 2s both;
}
@keyframes fabEntrance { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: translateY(0) scale(1); } }
.fab:hover { background: #1A8ABF; transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 40px rgba(41,171,226,.55); }
.fab:active { transform: scale(.97); }
.fab svg { flex-shrink: 0; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 2rem;
}
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; margin-bottom: 2.5rem; }
/* ── Logo no footer ── */
.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: .75rem;
  /* Drop-shadow para destacar no fundo escuro sem distorcer as cores */
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.4));
}
.footer-brand p { font-family: var(--font-body); font-size: .83rem; line-height: 1.65; max-width: 36ch; margin-top: .25rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; align-items: flex-end; }
.footer-links a { font-family: var(--font-body); font-size: .85rem; font-weight: 700; transition: color .2s, transform .2s; }
.footer-links a:hover { color: var(--teal-light); transform: translateX(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .76rem;
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-light); }

/* ── SELECTION ── */
::selection { background: var(--teal-dim); color: var(--ink); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  /* Tablet: conteúdo ocupa 60% da largura */
  .hero { grid-template-columns: 3fr 2fr; }
  .hero-content { padding: 8rem 2rem 5rem max(4vw, 2rem); }
  .float-card-1 { right: 2%; top: 18%; }
  .float-card-2 { right: 1%; bottom: 22%; }
  .float-card-3 { right: 8%; top: 56%; }
}

@media (max-width: 768px) {
  /* Mobile: coluna única, conteúdo centralizado */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-overlay {
    /* No mobile, overlay uniforme mais escuro pra legibilidade */
    background: rgba(8, 16, 28, .72);
  }
  .hero-content {
    grid-column: 1;
    align-items: center;
    text-align: center;
    padding: 8rem 1.75rem 5rem;
  }
  .hero-title { align-items: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { align-self: auto; padding: 1rem 1.5rem; gap: 1.1rem; }
  .hero-scroll-hint { left: 50%; transform: translateX(-50%); }

  /* Cards: apenas um visível no mobile */
  .float-card-1, .float-card-3 { display: none; }
  .float-card-2 {
    right: 1.25rem;
    bottom: 20%;
    font-size: .8rem;
    padding: .6rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: .65rem;
    padding: 1rem 1.5rem;
    width: 100%;
  }
  .stat-divider { width: 60%; height: 1px; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .fab span { display: none; }
  .fab { padding: 1rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .products-grid { grid-template-columns: 1fr; }
  .hero { padding: 7rem 1.25rem 4rem; }
  .section-header { margin-bottom: 2.5rem; }
}

/* ── REDUCE MOTION ── */
@media (prefers-reduced-motion: reduce) {
  /* IMPORTANTE: além de encurtar a duração, limitar a 1 iteração.
     Só encurtar a duração faz animações `infinite` repetirem milhares de
     vezes por segundo = ícones tremendo e marquee "passando rápido demais". */
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* Marquee é decorativo: mantém rolando, porém bem devagar */
  .marquee-track {
    animation-duration: 90s !important;
    animation-iteration-count: infinite !important;
  }
}
