/*
Theme Name: Hélio Russo Psicólogo
Theme URI: https://heliopsi.com
Author: Hélio Russo
Author URI: https://heliopsi.com
Description: Tema profissional para psicólogo clínico com layout moderno e acolhedor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heliopsi
Tags: one-page, psychologist, health, mental-health, responsive
*/

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0a1628;
  --primary-mid: #102040;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --accent-dark: #0077b6;
  --teal: #06d6a0;
  --white: #ffffff;
  --light-bg: #f4f8fb;
  --gray: #6b7280;
  --text: #1e293b;
  --card-bg: #ffffff;
  --section-dark: #0a1628;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0,0,0,0.10);
  --shadow-hover: 0 16px 60px rgba(0,0,0,0.18);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

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

section { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,180,216,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ===== HEADER / NAV ===== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  /* Sem background por padrão — aplicado via .scrolled */
}

/* Sólido: aplicado via JS ao rolar (home) ou via PHP direto (páginas internas) */
#site-header.scrolled {
  background: var(--primary);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.site-logo { display: flex; align-items: center; }
.site-logo img { height: 48px; width: auto; }
.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
}

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.nav-social { display: flex; gap: 12px; }
.nav-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
  transition: var(--transition);
}
.nav-social a:hover { background: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, #0d2240 55%, #0a3060 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,180,216,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(6,214,160,0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.15);
  border: 1px solid rgba(0,180,216,0.3);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-title span { color: var(--accent); }

.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 4px; }

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(0,180,216,0.3), rgba(6,214,160,0.15));
  z-index: 0;
}

.hero-image-frame img {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.hero-float-card.card-1 { bottom: 10%; left: -10%; }
.hero-float-card.card-2 { top: 10%; right: -8%; }

.float-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.float-icon.green { background: rgba(6,214,160,0.1); color: var(--teal); }
.float-icon.blue { background: rgba(0,180,216,0.1); color: var(--accent); }

.float-label { font-size: 0.7rem; color: var(--gray); }
.float-value { font-weight: 700; color: var(--text); font-size: 0.95rem; }

/* ===== SOBRE ===== */
#sobre {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

#sobre::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.06) 0%, transparent 70%);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: center;
}

.sobre-image-wrap { position: relative; }

.sobre-image-wrap img {
  border-radius: 24px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.sobre-badge-exp {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--primary);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.sobre-badge-exp .exp-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.sobre-badge-exp .exp-text { font-size: 0.75rem; opacity: 0.8; margin-top: 2px; }

.sobre-content { }
.sobre-list { margin: 1.5rem 0 2rem; }
.sobre-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.sobre-list li .icon {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== ESPECIALIDADES ===== */
#especialidades {
  background: var(--white);
}

#especialidades .section-header { text-align: center; margin-bottom: 50px; }

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

.espec-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.espec-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  opacity: 0;
  transition: var(--transition);
}

.espec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,180,216,0.15);
  background: var(--white);
}
.espec-card:hover::before { opacity: 1; }

.espec-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,180,216,0.12), rgba(6,214,160,0.08));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.espec-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.espec-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ===== BLOG ===== */
#blog {
  background: var(--light-bg);
}
#blog .section-header { text-align: center; margin-bottom: 50px; }

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-body { padding: 24px; }

.blog-cat {
  display: inline-block;
  background: rgba(0,180,216,0.1);
  color: var(--accent-dark);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
}
.blog-card h3 a { transition: var(--transition); }
.blog-card h3 a:hover { color: var(--accent-dark); }

.blog-meta { font-size: 0.78rem; color: var(--gray); }

.blog-more { text-align: center; }

/* ===== PROCESSO ===== */
#processo {
  background: var(--section-dark);
  position: relative;
  overflow: hidden;
}
#processo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,180,216,0.08) 0%, transparent 60%);
}

#processo .section-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 1; }
#processo .section-title { color: var(--white); }
#processo .section-subtitle { color: rgba(255,255,255,0.6); }
#processo .section-label { color: var(--accent); }

.processo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.processo-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.processo-card:hover {
  background: rgba(0,180,216,0.08);
  border-color: rgba(0,180,216,0.25);
  transform: translateY(-4px);
}

.processo-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
}
.processo-icon img { width: 100%; height: 100%; object-fit: contain; }
.processo-icon-emoji {
  width: 80px; height: 80px;
  background: rgba(0,180,216,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
}

.processo-card h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.processo-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.65; }

/* ===== DEPOIMENTOS ===== */
#depoimentos {
  background: var(--white);
}
#depoimentos .section-header { text-align: center; margin-bottom: 50px; }

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

.dep-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.dep-card:hover {
  border-color: rgba(0,180,216,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.dep-stars { color: #fbbf24; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }

.dep-text {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.dep-author { display: flex; align-items: center; gap: 12px; }
.dep-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.dep-name { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.dep-source { font-size: 0.75rem; color: var(--gray); }

/* ===== AREAS ===== */
#areas {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
#areas::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, rgba(0,180,216,0.04), transparent);
}
#areas .section-header { text-align: center; margin-bottom: 50px; position: relative; z-index: 1; }
#areas .section-title { color: var(--white); }
#areas .section-subtitle { color: rgba(255,255,255,0.6); }
#areas .section-label { color: var(--accent); }

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.area-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  transition: var(--transition);
}
.area-card:hover {
  background: rgba(0,180,216,0.1);
  border-color: rgba(0,180,216,0.3);
  transform: translateX(4px);
}

.area-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.area-card h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.area-card p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.6; }

/* ===== CTA QUOTE ===== */
#cta-quote {
  background: linear-gradient(135deg, rgba(0,180,216,0.08), rgba(6,214,160,0.05));
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(0,180,216,0.1);
  border-bottom: 1px solid rgba(0,180,216,0.1);
}

.cta-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--primary);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.cta-quote-author { color: var(--accent-dark); font-weight: 700; font-size: 0.9rem; }

/* ===== CONTATO ===== */
#contato {
  background: var(--section-dark);
  position: relative;
  overflow: hidden;
}
#contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 100%, rgba(0,180,216,0.06) 0%, transparent 60%);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.contato-info { }
.contato-info .section-title { color: var(--white); margin-bottom: 1rem; }
.contato-info .section-label { color: var(--accent); }
.contato-intro { color: rgba(255,255,255,0.65); margin-bottom: 2rem; line-height: 1.7; }

.contato-items { }
.contato-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
}
.contato-item-icon {
  width: 42px; height: 42px;
  background: rgba(0,180,216,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.contato-form {}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(0,180,216,0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-submit { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
#site-footer {
  background: #050d1a;
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-brand-text { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--white); }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-up { animation: fadeUp 0.7s ease both; }
.animate-up-delay-1 { animation: fadeUp 0.7s 0.15s ease both; }
.animate-up-delay-2 { animation: fadeUp 0.7s 0.3s ease both; }
.animate-up-delay-3 { animation: fadeUp 0.7s 0.45s ease both; }

[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .especialidades-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  #site-header .main-nav,
  #site-header .nav-social { display: none; }
  .menu-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--primary);
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-image-wrap { max-width: 380px; margin: 0 auto; }

  .especialidades-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .processo-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG – archive.php
   ═══════════════════════════════════════════════════════════════════════════ */

/* Cabeçalho da página blog */
.blog-page-header {
    padding: 32px 0 0;
}
.blog-page-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: none; /* oculto: o menu já indica "Blog" */
}

/* Container da página blog */
.blog-page-container {
    padding: 32px 24px 80px;
}

/* Grade 3 colunas */
.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card individual */
.bcard {
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.bcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}

/* Wrapper da imagem */
.bcard-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
}

/* Imagem */
.bcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.bcard:hover .bcard-img {
    transform: scale(1.05);
}

/* Placeholder sem imagem */
.bcard-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #0d3060);
}

/* Gradiente escuro sobre a parte inferior da imagem */
.bcard-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 35%,
        rgba(0,0,0,0.65) 100%
    );
    pointer-events: none;
}

/* Categoria (pill no topo esquerdo) */
.bcard-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--accent);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: none;
}

/* Autor + data sobrepostos na imagem (inferior) */
.bcard-meta-overlay {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 2;
    padding: 14px 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bcard-author {
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    font-weight: 500;
}
.bcard-date {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
}

/* Corpo do card (título) */
.bcard-body {
    padding: 18px 20px 22px;
    flex: 1;
    background: var(--white);
}
.bcard-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
    margin: 0;
}
.bcard-title a {
    color: inherit;
    transition: var(--transition);
}
.bcard-title a:hover {
    color: var(--accent-dark);
}

/* Paginação */
.blog-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}
.blog-pagination .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px; height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--white);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid transparent;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .blog-cards-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════════════════════════════ */

.single-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2240 60%, #0a3060 100%);
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
}
.single-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(0,180,216,0.08) 0%, transparent 70%);
}
.single-hero-inner { position: relative; z-index: 1; max-width: 780px; }

.single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}
.single-breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.single-breadcrumb a:hover { color: var(--accent); }
.single-breadcrumb i { font-size: 0.6rem; }

.single-post-title {
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    color: var(--white);
    line-height: 1.2;
    margin: 0.8rem 0 1.5rem;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.single-author { display: flex; align-items: center; gap: 12px; }
.single-author-img {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}
.single-author-img img { width: 100%; height: 100%; object-fit: cover; }
.single-author-placeholder {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.1rem;
    flex-shrink: 0;
}
.single-author-name { display: block; color: var(--white); font-weight: 700; font-size: 0.9rem; }
.single-author-role { display: block; color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.single-meta-items { display: flex; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.single-meta-items i { margin-right: 4px; color: var(--accent); }

.single-featured-img { padding: 0 24px; margin-top: -24px; position: relative; z-index: 10; }
.single-featured-img img { border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.2); }

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 60px 24px;
    align-items: start;
}

.single-article { min-width: 0; }

.single-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.single-share-label { font-size: 0.82rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.share-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.share-btn.facebook  { background: #1877f2; }
.share-btn.twitter   { background: #000; }
.share-btn.whatsapp  { background: #25d366; }
.share-btn.linkedin  { background: #0077b5; }

.entry-content { line-height: 1.85; color: var(--text); font-size: 1.02rem; }
.entry-content h2 { font-family: var(--font-display); font-size: 1.7rem; color: var(--primary); margin: 2.5rem 0 1rem; }
.entry-content h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--primary); margin: 2rem 0 0.8rem; }
.entry-content p { margin-bottom: 1.3rem; }
.entry-content ul, .entry-content ol { padding-left: 1.6rem; margin-bottom: 1.3rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content a { color: var(--accent-dark); text-decoration: underline; }
.entry-content img { border-radius: 12px; margin: 1.5rem 0; box-shadow: var(--shadow); max-width: 100%; }
.entry-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 1.2rem 1.8rem;
    background: rgba(0,180,216,0.05);
    border-radius: 0 16px 16px 0;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--primary);
    font-family: var(--font-display);
}
.entry-content blockquote p { margin: 0; }
.entry-content strong { color: var(--primary); }
.entry-content hr { border: none; border-top: 1px solid rgba(0,0,0,0.08); margin: 2.5rem 0; }

.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.07);
}
.single-tags-label { color: var(--gray); font-size: 0.82rem; font-weight: 600; }
.single-tag {
    background: var(--light-bg);
    color: var(--gray);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}
.single-tag:hover { background: rgba(0,180,216,0.1); color: var(--accent-dark); border-color: rgba(0,180,216,0.25); }

.single-author-bio-box {
    display: flex;
    gap: 24px;
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 28px;
    margin: 2.5rem 0;
    align-items: flex-start;
    border: 1px solid rgba(0,180,216,0.1);
}
.author-bio-img {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    flex-shrink: 0;
}
.author-bio-img-placeholder {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.8rem;
    flex-shrink: 0;
}
.author-bio-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 4px; }
.author-bio-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary); margin-bottom: 0.5rem; }
.author-bio-text { color: var(--gray); font-size: 0.88rem; line-height: 1.65; }

.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.07);
}
.single-nav-next { text-align: right; }
.single-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
    background: var(--light-bg);
    border-radius: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}
.single-nav a:hover { border-color: rgba(0,180,216,0.25); background: rgba(0,180,216,0.04); }
.single-nav-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.single-nav-title { font-size: 0.88rem; color: var(--text); font-weight: 600; line-height: 1.4; }
.single-nav-next a { align-items: flex-end; }

/* Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.sidebar-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--light-bg);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-title i { color: var(--accent); }
.sidebar-about { text-align: center; }
.sidebar-author-img {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--accent);
    display: block;
}
.sidebar-author-placeholder {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--teal));
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.8rem;
    margin: 0 auto 1rem;
}
.sidebar-author-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--primary); margin-bottom: 0.4rem; }
.sidebar-author-bio { color: var(--gray); font-size: 0.82rem; line-height: 1.6; }
.sidebar-cats li { border-bottom: 1px solid var(--light-bg); }
.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    color: var(--gray);
    font-size: 0.88rem;
    transition: var(--transition);
}
.sidebar-cats li a:hover { color: var(--accent-dark); padding-left: 4px; }
.sidebar-cat-count {
    background: var(--light-bg);
    color: var(--gray);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}
.sidebar-recent { display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent li { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-recent-thumb {
    width: 64px; height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-info { display: flex; flex-direction: column; gap: 4px; }
.sidebar-recent-info a { color: var(--text); font-size: 0.85rem; font-weight: 600; line-height: 1.4; transition: var(--transition); }
.sidebar-recent-info a:hover { color: var(--accent-dark); }
.sidebar-recent-info span { color: var(--gray); font-size: 0.75rem; }
.sidebar-cta { background: var(--primary); text-align: center; }
.sidebar-cta-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.sidebar-cta h4 { color: var(--white); font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-bottom: 1rem; }

@media (max-width: 1024px) {
    .blog-layout { grid-template-columns: 1fr 260px; gap: 32px; }
}
@media (max-width: 768px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { order: -1; }
    .single-author-bio-box { flex-direction: column; align-items: center; text-align: center; }
    .single-nav { grid-template-columns: 1fr; }
    .single-nav-next { text-align: left; }
    .single-nav-next a { align-items: flex-start; }
    .single-post-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
}

