/* --- Variables --- */
:root {
  --color-teal: #3d6b8a;
  --color-teal-dark: #2f5570;
  --color-teal-light: #4a85ad;
  --color-beige: #ebe4d8;
  --color-beige-dark: #ddd4c4;
  --color-terracotta: #c97552;
  --color-terracotta-dark: #b56342;
  --color-surface: #f5f0e8;
  --color-text: #2d3a3a;
  --color-text-muted: #5a6565;
  --color-text-light: #f5f0e8;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Lora", Georgia, serif;
  --radius: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;
  --shadow-sm: 0 4px 20px rgba(61, 107, 138, 0.1);
  --shadow-md: 0 12px 40px rgba(61, 107, 138, 0.15);
  --transition: 0.25s ease;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-beige);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 400;
  padding: 0.65rem 1.1rem;
  background-color: var(--color-teal);
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
}

.skip-link:focus {
  left: 0.75rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition);
}

strong {
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Wave dividers --- */
.wave-divider {
  line-height: 0;
  width: 100%;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider--to-teal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.wave-divider--to-teal svg {
  height: 72px;
}

.wave-divider--to-beige {
  margin-bottom: -1px;
}

.wave-divider--to-teal-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.wave-divider--to-teal-top svg {
  height: 70px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--teal {
  background-color: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
}

.btn--teal:hover {
  background-color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--terracotta {
  background-color: var(--color-terracotta);
  color: #fff;
  border-color: var(--color-terracotta);
}

.btn--terracotta:hover {
  background-color: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.btn--outline:hover {
  background-color: var(--color-teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

button.btn {
  font-family: inherit;
}

/* --- Section titles --- */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

.section-title--light {
  color: var(--color-text-light);
}

/* --- Hero --- */
.hero {
  position: relative;
  background-color: var(--color-beige);
  padding: 4rem 0 76px;
  overflow: hidden;
}

.hero__wave-line {
  position: absolute;
  top: 8%;
  right: 38%;
  width: 200px;
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: auto;
  padding-bottom: 3.5rem;
}

.hero__text {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.hero__role {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  color: var(--color-teal-light);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero__subtitle strong {
  color: var(--color-text);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero__explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: color var(--transition);
}

.hero__explore:hover {
  color: var(--color-teal);
}

.hero__explore-line {
  display: block;
  width: 1px;
  height: 32px;
  background-color: currentColor;
  opacity: 0.7;
}

.hero__photo-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.hero__photo-shape {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 45% 55% / 30% 30% 70% 70%;
  overflow: hidden;
  background-color: var(--color-teal);
  box-shadow: var(--shadow-md);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* --- Sobre --- */
.sobre {
  position: relative;
  background-color: var(--color-teal);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.sobre__waves {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.sobre__waves svg {
  width: 100%;
  height: 100%;
}

.sobre__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: center;
}

.sobre__photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 5px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.sobre__greeting {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.sobre__name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--color-terracotta);
}

.sobre__name span {
  color: var(--color-terracotta);
}

.sobre__text p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.sobre__text .btn {
  margin-top: 0.75rem;
}

/* --- Serviços --- */
.servicos {
  position: relative;
  background-color: var(--color-teal);
  padding: 3rem 0 0;
}

.servicos .section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}

.modalidades {
  padding-bottom: 3.5rem;
}

.modalidades .section-title {
  margin-bottom: 0.65rem;
}

.modalidades__intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  font-size: 1.02rem;
}

.modalidades__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.modalidade-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.modalidade-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.modalidade-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.servico-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  width: 100%;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.servico-card__icon {
  color: var(--color-teal);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.servico-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.servico-card__link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- Beige section (depoimentos + FAQ) --- */
.beige-section {
  background-color: var(--color-beige);
}

/* --- Depoimentos --- */
.depoimentos {
  padding: 4rem 0 3rem;
}

.depoimentos__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.depoimentos__title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 210px;
  height: 210px;
  flex-shrink: 0;
}

.depoimentos__blob {
  position: absolute;
  width: 210px;
  height: 210px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-terracotta);
  opacity: 0.9;
  border-radius: 55% 45% 50% 50% / 60% 40% 60% 40%;
  z-index: 0;
}

.depoimentos__title-wrap .section-title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  text-align: center;
  max-width: 160px;
}

.depoimento {
  border: none;
  background: none;
}

.depoimento p {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.depoimento footer {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-teal);
  font-style: normal;
}

/* --- FAQ --- */
.faq {
  padding: 2rem 0 5rem;
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.faq__title {
  padding-top: 0.5rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--color-beige-dark);
}

.faq__item summary {
  padding: 1.1rem 0;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-teal);
  flex-shrink: 0;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item summary:hover {
  color: var(--color-teal);
}

.faq__item p {
  padding: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Presencial / Contato --- */
.presencial {
  position: relative;
  background-color: var(--color-teal);
  padding: 5rem 0 5rem;
}

.presencial__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.presencial__lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  font-size: 1rem;
  max-width: 36rem;
}

.presencial__address {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-style: normal;
}

.presencial__address a {
  color: inherit;
  text-decoration: none;
}

.presencial__address a:hover {
  color: #fff;
  text-decoration: underline;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

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

.contato__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.contato__list li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.contato__list a {
  color: rgba(255, 255, 255, 0.9);
}

.contato__list a:hover {
  color: #fff;
  text-decoration: underline;
}

.presencial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.presencial__photo-wrap {
  display: flex;
  justify-content: center;
}

.presencial__photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  box-shadow: var(--shadow-md);
  border: 5px solid rgba(255, 255, 255, 0.12);
}

/* --- Footer --- */
.footer {
  padding: 2rem 0;
  background-color: var(--color-teal-dark);
  text-align: center;
}

.footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer__small {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  opacity: 0.65;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--color-whatsapp-dark);
  transform: scale(1.08);
  color: #fff;
}

/* --- Galeria / modal --- */
body.modal-open {
  overflow: hidden;
}

.galeria-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.galeria-modal[hidden] {
  display: none;
}

.galeria-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(47, 85, 112, 0.65);
  backdrop-filter: blur(4px);
}

.galeria-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--color-beige);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.galeria-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.galeria-modal__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.galeria-modal__desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.galeria-modal__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-surface);
  color: var(--color-teal);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.galeria-modal__close:hover {
  background-color: var(--color-teal);
  color: #fff;
}

.galeria-modal__grid {
  columns: 3;
  column-gap: 1rem;
  margin-bottom: 1.5rem;
}

.galeria-modal__item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-beige-dark);
}

.galeria-modal__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.galeria-modal__item:hover img {
  transform: scale(1.04);
}

.galeria-modal__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(to top, rgba(47, 85, 112, 0.8), transparent);
}

.galeria-modal__footer {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-beige-dark);
}

.servico-modal__panel {
  max-width: 560px;
}

.servico-modal__body {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.servico-modal__footer {
  border-top: none;
  padding-top: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-bottom: 5.5rem;
  }

  .hero__photo-wrap {
    order: -1;
  }

  .hero__photo-shape {
    max-width: 200px;
    margin: 0 auto;
  }

  .hero__wave-line {
    display: none;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__explore {
    bottom: 76px;
  }

  .sobre__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sobre__photo {
    margin: 0 auto;
  }

  .sobre__text .btn {
    margin: 0.75rem auto 0;
  }

  .servicos__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .modalidades__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .depoimentos__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .depoimentos__title-wrap {
    justify-self: center;
  }

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

  .faq__title {
    text-align: center;
  }

  .presencial__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .presencial__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .presencial__photo {
    margin: 0 auto;
  }

  .contato__list {
    align-items: center;
  }

  .galeria-modal__grid {
    columns: 2;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero__inner {
    padding-bottom: 4.5rem;
  }

  .hero__photo-shape {
    max-width: 155px;
  }

  .sobre__photo {
    width: 220px;
    height: 220px;
  }

  .presencial__photo {
    width: 260px;
    height: 260px;
  }

  .wave-divider svg {
    height: 40px;
  }

  .galeria-modal__grid {
    columns: 1;
  }

  .galeria-modal__panel {
    padding: 1.25rem;
  }
}
