/* ═══════════════════════════════════════════════════════════════
   REPOXI PISOS INDUSTRIAIS — Landing Page
   ═══════════════════════════════════════════════════════════════ */

:root {
  --primary:      #1B1F6E;
  --primary-soft: #22276B;
  --accent:       #2BB5E8;
  --accent-dark:  #006FB4;
  --accent-light: rgba(43, 181, 232, 0.12);
  --teal:         #3EC9A3;
  --light:        #F8FAFC;
  --white:        #FFFFFF;
  --text:         #1A1A2E;
  --text-muted:   #6B7280;
  --border:       rgba(0,0,0,0.08);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.25s ease;
  --header-h:     72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

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

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
  font-size: 1.05rem;
}
.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn-lg  { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }
.btn-xl  { padding: 18px 40px; font-size: 1.1rem; border-radius: 12px; }

/* ── Header ─────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 30px;       /* mobile-first */
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}

@media (min-width: 480px) {
  .logo-img { height: 34px; max-width: 160px; }
}

@media (min-width: 768px) {
  .logo-img { height: 38px; max-width: 180px; }
}
.logo-img-footer {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(135deg, rgba(25,43,94,0.96) 0%, rgba(30,53,117,0.90) 50%, rgba(25,43,94,0.98) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(20,181,203,0.04) 20px,
      rgba(20,181,203,0.04) 40px
    ),
    linear-gradient(180deg, #1E3575 0%, #192B5E 100%);
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(20,181,203,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-overlay { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 780px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,107,53,0.3);
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.text-accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-scroll span {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(14px); opacity: 0; }
}

/* ── Números ─────────────────────────────────────────────────────── */
.numeros {
  background: var(--primary-soft);
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.numeros-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.numero-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}
.numero-valor {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}
.numero-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 4px;
  text-align: center;
}
.numero-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Sections ────────────────────────────────────────────────────── */
.section {
  padding: 96px 0;
}
.section-light {
  background: var(--light);
}
.section-dark {
  background: var(--primary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header-light { color: var(--white); }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag-light {
  background: rgba(255,107,53,0.2);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.text-white { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.text-muted-light { color: rgba(255,255,255,0.55); }

/* ── Cards Serviços ──────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 52px; height: 52px;
  color: var(--accent);
  margin-bottom: 20px;
}
.card-icon svg { width: 100%; height: 100%; }

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Comparativo ─────────────────────────────────────────────────── */
.comparativo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.comp-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
}
.comp-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.comp-epoxi {
  border-color: var(--accent);
}

.comp-header {
  padding: 28px 28px 24px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.comp-epoxi .comp-header {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
}

.comp-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.4);
}

.comp-header h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.comp-preco {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}
.comp-preco span {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
}

.comp-list {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.comp-list li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.comp-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  background: #e8f5e9;
  color: #2e7d32;
}
.comp-list li.no::before {
  content: '✕';
  background: #fce4ec;
  color: #c62828;
}

.comp-card .btn {
  margin: 0 28px 28px;
  width: calc(100% - 56px);
  justify-content: center;
}

.comp-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.comp-cta p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* ── Ambientes ───────────────────────────────────────────────────── */
.ambientes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ambiente-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  cursor: default;
}
.ambiente-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ambiente-item:hover .ambiente-icon {
  color: var(--accent-dark);
}

.ambiente-icon {
  width: 44px; height: 44px;
  color: var(--accent);
  transition: color var(--transition);
}
.ambiente-icon svg { width: 100%; height: 100%; }

.ambiente-item span:last-child {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* ── Onde Atuamos ────────────────────────────────────────────────── */
.estados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.estado-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.estado-item:hover {
  background: rgba(255,107,53,0.12);
  border-color: rgba(255,107,53,0.3);
  transform: translateY(-3px);
}

.estado-uf {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.estado-nome {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  font-weight: 500;
}
.estado-py .estado-uf { color: #65d36e; }

.atuamos-nota {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-style: italic;
}

/* ── CTA Final ───────────────────────────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 70%),
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,0.03) 30px, rgba(255,255,255,0.03) 60px);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.cta-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.cta-contact-item:hover { color: var(--white); }

.cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.cta-endereco {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: #111113;
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo-footer { font-size: 1.8rem; margin-bottom: 14px; display: block; }

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contato h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-contato p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-contato a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-contato a:hover { color: var(--accent); }
.footer-contato svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-endereco { align-items: flex-start !important; }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── WhatsApp Float ──────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(-105%) translateY(-50%) scale(1); }

.whatsapp-tooltip {
  position: absolute;
  top: 50%;
  right: 70px;
  transform: translateX(-105%) translateY(-50%) scale(0.9);
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--primary);
}

/* ── Fade-in Animation ───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(20,20,22,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 12px 16px; font-size: 1rem; }

  .header-inner > .btn-accent { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 60px 0; }

  .numeros-grid { gap: 0; }
  .numero-item { padding: 20px 24px; }
  .numero-divider { width: 1px; height: 40px; }

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

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

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

  .estados-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-info { align-items: center; }
  .cta-action { width: 100%; }
  .btn-xl { width: 100%; justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .numeros-grid { grid-template-columns: 1fr 1fr; }
  .numero-divider { display: none; }
  .ambientes-grid { grid-template-columns: repeat(2, 1fr); }
  .estados-grid { grid-template-columns: repeat(2, 1fr); }
}
