/* /var/www/ferllon/site/css/style.css */
:root {
  /* Cores Oficiais Férllon */
  --primary: #0023a4;
  --bg-light: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-dark: #04132c;
  --text-main: #334155;
  /* Cinza escuro agradável */
  --text-titles: #0f172a;
  /* Tom quase preto para títulos */
  --text-muted: #64748b;
  --border: #e5e7eb;

  --radius: 50px;
  /* Pill shape para botões */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography inspirada na referência (Clean, Fina, Grande) */
.text-highlight {
  color: var(--primary);
  font-weight: 600;
}

.bg-dark-sec .text-highlight {
  color: #fff;
  font-weight: 700;
}

h1,
h2,
h3 {
  color: var(--text-titles);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--bg-dark);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--bg-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  border: none;
}

.badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
}

.badge-danger {
  display: inline-flex;
  color: #b91c1c;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid #b91c1c;
}

/* Utilities */
.text-center {
  text-align: center;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
}

.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  margin: 0 16px;
  transition: color 0.2s;
}

.mobile-blog-btn {
  display: none;
  color: var(--primary);
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mobile-blog-btn:hover {
  background-color: var(--bg-subtle);
}

.nav a:hover {
  color: var(--text-muted);
}

/* Hero Section (Grid Background) */
.hero {
  padding: 120px 0;
  text-align: center;
  background-color: var(--bg-light);
  background-image: 
    linear-gradient(rgba(0, 35, 164, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 35, 164, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 2rem auto;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 3rem;
}

.hero-bullets li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Sections Base */
section {
  padding: 100px 0;
  scroll-margin-top: 100px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.bg-subtle {
  background-color: var(--bg-subtle);
}

.bg-dark-sec {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.bg-dark-sec h1,
.bg-dark-sec h2,
.bg-dark-sec h3,
.bg-dark-sec p,
.bg-dark-sec span,
.bg-dark-sec li {
  color: #ffffff;
}

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

/* Grid Cards (Problema, Incluso) */
.grid-cards,
.grid-incluso {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
}

.card {
  background: var(--bg-light);
  padding: 48px 32px;
  font-weight: 400;
  font-size: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.card svg {
  color: var(--primary);
  width: 32px;
  height: 32px;
}

.card-problema {
  color: var(--text-main);
}

.card-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-main);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  display: block;
}

/* Steps */
.lista-passos {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.lista-passos li {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1.5rem;
  font-weight: 400;
}

.lista-passos li::before {
  content: "0" counter(step-counter);
  counter-increment: step-counter;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

ol.lista-passos {
  counter-reset: step-counter;
}

/* Nichos */
.grid-nichos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 900px;
  margin: 2rem auto 0;
}

.grid-nichos span {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.bg-dark-sec .grid-nichos span {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Pricing */
.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid var(--border);
  padding: 60px 48px;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.pricing-card .price { font-size: 4rem; font-weight: 300; margin: 1rem 0 0.25rem; letter-spacing: -0.04em;}
.pricing-card .price small { font-size: 1.125rem; color: var(--text-muted); margin-left: 4px; }
.price-extra { font-size: 1rem; font-weight: 400; color: var(--text-muted); margin-bottom: 2rem; }
.bg-dark-sec .price-extra { color: #ffffff; opacity: 0.6; }

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.pricing-notes { text-align: left; font-size: 0.95rem; color: var(--text-muted); }

.pricing-cta {
  margin-top: 3rem;
  text-align: center;
}

.bg-dark-sec .pricing-card {
  border-color: rgba(255, 255, 255, 0.2);
}

.bg-dark-sec .pricing-card .price small,
.bg-dark-sec .pricing-features li,
.bg-dark-sec .pricing-features,
.bg-dark-sec .pricing-notes {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}

/* Ciclo 90 Dias */
.ciclo-90 {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.ciclo-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.ciclo-header h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.grid-ciclo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ciclo-card {
  padding: 32px;
  background: var(--bg-subtle);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.ciclo-card:hover {
  transform: translateY(-5px);
}

.ciclo-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.ciclo-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-main);
}

@media (max-width: 992px) {
  .grid-ciclo { grid-template-columns: 1fr; }
  .ciclo-90 { margin-top: 4rem; padding-top: 3rem; }
}

/* Sobre Section */
.sobre {
  padding: 100px 0;
  background-color: var(--bg-subtle);
}

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

.sobre-intro p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.sobre-lista-nao {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nao-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 500;
  color: var(--text-main);
}

.icon-nao {
  width: 20px;
  height: 20px;
  color: #ef4444;
}

.sobre-conclusao {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.sobre-conclusao p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.sobre-conclusao p:last-child { margin-bottom: 0; }

@media (max-width: 992px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-intro p { font-size: 1.125rem; }
}

/* Blog Listing */
.blog-hero {
  padding: 120px 0 80px;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
}

.blog-hero h1 { color: #fff; margin-bottom: 1.5rem; }
.blog-hero p { font-size: 1.25rem; opacity: 0.8; max-width: 700px; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  padding: 80px 0;
}

/* ==========================================================================
   Prova Social (Avaliações)
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--color-gray-200);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.reviewer-name {
    font-size: 1rem;
    color: var(--text-titles);
    margin: 0 0 4px 0;
    font-weight: 600;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.review-link:hover {
    text-decoration: underline;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  border-color: var(--primary);
}

.blog-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.blog-card h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-titles);
}

.blog-card p {
  font-size: 1rem;
  color: var(--text-main);
  opacity: 0.8;
  margin-bottom: 2rem;
  flex: 1;
}

.blog-card-link {
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Article Page */
.article-header {
  padding: 120px 0 60px;
  max-width: 800px;
  margin: 0 auto;
}

.article-header .blog-card-tag { text-align: center; display: block; }
.article-header h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  text-align: center; 
  margin-bottom: 2rem; 
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.article-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 2rem;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 2.25rem; }
  .article-content p, .article-content li { font-size: 1.125rem; }
}

/* FAQ */
details {
  border-bottom: 1px solid var(--border);
  max-width: 800px;
  margin: 0 auto;
}

summary {
  padding: 32px 0;
  font-size: 1.25rem;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--text-muted);
  font-weight: 300;
}

details[open] summary::after {
  content: '−';
}

details p {
  padding: 0 0 32px;
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Footer */
.footer {
  padding: 100px 0 40px;
  background-color: var(--bg-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand-center {
  margin-bottom: 40px;
  padding-bottom: 20px;
}

.footer-brand-center img {
  opacity: 0.9;
}

.footer-brand-center p {
  font-weight: 500;
  color: var(--text-main);
  font-size: 1.125rem;
}

.footer .footer-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer p,
.footer a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: block;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav, .header-cta {
    display: none;
  }

  .mobile-blog-btn {
    display: flex;
  }

  .hero {
    padding: 30px 0;
  }

  .hero h1 {
    margin-bottom: 0.5rem;
  }

  .hero .subtitle {
    margin: 1rem auto;
  }

  .hero-bullets {
    margin-bottom: 1.5rem;
    gap: 8px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    text-align: center !important;
  }
  .footer-links-nav {
    display: none !important;
  }
  .footer-grid .footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .footer-grid p, .footer-grid a {
    font-size: 0.95rem;
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
  gap: 20px;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-main);
  max-width: 800px;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner .btn {
  padding: 10px 24px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    padding-bottom: 24px;
  }
  .cookie-banner .btn {
    width: 100%;
  }

  /* Header Mobile Overrides */
  .header-cta {
    display: none !important;
  }
  
  .mobile-blog-btn {
    display: flex !important;
  }

  .header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
}