/* ============================================
   VITALMEDIC — Components
   Estrutura baseada na referência Medix
   ============================================ */

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  border-radius: var(--radius-md); /* Menos arredondado que o PrepEVC */
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

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

.btn-red:hover {
  background-color: var(--navy);
  border-color: var(--navy);
}

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

.btn-navy:hover {
  background-color: var(--red);
  border-color: var(--red);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background-color: var(--gray-100);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: var(--font-black);
  color: var(--navy);
  letter-spacing: -0.04em;
}

.brand-name .accent {
  color: var(--red);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--gray-800);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--red);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  background-color: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.header-cta:hover {
  background-color: var(--navy);
}

.mobile-toggle {
  display: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-top: var(--header-height);
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

/* Background elements imitating Medix structure */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 45%;
  background-color: var(--navy);
  z-index: 0;
}

/* Diagonal shape like Medix */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 40%;
  width: 20%;
  background-color: var(--navy);
  transform: skewX(-15deg);
  transform-origin: bottom right;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  min-height: 640px;
}

.hero-content {
  padding: 4rem 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw, var(--text-6xl));
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

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

.hero-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-image {
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 2;
  /* Make the image pop over the geometric background */
}

/* =============================================
   FAIXA DE INFORMAÇÕES (TRUST STRIP)
   ============================================= */
.trust-strip {
  background-color: var(--white);
  padding: 4rem 0;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--red);
  padding-left: 1.5rem;
}

.trust-number {
  font-size: var(--text-xl);
  font-weight: var(--font-black);
  color: var(--gray-300);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.trust-label {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--navy);
  line-height: 1.4;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: var(--section-padding);
}

.section-eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, var(--text-5xl));
  margin-bottom: 1.5rem;
}

/* =============================================
   SOBRE
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.about-highlight {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--navy);
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--red);
  line-height: 1.4;
}

/* =============================================
   SERVIÇOS
   ============================================= */
.services-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.service-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--navy);
}

.service-main-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  opacity: 0.8;
}

.service-main-content {
  padding: 3rem;
  background-color: var(--white);
}

.service-main-title {
  font-size: var(--text-3xl);
  margin-bottom: 1rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  background-color: var(--white);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.service-item:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.service-item-title {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-item-desc {
  font-size: var(--text-sm);
  color: var(--gray-600);
}

/* =============================================
   EVENTOS (DARK SECTION)
   ============================================= */
.section-dark {
  background-color: var(--navy);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-description {
  color: var(--gray-300);
  font-size: var(--text-lg);
  margin-bottom: 2.5rem;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.events-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.events-actions {
  display: flex;
  gap: 1rem;
}

/* =============================================
   DIFERENCIAIS
   ============================================= */
.differentials-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.diff-block {
  padding-top: 2rem;
  border-top: 2px solid var(--gray-200);
}

.diff-block:hover {
  border-top-color: var(--red);
}

.diff-title {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

/* =============================================
   PROCESSO
   ============================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.process-step {
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 80px;
  right: -3rem;
  height: 2px;
  background-color: var(--gray-200);
  z-index: 0;
}

.process-step:last-child::before {
  display: none;
}

.process-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--navy);
  color: var(--white);
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  border-radius: 50%;
  margin-bottom: 2rem;
}

.process-title {
  font-size: var(--text-xl);
  margin-bottom: 1rem;
}

/* =============================================
   CTA FINAL
   ============================================= */
.cta-final {
  background-color: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

.cta-final-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-final .section-title {
  color: var(--white);
}

.cta-final p {
  font-size: var(--text-xl);
  color: var(--gray-300);
  margin-bottom: 3rem;
}

.cta-final-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--gray-300);
  font-size: var(--text-sm);
}

.footer-link:hover {
  color: var(--white);
}

.footer-phone {
  display: inline-block;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--white);
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--gray-400);
}
