/* ==========================================================================
   Leitte Marcas e Patentes - Identidade Visual Autêntica (Terracota & Café)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Cores Oficiais da Marca Leitte */
  --color-terracotta-primary: #c3512f;
  --color-terracotta-secondary: #883d1f;
  --color-terracotta-light: #e09b78;
  --color-terracotta-bg: #fdf8f6;

  --color-sand-light: #f8f6f2;
  --color-sand-border: #ebe8e2;
  --color-sand-champagne: #d3af94;
  --color-sand-text: #7c6853;
  --color-sand-heading: #382410;

  --color-espresso-deep: #1c1915;
  --color-espresso-socket: #2b2822;
  --color-espresso-footer: #342f29;
  --color-espresso-alt: #39342d;
  --color-espresso-border: #575149;
}

html {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

::selection {
  background-color: #c3512f;
  color: #ffffff;
}

::-moz-selection {
  background-color: #c3512f;
  color: #ffffff;
}

/* Glassmorphism Classes em Tons Quentes de Café e Terracota */
.glass-nav {
  background: rgba(43, 40, 34, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(195, 81, 47, 0.25);
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(235, 232, 226, 0.85);
}

.glass-card-dark {
  background: rgba(43, 40, 34, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(195, 81, 47, 0.28);
}

/* Gradientes da Marca (Terracota Cobre & Areia Champagne) */
.brand-gradient-text {
  background: linear-gradient(135deg, #eec0a9 0%, #c3512f 50%, #883d1f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-gradient-bg {
  background: linear-gradient(135deg, #c3512f 0%, #d45e3a 50%, #883d1f 100%);
}

.brand-border-glow {
  box-shadow: 0 0 25px rgba(195, 81, 47, 0.22);
}

/* Hero Word Rotator Animations */
.rotator-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  min-height: 1.25em;
}

.rotator-item {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}

.rotator-item.active {
  opacity: 1;
  transform: translateY(0%);
  position: relative;
}

.rotator-item.exiting {
  opacity: 0;
  transform: translateY(-100%);
  position: absolute;
}

/* Botão Flutuante de WhatsApp */
@keyframes attentionPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulse-whatsapp {
  animation: attentionPulse 2.5s infinite;
}

/* Botão Terracota Hover Glow */
.terracotta-btn-glow {
  transition: all 0.3s ease;
}
.terracotta-btn-glow:hover {
  box-shadow: 0 8px 24px -4px rgba(195, 81, 47, 0.45);
  transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #1c1915;
}
::-webkit-scrollbar-thumb {
  background: #575149;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c3512f;
}

/* Smooth Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Client logos hover effect */
.client-logo-card {
  transition: all 0.35s ease;
  filter: grayscale(100%);
  opacity: 0.8;
}

.client-logo-card:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px);
}
