/* === BLOCO: COMUM === */

/* Reset mínimo moderno */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

ul { list-style: none; padding: 0; margin: 0; }

/* Design tokens — paleta LoveSys Auto (apenas #EEAD2B, #113C4A, #FAFAFA, #ffffff e suas opacidades) */
:root {
  --color-primary:        #EEAD2B;
  --color-primary-soft:   rgba(238, 173, 43, 0.12);
  --color-dark:           #113C4A;
  --color-dark-soft:      rgba(17, 60, 74, 0.08);

  --color-text:           #113C4A;
  --color-text-muted:     rgba(17, 60, 74, 0.75);
  --color-text-light:     rgba(17, 60, 74, 0.55);
  --color-text-on-dark:   #FAFAFA;

  --color-bg:             #ffffff;
  --color-bg-alt:         #FAFAFA;
  --color-bg-dark:        #113C4A;
  --color-border:         rgba(17, 60, 74, 0.15);
  --color-border-soft:    rgba(17, 60, 74, 0.1);

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  48px;
  --space-2xl: 96px;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(17, 60, 74, 0.06);
  --shadow-md:  0 6px 18px rgba(17, 60, 74, 0.08);
  --shadow-lg:  0 16px 40px rgba(17, 60, 74, 0.12);
  --shadow-xl:  0 28px 64px rgba(17, 60, 74, 0.18);

  --transition-fast: .15s ease;
  --transition-base: .25s ease;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  margin: 0 0 var(--space-md);
  line-height: 1.2em;
  font-weight: 700;
  text-wrap: balance;
}

p { margin: 0 0 var(--space-md); text-wrap: pretty; }

html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

/* Acessibilidade */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  border-radius: var(--radius-pill);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Layout base */
.section { width: 100%; }
.content-wrapper {
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 1472px) {
  .section         { padding: 96px 0; }
  .content-wrapper { width: 1280px; }
}
@media (min-width: 1025px) and (max-width: 1471px) {
  .section         { padding: 96px 0; }
  .content-wrapper { width: 961px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .section         { padding: 72px 0; }
  .content-wrapper { width: 656px; }
}
@media (min-width: 320px) and (max-width: 767px) {
  .section { padding: 56px 0; }
  .content-wrapper {
    max-width: 359px;
    width: 100%;
    padding: 0 8px;
  }
}

/* Botões reutilizáveis */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2em;
  cursor: pointer;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast);
  text-decoration: none;
  border: 2px solid transparent;
  user-select: none;
  white-space: nowrap;
}

.btn i, .btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-dark);
  box-shadow: 0 8px 20px rgba(238, 173, 43, 0.28);
  animation: btn-pulse 2.2s ease-in-out infinite;
}
.btn-primary:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 36px rgba(238, 173, 43, 0.55);
  animation-play-state: paused;
}
.btn-primary:active {
  transform: translateY(0) scale(1);
}

@keyframes btn-pulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(238, 173, 43, 0.28),
                0 0 0 0 rgba(238, 173, 43, 0.45);
  }
  50% {
    box-shadow: 0 8px 20px rgba(238, 173, 43, 0.28),
                0 0 0 14px rgba(238, 173, 43, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .func-card__icon,
  .recurso-item__icon { animation: none; }
}

@keyframes icon-halo {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(238, 173, 43, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(238, 173, 43, 0);
  }
}

.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-secondary:hover {
  background: var(--color-dark);
  color: #fff;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

.btn-block { width: 100%; }

.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

/* Section headers reutilizáveis */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 44px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}
.section-label--light {
  color: var(--color-dark);
  background: var(--color-dark-soft);
}
.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 26px; }
  .section-subtitle { font-size: 15px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .section-header h2 { font-size: 34px; }
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}
.trust-badges__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.trust-badges__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-badges__icon i { width: 16px; height: 16px; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-xl);
}

/* Form success */
.form-success {
  background: var(--color-primary);
  color: var(--color-dark);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
}
.logo__img {
  display: block;
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.logo--footer .logo__img { height: 72px; }

@media (max-width: 767px) {
  .logo__img { height: 48px; }
  .logo--footer .logo__img { height: 56px; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="header" === */

.header {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

main { padding-top: 96px; }
@media (max-width: 767px) {
  main { padding-top: 76px; }
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: 96px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  flex-direction: column;
  gap: 5px;
}
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.main-nav a:hover { color: var(--color-dark); }

.main-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-dark) !important;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  font-size: 15px;
  box-shadow: 0 6px 14px rgba(238, 173, 43, 0.25);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.main-nav__cta:hover {
  background: var(--color-primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 24px rgba(238, 173, 43, 0.45);
}

@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border-soft);
    box-shadow: var(--shadow-md);
    padding: 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }
  .main-nav a:hover { background: var(--color-bg-alt); }
  .main-nav__cta {
    display: flex;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 12px 16px;
  }
}

@media (max-width: 767px) {
  .header-wrapper { height: 76px; }
  .main-nav { top: 76px; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="hero" === */

.hero {
  position: relative;
  background: var(--color-dark);
  padding-top: 140px !important;
  padding-bottom: 120px !important;
  color: var(--color-text-on-dark);
}

.hero__title,
.hero__subtitle { color: var(--color-text-on-dark); }
.hero__title { color: #fff; }
.hero__subtitle { color: rgba(250, 250, 250, 0.82); }

.hero__eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-on-dark);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-soft);
  margin-bottom: var(--space-lg);
}
.hero__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(238, 173, 43, 0.18);
  animation: hero-pulse 2.4s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(238, 173, 43, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(238, 173, 43, 0.08); }
}

.hero__title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1em;
  letter-spacing: -1.2px;
  margin-bottom: var(--space-lg);
  max-width: 620px;
  color: #fff;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6em;
  color: rgba(250, 250, 250, 0.85);
  margin-bottom: var(--space-xl);
  max-width: 540px;
}

.hero__actions { margin-bottom: var(--space-lg); }

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.hero__benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__benefit-icon i { width: 12px; height: 12px; }

/* Hero image */
.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-card {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.hero__media { width: 100%; }

.hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.hero__video {
  position: relative;
  width: 100%;
  max-width: 720px;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.25);
}
.hero__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
}

.hero__image-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--color-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-soft);
}
.hero__image-badge i {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}
.hero__image-badge--top {
  top: 24px;
  left: -20px;
  animation: hero-badge-float 4s ease-in-out infinite;
}
.hero__image-badge--bottom {
  bottom: 28px;
  right: -16px;
  animation: hero-badge-float 4s ease-in-out infinite reverse;
}
@keyframes hero-badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 1471px) {
  .hero__grid { gap: 48px; }
  .hero__title { font-size: 48px; }
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .hero {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
  .hero__title {
    font-size: 40px;
    max-width: 100%;
    margin-bottom: 12px;
  }
  .hero__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .hero { padding-top: 48px !important; padding-bottom: 96px !important; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 40px; max-width: 100%; }
  .hero__subtitle { font-size: 16px; max-width: 100%; }
  .hero__content { text-align: center; order: 2; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__benefits { justify-content: center; }
  .hero__media { margin: 0 auto; max-width: 640px; order: 1; }
}

@media (max-width: 767px) {
  .hero { padding-top: 24px !important; padding-bottom: 64px !important; }
  .hero__grid { gap: 32px; }
  .hero__title { font-size: 34px; letter-spacing: -0.5px; margin-bottom: 8px; }
  .hero__eyebrow { margin-bottom: 14px; }
  .hero__subtitle { margin-bottom: 20px; }
  .hero__subtitle { font-size: 15px; }
  .hero__eyebrow { font-size: 12px; padding: 6px 14px; }
  .hero__benefits { gap: 12px; font-size: 13px; }
  .hero__image-card::before { inset: -12px; }
  .hero__image-badge { font-size: 12px; padding: 8px 12px; }
  .hero__image-badge--top { top: 12px; left: 8px; }
  .hero__image-badge--bottom { bottom: 12px; right: 8px; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="lead-modal" === */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open {
  display: flex;
  animation: modal-fade-in .2s ease-out;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 60, 74, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modal-zoom-in .25s ease-out;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
}
.modal__close:hover {
  background: var(--color-primary);
  transform: rotate(90deg);
}
.modal__close i { width: 20px; height: 20px; }

.modal__header { text-align: center; margin-bottom: 24px; padding-right: 32px; }
.modal__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.modal__title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}
.modal__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.lead-form { display: flex; flex-direction: column; gap: 14px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
}
.form-field__input {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 15px;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-field__input::placeholder { color: rgba(17, 60, 74, 0.4); }
.form-field__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(238, 173, 43, 0.15);
}
.form-field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23113C4A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}
.lead-form .btn { margin-top: 8px; }
.lead-form__legal {
  font-size: 12px;
  color: var(--color-text-light);
  text-align: center;
  margin: 4px 0 0;
  line-height: 1.5em;
}
.lead-form__legal a {
  color: var(--color-dark);
  text-decoration: underline;
  font-weight: 500;
}

body.has-modal-open { overflow: hidden; }

@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modal-zoom-in {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 767px) {
  .modal { padding: 32px 16px; }
  .modal__dialog {
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    max-height: calc(100vh - 64px);
  }
  .modal__title { font-size: 20px; }
  .modal__header { padding-right: 24px; }
  .modal__close { width: 36px; height: 36px; top: 12px; right: 12px; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="funcionalidades" === */

.funcs { background: var(--color-bg); }

.funcs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.func-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.func-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.func-card__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: icon-halo 2.6s ease-in-out infinite;
}
.func-card__icon i {
  width: 26px; height: 26px;
  transition: transform var(--transition-base);
}
.func-card:hover .func-card__icon {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 12px 24px rgba(238, 173, 43, 0.45);
  animation-play-state: paused;
}
.func-card:hover .func-card__icon i {
  transform: rotate(6deg);
}

.func-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.func-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6em;
}

.funcs__cta { text-align: center; }

@media (max-width: 1024px) {
  .funcs__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 767px) {
  .funcs__grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .func-card { padding: 24px 20px; }
  .func-card h3 { font-size: 18px; }
  .func-card__icon { width: 48px; height: 48px; }
  .func-card__icon i { width: 22px; height: 22px; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="recursos" === */

.recursos {
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  position: relative;
}

.recursos .section-header h2,
.recursos .section-header .section-subtitle {
  color: var(--color-text-on-dark);
}
.recursos .section-header .section-subtitle { opacity: 0.85; }

.recursos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.recurso-item {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.recurso-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(238, 173, 43, 0.25);
}

.recurso-item__icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: icon-halo 2.6s ease-in-out infinite;
}
.recurso-item__icon i {
  width: 24px; height: 24px;
  transition: transform var(--transition-base);
}
.recurso-item:hover .recurso-item__icon {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 12px 24px rgba(238, 173, 43, 0.5);
  animation-play-state: paused;
}
.recurso-item:hover .recurso-item__icon i {
  transform: rotate(-8deg);
}

.recurso-item h3 {
  font-size: 17px;
  color: var(--color-dark);
  margin-bottom: 6px;
}
.recurso-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5em;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .recursos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .recursos__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .recurso-item { padding: 22px 14px; }
  .recurso-item h3 { font-size: 15px; }
  .recurso-item p { font-size: 13px; }
  .recurso-item__icon { width: 44px; height: 44px; margin-bottom: 12px; }
  .recurso-item__icon i { width: 20px; height: 20px; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="comparativo" === */

.comparativo { background: #ffffff; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
}

.compare-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-soft);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.compare-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Detalhe decorativo no canto superior */
.compare-card__corner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(17, 60, 74, 0.15);
}
.compare-card__corner--new {
  background: var(--color-primary);
}

.compare-card--old {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  opacity: 0.92;
}
.compare-card--old h3 { color: rgba(17, 60, 74, 0.65); }
.compare-card--old .compare-card__icon {
  background: rgba(17, 60, 74, 0.08);
  color: rgba(17, 60, 74, 0.45);
}

.compare-card--new {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  border-color: var(--color-primary);
  box-shadow: 0 18px 48px rgba(17, 60, 74, 0.22);
}
.compare-card--new h3 { color: #fff; }
.compare-card--new .compare-card__icon {
  background: var(--color-primary);
  color: var(--color-dark);
  box-shadow: 0 8px 20px rgba(238, 173, 43, 0.45);
}

/* Cabeçalho */
.compare-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid currentColor;
  position: relative;
  z-index: 1;
}
.compare-card--old .compare-card__head { border-bottom-color: rgba(17, 60, 74, 0.12); }
.compare-card--new .compare-card__head { border-bottom-color: rgba(255, 255, 255, 0.12); }

.compare-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}
.compare-card__icon i { width: 26px; height: 26px; stroke-width: 2.5; }
.compare-card--new:hover .compare-card__icon {
  transform: rotate(-10deg) scale(1.08);
}

.compare-card__head h3 {
  font-size: 24px;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.4px;
}

/* Lista */
.compare-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}
.compare-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px dashed transparent;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.compare-list li:not(:last-child) {
  border-bottom-style: dashed;
}
.compare-card--old .compare-list li {
  color: rgba(17, 60, 74, 0.55);
}
.compare-card--old .compare-list li:not(:last-child) {
  border-bottom-color: rgba(17, 60, 74, 0.08);
}
.compare-card--new .compare-list li {
  color: rgba(250, 250, 250, 0.96);
}
.compare-card--new .compare-list li:not(:last-child) {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.compare-card--new .compare-list li:hover {
  transform: translateX(6px);
}

.compare-list__bullet {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compare-list__bullet i { width: 14px; height: 14px; stroke-width: 3; }

.compare-card--old .compare-list__bullet {
  background: rgba(17, 60, 74, 0.1);
  color: rgba(17, 60, 74, 0.4);
}
.compare-card--new .compare-list__bullet {
  background: var(--color-primary);
  color: var(--color-dark);
}

@media (max-width: 1024px) {
  .compare-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .compare-card { padding: 32px 24px; }
  .compare-card__head h3 { font-size: 20px; }
  .compare-card__icon { width: 48px; height: 48px; }
  .compare-card__icon i { width: 22px; height: 22px; }
  .compare-list li { font-size: 14px; padding: 10px 0; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="cta-final" === */

.cta-final { background: var(--color-bg); }

.cta-final__card {
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  text-align: center;
  color: var(--color-text-on-dark);
  position: relative;
  box-shadow: var(--shadow-xl);
}

.cta-final__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(238, 173, 43, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-final__title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15em;
  color: #fff;
  max-width: 760px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.8px;
}

.cta-final__subtitle {
  font-size: 18px;
  color: rgba(250, 250, 250, 0.85);
  max-width: 620px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.cta-final__actions {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.cta-final .trust-badges {
  position: relative;
  z-index: 1;
}
.cta-final .trust-badges__item { color: rgba(250, 250, 250, 0.85); }
.cta-final .trust-badges__icon {
  background: rgba(238, 173, 43, 0.18);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .cta-final__card { padding: 48px 36px; }
  .cta-final__title { font-size: 34px; }
}
@media (max-width: 767px) {
  .cta-final__card { padding: 40px 24px; border-radius: var(--radius-lg); }
  .cta-final__title { font-size: 26px; }
  .cta-final__subtitle { font-size: 15px; margin-bottom: 28px; }
  .cta-final .trust-badges { gap: 16px; }
  .cta-final .trust-badges__item { font-size: 13px; }
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="footer" === */

.footer {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
  padding: 64px 0 24px;
}

.footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(250, 250, 250, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer__social a:hover {
  background: var(--color-primary);
  color: var(--color-dark);
}
.footer__social i,
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(250, 250, 250, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p { margin: 0; }
.footer__bottom a {
  color: rgba(250, 250, 250, 0.7);
  transition: color var(--transition-fast);
}
.footer__bottom a:hover { color: var(--color-primary); }

@media (max-width: 767px) {
  .footer { padding: 48px 0 20px; }
  .footer__main { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
}

/* === FIM BLOCO === */
