/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 30px;
  z-index: 1000;
  background: #fff8f880;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* MENU DESKTOP */
.menu a {
  margin-left: 30px;
  color: #7c4b4b;
  text-decoration: none;
  font-size: 18px;
}

/* =========================
   HAMBURGUER
========================= */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #7c4b4b;
  padding: 6px;
  border-radius: 6px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #7c4b4b;
  border-radius: 2px;
}

/* =========================
   MENU MOBILE (DRAWER)
========================= */

/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 1500;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* MENU LATERAL */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: #f4eeeb;
  padding: 30px 25px;
  transition: 0.3s ease;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  left: 0;
}

/* HEADER MENU */
.menu-header {
  display: flex;
  justify-content: flex-end;
}

.close {
  font-size: 22px;
  cursor: pointer;
  color: #7c4b4b;
}

/* LINKS */
.mobile-nav {
  margin-top: 20px;
}

.mobile-nav a {
  display: block;
  font-size: 18px;
  color: #7c4b4b;
  margin: 18px 0;
  text-decoration: none;
}

/* =========================
   SECTIONS
========================= */
.section {
  min-height: 100vh;
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   HOME
========================= */
.home {
  background: #FFF8F8;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0;
}

.home-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;

  /* background-image: url('img/foto1.jpeg');*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 0;

  transform: translateY(0);
  opacity: 0.3;
  transition: opacity 0.3s linear;
}

.home.section {
  justify-content: flex-start;
  padding-top: 30px;
  align-items: center;
}

.home-content {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo {
  width: 400px;
  display: block;
  margin: 0 auto;
}

.home h1 {
  font-size: 38px;
  font-weight: 600;
  color: #c46060;
  margin-bottom: 24px;
}

.home p {
  font-size: 20px;
  color: #7c4b4b;
  margin-bottom: 30px;
}

/* BOTÕES */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.btn {
  background: #975B5B;
  color: white;
  padding: 18px 60px;
  border-radius: 40px;
  text-align: center;
  font-weight: 500;
}

.btn:link {
  text-decoration: none;
  color: white;
}

.btn-contato:link {
  text-decoration: none;
  color: #7E5050;
}

/* IMAGEM DESKTOP */
.home-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  margin-right: 0;
  margin-top: 0;
}

.home-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* =========================
   SOBRE
========================= */
.sobre {
  background: #CE6365;
  color: white;
  justify-content: center;
}

.sobre-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
}

.sobre h2 {
  width: 100%;
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
}

.profissionais {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.profissional {
  width: 100%;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.sobre-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sobre-image img {
  width: 360px;
  border-radius: 20px;
  border: 2px solid #7E5050;
  display: block;
}

.profissional-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.profissional-info h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.profissional-info .crp {
  margin: 0 0 20px;
  background: rgba(255,255,255,0.2);
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-block;
  font-size: 18px;
  white-space: nowrap;
}

.profissional-info p {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.profissional-info .profissional-frase {
  margin-bottom: 0;
  font-style: italic;
}

/* =========================
   ESPECIALIDADES
========================= */
.especialidades {
  background: #f4eeeb;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 50px 60px;
}

.especialidades h2 {
  font-size: 38px;
  font-weight: 600;
  color: #c46060;
  margin-bottom: 15px;
}

.sub {
  font-size: 25px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 10px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-top: 50px;
  width: 90%;
  max-width: 1600px;
}

.card {
  border: 2px solid #c46060;
  border-radius: 20px;
  padding: 30px;
  background-color: #ffffff;
}

.card h3 {
  font-size: 22px;
  font-weight: 500;
  color: #7E5050;
  margin-bottom: 10px;
}

.card p {
  font-size: 18px;
  font-weight: 500;
  color: #B57879;
}

/* =========================
   PRÉ
=========================
.pre {
  background: #CE6365;
  color: white;
  text-align: center;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 200px;
}

.pre h2 {
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.pre p {
  font-size: 20px;
  color: #ffffff;
  margin-top: 10px;
  margin-bottom: 30px;
  max-width: 1024px;
} */

/* =========================
   CONTATO
========================= */
.contato {
  background: #CE6365;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 60px;
}

.contato h2 {
  font-size: 38px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.box {
  border: 2px solid #c46060;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 30px;
}

.box h4 {
  font-size: 22px;
  font-weight: 500;
  color: #7E5050;
  margin-bottom: 10px;
}

.box p {
  font-size: 18px;
  font-weight: 500;
  color: #7E5050;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #8f5454;
  color: white;
  text-align: center;
  padding: 40px;
}

/* =========================
   TABLETS
========================= */
@media (max-width: 1250px) {

  .sobre-container {
    max-width: 1000px;
    gap: 35px;
  }

  .profissionais {
    gap: 35px;
  }

  .profissional {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
  }

  .sobre-image img {
    width: 300px;
  }

  .sobre h2 {
    font-size: 32px;
  }

  .profissional-info h3 {
    font-size: 24px;
  }

  .profissional-info p {
    font-size: 18px;
  }

  .profissional-info .crp {
    font-size: 16px;
    padding: 10px 14px;
  }

}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    padding: 20px;
    background: transparent;
    backdrop-filter: none;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* SECTION */
  .section {
    padding: 100px 20px;
  }

  h1, h2 {
    font-size: 25px;
  }

  p {
    font-size: 15px;
  }

  /* HOME */
  .home {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 50px;
  }

  .home-content {
    max-width: 100%;
    text-align: center;
  }

  .home-image {
    position: relative;
    width: 100%;
    margin-top: 40px;
  }

  .home-image img {
    width: 100%;
    height: auto;
  }

  .buttons {
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .logo {
    width: 350px;
    margin-bottom: 10px;
  }

  /* SOBRE */
  .sobre {
    padding: 90px 20px;
  }

  .sobre-container {
    width: 100%;
    gap: 35px;
    text-align: center;
  }

  .sobre h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .profissionais {
    gap: 45px;
  }

  .profissional {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .sobre-image {
    width: 100%;
    justify-content: center;
  }

  .sobre-image img {
    width: 100%;
    max-width: 320px;
  }

  .profissional-info {
    width: 100%;
    align-items: center;
  }

  .profissional-info h3 {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .profissional-info .crp {
    font-size: 15px;
    padding: 9px 14px;
    white-space: normal;
    margin-bottom: 18px;
  }

  .profissional-info p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .profissional-info .profissional-frase {
    margin-bottom: 0;
  }

  /* GRID */
  .grid {
    grid-template-columns: 1fr;
  }

}