/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #444;
  background: #fff;
}

/* ── Palette (MediClinic) ── */
:root {
  --teal:    #5CD2D2;
  --pink:    #FF379F;
  --light:   #E7FAFF;
  --dark:    #32373c;
  --white:   #ffffff;
  --gray:    #f5f7f9;
  --text:    #555;
}

h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; color: var(--dark); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { padding: 72px 20px; }

.container { max-width: 1100px; margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn-teal  { background: var(--teal); color: #fff; }
.btn-pink  { background: var(--pink); color: #fff; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }

/* ════════════════════════════════
   HEADER / NAV
════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
}
.logo {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}
.logo span { color: var(--teal); }
.logo small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .8px;
  color: var(--pink);
  text-transform: uppercase;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
nav ul li a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s;
}
nav ul li a:hover { color: var(--teal); }
.nav-cta { margin-left: 16px; }

/* hamburger (mobile) */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 3px; background: var(--dark); border-radius: 3px; transition: .3s; }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
  background: linear-gradient(135deg, var(--teal) 0%, #3ab8b8 50%, #2aa8c8 100%);
  padding: 100px 20px 80px;
  color: #fff;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-text h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-text h1 em {
  font-style: normal;
  color: #fff176;
}
.hero-text p {
  font-size: 17px;
  opacity: .92;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-photo {
  flex-shrink: 0;
  width: 340px;
  position: relative;
}
.hero-photo img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.hero-photo .badge-crm {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  white-space: nowrap;
}
.badge-crm span { color: var(--teal); }

/* ── stats bar ── */
.stats-bar {
  background: var(--white);
  box-shadow: 0 6px 30px rgba(0,0,0,.08);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  padding: 0 20px;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid #eee;
}
.stat-item:last-child { border-right: none; }
.stat-item .num {
  font-family: 'Nunito', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.stat-item .num sup { font-size: 20px; }
.stat-item .label {
  font-size: 13px;
  color: #888;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* ════════════════════════════════
   SECTION TITLES
════════════════════════════════ */
.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.section-title .tag {
  display: inline-block;
  background: var(--light);
  color: var(--teal);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}
.section-title h2 span { color: var(--teal); }
.section-title p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--text);
  line-height: 1.7;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  border-radius: 4px;
  margin: 16px auto 0;
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
#sobre { background: var(--gray); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  border-radius: 20px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.about-img-wrap .accent-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--teal);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 20px 28px;
  border-radius: 16px;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(92,210,210,.4);
}
.about-img-wrap .accent-box strong { font-size: 32px; display: block; }
.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}
.about-text h2 span { color: var(--teal); }
.about-text .subtitle {
  color: var(--pink);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--dark);
}
.about-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  background: var(--light);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 24px;
  text-align: center;
}
.crm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border-left: 4px solid var(--teal);
  padding: 12px 20px;
  border-radius: 0 12px 12px 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-top: 8px;
}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
#servicos { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  border-top-color: var(--teal);
}
.service-icon {
  font-size: 48px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}
.service-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

/* ════════════════════════════════
   HEALTH TIPS
════════════════════════════════ */
#dicas { background: var(--light); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.tip-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
  transition: transform .25s;
}
.tip-card:hover { transform: translateY(-4px); }
.tip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
}
.tip-number {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 52px;
  color: var(--light);
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 20px;
}
.tip-icon { font-size: 40px; margin-bottom: 14px; }
.tip-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
}
.tip-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

/* ════════════════════════════════
   VACCINATION CALENDAR
════════════════════════════════ */
#vacinacao { background: var(--white); }
.vac-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--text);
  line-height: 1.7;
}
.vac-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
}
.vac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.vac-table thead tr {
  background: linear-gradient(90deg, var(--teal), #3ab8c8);
  color: #fff;
}
.vac-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.vac-table tbody tr { border-bottom: 1px solid #f0f0f0; transition: background .15s; }
.vac-table tbody tr:hover { background: var(--light); }
.vac-table tbody td {
  padding: 14px 20px;
  vertical-align: top;
  color: var(--text);
  line-height: 1.6;
}
.vac-table tbody td:first-child {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  color: var(--teal);
  white-space: nowrap;
  width: 140px;
}
.vac-table .highlight { font-weight: 700; color: var(--dark); }
.vac-footer {
  text-align: center;
  margin-top: 28px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--dark);
  background: var(--light);
  padding: 16px 24px;
  border-radius: 12px;
}

/* ════════════════════════════════
   FOOD PYRAMID
════════════════════════════════ */
#piramide { background: var(--gray); }
.pyramid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.pyramid-visual {
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,.08);
}
.pyramid-visual img { border-radius: 12px; width: 100%; }
.pyramid-levels { display: flex; flex-direction: column; gap: 10px; }
.pyr-level {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s;
}
.pyr-level:hover { transform: translateX(4px); }
.pyr-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.pyr-level-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2px;
}
.pyr-level-text p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.pyr-level-text .freq {
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  margin-top: 2px;
}

/* ════════════════════════════════
   CONTACT / CTA
════════════════════════════════ */
#contato {
  background: linear-gradient(135deg, var(--teal) 0%, #3ab8b8 50%, #2aa8c8 100%);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.contact-info p {
  opacity: .9;
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 16px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  opacity: .75;
  margin-bottom: 2px;
}
.contact-item-text span {
  font-size: 16px;
  font-weight: 600;
}
.contact-item-text a {
  color: #fff176;
  font-weight: 700;
}
.contact-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  padding: 40px 36px;
}
.contact-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.contact-card p {
  opacity: .85;
  font-size: 14px;
  margin-bottom: 28px;
}
.contact-card .btn {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}
.wa-btn {
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 50px;
  transition: transform .2s, box-shadow .2s;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37,211,102,.4); }
.tel-btn {
  background: rgba(255,255,255,.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background .2s;
  width: 100%;
  text-align: center;
}
.tel-btn:hover { background: rgba(255,255,255,.3); }
.hours-note {
  text-align: center;
  opacity: .7;
  font-size: 13px;
  margin-top: 16px;
}

/* ════════════════════════════════
   FLOATING WHATSAPP
════════════════════════════════ */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: transform .2s;
}
.floating-wa:hover { transform: scale(1.1); }
.floating-wa::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: pulse-wa 2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse-wa {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.5); opacity: 0;  }
  100% { transform: scale(1.5); opacity: 0;  }
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer {
  background: var(--dark);
  color: #ccc;
  padding: 40px 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.footer-logo span { color: var(--teal); }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: #aaa;
  transition: color .2s;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy {
  font-size: 13px;
  color: #777;
  width: 100%;
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 8px;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 860px) {
  nav ul, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-photo { width: 260px; }
  .hero-buttons { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap .accent-box { right: 0; }
  .pyramid-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid #eee; }
}
@media (max-width: 540px) {
  section { padding: 52px 16px; }
  .stat-item { flex: 1 1 100%; }
}
