/* CECÍRE CLINIC — redesign editorial */

:root {
  --ink: #12100e;
  --ink-soft: #2c2620;
  --stone: #e8e2d8;
  --bone: #f2eee7;
  --paper: #faf7f2;
  --champagne: #b8a080;
  --champagne-deep: #8a7a68;
  --mist: #8a7a68;
  --line: rgba(184, 160, 128, 0.35);
  --whatsapp: #25d366;
  --serif: "Gilda Display", Georgia, serif;
  --sans: "Aileron", "Helvetica Neue", Helvetica, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 5rem;
  --content: 1440px;
  --pad: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
  text-align: left;
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne-deep);
  font-weight: 500;
  margin: 0;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lead {
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 40rem;
  line-height: 1.75;
  text-align: left;
}

/* Nav — original */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}

.nav.is-scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: #e8e2d9;
}

.nav__inner {
  position: relative;
  width: min(var(--content), calc(100% - 3rem));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  transition: color 0.5s ease;
}

.nav.is-scrolled .nav__brand {
  color: #2a2520;
}

.nav__brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.2em;
  line-height: 1.1;
}

.nav__brand-tag {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.5s ease;
}

.nav.is-scrolled .nav__brand-tag {
  color: #8a7a68;
}

.nav__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  padding: 0;
  background: transparent;
  transition: color 0.5s ease;
}

.nav.is-scrolled .nav__cta {
  color: #2a2520;
}

.nav__burger {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: #fff;
  transition: color 0.3s ease;
  z-index: 51;
}

.nav.is-scrolled .nav__burger,
.nav.is-open .nav__burger {
  color: #2a2520;
}

.nav__burger span,
.nav__burger span::before,
.nav__burger span::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s ease;
}

.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__burger span::before {
  top: -6px;
}

.nav__burger span::after {
  top: 6px;
}

.nav.is-open .nav__burger span {
  background: transparent;
}

.nav.is-open .nav__burger span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-open .nav__burger span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #faf7f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer a {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: #2a2520;
  border: 0;
  padding: 0;
  transition: color 0.3s ease;
}

.nav-drawer a:hover {
  color: #b8a080;
}

/* Hero — redesign */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  color: #fff;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-enclosure,
.hero__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-overlay-play-button,
.hero__video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(18vh, 1fr) auto minmax(20vh, 1fr);
}

.hero__top {
  min-height: 0;
}

.hero__band {
  width: 100%;
  min-height: clamp(14rem, 34vh, 22rem);
  padding: clamp(2rem, 5.5vh, 4rem) 1.5rem;
  text-align: center;
  color: #fff;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__brand,
.hero__tag,
.hero__headline,
.hero__text {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__brand {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #fff;
  margin: 0 0 0.35rem;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s ease 0.15s forwards;
}

.hero__tag {
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1s ease 0.25s forwards;
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 0.75rem;
  max-width: 16ch;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s ease 0.35s forwards;
}

.hero__headline em {
  display: block;
  font-style: italic;
  font-weight: 400;
}

.hero__text {
  max-width: 36rem;
  margin: 0;
  font-family: var(--sans);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  line-height: 1.65;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1s ease 0.45s forwards;
}

.hero__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 1s ease 0.6s forwards;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 5rem;
  background: linear-gradient(to top, #faf7f2, transparent);
  pointer-events: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .nav__brand-name {
    font-size: 28px;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__inner {
    width: min(var(--content), calc(100% - 6rem));
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--champagne);
  color: var(--ink);
}

.btn--primary:hover {
  background: #d2b790;
}

.btn--ghost {
  border: 1px solid rgba(247, 242, 234, 0.35);
  color: #f7f2ea;
}

.btn--ghost:hover {
  border-color: #f7f2ea;
  background: rgba(255, 255, 255, 0.06);
}

.btn--dark {
  background: var(--ink);
  color: var(--bone);
}

.btn--dark:hover {
  background: #2a241e;
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section__head {
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
  text-align: left;
  max-width: 40rem;
}

.section__head h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin: 0.65rem 0 0;
  line-height: 1.15;
  max-width: none;
}

.section--stone {
  background:
    radial-gradient(circle at 10% 0%, rgba(196, 168, 130, 0.12), transparent 40%),
    linear-gradient(180deg, var(--bone), var(--stone));
}

.section--ink {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(196, 168, 130, 0.16), transparent 45%),
    var(--ink);
  color: var(--bone);
}

.section--ink .lead {
  color: rgba(242, 238, 231, 0.7);
}

.section--ink .eyebrow {
  color: var(--champagne);
}

/* Purpose */
.purpose {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.purpose__copy h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  max-width: none;
  line-height: 1.15;
  margin: 0.65rem 0 1.25rem;
}

.purpose__grid {
  display: grid;
  gap: 1rem;
}

.purpose__item {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(18, 16, 14, 0.12);
}

.purpose__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.purpose__item p {
  color: var(--mist);
  font-size: 0.98rem;
}

/* Treatments */
.treatments {
  display: grid;
  gap: 1.15rem;
}

.treatment {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.treatment img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  z-index: -2;
}

.treatment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.15), rgba(10, 8, 7, 0.78));
}

.treatment:hover img {
  transform: scale(1.06);
}

.treatment__body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem;
  text-align: left;
}

.treatment__body h3 {
  font-family: var(--serif);
  font-size: 1.85rem;
  margin: 0.3rem 0 0.45rem;
  line-height: 1.15;
}

.treatment__body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  max-width: none;
  line-height: 1.5;
}

/* Protocols */
.protocols {
  display: grid;
  gap: 0.75rem;
}

.protocol {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.protocol__cat {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0;
}

.protocol h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}

.protocol p {
  color: rgba(242, 238, 231, 0.68);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* About */
.about {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about__media {
  position: relative;
  overflow: hidden;
  min-height: 26rem;
  background: #1a1612;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 26rem;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(18, 16, 14, 0.35));
}

.about__copy {
  text-align: left;
}

.about__copy h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin: 0.65rem 0 1rem;
  max-width: none;
  line-height: 1.15;
}

.about__copy p + p {
  margin-top: 1rem;
}

/* Visit / Contact */
.visit {
  display: grid;
  gap: 2rem;
}

.visit__card {
  padding: 1.4rem 0;
  border-top: 1px solid rgba(18, 16, 14, 0.1);
  text-align: left;
}

.visit__card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
  line-height: 1.2;
}

.visit__card p {
  color: var(--mist);
  margin: 0;
  line-height: 1.6;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn--map {
  border: 1px solid rgba(18, 16, 14, 0.2);
  color: var(--ink);
  background: transparent;
}

.btn--map:hover {
  border-color: var(--ink);
  background: rgba(18, 16, 14, 0.04);
}

.visit__map {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: #d9d2c8;
  border: 1px solid rgba(18, 16, 14, 0.08);
}

.visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.02);
}

/* Footer */
.footer {
  background: #0c0a09;
  color: rgba(242, 238, 231, 0.65);
  padding: 2.5rem 0 2rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f4efe7;
  line-height: 1.1;
}

.footer__brand small {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--champagne);
}

.footer a:hover {
  color: var(--champagne);
}

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.float-wa:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

.float-wa svg {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__video,
  .reveal,
  .hero__brand,
  .hero__tag,
  .hero__headline,
  .hero__text,
  .hero__actions {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Breakpoints */
@media (min-width: 768px) {
  .purpose {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 4rem;
  }

  .treatments {
    grid-template-columns: repeat(3, 1fr);
  }

  .treatment {
    min-height: 28rem;
  }

  .protocols {
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
  }

  .about {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }

  .visit {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: stretch;
  }

  .visit__map {
    min-height: 100%;
    min-height: 32rem;
  }
}
