@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

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

:root {
  --brand: #BC7F60;
  --brand-dark: #965F43;
  --brand-light: #d4a082;
  --bg-peach: #FFEBE0;
  --bg-cream: #FFFBF8;
  --bg-white: #FFFFFF;
  --text-dark: #232323;
  --text-mid: #484848;
  --text-light: #707070;
  --text-subtle: #AAA8A8;
  --border: #D3D3D3;
  --nav-height: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-mid);
  background: var(--bg-white);
  overflow-x: hidden;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 600; }
p { line-height: 1.75; }

/* ===== SECTION HEADINGS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { color: var(--text-dark); margin-bottom: 16px; }
.section-header .subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brand);
}
.section-divider {
  width: 60px; height: 3px;
  background: var(--brand);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  cursor: pointer; border: none;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(188,127,96,0.4); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: var(--nav-height);
  transition: box-shadow 0.3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo img { height: 52px; width: auto; }
.nav-menu { display: flex; gap: 2px; align-items: center; }
.nav-menu a {
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-dark);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--brand); background: var(--bg-peach); }
.nav-menu .nav-cta {
  background: var(--brand); color: #fff;
  border-radius: 8px;
}
.nav-menu .nav-cta:hover { background: var(--brand-dark); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav overlay (mobile backdrop) */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9997;
}
.nav-overlay.open { display: block; }

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    /* cobre a tela inteira — elimina qualquer ambiguidade de bottom/height */
    position: fixed;
    inset: 0;
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: 40px;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    z-index: 9998;
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
  }
  .nav-menu.open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  .nav-menu li { width: 100%; text-align: center; }
  .nav-menu a { padding: 16px 28px; display: block; width: 100%; border-radius: 0; font-size: 1.05rem; }
  .nav-menu .nav-cta { margin: 20px auto 0; width: fit-content; border-radius: 8px; display: inline-block; padding: 14px 40px; }
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-height);
  background: var(--bg-cream);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpeg');
  background-size: cover; background-position: center 30%;
  opacity: 0.18;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
  padding: 80px 0;
}
.hero-text { }
.hero-eyebrow {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brand);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-text h1 { margin-bottom: 24px; color: var(--text-dark); }
.hero-text h1 em { font-style: italic; color: var(--brand); font-family: 'Playfair Display', serif; }
.hero-text p { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 36px; max-width: 480px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(188,127,96,0.2);
  position: relative;
}
.hero-photo img { width: 100%; height: 480px; object-fit: cover; object-position: top; }
.hero-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(188,127,96,0.15), transparent);
  z-index: 1; pointer-events: none;
}
.hero-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--brand);
  color: #fff; border-radius: 16px;
  padding: 16px 24px;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 8px 24px rgba(188,127,96,0.4);
}
.hero-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; }
.hero-badge .label { font-size: 0.75rem; font-weight: 500; opacity: 0.9; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }
  .hero-photo { max-width: 400px; margin: 0 auto; }
  .hero-photo img { height: 360px; }
}
@media (max-width: 480px) { .hero-badge { bottom: -12px; left: 12px; } }

/* ===== SECTION SPACING ===== */
section { padding: 90px 0; }

/* ===== SERVICES ===== */
#servicos { background: var(--bg-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-peach);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(188,127,96,0.18);
  border-color: var(--brand-light);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--brand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #fff; font-size: 22px;
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--brand-dark);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.9rem; color: var(--text-light); }

/* ===== DIFERENCIAIS ===== */
#diferenciais { background: var(--bg-peach); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.diferencial-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.diferencial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(188,127,96,0.15); }
.diferencial-icon {
  width: 60px; height: 60px;
  background: var(--bg-peach);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px; color: var(--brand);
}
.diferencial-card h3 { font-size: 1rem; color: var(--brand-dark); margin-bottom: 8px; }
.diferencial-card p { font-size: 0.88rem; color: var(--text-light); }

/* ===== CASOS CLINICOS ===== */
#casos { background: var(--bg-white); }
.casos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.caso-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Before/After Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  height: 260px;
}
/* After image: base layer, fills slider */
.ba-slider .ba-after {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
/* Before wrapper: clips the before image from the right */
.ba-before-wrap {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}
/* Before image: width is set via JS to match full slider width */
.ba-slider .ba-before {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border: 3px solid #fff;
}
.ba-handle::after {
  content: '◀ ▶';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 10px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.ba-labels {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between;
  pointer-events: none;
}
.ba-labels span {
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px;
}
.caso-title {
  padding: 14px 16px;
  font-size: 0.85rem; font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--bg-cream);
}

/* ===== DEPOIMENTOS CARROSSEL ===== */
#depoimentos { background: var(--bg-peach); }

.carousel-wrapper {
  position: relative;
}
.carousel-track-outer {
  overflow: hidden;
  border-radius: 16px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.carousel-track.grabbing { cursor: grabbing; }
.carousel-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}
.depoimento-img {
  border-radius: 12px; overflow: hidden;
  transition: box-shadow 0.3s;
  cursor: pointer;
}
.depoimento-img:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.depoimento-img img { width: 100%; height: auto; display: block; }

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff; border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(188,127,96,0.4);
  transition: background 0.2s, transform 0.2s;
}
.carousel-btn:hover { background: var(--brand-dark); transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

/* Dots */
.carousel-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-light);
  border: none; cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--brand);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .carousel-slide { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 540px) {
  .carousel-slide { flex: 0 0 100%; }
  .carousel-btn.prev { left: 0; }
  .carousel-btn.next { right: 0; }
}

/* ===== SOBRE (QUEM SOU) ===== */
#quem-sou { background: var(--bg-white); }
.sobre-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.sobre-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sobre-photos img { border-radius: 12px; width: 100%; height: 220px; object-fit: cover; }
.sobre-photos img:first-child { grid-column: 1 / -1; height: 300px; object-position: top; }
.sobre-text h2 { color: var(--brand-dark); margin-bottom: 8px; }
.sobre-text .eyebrow {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--brand); font-size: 1.05rem;
  display: block; margin-bottom: 24px;
}
.sobre-text p { color: var(--text-mid); margin-bottom: 18px; font-size: 1rem; }
.sobre-formacao {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-peach);
  border-radius: 12px;
  border-left: 4px solid var(--brand);
}
.sobre-formacao h3 { color: var(--brand-dark); margin-bottom: 16px; font-size: 1rem; }
.formacao-item {
  padding: 8px 0;
  border-bottom: 1px solid rgba(188,127,96,0.2);
  font-size: 0.9rem; color: var(--text-mid);
  display: flex; gap: 12px; align-items: flex-start;
}
.formacao-item:last-child { border-bottom: none; }
.formacao-item i { color: var(--brand); margin-top: 3px; flex-shrink: 0; }

@media (max-width: 900px) {
  .sobre-inner { grid-template-columns: 1fr; }
  .sobre-photos { max-width: 500px; }
}

/* ===== CONSULTÓRIO ===== */
#consultorio { background: var(--bg-peach); }
.consultorio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px; align-items: center;
}
.consultorio-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.consultorio-photos img { border-radius: 12px; width: 100%; object-fit: cover; }
.consultorio-photos img:nth-child(1) { grid-column: 1 / -1; height: 280px; }
.consultorio-photos img:nth-child(n+2) { height: 180px; }
.consultorio-text h2 { color: var(--brand-dark); margin-bottom: 20px; }
.consultorio-text p { color: var(--text-mid); margin-bottom: 24px; }
.consultorio-info {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 24px;
}
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item i { color: var(--brand); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.info-item span { font-size: 0.95rem; color: var(--text-mid); }

@media (max-width: 900px) {
  .consultorio-grid { grid-template-columns: 1fr; }
  .consultorio-photos { max-width: 500px; }
}

/* ===== BLOG ===== */
#blog-section { background: var(--bg-white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.blog-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-cream);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(188,127,96,0.18); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-date { font-size: 0.8rem; color: var(--brand); font-weight: 600; font-family: 'Montserrat', sans-serif; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card-body h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.blog-read-more {
  font-size: 0.85rem; font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.blog-read-more:hover { gap: 10px; }
.blog-center { text-align: center; }

/* ===== CONTATO ===== */
#contato { background: var(--text-dark); color: #fff; }
#contato h2 { color: #fff; }
#contato .section-header .subtitle { color: var(--brand-light); }
.contato-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contato-info { }
.contato-info h3 {
  color: var(--brand-light);
  font-size: 1.4rem; margin-bottom: 32px;
}
.contato-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 28px;
}
.contato-item-icon {
  width: 44px; height: 44px;
  background: rgba(188,127,96,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light); font-size: 1.1rem;
  flex-shrink: 0;
}
.contato-item-text { }
.contato-item-text strong { display: block; color: #fff; margin-bottom: 4px; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; }
.contato-item-text span { font-size: 0.95rem; color: rgba(255,255,255,0.75); }
.contato-item-text a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.contato-item-text a:hover { color: var(--brand-light); }
.contato-social { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  width: 44px; height: 44px;
  background: rgba(188,127,96,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light); font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: var(--brand); color: #fff; }
.contato-map { border-radius: 16px; overflow: hidden; height: 380px; }
.contato-map iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 767px) {
  .contato-inner { grid-template-columns: 1fr; }
  .contato-map { height: 280px; }
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a1a;
  padding: 40px 0;
  color: rgba(255,255,255,0.5);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-credits { font-size: 0.8rem; text-align: center; }
.footer-credits a { color: var(--brand-light); transition: color 0.2s; }
.footer-credits a:hover { color: #fff; }
.footer-partners { display: flex; gap: 20px; align-items: center; }
.footer-partners img { height: 30px; filter: brightness(0) invert(1); opacity: 0.5; transition: opacity 0.2s; }
.footer-partners img:hover { opacity: 0.85; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; width: 60px; height: 60px;
  bottom: 40px; right: 40px;
  background: #25d366; color: #fff;
  border-radius: 50%; text-align: center;
  font-size: 30px; box-shadow: 1px 1px 2px #888;
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(37,211,102,0.5); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }
.stagger-child { transition-delay: var(--delay, 0s); }

/* ===== BLOG PAGE ===== */
.blog-page { padding-top: calc(var(--nav-height) + 60px); min-height: 80vh; }
.blog-page-hero {
  background: var(--bg-peach);
  padding: 60px 0;
  margin-bottom: 60px;
  text-align: center;
}
.blog-page-hero h1 { color: var(--brand-dark); margin-bottom: 12px; }
.blog-page-hero p { color: var(--text-mid); font-size: 1.05rem; }

/* ===== BLOG POST PAGE ===== */
.post-page { padding-top: var(--nav-height); }
.post-hero {
  height: 420px;
  position: relative;
  overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.55));
}
.post-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px;
  z-index: 1;
}
.post-hero-content h1 {
  color: #fff; font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  max-width: 800px; margin-bottom: 12px;
}
.post-meta { color: rgba(255,255,255,0.8); font-size: 0.9rem; display: flex; gap: 20px; flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-body {
  max-width: 780px; margin: 0 auto;
  padding: 60px 20px 80px;
}
.post-body p { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 24px; line-height: 1.8; }
.post-body h2 { color: var(--brand-dark); margin: 40px 0 16px; font-size: 1.4rem; }
.post-body h3 { color: var(--brand-dark); margin: 28px 0 12px; font-size: 1.15rem; }
.post-body img { border-radius: 12px; margin: 32px 0; width: 100%; max-height: 480px; object-fit: cover; }
.post-body ul, .post-body ol { margin: 16px 0 24px 24px; }
.post-body li { margin-bottom: 8px; font-size: 1.05rem; color: var(--text-mid); }
.post-cta-box {
  background: var(--bg-peach);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 48px;
  border-left: 4px solid var(--brand);
}
.post-cta-box h3 { color: var(--brand-dark); margin-bottom: 12px; }
.post-cta-box p { color: var(--text-mid); margin-bottom: 24px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: 0.85rem;
  font-weight: 600; color: var(--brand);
  margin-bottom: 40px;
  transition: gap 0.2s;
}
.back-link:hover { gap: 12px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-peach);
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ===== RELATED POSTS ===== */
.related-posts { background: var(--bg-cream); padding: 60px 0; }
.related-posts h2 { font-size: 1.5rem; color: var(--brand-dark); margin-bottom: 32px; text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .services-grid, .diferenciais-grid { grid-template-columns: 1fr; }
  .casos-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-partners { justify-content: center; }
  .footer-links { justify-content: center; }
  .post-hero { height: 300px; }
  .post-hero-content { padding: 20px; }
  .post-cta-box { padding: 24px; }
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99998;
  background: #1a1a1a;
  color: rgba(255,255,255,0.85);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner.hidden { transform: translateY(110%); }
.cookie-text { flex: 1; min-width: 220px; font-size: 0.88rem; line-height: 1.6; }
.cookie-text strong { color: #fff; }
.cookie-text a { color: var(--brand-light); text-decoration: underline; }
.cookie-text a:hover { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.cookie-btn-accept { background: var(--brand); color: #fff; }
.cookie-btn-accept:hover { background: var(--brand-dark); }
.cookie-btn-reject { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.25); }
.cookie-btn-reject:hover { background: rgba(255,255,255,0.08); color: #fff; }

@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ===== LGPD PAGE ===== */
.lgpd-page { padding-top: var(--nav-height); }
.lgpd-hero { background: var(--bg-peach); padding: 60px 0; text-align: center; }
.lgpd-hero h1 { color: var(--brand-dark); font-size: clamp(1.6rem, 4vw, 2.4rem); }
.lgpd-hero p { color: var(--text-mid); margin-top: 12px; font-size: 1rem; }
.lgpd-body { max-width: 820px; margin: 0 auto; padding: 60px 20px 80px; }
.lgpd-body h2 {
  color: var(--brand-dark); margin: 44px 0 14px;
  font-size: 1.25rem; padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-peach);
}
.lgpd-body h2:first-of-type { margin-top: 0; }
.lgpd-body p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; font-size: 1rem; }
.lgpd-body ul, .lgpd-body ol { margin: 0 0 20px 24px; }
.lgpd-body li { color: var(--text-mid); margin-bottom: 8px; line-height: 1.75; font-size: 1rem; }
.lgpd-body strong { color: var(--text-dark); }
.lgpd-body a { color: var(--brand); }
.lgpd-body a:hover { text-decoration: underline; }
.lgpd-toc {
  background: var(--bg-peach); border-radius: 12px;
  padding: 24px 28px; margin-bottom: 48px;
}
.lgpd-toc h3 { color: var(--brand-dark); margin-bottom: 14px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.lgpd-toc ol { margin: 0 0 0 20px; }
.lgpd-toc li { margin-bottom: 6px; }
.lgpd-toc a { color: var(--brand); font-size: 0.92rem; }
.lgpd-highlight {
  background: var(--bg-peach); border-left: 4px solid var(--brand);
  border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 24px 0;
}
.lgpd-highlight p { margin: 0; font-size: 0.95rem; }
