/* ==================== MAIN STYLES - Deferred Load ==================== */

/* Utilities */
.section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    contain: layout paint;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Completo */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.header-nav {
    display: none;
    gap: var(--spacing-lg);
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--primary);
}

.header-cta {
    display: flex;
    gap: var(--spacing-sm);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
    
    .hero::after {
        display: none;
    }
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(213, 153, 53, 0.1);
    border: 1px solid var(--border);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary);
}

.hero .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(0.200rem, 1.5vw, 1.5rem);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-date {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text-primary);
}

/* ===========================
   CTA — PREMIUM
   =========================== */

.hero-cta{
  gap: 14px;
}

.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: none;              /* fica mais premium */
  line-height: 1;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
  will-change: transform;
}

/* Primário (ouro real) */
.btn-primary{
  color: #1a1206;
  border: 1px solid rgba(255, 214, 140, .35);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 40%),
    linear-gradient(135deg, #f7d18a 0%, #d9a246 35%, #b77a1b 70%, #f2c36f 100%);
  box-shadow:
    0 18px 45px rgba(0,0,0,.50),
    0 10px 24px rgba(217,162,70,.22),
    inset 0 1px 0 rgba(255,255,255,.25);
}

/* brilho mais elegante (passa rápido e curto) */
.btn-primary.shine::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255,.0) 35%,
    rgba(255,255,255,.42) 50%,
    rgba(255,255,255,.0) 65%,
    transparent 100%
  );
  transform: translateX(-130%);
  transition: transform .0s;
  pointer-events:none;
  mix-blend-mode: screen;
  opacity: .85;
}

.btn-primary.shine:hover::after{
  animation: shine-pass .75s ease-out 1;
}

@keyframes shine-pass{
  0%{ transform: translateX(-130%); }
  100%{ transform: translateX(130%); }
}

/* hover/active */
.btn-primary:hover{
  transform: translateY(-2px);
  filter: brightness(1.05) saturate(1.05);
  box-shadow:
    0 22px 55px rgba(0,0,0,.58),
    0 16px 28px rgba(217,162,70,.26),
    inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:active{
  transform: translateY(0px) scale(.99);
}

/* Secundário (glass premium) */
.btn-secondary{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.20);
}
.btn-secondary:active{
  transform: translateY(0px) scale(.99);
}

/* foco acessível (teclado) */
.btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(217,162,70,.28),
    0 0 0 6px rgba(0,0,0,.55),
    0 18px 45px rgba(0,0,0,.50);
}

/* Mobile: CTA largura boa e alinhado */
@media (max-width: 520px){
  .hero-cta{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn{
    width: 100%;
    padding: 15px 18px;
  }
}


.hero-visual {
    display: none;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(213, 153, 53, 0.2) 0%, rgba(213, 153, 53, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-2xl);
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-cta {
        justify-content: flex-start;
    }
    
    .hero-visual {
        display: block;
    }
}

/* ==========================================
   HERO BACKGROUND RESPONSIVO
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Desktop padrão */
  background: url("../assets/images/hero-desktop.webp") center center / cover no-repeat;
}

/* Overlay elegante */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  
  z-index: 1;
}

/* Conteúdo acima do overlay */
.hero .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero {
    background: url("../assets/images/hero-desktop.webp") center top / cover no-repeat;
    min-height: 90vh;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.65) 50%,
      rgba(0,0,0,0.85) 100%
    );
  }
}


/* Animations */
@keyframes shine {
    0% { background-position: -200%; }
    100% { background-position: 200%; }
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    animation: pulse-scale 2s ease-in-out infinite, shake 0.5s ease-in-out;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn span {
    position: relative;
    z-index: 1;
}

.shine {
    position: relative;
    overflow: hidden;
    background-size: 200% 100%;
    animation: pulse-scale 2s ease-in-out infinite;
}

/* Pillars */
.pillars {
    background: var(--bg-dark);
  
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
}

.pillars-intro {
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.pillar-card {
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.pillar-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-dark);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.pillar-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Proof */
.proof {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.proof-item {
    padding: var(--spacing-lg);
}

.proof-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.proof-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials {
    background: var(--bg-dark);
}

.carousel {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-md) 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: var(--spacing-xl);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin: 0 var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-dark);
}

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-subtle);
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: calc(50% - var(--spacing-md));
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        min-width: calc(33.333% - var(--spacing-md));
    }
}

/* Steps */
.how-it-works {
    background: var(--bg-dark);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.step {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-dark);
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Gallery Carousel */
.gallery {
    background: var(--bg-surface);
}

.gallery-carousel {
    position: relative;
    overflow: hidden;
    margin-top: var(--spacing-xl);
    border-radius: var(--radius-xl);
}

.gallery-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 var(--spacing-sm);
}

.gallery-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(213, 153, 53, 0.2) 0%, rgba(213, 153, 53, 0.1) 100%);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.gallery-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D59935' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.3;
}

.gallery-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    color: var(--text-primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn-prev {
    left: var(--spacing-md);
}

.gallery-btn-next {
    right: var(--spacing-md);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-subtle);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

.gallery-dot:hover {
    background: var(--primary-light);
}

@media (min-width: 768px) {
    .gallery-slide {
        min-width: 50%;
    }
    
    .gallery-placeholder,
    .gallery-slide img {
        height: 500px;
    }
}

@media (min-width: 1024px) {
    .gallery-slide {
        min-width: 33.333%;
    }
    
    .gallery-placeholder,
    .gallery-slide img {
        height: 600px;
    }
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.benefit-card {
    padding: var(--spacing-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(213, 153, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    color: var(--primary);
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.faq-list {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    background: var(--bg-elevated);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-question:hover {
    background: rgba(213, 153, 53, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-whatsapp {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-subtle);
}

.faq-whatsapp p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-surface);
    padding: var(--spacing-2xl) 0 var(--spacing-md);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-contact-item strong {
    color: var(--text-primary);
    min-width: 80px;
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.footer-cnpj {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--spacing-lg);
}

/* Form */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(213, 153, 53, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox-label a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
}

.form-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    display: none;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    display: block;
}

/* Thank You Page */
.thank-you-page {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.thank-you-page.active {
    display: flex;
}

.thank-you-content {
    max-width: 600px;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-xl);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.thank-you-content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.thank-you-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.countdown {
    font-family: var(--font-display);
    font-weight: 700;
    margin: var(--spacing-xl) 0;
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-dark);
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.countdown-label-small {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.7);
    text-transform: capitalize;
    margin-top: var(--spacing-xs);
    font-weight: 500;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print */
@media print {
    .topbar,
    .header,
    .hero-cta,
    .modal,
    .carousel-controls,
    .footer-links {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* ===== PATCH: layout HERO no mobile (igual img2) ===== */
@media (max-width: 767px){
  .hero-grid{ gap: 14px !important; }

  .hero-content{
    text-align: center !important;
    padding-top: 180px; /* empurra o texto pra baixo, deixando a foto “respirar” */
  }

  .hero-badge{
    margin: 0 auto 12px !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-size: .82rem !important;
  }

  .hero h1{
    font-size: 1.85rem !important;
    line-height: 1.05 !important;
    margin-bottom: 10px !important;
  }

  .hero-subtitle{
    font-size: .92rem !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
    opacity: .95;
  }

  .hero-date{
    font-size: .92rem !important;
    margin-bottom: 16px !important;
    opacity: .95;
  }

  .hero-cta{
    display: grid !important;
    gap: 10px !important;
    justify-items: center !important;
  }

  .hero-cta .btn{
    width: min(320px, 100%) !important;
    border-radius: 999px !important;
  }

  /* “Saiba Mais” com cara de botão menor (igual img2) */
  .hero-cta .btn-secondary{
    padding: 12px 18px !important;
    font-weight: 700 !important;
    opacity: .95;
  }
}

/* =============================
   CONTROLE TEXTO HERO
   ============================= */

/* Desktop padrão */
.hero-text-mobile{
  display:none;
}

.hero-text-desktop{
  display:block;
}

/* Mobile */
@media (max-width: 767px){

  .hero-text-desktop{
    display:none;
  }

  .hero-text-mobile{
    display:block;
  }

}

/* ===== separação texto hero ===== */
.hero .hero-text-mobile { display: none !important; }
.hero .hero-text-desktop { display: block !important; }

@media (max-width: 767px){
  .hero .hero-text-desktop { display: none !important; }
  .hero .hero-text-mobile  { display: block !important; }
}

/* =========================
   SOBRE (3 pessoas)
   ========================= */

.section{
  padding: clamp(48px, 7vw, 90px) 0;
}

.section-head{
  text-align: center;
  max-width: 820px;
  margin: 0 auto 26px;
}

.section-kicker{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 31, .28);
  background: rgba(255, 179, 31, .08);
  color: rgba(255, 179, 31, .92);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 12px;
}

.section-title{
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.1;
}

.section-subtitle{
  margin: 0 auto;
  color: rgba(255,255,255,.78);
  font-size: 1rem;
  line-height: 1.6;
}

.about{
  position: relative;
}

.about-grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.person-text{
    font-size: 1.1 rem;
    justify-content: center;
}

.person-card{
  text-align: center;
  padding: 18px 16px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
}

.person-photo{
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255,179,31,.95), rgba(255,179,31,.20));
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
}

.person-photo img{
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;       /* encaixa e não distorce */
  object-position: center; /* centraliza a pessoa */
  display: block;
  background: #111;
}

.person-name{
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}

.person-pill{
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,179,31,.22);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.84);
  font-size: .92rem;
  line-height: 1.2;
  max-width: 240px;
}

/* Responsivo */
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; }
  .person-card{ max-width: 520px; margin: 0 auto; }
  .person-photo{ width: 124px; height: 124px; }
}

/* =========================================================
   PATCH FINAL — PERFORMANCE + CONSISTÊNCIA (2026-02)
   ========================================================= */

/* HERO: garante imagem correta no mobile (sem depender de ordem) */
@media (max-width: 767px){
  .hero{
    background: url("../assets/images/hero-mobile.webp") center top / cover no-repeat !important;
    min-height: 100vh !important;
  }
}

/* Botões: desliga animações infinitas (reduz repaints) */
.btn::before,
.btn-primary::after{ content: none !important; }

.btn-primary,
.btn-secondary,
.btn{
  animation: none !important;
}

/* =========================
   GALERIA COMPACTA AJUSTADA
   ========================= */

.gallery-carousel{
  overflow: hidden;
  margin-top: 40px; /* reduz espaço superior */
}

.gallery-carousel-track{
  display:flex;
  gap: 1px;               /* seu gap ajustado */
  will-change: transform;
}

.gallery-slide{ flex: 0 0 auto; }
.gallery-slide img{ width: clamp(150px, 18vw, 240px); height:auto; }


.gallery-slide img:hover{
  transform: scale(1.04);
}

/* =========================
   GALERIA — RESPONSIVO MOBILE
   ========================= */
/* =========================
   GALERIA — SCROLL + SNAP (mobile perfeito)
   ========================= */

.gallery-carousel{
  position: relative;
  overflow: hidden;
  margin-top: clamp(18px, 4vw, 40px);
}

/* Track vira área de scroll horizontal */
.gallery-carousel-track{
  display: flex;
  gap: 8px;
  align-items: center;

  overflow-x: auto;              /* <-- essencial */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory; /* snap */
  scroll-behavior: smooth;

  padding: 8px 52px 16px;        /* espaço pras setas */
  will-change: scroll-position;
  scrollbar-width: none;
}
.gallery-carousel-track::-webkit-scrollbar{ display:none; }

/* Slide */
.gallery-slide{
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.gallery-slide img{
  width: clamp(150px, 18vw, 240px);
  height: auto;
  display: block;
  border-radius: 16px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Mobile: imagens maiores e menos respiro */
@media (max-width: 767px){
  .gallery-carousel-track{
    gap: 8px;
    padding: 8px 44px 14px;
  }
  .gallery-slide img{
    width: clamp(170px, 72vw, 260px); /* fica bom no mobile */
  }
}

/* Setas centralizadas */
.gallery-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

/* garante que as setas não roubem o swipe fora delas */
.gallery-btn{ pointer-events:auto; }