/* Reset e estilos base com paleta de cores exata do site original */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #c2b2a0;
  --secondary-color: #dfdbd0;
  --accent-color: #f3f1ed;
  --text-dark: #2c2c2c;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header exatamente igual ao site do Dr. Pedro */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand .logo {
  height:100px;
  width: 130px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero section igual ao layout do Dr. Pedro com espaço para foto */
.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--white);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero-specialties {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-credentials {
  margin: 2rem 0;
}

.hero-credentials p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.doctor-photo-placeholder {
  width: 100%;
  height: 600px;
  background-color: var(--secondary-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Botões iguais ao site original */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #a89688;
  border-color: #a89688;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #20b358;
  border-color: #20b358;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-full {
  width: 100%;
}

/* Seção sobre igual ao layout original */
.about {
  padding: 80px 0;
  background-color: var(--accent-color);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.highlight {
  text-align: center;
  padding: 1.5rem;
}

.highlight h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.highlight p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Grid de procedimentos igual ao site do Dr. Pedro */
.procedures {
  padding: 80px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.procedures-grid {
  display: grid;
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.procedure-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.procedure-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.procedure-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.procedure-content {
  padding: 16px;
}

.procedure-content h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.procedure-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Seção de contato igual ao layout original */
.contact {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.contact-methods {
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.clinic-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.address p {
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

/* Formulário igual ao site original */
.contact-form {
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease;
  background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-submit {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: #a89688;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Estilos do mapa */
.map-container {
  margin-top: 3rem;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Footer simples igual ao original */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
}

.footer-quote p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.footer-copyright p {
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsivo igual ao site original */
@media (max-width: 768px) {
  .top-contacts {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .procedures-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* Animações suaves */
html {
  scroll-behavior: smooth;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Barra de contatos no topo */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.top-contacts {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

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

.contact-item i {
  font-size: 16px;
}

/* Parallax */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  z-index: -1;
}

/* Depoimentos */
.testimonials {
  padding: 80px 0;
  background-color: var(--accent-color);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  text-align: center;
  padding: 2rem;
}

.testimonial-card.active {
  display: block;
}

.testimonial-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-content h4 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-dot.active {
  background-color: var(--primary-color);
}

/* Seção Parallax */
.parallax-section {
    position: relative;
    height: 600px;
    background-image: url("images/foto-sorriso.png");
    background-size: cover;
    background-position: top;
    background-attachment: fixed; /* Parte principal do parallax */
    display: flex;
    align-items: center;
    justify-content: center;
}



.rotating-banner {
  position: relative;
  width: 100%;
  height: 700px; /* ajuste conforme necessário */
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
   transition: opacity 1.5s ease-in-out, transform 4s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
  animation: zoomIn 6s forwards ease-in-out; /* zoom gradual */
  z-index: 1;
}

/* Animação de zoom */
@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.15); /* cresce suave até o final */
  }
}


.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.btn-consulta {
  padding: 8px;
  background: #c2b2a0;
  color: white;
  text-decoration: none;
  border-radius: 35px;
  border: 1px solid #474747ff;
}

.btn-consulta:hover {
  padding: 8px;
  background: #dfdbd0;
  color: white;
  text-decoration: none;
  border-radius: 35px;
}

.div-consulta {
  text-decoration: none;
  width: 200px;
  height: 60px;
  background: #c2b2a0;
  text-decoration: none;
  color: var(--text-light);
  border-radius: 35px;
}

.bnt-consulta-nav {
  padding: 8px;
  background: #c2b2a0;
  color: white;
  text-decoration: none;
  border-radius: 35px;
}

.bnt-consulta-nav:hover{
  padding: 8px;
  background: #dfdbd0;
  color: white;
  text-decoration: underline
  border-radius: 35px;
}

/* Navbar mais alta */
.navbar {
  padding: 20px 0;  /* antes deve estar algo tipo 10px, pode dobrar */
}

/* Links do menu maiores */
.nav-menu li a {
  font-size: 18px;   /* aumenta o tamanho da fonte */
  padding: 12px 18px; /* dá mais espaço em volta */
}

.main-icons {
    display: flex;
    justify-content: space-between; /* esquerda/direita */
    align-items: center;
    padding: 10px 20px;
    background: #dfdbd0;
}

.icons-div span {
    font-size: 14px;
}

.icons-div i {
    margin-right: 8px; /* espaço entre ícone e número */
}

.icons-style {
    display: flex;
    gap: 10px; /* espaço entre os ícones */
}

.icons-style a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #c2b2a0;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    text-decoration: none;
}

.icons-style a:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border-radius: 5px;
    color: #c2b2a0;
    font-size: 16px;
    text-decoration: none;
}

.carousel {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.doctor-slide {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.doctor-slide.active {
  display: flex;
  animation: fadeIn 1s ease-in-out;
}

.doctor-img {
  max-width: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-text {
  max-width: 500px;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Botões de navegação */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.carousel-controls button {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.3s;
}
.carousel-controls button:hover {
  background: rgba(0,0,0,0.8);
}

/* Indicadores (bolinhas) */
.carousel-dots {
  text-align: center;
  margin-top: 20px;
}
.carousel-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}
.carousel-dots .dot.active {
  background: #333;
}
