/* ════════════════════════════════════════════════════════════
   MEGA CARTUCHOS & PAPELARIA — style.css
   Mobile-First | Versão 1.0
════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════
   1. RESET / BASE
══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* base para cálculo de rem */
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

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

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


/* ══════════════════════════════════════════════════════════
   2. VARIÁVEIS CSS (:root)
══════════════════════════════════════════════════════════ */
:root {
  /* ── Paleta principal — extraída da logo CMYK ── */
  --color-cyan:      #00AEEF;   /* Azul ciano — cor primária */
  --color-magenta:   #EC008C;   /* Magenta — cor secundária / hover */
  --color-yellow:    #FFF200;   /* Amarelo — acento / destaque */
  --color-green:     #8DC63F;   /* Verde suave — acento complementar */
  --color-lavender:  #8781BD;   /* Lavanda — acento complementar */
  --color-black:     #1A1A1A;   /* Preto suave — texto principal */
  --color-white:     #FFFFFF;   /* Branco — fundo principal */
  --color-gray-bg:   #F5F5F5;   /* Cinza clarinho — fundo alternado */
  --color-gray-text: #555555;   /* Cinza médio — texto secundário */
  --color-whatsapp:  #25D366;   /* Verde WhatsApp */

  /* ── Tipografia ── */
  --font-title: 'Poppins', sans-serif;
  --font-body:  'Inter', sans-serif;

  /* ── Espaçamento de seção (mobile) ── */
  --section-padding: 60px 0;

  /* ── Sombras ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);

  /* ── Border radius ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 50px;

  /* ── Transição global ── */
  --transition: all 0.3s ease;
}


/* ══════════════════════════════════════════════════════════
   3. TIPOGRAFIA GLOBAL
══════════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--color-black);
  line-height: 1.2;
}

/* Escala mobile */
h1 { font-size: 2rem;   font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem;   font-weight: 700; }

p {
  color: var(--color-gray-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

small,
.caption {
  font-size: 0.875rem;
}


/* ══════════════════════════════════════════════════════════
   4. COMPONENTES REUTILIZÁVEIS
══════════════════════════════════════════════════════════ */

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Eyebrow (tag pequena acima dos títulos de seção) ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

/* ── Seção base ── */
.section {
  padding: var(--section-padding);
}

.section--blue {
  background-color: var(--color-cyan);
}

/* Textos brancos dentro das seções azuis */
.section--blue h2,
.section--blue .eyebrow,
.section--blue .section__subtitle {
  color: var(--color-white);
}

/* Borda do card ciano vira amarela para contrastar com fundo azul */
.section--blue .card--cyan {
  border-top-color: var(--color-yellow);
}

/* Título da coluna de info em fundo azul */
.section--blue .localizacao__info h3 {
  color: var(--color-white);
}

/* ── Cabeçalho centralizado de seção ── */
.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__header h2 {
  margin-top: 4px;
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-gray-text);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: 14px 32px;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  border: 2px solid transparent;
}

/* Botão primário — ciano */
.btn--primary {
  background-color: var(--color-cyan);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-magenta);
  border-color: var(--color-magenta);
  outline: none;
}

/* Botão outline — borda ciana */
.btn--outline {
  background-color: transparent;
  color: var(--color-cyan);
  border-color: var(--color-cyan);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-cyan);
  color: var(--color-white);
  outline: none;
}

/* Botão WhatsApp — verde */
.btn--whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
}

.btn--whatsapp:hover {
  background-color: #1da851;
  border-color: #1da851;
}

/* Tamanhos */
.btn--large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* Largura total */
.btn--block {
  width: 100%;
}


/* ══════════════════════════════════════════════════════════
   5. NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

/* Estado com scroll sobre seção branca */
.navbar.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Estado sobre seção azul */
.navbar.navbar--blue {
  background: var(--color-cyan);
  box-shadow: 0 2px 10px rgba(0, 100, 160, 0.25);
}

/* Inner da navbar */
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo */
.navbar__logo img {
  height: 68px;
  width: auto;
}

/* Navegação desktop — oculta no mobile */
.navbar__nav {
  display: none;
}

.navbar__list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navbar__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-black);
  transition: color 0.2s ease;
  position: relative;
}

/* Sublinhado animado */
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-yellow);
  transition: width 0.2s ease;
}

.navbar__link:hover {
  color: var(--color-yellow);
}

.navbar__link:hover::after {
  width: 100%;
}

/* Links escuros quando a navbar tem fundo branco */
.navbar.scrolled .navbar__link {
  color: var(--color-black);
}

.navbar.scrolled .navbar__link::after {
  background-color: var(--color-cyan);
}

.navbar.scrolled .navbar__link:hover {
  color: var(--color-cyan);
}

/* Links brancos quando a navbar tem fundo azul */
.navbar--blue .navbar__link {
  color: var(--color-white);
}

.navbar--blue .navbar__link::after {
  background-color: var(--color-yellow);
}

.navbar--blue .navbar__link:hover {
  color: var(--color-yellow);
}

/* ── Hamburguer ── */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  z-index: 1010;
}

.hamburger__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
  border-radius: 2px;
  transition: var(--transition);
}

/* Barras escuras quando navbar tem fundo branco */
.navbar.scrolled .hamburger__bar {
  background-color: var(--color-black);
}

/* Barras brancas quando navbar tem fundo azul */
.navbar--blue .hamburger__bar {
  background-color: var(--color-white);
}

/* Animação X quando menu está aberto */
.navbar__hamburger.active .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active .hamburger__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.active .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Menu mobile ── */
.navbar__mobile {
  display: none; /* aberto/fechado via JS com .open */
  background-color: var(--color-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-top: 1px solid #F0F0F0;
}

.navbar__mobile.open {
  display: block;
}

.navbar__mobile-list {
  display: flex;
  flex-direction: column;
}

.navbar__mobile-link {
  display: block;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-black);
  border-bottom: 1px solid #F0F0F0;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar__mobile-link:last-child {
  border-bottom: none;
}

.navbar__mobile-link:hover {
  color: var(--color-cyan);
  background-color: #FAFAFA;
}


/* ══════════════════════════════════════════════════════════
   6. SEÇÕES
══════════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../assets/images/interna.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Overlay branco semitransparente para legibilidade sem cor */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
}

/* Conteúdo centralizado */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 134px 20px 60px; /* top: compensa a navbar fixa */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Tag de localização */
.hero__tag {
  display: inline-block;
  background: rgba(38, 96, 195, 0.183);
  color: var(--color-black);
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

/* H1 */
.hero__title {
  color: var(--color-black);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.6);
}

/* Subtítulo */
.hero__subtitle {
  color: var(--color-black);
  font-size: 1.50rem;
  line-height: 1.9;
  margin-bottom: 0;
  max-width: 520px;
}


/* ── SOBRE ── */
.sobre {
  background-color: var(--color-white);
}

.sobre__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Texto da seção Sobre */
.sobre__text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sobre__text h2 {
  margin-bottom: 0;
}

.sobre__text p {
  margin-bottom: 0;
}

.sobre__text .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* Imagem da seção Sobre */
.sobre__image img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 420px;
}


/* ── CATEGORIAS — TABS ── */
.categorias {
  background-color: var(--color-gray-bg);
}

.tabs-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid #DDDDDD;
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.tab-btn.tab-active {
  background: var(--color-cyan);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

.tab-panel {
  display: none;
  animation: fadeInTab 0.3s ease;
}

.tab-panel.tab-panel-active {
  display: block;
}

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

.tab-subtitle {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--color-cyan);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card-produto {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-produto:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-servico {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--color-cyan);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-servico:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icone {
  font-size: 2.2rem;
  line-height: 1;
}

.card-produto h3,
.card-servico h3 {
  font-size: 1.1rem;
  color: var(--color-black);
  margin: 0;
}

.card-produto p,
.card-servico p {
  font-size: 0.95rem;
  color: var(--color-gray-text);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.card-btn {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--color-cyan);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease;
}

.card-btn:hover {
  background: var(--color-magenta);
}

.card-unico {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.card-unico .card-icone {
  font-size: 3.5rem;
}

.card-unico .card-btn {
  padding: 14px 32px;
  font-size: 1rem;
}




/* ── DEPOIMENTOS ── */
.depoimentos {
  background-color: var(--color-white);
}


/* ── LOCALIZAÇÃO ── */
.localizacao__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.localizacao__map iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  min-height: 300px;
}

/* Informações de contato */
.localizacao__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.localizacao__info h3 {
  font-size: 1.4rem;
  color: var(--color-cyan);
}

/* Item de info (ícone + texto) — card branco */
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
}

.info-item__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item strong {
  display: block;
  color: var(--color-black);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.info-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-item a {
  color: var(--color-cyan);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.info-item a:hover {
  color: var(--color-magenta);
}

.info-fechado {
  color: var(--color-magenta);
  font-weight: 500;
}


/* ══════════════════════════════════════════════════════════
   7. CARDS (componente reutilizável)
══════════════════════════════════════════════════════════ */

/* Card base */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Ícone do card */
.card__icon {
  font-size: 2rem;
  line-height: 1;
}

.card__icon--lg {
  font-size: 2.5rem;
  text-align: center;
}

/* Título */
.card__title {
  font-size: 1.15rem;
  color: var(--color-black);
  margin: 0;
}

/* Texto */
.card__text {
  font-size: 0.93rem;
  color: var(--color-gray-text);
  line-height: 1.65;
  margin: 0;
  flex-grow: 1; /* empurra o botão para o rodapé do card */
}

/* ── Card de Diferencial ── */
.card--diferencial {
  text-align: center;
  align-items: center;
  border-top: 4px solid transparent;
}

.card--diferencial:hover {
  border-top-color: var(--color-cyan);
}

.card--diferencial .card__title {
  color: var(--color-cyan);
}


/* ══════════════════════════════════════════════════════════
   8. CARROSSEL DE DEPOIMENTOS
══════════════════════════════════════════════════════════ */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 16px;
}

/* Faixa deslizante */
.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Cada slide ocupa 100% da largura do carrossel */
.carousel__slide {
  min-width: 100%;
  padding: 0 52px; /* espaço para as setas laterais */
}

/* Card de depoimento */
.depoimento {
  background-color: var(--color-gray-bg);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Estrelas */
.depoimento__stars {
  font-size: 1.2rem;
  letter-spacing: 3px;
}

/* Texto da avaliação */
.depoimento__text {
  font-size: 0.97rem;
  color: var(--color-gray-text);
  font-style: italic;
  line-height: 1.75;
  max-width: 540px;
  margin: 0;
  quotes: "\201C""\201D";
}

/* Footer do depoimento */
.depoimento__footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 6px;
}

.depoimento__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-black);
}

.depoimento__meta {
  font-size: 0.8rem;
  color: var(--color-gray-text);
}

/* ── Setas de navegação ── */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%); /* ajuste visual (não inclui dots) */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-cyan);
  border: 2px solid var(--color-cyan);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  line-height: 1;
}

.carousel__btn:hover {
  background-color: var(--color-cyan);
  color: var(--color-white);
}

.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* ── Dots ── */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #CCCCCC;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.carousel__dot--active,
.carousel__dot:hover {
  background-color: var(--color-cyan);
  transform: scale(1.25);
}


/* ══════════════════════════════════════════════════════════
   9. FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* Colunas internas */
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Logo no footer — fundo branco para garantir visibilidade */
.footer__logo {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* Descrição */
.footer__desc {
  font-size: 0.88rem;
  color: #AAAAAA;
  line-height: 1.65;
  margin: 0;
}

/* Link redes sociais */
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #AAAAAA;
  transition: color 0.2s ease;
}

.footer__social:hover {
  color: var(--color-cyan);
}

/* Títulos das colunas */
.footer__title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-cyan);
  align-self: flex-start;
}

/* Lista de links */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.88rem;
  color: #AAAAAA;
  transition: color 0.2s ease;
  display: inline-block;
  cursor: pointer;
}

/* Botão dentro do footer com estilo de link */
.footer__link--btn {
  background: none;
  border: none;
  text-align: left;
  padding: 0;
}

.footer__link:hover,
.footer__link--btn:hover {
  color: var(--color-cyan);
}

/* Bloco de contato */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact p {
  font-size: 0.88rem;
  color: #AAAAAA;
  line-height: 1.6;
  margin: 0;
}

/* Barra inferior */
.footer__bottom {
  border-top: 1px solid #333333;
  padding: 18px 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer__copy {
  font-size: 0.82rem;
  color: #888888;
  margin: 0;
}

.footer__privacy-link {
  font-size: 0.82rem;
}


/* ══════════════════════════════════════════════════════════
   10. COMPONENTES EXTRAS
══════════════════════════════════════════════════════════ */

/* ── Botão flutuante WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  animation: pulse-whatsapp 2.8s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

/* Oculto no hero */
.whatsapp-float.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: scale(0.8);
}

/* Tooltip */
.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Seta do tooltip */
.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--color-black);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
}

/* Animação de pulse */
@keyframes pulse-whatsapp {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

/* Cabeçalho do modal */
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #EBEBEB;
  flex-shrink: 0;
}

.modal__title {
  font-size: 1.15rem;
  color: var(--color-black);
}

.modal__close {
  font-size: 1.6rem;
  color: var(--color-gray-text);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.modal__close:hover {
  background-color: var(--color-gray-bg);
  color: var(--color-black);
}

/* Corpo com scroll */
.modal__body {
  overflow-y: auto;
  padding: 24px;
  flex-grow: 1;
  scrollbar-width: thin;
}

.modal__body h4 {
  font-size: 0.95rem;
  color: var(--color-cyan);
  margin-top: 20px;
  margin-bottom: 8px;
}

.modal__body h4:first-of-type {
  margin-top: 12px;
}

.modal__body ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-gray-text);
  line-height: 1.7;
}

.modal__body ul li {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.modal__body p {
  font-size: 0.92rem;
}

.modal__body a {
  color: var(--color-cyan);
  text-decoration: underline;
}

/* Rodapé do modal */
.modal__footer {
  padding: 16px 24px;
  border-top: 1px solid #EBEBEB;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════
   11. ANIMAÇÕES DE ENTRADA (Intersection Observer)
══════════════════════════════════════════════════════════ */

/* Estado inicial — elemento oculto */
.animate-hidden {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Estado visível — aplicado pelo JS */
.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay escalonado para filhos de grids */

/* Respeitar preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  .animate-hidden,
  .animate-visible {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .carousel__track {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ══════════════════════════════════════════════════════════
   12. MEDIA QUERIES — TABLET (768px+)
══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Padding das seções */
  :root {
    --section-padding: 80px 0;
  }

  /* Categorias — 2 colunas no tablet */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Navbar — exibe links desktop, oculta hamburguer */
  .navbar__nav {
    display: flex;
  }

  .navbar__hamburger {
    display: none;
  }

  /* Hero — altura total */
  .hero {
    min-height: 100vh;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  /* Sobre — 2 colunas */
  .sobre__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .sobre__text,
  .sobre__image {
    flex: 1;
  }

  /* Categorias — grid 3 colunas desktop */
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Localização — 2 colunas */
  .localizacao__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .localizacao__map {
    flex: 1.2;
  }

  .localizacao__info {
    flex: 1;
  }

  /* Footer — 3 colunas */
  .footer__inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer__col {
    flex: 1;
  }

  /* Footer bottom — inline */
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* Botão flutuante — posição desktop */
  .whatsapp-float {
    bottom: 24px;
    right: 24px;
  }
}


/* ══════════════════════════════════════════════════════════
   13. MEDIA QUERIES — DESKTOP (1024px+)
══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {

  /* Padding das seções */
  :root {
    --section-padding: 100px 0;
  }

  /* Tipografia desktop */
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }

  /* Hero */
  .hero__title {
    font-size: 3rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  /* Cards de produto — título maior */
  .card__body .card__title {
    font-size: 1rem;
  }
}


/* ══════════════════════════════════════════════════════════
   GALERIA DE FOTOS — DENTRO DAS ABAS
══════════════════════════════════════════════════════════ */

/* Grid de fotos em proporção natural */
.galeria-fotos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

/* Cada item é um botão clicável */
.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-gray-bg);
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover,
.galeria-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  outline: none;
}

/* Imagem mantém proporção original */
.galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  border-radius: var(--radius-md);
}

.galeria-item:hover img {
  transform: scale(1.04);
}

/* Overlay ciano ao hover com ícone de expandir */
.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    rgba(0, 174, 239, 0.22)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cpolyline points='9 21 3 21 3 15'%3E%3C/polyline%3E%3Cline x1='21' y1='3' x2='14' y2='10'%3E%3C/line%3E%3Cline x1='3' y1='21' x2='10' y2='14'%3E%3C/line%3E%3C/svg%3E")
    center / 32px no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeria-item:hover::after,
.galeria-item:focus-visible::after {
  opacity: 1;
}

/* 3 colunas a partir de 768px */
@media (min-width: 768px) {
  .galeria-fotos {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ══════════════════════════════════════════════════════════
   LIGHTBOX — EXPANDIR FOTO DA GALERIA
══════════════════════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.lightbox-aberto {
  opacity: 1;
  visibility: visible;
}

/* Fundo escuro clicável */
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  cursor: pointer;
}

/* Botão fechar (X) fixo no canto superior direito */
.lightbox__fechar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 1;
}

.lightbox__fechar:hover {
  background: rgba(255, 255, 255, 0.30);
}

/* Área central: seta + imagem + seta */
.lightbox__content {
  position: absolute;
  inset: 60px 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
}

/* Wrapper da imagem */
.lightbox__imagem-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 100%;
}

/* Imagem expandida — mantém proporção, encaixa no viewport */
.lightbox__imagem {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}

.lightbox__imagem.trocando {
  opacity: 0;
}

/* Setas de navegação */
.lightbox__seta {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.lightbox__seta:hover {
  background: var(--color-cyan);
  transform: scale(1.08);
}

/* Contador "1 / 3" na base */
.lightbox__contador {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.70);
  font-size: 0.88rem;
  font-family: var(--font-body);
  margin: 0;
  z-index: 2;
}

/* Mobile: setas e espaçamentos menores */
@media (max-width: 480px) {
  .lightbox__seta {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .lightbox__content {
    gap: 8px;
    padding: 0 8px;
  }
}
