/* =========================================================
   CLÍNICA ÁRVIA
   Paleta da identidade visual (Instagram):
   areia / bege, verde-oliva, taupe e marrom profundo.
   ========================================================= */
:root {
  --sand-50:  #FAF6EF;
  --sand-100: #F3ECE0;
  --sand-200: #E9DFCF;
  --sand-300: #D6C1A6; /* bege do logo no Instagram */
  --taupe-400:#B39F86;
  --taupe-500:#8C7863;
  --brown-700:#4C3E23; /* marrom das letras do logo */
  --brown-900:#2E2516;
  --olive-400:#8A9670;
  --olive-500:#667055; /* verde dos destaques */
  --olive-600:#535C43;
  --olive-700:#434B31;
  --gold:     #C9A866; /* letreiro em latão da recepção */

  --text: var(--brown-700);
  --text-soft: #7A6A50;
  --rule: rgba(140, 120, 99, .28);

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 3px;
  --container: 1240px;
  --section-y: clamp(72px, 10vw, 128px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: var(--olive-500); color: var(--sand-50); }
:focus-visible { outline: 2px solid var(--olive-500); outline-offset: 3px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.08; color: var(--brown-900); }
h1 em, h2 em { font-style: italic; color: var(--olive-500); font-weight: 400; }

.label {
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 500; color: var(--taupe-500);
  margin-bottom: 20px;
}
.section { padding-block: var(--section-y); }
.section__title { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.section__head { margin-bottom: 56px; }
.section__head--split {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end;
  padding-bottom: 32px; border-bottom: 1px solid var(--rule);
}
.lead { font-size: 1.12rem; color: var(--text-soft); font-weight: 300; max-width: 46ch; }
.inline-link { color: var(--olive-600); border-bottom: 1px solid currentColor; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--brown-700); }
.logo__small { font-size: .58rem; letter-spacing: .5em; text-transform: uppercase; margin-bottom: 2px; padding-left: .5em; }
.logo__big { font-family: var(--font-serif); font-size: 1.85rem; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; }
.logo--light { color: var(--sand-100); }

/* ---------- Botões & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius);
  font-size: .92rem; font-weight: 500; letter-spacing: .03em;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--olive-500); color: var(--sand-50); }
.btn--primary:hover { background: var(--olive-700); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--lg { padding: 17px 32px; font-size: 1rem; }

.link-arrow { font-size: .92rem; letter-spacing: .03em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.link-arrow--light { color: var(--sand-100); }
.link-arrow:hover { color: var(--gold); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-block: 16px;
  transition: background .3s, padding .3s;
}
.header .logo { color: var(--sand-50); transition: color .3s; }
.header.is-scrolled { background: var(--sand-50); padding-block: 10px; border-bottom: 1px solid var(--rule); }
.header.is-scrolled .logo { color: var(--brown-700); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: .9rem; letter-spacing: .04em; color: var(--sand-100); padding-block: 4px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.nav__link:hover, .nav__link.is-active { border-color: currentColor; }
.header.is-scrolled .nav__link { color: var(--brown-700); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 60; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--sand-50); transition: transform .3s, top .3s, background .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.header.is-scrolled .burger span { background: var(--brown-700); }

/* =========================================================
   HERO (vídeo)
   ========================================================= */
.hero {
  min-height: 100svh; position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--sand-50); background: var(--brown-900);
  padding-top: 120px;
}
/* foto da recepção fica por baixo: aparece enquanto o vídeo carrega e com movimento reduzido */
.hero__media { position: absolute; inset: 0; z-index: -2; background: url("assets/img/recepcao.jpg") center / cover; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero__video.is-on { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(43, 36, 29, .9) 0%, rgba(43, 36, 29, .6) 40%, rgba(43, 36, 29, .25) 75%),
    linear-gradient(to bottom, rgba(43, 36, 29, .4), transparent 20%);
}
.hero__content {
  display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px 64px; align-items: end;
  padding-bottom: 48px;
}
.hero__title { font-size: clamp(2.8rem, 6.6vw, 5.4rem); color: var(--sand-50); font-weight: 400; letter-spacing: -.01em; }
.hero__title em { color: var(--sand-300); }
.hero__text { font-size: 1.05rem; font-weight: 300; color: var(--sand-200); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

.hero__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 18px; border-top: 1px solid rgba(250, 246, 239, .25);
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-300);
}
.hero__scene span { color: var(--sand-50); }
.hero__toggle { letter-spacing: inherit; text-transform: inherit; font-size: inherit; color: var(--sand-300); }
.hero__toggle:hover { color: var(--sand-50); }

/* =========================================================
   SOBRE
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__content > p { margin-bottom: 20px; max-width: 58ch; }
.about__content .lead { margin-top: 24px; }
.about__content strong { color: var(--olive-600); font-weight: 500; }
.about__media img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.about__media figcaption { margin-top: 12px; font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--taupe-500); }

.symbols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 36px 0; }
.symbols > div { border-top: 1px solid var(--brown-700); padding-top: 14px; }
.symbols dt { font-family: var(--font-serif); font-size: 1.7rem; font-style: italic; color: var(--olive-600); }
.symbols dd { font-size: .96rem; color: var(--text-soft); line-height: 1.55; }

.specialties { margin-top: clamp(56px, 8vw, 96px); }
.specialties ul { display: flex; flex-wrap: wrap; border-top: 1px solid var(--rule); }
.specialties li {
  flex: 1 1 auto; padding: 18px 24px 18px 0; margin-right: 24px;
  font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--brown-900);
  border-bottom: 1px solid var(--rule);
}

/* =========================================================
   EQUIPE
   ========================================================= */
.team { background: var(--sand-100); }
.team__filters { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-bottom: 28px; }
.tab { font-size: .9rem; color: var(--text-soft); padding-block: 4px; border-bottom: 1px solid transparent; }
.tab:hover { color: var(--brown-900); }
.tab.is-active { color: var(--brown-900); border-color: var(--brown-900); }

.team__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
.member { display: flex; flex-direction: column; }
.member.is-hidden { display: none; }
.member__photo {
  aspect-ratio: 4 / 5; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden;
  background: var(--sand-300); display: grid; place-items: center;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.member__photo span { font-family: var(--font-serif); font-size: 3rem; color: var(--sand-50); letter-spacing: .04em; }
.member h3 { font-size: 1.55rem; }
.member__reg { font-size: .8rem; color: var(--taupe-500); letter-spacing: .05em; }
.member__role { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: .92rem; font-weight: 500; color: var(--brown-700); }
.member p { font-size: .9rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 14px; }
.member__links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.member__ig { font-size: .8rem; color: var(--taupe-500); }
.member__ig:hover { color: var(--olive-600); }
.member__cta { font-size: .88rem; color: var(--olive-600); border-bottom: 1px solid currentColor; white-space: nowrap; }
.member__cta::after { content: " →"; }
.member__cta:hover { color: var(--olive-700); }

/* =========================================================
   SALAS
   ========================================================= */
.rooms__gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; margin-bottom: 72px; }
.room img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.room figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; }
.room h3 { font-size: 1.5rem; font-weight: 500; }
.room span { font-size: .85rem; color: var(--text-soft); text-align: right; }
.room--a { grid-column: 1 / 8; }  .room--a img { aspect-ratio: 4 / 3; }
.room--b { grid-column: 8 / 13; align-self: end; } .room--b img { aspect-ratio: 4 / 5; }
.room--c { grid-column: 1 / 5; }  .room--c img { aspect-ratio: 1; }
.room--d { grid-column: 5 / 9; margin-top: 64px; } .room--d img { aspect-ratio: 1; }
.room--e { grid-column: 9 / 13; } .room--e img { aspect-ratio: 1; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.features li { border-top: 1px solid var(--brown-700); padding-top: 14px; }
.features h3 { font-size: 1.3rem; margin-bottom: 4px; }
.features p { font-size: .94rem; color: var(--text-soft); line-height: 1.5; }

.rooms__cta {
  margin-top: 64px; padding: 32px 36px; border-radius: var(--radius);
  background: var(--olive-600); color: var(--sand-100);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.rooms__cta p { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2rem); font-style: italic; }
.rooms__cta .btn--primary { background: var(--sand-50); color: var(--olive-700); }
.rooms__cta .btn--primary:hover { background: #fff; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonials { background: var(--sand-300); }
.testimonials__inner { display: grid; grid-template-columns: 220px 1fr; gap: 24px 64px; }
.slider { overflow: hidden; max-width: 900px; }
.slider__track { display: flex; transition: transform .7s ease; }
.quote { flex: 0 0 100%; padding-right: 12px; }
.quote p {
  font-family: var(--font-serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.3; color: var(--brown-900); margin-bottom: 28px;
}
.quote footer { display: flex; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
.quote footer strong { font-weight: 500; color: var(--olive-600); }
.quote footer span { color: var(--text-soft); }

.slider__controls { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--taupe-400); display: grid; place-items: center; transition: background .25s, color .25s; }
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn:hover { background: var(--brown-900); border-color: var(--brown-900); color: var(--sand-50); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 22px; height: 2px; background: var(--taupe-400); }
.slider__dots button[aria-selected="true"] { background: var(--brown-900); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq .section__head { position: sticky; top: 110px; margin-bottom: 0; }
.faq .section__title { margin-bottom: 20px; }

.acc { border-top: 1px solid var(--rule); }
.acc:last-child { border-bottom: 1px solid var(--rule); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500; color: var(--brown-900);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--font-sans); font-weight: 300; font-size: 1.5rem; color: var(--olive-500); }
.acc[open] summary::after { content: "−"; }
.acc__body { padding: 0 0 24px; color: var(--text-soft); max-width: 60ch; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { background: var(--sand-100); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact__list { margin: 36px 0 40px; }
.contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.contact__list > div:last-child { border-bottom: 1px solid var(--rule); }
.contact__list dt { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe-500); padding-top: 4px; }
.contact__list dd { color: var(--brown-900); }
.contact__list small { font-size: .88rem; color: var(--text-soft); }
.contact__list a { border-bottom: 1px solid var(--taupe-400); }
.contact__list a:hover { color: var(--olive-500); }

.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 440px; position: relative; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--brown-900); color: var(--sand-300); padding: 56px 0 32px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.footer .logo { color: var(--gold); }
.footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--sand-200); }
.footer__copy { grid-column: 1 / -1; font-size: .82rem; color: var(--taupe-400); padding-top: 20px; border-top: 1px solid rgba(220, 205, 181, .12); }
/* Crédito AURA: linha própria, centralizada, logo em destaque */
.credit { grid-column: 1 / -1; justify-self: center; display: inline-flex; align-items: center; gap: 16px; margin-top: 8px; padding: 10px 22px 10px 26px; border: 1px solid rgba(233, 223, 207, .22); border-radius: 999px; color: var(--sand-100); text-decoration: none; transition: border-color .25s ease, background-color .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
.credit__label { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.credit__logo { height: 52px; width: auto; }
.credit:hover, .credit:focus-visible { border-color: rgba(0, 230, 246, .55); background-color: rgba(0, 230, 246, .06); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .credit:hover, .credit:focus-visible { transform: none; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive-500); color: var(--sand-50);
  box-shadow: 0 6px 18px rgba(43, 36, 29, .25);
  opacity: 0; pointer-events: none; transition: opacity .3s, background .25s;
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; }
.wa-float:hover { background: var(--olive-700); }
.wa-float svg { width: 26px; height: 26px; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .team__list { grid-template-columns: repeat(3, 1fr); }
  .testimonials__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--sand-50);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav__link { color: var(--brown-700) !important; font-family: var(--font-serif); font-size: 2rem; letter-spacing: 0; }
  .nav.is-open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  body.menu-open .burger span { background: var(--brown-700); }
  body.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
  body.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }
  body.menu-open .header .logo { color: var(--brown-700); position: relative; z-index: 60; }

  .hero__content, .section__head--split, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; }
  .faq .section__head { position: static; }

  .rooms__gallery { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .room--a { grid-column: 1 / -1; }
  .room--b, .room--c, .room--d, .room--e { grid-column: auto; align-self: start; margin-top: 0; }
  .room--b img { aspect-ratio: 1; }
  .room figcaption { flex-direction: column; gap: 2px; }
  .room span { text-align: left; }

  .contact__map { min-height: 360px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__copy, .credit { grid-column: auto; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 32px, var(--container)); }
  .symbols, .features { grid-template-columns: 1fr; }
  .rooms__gallery { grid-template-columns: 1fr; }
  .team__list { grid-template-columns: 1fr 1fr; gap: 36px 14px; }
  .member h3 { font-size: 1.3rem; }
  .hero__actions .btn, .rooms__cta .btn { width: 100%; }
  .specialties li { flex-basis: 100%; margin-right: 0; }
  .contact__list > div { grid-template-columns: 1fr; gap: 2px; }
  .rooms__cta { padding: 26px; }
  .acc summary { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
