/* ===== VARIABLES ===== */
/* Cores principais: Azul (primária) e Verde (secundária) */
:root {
  --primary-color: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #3385d6;
  --secondary-color: #22c55e;
  --secondary-dark: #16a34a;
  --secondary-light: #4ade80;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #ffffff;
  --bg-light: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --cursor-size: 6px;
  --ring-size: 28px;
  --ring-scale: 1;
  --ring-opacity: 0.25;
  --parallax-x: 0px;
  --parallax-y: 0px;
  --container-pad: 20px;
}

/* ===== INTRO SCREEN ===== */
/* Tela inicial com efeito de vidro e logo oficial da Indpet Brasil */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
  overflow: hidden;
}

.intro-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro-gradient {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 204, 0.05) 0%,
    transparent 70%
  );
  animation: rotateGradient 20s linear infinite;
}

.intro-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(0, 102, 204, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(34, 197, 94, 0.03) 0%,
      transparent 50%
    );
  opacity: 0.6;
}

@keyframes rotateGradient {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.intro-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.logo-container {
  position: relative;
  display: inline-block;
  padding: 40px 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  animation: containerFadeIn 0.8s ease-out;
  border: none !important;
  outline: none !important;
}

@keyframes containerFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Arco em SVG que envolve a logo na intro */
.logo-arc-svg {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 60px;
  animation: arcDraw 1.2s ease-out;
}

@keyframes arcDraw {
  from {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    opacity: 0;
  }
  to {
    stroke-dasharray: 500;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* Imagem da logo na intro - sem bordas, sombras ou bordas arredondadas */
.logo-image {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin: 16px auto 0;
  object-fit: contain;
  filter: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Subtítulo abaixo da logo na intro */
.intro-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-top: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: subtitleFadeIn 1s ease-out 0.8s both;
}

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

.intro-loader {
  margin-top: 3rem;
  width: 200px;
  height: 3px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, #0066cc, #3385d6, #0066cc);
  border-radius: 3px;
  animation: loaderProgress 2.5s ease-out;
  box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

@keyframes loaderProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Fim da seção de intro */

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background: radial-gradient(1400px 800px at 10% 0%, #f0f7ff 0%, transparent 60%),
    radial-gradient(1200px 700px at 90% 100%, #eefcf4 0%, transparent 60%),
    linear-gradient(135deg, #f0f4f8 0%, #ffffff 50%, #f8fafc 100%);
  background-attachment: fixed;
  position: relative;
}

/* Padrão de fundo moderno com formas geométricas sutis */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      800px 800px at calc(10% + var(--parallax-x)) calc(20% + var(--parallax-y)),
      rgba(0, 102, 204, 0.06) 0%,
      transparent 60%
    ),
    radial-gradient(
      900px 900px at calc(85% + var(--parallax-x)) calc(80% + var(--parallax-y)),
      rgba(34, 197, 94, 0.06) 0%,
      transparent 60%
    ),
    conic-gradient(from 180deg at 50% 50%, rgba(255, 255, 255, 0) 0 25%, rgba(0, 102, 204, 0.04) 25% 50%, rgba(255, 255, 255, 0) 50% 75%, rgba(34, 197, 94, 0.04) 75% 100%);
  pointer-events: none;
  z-index: -1;
  filter: blur(0.2px);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  outline: none;
}

/* Remover qualquer borda padrão de imagens, especialmente a logo */
img.logo-image {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

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

.section {
  padding: clamp(56px, 6vw, 90px) 0;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 70px);
}

.section__title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section__divider {
  width: 100px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

/* ===== HEADER ===== */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav__logo {
  transition: var(--transition);
  text-decoration: none;
}

/* Container da logo no header */
.nav__logo-container {
  display: flex;
  align-items: center;
}

/* Imagem da logo no header (versão reduzida) */
.nav__logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--primary-color);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

/* subtle active underline thickness for premium feel */
.nav__link.active::after {
  height: 3px;
}

.nav__button {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.nav__button:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.nav__button:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.25);
  outline-offset: 2px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: radial-gradient(1200px 600px at 50% -10%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(112deg, #0b4ea2 0%, #094f99 35%, #06458a 55%, #053c7b 72%, #042a57 100%);
  color: white;
  padding: clamp(96px, 10vw, 140px) 0 clamp(72px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(900px 600px at 25% 50%, rgba(255,255,255,0.10) 0%, transparent 62%),
    radial-gradient(900px 600px at 75% 50%, rgba(34, 197, 94, 0.10) 0%, transparent 62%),
    radial-gradient(1200px 700px at 50% 100%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
  animation: heroGradientShift 20s ease-in-out infinite alternate;
}

/* abstract animated glassy blob for premium feel */
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: 2%;
  top: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0.05) 60%, rgba(255,255,255,0) 70%),
    radial-gradient(circle at 70% 70%, rgba(34,197,94,0.15), rgba(34,197,94,0.0) 60%);
  filter: blur(20px) saturate(1.2);
  opacity: 0.35;
  transform: translate3d(0,0,0);
  animation: floatBlob 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatBlob {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-30px, 20px, 0) scale(1.05); }
}

@keyframes heroGradientShift {
  0% { transform: translateX(0); }
  100% { transform: translateX(-2%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
  .clients__track { animation-duration: 1ms; animation-iteration-count: 1; }
}

/* Hide scrollbars in clients carousel */
.clients__carousel,
.clients__carousel-wrapper {
  scrollbar-width: none;
}
.clients__carousel::-webkit-scrollbar,
.clients__carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: min(52vh, 520px);
  justify-items: start;
  margin-bottom: 7rem;
}

.hero__content {
  max-width: 850px;
  animation: fadeInUp 0.8s ease-out;
  text-align: left;
}

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

.hero__tagline {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  opacity: 0.9;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(1.95rem, 4.2vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero__description {
  font-size: clamp(1.02rem, 1.55vw, 1.3rem);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
  font-weight: 300;
}

.hero__buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero__decoration {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--bg-color);
  clip-path: none;
  box-shadow: 0 -12px 24px rgba(0,0,0,0.08) inset;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button--primary {
  background: white;
  color: var(--primary-color);
}

.button--primary:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.button:hover {
  filter: drop-shadow(0 0 10px rgba(0, 102, 204, 0.35));
}

.button--secondary {
  background: var(--secondary-color);
  color: white;
}

.button--secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.4);
}

/* ===== ABOUT ===== */
.about {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(240, 244, 248, 0.6) 100%
  );
  position: relative;
  backdrop-filter: blur(10px);
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-color),
    transparent
  );
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about__content {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 102, 204, 0.15);
  border-top: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.about__content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border-color: rgba(0, 102, 204, 0.3);
}

.about__subtitle {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.about__text {
  color: #444444;
  margin-bottom: 1.25rem;
  line-height: 1.9;
  font-size: 1.05rem;
  font-weight: 400;
}

.about__card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(34, 197, 94, 0.15);
  border-top: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #444444;
  font-size: 1.05rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.about__item:hover {
  transform: translateX(5px);
}

.about__check {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== SERVICES ===== */
.services {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.8) 100%
  );
  position: relative;
  backdrop-filter: blur(10px);
}

.services__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.service__card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 2px solid rgba(0, 102, 204, 0.1);
  position: relative;
  overflow: hidden;
}

.service__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service__card:hover::before {
  transform: scaleX(1);
}

.service__card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 50px rgba(0, 102, 204, 0.25);
  border-color: rgba(0, 102, 204, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service__card:hover .service__icon {
  transform: scale(1.1) rotate(5deg);
}

.service__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service__description {
  color: #444444;
  line-height: 1.9;
  font-size: 1.05rem;
  font-weight: 400;
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(
    135deg,
    rgba(240, 244, 248, 0.6) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  position: relative;
  backdrop-filter: blur(10px);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__info {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 102, 204, 0.1);
  height: fit-content;
}

.contact__subtitle {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.contact__item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact__item:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.contact__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.contact__item h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: 1.1rem;
}

.contact__item p {
  color: #444444;
  font-size: 1.05rem;
  font-weight: 400;
}

.contact__form {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 102, 204, 0.15);
  border-top: 4px solid var(--primary-color);
}

/* ===== SOCIAL CARD (Contact replacement) ===== */
.social-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(0, 102, 204, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(0, 102, 204, 0.18);
  border-color: rgba(0, 102, 204, 0.25);
}

.social-card__header { margin-bottom: 1rem; }
.social-card__title {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}
.social-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
}

.social-card__brand { margin: 1rem 0 1.5rem; }
.social-card__brand img {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}

.social-card__desc {
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.social-card__qr {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.social-card__qr img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 2px solid rgba(0, 102, 204, 0.12);
  background: #fff;
}

.social-card__qr-caption {
  font-size: 0.85rem;
  color: #6b7280;
}

.social-card__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1rem;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #f1f7ff, #e6f0ff);
  color: #3b82f6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 102, 204, 0.22);
  filter: drop-shadow(0 0 8px rgba(0, 102, 204, 0.25));
}

.social-btn--facebook { color: #1877f2; }
.social-btn--instagram { color: #d946ef; }
.social-btn--linkedin { color: #0a66c2; }

.form__group {
  margin-bottom: 1.5rem;
}

.form__input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: #fafafa;
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

/* ===== CLIENTS ===== */
/* Seção de clientes com carrossel automático de logos - estilo elegante inspirado em cards modernos */
.clients {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(240, 244, 248, 0.7) 100%
  );
  overflow-x: hidden;
  overflow-y: visible;
  padding: 100px 0;
  backdrop-filter: blur(10px);
  position: relative;
}

/* Wrapper que recorta o carrossel e centraliza visualmente */
.clients__carousel-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  padding: 60px 20px 80px;
  margin: 0;
  width: 100%;
}

/* Gradientes nas laterais para efeito de fade elegante */
.clients__carousel-wrapper::before,
.clients__carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 10;
  pointer-events: none;
}

.clients__carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(248, 249, 250, 1),
    rgba(248, 249, 250, 0)
  );
}

.clients__carousel-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(248, 249, 250, 1),
    rgba(248, 249, 250, 0)
  );
}

.clients__carousel {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}

/* Trilho animado que contém todas as logos (duplicadas para loop infinito) */
.clients__track {
  display: flex;
  gap: 2.5rem;
  animation: scrollClients 50s linear infinite;
  width: fit-content;
  will-change: transform;
}

.clients__track:hover {
  animation-play-state: paused;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.25rem));
  }
}

/* Card de cada cliente no carrossel - estilo elegante e moderno */
.client__logo {
  flex-shrink: 0;
  width: clamp(200px, 22vw, 280px);
  height: clamp(140px, 15vw, 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px;
  position: relative;
  overflow: visible;
  margin: 0 5px;
}

/* Efeito de overlay sutil no hover */
.client__logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 204, 0.02) 0%,
    rgba(34, 197, 94, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.client__logo:hover::before {
  opacity: 1;
}

.client__logo:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Logo do cliente dentro do card - estilo elegante com grayscale */
.client__logo img {
  max-width: 100%;
  max-height: clamp(88px, 10vw, 120px);
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.85);
  opacity: 0.7;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.client__logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.05);
}

/* Logo Reci+ é branca: dar contraste sem afetar as demais */
.client__logo--reci img {
  background: linear-gradient(135deg, #0b4ea2, #042a57);
  padding: 14px 18px;
  border-radius: 14px;
  filter: none;
  opacity: 1;
}

.client__logo--reci:hover img {
  transform: scale(1.03);
}

/* Linha decorativa abaixo da logo no hover */
.client__logo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: transform 0.4s ease;
}

.client__logo:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  padding: 70px 0 25px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-color),
    transparent
  );
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.footer__description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor-dot {
  width: var(--cursor-size);
  height: var(--cursor-size);
  background: var(--primary-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: var(--ring-size);
  height: var(--ring-size);
  border: 2px solid rgba(0, 102, 204, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(var(--ring-scale));
  opacity: var(--ring-opacity);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(2px);
}

.cursor-ring.is-hover {
  --ring-scale: 1.4;
  --ring-opacity: 0.35;
  border-color: rgba(34, 197, 94, 0.6);
}

.cursor-ring.is-active {
  --ring-scale: 1.8;
  --ring-opacity: 0.45;
}

.social__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social__link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social__link:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Evitar sobreposição do botão do WhatsApp com outros elementos fixos (ex: cursor custom) */
@media (pointer: fine) {
  .whatsapp-floating {
    z-index: 10050;
  }
}

.whatsapp-floating svg {
  width: 30px;
  height: 30px;
}

.whatsapp-floating:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.45);
  filter: brightness(1.05);
}

@media screen and (max-width: 576px) {
  .whatsapp-floating {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-floating svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 968px) {
  :root {
    --container-pad: 18px;
  }

  .nav__menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__tagline {
    font-size: 0.95rem;
  }

  .hero__description {
    font-size: 1.1rem;
  }

  .about__container,
  .contact__container {
    grid-template-columns: 1fr;
  }

  .section__title {
    font-size: 2rem;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --container-pad: 16px;
  }

  .hero {
    padding: 110px 0 80px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__tagline {
    font-size: 0.9rem;
  }

  .hero__description {
    font-size: 1rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .section__title {
    font-size: 2rem;
  }

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

  .hero__decoration {
    height: 60px;
  }

  .client__logo {
    width: 220px;
    height: 150px;
    padding: 20px;
  }

  .client__logo img {
    max-height: 100px;
  }

  .clients__track {
    gap: 2rem;
  }

  .clients__carousel-wrapper::before,
  .clients__carousel-wrapper::after {
    width: 80px;
  }
}

/* Em celulares (inclusive telas grandes como S24 Ultra em pé), esconder completamente o header/menu */
@media screen and (max-width: 820px) {
  .header {
    display: none;
  }
}

/* ===== EXTRA SMALL DEVICES (phones < 420px) ===== */
@media screen and (max-width: 420px) {
  :root {
    --container-pad: 14px;
  }

  .nav {
    padding: 0.85rem var(--container-pad);
  }

  .hero__container {
    margin-bottom: 4.5rem;
  }

  .hero__buttons {
    gap: 0.9rem;
  }

  .button {
    padding: 14px 18px;
  }

  .about__content,
  .about__card,
  .contact__info,
  .social-card {
    padding: 1.6rem;
  }

  .social-card__qr img {
    width: 160px;
    height: 160px;
  }
}

/* ===== LARGE SCREENS (widescreen) ===== */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .clients__carousel-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
