/* =========================================
   Dr. Eurípedes Reis – Landing Page
   Paleta: Navy #001329 | Orange #ff5608
   Font: Encode Sans (Google Fonts)
   ========================================= */

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

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

body {
  font-family: 'Encode Sans', sans-serif;
  font-weight: 400;
  color: #ffffff;
  background-color: #001329;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn-orange {
  display: inline-block;
  background-color: #ff5608;
  color: #ffffff;
  font-family: 'Encode Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 48px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  text-align: center;
  letter-spacing: 0.3px;
  border: none;
}

.btn-orange:hover,
.btn-orange:focus {
  background-color: #e04a00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 86, 8, 0.4);
  outline: none;
}

.btn-dark {
  display: inline-block;
  background-color: #001329;
  color: #ffffff;
  font-family: 'Encode Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 18px 48px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
  text-align: center;
  letter-spacing: 0.3px;
  border: none;
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: #002a52;
  transform: translateY(-2px);
  outline: none;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background-color: #001329;
  overflow: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 100vh;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* --- Hero Text (left) --- */
.hero-text {
  padding-right: 40px;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #ff5608;
  line-height: 1.25;
  margin-bottom: 28px;
}

.hero-desc {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: #d0dde8;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-desc strong {
  color: #ffffff;
  font-weight: 700;
}

/* Stars Box */
.stars-box {
  display: inline-flex;
  flex-direction: column;
  background-color: #0a2240;
  border: 1px solid rgba(255, 86, 8, 0.25);
  border-radius: 10px;
  padding: 14px 24px;
  margin-bottom: 32px;
  gap: 6px;
}

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

.stars {
  color: #ff5608;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.stars-score {
  color: #ff5608;
  font-weight: 800;
  font-size: 1.1rem;
}

.stars-label {
  color: #c8d8e8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* --- Hero Image (right) --- */
.hero-image-wrap {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Orange vertical stripes */
.stripes-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 0 10px;
  pointer-events: none;
}

.stripe {
  flex: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 86, 8, 0.95) 0%,
    rgba(255, 120, 40, 0.7) 60%,
    rgba(255, 86, 8, 0.2) 100%
  );
  border-radius: 2px 2px 0 0;
  min-height: 100%;
}

/* Doctor photo */
.hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  margin: 0 auto;
}

/* CRM tag */
.crm-tag {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(0, 19, 41, 0.5);
  padding: 6px 12px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* =========================================
   PROBLEMS SECTION
   ========================================= */
.problems {
  background-color: #ffffff;
  padding: 80px 0;
}

.problems-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problems-title {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #001329;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

.problems-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problems-right p {
  font-size: 1rem;
  color: #1a2e44;
  line-height: 1.75;
}

.problems-right strong {
  color: #001329;
  font-weight: 700;
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials {
  background-color: #001329;
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.2px;
}

.section-title strong {
  font-weight: 800;
}

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

.testimonial-card {
  background-color: #0a2240;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.quote-icon {
  display: block;
  color: #ff5608;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #c8d8e8;
  line-height: 1.75;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.85rem;
  color: #8aa0b4;
  font-weight: 600;
}

/* =========================================
   BIO SECTION
   ========================================= */
.bio {
  background-color: #001329;
  padding: 80px 0;
  overflow: hidden;
}

.bio-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}

/* --- Bio Image + Triangles --- */
.bio-image-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.bio-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  max-height: 600px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
}

/* Orange stacked triangles decoration */
.triangles-deco {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 1;
}

.tri {
  width: 0;
  height: 0;
  border-top: solid transparent;
  border-bottom: solid transparent;
  border-left: solid #ff5608;
  opacity: 0.9;
}

.tri-1 { border-top-width: 10px; border-bottom-width: 10px; border-left-width: 18px; opacity: 0.4; }
.tri-2 { border-top-width: 14px; border-bottom-width: 14px; border-left-width: 26px; opacity: 0.55; }
.tri-3 { border-top-width: 18px; border-bottom-width: 18px; border-left-width: 34px; opacity: 0.7; }
.tri-4 { border-top-width: 22px; border-bottom-width: 22px; border-left-width: 42px; opacity: 0.85; }
.tri-5 { border-top-width: 26px; border-bottom-width: 26px; border-left-width: 50px; opacity: 1; }
.tri-6 { border-top-width: 22px; border-bottom-width: 22px; border-left-width: 42px; opacity: 0.75; }

/* --- Bio Content (right) --- */
.bio-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ff5608;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.bio-crm {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-top: -12px;
}

.bio-card {
  background-color: #0a2240;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 28px 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bio-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.bio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bio-list li {
  font-size: 0.9rem;
  color: #c0d4e4;
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.bio-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ff5608;
  font-weight: 700;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background-color: #ffffff;
  padding: 32px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #d0d8e0;
  border-radius: 50%;
  color: #4a5568;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background-color: #ff5608;
  color: #ffffff;
  transform: scale(1.1);
}

.footer-copy {
  font-size: 0.8rem;
  color: #6b7a8a;
  text-align: center;
  line-height: 1.6;
}

.footer-copy a {
  color: #6b7a8a;
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: #ff5608;
}

/* WhatsApp float — estilos inline no HTML (snippet oficial) */

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* =========================================
   RESPONSIVE – TABLET (max 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 1.3rem; }

  .problems-container { gap: 40px; }
  .testimonials-grid { gap: 16px; }
  .bio-container { gap: 40px; }
}

/* =========================================
   RESPONSIVE – MOBILE (max 768px)
   ========================================= */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 0;
    gap: 32px;
    min-height: auto;
  }

  .hero-text {
    padding-right: 0;
    padding-bottom: 0;
  }

  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .hero-desc { font-size: 0.95rem; }

  .hero-image-wrap {
    min-height: 380px;
    width: 100%;
    margin: 0 -24px;
    width: calc(100% + 48px);
  }

  .stripes-bg {
    width: 100%;
  }

  .hero-photo {
    max-height: 400px;
    object-position: center 20%;
  }

  .crm-tag {
    bottom: 12px;
    right: 12px;
    font-size: 0.75rem;
  }

  /* Problems */
  .problems { padding: 56px 0; }
  .problems-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Testimonials */
  .testimonials { padding: 56px 0; }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title { font-size: 1.4rem; margin-bottom: 36px; }

  /* Bio */
  .bio { padding: 56px 0; }
  .bio-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-image-wrap {
    justify-content: center;
  }

  .bio-photo {
    max-height: 420px;
    width: 100%;
  }

  .triangles-deco {
    left: -10px;
  }

  /* Footer */
  .footer-copy { font-size: 0.75rem; }
}

/* =========================================
   RESPONSIVE – SMALL MOBILE (max 480px)
   ========================================= */
@media (max-width: 480px) {
  .hero-title { font-size: 1.5rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .btn-orange, .btn-dark { padding: 16px 32px; font-size: 0.95rem; }
  .stars-box { padding: 12px 18px; }

  .problems-title { font-size: 1.4rem; }
  .section-title { font-size: 1.25rem; }
  .bio-name { font-size: 1.6rem; }

  .bio-card { padding: 20px 16px; gap: 12px; }
  .bio-list li { font-size: 0.85rem; }

  .testimonial-card { padding: 24px 20px; }
  .testimonial-card p { font-size: 0.9rem; }

  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}
