/* MEDTACT — stylesheet comun */

:root {
  --red: #c8102e;
  --red-dark: #96001f;
  --black: #17181a;
  --gray-dark: #3a3c3f;
  --gray: #6b6e73;
  --gray-light: #f2f2f3;
  --white: #ffffff;
  --radius: 6px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--gray-dark); }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8e8e9;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 40px;
  width: auto;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--black);
  font-weight: 600;
  font-size: 0.95rem;
}

nav.main-nav a.active,
nav.main-nav a:hover {
  color: var(--red);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e8e8e9;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  nav.main-nav li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
  .nav-toggle { display: block; }
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); text-decoration: none; }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); text-decoration: none; }

.btn-outline-dark {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); text-decoration: none; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero .wrap { position: relative; z-index: 2; }

.eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.hero h1 { max-width: 720px; }

.hero p.lead {
  color: #c9cacc;
  font-size: 1.15rem;
  max-width: 560px;
}

.heartbeat {
  width: 100%;
  height: 40px;
  margin: 26px 0;
}
.heartbeat path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
}

/* Sections */

section { padding: 70px 0; }
section.tight { padding: 40px 0; }
section.alt { background: var(--gray-light); }
section.dark { background: var(--black); color: var(--white); }
section.dark p { color: #c9cacc; }
section.dark h2 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Grid / cards */

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

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid #e8e8e9;
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 { margin-bottom: 10px; }

.tag {
  display: inline-block;
  background: var(--gray-light);
  color: var(--gray-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tag.red { background: #fbe4e8; color: var(--red-dark); }

/* Course cards */

.course-card {
  border: 1px solid #e8e8e9;
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--gray);
  border-top: 1px solid #eee;
  padding-top: 14px;
  margin-top: 4px;
}

.course-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
}

.price-note {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 400;
}

/* Tiered pricing */

.price-tiers {
  border-top: 1px solid #eee;
  padding-top: 14px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-tiers .tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
}
.price-tiers .tier-range {
  color: var(--gray-dark);
}
.price-tiers .tier-price {
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

/* Stats */

.stat {
  text-align: center;
}
.stat .num {
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red);
}
.stat .label {
  color: var(--gray);
  font-size: 0.9rem;
}

/* CTA banner */

.cta-banner {
  background: var(--red);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #ffe3e7; }

/* Footer */

footer.site-footer {
  background: var(--black);
  color: #c9cacc;
  padding: 50px 0 26px;
}
footer.site-footer a { color: var(--white); }
footer.site-footer h4 { color: var(--white); font-size: 1rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid #2c2d30;
  padding-top: 18px;
  font-size: 0.82rem;
  color: #8a8c8f;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Forms */

form.contact-form {
  display: grid;
  gap: 16px;
}
form.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7d8da;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

/* List with check icons */

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: var(--gray-dark);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;