/* Casa Solène Beauty Studio */

@font-face { font-family: "The Seasons"; src: url("/assets/fonts/the-seasons-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("/assets/fonts/the-seasons-light-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("/assets/fonts/the-seasons-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("/assets/fonts/the-seasons-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("/assets/fonts/the-seasons-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --marfim: #F6F1E7;
  --areia: #EBDFC9;
  --nude: #DCC6B4;
  --perola: #E5E0D9;
  --dourado: #D8B56D;
  --dourado-claro: #E6D3A8;
  --dourado-escuro: #9E7B3A;
  --preto: #1A1816;
  --texto: #3A342E;
  --texto-suave: #6B6157;

  --serif: "The Seasons", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --header-h: 108px;
  --header-h-small: 76px;

  /* Moldura-casa do manual: 100 x 125, telhado de 36° ocupa 29,2% da altura */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-slow: cubic-bezier(.65, 0, .35, 1);

  --casa: polygon(0 29.2%, 50% 0, 100% 29.2%, 100% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--marfim);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; }

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

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--preto); color: var(--marfim); padding: 10px 16px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

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

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--preto);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}
.display { font-size: clamp(2.75rem, 7vw, 6rem); }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.2; }
p { margin: 0 0 1.1em; max-width: 62ch; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; color: var(--texto); }
.muted { color: var(--texto-suave); }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 300; }

/* Fio com losango (elemento de apoio do manual) */
.fio {
  display: flex; align-items: center; gap: 10px;
  width: 120px; margin: 0 0 28px; color: var(--dourado-escuro);
}
.fio::before, .fio::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .7; }
.fio span { width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
.fio--center { margin-inline: auto; }
.on-dark .fio { color: var(--dourado); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  background: var(--preto); color: var(--marfim);
  font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; border: 1px solid var(--preto); border-radius: 0;
  position: relative; isolation: isolate; overflow: hidden;
  transition: color .6s var(--ease), border-color .6s var(--ease);
  cursor: pointer;
  --sweep: var(--dourado-escuro);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sweep);
  transform: scaleX(0); transform-origin: right center; transition: transform .7s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { border-color: var(--sweep); }
.btn--gold { background: var(--dourado); border-color: var(--dourado); color: var(--preto); --sweep: var(--marfim); }
.btn--ghost { background: transparent; color: var(--preto); --sweep: var(--preto); }
.btn--ghost:hover { color: var(--marfim); }
.btn--ghost-light { background: transparent; color: var(--marfim); border-color: rgba(246, 241, 231, .6); --sweep: var(--marfim); }
.btn--ghost-light:hover { color: var(--preto); }
.btn--small { min-height: 42px; padding: 0 20px; font-size: .8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.link {
  font-weight: 500; font-size: .9rem; color: var(--preto);
  text-decoration: underline; text-decoration-color: var(--dourado);
  text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.link:hover { color: var(--dourado-escuro); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .96);
  border-bottom: 1px solid rgba(158, 123, 58, .18);
  transition: background-color .35s ease, border-color .35s ease;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h);
  transition: height .6s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: var(--header-h-small); }
.site-header__logo { display: block; flex: none; position: relative; z-index: 2; }
.site-header__logo img { width: 240px; height: auto; transition: width .6s var(--ease); }
.site-header.is-scrolled .site-header__logo img { width: 168px; }
.logo-light { display: none !important; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  font-size: .875rem; font-weight: 500; letter-spacing: .03em; text-decoration: none; color: var(--preto);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--dourado); }

/* Na home, o header começa transparente sobre o carrossel */
.has-hero .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; border-bottom-color: transparent; }
.has-hero .site-header .logo-light { display: block !important; }
.has-hero .site-header .logo-dark { display: none !important; }
.has-hero .site-header .site-nav ul a { color: var(--marfim); }
.has-hero .site-header .site-nav__cta { background: transparent; border-color: rgba(246, 241, 231, .7); color: var(--marfim); }
.has-hero .site-header .menu-toggle { color: var(--marfim); }

.has-hero .site-header.is-solid { background: rgba(246, 241, 231, .97); border-bottom-color: rgba(158, 123, 58, .18); }
.has-hero .site-header.is-solid .logo-light { display: none !important; }
.has-hero .site-header.is-solid .logo-dark { display: block !important; }
.has-hero .site-header.is-solid .site-nav ul a { color: var(--preto); }
.has-hero .site-header.is-solid .site-nav__cta { background: var(--preto); border-color: var(--preto); color: var(--marfim); }
.has-hero .site-header.is-solid .menu-toggle { color: var(--preto); }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--preto); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; content: "";
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before { left: 0; top: -7px; }
.menu-toggle__bars::after { left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 84px; --header-h-small: 66px; }
  .site-header__logo img { width: 190px; }
  .site-header.is-scrolled .site-header__logo img { width: 145px; }
  .menu-toggle { display: block; z-index: 2; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: var(--header-h) var(--gutter) 40px;
    background: var(--marfim);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav ul a, .has-hero .site-header .site-nav ul a {
    font-family: var(--serif); font-weight: 300; font-size: 2.4rem; letter-spacing: 0; color: var(--preto);
  }
  .has-hero .site-header .site-nav__cta { background: var(--preto); border-color: var(--preto); color: var(--marfim); }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open .site-header .menu-toggle { color: var(--preto); }
  .menu-open .site-header .logo-light { display: none !important; }
  .menu-open .site-header .logo-dark { display: block !important; position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }
}

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

.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: var(--preto); color: var(--marfim);
}
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.4s ease, visibility 1.4s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; transform: scale(1.06); transition: transform 7.5s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(26, 24, 22, .45) 0%, rgba(26, 24, 22, 0) 22%),
    linear-gradient(90deg, rgba(26, 24, 22, .62) 0%, rgba(26, 24, 22, .3) 38%, rgba(26, 24, 22, 0) 62%),
    linear-gradient(0deg, rgba(26, 24, 22, .7) 0%, rgba(26, 24, 22, .12) 45%, rgba(26, 24, 22, 0) 70%);
}
.hero__content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(88px, 13vh, 140px);
  max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
}
.hero__title {
  font-family: var(--serif); font-weight: 300; color: var(--marfim);
  font-size: clamp(2.6rem, 6.4vw, 6.2rem); line-height: 1.02; max-width: 13ch; margin: 0 0 22px;
}
.hero__text { font-size: clamp(1rem, 1.3vw, 1.125rem); max-width: 44ch; color: rgba(246, 241, 231, .88); margin-bottom: 30px; }
.hero__controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px;
  max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.hero__dots { display: flex; gap: 10px; }
.hero__dot {
  width: 44px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; position: relative;
}
.hero__dot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(246, 241, 231, .4);
}
.hero__dot::after {
  content: ""; position: absolute; left: 0; top: 50%; height: 1px; width: 0; background: var(--dourado);
}
.hero__dot.is-active::after { width: 100%; transition: width var(--slide-ms, 6500ms) linear; }
.hero.is-paused .hero__dot.is-active::after { width: 100%; transition: none; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrow {
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--marfim); border: 1px solid rgba(246, 241, 231, .45);
  transition: background-color .25s ease, color .25s ease;
}
.hero__arrow:hover { background: var(--marfim); color: var(--preto); }
.hero__count { font-size: .8rem; letter-spacing: .08em; color: rgba(246, 241, 231, .75); margin-right: 14px; }

@media (max-width: 640px) {
  .hero::after { background: linear-gradient(180deg, rgba(26, 24, 22, .45) 0%, rgba(26, 24, 22, 0) 20%), linear-gradient(0deg, rgba(26, 24, 22, .85) 0%, rgba(26, 24, 22, .35) 50%, rgba(26, 24, 22, 0) 75%); }
  .hero__content { bottom: 96px; }
  .hero__arrows { display: none; }
  .hero__dot { width: 34px; }
}

/* ---------- Seções ---------- */

.section { padding-block: clamp(80px, 11vw, 150px); }
.section--areia { background: var(--areia); }
.section--perola { background: var(--perola); }
.section--dark { background: var(--preto); color: rgba(246, 241, 231, .82); }
.section--dark h2, .section--dark h3 { color: var(--marfim); }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }

.page-head { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-head h1 { max-width: 15ch; }
.page-head .lead { margin-top: 28px; }

/* Moldura-casa: recorte das fotos no formato do símbolo */
.casa {
  aspect-ratio: 100 / 125; clip-path: var(--casa); overflow: hidden; margin: 0; background: var(--nude);
}
.casa img { width: 100%; height: 100%; object-fit: cover; }

/* Faixas 36° (elemento de apoio do manual) */
.faixas {
  background-image: repeating-linear-gradient(-54deg, var(--dourado) 0 3px, transparent 3px 9.6px);
}

/* Bloco de texto + imagem */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px); align-items: center;
}
.split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split__media { position: relative; }
.split__media .casa { max-width: 480px; margin-inline: auto; }
.split__media .faixas {
  position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; right: -4%; bottom: -6%; opacity: .55;
}
.split__media--left .faixas { right: auto; left: -4%; }
.split__body h2 { margin-bottom: 28px; max-width: 16ch; }
@media (max-width: 860px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__media .casa { max-width: 380px; }
}

/* Introdução da home */
.intro { text-align: center; }
.intro p.statement {
  font-family: var(--serif); font-weight: 300; color: var(--preto);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.28; max-width: 30ch; margin: 0 auto;
}
.intro p { margin-inline: auto; }
.intro__sign { margin-top: 36px; font-size: .9rem; color: var(--texto-suave); }

/* Três frentes da casa */
.frentes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 64px; }
.frente { text-decoration: none; display: block; }
.frente .casa { margin-bottom: 28px; transition: filter .4s ease; }
.frente:hover .casa { filter: brightness(1.05) saturate(1.05); }
.frente h3 { margin-bottom: 12px; }
.frente p { color: var(--texto-suave); font-size: .95rem; }
.frente .link { display: inline-block; margin-top: 4px; }
@media (max-width: 860px) {
  .frentes { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head h2 { max-width: 18ch; }
.section-head p { margin: 0; max-width: 46ch; color: var(--texto-suave); }

/* Faixa de noivas em tela cheia */
.bride-band { position: relative; min-height: 88vh; display: flex; align-items: flex-end; color: var(--marfim); overflow: hidden; }
.bride-band > picture { position: absolute; inset: -2% 0 -14% 0; }
.bride-band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bride-band > picture img { object-fit: cover; object-position: center 0%; }
.bride-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26, 24, 22, .78) 0%, rgba(26, 24, 22, .35) 50%, rgba(26, 24, 22, 0) 80%);
}
.bride-band__content { position: relative; z-index: 1; padding-block: clamp(80px, 10vw, 140px); }
.bride-band h2 { color: var(--marfim); max-width: 14ch; margin-bottom: 24px; }
.bride-band p { color: rgba(246, 241, 231, .85); max-width: 44ch; }

/* Instagram em destaque */
.insta { text-align: center; }
.insta p { margin-inline: auto; }
.insta__handle {
  display: inline-block; font-family: var(--serif); font-weight: 300; color: var(--preto); text-decoration: none;
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.05; margin: 8px 0 18px; word-break: break-word;
}
.insta__handle:hover { color: var(--dourado-escuro); }
.insta__grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 56px;
}
.insta__grid a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nude); }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; }
.insta__grid a:hover img { transform: scale(1.04); }
.insta__grid a:nth-child(even) { transform: translateY(28px); }
.insta__accounts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 76px; }
@media (max-width: 860px) {
  .insta__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .insta__grid a:nth-child(even) { transform: none; }
  .insta__accounts { margin-top: 40px; }
}

/* Chamada final */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; margin-bottom: 22px; }
.cta p { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Serviços ---------- */

.subnav { position: sticky; top: var(--header-h-small); z-index: 20; background: var(--marfim); border-block: 1px solid rgba(158, 123, 58, .18); }
.subnav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 0; white-space: nowrap; font-size: .85rem; font-weight: 500; text-decoration: none; color: var(--texto-suave); }
.subnav a:hover { color: var(--preto); }

.service { scroll-margin-top: calc(var(--header-h-small) + 56px); }
.service-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(158, 123, 58, .3); }
.service-list li { padding: 18px 0; border-bottom: 1px solid rgba(158, 123, 58, .3); }
.service-list strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--preto); line-height: 1.3; }
.service-list span { display: block; font-size: .92rem; color: var(--texto-suave); margin-top: 4px; }
.section--dark .service-list, .section--dark .service-list li { border-color: rgba(216, 181, 109, .28); }
.section--dark .service-list strong { color: var(--marfim); }
.section--dark .service-list span { color: rgba(246, 241, 231, .65); }

.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); margin-top: 56px; }
.columns h3 { margin-bottom: 4px; }
@media (max-width: 860px) { .columns { grid-template-columns: 1fr; } }


.note { border-left: 2px solid var(--dourado); padding: 4px 0 4px 22px; margin-top: 32px; color: var(--texto-suave); }

/* ---------- Noivas ---------- */

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.gallery figure { margin: 0; overflow: hidden; background: var(--nude); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-a { grid-column: span 5; grid-row: span 2; }
.gallery .g-b { grid-column: span 4; }
.gallery .g-c { grid-column: span 3; }
.gallery .g-d { grid-column: span 3; }
.gallery .g-e { grid-column: span 4; }
.gallery figure { aspect-ratio: 4 / 5; }
.gallery .g-a { aspect-ratio: auto; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .g-a, .gallery .g-b, .gallery .g-c, .gallery .g-d, .gallery .g-e { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 5; }
  .gallery .g-a { grid-column: span 2; }
}

.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 28ch; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.3; color: var(--preto); }

/* ---------- A Casa ---------- */

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); margin-top: 56px; }
.values h3 { margin-bottom: 10px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */

.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--serif); font-size: 1.35rem; color: var(--preto); margin-top: 28px; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 6px 0 0; color: var(--texto-suave); }
.contact-info dd a { color: var(--preto); text-decoration-color: var(--dourado); text-underline-offset: 4px; }

.form { display: grid; gap: 20px; background: var(--areia); padding: clamp(28px, 4vw, 48px); }
.form h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form label { display: block; font-size: .85rem; font-weight: 500; color: var(--preto); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid rgba(26, 24, 22, .22); border-radius: 0;
  background: var(--marfim); color: var(--preto); font: inherit; font-size: 1rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--dourado-escuro); outline-offset: 0; border-color: transparent; }
.form input, .form select { height: 54px; padding-block: 0; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  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' fill='none' stroke='%239E7B3A' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.form textarea { min-height: 120px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form small { color: var(--texto-suave); font-size: .82rem; }
.form .btn { width: 100%; }

.map { margin-top: 0; aspect-ratio: 16 / 7; width: 100%; border: 0; display: block; filter: grayscale(.6) sepia(.15); }
@media (max-width: 760px) { .map { aspect-ratio: 4 / 5; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--preto); color: rgba(246, 241, 231, .72); font-size: .92rem; padding-top: clamp(64px, 8vw, 110px); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .8fr; gap: 48px; }
.site-footer__brand img { width: 170px; margin-bottom: 24px; }
.site-footer__brand p { max-width: 34ch; }
.site-footer__title { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--dourado); margin-bottom: 18px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--dourado); }
.site-footer__base { margin-top: 64px; padding-block: 28px; border-top: 1px solid rgba(216, 181, 109, .2); font-size: .8rem; }
.site-footer__base p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Assinatura Nosso Studio (mesmo padrão dos outros sites: faixa na cor da marca) */
.assinatura { background: var(--dourado-escuro, #9E7B3A); border-top: 1px solid rgba(246, 241, 231, .25); padding: 32px 20px; text-align: center; color: rgba(246, 241, 231, .9); font-size: .875rem; }
.assinatura p { margin: 0 auto 16px; max-width: none; }
.assinatura strong { color: #fff; font-weight: 700; }
.assinatura a { display: inline-block; transition: transform .3s; }
.assinatura a:hover { transform: scale(1.05); }
.assinatura img { display: block; height: 40px; width: auto; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--preto); color: var(--dourado); border: 1px solid var(--dourado);
  border-radius: 50%; box-shadow: 0 8px 24px rgba(26, 24, 22, .25);
  transition: background-color .25s ease, color .25s ease;
}
.wa-float:hover { background: var(--dourado); color: var(--preto); }
.menu-open .wa-float { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__slide img { transform: none !important; }
}

/* =========================================================
   Formatos de imagem além da moldura-casa
   ========================================================= */

/* Moldura deslocada: fio dourado atrás da foto */
.frame-offset { position: relative; margin: 0; z-index: 0; }
.frame-offset::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--dourado); transform: translate(22px, 22px);
}
.frame-offset--left::after { transform: translate(-22px, 22px); }
.frame-offset .media { aspect-ratio: 3 / 4; }

/* Moldura interna: fio dourado por dentro da foto */
.frame-inset { position: relative; margin: 0; }
.frame-inset::after {
  content: ""; position: absolute; inset: 16px; border: 1px solid rgba(246, 241, 231, .75); pointer-events: none;
}
.frame-inset .media { aspect-ratio: 3 / 4; }

.media { overflow: hidden; background: var(--nude); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.caption { margin-top: 18px; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.05rem; color: var(--texto-suave); }

/* Mosaico da fachada (A Casa) */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.mosaic__main { grid-column: 1 / span 7; }
.mosaic__main .media { aspect-ratio: 4 / 5; }
.mosaic__side { grid-column: 8 / span 5; display: grid; gap: clamp(16px, 2.4vw, 32px); padding-top: clamp(40px, 8vw, 120px); }
.mosaic__side figure { margin: 0; }
.mosaic__side .media { aspect-ratio: 10 / 7; }
.mosaic__side figure:last-child { width: 78%; justify-self: end; }
.mosaic__note { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; color: var(--preto); max-width: 18ch; margin: 8px 0; }
@media (max-width: 760px) {
  .mosaic__main, .mosaic__side { grid-column: 1 / -1; }
  .mosaic__side { padding-top: 12px; }
}

/* Dupla sobreposta (Serviços / Beleza) */
.duo { position: relative; padding-bottom: 18%; }
.duo__main { margin: 0 0 0 14%; }
.duo__main .media { aspect-ratio: 4 / 5; }
.duo__small { position: absolute; left: 0; bottom: 0; width: 46%; margin: 0; border: 10px solid var(--marfim); }
.duo__small .media { aspect-ratio: 3 / 4; }

/* Imagem sangrada até a borda (Serviços / Noivas) */
.bleed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.bleed__media { position: relative; min-height: 640px; overflow: hidden; }
.bleed__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bleed__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 9vw, 140px) var(--gutter) clamp(64px, 9vw, 140px) clamp(40px, 7vw, 120px); max-width: 680px; }
.bleed__body h2 { margin-bottom: 28px; }
@media (max-width: 860px) {
  .bleed { grid-template-columns: 1fr; }
  .bleed__media { min-height: 0; aspect-ratio: 4 / 5; }
  .bleed__body { padding-inline: var(--gutter); }
}

/* Cinemascope (Serviços / Studio) */
.cinema-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.cinema-head h2 { max-width: 12ch; }
.cinema { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #2a2622; }
.cinema__inner { position: absolute; inset: -12% 0; }
.cinema img { width: 100%; height: 100%; object-fit: cover; }
.cinema::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(216, 181, 109, .55); pointer-events: none; }
@media (max-width: 860px) {
  .cinema-head { grid-template-columns: 1fr; }
  .cinema { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Noivas: etapas da preparação
   ========================================================= */

.etapas-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.etapas-head h2 { max-width: 14ch; }
.etapas-head p { margin: 0; color: rgba(246, 241, 231, .7); }
.etapas { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; }
.etapa {
  position: relative; display: grid; align-items: center;
  grid-template-columns: clamp(90px, 11vw, 160px) minmax(0, .9fr) minmax(0, 1.2fr) clamp(120px, 13vw, 190px);
  gap: clamp(20px, 3.5vw, 56px); padding-block: clamp(28px, 3.5vw, 44px);
}
.etapa::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(216, 181, 109, .35);
  transform-origin: left; transition: transform 1.6s var(--ease-slow);
}
.etapa:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(216, 181, 109, .35); }
.etapa__num {
  font-family: var(--serif); font-weight: 300; font-style: normal; line-height: .9;
  font-size: clamp(3.6rem, 7vw, 6.4rem); color: var(--dourado); letter-spacing: -.02em;
  font-variant-numeric: lining-nums;
}
.etapa h3 { color: var(--marfim); font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.etapa p { margin: 0; color: rgba(246, 241, 231, .78); font-size: .97rem; }
.etapa__quando { display: block; margin-top: 14px; font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--dourado); }
.etapa__foto { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #2a2622; }
.etapa__foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.6s var(--ease), filter .8s ease, clip-path 1.6s var(--ease-slow); }
.etapa:hover .etapa__foto img { transform: scale(1.06); filter: saturate(1); }
@media (max-width: 860px) {
  .etapas-head { grid-template-columns: 1fr; }
  .etapa { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "num foto" "titulo titulo" "texto texto"; row-gap: 18px; }
  .etapa__num { grid-area: num; }
  .etapa h3 { grid-area: titulo; }
  .etapa > div { grid-area: texto; }
  .etapa__foto { grid-area: foto; width: 110px; justify-self: end; }
}

/* animação das etapas */
.js .etapa::before { transform: scaleX(0); }
.js .etapa.is-in::before { transform: scaleX(1); }
.js .etapa__num { clip-path: inset(0 0 100% 0); transform: translateY(30%); transition: clip-path 1.4s var(--ease) .2s, transform 1.4s var(--ease) .2s; }
.js .etapa.is-in .etapa__num { clip-path: inset(0 0 0 0); transform: none; }
.js .etapa h3, .js .etapa > div { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .etapa h3 { transition-delay: .35s; }
.js .etapa > div { transition-delay: .5s; }
.js .etapa.is-in h3, .js .etapa.is-in > div { opacity: 1; transform: none; }

/* =========================================================
   Animações
   ========================================================= */

/* Transição entre páginas: véu marfim */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background: var(--marfim); opacity: 1; transition: opacity .8s var(--ease-slow);
}
body.is-loaded::after { opacity: 0; }
body.is-leaving::after { opacity: 1; transition-duration: .45s; }
html:not(.js) body::after { display: none; }

/* Textos que sobem com suavidade */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Títulos palavra por palavra, saindo de uma máscara */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.word > span { display: inline-block; transform: translateY(110%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--w, 0) * 70ms + var(--d, 0) * 1ms); }
.is-in .word > span, .is-in.word > span { transform: none; }

/* Imagens: cortina de baixo para cima com leve recuo do zoom */
.js [data-reveal-img] img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.6s var(--ease-slow), transform 2.4s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal-img].is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .frame-offset[data-reveal-img]::after { opacity: 0; transform: translate(0, 0); transition: opacity 1s ease .7s, transform 1.4s var(--ease) .7s; }
.js .frame-offset[data-reveal-img].is-in::after { opacity: 1; transform: translate(22px, 22px); }
.js .frame-offset--left[data-reveal-img].is-in::after { transform: translate(-22px, 22px); }
.js .frame-inset[data-reveal-img]::after, .js .cinema[data-reveal-img]::after { opacity: 0; transform: scale(1.04); transition: opacity 1s ease 1s, transform 1.4s var(--ease) 1s; }
.js .frame-inset[data-reveal-img].is-in::after, .js .cinema[data-reveal-img].is-in::after { opacity: 1; transform: none; }

/* Fio com losango se desenha a partir do centro */
.js .fio::before, .js .fio::after { transform: scaleX(0); transition: transform 1.2s var(--ease) .15s; }
.js .fio::before { transform-origin: right; }
.js .fio::after { transform-origin: left; }
.js .fio span { transform: rotate(45deg) scale(0); transition: transform .8s var(--ease); }
.js .fio.is-in::before, .js .fio.is-in::after { transform: scaleX(1); }
.js .fio.is-in span { transform: rotate(225deg) scale(1); }

/* Faixas 36° deslizam para dentro */
.js .faixas { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease-slow) .5s; }
.js .is-in .faixas, .js .faixas.is-in { clip-path: inset(0 0 0 0); }

/* Hero: entrada orquestrada */
.js .hero__title .word > span { transition-duration: 1.5s; }
.js .hero__text, .js .hero .btn-row, .js .hero__controls { opacity: 0; transform: translateY(20px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js .hero.is-in .hero__text { opacity: 1; transform: none; transition-delay: .7s; }
.js .hero.is-in .btn-row { opacity: 1; transform: none; transition-delay: .9s; }
.js .hero.is-in .hero__controls { opacity: 1; transform: none; transition-delay: 1.2s; }

/* Hover lento nas fotos clicáveis */
.js .frente .casa img, .js .insta__grid img, .js .gallery img, .frente .casa img, .insta__grid img, .gallery img { transition: transform 1.6s var(--ease), clip-path 1.6s var(--ease-slow); transition-delay: calc(var(--d, 0) * 1ms); }
.frente:hover .casa img, .insta__grid a:hover img, .gallery figure:hover img { transition-delay: 0ms; }
.frente:hover .casa img, .gallery figure:hover img { transform: scale(1.05); }

/* Sublinhado dos links se desenha */
.link { text-decoration: none; background: linear-gradient(var(--dourado), var(--dourado)) left bottom / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .6s var(--ease), color .3s ease; }
.link:hover, .frente:hover .link { background-size: 0% 1px; background-position: right bottom; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .word > span, .js [data-reveal-img] img, .js .fio span, .js .faixas,
  .js .hero__text, .js .hero .btn-row, .js .hero__controls { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .fio::before, .js .fio::after { transform: none !important; }
  .etapa::before, .etapa__num, .etapa h3, .etapa > div { transform: none !important; clip-path: none !important; opacity: 1 !important; }
  body::after { display: none; }
}

/* Perguntas frequentes */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq__grid h2 { margin-bottom: 20px; max-width: 12ch; }
.faq__list { border-top: 1px solid rgba(158, 123, 58, .35); }
.faq__item { border-bottom: 1px solid rgba(158, 123, 58, .35); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.4rem); color: var(--preto); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 9px; height: 9px; border: 1px solid var(--dourado-escuro);
  transform: rotate(45deg); transition: transform .5s var(--ease), background-color .3s ease;
}
.faq__item[open] summary::after { transform: rotate(225deg); background: var(--dourado-escuro); }
.faq__item p { margin: 0; padding: 0 0 24px; color: var(--texto); }
.faq__item[open] p { animation: faq-in .6s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }
