@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --cor-fundo: #f7f1e8;
  --cor-texto: #2f2a25;
  --cor-destaque: #8a5a44;
  --cor-branco: #ffffff;
  --largura-conteudo: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  background: var(--cor-fundo);
  color: var(--cor-texto);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

h2 {
  margin: 0 0 24px;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.1;
}

address {
  font-style: normal;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: var(--cor-fundo);
  border-bottom: 1px solid rgba(47, 42, 37, 0.12);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cor-texto);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.logo-link img {
  width: auto;
  height: 38px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  color: var(--cor-texto);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--cor-destaque);
}

/* Estrutura geral */

.section {
  max-width: var(--largura-conteudo);
  margin: 0 auto;
  padding: 72px 24px;
}

.eyebrow {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Hero */

.hero {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-text {
  flex: 0 0 48%;
}

.hero h1 {
  margin: 0.25rem 0 1.5rem;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
}

.hero-text p {
  max-width: 560px;
}

.hero-text .eyebrow {
  margin: 0;
}

.hero-text .eyebrow + h1 + p {
  margin: 0 0 1rem;
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(47, 42, 37, 0.92);
}

.hero-text p:last-of-type {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(47, 42, 37, 0.76);
}

.hero-image {
  flex: 0 0 52%;
}

.hero-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

/* Botões e links */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 24px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--cor-destaque);
  color: var(--cor-branco);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cor-destaque);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

/* Serviços */

.services-list article {
  margin-top: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 18px;
}

/* Cabeçalhos de seção */

.section-heading {
  max-width: 650px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 8px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Equipe */

.team-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.team-list {
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin: 0;
  padding: 56px 0;
  background: transparent;
}

.team-member + .team-member {
  border-top: 1px solid rgba(47, 42, 37, 0.14);
}

.team-photo {
  flex: 0 0 158px;
  width: 158px;
  height: 158px;
  display: block;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}

.team-content {
  flex: 1;
  min-width: 0;
  margin: 0;
  text-align: left;
}

.team-content h3 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1.1;
}

.team-crp {
  margin: 8px 0 0;
  color: rgba(47, 42, 37, 0.72);
  font-size: 0.92rem;
}

.team-title {
  margin: 18px 0 0;
  font-weight: 600;
}

.team-audience {
  max-width: 470px;
  margin: 6px 0 26px;
  color: rgba(47, 42, 37, 0.82);
}

.team-summary,
.team-more {
  font-size: 1.05rem;
  line-height: 1.75;
}

.team-more[hidden] {
  display: none;
}

.more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cor-destaque);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.more-link:hover {
  text-decoration: underline;
}

.more-arrow {
  transition: transform 0.2s ease;
}

.more-link[aria-expanded="true"] .more-arrow {
  transform: rotate(180deg);
}

.team-button {
  margin-top: 26px;
}

/* Onde estamos e contato */

.contact-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.contact-heading {
  margin-bottom: 56px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.contact-information {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.contact-group {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(47, 42, 37, 0.12);
}

.contact-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-group h3,
.partner-space h3 {
  margin: 0 0 10px;
  font-size: 1.65rem;
  line-height: 1.2;
}

.contact-group p {
  margin: 0;
}

.contact-group .button {
  margin-top: 20px;
}

.contact-group address {
  color: rgba(47, 42, 37, 0.88);
}

.practical-information {
  margin-top: 8px !important;
  color: rgba(47, 42, 37, 0.78);
}

.waiting-room-photo {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.partner-space-text {
  padding-top: 24px;
}

.partner-space-text p {
  margin: 0 0 18px;
  font-size: 1.04rem;
  line-height: 1.75;
}

.map-container {
  margin-top: 64px;
}

.map-container iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* Rodapé */

.site-footer {
  padding: 36px 24px;
  border-top: 1px solid rgba(47, 42, 37, 0.12);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 4px 0;
}

/* Responsividade */

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
  }

  .section {
    padding: 56px 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .hero-text,
  .hero-image {
    flex: none;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .team-section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .team-member {
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 44px 0;
  }

  .team-photo {
    flex: none;
    width: 126px;
    height: 126px;
    margin: 0 auto 26px;
  }

  .team-content {
    width: 100%;
  }

  .team-content h3 {
    font-size: 2.2rem;
  }

  .team-content h3,
  .team-crp,
  .team-title,
  .team-audience {
    text-align: center;
  }

  .team-audience {
    margin: 6px auto 26px;
  }

  .team-button {
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-information {
    gap: 28px;
  }

  .waiting-room-photo {
    aspect-ratio: 4 / 3;
  }

  .map-container {
    margin-top: 48px;
  }

  .map-placeholder {
    min-height: 280px;
  }
}
/* Galeria do espaço parceiro */

.partner-space-gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.35);
}

.gallery-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover;
}

.gallery-image.is-active {
  display: block;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 241, 232, 0.88);
  color: var(--cor-texto);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-button:hover {
  background: var(--cor-fundo);
}

.gallery-prev {
  left: 14px;
}

.gallery-next {
  right: 14px;
}

.gallery-dots {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 241, 232, 0.65);
  cursor: pointer;
}

.gallery-dot.is-active {
  background: var(--cor-destaque);
}

@media (max-width: 768px) {
  .gallery-button {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }
}
