/* =========================================================
   Petit Laura – Landing page
   Mobile-first. Paleta tirada da logo.
   ========================================================= */

:root {
  --cream: #fff7f3;
  --cream-2: #fff0ec;
  --blush: #fbe3e8;
  --pink: #f4b6c4;
  --rose: #e5859d;
  --wine: #9a3b55;
  --wine-dark: #6e2338;
  --gold: #b98a5e;
  --ink: #5b3340;
  --ink-soft: #876571;
  --white: #fff;
  --wa: #25a05a;

  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(154, 59, 85, 0.1);
  --shadow: 0 10px 30px rgba(154, 59, 85, 0.14);
  --gutter: 20px;
  /* Espaço padrão entre as seções: metade acima + metade abaixo de cada uma */
  --space: 32px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 12px;
}
.skip:focus { top: 12px; }

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

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.12; color: var(--wine); }
h1 { font-size: clamp(2rem, 8.2vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 7vw, 2.9rem); }
h3 { font-size: 1.35rem; }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--rose);
  letter-spacing: 0;
}
h1 .script { font-size: 1.12em; line-height: 1.05; display: inline-block; }
h2 .script { font-size: 1.18em; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.lead { font-size: 1.06rem; color: var(--ink-soft); max-width: 36ch; margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  user-select: none;
}
.btn .ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn .ico .fill { fill: currentColor; stroke: none; }
.btn .ico--solid { fill: currentColor; stroke: none; }
.btn .chev { width: 20px; height: 20px; margin-left: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; transition: transform 0.18s ease; }
.btn__label { text-align: left; }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 8px 20px rgba(154, 59, 85, 0.32); }
.btn--wa { background: #fff; color: var(--wa); border-color: #bfe6cf; box-shadow: var(--shadow-sm); }
.btn--wa .btn__label { color: var(--ink); }
.btn--ghost { background: rgba(255, 255, 255, 0.75); color: var(--wine); border-color: var(--pink); backdrop-filter: blur(4px); }

.btn--soon { background: rgba(255, 255, 255, 0.5); border-style: dashed; color: var(--ink-soft); cursor: default; }
.btn--soon .chev { display: none; }
.badge {
  display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px;
  background: var(--blush); color: var(--wine); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle;
}

.btn--inline { display: inline-flex; justify-content: center; width: 100%; }

@media (hover: hover) {
  .btn:not(.btn--soon):hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .btn:not(.btn--soon):hover .chev { transform: translateX(3px); }
  .btn--primary:hover { background: var(--wine-dark); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(18px + env(safe-area-inset-top)) 0 0;
  background:
    radial-gradient(120% 60% at 50% 0%, #ffffff 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #ffeef0 0%, var(--cream) 100%);
  text-align: center;
}
.hero__grid { position: relative; z-index: 2; display: grid; gap: 8px; }

/* No celular, o hero inteiro (incluindo a Laurinha) se adapta à ALTURA visível da tela.
   1svh = 1% da altura visível com as barras do navegador / do Instagram já descontadas. */
.hero {
  --vh: 1vh;
  --logo: clamp(92px, calc(var(--vh) * 15), 148px);
  --btn: clamp(42px, calc(var(--vh) * 6.4), 48px);
  --h1: min(8.2vw, calc(var(--vh) * 4.3));
  /* altura sobrando para a Laurinha = tela - (tudo que vem acima dela) */
  --art-h: clamp(
    180px,
    calc(var(--vh) * 100 - env(safe-area-inset-top) - var(--logo) - 4 * var(--btn) - 2.4 * var(--h1) - 126px),
    360px
  );
}
@supports (height: 1svh) { .hero { --vh: 1svh; } }

.hero__logo { width: var(--logo); height: var(--logo); margin: 0 auto 14px; }
.hero .eyebrow { margin-bottom: 6px; }
.hero h1 { font-size: var(--h1); margin-bottom: 16px; }

.links { display: grid; gap: 9px; max-width: 460px; margin-inline: auto; width: 100%; }
.links .btn { min-height: var(--btn); font-size: 0.97rem; }

.hero__art { display: flex; justify-content: center; margin-top: 12px; }
.laurinha { position: relative; margin-bottom: -2px; animation: bob 5s ease-in-out infinite; transform-origin: 50% 100%; }
.laurinha img { height: var(--art-h); width: auto; max-width: 88vw; filter: drop-shadow(0 18px 24px rgba(154, 59, 85, 0.22)); }

.wave { position: relative; z-index: 1; display: block; width: 100%; height: 16px; margin-top: -14px; fill: var(--cream); }

/* Seta de "role para ver mais" */
.scroll-hint {
  position: absolute; left: 50%; bottom: 8px; z-index: 3; translate: -50% 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; color: var(--rose);
  background: rgba(255, 255, 255, 0.92); border: 1.5px solid var(--pink);
  box-shadow: 0 6px 16px rgba(154, 59, 85, 0.2);
  animation: hint 1.8s ease-in-out infinite;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.scroll-hint svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.scroll-hint.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.75; }
.blob--1 { width: 280px; height: 280px; background: #ffc9d6; top: 22%; left: -110px; }
.blob--2 { width: 260px; height: 260px; background: #ffe2c9; bottom: 8%; right: -100px; }
.heart { position: absolute; color: var(--pink); opacity: 0.7; animation: float 7s ease-in-out infinite; }
.h1 { top: 7%; left: 9%; font-size: 1.2rem; }
.h2 { top: 14%; right: 11%; font-size: 1.7rem; animation-delay: -2s; color: var(--rose); opacity: 0.5; }
.h3 { top: 43%; left: 5%; font-size: 1rem; animation-delay: -4s; }
.h4 { bottom: 20%; right: 6%; font-size: 1.3rem; animation-delay: -1s; }
.h5 { bottom: 12%; left: 12%; font-size: 1.5rem; animation-delay: -3s; color: var(--rose); opacity: 0.45; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-6px) rotate(0.6deg); } }

/* ---------- Seções ---------- */
.section { padding: var(--space) 0; position: relative; }
.section__head { text-align: center; margin-bottom: 30px; }
.section__sub { margin-top: 12px; color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }

/* ---------- Produtos ---------- */
/* Primeira seção: o hero não tem margem embaixo, então ela usa o dobro do espaço
   padrão para o vão ficar igual ao das demais seções. */
.produtos { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); padding-top: calc(var(--space) * 2); }
.cat { margin-bottom: 30px; }
.cat__title { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 14px; }
.cat__dot {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pink); color: #fff; font-family: var(--font-body); font-size: 0.85rem; font-weight: 800;
}

.cards { display: grid; gap: 10px; }
.card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  background: #fff; border: 1.5px solid #f6d7de; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:active { transform: scale(0.985); }
/* Foto do produto. Enquanto a imagem não existir, aparece um espaço rosa com coração. */
.card__photo {
  position: relative; flex: none; width: 76px; height: 76px; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ffe3ea 0%, #ffd0dc 100%);
}
.card__photo::before { content: "♥"; position: absolute; font-size: 1.6rem; color: #fff; opacity: 0.85; }
.card__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.card__body { display: grid; gap: 2px; min-width: 0; }
.card__body strong { font-size: 1.02rem; color: var(--wine-dark); line-height: 1.25; }
.card__body small { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.4; }
.card .chev { width: 20px; height: 20px; margin-left: auto; flex: none; fill: none; stroke: var(--rose); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.18s ease; }

@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--pink); }
  .card:hover .chev { transform: translateX(3px); }
}

.custom {
  margin-top: 8px; text-align: center; padding: 28px 22px; border-radius: var(--radius-lg);
  background: #fff; border: 2px dashed var(--pink);
}
.custom__title { font-size: 2.2rem; line-height: 1.1; margin-bottom: 6px; }
.custom p:not(.custom__title) { color: var(--ink-soft); margin-bottom: 18px; max-width: 38ch; margin-inline: auto; }
.custom .btn { max-width: 340px; margin-inline: auto; }

/* ---------- Onde comprar ---------- */
.canais { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); }
.canais__grid { display: grid; gap: 16px; }
.canal {
  position: relative; text-align: center; padding: 28px 22px 24px; border-radius: var(--radius-lg);
  background: #fff; border: 1.5px solid #f6d7de; box-shadow: var(--shadow-sm);
}
.canal--main { border-color: var(--pink); box-shadow: var(--shadow); background: linear-gradient(180deg, #fff 0%, #fff6f8 100%); }
.canal__tag {
  display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 999px;
  background: var(--wine); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.canal__tag--alt { background: var(--blush); color: var(--wine); }
.canal__tag--wa { background: #e3f5ea; color: #1b6e40; }
.canal h3 { font-size: 1.7rem; margin-bottom: 2px; }
.canal__url { font-weight: 800; color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.canal p:not(.canal__url) { color: var(--ink-soft); margin-bottom: 20px; max-width: 36ch; margin-inline: auto; }
.canal p strong { color: var(--wine); }
.canal .btn { max-width: 320px; margin-inline: auto; }

@media (min-width: 640px) {
  .canais__grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .canal { display: flex; flex-direction: column; align-items: center; }
  .canal .btn { margin-top: auto; width: 100%; }
  .canal--wide { grid-column: 1 / -1; }
}

/* ---------- Como funciona ---------- */
.steps { display: grid; gap: 14px; counter-reset: s; }
.step {
  position: relative; text-align: center; padding: 30px 22px 24px; border-radius: var(--radius-lg);
  background: #fff; box-shadow: var(--shadow-sm); margin-top: 18px;
}
.step__n {
  position: absolute; top: -20px; left: 50%; translate: -50% 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--wine); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 0 0 6px var(--cream);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- História ---------- */
.historia { background: linear-gradient(180deg, var(--cream) 0%, #ffeaee 100%); }
.historia__grid { display: grid; gap: 28px; align-items: center; }
.historia__art { width: min(62vw, 280px); margin-inline: auto; }
.historia__art img { width: 100%; height: auto; }
.historia__text h2 { margin-bottom: 16px; text-align: center; }
.historia__text .eyebrow { text-align: center; }
.historia__text p + p { margin-top: 12px; }
.historia__text p { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 10px; }
details { background: #fff; border-radius: var(--radius); border: 1.5px solid #f6d7de; box-shadow: var(--shadow-sm); overflow: hidden; }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; min-height: 56px; cursor: pointer; list-style: none;
  font-weight: 800; color: var(--wine-dark);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--rose); border-bottom: 2.5px solid var(--rose);
  transform: rotate(45deg) translateY(-2px); transition: transform 0.25s ease;
}
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details[open] { border-color: var(--pink); }
details p { padding: 0 18px 18px; color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.cta { padding: var(--space) 0 calc(var(--space) * 2); }
.cta__box {
  text-align: center; padding: 38px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fde0e7 0%, #ffeede 100%);
  box-shadow: var(--shadow);
}
.cta__script { font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }
.cta h2 { font-size: clamp(1.6rem, 6vw, 2.3rem); margin-bottom: 22px; }
.cta h2 em { color: var(--rose); }
.cta__buttons { display: grid; gap: 12px; max-width: 360px; margin-inline: auto; }

/* ---------- Rodapé ---------- */
.footer { background: var(--wine-dark); color: #f8dfe6; padding: 40px 0 calc(40px + 70px); text-align: center; }
.footer__grid { display: grid; gap: 14px; justify-items: center; }
.footer__logo { width: 84px; height: 84px; border-radius: 50%; }
.footer__tag { font-size: 1.7rem; color: var(--pink); }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-weight: 700; }
.footer__links a { padding: 6px 2px; border-bottom: 2px solid transparent; }
.footer__links a:hover { border-color: var(--pink); }
.footer__copy { font-size: 0.85rem; opacity: 0.8; }

/* ---------- WhatsApp flutuante ---------- */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(37, 160, 90, 0.4);
  transform: translateY(120px); opacity: 0; transition: transform 0.4s cubic-bezier(.2,.9,.3,1.2), opacity 0.3s ease;
}
.fab.is-visible { transform: translateY(0); opacity: 1; }
.fab svg { width: 24px; height: 24px; fill: #fff; stroke: none; }

/* ---------- Voltar ao topo (sutil, acima do WhatsApp) ---------- */
.totop {
  position: fixed; right: 16px; bottom: calc(16px + 42px + 10px + env(safe-area-inset-bottom)); z-index: 49;
  width: 42px; height: 42px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); border: 1.5px solid var(--pink); color: var(--rose);
  box-shadow: 0 4px 14px rgba(154, 59, 85, 0.14); backdrop-filter: blur(4px);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform 0.35s ease, opacity 0.3s ease, background 0.2s ease;
}
.totop.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.totop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.totop:active { transform: scale(0.94); }
@media (hover: hover) { .totop:hover { background: var(--blush); } }
@media (min-width: 900px) { .totop { right: 28px; bottom: calc(28px + 42px + 10px); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 60;
  translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--wine-dark); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  transition: all 0.3s ease; white-space: nowrap;
}
.toast.is-on { translate: -50% 0; opacity: 1; }

/* ---------- Revelar ao rolar (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .steps .reveal:nth-child(3) { transition-delay: 0.2s; }

/* =========================================================
   Tablet / Desktop
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  :root { --space: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cta__buttons { grid-auto-flow: column; max-width: 520px; }
}

@media (min-width: 900px) {
  :root { --space: 52px; }
  .hero { padding-top: 40px; text-align: left; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: end; gap: 24px; min-height: 640px; }
  .hero__text { align-self: center; padding-bottom: 60px; }
  .hero__logo { margin-inline: 0; }
  .hero .lead { margin-inline: 0; }
  .links { margin-inline: 0; max-width: 380px; }
  .hero__art { margin-top: 0; }
  .hero h1 { font-size: 4rem; margin-bottom: 26px; }
  .hero__logo { width: 148px; height: 148px; }
  .links .btn { min-height: 52px; }
  .laurinha { width: 460px; }
  .laurinha img { height: auto; width: 100%; max-width: 100%; }
  .wave { height: 80px; margin-top: -78px; }

  .cards { grid-template-columns: repeat(3, 1fr); }
  .canais__grid { grid-template-columns: repeat(3, 1fr); }
  .canal--wide { grid-column: auto; }
  .historia__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; }
  .historia__text h2, .historia__text .eyebrow { text-align: left; }
  .historia__art { width: 100%; max-width: 360px; }
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: auto 1fr auto; text-align: left; align-items: center; justify-items: start; }
  .footer__copy { grid-column: 1 / -1; justify-self: center; text-align: center; }
  .fab { right: 28px; bottom: 28px; }
}

/* ---------- Telas muito pequenas ---------- */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .btn { font-size: 0.95rem; padding: 0 14px; }
}

/* ---------- Menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
