:root {
  --color-primary: #02534F;
  --color-primary-light: #03756e;
  --color-secondary: #33CB67;
  --color-alert: #ECB10E;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f9fa;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 5rem;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-2xl) 0;
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--spacing-xl);
}

.section__tag {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background: rgba(2, 83, 79, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: var(--spacing-sm);
}

.section__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.section__desc {
  font-size: var(--font-size-md);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--font-size-base);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--alert {
  background: var(--color-alert);
  color: #1a1a1a;
  border-color: var(--color-alert);
}

.btn--alert:hover {
  background: #d49c0c;
  border-color: #d49c0c;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header__logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-bg);
  padding: 5rem var(--spacing-lg) var(--spacing-lg);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.header__nav.open {
  right: 0;
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.header__nav-link {
  font-size: var(--font-size-md);
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

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

.header__cta {
  width: 100%;
}

/* Hero */
.hero {
  padding: 6rem 0 var(--spacing-2xl);
  background: var(--color-bg-alt);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
}

.hero__content {
  text-align: center;
  max-width: 600px;
}

.hero__title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.hero__subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.hero__subtitle strong {
  color: var(--color-primary);
}

.hero__btn {
  font-size: var(--font-size-md);
  padding: 1rem 2rem;
}

.hero__image {
  width: 100%;
  max-width: 560px;
  height: 240px;
  background: linear-gradient(145deg, #022e2c 0%, #02534F 45%, #084440 100%);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 4px 24px rgba(2, 83, 79, 0.2);
}

.hero__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(51, 203, 103, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(236, 177, 14, 0.04) 0%, transparent 50%);
}

.hero__device-img {
  position: absolute;
  width: 90%;
  height: 150%;
  object-fit: contain;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* --- Mockups --- */

.mockup {
  position: absolute;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}

.mockup__svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Monitor */
.mockup--monitor {
  width: 62%;
  height: 54%;
  top: 14%;
  left: 5%;
  z-index: 1;
}

/* Phone */
.mockup--phone {
  width: 24%;
  height: 46%;
  bottom: 12%;
  right: 4%;
  z-index: 2;
}

/* Equipamento facial */
.mockup--device {
  width: 26%;
  height: 32%;
  bottom: 7%;
  left: 35%;
  z-index: 3;
}

/* Dores */
.dor {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.dor__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.dor__problems {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.dor__problem-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.dor__problem-icon {
  font-size: 1.5rem;
  background: var(--color-bg-alt);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.dor__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.dor__text {
  color: var(--color-text-light);
  line-height: 1.6;
}

.dor__solution-wrapper {
  position: relative;
  padding: var(--spacing-md);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  padding: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.blob {
  position: absolute;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.5;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.blob--solution {
  width: 300px;
  height: 300px;
  background: var(--color-secondary);
  top: -20px;
  right: -20px;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.1); }
}

.dor__solution-icon {
  margin-bottom: var(--spacing-sm);
}

.dor__solution-title {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.dor__solution-text {
  color: var(--color-text);
  line-height: 1.7;
  font-size: var(--font-size-md);
  font-weight: 500;
}

/* Features Bento Box */
.features {
  background: var(--color-bg-alt);
}

.features__bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.bento__item {
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bento__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento__item--dark {
  background: var(--color-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento__item--dark .bento__text {
  color: rgba(255, 255, 255, 0.8);
}

.bento__visual {
  margin-top: var(--spacing-lg);
  align-self: flex-end;
}

.bento__item--glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.bento__item--gradient {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  border: 1px solid var(--color-border);
}

.bento__item--light {
  background: #fff;
  border: 1px solid var(--color-border);
}

.bento__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.bento__text {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Steps Timeline */
.steps {
  background: var(--color-bg);
}

.steps__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 20px;
}

.steps__timeline::before {
  content: '';
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-secondary), transparent);
  opacity: 0.3;
}

.timeline__item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  position: relative;
}

.timeline__marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 800;
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--color-bg);
  position: absolute;
  left: 0;
  top: 0;
}

.timeline__content {
  margin-left: 70px;
  flex: 1;
  background: var(--color-bg-alt);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition);
}

.timeline__item:hover .timeline__content {
  transform: translateX(8px);
}

.timeline__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
}

.timeline__text {
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Plans */
.plans {
  background: var(--color-bg-alt);
}

.plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  max-width: 760px;
  margin: 0 auto;
}

.plan__card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.plan__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan__card--featured {
  border-color: var(--color-alert);
  box-shadow: 0 0 0 1px var(--color-alert);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-alert);
  color: #1a1a1a;
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 1.2rem;
  border-radius: 100px;
  white-space: nowrap;
}

.plan__header {
  text-align: center;
  margin-bottom: var(--spacing-md);
  padding-top: var(--spacing-xs);
}

.plan__name {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.plan__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  font-size: var(--font-size-base);
  line-height: 1.5;
}

.plan__check {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: var(--font-size-md);
  flex-shrink: 0;
  line-height: 1.5;
}

.plan__btn {
  width: 100%;
}

/* FAQ */
.faq {
  background: var(--color-bg);
}

.faq__list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--color-bg-alt);
  border: none;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--color-text);
}

.faq__question:hover {
  background: rgba(2, 83, 79, 0.05);
}

.faq__question[aria-expanded="true"] {
  background: rgba(2, 83, 79, 0.06);
}

.faq__arrow {
  font-size: var(--font-size-sm);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__question[aria-expanded="true"] .faq__arrow {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__answer p {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: var(--font-size-base);
}

.faq__answer strong {
  color: var(--color-text);
}

/* CTA Section */
.cta-section {
  background: var(--color-primary);
}

.cta-section__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.cta-section__desc {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.cta-section__btn {
  font-size: var(--font-size-md);
  padding: 1rem 2.5rem;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--spacing-2xl) 0 0;
  font-size: var(--font-size-sm);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}

.footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer__desc {
  line-height: 1.7;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer__col-title {
  color: #ffffff;
  font-weight: 700;
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  line-height: 1.6;
}

.footer__links a:hover {
  color: var(--color-secondary);
}

.footer__text {
  line-height: 1.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--spacing-md) 0;
  text-align: center;
  font-size: var(--font-size-xs);
}

/* --- Scroll Animations --- */
.animate-hidden {
  opacity: 0;
}

.animate-hidden.is-visible {
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Large Mobile / Tablet */
@media (min-width: 640px) {
  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero {
    padding: 7rem 0 var(--spacing-3xl);
  }

  .section__title {
    font-size: var(--font-size-3xl);
  }

  .section {
    padding: var(--spacing-3xl) 0;
  }

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

  .bento__item--span-2 {
    grid-column: span 2;
  }

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

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

/* Desktop */
@media (min-width: 960px) {
  .header__hamburger {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    box-shadow: none;
    background: none;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-lg);
  }

  .header__nav-list {
    flex-direction: row;
    gap: var(--spacing-lg);
  }

  .header__nav-link {
    font-size: var(--font-size-base);
  }

  .header__cta {
    width: auto;
  }

  .hero__inner {
    flex-direction: row;
    text-align: left;
  }

  .hero__content {
    text-align: left;
    flex: 1;
  }

  .hero__image {
    flex: 1;
    max-width: none;
    height: 340px;
  }

  .hero__title {
    font-size: var(--font-size-4xl);
  }

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

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer__bottom {
    text-align: left;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .hero__title {
    font-size: 3.5rem;
  }
}