/* ===== Daniela Freitas Atelier — Landing Page ===== */

:root {
  --ivory: #F7F4EF;
  --surface: #FCFAF7;
  --ink: #1F1D1B;
  --taupe: #6F675F;
  --greige: #9A9087;
  --line: #E6DFD5;
  --champagne: #D9CBB8;
  --gold: #B8914D;       /* dourado do logo, um tom mais escuro para contraste */
  --gold-light: #CBA863; /* dourado médio do logo */
  --cta: #1E1C1A;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* ---------- Elementos base ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 32px;
}
.eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--ink); }
.eyebrow--center { justify-content: center; }

.h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.h2--center { justify-content: center; text-align: center; }
.rule { display: inline-block; width: 40px; height: 1px; background: var(--ink); }
.lead { color: var(--taupe); font-size: 17px; max-width: 46ch; margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 26px; border: 1px solid var(--cta); border-radius: 2px;
  font: 400 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn--dark { background: var(--cta); color: var(--surface); }
.btn--dark:hover { background: #3a3632; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--surface); }
.btn--block { width: 100%; }
.arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-cta {
  background: none; border: 0; padding: 4px 0;
  font: 400 15px/1 var(--sans); text-decoration: none;
  border-bottom: 1px solid var(--greige);
}
.link-cta:hover { border-color: var(--ink); }

.section { padding: clamp(72px, 10vw, 128px) var(--pad); border-top: 1px solid var(--line); }

/* Fotos do site antigo têm o nome do vestido escrito embaixo: corta essa faixa */
.crop-label { overflow: hidden; }
.crop-label img { width: 100%; height: 160%; object-fit: cover; object-position: 50% 0; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 15;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad);
  transition: background .3s var(--ease), border-color .3s, padding .3s var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(247, 244, 239, .82); backdrop-filter: blur(10px);
}
.topbar.is-scrolled { background: rgba(247, 244, 239, .94); backdrop-filter: blur(10px); border-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.topbar__brand { display: block; margin-right: auto; line-height: 0; }
.topbar__brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.topbar.is-scrolled .topbar__brand img { height: 38px; }
.topbar__nav { display: flex; gap: 32px; }
.topbar__nav a { text-decoration: none; font-size: 14px; color: var(--taupe); transition: color .2s; }
.topbar__nav a:hover { color: var(--ink); }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 14; background: var(--surface);
  padding: 96px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 22px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 34px; text-decoration: none; display: flex; align-items: baseline; gap: 16px; }
.mobile-menu nav a span { font: 400 12px var(--sans); color: var(--greige); }

/* ---------- Main ---------- */


/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; overflow: hidden;
}
.hero__text { position: relative; z-index: 2; padding: 120px var(--pad) 80px; }
.hero__brand { font-family: var(--serif); font-size: clamp(54px, 7.2vw, 104px); line-height: .98; font-weight: 500; letter-spacing: -0.02em; }
.hero__brand span { display: block; font-style: italic; font-weight: 400; color: var(--taupe); }
.hero__sub { margin-top: 26px; font: 300 clamp(17px, 1.6vw, 22px)/1.4 var(--sans); letter-spacing: .14em; color: var(--taupe); max-width: 26ch; }
.hero__rule { display: block; width: 44px; height: 1px; background: var(--ink); margin: 34px 0; }
.hero__lead { font-size: 17px; color: var(--taupe); max-width: 38ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero__media { position: absolute; inset: 0 0 0 38%; margin: 0; }
.hero__media img { width: 100%; height: 140%; object-fit: cover; object-position: 50% 0; }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ivory) 0%, var(--ivory) 6%, rgba(247,244,239,.85) 22%, rgba(247,244,239,0) 55%);
}
.hero__media { overflow: hidden; }

/* ---------- Serviços ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.card__img picture { display: contents; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 26px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 24px; }
.card p { color: var(--taupe); font-size: 15px; margin-top: 10px; }
.card__link { margin-top: auto; padding-top: 22px; align-self: flex-start; background: none; border: 0; text-decoration: none; font-size: 20px; color: var(--taupe); transition: transform .3s var(--ease), color .3s; }
.card:hover .card__link { transform: translateX(4px); color: var(--ink); }

.occasions { margin-top: 72px; }
.occasions__label { font-size: 26px; margin-bottom: 24px; }
.occasions__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occasion { display: block; position: relative; padding: 0; border: 0; background: var(--line); aspect-ratio: 1 / 1; overflow: hidden; text-align: left; }
.occasion img { width: 100%; height: 160%; object-fit: cover; object-position: 50% 0; transition: transform .8s var(--ease); }
.occasion::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(31,29,27,.75)); }
.occasion span { position: absolute; left: 16px; right: 12px; bottom: 14px; z-index: 1; line-height: 1.1; text-shadow: 0 1px 10px rgba(0,0,0,.55); color: var(--surface); font-family: var(--serif); font-size: 22px; }
.occasion:hover img { transform: scale(1.04); }

/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; padding-right: 0; }
.process__text { padding-right: 0; }
.steps { list-style: none; padding: 0; margin: 48px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.steps svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.steps__n { display: block; margin-top: 18px; font-size: 12px; color: var(--greige); }
.steps h3 { font-size: 22px; margin-top: 2px; }
.steps p { font-size: 14px; color: var(--taupe); margin-top: 8px; }
.process__media { margin: 0; overflow: hidden; min-height: 420px; }
.process__media img { width: 100%; height: 140%; object-fit: cover; object-position: 50% 0; }

/* ---------- Diferenciais ---------- */
.features { background: var(--surface); text-align: center; }
.features .eyebrow { justify-content: center; }
.features .eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--ink); }
.features__grid { list-style: none; padding: 0; margin: 64px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.features__grid li { padding: 40px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features__grid svg { width: 32px; height: 32px; fill: none; stroke: var(--gold); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.features__grid h3 { font-size: 22px; margin-top: 18px; }
.features__grid p { font-size: 14px; color: var(--taupe); margin-top: 8px; }

/* ---------- Trabalhos ---------- */
.works__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 300px)); gap: 16px; }
.works__item { margin: 0; position: relative; overflow: hidden; background: var(--line); }
.works__item--tall { grid-row: span 2; }
.works__item img { width: 100%; height: 160%; object-fit: cover; object-position: 50% 0; transition: transform .8s var(--ease); }
.works__item:nth-child(5) img { height: 100%; object-position: 50% 50%; }
.works__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(31,29,27,.55));
  color: var(--surface); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.works__item:hover img { transform: scale(1.03); }
.works__more { display: inline-block; margin-top: 32px; }

/* ---------- Depoimentos ---------- */
.testimonials { text-align: center; }
.testimonials__track { display: grid; max-width: 760px; margin: 0 auto; }
.testimonial { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.testimonial.is-active { opacity: 1; visibility: visible; }
.testimonial img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 28px; border: 1px solid var(--line); transform: scale(1); clip-path: circle(44%); }
.testimonial blockquote { margin: 0; font: italic 400 clamp(24px, 3vw, 34px)/1.35 var(--serif); }
.testimonial figcaption { margin-top: 24px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.testimonials__dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testimonials__dots button { width: 28px; height: 2px; padding: 0; border: 0; background: var(--line); }
.testimonials__dots button[aria-selected="true"] { background: var(--ink); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--surface); }
.about__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.about__text .h2 { margin-bottom: 28px; }
.about__text p:not(.eyebrow):not(.about__sign) { color: var(--taupe); font-size: 17px; max-width: 52ch; margin-bottom: 18px; }
.about__sign { font: italic 400 30px/1 var(--serif); color: var(--gold); margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); }
.faq__head .link-cta { display: inline-block; margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 22px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; display: inline; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font: 300 24px var(--sans); color: var(--taupe); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--taupe); font-size: 15px; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact__cta .h2 { max-width: 14ch; }
.contact__info { margin: 0; display: grid; gap: 28px; font-style: normal; font-size: 16px; }
.contact__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--greige); margin-bottom: 6px; }
.contact__info a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__info a:hover { border-color: var(--ink); }

.map { border-top: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.85) contrast(.95); }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px var(--pad); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--greige); }
.footer__brand { line-height: 0; }
.footer__brand img { height: 52px; width: auto; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37, 211, 102, .45), 0 2px 6px rgba(0, 0, 0, .12); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .topbar__nav { gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .topbar, .topbar.is-scrolled { padding: 12px var(--pad); background: rgba(247, 244, 239, .94); backdrop-filter: blur(10px); border-color: var(--line); }
  .topbar__brand img, .topbar.is-scrolled .topbar__brand img { height: 36px; }
  .topbar__nav, .topbar__cta { display: none; }
  .menu-toggle { display: grid; }

  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero__media { position: relative; inset: auto; width: 100%; height: 62vh; margin-top: 68px; }
  .hero__media::before { background: linear-gradient(0deg, var(--ivory) 0%, rgba(247,244,239,0) 35%); }
  .hero__text { padding: 0 var(--pad) 56px; margin-top: -72px; }

  .services__grid { grid-template-columns: 1fr; }
  .occasions__grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; padding-right: var(--pad); }
  .process__media { min-height: 0; aspect-ratio: 1; }
  .works__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .works__item--tall { grid-row: span 2; grid-column: span 2; }
  .about, .faq, .contact { grid-template-columns: 1fr; }

  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .map iframe { height: 280px; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .features__grid { grid-template-columns: 1fr; }
  .features__grid li { padding: 32px 24px; }
  .hero__ctas { gap: 20px; }
  .hero__ctas .btn { width: 100%; }
}

/* Esconde o botão flutuante com o menu mobile aberto */
body:has(.mobile-menu:not([hidden])) .wa-float { display: none; }
