@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Barlow:wght@400&display=swap');

:root {
  --color-primary: #78001f;
  --color-primary-dark: #7b001f;
  --color-primary-glow: rgba(209, 0, 56, 0.4);
  --color-gold: #cda03b;
  --color-blue: #3b7cb3;
  --color-blue-glow: rgba(59, 124, 179, 0.62);
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-bg-light: #f7f7f7;
  --color-bg-slate: #f1f5f9;
  --color-bg-services: #f8f5f6;
  --color-bg-clients: rgba(205, 160, 59, 0.1);
  --color-border: #e2e8f0;
  --color-white: #ffffff;

  --font-base: 'Inter', sans-serif;
  --font-footer: 'Barlow', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --shadow-btn: 0 0 50px 0 var(--color-primary-glow);
  --shadow-card: 0 0 16px 0 rgba(0, 0, 0, 0.1);
  --shadow-card-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-blue: 0 0 100px 0 var(--color-blue-glow);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.section-py {
  padding-top: 96px;
  padding-bottom: 96px;
}

@media (max-width: 767.98px) {
  .section-py {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.btn-primary-custom {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-base);
  font-weight: 900;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-primary-custom:hover {
  opacity: 0.9;
  color: var(--color-white);
}

.btn-white-custom {
  display: inline-block;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  font-family: var(--font-base);
  font-weight: 900;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 10px 0 var(--color-bg-light);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-white-custom:hover {
  opacity: 0.9;
  color: var(--color-primary);
}

.section-title {
  font-weight: 700;
  font-size: 32px;
  color: var(--color-text);
  line-height: 1.2;
}

.section-subtitle {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.gold-card {
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: none;
}

.gold-card img.icon {
  width: 24px;
  height: 24px;
}

.gold-card .card-label {
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
}

.quote-block {
  background-color: rgba(120, 0, 31, 0.05);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 24px 24px 28px;
  font-weight: 300;
  font-size: 16px;
  color: #334155;
  line-height: 24px;
}

.service-card {
  display: block;
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.service-card .service-img {
  width: 100%;
  height: 217px;
  object-fit: cover;
}

.service-card .service-label {
  font-weight: 300;
  font-size: 20px;
  color: var(--color-text);
  line-height: 28px;
  padding: 16px;
}

.process-step {
  background: var(--color-white);
  border: 1px solid var(--color-bg-slate);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 33px;
  text-align: center;
  height: 100%;
}

.process-step .step-number {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.process-step .step-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 4px;
}

.process-step .step-desc {
  font-weight: 400;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  height: 100%;
}

.testimonial-card .stars {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.testimonial-card .stars img {
  width: 24px;
  height: 24px;
}

.testimonial-card .testimonial-text {
  font-weight: 300;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.testimonial-card .testimonial-name {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item .faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 25px;
  cursor: pointer;
}

.faq-item .faq-question {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  line-height: 24px;
}

.faq-item .faq-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item .faq-body {
  padding: 0 25px 25px;
  font-weight: 300;
  font-size: 16px;
  color: var(--color-text);
  line-height: 24px;
  display: none;
}

.faq-item.open .faq-body {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.form-section-wrapper {
  background: var(--color-blue);
  border: 1px solid rgba(247, 247, 247, 0.5);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-blue);
  padding: 38px 48px;
  max-width: 864px;
  margin: 0 auto;
}

@media (max-width: 575.98px) {
  .form-section-wrapper {
    padding: 32px 24px;
  }
}

.form-section-wrapper .form-title {
  font-weight: 700;
  font-size: 30px;
  color: var(--color-white);
  text-align: center;
  line-height: 36px;
}

.form-section-wrapper .form-subtitle {
  font-weight: 400;
  font-size: 16px;
  color: var(--color-bg-light);
  text-align: center;
  line-height: 24px;
}

.form-section-wrapper label {
  font-weight: 400;
  font-size: 14px;
  color: var(--color-bg-light);
  display: block;
  margin-bottom: 4px;
}

.form-section-wrapper .form-control,
.form-section-wrapper .form-select {
  background-color: transparent;
  border: 1px solid rgba(247, 247, 247, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-bg-light);
  font-size: 14px;
  height: 40px;
  padding: 8px 16px;
}

.form-section-wrapper .form-control::placeholder,
.form-section-wrapper .form-select option:first-child {
  color: rgba(247, 247, 247, 0.6);
}

.form-section-wrapper .form-control:focus,
.form-section-wrapper .form-select:focus {
  background-color: transparent;
  border-color: rgba(247, 247, 247, 0.4);
  box-shadow: none;
  color: var(--color-white);
  outline: none;
}

.form-section-wrapper .form-select {
  appearance: none;
  background-image: url('../assets/icons/chevron-down-sm.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
}

.form-section-wrapper .form-select option {
  color: var(--color-text);
  background-color: var(--color-white);
}

.form-note {
  font-weight: 300;
  font-size: 14px;
  color: var(--color-bg-light);
  text-align: center;
  line-height: 20px;
}

.client-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.client-logo:hover {
  opacity: 1;
}

.btn-whatsapp-pulse {
  background: #25d366;
  color: white;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  position: fixed;
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0;
  height: 0;
  padding: 35px;
  text-decoration: none;
  border-radius: 50%;
  animation-name: pulse;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  cursor: pointer;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  80% { box-shadow: 0 0 0 24px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.badge-hero img {
  width: 16px;
  height: 16px;
}

.product-hat {
  display: inline-block;
  background-color: rgba(120, 0, 31, 0.1);
  border: 1px solid rgba(120, 0, 31, 0.5);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 10px;
  color: var(--color-white);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-select-card {
  background: var(--color-bg-slate);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  height: 100%;
}

.product-select-card .ps-title {
  font-weight: 300;
  font-size: 20px;
  color: var(--color-text);
  line-height: 28px;
}

.product-select-card .ps-desc {
  font-weight: 200;
  font-size: 14px;
  color: var(--color-text);
  line-height: 20px;
  opacity: 0.8;
  margin-top: 8px;
}

.product-select-card .ps-icon {
  width: 24px;
  height: 24px;
}

.product-select-card {
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}

.product-select-card.active {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
}

.product-select-card.active .ps-title {
  color: var(--color-primary);
}

@media (max-width: 767.98px) {
  p {
    text-wrap: balance;
  }

  .section-title {
    font-size: 24px;
  }

  .product-hat {
    background-color: rgba(120, 0, 31, 0.6);
    border-color: rgba(120, 0, 31, 0.8);
  }


  .btn-primary-custom,
  .btn-white-custom {
    font-size: 12px !important;
    padding: 10px 16px !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }

  .badge-hero {
    font-size: 14px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  .product-mob-accordion {
    background: var(--color-bg-slate);
    border-radius: var(--radius-md);
    padding: 24px;
    cursor: pointer;
  }

  .product-mob-accordion .ps-title {
    font-weight: 300;
    font-size: 20px;
    color: var(--color-text);
    line-height: 28px;
  }

  .product-mob-accordion .ps-desc {
    font-weight: 200;
    font-size: 14px;
    color: var(--color-text);
    line-height: 20px;
    opacity: 0.8;
    margin-top: 8px;
  }

  .product-mob-accordion .ps-icon {
    width: 24px;
    height: 24px;
  }

  .product-mob-accordion .mob-hero-body {
    display: none;
  }

  .product-mob-accordion.open .mob-hero-body {
    display: block;
  }

  .product-mob-accordion.open {
    border: 2px solid var(--color-primary);
  }

  .product-mob-accordion.open .ps-title {
    color: var(--color-primary);
  }

  #servicosCarousel .carousel-indicators [data-bs-target],
  #processoCarousel .carousel-indicators [data-bs-target],
  #testimoniaisCarousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: none;
    opacity: 1;
  }

  #servicosCarousel .carousel-indicators .active,
  #processoCarousel .carousel-indicators .active,
  #testimoniaisCarousel .carousel-indicators .active {
    background-color: var(--color-primary);
  }

  .section-title-clientes {
    font-size: 22px;
  }

  .carousel-swipe-hint {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
}
