/* --- VARIÁVEIS DE CORES --- */
:root {
  --primary-dark: #312046;
  --bg-light: #f6f0e6;
  --accent-blue: #707ed1;
  --light-blue: #d6e7fb;
  --wpp-green: #25d366;
  --wpp-hover: #228d4a;
}

/* --- RESET BÁSICO --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--primary-dark);
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 0px;
  }
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 60px;
  }
}

/* --- CABEÇALHO --- */
.main-header {
  background-color: var(--primary-dark);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-small {
  height: 40px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 30px;
  height: 3px;
  background-color: var(--light-blue);
  border-radius: 3px;
  transition: all 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--light-blue);
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.btn-whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  width: 100%;
  background-color: var(--wpp-green);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease !important;
}

.btn-whatsapp img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-whatsapp:hover {
  background-color: var(--wpp-hover);
  transform: scale(1.05) !important;
}

/* --- ESTRUTURA PRINCIPAL E HERO --- */
.hero-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.brand-section {
  text-align: center;
  width: 100%;
}

.logo-large {
  width: 300px;
  max-width: 100%;
}

.text-section {
  text-align: center;
  width: 100%;
}

.text-section h1 {
  color: var(--accent-blue);
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 5px;
}

.text-section p {
  font-size: 20px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.right-column {
  display: flex;
  justify-content: center;
  width: 100%;
}

.profile-photo {
  width: 400px;
  max-width: 100%;
  border-radius: 24px;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.profile-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVIDADE PARA DESKTOP --- */
@media (min-width: 768px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand image"
      "text image";
    align-items: start;
    gap: 30px;
    padding-top: 20px;
  }

  .brand-section {
    grid-area: brand;
    text-align: left;
  }

  .text-section {
    grid-area: text;
    text-align: left;
    margin-top: 25px;
  }

  .text-section h1 {
    font-size: 58px;
  }

  .right-column {
    grid-area: image;
    justify-content: flex-end;
  }

  .profile-photo {
    margin-top: 110px;
    max-width: 100%;
    width: 450px;
  }

  .btn-whatsapp {
    display: inline-flex;
    width: auto;
    padding: 16px 40px;
  }

  .logo-large {
    width: 445px;
    max-width: 100%;
  }
}

/* --- AJUSTES DO CABEÇALHO PARA O CELULAR --- */
@media (max-width: 767px) {
  .header-container {
    flex-direction: row;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--primary-dark);
    padding: 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav ul li:last-child {
    border-bottom: none;
  }

  nav a {
    font-size: 18px;
    display: block;
    padding: 22px 10px;
    width: 100%;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-blue);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-blue);
  }
}

/* --- SEÇÃO SOBRE MIM --- */
.about-section {
  background:
    linear-gradient(rgba(49, 32, 70, 0.6), rgba(49, 32, 70, 0.6)),
    url("images/fundo_sobre_mim.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.about-card {
  background-color: var(--accent-blue);
  border-radius: 30px;
  padding: 40px 25px;
  max-width: 1000px;
  width: 100%;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.about-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.about-photo {
  width: 100%;
  max-width: 320px;
  border-radius: 24px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-photo:hover {
  transform: scale(1.02);
}

.about-text {
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
}

.about-text p {
  margin-bottom: 15px;
}

.about-footer {
  margin-top: 30px !important;
  font-size: 14px;
  opacity: 0.9;
}

/* --- RESPONSIVIDADE SOBRE MIM --- */
@media (min-width: 768px) {
  .about-section {
    padding: 100px 20px;
  }

  .about-card {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px 50px;
  }

  .about-title {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .about-photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: 100%;
    height: 100%;
  }

  .about-text {
    grid-column: 2;
    grid-row: 2;
  }
}

/* --- SEÇÃO ABORDAGEM CLÍNICA --- */
.approach-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.approach-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

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

.approach-photo {
  width: 250px;
  max-width: 100%;
  margin: 0 auto 20px auto;
  display: block;
}

.approach-subtitle {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 5px;
  text-align: center;
}

.approach-title {
  font-size: 32px;
  color: var(--accent-blue);
  margin-bottom: 30px;
  font-weight: 800;
  text-align: center;
}

.approach-content p {
  font-size: 16px;
  line-height: 1.4;
  color: var(--primary-dark);
  margin-bottom: 15px;
  text-align: center;
}

.approach-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  align-items: center;
}

.info-card {
  width: fit-content;
  padding: 25px 45px;
  border-radius: 30px;
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card strong {
  font-weight: 700;
  margin-bottom: 4px;
}

.info-card span {
  font-weight: 400;
}

.card-blue {
  background-color: var(--accent-blue);
  color: #ffffff;
  margin-bottom: 30px;
}

.card-outline {
  border: 3px solid var(--accent-blue);
  color: var(--accent-blue);
  background-color: transparent;
  flex-direction: row;
  gap: 20px;
  padding: 20px 40px;
}

.card-outline .card-text-center {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.icon-local {
  width: 62px;
  height: auto;
}

.card-dark {
  background-color: var(--primary-dark);
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* --- RESPONSIVIDADE ABORDAGEM CLÍNICA (Desktop) --- */
@media (min-width: 768px) {
  .approach-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
  }

  .approach-content {
    grid-column: 2;
    text-align: center;
    margin: 0 auto;
  }

  .approach-cards {
    grid-column: 1;
    grid-row: 1;
  }
}

/* --- SEÇÃO EXPERIÊNCIA PROFISSIONAL --- */
.experience-section {
  background-color: var(--light-blue);
  padding: 80px 20px;
}

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

.experience-title {
  text-align: center;
  color: var(--primary-dark);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 70px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 10px;
  justify-items: center;
}

.exp-card {
  background-color: var(--primary-dark);
  color: #ffffff;
  border-radius: 20px;
  padding: 45px 10px 20px;
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 270px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.exp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.circle-top {
  width: 55px;
  height: 55px;
  background-color: var(--accent-blue);
  border-radius: 50%;
  position: absolute;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
}

.circle-top svg {
  width: 24px;
  height: 24px;
}

.exp-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.exp-card p {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
}

/* --- RESPONSIVIDADE EXPERIÊNCIA PROFISSIONAL  --- */
@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .exp-card {
    padding: 65px 20px 50px;
    min-height: 330px;
  }

  .circle-top {
    width: 70px;
    height: 70px;
    top: -35px;
  }

  .circle-top svg {
    width: 32px;
    height: 32px;
  }

  .exp-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .exp-card p {
    font-size: 16px;
  }
}

/* --- SEÇÃO ENDEREÇO --- */
.address-section {
  padding: 80px 20px 20px;
  background-color: var(--bg-light);
}

.address-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.address-card {
  background-color: var(--primary-dark);
  width: 100%;
  max-width: 480px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.address-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.address-title {
  color: var(--accent-blue);
  font-size: 28px;
  font-weight: 700;
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  display: block;
}

.address-text {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}

/* --- RESPONSIVIDADE ENDEREÇO (Desktop) --- */
@media (min-width: 768px) {
  .address-container {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
  }
}

/* --- RODAPÉ (FOOTER) --- */
.main-footer {
  background-color: var(--primary-dark);
  padding: 30px 20px 50px;
  color: var(--bg-light);
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.footer-logo {
  width: 200px;
  max-width: 100%;
}

.footer-copy {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 25px;
}

.footer-social img {
  width: 32px;
  height: auto;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.footer-social a:hover img {
  opacity: 1;
  transform: translateY(-3px);
}

.footer-line {
  width: 100%;
  max-width: 1250px;
  height: 1px;
  background-color: var(--bg-light);
  margin: 20px auto 25px;
}

/* --- RESPONSIVIDADE RODAPÉ (Desktop) --- */
@media (min-width: 768px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
  }

  .footer-logo {
    justify-self: start;
  }

  .footer-copy {
    justify-self: center;
  }

  .footer-social {
    justify-self: end;
  }
}

.anime {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.anime.start {
  opacity: 1;
  transform: translateY(0);
}

.anime-delay-1 {
  transition-delay: 0.15s;
}
.anime-delay-2 {
  transition-delay: 0.3s;
}
.anime-delay-3 {
  transition-delay: 0.45s;
}

@media (min-width: 768px) {
  .about-card > .anime-delay-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 100%;
    display: flex;
  }
  .about-photo {
    grid-column: auto;
    grid-row: auto;
    height: 100%;
  }
}

.experience-grid > .anime,
.address-container > .anime,
.approach-cards > .anime {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.exp-card,
.address-card {
  height: 100%;
}
