/* 
 * ESTILO VISUAL PREMIUM, EDITORIAL & MOBILE-FIRST - MIMOS DA FER
 * Design System: Alternância de dobras claras (Creme/Linho) e escuras (Espresso Veludo).
 * Tipografia: Cormorant Garamond (Elegância leve) & Montserrat (Alta legibilidade comercial).
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* --- VARIÁVEIS DE DESIGN SYSTEM (Champagne, Dusty Rose & Pastel Mint) --- */
:root {
  /* Cores Dobras Escuras (Veludo / Espresso) */
  --bg-dark-primary: #0D0A0A;
  --bg-dark-secondary: #141010;
  --bg-dark-tertiary: #1B1616;
  --border-dark: rgba(198, 99, 119, 0.12); /* Use subtle brand rose for borders */
  
  /* Cores Dobras Claras (Creme / Linho / Editorial) */
  --bg-light-primary: #FAF7F2;     /* Fundo creme acolhedor, limpo e sofisticado */
  --bg-light-secondary: #F5EFEB;   /* Creme com toque sutil de rosa da logo */
  --border-light: rgba(198, 99, 119, 0.08); /* Delicate rose accent for borders */
  
  /* Cores da Logo da Fer (Elegantes, Afetuosas & Premium) */
  --color-rose: #C66377;           /* O rosa chique da logo */
  --color-rose-light: #F7E6E8;     /* Rosa super claro para sutilezas e hovers */
  --color-rose-pastel: #E4A3B0;    /* Rosa pastel para hovers e botões secundários */
  --color-mint: #B4DBDC;           /* O azul/verde pastel delicado da logo */
  --color-mint-dark: #6C9A9C;      /* Azul/verde de contraste */
  
  /* Textos (Legibilidade Otimizada) */
  --text-on-dark: #FCFAF6;        /* Marfim para fundos escuros */
  --text-on-dark-sub: #E5DCD3;    /* Linho claro para altíssima legibilidade em escuros */
  
  --text-on-light: #2C2520;       /* Café escuro para altíssimo contraste em claros */
  --text-on-light-sub: #6E6359;   /* Tom médio para apoios em claros */
  
  /* Tipografia */
  --font-title: 'Cinzel', serif;   /* Revertido para Cinzel de acordo com a primeira versão */
  --font-body: 'Montserrat', sans-serif;
  
  /* Transições suaves */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* Altura mínima de toque recomendada para celulares */
  --touch-target: 48px;
}

/* --- RESET & CONFIGURAÇÕES BÁSICAS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base 16px para garantir boa legibilidade */
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-light-primary); /* Padrão claro */
  color: var(--text-on-light);
}

/* Reset Global de Links (Remove azul e sublinhados indesejados) */
a, a:visited, a:hover, a:active {
  color: inherit !important;
  text-decoration: none !important;
  transition: var(--transition-fast);
}

/* Scrollbar sutil */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-rose);
  border-radius: 3px;
}

/* --- TYPOGRAPHY & LEGIBILIDADE --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: 1.5px; /* Cinzel se beneficia muito de maior espaçamento */
  line-height: 1.3;
  text-transform: uppercase; /* Estilo gravado clássico e luxuoso */
}

/* Garante que textos de parágrafos tenham tamanho legível em qualquer lugar */
p {
  font-size: 1.05rem; /* Aumentado de 1rem para 1.05rem para leitura perfeita */
  font-weight: 400; /* Regular para legibilidade comercial perfeita */
}

/* --- BOTÕES PREMIUM (MOBILE-FIRST) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem; /* Legível */
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  gap: 8px;
  min-height: var(--touch-target);
  text-align: center;
}

/* Botão Rosa Destaque (Inspirado na Logo da Fer) */
.btn-primary {
  background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-pastel) 100%);
  color: #FFFFFF !important; /* Branco de alto contraste */
  border: none;
  box-shadow: 0 4px 12px rgba(198, 99, 119, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 99, 119, 0.4);
  background: linear-gradient(135deg, var(--color-rose-pastel) 0%, var(--color-rose) 100%);
}

/* Botão Secundário Azul/Rosa Delicado */
.btn-secondary {
  background: transparent;
  color: var(--color-rose-pastel) !important;
  border: 1px solid var(--color-rose-pastel);
}

.btn-secondary:hover {
  background: rgba(198, 99, 119, 0.06);
  border-color: var(--color-rose);
  color: var(--color-rose) !important;
  transform: translateY(-2px);
}

/* Botão WhatsApp Verde */
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

/* --- HEADER FLUTUANTE CLEAN (PILL SHAPE) --- */
.header-main {
  position: fixed;
  top: 15px; /* Flutua do topo */
  left: 50%;
  transform: translateX(-50%);
  width: 92%; /* Deixa margens nas laterais */
  max-width: 1000px; /* Largura luxo compacta */
  z-index: 1000;
  background: rgba(13, 10, 10, 0.78); /* Vidro escuro translúcido */
  border: 1px solid rgba(198, 99, 119, 0.16); /* Borda fina rosa chique */
  border-radius: 50px; /* Cantos pílula arredondados */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  padding: 0;
}

.header-main.scrolled {
  top: 10px;
  background: rgba(13, 10, 10, 0.94);
  border-color: rgba(198, 99, 119, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.nav-container {
  max-width: 100%;
  padding: 0.5rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px; /* Altura slim compacta e clean */
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  border: none !important;
}

.nav-logo-img {
  width: 36px; /* Tamanho delicado e elegante */
  height: 36px;
  border-radius: 50%; /* Formato de círculo perfeito solicitado */
  object-fit: cover;
  border: 1px solid var(--color-rose-pastel); /* Borda rosa fina e chique */
  margin-right: 10px; /* Distância do texto logo */
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
}

.logo-link:hover .nav-logo-img {
  transform: scale(1.05);
  border-color: var(--color-rose);
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-on-dark);
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--color-mint); /* Azul bebê para destacar o nome da Fer elegantemente */
  font-weight: 400;
  font-style: italic;
}

/* Hamburger Menu Mobile (Estilizado) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-rose-pastel); /* Rosa da logo para o menu mobile */
  transition: var(--transition-smooth);
}

/* Menu Lateral Estilo Cartão Flutuante no Mobile-First */
.nav-menu {
  position: fixed;
  top: 15px; /* Alinhado ao topo do menu flutuante */
  right: -100%;
  width: 80%;
  max-width: 280px;
  height: calc(100vh - 30px); /* Margem no topo e no rodapé */
  background: rgba(13, 10, 10, 0.96);
  border: 1px solid rgba(230, 197, 148, 0.2);
  border-radius: 20px; /* Cantos redondos de cartão flutuante */
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 80px 2rem 2rem;
  gap: 1.8rem;
  transition: var(--transition-smooth);
  box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.nav-menu.active {
  right: 15px; /* Senta flutuando a 15px da margem lateral */
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #FFFFFF !important; /* Visibilidade total no fundo escuro */
  display: block;
  padding: 0.5rem 0;
  text-decoration: none !important;
  border: none !important;
  white-space: nowrap; /* Evita quebra feia de nomes como 'Método TL' */
  transition: var(--transition-fast);
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--color-rose-pastel) !important; /* Destaque com o rosa da logo */
}

.nav-cta {
  display: none; /* Escondido por padrão no mobile */
}

/* Animação Hamburger para X */
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ==========================================================================
   ESTILOS DAS DOBRAS (SEÇÕES ALTERNADAS)
   ========================================================================== */

/* --- DOBRA 1: HERO (Dobra Escura Premium) --- */
.hero-section {
  background-color: var(--bg-dark-primary);
  color: var(--text-on-dark);
  min-height: 100vh;
  padding: 110px 0 3.5rem;
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--border-dark);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}

.hero-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-mint); /* Lindo azul bebê para destacar a tag superior */
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-title span {
  font-style: italic;
  color: var(--color-rose);
}

.hero-subtitle {
  font-size: 1.05rem; /* Ampliado */
  color: var(--text-on-dark-sub);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 2.2rem;
  font-weight: 400; /* Legibilidade perfeita */
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.hero-buttons .btn {
  width: 100%;
}

/* CARROSSEL VERTICAL (HERO) */
.hero-visual {
  width: 100%;
  max-width: 380px;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.hero-carousel-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 10, 10, 0.4), transparent 45%);
  pointer-events: none;
}

.hero-carousel-dots {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.hero-carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-carousel-dots .dot.active {
  background: var(--color-rose); /* Rosa da logo no ponto ativo */
  transform: scale(1.4);
}

.hero-badge {
  display: none; /* Removido do mobile para evitar IA look */
}


/* --- DOBRA 2: DIFERENCIAIS (Faixa Clara Otimizada) --- */
.ribbon-section {
  background-color: var(--color-rose-light); /* Lindo fundo rosa suave baseado na logo da Fer */
  border-bottom: 1px solid rgba(198, 99, 119, 0.15);
  padding: 3rem 0; /* ligeiramente reduzido para manter proporção no mobile */
  color: var(--text-on-light);
}

.ribbon-container {
  max-width: 800px; /* Centrado e compacto para grade 2x2 elegante no desktop */
  margin: 0 auto;
  padding: 0 1rem; /* margem reduzida para dar mais espaço aos cards no mobile */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem; /* gap mais estreito para aproveitar melhor a largura em telas menores */
  align-items: stretch; /* Garante que os cards da mesma linha fiquem com a mesma altura */
}

.ribbon-item {
  background-color: #FFFFFF;
  border: 1px solid rgba(198, 99, 119, 0.08);
  border-radius: 16px;
  padding: 1.8rem 0.8rem; /* padding horizontal reduzido para dar espaço ao texto */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  height: 100%; /* Força o card a preencher 100% da altura da linha da grade */
  box-shadow: 0 10px 25px rgba(198, 99, 119, 0.03);
  transition: var(--transition-smooth);
}

.ribbon-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-rose);
  box-shadow: 0 15px 30px rgba(198, 99, 119, 0.08);
}

.ribbon-icon {
  font-size: 2rem;
  color: var(--color-rose);
  margin-bottom: 2px;
}

.ribbon-title {
  font-family: var(--font-title);
  font-size: 0.95rem; /* Ajustado para caber o título em menos linhas */
  font-weight: 600;
  color: var(--text-on-light);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.ribbon-desc {
  font-size: 0.82rem; /* Compacto e legível no mobile */
  color: var(--text-on-light-sub);
  max-width: 100%;
  line-height: 1.5;
  font-weight: 400;
}


/* --- SEÇÃO CONTAINER PADRÃO (Para dobras gerais) --- */
.section {
  padding: 4.5rem 0;
  position: relative;
}

/* Alternância de Dobras (Clara/Escura) */
.section-light {
  background-color: var(--bg-light-primary);
  color: var(--text-on-light);
}

.section-dark {
  background-color: var(--bg-dark-secondary);
  color: var(--text-on-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.section-logo-circle {
  width: 72px; /* Tamanho proporcional e visível */
  height: 72px;
  border-radius: 50%; /* Formato de círculo perfeito solicitado */
  object-fit: cover;
  border: 2px solid var(--color-rose); /* Borda rosa da logo */
  box-shadow: 0 4px 12px rgba(198, 99, 119, 0.12);
  transition: var(--transition-smooth);
}

.section-logo-circle:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 24px rgba(198, 99, 119, 0.25);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.8rem;
}

.section-tag {
  font-size: 0.88rem; /* Legível */
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-rose); /* Rosa dusty da logo */
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.section-dark .section-tag {
  color: var(--color-mint); /* Lindo azul bebê para contraste nos fundos escuros */
}

.section-title {
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem; /* Ampliado para excelente legibilidade */
  font-weight: 400; /* Regular legível */
  line-height: 1.7;
  color: var(--text-on-light-sub);
}

.section-dark .section-subtitle {
  color: var(--text-on-dark-sub);
}


/* --- DOBRA 3: VITRINE DE PRODUTOS (Dobra Clara Editorial) --- */
/* --- DOBRA 3: VITRINE DE PRODUTOS (Carrossel Galeria Infinita em Movimento) --- */
.marquee-container {
  overflow: hidden;
  width: 100%;
  padding: 1.5rem 0;
  position: relative;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
  position: relative;
  /* Máscara de degradê premium que esfumaça as bordas do carrossel nas laterais da tela */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-left {
  animation: scroll-left 38s linear infinite;
}

.marquee-right {
  animation: scroll-right 38s linear infinite;
}

/* Pausa suavemente o movimento infinito ao passar o mouse */
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-slide {
  flex-shrink: 0;
  width: 250px; /* Tamanho proporcional e luxuoso */
  height: 250px; /* Formato quadrado que valoriza as contas dos terços */
  margin-right: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.marquee-slide:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: var(--color-rose);
  box-shadow: 0 8px 25px rgba(198, 99, 119, 0.12);
}

.marquee-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.marquee-slide:hover .marquee-img {
  transform: scale(1.05);
}

.marquee-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 10, 0.12); /* Sombreado leve */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.marquee-slide:hover .marquee-overlay {
  opacity: 1;
}

.marquee-zoom-icon {
  width: 44px;
  height: 44px;
  background: rgba(250, 247, 242, 0.95);
  border: 1px solid var(--color-rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-rose);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.marquee-slide:hover .marquee-zoom-icon {
  transform: scale(1);
}


/* --- DOBRA 4: SOBRE A FER (Dobra Escura Íntima) --- */
#sobre {
  padding: 4rem 0; /* Dobra compacta e focada para reduzir esticamento vertical */
}

@media (min-width: 768px) {
  #sobre {
    padding: 5rem 0; /* Padding sutil e proporcional no desktop */
  }
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Reduzido de 3rem para 1.5rem no mobile para aproximar o conteúdo */
  align-items: center;
}

.about-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.about-img-frame {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-header-mobile {
  display: block;
  text-align: center;
  margin-bottom: 0.5rem; /* Reduzido de 2rem para 0.5rem no mobile */
  width: 100%;
}

.about-header-mobile .section-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
}

.about-header-desktop {
  display: none;
}

.about-content h2,
.about-header-mobile h2,
.about-header-desktop h2 {
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 400;
}

.about-content h2 span,
.about-header-mobile h2 span,
.about-header-desktop h2 span {
  color: var(--color-mint); /* Azul bebê para destacar "Fer" no escuro */
  font-style: italic;
}

.about-text-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  color: var(--text-on-dark-sub);
  font-weight: 400; /* Legibilidade perfeita no fundo escuro */
  font-size: 1.05rem; /* Aumentado de 0.92rem para 1.05rem */
  line-height: 1.8;
}

.about-text-group p strong {
  color: var(--text-on-dark);
  font-weight: 400;
}

.about-signature {
  margin-top: 2rem;
  text-align: center;
}

.signature-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--color-rose);
}

.signature-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-on-dark-sub);
  letter-spacing: 1px;
}


#metodo-tl {
  background-color: #000000;
}

/* --- DOBRA 5: CURSO MTL (Dobra Escura Destaque Dourado) --- */
.mtl-block {
  background: #000000; /* Fundo totalmente preto para emular transparência na logo */
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}

/* Novo layout de grid flexível simétrico */
.mtl-modules-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.mtl-module-card {
  background: rgba(252, 250, 246, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1 1 calc(50% - 1.5rem); /* 2 colunas por padrão no mobile se couber */
  min-width: 280px;
  transition: var(--transition-smooth);
}

.mtl-module-card:hover {
  border-color: var(--color-rose);
  background: rgba(198, 99, 119, 0.02);
  transform: translateY(-2px);
}

@media (min-width: 992px) {
  .mtl-module-card {
    flex: 1 1 calc(32% - 1.5rem); /* 3 colunas simétricas e centralizadas no desktop */
  }
}

.mtl-action-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  width: 100%;
}

.mtl-join-btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 0.9rem;
  animation: pulse-rose 2.5s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-rose {
  0% { box-shadow: 0 0 0 0 rgba(198, 99, 119, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(198, 99, 119, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 99, 119, 0); }
}

.mtl-logo-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mtl-logo-img {
    margin: 0 0 1.5rem; /* Alinha à esquerda em telas maiores */
  }
}

.mtl-badge {
  background: rgba(198, 99, 119, 0.08);
  border: 1px solid rgba(198, 99, 119, 0.16);
  color: var(--color-rose-pastel);
  padding: 0.4rem 1rem;
  font-size: 0.72rem; /* Aumentado */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.mtl-title {
  font-size: clamp(1.6rem, 6vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.mtl-title span {
  color: var(--color-rose);
  font-style: italic;
}

.mtl-desc {
  color: var(--text-on-dark-sub);
  font-weight: 400; /* Regular */
  font-size: 1.05rem; /* Aumentado */
  line-height: 1.8;
  margin-bottom: 2rem;
}

.mtl-modules-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mtl-module-card {
  background: rgba(252, 250, 246, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.mtl-module-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(198, 99, 119, 0.08);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mtl-module-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mtl-module-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mtl-module-num {
  font-size: 0.68rem; /* Aumentado */
  text-transform: uppercase;
  color: var(--color-rose);
  letter-spacing: 1px;
  font-weight: 600;
}

.mtl-module-name {
  font-family: var(--font-title);
  font-size: 0.95rem; /* Aumentado */
  font-weight: 500;
  color: var(--text-on-dark);
}


/* --- DOBRA 6: PROVAS SOCIAIS (Dobra Clara Leitura Limpa) --- */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-light-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.stars {
  color: var(--color-rose); /* Estrelas rosa chique da logo */
  font-size: 1.15rem; /* Aumentado significativamente para melhor visualização */
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 1.08rem; /* Letras maiores para excelente conforto visual */
  color: var(--text-on-light); /* Café escuro com alto contraste */
  font-style: italic;
  line-height: 1.8; /* Espaçamento respirável */
  font-weight: 400; /* Peso regular, nada de texto ultra fino invisível! */
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-rose);
  background-color: var(--bg-light-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  color: var(--color-rose);
  font-weight: 500;
  font-size: 0.9rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.95rem; /* Aumentado */
  font-weight: 600;
  color: var(--text-on-light);
}

.author-loc {
  font-size: 0.82rem; /* Aumentado */
  color: var(--text-on-light-sub);
  font-weight: 500;
}


/* --- DOBRA 7: CTA DE FECHAMENTO (Dobra Escura Fechamento) --- */
.final-cta-section {
  background-color: var(--bg-dark-primary);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--border-dark);
}

.final-cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.final-cta-title {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.final-cta-subtitle {
  font-size: 1.05rem; /* Aumentado */
  color: var(--text-on-dark-sub);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.final-cta-section .btn-whatsapp {
  padding: 1.1rem 2.2rem;
  font-size: 0.85rem;
  width: 100%;
  animation: pulse-green 2.5s infinite;
}


/* --- RODAPÉ (FOOTER) --- */
.footer-main {
  background-color: #060505;
  border-top: 1px solid var(--border-dark);
  padding: 3.5rem 0 2rem;
  color: var(--text-on-dark-sub);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand-desc {
  font-size: 0.95rem; /* Aumentado */
  line-height: 1.7;
  color: var(--text-on-dark-sub);
  font-weight: 400;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 0.95rem; /* Aumentado */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-rose);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.88rem; /* Aumentado */
}

.footer-links a:hover {
  color: var(--color-mint); /* Hover em azul bebê */
}

.social-links-list {
  display: flex;
  gap: 1rem;
}

.social-link-icon {
  width: 42px; /* Aumentado */
  height: 42px; /* Aumentado */
  border-radius: 50%;
  background: var(--bg-dark-tertiary);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-sub);
}

.social-link-icon:hover {
  border-color: var(--color-mint); /* Borda em azul bebê no hover */
  color: var(--color-mint); /* Ícone em azul bebê no hover */
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.8rem; /* Aumentado */
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}


/* --- LIGHTBOX MODAL --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 10, 10, 0.97);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--color-mint); /* Borda azul bebê fina */
}

.lightbox-caption {
  margin-top: 1rem;
  color: var(--text-on-dark);
  font-family: var(--font-title);
  font-size: 1.1rem;
  text-align: center;
  padding: 0 1rem;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
}


/* --- BOTÃO WHATSAPP FLUTUANTE --- */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  z-index: 999;
}


/* --- ANIMATION REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* --- DOBRA PRETA FINA (AGÊNCIA) --- */
.developer-footer {
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-on-dark-sub);
  letter-spacing: 0.5px;
}

.developer-footer p {
  margin: 0;
  font-family: var(--font-body);
}

.developer-footer a {
  color: var(--color-rose);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.developer-footer a:hover {
  color: var(--color-mint);
  text-decoration: underline;
}


/* ==========================================================================
   MEDIA QUERIES - UP-SCALING PARA MÍDIAS MAIORES (TABLET & DESKTOP)
   ========================================================================== */

/* --- TABLETS (min-width: 768px) --- */
@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  
  .hero-section {
    padding: 120px 0 4.5rem;
  }
  
  .hero-container {
    flex-direction: row; /* Alinhamento lado a lado no tablet */
    text-align: left;
    gap: 3rem;
  }
  
  .hero-content {
    flex: 1.1;
  }
  
  .hero-visual {
    flex: 0.9;
    max-width: none;
  }
  
  .hero-carousel-container {
    height: 420px;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .hero-buttons .btn {
    width: auto;
  }
  
  .ribbon-container {
    grid-template-columns: repeat(2, 1fr); /* Mantém a elegante grade 2x2 no desktop */
    gap: 2rem;
    padding: 0 1.5rem;
  }
  
  .ribbon-item {
    padding: 2.5rem 2rem;
    gap: 12px;
  }
  
  .ribbon-icon {
    font-size: 2.4rem;
    margin-bottom: 4px;
  }
  
  .ribbon-title {
    font-size: 1.15rem;
  }
  
  .ribbon-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 2rem;
  }
  
  .about-grid {
    flex-direction: row;
    gap: 4rem;
    justify-content: center; /* Mantém as duas colunas perfeitamente centralizadas */
  }
  
  .about-visual {
    flex: 0.9;
    max-width: 360px; /* Mantém o retrato elegante e proporcional no desktop */
  }
  
  .about-content {
    flex: 1.1;
  }
  
  .about-header-mobile {
    display: none;
  }
  
  .about-header-desktop {
    display: block;
  }
  
  .about-content h2, 
  .about-header-desktop h2,
  .about-signature {
    text-align: left;
  }
  
  .mtl-block {
    padding: 3.5rem;
    gap: 2.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  }
  
  .final-cta-section .btn-whatsapp {
    width: auto;
  }
  
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-grid > div {
    flex: 1;
  }
  
  .footer-brand {
    flex: 1.3;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --- DESKTOPS & TABLETS HORIZONTAIS (min-width: 992px) --- */
@media (min-width: 992px) {
  .nav-container {
    padding: 0.8rem 2.2rem;
    min-height: 70px;
  }
  
  .logo-text {
    font-size: 1.35rem;
  }
  
  .menu-toggle {
    display: none; /* Oculta hambúrguer */
  }
  
  /* Oculta o link Contato no desktop já que o botão Encomendar se destaca no rodapé e vitrines */
  .nav-menu .nav-item-contact-mobile {
    display: none !important;
  }
  
  .nav-menu {
    position: static;
    flex-direction: row;
    width: auto;
    max-width: none !important; /* IMPORTANTE: Remove a restrição de 280px do mobile que causava estouro */
    height: auto;
    background: transparent;
    border: none !important; /* Remove qualquer borda residual */
    box-shadow: none;
    padding: 0;
    gap: 1.8rem; /* Espaço generoso e sofisticado */
    display: flex;
    align-items: center;
  }
  
  .nav-item a {
    font-size: 0.82rem !important; /* Aumentado para leitura perfeita */
    font-weight: 500 !important;
    color: #FFFFFF !important; /* Branco brilhante de alto contraste */
    position: relative;
    padding: 0.4rem 0;
    letter-spacing: 1.2px;
  }
  
  .nav-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-rose); /* Rosa delicado da logo para a linha ativa */
    transition: var(--transition-smooth);
  }
  
  .nav-item a:hover::after,
  .nav-item.active a::after {
    width: 100%;
  }
  
  .nav-cta {
    display: flex;
  }
  
  .hero-container {
    gap: 5rem;
  }
  
  .hero-carousel-container {
    height: 480px;
  }
  
  .section {
    padding: 7.5rem 0;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
  }
  
  .about-grid {
    gap: 5.5rem;
  }
  
  .about-img-frame {
    height: 460px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
  }
  
  .floating-whatsapp {
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
}
