/* ============================================
   RVS Corretora de Saúde - Static Site
   Desenvolvido por DSX Digital
   Tons de Verde | 100% Mobile | Container 80%
   ============================================ */

:root {
  --primary: #1a7a4c;
  --primary-dark: #0f5c38;
  --primary-light: #22a05c;
  --accent: #2ecc71;
  --accent-hover: #27ae60;
  --secondary: #e8f8f0;
  --secondary-dark: #d4f0e0;
  --text: #1a2e22;
  --text-light: #4a6355;
  --white: #ffffff;
  --gray-50: #f5faf7;
  --gray-100: #eaf5ee;
  --gray-200: #d5e8dc;
  --gray-300: #b8d4c4;
  --shadow: 0 4px 20px rgba(26, 122, 76, 0.10);
  --shadow-lg: 0 10px 40px rgba(26, 122, 76, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --container: 80%;
  --max-w: 1280px;
}

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: var(--container);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== HEADER TOP (centralizado) ========== */
.header-top {
  background: var(--primary-dark);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.875rem;
}

.header-top .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}

.header-top a {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.header-top a:hover {
  opacity: 0.85;
  color: var(--accent);
}

/* ========== HEADER ========== */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-main {
  padding: 12px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.selo-top {
  display: flex;
  align-items: center;
}

.selo-top img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a.active::after,
.nav a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 122, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ANIMADO ========== */
.hero {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(46, 204, 113, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 200, 0.15) 0%, transparent 45%),
    linear-gradient(135deg, #0a4d32 0%, #1a7a4c 35%, #27ae60 70%, #2ecc71 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Partículas / vida no hero */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  animation: float 8s ease-in-out infinite;
}

.hero::before {
  width: 400px;
  height: 400px;
  top: -120px;
  right: -80px;
  animation-delay: 0s;
}

.hero::after {
  width: 250px;
  height: 250px;
  bottom: -60px;
  left: -40px;
  animation-delay: 2s;
  animation-duration: 10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  animation: particle 12s linear infinite;
}

.hero-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; width: 6px; height: 6px; }
.hero-particles span:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; width: 10px; height: 10px; }
.hero-particles span:nth-child(3) { left: 45%; top: 15%; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 65%; top: 70%; animation-delay: 1s; width: 7px; height: 7px; }
.hero-particles span:nth-child(5) { left: 80%; top: 35%; animation-delay: 3s; width: 12px; height: 12px; }
.hero-particles span:nth-child(6) { left: 90%; top: 55%; animation-delay: 5s; }

@keyframes particle {
  0% { transform: translateY(0) opacity(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

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

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease both;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 480px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.2s both;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.bg-light {
  background: var(--gray-50);
}

.bg-secondary {
  background: var(--secondary);
}

/* ========== CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

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

.card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.card-link:hover {
  color: var(--accent-hover);
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h2 {
  color: var(--primary);
  font-size: 1.9rem;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 14px;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ========== FEATURES ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: var(--primary);
}

.feature h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

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

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

.blog-card-img {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

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

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-form {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 122, 76, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 50px 0 0;
}

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

.footer h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-bottom a {
  display: inline;
  color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
  color: white;
}

/* ========== WHATSAPP FLOAT (logo oficial) ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  color: white;
  padding: 50px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.05rem;
}

/* ========== CONTENT PAGE ========== */
.content-page {
  padding: 50px 0 70px;
}

.content-page h2 {
  color: var(--primary);
  margin: 28px 0 12px;
  font-size: 1.4rem;
}

.content-page p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.75;
}

.content-page ul {
  margin: 12px 0 20px 20px;
}

.content-page li {
  margin-bottom: 8px;
  color: var(--text-light);
  list-style: disc;
}

/* ========== MEDSENIOR ========== */
.medsenior-hero {
  background: linear-gradient(135deg, #0f5c38, #1a7a4c);
  color: white;
  padding: 60px 0;
}

.medsenior-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ========== RESPONSIVE / MOBILE CENTRALIZADO ========== */

/* Cards com imagem completa (sem corte) */
.card-img-full {
  height: auto !important;
  min-height: 0;
  overflow: visible;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.card-img-full img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.card:hover .card-img-full img {
  transform: scale(1.02);
}

/* Page hero animado */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 90%, rgba(46, 204, 113, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 10%, rgba(255, 255, 180, 0.12) 0%, transparent 40%),
    linear-gradient(135deg, #0a4d32 0%, #1a7a4c 50%, #27ae60 100%);
}

.page-hero .hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  animation: fadeInUp 0.7s ease both;
}

.page-hero p {
  animation: fadeInUp 0.7s ease 0.15s both;
}

.medsenior-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(46, 204, 113, 0.3) 0%, transparent 50%),
    linear-gradient(135deg, #0a4d32 0%, #1a7a4c 50%, #27ae60 100%);
}

.medsenior-hero .hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.medsenior-hero .container {
  position: relative;
  z-index: 1;
}



/* ========== IMAGE ZOOM HOVER ========== */
.img-zoom {
  transition: transform 0.35s ease;
}
a:hover .img-zoom,
.img-zoom:hover {
  transform: scale(1.05);
}
.card-img,
.blog-card-img,
.about-image,
.hero-image {
  overflow: hidden;
}
.card-img img,
.blog-card-img img,
.about-image img,
.hero-image img {
  transition: transform 0.4s ease;
}
.card:hover .card-img img,
.blog-card:hover .blog-card-img img,
.about-image:hover img,
.hero-image:hover img {
  transform: scale(1.06);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========== BLOG 3 COLS ========== */
.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

/* ========== FOOTER LOGO BRANCO ========== */
.footer-logo {
  display: inline-block;
  margin-bottom: 14px;
}
.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.footer-logo:hover img {
  opacity: 1;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(26, 122, 76, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(26, 122, 76, 0.5);
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* Google Maps */
.gmaps-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gmaps-wrap iframe {
  display: block;
  width: 100%;
  min-height: 360px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 90px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}


/* ========== HERO VIVO / SAÚDE ========== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
  animation: fadeInUp 0.6s ease both, badgePulse 3s ease-in-out 1s infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
}
.hero-lead {
  font-size: 1.2rem !important;
  line-height: 1.55;
  max-width: 520px;
}
.hero {
  background:
    radial-gradient(ellipse at 10% 90%, rgba(46, 204, 113, 0.45) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(255, 236, 150, 0.22) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(39, 174, 96, 0.2) 0%, transparent 60%),
    linear-gradient(145deg, #064028 0%, #0f5c38 25%, #1a7a4c 55%, #27ae60 85%, #2ecc71 100%) !important;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero .hero-particles span {
  background: rgba(255,255,255,0.35);
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.5);
}
.hero-content h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  letter-spacing: -0.02em;
}
.hero-image img {
  animation: gentlePulse 4s ease-in-out infinite, fadeInRight 1s ease 0.2s both;
  border: 4px solid rgba(255,255,255,0.25);
}

/* Page heroes with more life */
.page-hero {
  background:
    radial-gradient(ellipse at 15% 90%, rgba(46, 204, 113, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(255, 236, 150, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, #064028 0%, #1a7a4c 50%, #27ae60 100%) !important;
  padding: 60px 0 !important;
}
.page-hero .hero-particles span {
  background: rgba(255,255,255,0.3);
}
.medsenior-hero {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(46, 204, 113, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 236, 150, 0.12) 0%, transparent 40%),
    linear-gradient(135deg, #064028 0%, #1a7a4c 50%, #27ae60 100%) !important;
}

/* Footer Google Maps pequeno */
.footer-gmaps {
  margin: 28px 0 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.footer-gmaps h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1rem;
}
.footer-gmaps-frame {
  max-width: 480px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.footer-gmaps-frame iframe {
  display: block;
  width: 100%;
  height: 160px;
}

/* Contatos map 100% container */
.map-section .gmaps-wrap,
.gmaps-wrap {
  max-width: 100% !important;
  width: 100%;
}

@media (max-width: 992px) {
  .blog-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .blog-grid-3 {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .blog-grid-3 .blog-card {
    max-width: 400px;
    width: 100%;
  }
}

/* ========== MEDSENIOR CENTERED ========== */
.medsenior-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.medsenior-badges img {
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}
.medsenior-map,
.medsenior-selo {
  text-align: center;
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.medsenior-map img {
  max-width: 500px;
  width: 100%;
  border-radius: 12px;
}
.medsenior-selo img {
  max-width: 320px;
}
.medsenior-hero .container {
  text-align: center;
}
.medsenior-hero-img {
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  max-width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
@media (max-width: 992px) {
  .medsenior-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .medsenior-hero-img {
    margin: 0 auto 24px;
  }
}

/* ========== FOOTER MAP ========== */
.footer-map-wrap {
  text-align: center;
  margin: 24px 0 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-map-wrap h4 {
  color: white;
  margin-bottom: 16px;
}
.footer-map-img {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  opacity: 0.95;
}

/* ========== CONTATOS MAP ========== */
.map-section {
  margin-top: 48px;
  text-align: center;
}
.map-section h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.map-section p {
  color: var(--text-light);
  margin-bottom: 24px;
}
.map-img-center {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  display: block;
}

/* Nav WhatsApp button - white text & icon */
.nav .btn-whatsapp {
  color: #fff !important;
}
.nav .btn-whatsapp svg {
  fill: #fff !important;
  color: #fff;
}
.btn-whatsapp {
  color: #fff !important;
}
.btn-whatsapp svg {
  fill: currentColor;
}


@media (max-width: 992px) {
  .hero .container,
  .about-grid,
  .contact-grid,
  .medsenior-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .about-content {
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .header-top .container {
    gap: 12px 20px;
    justify-content: center;
  }

  .header-main .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 8px;
    text-align: center;
  }

  .logo {
    justify-self: start;
    order: 1;
  }

  .logo img {
    height: 40px;
  }

  .selo-top {
    justify-self: center;
    order: 2;
  }

  .selo-top img {
    height: 38px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    order: 3;
    margin-left: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
    text-align: center;
    align-items: center;
    grid-column: 1 / -1;
  }

  .nav.open {
    display: flex;
  }

  .header-main {
    position: relative;
  }

  .hero {
    padding: 50px 0 70px;
    text-align: center;
  }

  .section {
    padding: 50px 0;
  }

  .section-header {
    text-align: center;
  }

  .features,
  .cards-grid,
  .blog-grid {
    justify-items: center;
  }

  .feature,
  .card,
  .blog-card {
    width: 100%;
    max-width: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .cta {
    text-align: center;
  }

  .page-hero {
    text-align: center;
  }

  .content-page {
    text-align: center;
  }

  .content-page ul {
    display: inline-block;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .header-top a {
    font-size: 0.8rem;
  }

  .selo-top img {
    height: 36px;
  }

  .logo img {
    height: 40px;
  }
}
