/* ==========================================================================
   The Pilates Club — Landing Page
   Paleta extraida dos assets reais (logo.jpg + home.png)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Cores — blush do logo, creme das paredes, dourado do neon */
  --cream:        #FBF7F4;
  --cream-2:      #F5EDE8;
  --cream-3:      #EFE3DC;
  --blush-100:    #F9EDF0;
  --blush-200:    #EFD3DC;
  --blush-300:    #E3AFBF;
  --rose:         #C98A9B;
  --rose-700:     #9A5C71;  /* AA: 5.1:1 com branco */
  --rose-800:     #7E4A5C;
  --gold:         #C6A15B;
  --plum:         #3A2E32;
  --plum-soft:    #6B585E;  /* AA: 6.1:1 sobre creme */
  --line:         #E7DAD3;
  --white:        #FFFFFF;

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + 0.35vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.85rem + 2.7vw, 4.2rem);

  /* Espaco */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --wrap: 1200px;

  --radius: 4px;
  --radius-lg: 20px;
  --arch: 50% 50% 0 0 / 34% 34% 0 0;

  --shadow-sm: 0 1px 2px rgba(58, 46, 50, 0.05);
  --shadow:    0 10px 30px -12px rgba(58, 46, 50, 0.16);
  --shadow-lg: 0 30px 60px -24px rgba(58, 46, 50, 0.24);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--cream);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--rose-700);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--blush-200); color: var(--plum); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--plum);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--step--1);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--cream-2); }
.section--blush { background: var(--blush-100); }
.section--dark { background: var(--plum); color: var(--cream); }

/* Cabecalho de secao ---------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-700);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section--dark .eyebrow { color: var(--blush-300); }

.section-head { max-width: 700px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title { font-size: var(--step-3); }
.section-title em { font-style: italic; color: var(--rose-700); }
.section--dark .section-title em { color: var(--blush-300); }

.lede {
  margin-top: 1.1rem;
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.6;
  color: var(--plum-soft);
}
.section--dark .lede { color: rgba(251, 247, 244, 0.75); }

/* --------------------------------------------------------------------------
   4. Botoes
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--rose-700);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover {
  --btn-bg: var(--rose-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--plum);
  border-color: var(--line);
}
.btn--ghost:hover {
  --btn-bg: var(--plum);
  --btn-fg: var(--cream);
  border-color: var(--plum);
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--plum);
}
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--rose-800); }

.btn--sm { padding: 0.7rem 1.3rem; font-size: 0.74rem; }
.btn--block { width: 100%; }

/* rotulo curto do CTA do header em telas medias */
.btn__short { display: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rose-700);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow:hover { gap: 0.85rem; border-bottom-color: currentColor; }
.link-arrow svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(251, 247, 244, 0.93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img {
  /* logo.png é o wordmark recortado com fundo transparente (512x208) */
  height: 34px;
  width: auto;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--plum);
  position: relative;
  padding-block: 0.35rem;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--rose-700);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

/* Botao hamburguer ------------------------------------------------------- */
.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--plum);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s var(--ease);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%; height: 100%;
  background: var(--plum);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Drawer mobile ---------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: 96px var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
/* o atributo [hidden] precisa vencer o display:flex acima */
.drawer[hidden] { display: none; }
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a {
  font-family: var(--font-display);
  font-size: var(--step-2);
  text-decoration: none;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.drawer .btn { margin-top: 2rem; }
.drawer__foot {
  margin-top: auto;
  padding-top: 2rem;
  font-size: var(--step--1);
  color: var(--plum-soft);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(112px, 14vh, 150px);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  /* halo blush atras da coluna da foto */
  content: "";
  position: absolute;
  top: -18%; right: -12%;
  width: 62vw; height: 62vw;
  max-width: 780px; max-height: 780px;
  background: radial-gradient(circle, var(--blush-100) 0%, rgba(249, 237, 240, 0) 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero__title em {
  font-style: italic;
  color: var(--rose-700);
  display: block;
}
.hero__sub {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: var(--step-1);
  font-weight: 300;
  color: var(--plum-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

/* Selo de confianca ------------------------------------------------------
   Grid em vez de flex+separadores: nunca estoura a largura no mobile
   nem deixa um item orfao numa segunda linha. */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.trust__item { min-width: 0; }
.trust__item + .trust__item { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.trust__stars { display: flex; gap: 2px; color: var(--gold); height: 1.6rem; align-items: center; }
.trust__stars svg { width: 14px; height: 14px; }
.trust__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.6rem;
  color: var(--plum);
}
.trust__label {
  margin-top: 0.35rem;
  font-size: 0.76rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--plum-soft);
  text-wrap: pretty;
}

/* em telas estreitas os itens empilham em 2 colunas — sem divisoria vertical */
@media (max-width: 400px) {
  .trust__item + .trust__item { padding-left: 0; border-left: 0; }
}

/* Moldura em arco (ecoa os arcos da parede do studio) -------------------- */
.hero__media { position: relative; justify-self: center; width: 100%; }
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--cream-3);
  box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute;
  left: clamp(-0.5rem, -2vw, -2rem);
  bottom: clamp(1.5rem, 5vw, 3rem);
  background: rgba(251, 247, 244, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem 1.35rem;
  box-shadow: var(--shadow);
  max-width: 230px;
}
.hero__badge > strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--rose-700);
}
.hero__badge > span {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--plum-soft);
  display: block;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   7. Faixa de beneficios
   -------------------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.benefit {
  background: var(--cream);
  padding: clamp(1.75rem, 3vw, 2.5rem) 1.25rem;
  text-align: center;
  transition: background 0.3s var(--ease);
}
.benefit:hover { background: var(--blush-100); }
.benefit svg {
  width: 30px; height: 30px;
  margin-inline: auto;
  color: var(--rose-700);
  stroke-width: 1.25;
}
.benefit h3 {
  margin-top: 1rem;
  font-size: 1.22rem;
}
.benefit p {
  margin-top: 0.4rem;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--plum-soft);
}

/* --------------------------------------------------------------------------
   8. Grids genericos
   -------------------------------------------------------------------------- */
/* filhos de grid tem min-width:auto por padrao, o que deixa conteudo largo
   esticar a coluna alem da viewport — zerar isso previne scroll horizontal */
.grid > *, .hero__grid > *, .about > *, .location > *, .footer__grid > * { min-width: 0; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* --------------------------------------------------------------------------
   9. Modalidades
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blush-200);
}
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
}
.card__body h3 { font-size: var(--step-2); }
.card__tag {
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.75rem;
  background: var(--blush-100);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-700);
}
.card__body p {
  margin-top: 0.7rem;
  font-size: 0.94rem;
  color: var(--plum-soft);
}
.card__list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--plum-soft);
}
.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.card__list li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}
.card__foot { margin-top: auto; padding-top: 1.5rem; }

/* --------------------------------------------------------------------------
   10. Sobre
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__frame {
  position: relative;
  z-index: 1;              /* fica acima do detalhe dourado, sem z-index negativo */
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* 3:2 acomoda a foto landscape sem cortar as pessoas nas bordas */
  aspect-ratio: 3 / 2;
  background: var(--cream-3);
  box-shadow: var(--shadow);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* detalhe decorativo — so no layout de 2 colunas, senao escapa pela
   borda esquerda no mobile */
.about__accent { display: none; }
@media (min-width: 900px) {
  .about__accent {
    display: block;
    position: absolute;
    inset: auto auto -22px -22px;
    width: 38%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
/* filho direto: um <span class="ph"> dentro do <strong> nao pode
   herdar o tamanho pequeno da legenda */
.stat > strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--rose-700);
}
.stat > span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--plum-soft);
}

/* --------------------------------------------------------------------------
   11. Instrutores
   -------------------------------------------------------------------------- */
.teacher { text-align: center; }
.teacher__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--cream-3);
  margin-bottom: 1.4rem;
}
.teacher__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.teacher:hover .teacher__photo img { transform: scale(1.04); }
.teacher h3 { font-size: var(--step-2); }
.teacher__role {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.teacher p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--plum-soft);
}
.teacher__creds {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.teacher__creds li {
  padding: 0.28rem 0.7rem;
  background: var(--blush-100);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--rose-700);
}

/* --------------------------------------------------------------------------
   12. Galeria
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.5rem, 1.2vw, 1rem);
}
.gallery figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream-3);
  aspect-ratio: 1;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 10; }

@media (min-width: 720px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
  .gallery figure { aspect-ratio: 1; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery figure:nth-child(6) { grid-column: span 2; aspect-ratio: auto; }
}

/* --------------------------------------------------------------------------
   13. Depoimentos
   -------------------------------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 1.1rem; }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote {
  flex: 1;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--plum);
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blush-200);
}
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__name { font-weight: 500; font-size: 0.94rem; }
.quote__meta { font-size: 0.78rem; color: var(--plum-soft); }

/* --------------------------------------------------------------------------
   14. Localizacao
   -------------------------------------------------------------------------- */
.location { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-3);
}
.map iframe { width: 100%; height: 100%; border: 0; }

.info-list { display: grid; gap: 1.6rem; }
.info-item { display: flex; gap: 1rem; }
.info-item svg {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 3px;
  color: var(--rose-700);
  stroke-width: 1.4;
}
.info-item h3 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 0.35rem;
}
.info-item p, .info-item a {
  font-size: 1rem;
  color: var(--plum);
  text-decoration: none;
}
.info-item a:hover { color: var(--rose-700); }

.hours {
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed var(--line);
}
.hours dt { color: var(--plum-soft); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq details[open] { border-color: var(--blush-200); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem clamp(1.1rem, 2.5vw, 1.75rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--rose-700);
  border-bottom: 1.5px solid var(--rose-700);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__answer {
  padding: 0 clamp(1.1rem, 2.5vw, 1.75rem) 1.4rem;
  font-size: 0.96rem;
  color: var(--plum-soft);
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   16. CTA final
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--plum);
  color: var(--cream);
}
.cta-final::before, .cta-final::after {
  content: "";
  position: absolute;
  width: 46vw; height: 46vw;
  max-width: 560px; max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 138, 155, 0.28) 0%, rgba(201, 138, 155, 0) 70%);
  pointer-events: none;
}
.cta-final::before { top: -22%; left: -12%; }
.cta-final::after  { bottom: -28%; right: -10%; }
.cta-final .wrap { position: relative; }
.cta-final h2 { font-size: var(--step-4); line-height: 1.05; }
.cta-final h2 em { font-style: italic; color: var(--blush-300); }
.cta-final p {
  margin: 1.5rem auto 0;
  max-width: 54ch;
  font-size: var(--step-1);
  font-weight: 300;
  color: rgba(251, 247, 244, 0.78);
}
.cta-final .btn { margin-top: 2.5rem; }
.cta-final__note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(251, 247, 244, 0.55);
}

/* --------------------------------------------------------------------------
   17. Rodape
   -------------------------------------------------------------------------- */
.footer {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.footer__brand img { height: 42px; width: auto; }
.footer__brand p {
  margin-top: 1.1rem;
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--plum-soft);
}
.footer h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-soft);
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer a { text-decoration: none; font-size: 0.92rem; }
.footer a:hover { color: var(--rose-700); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.socials a:hover { background: var(--rose-700); color: var(--white); border-color: var(--rose-700); }
.socials svg { width: 18px; height: 18px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.75rem;
  /* espaco para o botao flutuante do WhatsApp nao cobrir o texto */
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--plum-soft);
}

/* --------------------------------------------------------------------------
   18. WhatsApp flutuante
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  background: #25D366;
  color: #073B22;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(7, 59, 34, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.04); box-shadow: 0 16px 34px -8px rgba(7, 59, 34, 0.55); }
.wa-float svg { width: 30px; height: 30px; flex: none; }
.wa-float span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-right: 0.6rem;
  white-space: nowrap;
}
/* pulso sutil, so na primeira carga */
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25D366;
  animation: wa-pulse 2.6s var(--ease) 3;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 560px) {
  .wa-float span { display: none; }
  .wa-float { padding: 0.85rem; }
}

/* --------------------------------------------------------------------------
   19. Placeholders de imagem (slots)
   Se o arquivo nao existir, mostra um marcador estilizado com o nome esperado.
   -------------------------------------------------------------------------- */
.slot { position: relative; }
.slot.is-missing img { display: none; }
.slot.is-missing {
  background:
    repeating-linear-gradient(135deg,
      var(--blush-100) 0 12px,
      var(--cream-2) 12px 24px);
  display: grid;
  place-items: center;
  border: 1px dashed var(--blush-300);
}
.slot__note {
  display: none;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-700);
}
.slot.is-missing .slot__note { display: block; }
.slot__note strong { display: block; font-size: 0.78rem; margin-bottom: 0.25rem; }
.slot__note code {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.15rem 0.45rem;
  background: var(--white);
  border-radius: 3px;
  font-size: 0.66rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--plum);
}

/* Placeholders de TEXTO — visiveis so em modo rascunho.
   Remova data-draft="on" do <html> para desligar o realce. */
[data-draft="on"] .ph {
  background: rgba(198, 161, 91, 0.18);
  box-shadow: 0 0 0 1px rgba(198, 161, 91, 0.45);
  border-radius: 3px;
  padding: 0 0.2em;
}

/* --------------------------------------------------------------------------
   20. Reveal ao rolar
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
/* sem JS, nada fica escondido */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   21. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .gallery figure:nth-child(1) { aspect-ratio: 16 / 9; }
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero__media { max-width: 520px; }
  .about { grid-template-columns: 1fr 1fr; }
  .about--reverse .about__media { order: 2; }
  .location { grid-template-columns: 1.15fr 0.85fr; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  /* CTA continua no header, mas com rotulo curto */
  .btn__full { display: none; }
  .btn__short { display: inline; }
}

/* Abaixo de 560px nao cabe logo + CTA + hamburguer.
   Ali o botao flutuante do WhatsApp assume o papel do CTA fixo. */
@media (max-width: 559px) {
  .header__cta .btn { display: none; }
}

@media (min-width: 1025px) {
  .drawer { display: none; }
}
