/*
Theme Name:  Filhos Conectados Child
Description: Tema filho do Hello Elementor com identidade visual do Filhos Conectados
Author:      Filhos Conectados
Template:    hello-elementor
Version:     1.0.0
Text Domain: filhos-conectados-child
*/

/* ══════════════════════════════════════════════
   VARIÁVEIS DE IDENTIDADE VISUAL
   ══════════════════════════════════════════════ */
:root {
  --fc-teal-dark:   #0D6B5E;
  --fc-teal-mid:    #14A89A;
  --fc-teal-light:  #E8F5F3;
  --fc-coral:       #E05C2E;
  --fc-coral-light: #FFF0EB;
  --fc-grafite:     #0D1F1D;
  --fc-gray:        #6B7280;
  --fc-gray-light:  #F3F4F6;
  --fc-white:       #FFFFFF;
  --fc-off-white:   #FAFAF9;

  /* Tipografia */
  --fc-font-display: 'Syne', 'Arial Black', sans-serif;
  --fc-font-body:    'DM Sans', Arial, sans-serif;

  /* Raios e sombras */
  --fc-radius-sm:  8px;
  --fc-radius-md:  12px;
  --fc-radius-lg:  16px;
  --fc-radius-xl:  20px;
  --fc-shadow-teal: 0 8px 28px rgba(13,107,94,0.2);
  --fc-shadow-card: 0 4px 20px rgba(13,31,29,0.08);
}

/* ══════════════════════════════════════════════
   TIPOGRAFIA GLOBAL
   ══════════════════════════════════════════════ */
body {
  font-family: var(--fc-font-body);
  color: var(--fc-grafite);
  background-color: var(--fc-off-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fc-font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fc-grafite);
}

h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 4vw, 38px); }
h3 { font-size: clamp(18px, 3vw, 24px); }

p {
  font-family: var(--fc-font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--fc-gray);
}

a {
  color: var(--fc-teal-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--fc-teal-mid); }

/* ══════════════════════════════════════════════
   NAVBAR / HEADER
   ══════════════════════════════════════════════ */
.site-header,
.elementor-section.fc-navbar {
  background: rgba(250,250,249,0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,107,94,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ══════════════════════════════════════════════
   BOTÕES
   ══════════════════════════════════════════════ */

/* Botão primário */
.btn-primary,
.elementor-button.btn-primary,
a.btn-primary {
  background-color: var(--fc-teal-dark) !important;
  color: var(--fc-white) !important;
  font-family: var(--fc-font-display) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  border-radius: var(--fc-radius-md) !important;
  border: none !important;
  box-shadow: var(--fc-shadow-teal) !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  letter-spacing: -0.01em !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.btn-primary:hover,
.elementor-button.btn-primary:hover {
  background-color: var(--fc-teal-mid) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(13,107,94,0.28) !important;
}

/* Botão secundário */
.btn-secondary,
.elementor-button.btn-secondary,
a.btn-secondary {
  background-color: transparent !important;
  color: var(--fc-teal-dark) !important;
  font-family: var(--fc-font-body) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 13px 24px !important;
  border-radius: var(--fc-radius-md) !important;
  border: 1.5px solid var(--fc-teal-dark) !important;
  transition: background 0.2s, transform 0.2s !important;
}
.btn-secondary:hover {
  background-color: var(--fc-teal-light) !important;
  transform: translateY(-2px) !important;
}

/* Elementor — botões padrão herdam o estilo primário */
.elementor-button-wrapper .elementor-button {
  background-color: var(--fc-teal-dark);
  color: var(--fc-white);
  font-family: var(--fc-font-display);
  font-weight: 700;
  border-radius: var(--fc-radius-md);
  transition: background 0.2s, transform 0.2s;
}
.elementor-button-wrapper .elementor-button:hover {
  background-color: var(--fc-teal-mid);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   CARDS GENÉRICOS
   ══════════════════════════════════════════════ */
.fc-card {
  background: var(--fc-white);
  border-radius: var(--fc-radius-xl);
  padding: 32px;
  border: 1px solid rgba(13,107,94,0.08);
  box-shadow: var(--fc-shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,107,94,0.12);
}

/* Card de produto — versão escura */
.fc-card-dark {
  background: var(--fc-grafite);
  border-radius: var(--fc-radius-xl);
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.06);
}
.fc-card-dark h2,
.fc-card-dark h3,
.fc-card-dark p { color: var(--fc-white); }

/* Card produto pago */
.fc-card-paid {
  background: var(--fc-teal-dark);
  border-radius: var(--fc-radius-xl);
  padding: 40px 36px;
}
.fc-card-paid h2,
.fc-card-paid h3,
.fc-card-paid p { color: var(--fc-white); }

/* ══════════════════════════════════════════════
   BADGES E TAGS
   ══════════════════════════════════════════════ */
.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fc-coral-light);
  color: var(--fc-coral);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.fc-tag-teal {
  background: var(--fc-teal-light);
  color: var(--fc-teal-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  display: inline-block;
}

.fc-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fc-teal-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.fc-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--fc-teal-dark);
  display: block;
}

/* ══════════════════════════════════════════════
   SEÇÕES ESPECIAIS
   ══════════════════════════════════════════════ */

/* Seção com fundo teal escuro (produtos, CTA) */
.fc-section-dark {
  background-color: var(--fc-grafite) !important;
}
.fc-section-dark h1,
.fc-section-dark h2,
.fc-section-dark h3 { color: var(--fc-white) !important; }
.fc-section-dark p { color: rgba(255,255,255,0.6) !important; }

/* Seção com fundo teal */
.fc-section-teal {
  background-color: var(--fc-teal-dark) !important;
}

/* Seção com fundo menta claro */
.fc-section-light {
  background-color: var(--fc-teal-light) !important;
}

/* Strip de diferenciais */
.fc-strip {
  background-color: var(--fc-teal-dark);
  padding: 18px 40px;
}
.fc-strip p,
.fc-strip span { color: rgba(255,255,255,0.85) !important; }

/* ══════════════════════════════════════════════
   POSTS E ARTIGOS
   ══════════════════════════════════════════════ */

/* Card de post no arquivo/blog */
.fc-post-card {
  background: var(--fc-white);
  border-radius: var(--fc-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(13,107,94,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fc-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fc-shadow-card);
}
.fc-post-card .post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.fc-post-card .post-content { padding: 24px; }
.fc-post-card .post-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fc-teal-dark);
  margin-bottom: 8px;
}
.fc-post-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.fc-post-card p { font-size: 14px; }

/* Conteúdo do artigo (single post) */
.fc-single-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}
.fc-single-content h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--fc-grafite);
  border-left: 4px solid var(--fc-teal-mid);
  padding-left: 16px;
}
.fc-single-content h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.fc-single-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}
.fc-single-content ul,
.fc-single-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.fc-single-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fc-grafite);
}

/* Caixa de destaque dentro do artigo */
.fc-single-content .fc-highlight {
  background: var(--fc-teal-light);
  border-left: 4px solid var(--fc-teal-dark);
  border-radius: 0 var(--fc-radius-md) var(--fc-radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.fc-single-content .fc-highlight p {
  color: var(--fc-grafite);
  margin: 0;
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   CHECKLIST (para artigos e guias)
   ══════════════════════════════════════════════ */
.fc-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.fc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fc-gray-light);
  font-size: 15px;
  color: var(--fc-grafite);
}
.fc-checklist li:last-child { border-bottom: none; }
.fc-checklist li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--fc-teal-dark);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════
   FORMULÁRIOS
   ══════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  font-family: var(--fc-font-body);
  font-size: 15px;
  color: var(--fc-grafite);
  background: var(--fc-white);
  border: 1.5px solid #E5E7EB;
  border-radius: var(--fc-radius-md);
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--fc-teal-mid);
  box-shadow: 0 0 0 3px rgba(20,168,154,0.15);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.site-footer,
.elementor-section.fc-footer {
  background-color: var(--fc-grafite) !important;
}
.site-footer a,
.fc-footer a { color: rgba(255,255,255,0.5); }
.site-footer a:hover,
.fc-footer a:hover { color: rgba(255,255,255,0.9); }
.site-footer p,
.fc-footer p { color: rgba(255,255,255,0.3); font-size: 13px; }

/* ══════════════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  h1 { font-size: 30px; letter-spacing: -0.02em; }
  h2 { font-size: 24px; }
  .fc-card { padding: 24px 20px; }
  .fc-card-dark,
  .fc-card-paid { padding: 28px 20px; }
  .btn-primary,
  .btn-secondary { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════
   ELEMENTOR — OVERRIDES GLOBAIS
   ══════════════════════════════════════════════ */

/* Garante que as seções do Elementor herdem o fundo certo */
.elementor-section { position: relative; }

/* Heading widget herda a fonte display */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--fc-font-display) !important;
  letter-spacing: -0.025em;
}

/* Text widget herda a fonte body */
.elementor-widget-text-editor p {
  font-family: var(--fc-font-body);
  line-height: 1.75;
}

/* Imagens com borda arredondada por padrão */
.elementor-widget-image img {
  border-radius: var(--fc-radius-lg);
}

/* Ícones na cor teal */
.elementor-widget-icon .elementor-icon {
  color: var(--fc-teal-dark);
}

/* Divisor na cor teal */
.elementor-widget-divider .elementor-divider-separator {
  border-color: var(--fc-teal-mid) !important;
}