:root {
    --primary-color: #1e293b; /* Slate Dark */
    --accent-color: #d4a373; /* Gold/Earth */
    --bg-color: #faf9f6; /* Off-white / Cream */
    --white: #ffffff;
    --text-color: #334155;
    --light-gray: #e2e8f0;
    
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}


body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
      font-weight: 400;

}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center { text-align: center; }

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.3);
}

.btn-primary:hover {
    background-color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.4);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
   
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}
.logo-img {
  height: 40px;          /* ajuste fino aqui */
  width: auto;
  display: block;
}

/* Quadrado */
.logo-icon {
  width: 28px;
  height: 28px;

  border: 2px solid var(--accent-color);
  border-radius: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-2px);
}

/* Coração dentro */
.logo-icon .heart {
  color: var(--accent-color);
  font-size: 1.80rem; /* ⬅ aumenta aqui (antes: 1rem) */
  line-height: 1;
}

/* Ponto final */
.logo .dot {
  color: var(--accent-color);
  margin-left: 4px;
}


.cta-btn-nav {
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* nav space */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    background-color: #e0e7ff;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #64748b;
    max-width: 450px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge i { color: #fbbf24; }

/* Container de visualização */
.magnet-mockup-wrapper {
    position: relative;
    height: 550px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; /* Profundidade para o tilt 3D */
}

/* Base do Card - O ímã 50x50mm */
.magnet-card {
    position: absolute;
    width: 300px; /* Proporcional ao layout, mas mantendo o aspecto quadrado */
    height: 300px;
    border-radius: 24px; /* Slightly rounded corners */
    background: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    /* Sombra de contato (Ground Shadow) suave e realista */
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.15),
        0 30px 60px rgba(0,0,0,0.2);
    
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Efeito de Domo de Resina (Camada de Brilho) */
.resin-glass {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: 24px;
    pointer-events: none;
    
    /* Simula o reflexo de uma Softbox de estúdio no topo esquerdo */
    background: radial-gradient(
        circle at 35% 25%,
        rgba(255, 255, 255, 0.45) 0%,
        rgba(255, 255, 255, 0.1) 35%,
        transparent 60%
    );
    
    /* Profundidade interna para o efeito de resina líquida */
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.8), /* Brilho na borda superior */
        inset 0 -2px 10px rgba(0,0,0,0.1);    /* Sombra leve na curvatura inferior */
}

/* Borda Translúcida (Thin translucent edge) */
.resin-rim {
    position: absolute;

    inset: -1px; /* empurra a borda levemente para fora */
    z-index: 1;  /* fica abaixo da imagem */

    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.15);

    pointer-events: none;
}


/* Ajustes específicos dos cards */
.main-magnet {
    left: 50%;
    top: 50%;
    transform: translate(-60%, -55%) rotateX(5deg) rotateY(-8deg) rotateZ(-2deg);
}



.main-magnet .resin-edge {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    pointer-events: none;
    box-shadow:
        inset 0 0 0 10px rgba(255,255,255,0.35),
        inset 0 0 35px rgba(255,255,255,0.25);
    z-index: 2;
}

.main-magnet .resin-gloss {
    position: absolute;
    inset: -30%;
    background: radial-gradient(
        ellipse at 75% 15%,
        rgba(255,255,255,0.85),
        rgba(255,255,255,0.45) 25%,
        rgba(255,255,255,0.15) 40%,
        rgba(255,255,255,0) 60%
    );
    transform: rotate(4deg);
    pointer-events: none;
    z-index: 3;
}


.secondary-magnet {
    z-index: 5;
    width: 260px;
    height: 260px;
    transform: translate(120px, 80px) rotateX(2deg) rotateY(15deg) rotateZ(8deg);
    filter: brightness(0.95); /* Leve profundidade por diferença de luz */
    box-shadow:
        0 8px 16px rgba(0,0,0,0.18),
        0 20px 40px rgba(0,0,0,0.15);
}


.magnet-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    position: relative;
    z-index: 2; /* garante que a foto fique acima da borda */

    filter: saturate(1.1) contrast(1.05);
    border-radius: 22px;
}


.magnet-card:hover {
    transform: scale(1.02) rotateX(0deg) rotateY(0deg);
}

.magnet-card:hover .resin-glass {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 80%
    );
    transition: background 0.4s ease;
}

.main-magnet::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 22px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.25);
    pointer-events: none;
    z-index: 1;
}
/* .secondary-magnet .matte-highlight {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.18),
        rgba(255,255,255,0) 40%
    );
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.2),
        rgba(255,255,255,0) 55%
    );
} */



/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.f-icon {
    min-width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* ===== GALERIA ===== */

.gallery-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin-top: 50px;
}

.gallery-item {
  width: 110px;
  text-align: center;
  flex-shrink: 0;
}

.gallery-item img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  margin: 0 auto;
}

.story-label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.6);
}

@media (min-width: 768px) {
  .logo-img {
    height: 46px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .gallery-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    overflow-x: auto;
    overflow-y: hidden;

    gap: 16px;
    padding: 16px; /* ⬅ espaço real nas laterais */

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    box-sizing: border-box;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}



/* Emocional Parallax */
.emotional-cta {
    height: 500px;
    background-image: url('https://img.cancaonova.com/cnimages/canais/uploads/sites/6/2015/10/formacao_o-significado-de-cada-letra-da-palavra-familia.jpg');
    background-attachment: fixed; /* Parallax simples CSS */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.emotional-cta .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.emotional-content {
    position: relative;
    z-index: 2;
}

.emotional-content h2 { color: var(--white); font-size: 3rem; margin-bottom: 20px; }
.emotional-content p { font-size: 1.2rem; font-weight: 300; }

/* Depoimentos */
.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-card {
    padding: 40px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
}

.stars { color: #fbbf24; margin-bottom: 20px; letter-spacing: 5px; }
.quote { font-size: 1.2rem; font-style: italic; margin-bottom: 30px; color: #475569; }

.hero-subtitle,
.combo-unit,
.quote {
  font-weight: 500;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.story-modal {
  position: fixed;
  inset: 0;
  background: #000;
  display: none;
  z-index: 9999;
}

.story-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
}

.story-progress {
  display: flex;
  flex: 1;
  gap: 4px;
}

.story-progress .segment {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  border-radius: 2px;
}

.story-progress .segment span {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
}

#closeStoryBtn {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}


/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.footer-description {
  margin-top: 20px;
  max-width: 320px;
  color: #cbd5f5;
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5e7eb;
}

.footer-links a {
  display: block;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-social .socials {
  display: flex;
  gap: 16px;
  margin: 16px 0;
}

.footer-social .socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social .socials a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-4px);
}

.footer-cta {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #cbd5f5;
}

/* Responsivo */
@media (max-width: 968px) {
    .hero-grid, .features-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .hero { text-align: center; padding-top: 120px; }
    
    .hero-actions { justify-content: center; flex-direction: column; }
    
    .magnet-mockup-wrapper { height: 400px; margin-top: 40px; }
    
  
    
    .hero-title { font-size: 2.5rem; }
    
    .emotional-content h2 { font-size: 2rem; }
}


@media (max-width: 600px) {
  .story-modal img {
    max-width: 100%;
    max-height: 85%;
  }

  .story-progress {
    width: 90%;
  }
}



/* Combos */
.combos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.combo-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

.combo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.combo-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.combo-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.combo-unit {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
}

/* Destaque */
.combo-card.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.badge-combo {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Botão outline */
.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsivo */
@media (max-width: 968px) {
    .combos-grid {
        grid-template-columns: 1fr;
    }

    .combo-card.featured {
        transform: scale(1);
    }
}
.step-card {
    opacity: 1;
    transform: none;
}
/* ===== GALERIA MOBILE (CORREÇÃO FINAL) ===== */
@media (max-width: 768px) {

  /* remove padding do container SÓ nessa seção */
  .showcase .container {
    padding-left: 0;
    padding-right: 0;
  }

  .gallery-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    overflow-x: auto;
    overflow-y: hidden;

    gap: 16px;
    padding: 16px 20px; /* ⬅ padding controlado aqui */

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    box-sizing: border-box;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}

/* ===== HERO MOCKUP — MOBILE LIMPO ===== */
@media (max-width: 768px) {

  .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

  .magnet-mockup-wrapper {
    width: 100%;
    height: auto;
    perspective: none;

    display: flex;
    justify-content: center;
    align-items: center;
  }

  .magnet-card {
    position: relative;
    inset: auto;
    transform: none !important;

    width: 220px;
    height: 220px;

    box-shadow:
      0 12px 30px rgba(0,0,0,0.18);
  }

  /* MOSTRA APENAS O PRINCIPAL */
  .secondary-magnet {
    display: none;
  }
}
/* ===== FOOTER MOBILE (CORREÇÃO FINAL) ===== */
@media (max-width: 768px) {

  .footer {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr; /* ⬅ uma coluna */
    gap: 32px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    margin: 12px auto 0;
    max-width: 280px;
  }

  .footer-links a {
    margin-bottom: 10px;
  }

  .footer-social .socials {
    justify-content: center;
  }

  .footer-bottom {
    padding: 16px 0;
    font-size: 0.8rem;
  }
}
.story-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.story-viewer.hidden {
  display: none;
}

.story-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.story-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 5;
}

.story-zone.left {
  left: 0;
}

.story-zone.right {
  right: 0;
}

.story-header {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

#closeStory {
  background: none;
  border: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}
