:root {
  --color-bg: #F7EDDB;
  --color-bg-light: #fdf6eb;
  --color-header-text: #000000;
  --color-hero-text: #27362E;
  --color-box: #DB622B;
  --color-separator: #d4cfc7;
  --color-body-text: #395144;
  --color-btn: #FF9D00;
  --color-cta-bg: #395144;
  --color-cta-text: #F5F5F5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  font-family: 'Comfortaa', cursive;
  color: var(--color-header-text);
  min-width: 320px;
}

/* ── Header ── */
header {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  height: clamp(70px, 7vw, 120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.17%;
  margin-top: 1.5vh;
}

.logo img {
  height: clamp(40px, 4.86vw, 93px);
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 28px);
}

nav a {
  text-decoration: none;
  color: var(--color-header-text);
  font-size: clamp(0.75rem, 1.22vw, 1.45rem);
  font-weight: 400;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.65;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.6vw, 10px);
  background-color: #ffffff;
  color: #00626F;
  padding: clamp(8px, 0.9vw, 14px) clamp(12px, 1.2vw, 20px);
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-cta img {
  height: clamp(18px, 1.7vw, 28px);
  width: auto;
  display: block;
}

.nav-cta:hover {
  opacity: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

/* Hamburger – hidden by default */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 11;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-header-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Sections (full viewport) ── */
.section {
  min-height: calc(100vh - clamp(70px, 7vw, 120px) - 1.5vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1440 / 777;
}

/* Orange box */
.hero-textbox {
  position: absolute;
  left: 40.97%;   /* 590/1440 */
  top: 3%;
  width: 41.53%;  /* 598/1440 */
  height: 97%;
  background-color: var(--color-box);
  padding: 13% 3.47% 3.47% 8.47%;
  overflow: hidden;
}

.hero-textbox p {
  font-size: clamp(14px, 1.5vw, 26px);
  line-height: 145%;
  color: var(--color-hero-text);
  margin-bottom: clamp(10px, 1.2vw, 20px);
}

.hero-textbox p:last-child {
  margin-bottom: 0;
}

/* Photo */
.hero-photo {
  position: absolute;
  left: 17.5%;    /* 252/1440 */
  top: 13.9%;     /* 108/777 */
  width: 27.22%;  /* 392/1440 */
  height: 73.87%; /* 574/777 */
  object-fit: cover;
  object-position: center top;
  z-index: 2;
}

/* Intro text */
.hero-intro {
  position: absolute;
  left: 38.82%;   /* 559/1440 */
  top: 2.57%;     /* 20/777 */
  z-index: 3;
}

.greeting {
  font-family: 'Petit Formal Script', cursive;
  font-size: clamp(24px, 3.33vw, 64px);
  color: var(--color-hero-text);
  display: block;
  line-height: 1.2;
}

.hero-name {
  font-size: clamp(28px, 3.96vw, 76px);
  font-weight: 600;
  color: var(--color-hero-text);
  line-height: 1.15;
  margin: 0;
  padding-left: clamp(70px, 9.72vw, 186px);
}

/* ── Área de Atuação ── */
.area-atuacao {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1920px;
  max-height: 700px;
}

.area-image {
  flex-shrink: 0;
  width: 38%;
}

.area-image img {
  width: 100%;
  height: auto;
}

.area-content {
  flex: 1;
  padding: 4% 6% 4% 5%;
}

.area-title {
  margin-bottom: clamp(20px, 2vw, 36px);
  line-height: 1.3;
}

.area-title-script {
  font-family: 'Petit Formal Script', cursive;
  font-size: clamp(24px, 3.33vw, 64px);
  color: var(--color-hero-text);
  font-weight: 400;
}

.area-title-line2 {
  display: block;
}

.area-title-bold {
  font-size: clamp(28px, 3.96vw, 76px);
  font-weight: 600;
  color: var(--color-hero-text);
}

.area-atuacao p {
  font-size: clamp(14px, 1.67vw, 32px);
  line-height: 140%;
  color: var(--color-body-text);
}

/* ── Consulta ── */
.consulta {
  width: 100%;
  max-width: 1920px;
  max-height: 100vh;
  background-color: var(--color-box);
  padding: 3% 5.42%;
  overflow: hidden;
}

.consulta-title {
  margin-bottom: clamp(16px, 2vw, 32px);
  line-height: 1.3;
}

.consulta-title-script {
  font-family: 'Petit Formal Script', cursive;
  font-size: clamp(24px, 3.33vw, 64px);
  color: var(--color-hero-text);
  font-weight: 400;
}

.consulta-title-line2 {
  display: block;
}

.consulta-title-bold {
  font-size: clamp(28px, 3.96vw, 76px);
  font-weight: 600;
  color: var(--color-hero-text);
}

.consulta-body {
  position: relative;
  display: flex;
  align-items: center;
}

.consulta-photo {
  width: 52.5%;
  margin-left: auto;
  margin-top: -8%;
}

.consulta-photo img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  display: block;
}

.consulta-textbox {
  position: absolute;
  left: 0;
  width: 63%;
  max-height: 90%;
  overflow: hidden;
  background-color: var(--color-bg);
  padding: clamp(16px, 2%, 32px) clamp(20px, 3.5%, 50px);
  z-index: 2;
}

.consulta-textbox p,
.consulta-textbox ul {
  font-size: clamp(12px, 1.3vw, 24px);
  line-height: 140%;
  color: var(--color-body-text);
  margin-bottom: clamp(8px, 1vw, 16px);
}

.consulta-textbox ul {
  padding-left: 1.2em;
}

.consulta-textbox li {
  margin-bottom: clamp(4px, 0.5vw, 8px);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  background-color: var(--color-btn);
  color: var(--color-header-text);
  text-decoration: none;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 600;
  padding: clamp(10px, 1vw, 16px) clamp(20px, 2vw, 32px);
  border-radius: 6px;
  margin-top: clamp(8px, 1vw, 16px);
  transition: opacity 0.2s;
}

.btn-whatsapp:hover {
  opacity: 0.85;
}

.btn-whatsapp img {
  width: clamp(18px, 1.5vw, 24px);
  height: auto;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 18px);
  margin-top: clamp(8px, 1vw, 16px);
}

.btn-group .btn-whatsapp,
.btn-group .btn-doctoralia {
  margin: 0;
}

.btn-doctoralia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  background-color: #ffffff;
  color: #00626F;
  text-decoration: none;
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 600;
  padding: clamp(10px, 1vw, 16px) clamp(20px, 2vw, 32px);
  border-radius: 6px;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-doctoralia:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.btn-doctoralia img {
  width: clamp(18px, 1.5vw, 24px);
  height: auto;
}

.section-cta {
  min-height: auto;
  align-items: stretch;
}

/* ── Instagram ── */
.instagram {
  position: relative;
  width: 100%;
  max-width: 1920px;
  background-color: var(--color-bg);
  padding: clamp(40px, 5vw, 90px) 2.5%;
}

.instagram-title {
  margin-bottom: clamp(24px, 3vw, 48px);
  margin-left: clamp(16px, 3vw, 60px);
  line-height: 1.3;
  text-align: left;
}

.instagram-title-script {
  font-family: 'Petit Formal Script', cursive;
  font-size: clamp(24px, 3.33vw, 64px);
  color: var(--color-hero-text);
  font-weight: 400;
}

.instagram-title-line2 {
  display: block;
}

.instagram-title-bold {
  font-size: clamp(28px, 3.96vw, 76px);
  font-weight: 600;
  color: var(--color-hero-text);
}

.instagram-feed {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  background-color: var(--color-bg-light);
  padding: clamp(20px, 2.5vw, 48px);
}

/* ── CTA (Vamos conversar) ── */
.cta {
  position: relative;
  width: 100%;
  max-width: 1920px;
  min-height: 600px;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: url('assets/abacate.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.cta-box {
  position: relative;
  z-index: 1;
  background-color: var(--color-cta-bg);
  max-width: 700px;
  width: 100%;
  padding: clamp(50px, 6vw, 90px) clamp(30px, 5vw, 70px);
  text-align: center;
  margin-top: 18%;
  margin-bottom: 8%;
}

.cta-title {
  font-family: 'Petit Formal Script', cursive;
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--color-cta-text);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: clamp(16px, 2vw, 30px);
}

.cta-box p {
  font-size: clamp(14px, 1.67vw, 24px);
  line-height: 140%;
  color: var(--color-cta-text);
  margin-bottom: clamp(16px, 2vw, 28px);
}

.cta-box .btn-whatsapp,
.cta-box .btn-doctoralia {
  margin-top: 0;
  height: clamp(44px, 4vw, 60px);
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  box-sizing: border-box;
}

.cta-box .btn-doctoralia img {
  width: auto;
  height: clamp(18px, 1.5vw, 24px);
}

/* ── Footer ── */
.footer {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: var(--color-bg-light);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 120px);
  padding: clamp(40px, 5vw, 80px) 5.42%;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo img {
  height: clamp(60px, 7vw, 130px);
  width: auto;
  display: block;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 20px);
}

.footer-title {
  font-family: 'Comfortaa', cursive;
  font-size: clamp(20px, 2.2vw, 36px);
  font-weight: 600;
  color: var(--color-hero-text);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 24px);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-hero-text);
  transition: opacity 0.2s;
}

.footer-social-link:hover {
  opacity: 0.65;
}

.footer-social-link svg {
  width: clamp(28px, 2.8vw, 44px);
  height: clamp(28px, 2.8vw, 44px);
  display: block;
}

.footer-social-link--whatsapp img {
  width: clamp(28px, 2.8vw, 44px);
  height: clamp(28px, 2.8vw, 44px);
  display: block;
}

.footer-social-link--doctoralia img {
  height: clamp(28px, 2.8vw, 44px);
  width: auto;
  display: block;
}

.footer-email {
  font-size: clamp(14px, 1.2vw, 20px);
  color: var(--color-body-text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-email:hover {
  opacity: 0.65;
}

.footer-bottom {
  background-color: var(--color-cta-bg);
  padding: clamp(14px, 1.5vw, 22px) 5%;
  text-align: center;
}

.footer-bottom p {
  font-size: clamp(12px, 1vw, 16px);
  color: var(--color-cta-text);
  font-weight: 400;
}

/* ── Mobile (< 850px) ── */
@media (max-width: 849px) {
  header {
    margin-top: 0;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 16px;
    background-color: var(--color-bg-light);
    flex-direction: column;
    padding: 0;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
    min-width: 180px;
  }

  nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav a {
    font-size: 1rem;
    text-align: center;
    padding: 14px 32px;
    border-bottom: 1px solid var(--color-separator);
  }

  nav a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 0;
    box-shadow: none;
    justify-content: center;
  }

  .nav-cta:hover {
    box-shadow: none;
  }

  .nav-cta img {
    height: 22px;
  }

  /* ── Section mobile ── */
  .section {
    min-height: auto;
    align-items: flex-start;
  }

  /* ── Hero mobile ── */
  .hero {
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 24px 0;
  }

  .hero-intro {
    position: static;
    order: 1;
    text-align: center;
    margin-bottom: 16px;
  }

  .greeting {
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero-name {
    font-size: clamp(32px, 9vw, 48px);
    padding-left: clamp(30px, 7vw, 60px);
  }

  .hero-photo {
    position: relative;
    order: 2;
    left: auto;
    top: auto;
    width: 55%;
    height: auto;
    z-index: 2;
    margin-bottom: -70px;
  }

  .hero-textbox {
    position: static;
    order: 3;
    width: 100%;
    height: auto;
    padding: 90px 24px 40px;
    overflow: visible;
  }

  .hero-textbox p {
    font-size: clamp(14px, 3.5vw, 18px);
  }

  /* ── Área de Atuação mobile ── */
  .area-atuacao {
    flex-direction: column;
    max-height: none;
  }

  .area-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: -10%;
  }

  .area-image img {
    width: 70%;
    display: block;
    margin: 0 auto;
    transform: rotate(90deg);
    transform-origin: center center;
  }

  .area-content {
    padding: 0 24px 32px;
    text-align: center;
  }

  .area-title {
    margin-bottom: clamp(16px, 3vw, 24px);
  }

  .area-title-script {
    font-size: clamp(24px, 6vw, 36px);
  }

  .area-title-bold {
    font-size: clamp(28px, 8vw, 42px);
  }

  .area-atuacao p {
    font-size: clamp(14px, 3.5vw, 18px);
    text-align: left;
  }

  /* ── Consulta mobile ── */
  .consulta {
    padding: 24px;
    max-height: none;
    overflow: visible;
  }

  .consulta-title {
    text-align: center;
    margin-bottom: 0;
  }

  .consulta-title-script {
    font-size: clamp(20px, 5.5vw, 32px);
  }

  .consulta-title-bold {
    font-size: clamp(24px, 7vw, 38px);
  }

  .consulta-title-line2 {
    display: inline;
  }

  .consulta-body {
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .consulta-photo {
    width: 80%;
    margin-left: 0;
    margin-top: 20px;
  }

  .consulta-photo img {
    height: auto;
  }

  .consulta-textbox {
    position: relative;
    width: 92%;
    margin-top: -70%;
    max-height: none;
    z-index: 2;
  }

  .consulta-textbox p,
  .consulta-textbox ul {
    font-size: clamp(13px, 3.2vw, 16px);
  }

  .btn-whatsapp {
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .btn-doctoralia {
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  /* ── CTA mobile ── */
  .cta {
    min-height: auto;
    padding: 40px 5%;
  }

  .cta-box {
    width: 90%;
    padding: 24px 20px;
    margin-top: 10%;
  }

  .cta-title {
    font-size: clamp(22px, 6vw, 34px);
  }

  .cta-box p {
    font-size: clamp(13px, 3.5vw, 16px);
  }

  /* ── Footer mobile ── */
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 40px 6%;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-logo img {
    height: 70px;
  }

  .footer-title {
    font-size: 22px;
  }

  .footer-email {
    font-size: 14px;
    word-break: break-all;
  }

  .footer-bottom p {
    font-size: 12px;
    padding: 0 4%;
  }
}
