/* =============================================
   R3 Assessoria — Global Styles
   Design: Dark Premium Data (Palantir + Stripe)
   ============================================= */

/* === DESIGN TOKENS === */
:root {
  --bg-primary:     #0A0F1E;
  --bg-surface:     #0F172A;
  --bg-elevated:    #1E293B;
  --accent-blue:    #2B7FD4;
  --accent-green:   #10B981;
  --text-primary:   #F8FAFC;
  --text-secondary: #94A3B8;
  --border:         rgba(255, 255, 255, 0.08);
  --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover:   0 20px 40px rgba(0, 0, 0, 0.4);
  --radius-card:    16px;
  --radius-btn:     8px;
  --transition:     all 0.3s ease;
  --container-max:  1200px;
  --container-pad:  1.5rem;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { color: var(--text-secondary); line-height: 1.7; }

.text-accent   { color: var(--accent-blue); }
.text-green    { color: var(--accent-green); }
.text-muted    { color: var(--text-secondary); }
.text-center   { text-align: center; }
.text-left     { text-align: left; }

.highlight-text {
  background: linear-gradient(135deg, var(--accent-blue), #5B9FE5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === LAYOUT === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section          { padding: 5rem 0; }
.section--dark    { background: var(--bg-surface); }
.section--darker  { background: #07091A; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.1rem; }

.grid   { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 15, 30, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}

.navbar__logo img {
  height: 48px;
  width: auto;
  mix-blend-mode: lighten;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.navbar__links a {
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.navbar__links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.navbar__cta { white-space: nowrap; flex-shrink: 0; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.navbar__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.navbar__links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10, 15, 30, 0.98);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  gap: 0.25rem;
  z-index: 99;
}

.navbar__links.open .btn { width: 100%; justify-content: center; margin-top: 0.75rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-blue);
  color: #fff;
}
.btn-primary:hover {
  background: #1A5FAD;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(43, 127, 212, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-blue);
  border: 1.5px solid var(--accent-blue);
}
.btn-secondary:hover {
  background: rgba(43, 127, 212, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* === CARDS === */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(43, 127, 212, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  width: 52px; height: 52px;
  background: rgba(43, 127, 212, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-blue);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.card p  { font-size: 0.95rem; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-blue {
  background: rgba(43, 127, 212, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(43, 127, 212, 0.3);
}
.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-exclusive {
  background: linear-gradient(135deg, rgba(43,127,212,0.2), rgba(16,185,129,0.2));
  color: var(--accent-green);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43,127,212,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,212,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 15%; right: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(43,127,212,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(43,127,212,0.1);
  border: 1px solid rgba(43,127,212,0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

.hero__label-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--accent-blue); }

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__pillars {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.hero__pillar-tag {
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* === DASHBOARD MOCKUP === */
.dashboard-mockup {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.dashboard-mockup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.dashboard-mockup__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}

.dashboard-mockup__badge {
  padding: 0.2rem 0.6rem;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 12px;
  font-size: 0.7rem;
  color: var(--accent-green);
  font-weight: 600;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.875rem;
}
.metric-card__label  { font-size: 0.7rem; color: var(--text-secondary); margin-bottom: 0.3rem; }
.metric-card__value  { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.4rem; font-weight: 700; }
.metric-card__change { font-size: 0.7rem; color: var(--accent-green); margin-top: 0.2rem; }

.dashboard-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  height: 110px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  overflow: hidden;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-blue), rgba(43,127,212,0.25));
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
  min-width: 0;
}
.chart-bar:hover {
  background: linear-gradient(to top, #1A5FAD, var(--accent-blue));
}

/* === METRICS / RESULTADOS === */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-stat {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.metric-stat__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-blue);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.metric-stat__number .prefix,
.metric-stat__number .suffix { font-size: 1.75rem; }
.metric-stat__label { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.4; }
.metric-stat__icon  { color: var(--accent-green); margin-top: 0.5rem; }

/* === AI CARDS === */
.ai-card {
  background: linear-gradient(135deg, var(--bg-surface), rgba(43,127,212,0.04));
  border: 1px solid rgba(43,127,212,0.2);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
}
.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(43,127,212,0.2);
  border-color: rgba(43,127,212,0.5);
}
.ai-card__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.ai-status-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* === FORM === */
.form {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(43,127,212,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(148,163,184,0.5); }
.form-group textarea { min-height: 120px; resize: vertical; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form__submit { width: 100%; padding: 1rem; font-size: 1rem; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: rgba(43,127,212,0.4); }

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--bg-surface);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg-elevated); }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(43,127,212,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-blue);
  transition: var(--transition);
  font-size: 1.2rem;
  font-weight: 300;
}
.faq-item.active .faq-icon { transform: rotate(45deg); background: rgba(43,127,212,0.2); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 600px; }

/* === FOOTER === */
.footer {
  background: #050810;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__col--brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.footer__col ul li { margin-bottom: 0.5rem; }
.footer__col ul a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer__col ul a:hover { color: var(--text-primary); }

.footer__address {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.footer__social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }

.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-link:hover {
  color: var(--accent-blue);
  border-color: rgba(43,127,212,0.4);
  transform: translateY(-3px);
  background: rgba(43,127,212,0.1);
}
.social-link svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}
.footer__bottom p { font-size: 0.875rem; color: var(--text-secondary); }

/* === BLOG === */
.blog-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(43,127,212,0.1);
  border-color: rgba(43,127,212,0.4);
  color: var(--accent-blue);
}

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.blog-card:hover {
  border-color: rgba(43,127,212,0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.blog-card__image {
  height: 190px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(43,127,212,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card__image svg { width: 48px; height: 48px; color: rgba(43,127,212,0.3); }
.blog-card__content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
}
.blog-card__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.blog-card__excerpt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.blog-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* === POST PAGE === */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--accent-blue);
  z-index: 200;
  width: 0;
  transition: width 0.1s linear;
}

.post-hero {
  padding: 8rem 0 4rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.post-breadcrumb a { color: var(--accent-blue); transition: var(--transition); }
.post-breadcrumb a:hover { color: var(--text-primary); }

.post-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  display: block;
}

.post-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1.5rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.post-body h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.post-body h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.post-body p  { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }
.post-body ul,
.post-body ol { list-style: disc; padding-left: 1.75rem; margin-bottom: 1.25rem; }
.post-body ol  { list-style: decimal; }
.post-body li  { color: var(--text-secondary); margin-bottom: 0.5rem; font-size: 1.05rem; line-height: 1.7; }

.direct-answer {
  background: rgba(43,127,212,0.07);
  border: 1px solid rgba(43,127,212,0.25);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.direct-answer__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}
.direct-answer p {
  font-size: 1.05rem;
  color: var(--text-primary) !important;
  font-weight: 500;
  margin: 0;
}

/* === PAGE HERO (non-home pages) === */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(43,127,212,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,127,212,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--accent-blue); transition: var(--transition); }
.breadcrumb a:hover { color: var(--text-primary); }

.page-hero h1 { max-width: 820px; margin-bottom: 1.25rem; }
.page-hero__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* === TIMELINE === */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-blue), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem; top: 0.4rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(43,127,212,0.3);
}
.timeline-period {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* === CTA SECTION === */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(43,127,212,0.05), rgba(16,185,129,0.03));
  border-top: 1px solid var(--border);
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p  { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-actions    { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === VALUES === */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-blue);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p  { font-size: 0.9rem; }

/* === DELIVERABLES === */
.deliverables-list { list-style: none; padding: 0; }
.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.deliverables-list li:last-child { border-bottom: none; }
.deliverables-list .check { color: var(--accent-green); flex-shrink: 0; margin-top: 0.15rem; }

/* === CONTACT SECTION === */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info > p { font-size: 1.05rem; margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contact-detail__icon {
  width: 42px; height: 42px;
  background: rgba(43,127,212,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent-blue);
}
.contact-detail__icon svg { width: 20px; height: 20px; }
.contact-detail__text { font-size: 0.9rem; color: var(--text-secondary); }
.contact-detail__text strong { color: var(--text-primary); display: block; margin-bottom: 0.15rem; }

/* === OBRIGADO === */
.obrigado-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
}
.obrigado-content { text-align: center; max-width: 620px; margin: 0 auto; }
.check-icon {
  width: 80px; height: 80px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
  color: var(--accent-green);
  animation: checkBounce 0.7s ease;
}
@keyframes checkBounce {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
  text-align: left;
}
.next-step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}
.next-step__number {
  width: 28px; height: 28px;
  background: rgba(43,127,212,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}
.next-step p { font-size: 0.875rem; }

/* === FLOW DIAGRAM === */
.flow-diagram {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2.5rem 0;
}
.flow-step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.flow-step:hover { border-color: rgba(43,127,212,0.4); background: var(--bg-elevated); }
.flow-step.highlight {
  background: rgba(43,127,212,0.1);
  border-color: rgba(43,127,212,0.4);
  color: var(--accent-blue);
}
.flow-arrow { color: var(--text-secondary); font-size: 1.1rem; }

/* === CLINIC TYPE CARDS === */
.clinic-type-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.clinic-type-card:hover {
  border-color: rgba(43,127,212,0.4);
  transform: translateY(-3px);
}
.clinic-type-card__emoji { font-size: 2rem; margin-bottom: 0.75rem; }
.clinic-type-card__name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
  color: white;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* === ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* === SPACING UTILS === */
.mt-1 { margin-top: 0.5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }  .mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }  .mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }  .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }  .mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer__inner         { grid-template-columns: 1fr 1fr; }
  .metrics-grid          { grid-template-columns: repeat(2, 1fr); }
  .hero__inner           { grid-template-columns: 1fr; gap: 3rem; }
  .dashboard-mockup      { max-width: 500px; margin: 0 auto; }
  .contact-inner         { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --container-pad: 1.25rem; }
  .section { padding: 3.5rem 0; }

  .navbar__links:not(.open),
  .navbar__cta:not(.navbar__links.open .btn) { display: none; }
  .navbar__hamburger { display: flex; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .blog-grid      { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .next-steps     { grid-template-columns: 1fr; }
  .form-grid-2    { grid-template-columns: 1fr; }
  .footer__inner  { grid-template-columns: 1fr; gap: 2.5rem; }

  .hero__actions,
  .cta-actions    { flex-direction: column; align-items: stretch; }
  .hero__actions .btn,
  .cta-actions .btn { width: 100%; text-align: center; }

  .metrics-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
}
