﻿:root {
  --bg: #f7f2ed;
  --paper: #ffffff;
  --ink: #2b2b2b;
  --muted: #7d6c5c;
  --accent: #b07a5a;
  --accent-dark: #8f6046;
  --line: #e5dbd1;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius: 8px;
}

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

body {
  font-family: "Source Sans 3", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.topbar {
  background: #7b4b35;
  color: #fdf9f6;
  font-size: 0.8rem;
}

.topbar__content {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  gap: 1rem;
}

.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.85rem;
}

.logo__text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.nav__link {
  position: relative;
  padding-bottom: 0.3rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.btn {
  border: none;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  width: max-content;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--accent);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero {
  position: relative;
  /* remover se for usar a imagem perfil1 */
  background: #201a15;
  /* background: #A58C7B; */
  color: #fff;
}

.hero__media img {
  width: 100%;
  /* remover se for usar a imagem perfil1 */
  /* height: 520px; */
  height: auto;
  object-fit: cover;
  filter: saturate(0.9);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 14, 12, 0.1), rgba(18, 14, 12, 0.75));
  display: flex;
  align-items: center;
}

.hero__content {
  text-align: left;
  max-width: 480px;
  margin-left: auto;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

.hero__text {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__dots {
  display: flex;
  gap: 0.6rem;
  margin-top: 2rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.dot--active {
  background: #fff;
}

.latest {
  background: var(--paper);
  padding: 4rem 0;
}

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

.latest__cover img {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.latest__text h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.latest__quote {
  font-style: italic;
  color: var(--muted);
  margin-top: 1rem;
}

.latest__details p + p {
  margin-top: 1rem;
}

.plaques {
  padding: 4rem 0;
}

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

.plaques__text h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.plaques__list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.plaques__list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.6rem;
}

.plaques__medals {
  display: flex;
  gap: 0.6rem;
}

.medal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d8bfa6, #a9826c);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.plaques__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery {
  padding: 3rem 0;
}

.gallery .gallery__intro{
    margin-bottom: 30px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.gallery__main img {
  border-radius: var(--radius);
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.gallery__stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery__stack img {
  border-radius: var(--radius);
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
  /* width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow); */

  /* width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #d8c2ad; */
}

.certificates {
  background: var(--paper);
  padding: 4rem 0;
}

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

.certificates__text h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.certificates__hours {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.hours__row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--muted);
}

.certificates__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.connect {
  padding: 4rem 0;
}

.connect .contato__intro {
  margin-bottom: 30px;
}

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

.connect__map img {
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.connect__form h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form input,
.form textarea,
.appointment__form input {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  background: #fff;
}

.form input:focus,
.form textarea:focus,
.appointment__form input:focus {
  outline: 2px solid rgba(176, 122, 90, 0.4);
  border-color: var(--accent);
}

.articles {
  background: var(--paper);
  padding: 3rem 0 4rem;
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.appointment {
  position: relative;
  color: #fff;
}

.appointment__bg {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.appointment__content {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2rem 0;
}

.appointment h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
}

.appointment__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  max-width: 640px;
}

.footer {
  background: #1f1c1a;
  color: #d5c9bf;
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer h4 {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: 0.8rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: #c6b9ad;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  font-size: 0.85rem;
}

.footer__bottom-content {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .header__content {
    flex-wrap: wrap;
  }

  .hero__content {
    margin-left: 0;
  }

  .latest__grid,
  .plaques__grid,
  .certificates__grid,
  .connect__grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__media img {
    height: 420px;
  }

  .latest__grid {
    text-align: center;
  }

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

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

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

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

  .footer__bottom-content {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

@media (max-width: 520px) {
  .header__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(18, 14, 12, 0.2), rgba(18, 14, 12, 0.85));
  }

  .hero__content {
    max-width: 100%;
  }

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

@media (max-width: 480px) {
  .gallery .gallery__main img,
  .gallery .gallery__stack img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
  }
}

.lp-section {
  padding: 4rem 0;
}

.lp-section--soft {
  background: var(--paper);
}

.lp-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.lp-section__stack {
  display: grid;
  gap: 2rem;
}

.lp-section__header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.lp-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.lp-section__body {
  display: grid;
  gap: 1rem;
}

.lp-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.lp-certificates {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.lp-certificates .lp-card {
  padding: 1.25rem;
}

.lp-card--highlight {
  border-color: var(--accent);
  box-shadow: 0 18px 35px rgba(176, 122, 90, 0.18);
}

.lp-cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.lp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .lp-section__grid {
    grid-template-columns: 1fr;
  }

  .lp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lp-grid {
    grid-template-columns: 1fr;
  }

  .lp-cta {
    padding: 1.5rem;
  }
}

.hero .container {
  width: min(1240px, 92%);
}

.hero__content {
  max-width: 600px;
  padding-right: clamp(1.5rem, 4vw, 4rem);
  padding-left: 1rem;
}

@media (max-width: 1024px) {
  .hero__content {
    max-width: 540px;
    padding-right: clamp(1.25rem, 3vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .hero__content {
    max-width: 100%;
    padding: 1.25rem 1rem 2rem;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__media {
  min-height: 520px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__overlay {
  position: static;
  inset: auto;
  background: none;
  display: flex;
  align-items: center;
}

.hero__overlay .container {
  width: 100%;
  margin: 0;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .hero__media {
    min-height: 440px;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__media {
    min-height: 320px;
  }
}

.lp-credenciais {
  margin: 0.75rem 0 1.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  gap: 0.3rem;
}

.lp-credenciais__crp {
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .lp-credenciais {
    margin: 0.75rem 0 1.2rem;
  }
}

.lp-media {
  padding: 4rem 0;
  /* background: var(--paper); */
}

.lp-media__content {
  display: grid;
  gap: 2.5rem;
}

.lp-media__header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
}

.lp-media__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.lp-media__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 1rem;
}

.lp-media__card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
}

.lp-media__card--media {
  padding: 0;
  overflow: hidden;
}

.lp-media__thumb img {
  width: 100%;
  /* height: 220px; */
  object-fit: cover;
}

.lp-media__body {
  padding: 1.8rem;
  display: grid;
  gap: 0.9rem;
}

.lp-media__subtitle {
  color: var(--muted);
  font-weight: 600;
}

.lp-media__links {
  display: grid;
  gap: 0.8rem;
}

@media (max-width: 1024px) {
  .lp-media__grid {
    grid-template-columns: 1fr;
  }

  .lp-media__thumb img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .lp-media__card {
    padding: 1.6rem;
  }

  .lp-media__body {
    padding: 1.5rem;
  }
}

.lp-media__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-auto-rows: auto;
  align-items: stretch;
}

.lp-media__grid > .lp-media__card:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.lp-media__grid > .lp-media__card--media {
  grid-column: 2;
}

.lp-media__grid > .lp-media__card--media:nth-of-type(2) {
  grid-row: 1;
}

.lp-media__grid > .lp-media__card--media:nth-of-type(3) {
  grid-row: 2;
}

@media (max-width: 1024px) {
  .lp-media__grid {
    grid-template-columns: 1fr;
  }

  .lp-media__grid > .lp-media__card:first-child,
  .lp-media__grid > .lp-media__card--media {
    grid-column: auto;
    grid-row: auto;
  }
}

.lp-media__grid {
  grid-auto-rows: minmax(0, 1fr);
}

.lp-media__card,
.lp-media__card--media {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.lp-media__card > .btn {
  margin-top: auto;
}

.lp-media__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lp-media__links {
  margin-top: auto;
}

/* @media (max-width: 1024px) {
  .lp-media__grid {
    grid-auto-rows: auto;
  }

  .lp-media__card,
  .lp-media__card--media {
    height: auto;
  }
} */

.lp-social {
  padding: 4rem 0;
}

.lp-social__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.lp-social__intro h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.lp-social__lead {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
}

.lp-social__avatar-wrap {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 3px solid rgba(176, 122, 90, 0.25);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  padding: 6px;
  background: #fff;
  display: grid;
  place-items: center;
}

.lp-social__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.lp-social__handle {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding-left: 33px;
}

.lp-social__cards {
  display: grid;
  gap: 1.5rem;
}

.lp-social__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.lp-social__card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lp-social__card-header h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
}

.lp-social__icon svg {
  width: 30px;
  height: 30px;
  fill: var(--accent);
}

.lp-social__user {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .lp-social__grid {
    grid-template-columns: 1fr;
  }

  .lp-social__avatar-wrap {
    margin: 0 auto;
  }

  .lp-media__thumb img {
    height: 126px;
  }

  .lp-media__grid {
    grid-auto-rows: auto;
  }

  .lp-media__card,
  .lp-media__card--media {
    height: auto;
  }
}

@media (max-width: 768px) {
  .lp-social__intro {
    text-align: center;
  }

  .lp-social__cards {
    text-align: left;
  }

  .connect__map iframe {
    height: 320px;
  }

  .lp-media__thumb img {
    height: 89px;
  }
}

.connect__map iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 425px) {

  .lp-media__thumb img {
    height: 45px;
  }
}

/* @media (max-width: 768px) {
  .connect__map iframe {
    height: 320px;
  }
} */

.lp-ig {
  padding: 3rem 0 4rem;
}

.lp-ig__intro {
  text-align: center;
  margin-bottom: 2rem;
  background: var(--bg);
}

.lp-ig__lead {
  color: var(--muted);
  max-width: 560px;
  margin: 0.6rem auto 0;
}

.lp-ig__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.lp-ig__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  overflow: hidden;
}

.lp-ig__item .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 1024px) {
  .lp-ig__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lp-ig__grid {
    grid-template-columns: 1fr;
  }
}
