/* ========================================
   Always Beauty — Landing Page
   style.css — Design System & Layout
   ======================================== */

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

/* --- VARIABLES --- */
:root {
  --color-primary:       #7C5CBF;
  --color-primary-light: #A78BFA;
  --color-primary-dark:  #5B3FA0;
  --color-accent:        #6DD5C8;
  --color-bg:            #FFFFFF;
  --color-bg-alt:        #F8F6FF;
  --color-bg-tint:       #EDE9FF;
  --color-text:          #1A1A2E;
  --color-muted:         #6B6B8A;
  --color-border:        #E8E3FF;
  --color-cta:           #7C5CBF;
  --color-cta-hover:     #5B3FA0;
  --font-heading:        'Playfair Display', serif;
  --font-body:           'DM Sans', sans-serif;
  --radius-card:         16px;
  --shadow-card:         0 4px 20px rgba(124,92,191,0.08);
  --shadow-card-hover:   0 8px 32px rgba(124,92,191,0.16);
}

html {
  scroll-behavior: smooth;
}

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

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

.kit-card__image-wrapper img {
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  display: block;
  padding: 16px;
}

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

ul, ol {
  list-style: none;
}

/* --- CONTAINERS --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 3vw, 1.4rem); }

.italic-accent {
  font-style: italic;
  color: var(--color-primary);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  text-align: center;
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 24px;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-hero {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
  padding: 16px 48px;
  font-size: 14px;
}
.btn-hero:hover {
  background: var(--color-bg-alt);
  transform: translateY(-2px);
}

/* --- WAVE DIVIDER --- */
.wave-divider {
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  width: 100%;
  display: block;
}

/* --- SECTION SPACING --- */
.section {
  padding: 60px 0;
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(124,92,191,0.10);
}
.site-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-header__logo {
  height: 36px;
  width: auto;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  background: var(--color-bg-alt);
  padding: 48px 0 0;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero__content {
  max-width: 600px;
}
.hero__content p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 24px 0 32px;
}
.hero__content p strong {
  color: var(--color-text);
}
.hero__image-wrapper {
  text-align: center
  border-radius: 32px;;
}
.hero__image {
  max-width: 100%;
  filter: drop-shadow(0 16px 40px rgba(124,92,191,0.20));
}

/* ========================================
   STEPS GRID
   ======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
/* Cards de produto e kit — botão sempre no rodapé */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content {
  flex-grow: 1;
}

.card-button {
  margin-top: auto;
}
.step-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.step-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.step-card__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.step-card__image {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 16px;
}
.step-card__when {
  margin-bottom: 16px;
}
.step-card__when-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 1px;
}
.step-card__when-value {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text);
  font-size: 14px;
  margin-left: 6px;
}
.step-card__benefits {
  margin-bottom: 24px;
  flex-grow: 1;
}
.step-card__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}
.step-card__benefits li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ========================================
   GALLERY
   ======================================== */
.gallery {
  padding: 0;
  background: var(--color-bg-alt);
}
.gallery-strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar {
  display: none;
}
.gallery-strip img {
  scroll-snap-align: start;
  flex: 0 0 100%;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.product-card__image-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.product-card__text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}
.product-card__text strong {
  color: var(--color-text);
}

/* ========================================
   DIFFERENTIALS
   ======================================== */
.differentials {
  background: var(--color-bg-alt);
}
.differentials__banner-desktop {
  display: none;
}
.differentials__mobile-layout {
  display: block;
}
.differentials__center-image {
  width: 100%;
  max-width: 900px;
  display: block;

}

/* ========================================
   KITS
   ======================================== */
.kits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.kit-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.kit-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.kit-card__image-wrapper {
  width: 100%;
  height: 280px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.kit-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
}
.kit-card__body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.kit-card__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* ========================================
   CTA FINAL
   ======================================== */
.cta-final {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  padding: 80px 0;
  text-align: center;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 16px;
}
.cta-final p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--color-text);
  padding: 48px 0 32px;
  text-align: center;
}
.site-footer__logo {
  height: 32px;
  margin: 0 auto 24px;
}
.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.site-footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.site-footer__links a:hover {
  color: #fff;
}
.site-footer__secure {
  height: 36px;
  opacity: 0.7;
  margin: 0 auto 24px;
}
.site-footer__disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.site-footer__copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.30);
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (min-width: 768px) {
  .section { padding: 80px 0; }

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

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

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

  .gallery-strip {
    overflow: visible;
  }
  .gallery-strip img {
    flex: 1;
    height: 420px;
  }
}

/* ========================================
   RESPONSIVE — DESKTOP
   ======================================== */
@media (min-width: 1024px) {
  .section { padding: 100px 0; }

  .hero .container {
    flex-direction: row;
    align-items: center;
  }
  .hero__content {
    flex: 0 0 55%;
  }
  .hero__image-wrapper {
    flex: 0 0 45%;
    border-radius: 32px;
  }
  .hero {
    padding: 60px 0 0;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .kits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-strip img {
    height: 500px;
  }

  /* Differentials desktop layout */
  .differentials__item--desktop {
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.differentials__item--desktop strong {
  color: var(--color-primary);
  font-weight: 400;
}

.differentials__item--desktop::after {
  content: '';
  display: block;
  width: 60px;
  border-top: 1px dashed var(--color-primary-light);
  margin-top: 8px;
  margin-left: auto;
}

.differentials__item--desktop-right {
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.differentials__item--desktop-right strong {
  color: var(--color-primary);
  font-weight: 400;
}

.differentials__item--desktop-right::before {
  content: '';
  display: block;
  width: 60px;
  border-top: 1px dashed var(--color-primary-light);
  margin-bottom: 8px;
}

.differentials__wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 40px;
}
.differentials__center-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  grid-column: 2;
}

  /* Desktop: esconde layout mobile, exibe banner full-width */
  .differentials {
    padding: 0;
  }
  .differentials__mobile-layout {
    display: none;
  }
  .differentials__center-image {
    display: none;
  }
  .differentials__banner-desktop {
    display: block;
    width: 100%;
    height: auto;
  }
}
