/* 
   style.css — Instituto PSO
   Neuropsicopedagogia clínica — Águas Claras, Brasília/DF
   Paleta: #7A90B5 (azul), #CEC8E4 (lilás), #EAEEF3 (cinza pastel), #FFFFFF, #333333
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  --primary:    #7A90B5;   /* Azul Pastel - Marca Original */
  --primary-dk: #5B7293;   /* Tom mais escuro e sólido para interações/acessibilidade */
  --secondary:  #CEC8E4;   /* Lilás claro - Marca Original */
  --accent-1:   #798FB5;
  --accent-2:   #768CB3;
  --gold:       #C9A96E;   /* Tom dourado suave complementar */
  --gold-lt:    #E8D5B0;

  --bg:         #FFFFFF;
  --bg-pastel:  #EAEEF3;   /* Cinza Pastel - Marca Original */
  --bg-cream:   #F7F4F0;
  --bg-dark:    #1C2535;   /* Tom escuro derivado do azul pastel */
  --bg-card:    rgba(255, 255, 255, 0.75);

  --text:       #18202A;   /* Super escuro derivado do azul (quase preto) */
  --text-muted: #4A5A70;   /* Texto secundário — contraste AA (≥4.5:1) */
  --text-light: #6B7A90;   /* Texto terciário — contraste AA em fundos claros */

  --font-serif:  'Outfit', sans-serif;
  --font-fine:   'Outfit', sans-serif;
  --font-sans:   'Inter', sans-serif;

  --shadow-xs: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease);
  --transition-slow: all 0.7s var(--ease);
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: left; /* Títulos não devem ser justificados */
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── Layout Utilities ───────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
}

section { padding: 7rem 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-dk);
  background: #EEEAF4;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.2rem;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--primary);
}

.section-body {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-body { margin: 0 auto; }

.divider {
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 99px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}
.divider.center { margin-left: auto; margin-right: auto; }

/* ─── Grids ──────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 3.5rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

/* ─── Image Montage (Mosaic) ─────────────────────────────── */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 1rem;
  aspect-ratio: 1 / 1;
  position: relative;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.mosaic-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

/* Layout variants for the mosaic */
.mosaic-item.large { grid-area: 1 / 1 / 9 / 9; }
.mosaic-item.tall  { grid-area: 1 / 9 / 13 / 13; }
.mosaic-item.wide  { grid-area: 9 / 1 / 13 / 9; }

/* Small overlapping variant */
.mosaic-item.floating {
  position: absolute;
  width: 40%;
  height: 40%;
  z-index: 5;
  border: 4px solid #fff;
}

/* ─── Blog Specific ───────────────────────────────────────── */
.blog-suggestions {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(122,144,181,0.1);
}
.suggestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.suggestion-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  group: hover;
}
.suggestion-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-md);
  transition: var(--transition);
}
.suggestion-card:hover img { transform: scale(1.03); }
.suggestion-card h4 { font-size: 1.1rem; color: var(--primary-dk); margin: 0; transition: color 0.3s; }
.suggestion-card:hover h4 { color: var(--primary); }

/* ─── Article body (conteúdo do artigo individual) ───────── */
.article-body p { margin: 0 0 1.2rem; color: var(--text); }
.article-body h2 { font-size: 1.45rem; color: var(--primary-dk); margin: 2.5rem 0 1rem; font-family: var(--font-serif); }
.article-body h3 { font-size: 1.15rem; color: var(--primary-dk); margin: 2rem 0 0.8rem; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.2rem; padding: 0; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--text-muted); }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary-dk); }

/* ─── Scroll Reveal Animations ───────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal="up"]    { transform: translateY(60px); }
[data-reveal="down"]  { transform: translateY(-40px); }
[data-reveal="left"]  { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(0.88); }
/* [data-reveal="fade"] — transitions handled by opacity rule above */

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 0.15s; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 0.25s; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 0.35s; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 0.45s; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 0.55s; }
[data-stagger].revealed > * { opacity: 1; transform: none; }

/* ─── Header / Navigation ────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: #ffffff; /* Always white */
  transition: padding 0.35s var(--ease),
              box-shadow 0.45s var(--ease);
  border-bottom: 1px solid rgba(122, 144, 181, 0.1); /* Subtle hair line */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); /* Minimalist shadow */
}

header.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(90,115,154,0.12); /* Slightly more emphasis on scroll */
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ── Logo ── */
.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.logo-container img {
  height: 62px;
  width: auto;
  transition: height 0.35s var(--ease);
  animation: headerLogoReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
  transform-origin: left center;
}

@keyframes headerLogoReveal {
  0% { opacity: 0; transform: translateY(-15px) scale(0.95); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

header.scrolled .logo-container img { height: 50px; }

/* ── Profile Image — Rounded Styles ── */
.profile-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl); /* Standardized rounded corners */
  box-shadow: var(--shadow-lg);
  display: flex;
}

.profile-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.profile-image-wrap:hover .profile-image {
  transform: scale(1.05); /* Dynamic micro-interaction */
}

/* ── General Image Smoothing ── */
.main-img, .hero-visual img, .card img, .footer-logo, .client-info img {
  border-radius: var(--r-xl); /* Consistent rounded pattern */
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease);
}

.hero-visual img {
  box-shadow: var(--shadow-lg);
  display: block;
}

.testimonial-card img {
  border-radius: 50% !important; /* Testimonial portraits are usually circles */
  object-fit: cover;
}

/* ── Minimalist Refinements ── */
.divider {
  height: 4px;
  width: 50px;
  background: var(--primary);
  margin-bottom: 2rem;
  border-radius: 2px;
}
.divider.center { margin: 0 auto 2rem; }

/* ── Nav container ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;   /* ← empurra toda a nav para a direita */
}

/* ── Nav links ── */
.nav-links a {
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.025em;
  position: relative;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-sm);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}

/* Hover — fundo sutil */
.nav-links a:not(.nav-cta):hover {
  color: var(--primary);
  background: var(--secondary);
}

/* Active — dot dourado + cor escura */
.nav-links a.active:not(.nav-cta) {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav-links a.active:not(.nav-cta)::after { width: 18px; }
.nav-links a:not(.nav-cta):hover::after  { width: 12px; }

/* ── Nav CTA button (Área do Cliente) ── */
.nav-cta {
  background: var(--bg-dark) !important;
  color: #fff !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: var(--r-pill) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  margin-left: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.nav-cta::after  { display: none !important; }
.nav-cta:hover   { transform: translateY(-2px); background: #000 !important; box-shadow: var(--shadow-md); }
.nav-cta:active  { transform: translateY(0); }

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5.5px;
  padding: 6px;
  z-index: 1001;
  border-radius: var(--r-sm);
  transition: background 0.3s;
}
.hamburger:hover { background: rgba(122,144,181,0.07); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dk);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── SPLASH PRELOADER (Entrada no Site) ─────────────────── */
#site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: background-color 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
#site-preloader.dissolve {
  background-color: transparent;
  opacity: 0;
  pointer-events: none;
}
#site-preloader.dissolve .preloader-logo-splash {
  animation: dissolveLogo 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards !important;
}
#site-preloader.dissolve .preloader-progress {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes dissolveLogo {
  0% { transform: scale(1) translateY(0); opacity: 1; filter: blur(0); }
  50% { opacity: 0.8; filter: blur(4px); }
  100% { transform: scale(25) translateY(0); opacity: 0; filter: blur(15px); }
}
.preloader-logo-wrap {
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-logo-splash {
  height: 140px;
  width: auto;
  opacity: 0;
  transform: scale(0.85) rotateX(-15deg);
  animation: splashLogoEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s,
             splashLogoFloat 3s ease-in-out infinite 1.4s;
  filter: drop-shadow(0 15px 30px rgba(122,144,181,0.25));
}

@keyframes splashLogoEntrance {
  0%   { opacity: 0; transform: scale(0.85) rotateX(-15deg) translateY(30px); filter: blur(8px); }
  100% { opacity: 1; transform: scale(1) rotateX(0deg) translateY(0); filter: blur(0); }
}

@keyframes splashLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); filter: drop-shadow(0 20px 40px rgba(122,144,181,0.35)); }
}

.preloader-progress {
  width: 140px;
  height: 3px;
  background: rgba(122, 144, 181, 0.15);
  border-radius: 4px;
  margin-top: 3rem;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: fadeProgress 0.5s ease forwards 0.5s;
}
.preloader-progress::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  animation: loadProgress 1.7s cubic-bezier(0.77, 0, 0.175, 1) forwards 0.6s;
}

@keyframes loadProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

@keyframes fadeProgress {
  to { opacity: 1; }
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); background: var(--primary-dk); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1.5px solid var(--secondary);
}
.btn-ghost:hover { background: var(--bg-dark); border-color: var(--bg-dark); color: #fff !important; }

.btn-gold {
  background: var(--bg-dark);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { transform: translateY(-3px); background: #000; box-shadow: var(--shadow-md); }

.btn i { font-size: 1rem; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(206,200,228,0.25) 0%, var(--bg) 60%);
  overflow: hidden;
  padding-top: 90px;
}

/* Futuristic grid lines (adapted to brand colors) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(122,144,181,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,144,181,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,144,181,0.12) 0%, transparent 60%);
  bottom: -20vw; left: -10vw;
  pointer-events: none;
}

.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; position: relative; z-index:2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(206,200,228,0.5);
  border: 1px solid rgba(206,200,228,0.9);
  color: var(--primary-dk);
  padding: 0.4rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary-dk);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 700;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.8rem;
  max-width: 520px;
  line-height: 1.85;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(122,144,181,0.2);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-stat-box {
  padding: 2rem;
  transition: var(--transition);
}
.hero-stat-box:hover { transform: translateY(-5px); }
.hero-stat-box h3 { line-height: 1; }

.hero-visual {
  position: relative;
}

.hero-visual .main-img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.hero-visual .floating-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 1.2rem 1.6rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.9);
}

.hero-visual .card-cert {
  bottom: 10%;
  left: -10%;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-visual .card-cert .icon { font-size: 2rem; color: var(--primary); }
.hero-visual .card-cert h4 { font-size: 0.9rem; color: var(--text); margin-bottom: 0.1rem; }
.hero-visual .card-cert p { font-size: 0.75rem; color: var(--text-muted); }

.hero-visual .card-tag {
  top: 8%;
  right: -8%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dk);
}
.hero-visual .card-tag i { color: var(--gold); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* ─── Marquee Strip ──────────────────────────────────────── */
.marquee-section {
  padding: 2rem 0;
  background: var(--primary);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 26s linear infinite;
  width: max-content;
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span i { color: var(--gold-lt); font-size: 1rem; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--r-xl);
  padding: 2.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,1);
}

.card-icon {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--secondary), rgba(206,200,228,0.5));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.card p {
  font-size: 0.97rem;
  color: var(--text-muted);
  flex-grow: 1;
  line-height: 1.8;
}

/* Luxury Feature Card */
.feat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 3rem;
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-pastel) 100%);
  border: 1px solid rgba(206,200,228,0.5);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(206,200,228,0.5) 0%, transparent 70%);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.feat-number {
  font-family: var(--font-fine);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(122,144,181,0.12);
  position: absolute;
  top: 1rem; right: 2rem;
  line-height: 1;
}

/* ─── Background Variants ────────────────────────────────── */
.bg-pastel { background: var(--bg-pastel); }
.bg-cream { background: var(--bg-cream); }
.bg-dark {
  background: var(--bg-dark);
  color: #fff;
}
.bg-dark h2, .bg-dark h3 { color: var(--secondary); }
.bg-dark .section-body, .bg-dark p { color: rgba(255,255,255,0.7); }
.bg-dark .section-label { color: var(--gold); }
.bg-dark .divider { background: linear-gradient(to right, var(--gold), var(--secondary)); }

/* ─── CTA Section ────────────────────────────────────────── */
.cta-luxury {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dk) 0%, #2a3d5c 100%);
  border-radius: var(--r-xl);
  padding: 6rem 4rem;
  overflow: hidden;
  text-align: center;
  margin: 2rem 0;
}
.cta-luxury::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206,200,228,0.1) 0%, transparent 65%);
  top: -200px; right: -100px;
}
.cta-luxury::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.1) 0%, transparent 65%);
  bottom: -100px; left: 50px;
}
.cta-luxury h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; position: relative; z-index: 2; }
.cta-luxury p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto; position: relative; z-index: 2; }
.cta-luxury .buttons { position: relative; z-index: 2; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  text-align: left;
}

.testimonial-card .quote-mark {
  font-family: var(--font-fine);
  font-size: 5rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.testimonial-card p {
  font-size: 0.97rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.85;
  flex-grow: 1;
}

.testimonial-card .rating {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(206,200,228,0.4);
}

.client-info img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.client-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--primary-dk);
}

.client-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── Blog Cards ─────────────────────────────────────────── */
.blog-list-section {
  padding-top: 3.5rem;
}

.blog-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(206,200,228,0.3);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--primary-dk);
}

.blog-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.blog-card a.read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.blog-card a.read-more:hover { gap: 0.9rem; color: var(--primary-dk); }

/* ─── Page Header ────────────────────────────────────────── */
.page-header {
  padding: 160px 0 65px;
  background: linear-gradient(155deg, var(--primary-dk) 0%, var(--primary) 60%, rgba(206,200,228,0.8) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 1rem; position: relative; z-index: 1; }
.page-header p { color: rgba(255,255,255,0.82); font-size: 1.15rem; position: relative; z-index: 1; max-width: 600px; }
.page-header .hero-badge { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.9); }

/* ─── Forms ──────────────────────────────────────────────── */
.contact-form {
  background: var(--bg);
  padding: 3.5rem;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(206,200,228,0.3);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.95rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-pastel);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: var(--bg);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(122,144,181,0.12);
}

/* ─── Map ────────────────────────────────────────────────── */
.map-container {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 420px;
}

/* ─── Profile / Sobre ────────────────────────────────────── */
.profile-image-wrap {
  position: relative;
}

.profile-image-wrap .main-photo {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* Adaptando o badge para funcionar no mosaico */
.mosaic-grid .badge-float,
.profile-image-wrap .badge-float {
  position: absolute;
  right: -2rem;
  bottom: 2rem;
  background: #fff;
  padding: 1.2rem 1.6rem;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  z-index: 30;
  border: 1px solid rgba(122,144,181,0.1);
}

.badge-float .b-icon { font-size: 2rem; color: var(--primary); }
.badge-float h5 { font-size: 0.9rem; color: var(--primary-dk); margin-bottom: 0.1rem; }
.badge-float p { font-size: 0.75rem; color: var(--text-muted); }

/* Formação timeline */
.timeline { list-style: none; position: relative; padding-left: 2.5rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 99px;
}
.timeline li {
  position: relative;
  margin-bottom: 2.8rem;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.4rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.timeline li h4 { font-size: 1rem; color: var(--primary-dk); margin-bottom: 0.3rem; }
.timeline li p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* Credential badges */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.cred-badge {
  background: var(--bg-pastel);
  border: 1px solid rgba(122,144,181,0.2);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition);
}
.cred-badge:hover { background: var(--secondary); border-color: var(--secondary); }
.cred-badge i { color: var(--primary); font-size: 1.2rem; min-width: 1.5rem; }
.cred-badge span { font-size: 0.85rem; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-col p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.6rem;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-col a i {
  color: var(--secondary);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  line-height: 1;
}

.footer-logo { height: 48px; margin-bottom: 1.5rem; filter: brightness(0) invert(1) opacity(0.9); }

.social-links { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65) !important;
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff !important; transform: translateY(-2px); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── WhatsApp Float ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem; right: 2.5rem;
  z-index: 999;
  background: #25D366;
  color: #fff !important;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,0.5); }
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: pulse-ring 2.5s ease infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ─── Login / Client ─────────────────────────────────────── */
.login-container { max-width: 480px; margin: 0 auto; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    top: 71px; /* Espaço para o header */
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 1.15rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    display: flex;
    overflow-y: auto;
    padding: 2rem 0;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { font-size: 1.05rem !important; padding: 0.8rem 2rem !important; margin-left: 0; }
}

@media (max-width: 1024px) {
  .hero .container { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }
  .hero { padding-top: 80px; }
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual .card-cert, .hero-visual .card-tag { display: none; }
  .hero-visual .main-img { aspect-ratio: 16/9; }

  .hero-stats { gap: 1.5rem; }
  .hero-stat strong { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 2rem 1.5rem; }

  .mosaic-grid .badge-float,
  .profile-image-wrap .badge-float {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .cta-luxury { padding: 4rem 2rem; border-radius: var(--r-lg); }
  .page-header { padding: 130px 0 60px; }

  .container { padding: 0 1.25rem; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.2rem; }
}

/* ─── Sistema de Depoimentos ─────────────────────────────── */

/* Formulário público de envio */
.dep-form-wrap {
  background: var(--bg);
  border: 1px solid rgba(206,200,228,0.4);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}

.dep-success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(122,144,181,0.1), rgba(206,200,228,0.2));
  border: 1px solid rgba(122,144,181,0.25);
}
.dep-success-msg i { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; display: block; }
.dep-success-msg h3 { color: var(--primary-dk); margin-bottom: 0.5rem; }
.dep-success-msg p  { color: var(--text-muted); font-size: 0.95rem; }

/* Rating Stars Input */
.star-rating {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.star-rating input { display: none; }
.star-rating label {
  font-size: 2rem;
  color: rgba(206,200,228,0.6);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  line-height: 1;
}
.star-rating label:hover,
.star-rating input:checked ~ label,
.star-rating label:hover ~ label { color: var(--gold); }
.star-rating label:hover { transform: scale(1.2); }
/* RTL trick: reverse order so CSS sibling selector works */
.star-rating { flex-direction: row-reverse; justify-content: flex-end; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: var(--gold); }

/* Pending badge */
.pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.4);
  color: #8a6a20;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  margin-bottom: 0.8rem;
}

/* ─── Painel Admin ─────────────────────────── */
.admin-wrap {
  min-height: 100vh;
  background: var(--bg-pastel);
  padding: 100px 5% 4rem;
}

.admin-login-box {
  max-width: 440px;
  margin: 8rem auto 0;
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(206,200,228,0.4);
  text-align: center;
}
.admin-login-box h2 { color: var(--primary-dk); margin-bottom: 0.5rem; }
.admin-login-box p  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(206,200,228,0.5);
}
.admin-panel-header h2 { color: var(--primary-dk); font-size: 1.6rem; margin: 0; }

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.admin-tab-btn {
  padding: 0.55rem 1.4rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(122,144,181,0.3);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.admin-tab-btn.active,
.admin-tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Depoimento card no admin */
.admin-dep-card {
  background: var(--bg);
  border: 1px solid rgba(206,200,228,0.4);
  border-radius: var(--r-lg);
  padding: 2rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.admin-dep-card:hover { box-shadow: var(--shadow-sm); }
.admin-dep-card.approved { border-left: 4px solid #4caf50; }
.admin-dep-card.pending  { border-left: 4px solid var(--gold); }
.admin-dep-card.rejected { border-left: 4px solid #e57373; opacity:0.7; }

.admin-dep-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.admin-dep-meta h4 { font-size: 1rem; color: var(--primary-dk); margin: 0; }
.admin-dep-meta .role { font-size: 0.82rem; color: var(--text-muted); }
.admin-dep-meta .date { font-size: 0.78rem; color: var(--text-light); margin-left: auto; }

.admin-dep-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.admin-dep-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.admin-dep-actions button {
  padding: 0.45rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-approve {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff;
}
.btn-approve:hover { background: #388e3c; border-color: #388e3c; }
.btn-reject {
  background: transparent;
  border-color: #e57373;
  color: #c62828;
}
.btn-reject:hover { background: #ffebee; }
.btn-delete {
  background: transparent;
  border-color: rgba(0,0,0,0.15);
  color: var(--text-muted);
}
.btn-delete:hover { background: #fafafa; }

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; opacity: 0.3; }

.dep-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 0.4rem;
}
