.elementor-kit-8{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-8.el-is-editing{--global-palette1:#2B6CB0;--global-palette2:#215387;--global-palette3:#1A202C;--global-palette4:#2D3748;--global-palette5:#4A5568;--global-palette6:#718096;--global-palette7:#EDF2F7;--global-palette8:#F7FAFC;--global-palette9:#ffffff;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.elementor-widget:not(:last-child){margin-bottom:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1025px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:768px;}}/* Start custom CSS *//* ============================================================
   TEDY DESIGN SYSTEM — CSS TOKENS & COMPONENTS
   Use no Elementor: Site Settings > Custom CSS
   ou no widget HTML com <style>
   ============================================================ */

:root {
  /* ===== Cores ===== */
  --color-raspberry-pulse: #fd1774;
  --color-ink-black: #030712;
  --color-lavender-mist: #e5d6ff;
  --color-mint-cream: #e3f7d6;
  --color-butter-cream: #fff1cd;
  --color-sky-wash: #ddf5fb;
  --color-sand-wash: #f4efe9;
  --color-carbon: #171717;
  --color-steel: #6b7280;
  --color-silver: #e5e7eb;
  --color-pure-white: #ffffff;
  --color-lime-zest: #64d71e;
  --color-teal-current: #4bb7cf;

  /* ===== Tipografia ===== */
  --font-montreal: 'Montreal Neue', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-georgia: 'Georgia', 'Source Serif Pro', serif;

  /* ===== Espaçamento ===== */
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-28: 28px;
  --spacing-32: 32px;
  --spacing-36: 36px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-56: 56px;
  --spacing-72: 72px;
  --spacing-80: 80px;
  --spacing-84: 84px;
  --spacing-96: 96px;
  --spacing-112: 112px;
  --section-gap: 80px;
  --max-width: 1200px;
  --card-padding: 24px;
  --element-gap: 16px;

  /* ===== Bordas ===== */
  --radius-cards: 32px;
  --radius-badges: 32px;
  --radius-images: 24px;
  --radius-buttons: 999px;
  --radius-nav-pills: 999px;
  --radius-small-cards: 16px;
  --radius-feature-cards: 20px;

  /* ===== Sombras ===== */
  --shadow-xl: rgba(17, 24, 39, 0.16) 0px 28px 52px 0px;
  --shadow-subtle: rgb(255, 241, 205) 0px 0px 0px 1px;
  --shadow-cta: rgba(253, 23, 116, 0.6) 0px 14px 35px -18px;
  --shadow-float: rgba(255, 255, 255, 0.08) 0px 1px 0px 0px inset,
                  rgba(255, 255, 255, 0.03) 0px -1px 0px 0px inset,
                  rgba(0, 0, 0, 0.35) 0px 30px 80px 0px;
}

/* ===== RESET / BASE ===== */
body {
  font-family: var(--font-montreal);
  color: var(--color-ink-black);
  background: var(--color-pure-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Títulos — sempre 500, tracking negativo, lh compacta */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.98; /* padrão para headlines */
  margin-bottom: var(--spacing-16);
}

/* Parágrafos — 400, espaçados */
p {
  font-weight: 400;
  color: var(--color-steel);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-images);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-24);
}

.section {
  padding: var(--section-gap) 0;
}

/* ===== SUPERFÍCIES ===== */
.bg-lavender  { background-color: var(--color-lavender-mist); }
.bg-mint      { background-color: var(--color-mint-cream); }
.bg-butter    { background-color: var(--color-butter-cream); }
.bg-sky       { background-color: var(--color-sky-wash); }
.bg-sand      { background-color: var(--color-sand-wash); }
.bg-white     { background-color: var(--color-pure-white); }
.bg-carbon    { background-color: var(--color-carbon); }

/* ===== CARDS ===== */
.card {
  background: var(--color-pure-white);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  box-shadow: var(--shadow-xl);
  /* ou use a sombra flutuante com a classe .card-float */
}
.card-float {
  box-shadow: var(--shadow-float);
}
.card-on-pastel {
  background: var(--color-pure-white);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  /* não usa sombra — o contraste de cor faz o trabalho */
}

/* ===== BOTÕES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-raspberry-pulse);
  color: var(--color-pure-white);
  padding: 14px 28px;
  border-radius: var(--radius-buttons);
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-montreal);
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pure-white);
  color: var(--color-ink-black);
  border: 1px solid var(--color-silver);
  padding: 14px 28px;
  border-radius: var(--radius-buttons);
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-montreal);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--color-ink-black);
}

.btn-auth {
  background: var(--color-carbon);
  color: var(--color-pure-white);
  padding: 14px 28px;
  border-radius: var(--radius-buttons);
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-montreal);
  border: none;
  cursor: pointer;
}

/* ===== BADGES / PILLS ===== */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-buttons);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-montreal);
  color: var(--color-ink-black);
  border: 1px solid transparent;
}
.badge-mint   { background: var(--color-mint-cream); border-color: var(--color-mint-cream); }
.badge-butter { background: var(--color-butter-cream); border-color: var(--color-butter-cream); }
.badge-sky    { background: var(--color-sky-wash); border-color: var(--color-sky-wash); }
.badge-lavender { background: var(--color-lavender-mist); border-color: var(--color-lavender-mist); }

/* ===== TIPOGRAFIA — ESCALA ===== */
.text-caption {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.07px;
}
.text-body-sm {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.08px;
}
.text-subheading {
  font-size: 23px;
  line-height: 1.38;
  letter-spacing: -0.12px;
}
.text-heading-sm {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.56px;
}
.text-heading {
  font-size: 56px;
  line-height: 0.98;
  letter-spacing: -1.4px;
}
.text-heading-lg {
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: -2.56px;
}
.text-display {
  font-size: 80px;
  line-height: 0.92;
  letter-spacing: -4px;
}
.text-display-xl {
  font-size: 104px;
  line-height: 0.90;
  letter-spacing: -6.76px;
}

/* ===== ÍCONES ===== */
.icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small-cards);
  padding: var(--spacing-16);
  background: var(--color-sky-wash);
  width: 56px;
  height: 56px;
  font-size: 24px;
}

/* ===== NAVEGAÇÃO ===== */
.nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-nav-pills);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-ink-black);
  background: transparent;
  transition: background 0.2s;
}
.nav-pill:hover {
  background: var(--color-lavender-mist);
}

/* ===== GRID DE FOTOS (collage) ===== */
.photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.photo-collage img {
  border-radius: var(--radius-images);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== UTILITÁRIOS ===== */
.text-raspberry { color: var(--color-raspberry-pulse); }
.text-ink      { color: var(--color-ink-black); }
.text-steel    { color: var(--color-steel); }
.no-corners    { border-radius: 0 !important; }
.radius-card   { border-radius: var(--radius-cards); }
.radius-image  { border-radius: var(--radius-images); }
.radius-pill   { border-radius: var(--radius-buttons); }
.shadow-cta    { box-shadow: var(--shadow-cta); }
.shadow-float  { box-shadow: var(--shadow-float); }
.shadow-xl     { box-shadow: var(--shadow-xl); }

/* ===== RESPONSIVIDADE PARA DISPLAY ===== */
@media (max-width: 768px) {
  .text-display-xl { font-size: 56px; letter-spacing: -2.5px; }
  .text-display    { font-size: 48px; letter-spacing: -2px; }
  .text-heading-lg { font-size: 40px; }
  .text-heading    { font-size: 36px; }
}

(function() {
  'use strict';

  // Aplica classes de tipografia automaticamente em headings e parágrafos
  function enforceTypography() {
    document.querySelectorAll('h1').forEach(el => {
      if (!el.classList.contains('text-display-xl') && !el.classList.contains('text-display')) {
        // se for o primeiro h1 da página, assume display
        if (el === document.querySelector('h1')) {
          el.classList.add('text-display');
        }
      }
    });
    document.querySelectorAll('h2').forEach(el => {
      if (!el.classList.contains('text-heading')) {
        el.classList.add('text-heading');
      }
    });
    document.querySelectorAll('h3').forEach(el => {
      if (!el.classList.contains('text-heading-sm')) {
        el.classList.add('text-heading-sm');
      }
    });
    document.querySelectorAll('p').forEach(el => {
      if (!el.classList.contains('text-body-sm')) {
        el.classList.add('text-body-sm');
      }
    });
  }

  // Adiciona data-tedy para depuração
  function tagTedyElements() {
    document.querySelectorAll('[class*="btn-"]').forEach(el => {
      el.setAttribute('data-tedy', 'button');
    });
    document.querySelectorAll('.card, [class*="card"]').forEach(el => {
      el.setAttribute('data-tedy', 'card');
    });
    document.querySelectorAll('.badge, [class*="badge"]').forEach(el => {
      el.setAttribute('data-tedy', 'badge');
    });
  }

  // Executa quando o DOM estiver pronto
  if (document.readyState === 'loading') {
    document.addEventListener('DOMContentLoaded', () => {
      enforceTypography();
      tagTedyElements();
    });
  } else {
    enforceTypography();
    tagTedyElements();
  }

  // Observa mudanças no DOM (para widgets do Elementor)
  const observer = new MutationObserver(() => {
    enforceTypography();
    tagTedyElements();
  });
  observer.observe(document.body, { childList: true, subtree: true });

  console.log('🧁 Tedy Design System ativado!');
})();/* End custom CSS */