/* ============================================================
   TOKENS — identidade visual Instituto Soares
   idv.png: #123F3B / #2F6863 / #BEA14A / #F5F4EF / #D8D9D2
============================================================ */
:root {
  --c-primary:      #123F3B;
  --c-primary-mid:  #2F6863;
  --c-gold:         #BEA14A;
  --c-gold-hover:   #CDB45E;
  --c-surface:      #F5F4EF;
  --c-surface-alt:  #EAF0EE;
  --c-muted-bg:     #D8D9D2;
  --c-on-primary:   #F5F4EF;
  --c-on-surface:   #123F3B;
  --c-text-muted:   rgba(18, 63, 59, 0.55);

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'Montserrat', sans-serif;

  --nav-h:  80px;
  --r-card: 16px;
  --r-btn:  4px;
  --max-w:  1280px;
  --ease:   0.3s ease;
}


/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip; /* clip não cria scroll container — CLAUDE.md */
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  background-color: var(--c-surface);
  color: var(--c-on-surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img    { display: block; max-width: 100%; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}


/* ============================================================
   UTILITÁRIOS PARTILHADOS
============================================================ */

/* Label de secção */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary-mid);
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Títulos de secção */
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.2;
}
.section-title--light { color: var(--c-on-primary); }

.section-subtitle {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  max-width: 560px;
}

/* Botão primário (dourado) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-gold);
  color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--r-btn);
  transition: background var(--ease), transform var(--ease);
}
.btn-primary:hover {
  background: var(--c-gold-hover);
  transform: translateY(-1px);
}

/* Botão secundário (outline) */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--c-primary);
  color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: var(--r-btn);
  transition: background var(--ease), color var(--ease);
}
.btn-outline:hover {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

/* Ícone seta SVG inline */
.icon-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}


/* ============================================================
   WHATSAPP — fixo, filho direto do <body>
   left: calc(100vw - 86px) em vez de right — CLAUDE.md
============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  left: calc(100vw - 86px);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transition: transform var(--ease), box-shadow var(--ease);
  /* GPU layer para evitar artefactos no scroll — CLAUDE.md */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.whatsapp-btn:hover {
  transform: translateZ(0) scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}


/* ============================================================
   HEADER / NAV — fixo, filho direto do <body>
   fora de qualquer wrapper com overflow — CLAUDE.md
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.nav {
  height: var(--nav-h);
  background: rgba(18, 63, 59, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo img {
  height: 54px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  position: relative;
  color: rgba(245, 244, 239, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 2px;
  transition: color var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav__links a:hover { color: var(--c-gold); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-gold);
  color: var(--c-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--r-btn);
  transition: background var(--ease), transform var(--ease);
}
.nav__cta:hover {
  background: var(--c-gold-hover);
  transform: translateY(-1px);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-on-primary);
  border-radius: 2px;
  transition: var(--ease);
}

/* NAV MOBILE — dropdown compacto abaixo da barra de nav */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: rgba(18, 63, 59, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, visibility 0s linear 0.25s, transform 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, visibility 0s, transform 0.25s ease;
}

.nav__mobile-link {
  color: rgba(245, 244, 239, 0.88);
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(245, 244, 239, 0.07);
  transition: background var(--ease), color var(--ease);
  display: block;
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover {
  background: rgba(245, 244, 239, 0.06);
  color: var(--c-gold);
}


/* ============================================================
   SEÇÃO 1 — HERO
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: 120px; /* espaço para a infobar absoluta */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--c-primary);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 63, 59, 0.88) 0%,
    rgba(18, 63, 59, 0.45) 45%,
    rgba(18, 63, 59, 0.18) 100%
  );
}

/* Wrapper centrado — alinha o conteúdo ao container, não ao viewport */
.hero__content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.hero__content {
  max-width: 780px;
}

.hero__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 600;
  color: var(--c-on-primary);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(245, 244, 239, 0.92);
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero__infobar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  border-top: 1px solid rgba(245, 244, 239, 0.18);
  background: rgba(18, 63, 59, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__infobar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hero__info-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 4px;
}

.hero__info-value {
  font-size: 0.9375rem;
  color: var(--c-on-primary);
  line-height: 1.5;
}

.hero__info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-on-primary);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: color var(--ease);
}
.hero__info-link:hover { color: var(--c-gold); }


/* ============================================================
   SEÇÃO 2 — SERVIÇOS
============================================================ */
.services {
  padding: 72px 0 60px;
  background: var(--c-surface);
}

.services__header {
  text-align: center;
  padding: 0 40px;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.services__tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: #3a3a3a;
  max-width: 580px;
  line-height: 1.65;
}

/* ── TABS ── */
.srv-tabs {
  display: flex;
  gap: 8px;
  padding: 0 40px;
  margin: 0 auto 40px;
  max-width: 1100px;
  flex-wrap: wrap;
  justify-content: center;
}

.srv-tab {
  padding: 10px 22px;
  border-radius: 40px;
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(18, 63, 59, 0.2);
  background: transparent;
  color: #666;
  transition: all var(--ease);
  white-space: nowrap;
}
.srv-tab.is-active {
  background: var(--c-primary);
  color: var(--c-on-primary);
  border-color: var(--c-primary);
}
.srv-tab:hover:not(.is-active) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

/* ── PANELS ── */
.srv-panels {
  padding: 0 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.srv-panel { display: none; }
.srv-panel.is-active { display: block; }

.srv-panel__intro { margin-bottom: 28px; }

.srv-panel__title {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 8px;
}

.srv-panel__desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  max-width: 680px;
}

/* ── GRIDS ── */
.srv-grid {
  display: grid;
  gap: 14px;
}
.srv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.srv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.srv-grid--1 { grid-template-columns: 1fr; max-width: 640px; }

/* ── CARD ── */
.srv-card {
  background: #fff;
  border: 1px solid rgba(18, 63, 59, 0.1);
  border-left: 3px solid var(--c-gold);
  border-radius: 10px;
  padding: 20px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow var(--ease), transform var(--ease);
}
.srv-card:hover {
  box-shadow: 0 4px 20px rgba(18, 63, 59, 0.1);
  transform: translateY(-2px);
}
.srv-card--wide    { grid-column: 1 / -1; }
.srv-card--featured { padding: 24px 24px 20px 20px; }

.srv-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(190, 161, 74, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  margin-bottom: 6px;
  flex-shrink: 0;
}
.srv-card__icon svg {
  width: 22px;
  height: 22px;
}

.srv-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.srv-card__name {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1.35;
}

.srv-card__summary {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1.5;
}

.srv-card__plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  transition: background var(--ease), transform var(--ease);
}
.srv-card__plus:hover {
  background: var(--c-gold);
  color: var(--c-primary);
  transform: scale(1.1);
}

.srv-badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--c-gold);
  color: var(--c-primary);
  padding: 2px 8px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 63, 59, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.modal-box {
  background: var(--c-surface);
  border-radius: 16px;
  padding: 48px 48px 40px;
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 63, 59, 0.08);
  color: var(--c-primary);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--ease);
}
.modal-close:hover { background: rgba(18, 63, 59, 0.15); }

.modal-body h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 16px;
  padding-right: 40px;
  line-height: 1.25;
}
.modal-body p {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
}
.modal-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-body ul li {
  font-size: 0.9rem;
  color: #444;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.modal-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}

.services__track {
  display: flex;
  gap: 20px;
  padding: 0 40px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.services__track::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 340px;
  height: 460px;
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
}
.service-card__bg {
  position: absolute;
  inset: 0;
  background: var(--c-primary-mid);
  transition: transform 0.45s ease;
}
.service-card:hover .service-card__bg { transform: scale(1.04); }
.service-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 63, 59, 0.92) 0%,
    rgba(18, 63, 59, 0.08) 60%
  );
}
.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px 32px;
}
.service-card__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.service-card__title {
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--c-on-primary);
  line-height: 1.25;
}

.services__footer {
  text-align: center;
  margin-top: 48px;
  padding: 0 40px;
}


/* ============================================================
   SEÇÃO 3 — TRATAMENTOS
============================================================ */
.treatments {
  padding: 72px 0;
  background: var(--c-surface-alt);
}

.treatments__header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.treatments__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.treatments__photo {
  border-radius: var(--r-card);
  overflow: hidden;
  height: 560px;
}
.treatments__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatments__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 560px;
}

.treatment-card {
  background: var(--c-primary);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--ease), transform var(--ease);
}
.treatment-card:hover {
  background: var(--c-primary-mid);
  transform: translateY(-3px);
}

.treatment-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(190, 161, 74, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.treatment-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.treatment-card__title {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--c-on-primary);
  line-height: 1.3;
}
.treatment-card__desc {
  font-size: 0.875rem;
  color: rgba(245, 244, 239, 0.88);
  line-height: 1.65;
}


/* ============================================================
   SEÇÃO 4 — SOBRE NÓS
============================================================ */
.about {
  padding: 72px 0;
  background: var(--c-surface);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__text {
  font-size: 1rem;
  color: #3a3a3a;
  line-height: 1.8;
}

.about__content .btn-primary {
  align-self: flex-start;
}

.about__photo { position: relative; }

.about__photo-main {
  border-radius: var(--r-card);
  overflow: hidden;
  height: 580px;
}
.about__photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 160px;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--c-surface);
  box-shadow: 0 8px 32px rgba(18, 63, 59, 0.18);
}
.about__photo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================================
   SEÇÃO 5 — MARQUEE
============================================================ */
.marquee-section {
  padding: 56px 0;
  background: var(--c-surface);
  overflow: hidden;
  border-top: 1px solid rgba(18, 63, 59, 0.08);
  border-bottom: 1px solid rgba(18, 63, 59, 0.08);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  flex-shrink: 0;
}

.marquee-text {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.01em;
}

.marquee-sep {
  color: var(--c-gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}


/* ============================================================
   SEÇÃO 6 — GALERIA
============================================================ */
.gallery {
  padding: 72px 0;
  background: var(--c-surface-alt);
}

.gallery__header {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gallery__slider {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
}

.gallery__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__slide {
  flex: 0 0 100%;
  height: 560px;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__controls {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 2;
}

.gallery__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(18, 63, 59, 0.72);
  color: var(--c-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: background var(--ease);
  flex-shrink: 0;
}
.gallery__arrow:hover { background: var(--c-primary); }

.gallery__dots { display: flex; gap: 8px; }

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 244, 239, 0.5);
  transition: background var(--ease), transform var(--ease);
}
.gallery__dot.is-active {
  background: var(--c-gold);
  transform: scale(1.35);
}


/* ============================================================
   SEÇÃO 7 — EQUIPE
============================================================ */
.team {
  padding: 72px 0;
  background: var(--c-surface);
}

.team__header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.team__members {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-member {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c-primary);
}

.team-member__photo {
  height: 380px;
  overflow: hidden;
}
.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member__content {
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.team-member__name {
  font-family: var(--f-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--c-on-primary);
  line-height: 1.2;
}

.team-member__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-gold);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.team-member__bio {
  font-size: 0.9375rem;
  color: rgba(245, 244, 239, 0.82);
  line-height: 1.75;
}


/* ============================================================
   SEÇÃO 8 — DEPOIMENTOS (scroll infinito por coluna)
============================================================ */
.testimonials {
  padding: 72px 0;
  background: var(--c-surface-alt);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Wrap com máscara de fade topo/fundo */
.testimonials__scroll-wrap {
  display: flex;
  gap: 20px;
  max-height: 680px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.testimonials__scroll-col {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.testimonials__scroll-col--mid  { display: none; }
.testimonials__scroll-col--last { display: none; }

/* Coluna interna que anima */
.testimonials__scroll-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: t-scroll var(--dur, 20s) linear infinite;
}
.testimonials__scroll-inner:hover { animation-play-state: paused; }

@keyframes t-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Card individual */
.testimonial-card {
  background: var(--c-surface);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(18, 63, 59, 0.06);
}

.testimonial-card__stars {
  color: var(--c-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 0.9rem;
  font-style: italic;
  color: #3a3a3a;
  line-height: 1.72;
}

.testimonial-card__author {
  padding-top: 12px;
  border-top: 1px solid rgba(18, 63, 59, 0.08);
}
.testimonial-card__name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--c-primary);
}
.testimonial-card__service {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-top: 2px;
}

/* ── Nota do telemóvel ── */
.hero__info-note {
  display: block;
  font-size: 0.7rem;
  color: rgba(245, 244, 239, 0.6);
  margin-top: 3px;
  font-style: italic;
}


/* ============================================================
   SEÇÃO 9 — AGENDAMENTO
============================================================ */
.booking {
  padding: 64px 40px;
  background: var(--c-surface);
}

.booking__card {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--c-primary);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.booking__photo { min-height: 580px; }
.booking__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking__content {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking__title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  color: var(--c-on-primary);
  line-height: 1.15;
}
.booking__subtitle {
  font-size: 1rem;
  color: rgba(245, 244, 239, 0.65);
  line-height: 1.7;
}

/* Formulário */
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 244, 239, 0.55);
}

.form__input,
.form__select {
  background: rgba(245, 244, 239, 0.08);
  border: 1px solid rgba(245, 244, 239, 0.18);
  border-radius: var(--r-btn);
  padding: 13px 16px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--c-on-primary);
  outline: none;
  transition: border-color var(--ease), background var(--ease);
  width: 100%;
}
.form__input::placeholder { color: rgba(245, 244, 239, 0.35); }
.form__input:focus,
.form__select:focus {
  border-color: var(--c-gold);
  background: rgba(245, 244, 239, 0.12);
}
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23BEA14A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form__select option { background: var(--c-primary); }

.form__submit {
  background: var(--c-gold);
  color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 16px;
  border-radius: var(--r-btn);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--ease);
  margin-top: 8px;
}
.form__submit:hover { background: var(--c-gold-hover); }


/* ============================================================
   SEÇÃO 10 — FOOTER
============================================================ */
.footer {
  background: var(--c-primary);
  color: var(--c-on-primary);
}

.footer__newsletter { border-bottom: 1px solid rgba(245, 244, 239, 0.1); }

.footer__newsletter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer__newsletter-title {
  font-family: var(--f-display);
  font-size: clamp(1.0625rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 520px;
}
.footer__newsletter-title em {
  color: var(--c-gold);
  font-style: normal;
}
.footer__newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.footer__newsletter-input {
  background: rgba(245, 244, 239, 0.08);
  border: 1px solid rgba(245, 244, 239, 0.2);
  border-radius: var(--r-btn);
  padding: 12px 20px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  color: var(--c-on-primary);
  outline: none;
  width: 260px;
  transition: border-color var(--ease);
}
.footer__newsletter-input::placeholder { color: rgba(245, 244, 239, 0.38); }
.footer__newsletter-input:focus { border-color: var(--c-gold); }

.footer__newsletter-btn {
  background: var(--c-gold);
  color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  white-space: nowrap;
}
.footer__newsletter-btn:hover { background: var(--c-gold-hover); }

.footer__main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
}

.footer__brand { display: flex; flex-direction: column; gap: 20px; }

.footer__address {
  font-size: 0.9rem;
  color: rgba(245, 244, 239, 0.9);
  line-height: 1.7;
}

.footer__socials { display: flex; gap: 10px; }

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 244, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), color var(--ease);
}
.footer__social:hover {
  background: var(--c-gold);
  color: var(--c-primary);
}
.footer__social svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__social--wa svg { fill: currentColor; stroke: none; }

.footer__nav-col { display: flex; flex-direction: column; gap: 14px; }

.footer__nav-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 4px;
}
.footer__nav-link {
  font-size: 0.9375rem;
  color: rgba(245, 244, 239, 0.9);
  transition: color var(--ease);
}
.footer__nav-link:hover { color: var(--c-gold); }

.footer__bottom { border-top: 1px solid rgba(245, 244, 239, 0.08); }

.footer__bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(245, 244, 239, 0.75);
  text-align: center;
}

.footer__pontiz {
  font-size: 0.8rem;
  color: rgba(245, 244, 239, 0.75);
  transition: color var(--ease);
}
.footer__pontiz a {
  color: var(--c-gold);
  text-decoration: none;
  transition: opacity var(--ease);
}
.footer__pontiz a:hover { opacity: 0.75; }

.footer__logo img {
  height: 52px;
  width: auto;
}


/* ============================================================
   POPUP DE AGENDAMENTO
============================================================ */
.booking-popup {
  position: fixed;
  inset: 0;
  background: rgba(18, 63, 59, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.booking-popup.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.booking-popup__box {
  background: var(--c-surface);
  border-radius: 20px;
  padding: 52px 40px 44px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
}

.booking-popup__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 63, 59, 0.08);
  color: var(--c-primary);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--ease);
}
.booking-popup__close:hover { background: rgba(18, 63, 59, 0.15); }

.booking-popup__title {
  font-family: var(--f-display);
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.booking-popup__sub {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 36px;
  line-height: 1.5;
}

.booking-popup__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-popup__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 8px;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background var(--ease), transform var(--ease);
}
.booking-popup__btn:hover {
  background: var(--c-primary-mid);
  transform: translateY(-2px);
}

/* ============================================================
   COOKIE BANNER — CLAUDE.md: width:100vw, position:fixed
============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--c-primary);
  border-top: 1px solid rgba(190, 161, 74, 0.35);
  z-index: 200;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: rgba(245, 244, 239, 0.82);
  line-height: 1.6;
  flex: 1;
}

.cookie-banner__link {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--ease);
}
.cookie-banner__link:hover { opacity: 0.75; }

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--r-btn);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.cookie-banner__btn--accept {
  background: var(--c-gold);
  color: var(--c-primary);
  border: none;
}
.cookie-banner__btn--accept:hover { background: var(--c-gold-hover); }

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--c-on-primary);
  border: 1.5px solid rgba(245, 244, 239, 0.35);
}
.cookie-banner__btn--decline:hover {
  border-color: var(--c-on-primary);
}

/* ============================================================
   RESPONSIVO
============================================================ */
/* Tablet: 2 colunas de testimonials */
@media (min-width: 769px) {
  .testimonials__scroll-col--mid { display: block; }
}
/* Desktop: 3 colunas */
@media (min-width: 1025px) {
  .testimonials__scroll-col--last { display: block; }
}

@media (max-width: 1024px) {
  .treatments__body     { grid-template-columns: 1fr; }
  .treatments__photo    { height: 400px; }
  .about__inner         { grid-template-columns: 1fr; gap: 48px; }
  .about__photo-main    { height: 420px; }
  .booking__card        { grid-template-columns: 1fr; }
  .booking__photo       { min-height: 300px; max-height: 300px; }
  .footer__main         { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Nav */
  .nav__inner       { padding: 0 20px; gap: 16px; }
  .nav__links,
  .nav__cta         { display: none; }
  .nav__hamburger   { display: flex; }

  /* Hero */
  .hero                { padding-bottom: 200px; } /* infobar mobile é mais alta */
  .hero__content-wrap  { padding: 0 20px; }
  .hero__title-line    { white-space: normal; }
  .hero__infobar-inner { grid-template-columns: 1fr; padding: 20px; gap: 16px; }

  /* Serviços */
  .services__header { padding: 0 20px; }
  .srv-tabs         { padding: 0 20px; }
  .srv-panels       { padding: 0 20px; }
  .srv-grid--3      { grid-template-columns: 1fr; }
  .srv-grid--2      { grid-template-columns: 1fr; }
  .modal-box        { padding: 32px 24px 28px; }

  /* Equipe */
  .team-member         { grid-template-columns: 1fr; }
  .team-member__photo  { height: 300px; }
  .team-member__content { padding: 28px 24px 32px; }

  /* Depoimentos */
  .testimonials__scroll-col--mid,
  .testimonials__scroll-col--last { display: none; }

  /* Formulário */
  .form__row        { grid-template-columns: 1fr; }

  /* Agendamento */
  .booking          { padding: 40px 20px; }
  .booking__content { padding: 36px 28px 40px; }

  /* Reduz padding vertical das secções no mobile */
  .services, .treatments, .about, .gallery,
  .team, .testimonials     { padding-top: 56px; padding-bottom: 56px; }
  .marquee-section         { padding: 40px 0; }

  /* Cookie banner */
  .cookie-banner__inner   { flex-direction: column; align-items: flex-start; padding: 20px; gap: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn     { flex: 1; text-align: center; }

  /* Footer */
  .footer__newsletter-inner  { flex-direction: column; align-items: flex-start; padding: 32px 20px; }
  .footer__newsletter-form   { flex-direction: column; width: 100%; }
  .footer__newsletter-input  { width: 100%; }
  .footer__main              { grid-template-columns: 1fr; gap: 36px; padding: 40px 20px; }
  .footer__bottom-inner      { padding: 20px; }
}
