/*
 * Recanto Florença — refinamento editorial
 * Camada deliberadamente separada do CSS estrutural para preservar comportamento,
 * acessibilidade e integrações enquanto reduz padrões visuais genéricos.
 */

:root {
  --section: clamp(72px, 7.5vw, 120px);
  --shadow: 0 18px 48px rgba(16, 41, 31, 0.11);
  --editorial-line: rgba(27, 58, 45, 0.18);
  --editorial-line-light: rgba(255, 255, 255, 0.2);
  --editorial-radius-large: 20px;
  --editorial-radius-medium: 16px;
  --editorial-radius-small: 10px;
}

main section[id] {
  scroll-margin-top: 116px;
}

h2 {
  font-size: clamp(2.15rem, 3.8vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.eyebrow {
  gap: 12px;
  letter-spacing: 0.17em;
}

.eyebrow > span {
  width: 34px;
}

.button {
  border-radius: var(--editorial-radius-small);
  box-shadow: none;
  letter-spacing: 0.055em;
}

.button--primary:hover,
.button--cream:hover {
  box-shadow: 0 10px 28px rgba(16, 41, 31, 0.15);
}

/* A navegação passa a funcionar como moldura, não como cápsula flutuante. */
.site-header {
  border-color: rgba(27, 58, 45, 0.14);
  border-radius: 4px;
  background: rgba(251, 248, 242, 0.97);
  box-shadow: 0 10px 34px rgba(16, 41, 31, 0.09);
  backdrop-filter: none;
}

.site-header__brand {
  border-radius: 2px;
}

.site-header.site-header--scrolled {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(16, 41, 31, 0.97);
  box-shadow: 0 12px 34px rgba(4, 18, 13, 0.2);
}

.desktop-nav a::after {
  height: 1px;
}

.button--header {
  border-radius: 2px;
}

/* Hero: uma fotografia-assinatura e menos ornamentos concorrendo com a marca. */
.hero {
  background: var(--cream-pale);
}

.hero::after,
.hero__leaf,
.hero__seal {
  display: none;
}

.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3.65rem, 6.7vw, 7.4rem);
  letter-spacing: -0.045em;
}

.hero__intro {
  max-width: 520px;
}

.hero__photo-main {
  border-radius: 48% 48% var(--editorial-radius-large) var(--editorial-radius-large);
  box-shadow: 0 28px 72px rgba(16, 41, 31, 0.17);
}

.hero__photo-secondary {
  border: 7px solid var(--cream-pale);
  border-radius: var(--editorial-radius-medium);
  box-shadow: 0 18px 44px rgba(16, 41, 31, 0.16);
}

.hero__location {
  border-radius: var(--editorial-radius-small);
  box-shadow: none;
}

.hero__notes {
  gap: 0;
}

.hero__notes span {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.hero__notes span + span::before {
  position: static;
  width: 1px;
  height: 14px;
  margin: 0 14px;
  border-radius: 0;
  background: rgba(27, 58, 45, 0.3);
}

.hero__notes span:first-child::before {
  display: none;
}

/* Manifesto: fotografia, legenda e texto em composição editorial plana. */
.manifesto {
  background: var(--cream-soft);
}

.manifesto__image-wrap::before {
  display: none;
}

.manifesto__image {
  border-radius: var(--editorial-radius-large);
  box-shadow: var(--shadow);
}

.manifesto__caption {
  position: static;
  width: auto;
  margin: 14px 0 0 18%;
  padding: 0 0 0 14px;
  border: 0;
  border-left: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--forest);
}

.manifesto__copy h2 {
  max-width: 11ch;
}

/* Estrutura: capítulos alternados, sem grandes cards de produto. */
.experience::before {
  opacity: 0.18;
}

.experience__steps {
  border-top: 1px solid var(--editorial-line-light);
}

.experience-step {
  gap: clamp(34px, 6vw, 92px);
  padding: clamp(46px, 6.2vw, 92px) 0;
  border: 0;
  border-bottom: 1px solid var(--editorial-line-light);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.experience-step__media {
  min-height: clamp(360px, 46vw, 610px);
  border-radius: var(--editorial-radius-large);
  box-shadow: 0 22px 58px rgba(3, 16, 11, 0.2);
}

.experience-step__media::after {
  background: linear-gradient(180deg, transparent 58%, rgba(3, 16, 11, 0.34));
}

.experience-step__content {
  padding: clamp(20px, 3vw, 48px) clamp(8px, 2vw, 28px);
}

.experience-step__number {
  margin-bottom: 26px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.experience-step h3 {
  max-width: 11ch;
  font-size: clamp(2.15rem, 4vw, 4.45rem);
  letter-spacing: -0.035em;
}

.experience-step__facts {
  gap: 14px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--editorial-line-light);
}

.experience-step__facts li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* Galeria: controles discretos e fotos tratadas como acervo, não cards. */
.gallery-section .section-heading {
  margin-bottom: clamp(34px, 4vw, 58px);
}

.gallery-carousel__toolbar {
  padding: 13px 0;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
}

.gallery-carousel__toolbar > p {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gallery-carousel__toolbar > p span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
}

.gallery-carousel__controls button {
  border-radius: var(--editorial-radius-small);
  box-shadow: none;
}

.gallery-item button {
  border-radius: var(--editorial-radius-medium);
  box-shadow: none;
}

.gallery-item__overlay {
  border-radius: 0 0 var(--editorial-radius-medium) var(--editorial-radius-medium);
}

.gallery-item__overlay > span {
  border-radius: var(--editorial-radius-small);
}

/* Localização: o mapa vira parte da narrativa e perde a moldura de widget. */
.location__image-main,
.location__image-detail,
.location-map {
  border-radius: var(--editorial-radius-large);
}

.location__image-main,
.location-map {
  box-shadow: var(--shadow);
}

.location__image-detail {
  border: 6px solid var(--cream-soft);
  box-shadow: 0 15px 38px rgba(16, 41, 31, 0.14);
}

.location__tag,
.location__pin,
.map-link {
  border-radius: var(--editorial-radius-small);
}

.location-map__footer {
  border-top: 1px solid var(--editorial-line);
  background: var(--forest);
  color: var(--white);
}

/* Avaliações: depoimentos tipográficos, sem o padrão de três cards brancos. */
.reviews-section {
  background: var(--cream-soft);
}

.reviews__heading {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--editorial-line);
}

.reviews__demo {
  border-radius: var(--editorial-radius-small);
}

.reviews-track {
  gap: clamp(28px, 4vw, 60px);
}

.review-card {
  min-height: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--editorial-line);
  border-radius: var(--editorial-radius-medium);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.review-card__avatar {
  border-radius: 50%;
  box-shadow: none;
}

.review-card__text {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.68;
}

.review-card__more,
.review-card__source {
  border-radius: 6px;
}

.review-card__footer {
  margin-top: auto;
  padding-top: 22px;
  border-top-color: var(--editorial-line);
}

.reviews__all-link {
  border-radius: var(--editorial-radius-small);
}

/* Títulos longos quebram de acordo com o espaço real, sem palavras cortadas. */
.events__heading h2 {
  max-width: 100%;
  font-size: clamp(2.1rem, 2.9vw, 3.25rem);
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

/* Encerramento com hierarquia de anúncio editorial, não banner genérico. */
.final-cta__overlay {
  background: linear-gradient(90deg, rgba(8, 31, 23, 0.88) 0%, rgba(8, 31, 23, 0.62) 48%, rgba(8, 31, 23, 0.22) 100%);
}

.final-cta__content {
  max-width: 760px;
  margin-left: 0;
  text-align: left;
}

.final-cta__content .eyebrow {
  justify-content: flex-start;
}

.final-cta__content h2 {
  max-width: 12ch;
}

.final-cta__content > .reveal > p:not(.eyebrow) {
  margin-left: 0;
}

/* Página legal: documento sóbrio, sem painéis inflados. */
.privacy-page .site-header,
.privacy-hero__panel,
.privacy-content__card,
.privacy-contact {
  border-radius: var(--editorial-radius-medium);
}

.privacy-hero__panel,
.privacy-content__card,
.privacy-contact {
  box-shadow: none;
}

@media (max-width: 960px) {
  .site-header {
    border-radius: 3px;
    background: var(--forest-deep);
  }

  .site-header__brand {
    background: transparent;
  }

  .menu-toggle {
    border-radius: 2px;
  }

  .mobile-menu {
    border-radius: 3px;
    box-shadow: 0 18px 48px rgba(4, 18, 13, 0.2);
  }

  .mobile-menu a,
  .mobile-menu .button {
    border-radius: 2px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 10vw, 5.5rem);
  }

  .experience-step,
  .experience-step:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .events__inner {
    grid-template-columns: 1fr;
  }

  .events__heading {
    position: static;
    margin-bottom: 52px;
  }

  .reviews__heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .reviews__attribution {
    width: fit-content;
    border-top: 1px solid var(--border);
    border-left: 0;
    padding-left: 10px;
  }
}

@media (max-width: 720px) {
  :root {
    --section: 70px;
  }

  h2 {
    font-size: clamp(2.05rem, 10.5vw, 3.15rem);
  }

  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.15em;
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero__content {
    gap: 40px;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2.9rem, 14vw, 4.25rem);
    line-height: 0.94;
  }

  .hero__actions .button {
    width: auto;
    min-width: min(100%, 270px);
  }

  .hero__notes {
    align-items: flex-start;
  }

  .hero__notes span + span::before {
    margin: 0 10px;
  }

  .hero__photo-main {
    border-radius: 45% 45% var(--editorial-radius-medium) var(--editorial-radius-medium);
  }

  .hero__photo-secondary {
    border-width: 5px;
  }

  .manifesto__grid {
    gap: 42px;
  }

  .manifesto__caption {
    margin-left: 0;
  }

  .experience__steps {
    margin-top: 40px;
  }

  .experience-step,
  .experience-step:nth-child(even) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 50px;
  }

  .experience-step:nth-child(even) .experience-step__media,
  .experience-step:nth-child(even) .experience-step__content {
    grid-column: auto;
    grid-row: auto;
  }

  .experience-step__media {
    min-height: clamp(280px, 105vw, 430px);
    border-radius: var(--editorial-radius-medium);
  }

  .experience-step__content {
    padding: 0 2px;
  }

  .experience-step__number {
    margin-bottom: 16px;
  }

  .experience-step h3 {
    max-width: 12ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .experience-step__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-carousel__toolbar {
    margin-bottom: 22px;
  }

  .gallery-carousel__toolbar > p span {
    display: none;
  }

  .gallery-item button {
    border-radius: var(--editorial-radius-medium);
  }

  .events__heading h2 {
    max-width: 100%;
    font-size: clamp(1.75rem, 7.8vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .location__grid {
    gap: 42px;
  }

  .location__image-detail {
    border-width: 4px;
  }

  .reviews__heading {
    gap: 24px;
  }

  .reviews-track {
    margin-inline: 0;
    padding: 0 0 12px;
    gap: 30px;
    scroll-padding-inline: 0;
  }

  .review-card {
    flex-basis: min(84vw, 410px);
    padding: 24px;
  }

  .final-cta__content {
    text-align: left;
  }

  .final-cta__content .button {
    width: auto;
  }

  main section[id] {
    scroll-margin-top: 88px;
  }
}

@media (max-width: 430px) {
  .hero__actions .button,
  .final-cta__content .button {
    width: 100%;
  }

  .experience-step__facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .gallery-item button,
  .review-card,
  .experience-step__media {
    transition: none !important;
  }
}
