/* --- VARIÁVEIS E RESET --- */
:root {
  --primary-blue: #0056d2; /* Azul Royal Principal */
  --primary-hover: #0044a5;
  --light-blue: #ebf3ff; /* Fundo Claro */
  --cyan-accent: #00c2ff; /* Detalhes */
  --text-dark: #1e293b; /* Cinza Escuro */
  --text-gray: #64748b; /* Cinza Médio */
  --white: #ffffff;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 86, 210, 0.15);

  --font-main: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}
body {
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 100px 0;
}
.text-center {
  text-align: center;
}

/* Sub-títulos */
.sub-title {
  color: var(--primary-blue);
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.sub-title.center {
  margin: 0 auto 10px;
}

/* --- NAVBAR --- */
header {
  background: var(--light-blue);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  gap: 8px;
}
.logo-icon {
  color: var(--primary-blue);
}
.logo-bold {
  color: var(--primary-blue);
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}
.mobile-only {
  display: none;
}

.btn-signup {
  background: var(--primary-blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 86, 210, 0.2);
}
.btn-signup:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* --- HERO SECTION --- */
.hero-clean {
  background-color: var(--light-blue);
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 580px;
}

.hero-text {
  flex: 1;
  max-width: 550px;
  z-index: 2;
  padding-bottom: 60px;
}

.tag-pill {
  background: rgba(0, 86, 210, 0.1);
  color: var(--primary-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.highlight-text {
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}
.highlight-text::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(0, 194, 255, 0.2);
  border-radius: 4px;
  z-index: -1;
}
.hero-text p {
  color: var(--text-gray);
  font-size: 1.15rem;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 480px;
}

/* Mockup Busca */
.search-box-mockup {
  background: var(--white);
  padding: 8px;
  border-radius: 60px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 420px;
}
.input-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
  color: #999;
  font-weight: 500;
}
.input-mock i {
  color: var(--primary-blue);
}
.btn-search {
  background: var(--primary-blue);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.btn-search:hover {
  transform: scale(1.1);
  background: var(--primary-hover);
}

/* Hero Imagem */
.hero-image-container {
  flex: 1;
  position: relative;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.blue-shape {
  position: absolute;
  bottom: 0;
  right: -50px;
  width: 550px;
  height: 550px;
  background: #dceefe;
  border-radius: 50% 50% 0 0;
  z-index: 1;
}
.doctor-img {
  position: relative;
  z-index: 2;
  height: 105%;
  width: auto;
  object-fit: contain;
  margin-bottom: -5px;
}
.hero-float-card {
  position: absolute;
  top: 30%;
  left: 0;
  background: var(--white);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}
.icon-check {
  width: 35px;
  height: 35px;
  background: #e6f0ff;
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --- STATS BAR --- */
.stats-bar {
  background: var(--primary-blue);
  color: var(--white);
  padding: 35px 0;
  position: relative;
  z-index: 3;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.stat-box {
  text-align: center;
}
.stat-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.stat-box p {
  font-size: 0.95rem;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* --- SEÇÃO SOBRE (NOVA) --- */
.section-about {
  background: var(--white);
}
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-image {
  flex: 1;
  position: relative;
}
.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.experience-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.experience-badge .years {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}
.experience-badge .text {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
}

.about-text {
  flex: 1;
}
.about-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.about-text p {
  color: var(--text-gray);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.about-list {
  margin-bottom: 40px;
}
.about-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  font-weight: 500;
}
.about-list li i {
  color: var(--primary-blue);
  font-size: 1.2rem;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  font-weight: 700;
  border-radius: 50px;
  transition: 0.3s;
}
.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* --- SERVIÇOS --- */
.section-gray {
  background: #f8fafc;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.clean-card {
  background: var(--white);
  border: 1px solid #eef2f6;
  padding: 35px 30px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.clean-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
  border-color: transparent;
}

.icon-bg {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
}
.icon-blue {
  background: #e6f0ff;
  color: var(--primary-blue);
}
.icon-cyan {
  background: #e0f7fa;
  color: #00bcd4;
}
.icon-indigo {
  background: #e8eaf6;
  color: #3f51b5;
}
.icon-green {
  background: #e8f5e9;
  color: #4caf50;
}

.clean-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.clean-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CONTATO (Formulário Bonito) --- */
.contact-section {
  background: var(--light-blue);
  padding: 80px 0;
  position: relative;
}
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.contact-info {
  flex: 1;
}
.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.contact-info p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 450px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.6);
  padding: 15px;
  border-radius: 12px;
  width: fit-content;
}
.ic-icon {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 50%;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.info-card h4 {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 2px;
}
.info-card span {
  font-weight: 700;
  color: var(--text-dark);
}

/* Card do Form */
.form-wrapper {
  flex: 1;
  max-width: 480px;
}
.beautiful-form {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 86, 210, 0.1);
}
.beautiful-form h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
  text-align: center;
}

.input-group {
  margin-bottom: 20px;
}
.input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.input-field {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 15px;
  transition: 0.3s;
}
.input-field:focus-within {
  border-color: var(--primary-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}
.input-field i {
  color: #94a3b8;
}
.input-field input,
.input-field select {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 1rem;
  color: var(--text-dark);
}

.btn-submit-glow {
  width: 100%;
  background: var(--primary-blue);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
  box-shadow: 0 10px 20px rgba(0, 86, 210, 0.25);
}
.btn-submit-glow:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* --- FOOTER --- */
footer {
  padding: 30px 20px;
  background: var(--white);
  border-top: 1px solid #f1f5f9;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-content p {
  color: #94a3b8;
  font-size: 0.9rem;
}
.socials a {
  color: #94a3b8;
  font-size: 1.2rem;
  margin-left: 20px;
  transition: 0.3s;
}
.socials a:hover {
  color: var(--primary-blue);
}

/* --- RESPONSIVIDADE (Ajustes Finais) --- */

/* Tablets */
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .blue-shape {
    width: 400px;
    height: 400px;
  }
  .hero-image-container {
    height: 450px;
  }
  .about-wrapper {
    flex-direction: column;
    gap: 50px;
  }
  .experience-badge {
    right: 20px;
  }
  .contact-container {
    flex-direction: column;
    gap: 50px;
  }
  .contact-info {
    text-align: center;
  }
  .contact-info p {
    margin: 0 auto 30px;
  }
  .info-cards {
    align-items: center;
  }
  .form-wrapper {
    width: 100%;
  }
}

/* Celulares */
@media (max-width: 768px) {
  /* Navbar Mobile */
  .navbar {
    padding: 15px 20px;
  }
  .nav-links,
  .nav-btns {
    display: none;
  }
  .menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 25px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
  }
  .mobile-only {
    display: block;
  }
  .nav-links a {
    font-size: 1.1rem;
    color: var(--text-dark);
  }

  /* Hero Mobile */
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }
  .hero-clean {
    padding-top: 30px;
  }
  .hero-text {
    padding-bottom: 40px;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .search-box-mockup {
    display: none; /* Esconde busca no mobile para limpar */
  }

  .blue-shape {
    width: 300px;
    height: 300px;
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
    border-radius: 50%;
  }
  .hero-image-container {
    width: 100%;
    height: 350px;
    margin-top: 20px;
  }
  .doctor-img {
    height: 100%;
  }
  .hero-float-card {
    top: auto;
    bottom: 20px;
    left: 10px;
    padding: 10px 15px;
  }

  /* Stats Mobile */
  .stats-grid {
    flex-direction: column;
    gap: 30px;
  }
  .stat-divider {
    width: 50px;
    height: 1px;
  }

  /* Geral Mobile */
  .section-padding {
    padding: 60px 0;
  }
  .about-text h2 {
    font-size: 2rem;
  }
  .beautiful-form {
    padding: 25px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .socials a {
    margin: 0 10px;
  }
}
