/* ==========================================================================
   Dra. Maravilhosa — estilos (versão premium)
   ========================================================================== */

/* Fontes hospedadas no próprio site (sem depender do Google Fonts) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope.woff2") format("woff2");
}

:root {
  --ivory: #FAF7F2;
  --sand: #F2EBE1;
  --white: #FFFFFF;
  --petrol: #0F3D44;
  --petrol-deep: #0A2A2F;
  --petrol-night: #071E22;
  --ink: #1C2526;
  --muted: #5E6B6C;
  --gold: #B8975A;
  --gold-dark: #94763F;
  --gold-light: #D9C08F;
  --line: rgb(15 61 68 / .14);
  --line-light: rgb(250 247 242 / .16);
  --whatsapp: #25D366;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --shadow-soft: 0 30px 60px -30px rgb(10 42 47 / .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overflow-x: clip;
}

a,
button {
  touch-action: manipulation;
}

.icon {
  flex: none;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--petrol);
  color: var(--ivory);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--gold-light);
  color: var(--petrol-deep);
}

/* --------------------------------------------------------------------------
   Layout base
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgb(184 151 90 / .12), transparent 60%),
    var(--petrol-deep);
  color: var(--ivory);
}

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

.split--reverse .split__media {
  order: 2;
}

.split__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.eyebrow--gold {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--petrol);
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-title--light {
  color: var(--ivory);
}

.section-title--light em {
  color: var(--gold-light);
}

.lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.lead--light {
  color: rgb(250 247 242 / .88);
}

.body--light {
  font-size: 15px;
  line-height: 1.8;
  color: rgb(250 247 242 / .68);
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.btn .icon {
  font-size: 17px;
}

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

.btn:active {
  transform: scale(.97);
}

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

.btn--primary {
  background: var(--petrol);
  color: var(--ivory);
  box-shadow: 0 14px 30px -14px rgb(15 61 68 / .6);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--petrol-deep);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--petrol-night);
  box-shadow: 0 14px 30px -14px rgb(184 151 90 / .7);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: linear-gradient(135deg, #E4CFA3, var(--gold-light));
}

.btn--ghost,
.btn--outline {
  border-color: var(--line);
  color: var(--petrol);
  background: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible,
.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--petrol);
}

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}

.header.is-scrolled {
  --header-h: 70px;
  height: 70px;
}

/* O fundo translúcido fica numa camada própria: backdrop-filter no próprio
   cabeçalho prenderia o menu mobile (position: fixed) dentro dele. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(250 247 242 / .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.header.is-scrolled::before {
  opacity: 1;
}

.header__inner {
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--petrol);
  letter-spacing: .01em;
}

.brand__tag {
  margin-top: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--petrol);
}

.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}

.nav a:not(.nav__cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--petrol);
  color: var(--ivory) !important;
  transition: background-color .3s var(--ease);
}

.nav__cta:hover {
  background: var(--petrol-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--petrol);
  transition: transform .35s var(--ease), top .35s var(--ease);
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child  { top: 26px; }

.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child  { top: 21px; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 110px;
  background:
    radial-gradient(900px 520px at 90% 10%, rgb(184 151 90 / .14), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgb(15 61 68 / .06), transparent 70%),
    var(--ivory);
  overflow: hidden;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: center;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(46px, 6.2vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--petrol);
}

.hero__title em {
  font-style: italic;
  color: var(--gold-dark);
}

.hero__lead {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}

.hero__lead strong {
  color: var(--petrol);
  font-weight: 700;
  letter-spacing: .04em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__pillars {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  margin-top: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.hero__pillars li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__pillars strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--petrol);
  line-height: 1.1;
}

.hero__pillars span {
  font-size: 13px;
  color: var(--muted);
}

.hero__media {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}

.arch {
  position: relative;
  aspect-ratio: 20 / 23;
  border-radius: 240px 240px 16px 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 1px solid var(--gold);
  border-radius: 240px 240px 16px 16px;
  z-index: -1;
}

.hero__badge {
  position: absolute;
  left: -48px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgb(10 42 47 / .35);
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.hero__badge strong {
  display: block;
  font-size: 14px;
  color: var(--petrol);
}

.hero__badge-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--petrol-night);
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   Faixa de tratamentos (marquee)
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  padding: 26px 0;
  background: var(--petrol);
  border-block: 1px solid rgb(184 151 90 / .3);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  color: var(--ivory);
  white-space: nowrap;
}

.marquee span::after {
  content: "✦";
  margin: 0 36px;
  font-size: 12px;
  font-style: normal;
  color: var(--gold);
}

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

/* --------------------------------------------------------------------------
   Imagens com moldura
   -------------------------------------------------------------------------- */

.frame {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
}

.frame--gold::before {
  inset: -22px 22px 22px -22px;
  border-color: rgb(217 192 143 / .5);
}

/* --------------------------------------------------------------------------
   Endolaser — passos e lista
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
  padding: 28px 0;
  border-block: 1px solid var(--line);
}

.step {
  display: flex;
  gap: 16px;
}

.step__num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  line-height: .9;
  color: var(--gold);
}

.step h3 {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--petrol);
}

.step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

.tick-list {
  display: grid;
  gap: 14px;
}

.tick-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--ink);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.tick-list--light li {
  color: rgb(250 247 242 / .9);
}

.tick-list--light li::before {
  background: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Resultados — abas e carrossel
   -------------------------------------------------------------------------- */

.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 48px;
  padding: 6px;
  border-radius: 999px;
  background: var(--ivory);
  box-shadow: inset 0 0 0 1px var(--line);
}

.tabs__btn {
  min-height: 44px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.tabs__btn.is-active {
  background: var(--petrol);
  color: var(--ivory);
}

.disclaimer {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  will-change: transform;
  touch-action: pan-y;
}

.carousel__track.is-animating {
  transition: transform .7s var(--ease);
}

.carousel__slide {
  flex: 0 0 auto;
}

.carousel__slide img {
  width: 100%;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-drag: none;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}

.carousel__arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--petrol);
  font-size: 16px;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.carousel__arrow:hover {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--ivory);
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Botão com área de toque de 32px; a "linha" visível é o ::before */
.carousel__dot {
  position: relative;
  width: 24px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width .4s var(--ease);
}

.carousel__dot::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 2px;
  background: var(--line);
  transition: background-color .4s var(--ease);
}

.carousel__dot.is-active {
  width: 46px;
}

.carousel__dot.is-active::before {
  background: var(--gold);
}

.carousel__controls--light .carousel__arrow {
  border-color: var(--line-light);
  color: var(--ivory);
}

.carousel__controls--light .carousel__arrow:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--petrol-night);
}

.carousel__controls--light .carousel__dot::before {
  background: var(--line-light);
}

.carousel__controls--light .carousel__dot.is-active::before {
  background: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Tratamentos
   -------------------------------------------------------------------------- */

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

.treatment {
  position: relative;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}

@media (hover: hover) {
  .treatment:hover {
    transform: translateY(-6px);
    border-color: rgb(184 151 90 / .5);
    box-shadow: var(--shadow-soft);
  }
}

.treatment__num {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--gold);
}

.treatment h3 {
  margin: 8px 0 26px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: var(--petrol);
}

.treatment li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   A experiência
   -------------------------------------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
  margin-top: 8px;
}

.feature .icon {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
  color: var(--gold);
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--petrol);
}

.feature p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Depoimentos
   -------------------------------------------------------------------------- */

.carousel--testimonials .carousel__track {
  align-items: stretch;
}

.quote-card {
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  padding: 28px;
  border: 1px solid rgb(217 192 143 / .22);
  border-radius: var(--radius);
  background: #000;
}

.quote-card img {
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Instagram
   -------------------------------------------------------------------------- */

.instagram__handle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-dark);
}

.instagram__handle .icon {
  font-size: 20px;
}

.instagram__feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: center;
}

.instagram__feed img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .6s var(--ease);
}

.instagram__feed img:nth-child(2) {
  transform: translateY(-28px);
}

@media (hover: hover) {
  .instagram__feed:hover img {
    transform: scale(1.03);
  }

  .instagram__feed:hover img:nth-child(2) {
    transform: translateY(-28px) scale(1.03);
  }
}

/* --------------------------------------------------------------------------
   Chamada final
   -------------------------------------------------------------------------- */

.final-cta {
  position: relative;
  padding: 130px 0;
  background:
    radial-gradient(700px 400px at 50% 120%, rgb(184 151 90 / .22), transparent 70%),
    var(--petrol);
  color: var(--ivory);
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 640px;
  height: 640px;
  border: 1px solid rgb(217 192 143 / .18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.final-cta__inner {
  position: relative;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.final-cta__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.06;
}

.final-cta__title em {
  font-style: italic;
  color: var(--gold-light);
}

.final-cta__text {
  max-width: 520px;
  font-size: 17px;
  color: rgb(250 247 242 / .78);
}

/* --------------------------------------------------------------------------
   Localização
   -------------------------------------------------------------------------- */

.location__address {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
}

.location__address .icon {
  margin-top: 4px;
  font-size: 22px;
  color: var(--gold);
}

.location__address strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--petrol);
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.location__map {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px var(--line);
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.footer {
  background: var(--petrol-night);
  color: rgb(250 247 242 / .7);
  font-size: 14px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer .brand__name {
  color: var(--ivory);
}

.footer__brand p {
  max-width: 340px;
  margin-top: 14px;
  line-height: 1.7;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  text-decoration: none;
  transition: color .3s var(--ease);
}

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

.footer__links a,
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}

.footer__contact .icon {
  font-size: 18px;
  color: var(--gold);
}

.footer__bottom {
  padding: 24px 32px;
  border-top: 1px solid rgb(250 247 242 / .08);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgb(250 247 242 / .45);
}

/* --------------------------------------------------------------------------
   WhatsApp flutuante
   -------------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgb(0 0 0 / .4);
  transition: transform .3s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Barra fixa de agendamento (só no celular)
   -------------------------------------------------------------------------- */

.mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: none;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(250 247 242 / .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgb(10 42 47 / .35);
    transform: translateY(110%);
    transition: transform .45s var(--ease);
  }

  .mobile-bar.is-visible {
    transform: none;
  }

  .menu-open .mobile-bar {
    transform: translateY(110%);
  }

  .mobile-bar__cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: 999px;
    background: var(--petrol);
    color: var(--ivory);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .mobile-bar__cta .icon {
    font-size: 20px;
    color: var(--whatsapp);
  }

  .mobile-bar__ig {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--petrol);
    font-size: 21px;
  }

  .mobile-bar a:active {
    transform: scale(.97);
  }

  /* Espaço para a barra não cobrir o fim do rodapé */
  .footer__bottom {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

/* --------------------------------------------------------------------------
   Animação de entrada
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Tablet (até 1024px)
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 11.5px;
    letter-spacing: .1em;
  }
}

@media (max-width: 1024px) {

  .split {
    gap: 56px;
  }

  .treatments {
    grid-template-columns: 1fr 1fr;
  }

  .hero__badge {
    left: -16px;
  }
}

/* --------------------------------------------------------------------------
   Menu mobile e layout em coluna (até 900px)
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .menu-toggle,
  .brand {
    position: relative;
    z-index: 2;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--ivory);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }

  .nav {
    gap: 6px;
    padding: calc(var(--header-h) + 16px) 24px calc(24px + env(safe-area-inset-bottom));
  }

  /* Links grandes, fáceis de tocar com o polegar */
  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 16px;
    font-size: 16px;
  }

  .nav a:not(.nav__cta)::after {
    display: none;
  }

  .nav__cta {
    margin-top: 18px;
    width: 100%;
    max-width: 320px;
  }

  .menu-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .menu-open {
    overflow: hidden;
  }

  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .hero__media {
    max-width: 380px;
  }

  .section {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 48px;
  }
}

/* --------------------------------------------------------------------------
   Celular (até 600px)
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
  :root {
    --header-h: 70px;
  }

  .container,
  .hero__inner,
  .header__inner {
    padding: 0 20px;
  }

  .brand__name {
    font-size: 23px;
  }

  /* Texto de 8px seria ilegível no celular */
  .brand__tag {
    display: none;
  }

  .hero {
    padding: calc(var(--header-h) + 40px) 0 80px;
  }

  .hero__inner {
    gap: 56px;
  }

  .hero__lead,
  .lead {
    font-size: 16px;
  }

  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }

  /* Diferenciais em linhas: mais legível que 3 colunas espremidas */
  .hero__pillars {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 4px;
    padding-top: 0;
  }

  .hero__pillars li {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__pillars strong {
    font-size: 20px;
  }

  .hero__pillars span {
    font-size: 14px;
    text-align: right;
  }

  .eyebrow {
    font-size: 11.5px;
    letter-spacing: .22em;
  }

  .tabs {
    width: 100%;
  }

  .carousel__arrow {
    width: 46px;
    height: 46px;
  }

  .carousel__controls {
    gap: 16px;
    margin-top: 24px;
  }

  .quote-card {
    min-height: 180px;
    padding: 18px;
  }

  .tick-list li,
  .treatment li {
    font-size: 16px;
  }

  .hero__media {
    max-width: 300px;
  }

  .hero__badge {
    left: -12px;
    bottom: 24px;
    padding: 12px 16px 12px 12px;
  }

  .marquee span {
    font-size: 21px;
  }

  .section {
    padding: 72px 0;
  }

  .frame {
    max-width: 320px;
  }

  .frame::before {
    inset: 14px -14px -14px 14px;
  }

  .frame--gold::before {
    inset: -14px 14px 14px -14px;
  }

  .steps,
  .features,
  .treatments {
    grid-template-columns: 1fr;
  }

  .treatment {
    padding: 36px 28px;
  }

  .tabs__btn {
    flex: 1;
    padding: 11px 10px;
    font-size: 11.5px;
    letter-spacing: .08em;
  }

  .btn {
    padding: 17px 26px;
    white-space: normal;
    text-align: center;
  }

  .instagram__feed {
    padding-top: 28px;
  }

  .final-cta {
    padding: 96px 0;
  }

  .location__actions,
  .location__actions .btn {
    width: 100%;
  }

  .location__map {
    aspect-ratio: 1 / 1;
  }

  .final-cta::before {
    width: 420px;
    height: 420px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 56px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
}
