/* Landing provisional de novarosa.es — mismo lenguaje que el e-commerce (docs/design/figma-ecommerce.md):
   Fraunces (SOFT 0, WONK 1) + Instrument Sans, lavanda #E0E5F6, naranja #FE461C solo en texto grande, pie #111. */
:root {
  --fondo: #fffefd;
  --texto: #000000;
  --lavanda: #e0e5f6;
  --lavanda-oscuro: #c3c9df;
  --naranja: #fe461c;
  --texto-suave: #5c534d;
  --k: clamp(0px, (100vw - 440px) / 1288, 1px);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

.sin-corte { white-space: nowrap; }

/* ─── Cabecera: píldora blanca tipo cristal sobre la portada ─── */
.cabecera {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 18px 0 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.85);
  box-shadow: 0 4px 24px rgb(17 17 17 / 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.cabecera-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}

.cabecera-logo img:first-child { width: 40px; height: auto; }
.cabecera-logo .solo-ancho { display: none; width: 153px; height: auto; }

.cabecera-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.cabecera-tel:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ─── Portada ─── */
.portada {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1728px;
  margin-inline: auto;
  padding: 108px 21px 48px;
}

.portada-texto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.antetitulo {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.titular {
  margin: 0;
  max-width: 12ch;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 44px;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.titular em {
  display: block;
  color: var(--naranja);
  font-style: italic;
  font-weight: 600;
}

.entradilla {
  max-width: 34ch;
  margin: 24px 0 0;
  color: var(--texto-suave);
  font-size: 17px;
  line-height: 1.35;
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.boton-negro,
.boton-borde {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.boton-negro {
  padding: 5px 5px 5px 24px;
  background: #000;
  color: #fff;
}

.boton-circulo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.boton-circulo img { width: 18px; height: 18px; }

.boton-negro:hover .boton-circulo { transform: rotate(45deg); }

.boton-borde {
  padding: 0 24px;
  border: 1.5px solid #000;
}

.boton-borde:hover { background: var(--lavanda); }

.portada-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 398px;
  aspect-ratio: 398 / 501;
  margin-inline: auto;
  border-radius: 30px;
  background: var(--lavanda);
  overflow: hidden;
}

.trofeo {
  position: relative;
  height: 82%;
  aspect-ratio: 320 / 680;
}

.trofeo-video,
.trofeo canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trofeo-sombra {
  position: absolute;
  left: 50%;
  bottom: -5%;
  width: 150%;
  max-width: none;
  transform: translateX(-50%);
  mix-blend-mode: multiply; /* el PNG de la sombra trae fondo blanco (pensado para tarjetas blancas) */
  pointer-events: none;
}

.panel-lema { display: none; }

/* ─── Escritorio (≥ 1024): dos columnas como la portada del Figma ─── */
@media (min-width: 768px) {
  .cabecera {
    top: 20px;
    left: calc(16px + 49 * var(--k));
    right: calc(16px + 49 * var(--k));
    height: 64px;
    padding: 0 28px 0 14px;
  }

  .cabecera-logo .solo-ancho { display: block; }
  .cabecera-logo img:first-child { width: 45px; }
  .cabecera-tel { font-size: 24px; }
}

@media (min-width: 1024px) {
  .portada {
    display: grid;
    grid-template-columns: 1fr 48.3%;
    gap: calc(24px + 40 * var(--k));
    min-height: min(100vh, 1100px);
    padding: 20px 32px 32px calc(30px + 35 * var(--k));
  }

  .portada-texto {
    justify-content: center;
    padding-top: 84px;
  }

  .antetitulo { font-size: calc(20px + 4 * var(--k)); margin-bottom: 22px; }

  .titular {
    max-width: 11ch;
    font-size: calc(44px + 26 * var(--k));
    line-height: 0.9;
  }

  .entradilla {
    max-width: 38ch;
    margin-top: 32px;
    font-size: calc(17px + 3 * var(--k));
  }

  .acciones { margin-top: 40px; }

  .boton-negro, .boton-borde { min-height: 58px; font-size: calc(18px + 6 * var(--k)); }
  .boton-negro { padding-left: 26px; }
  .boton-circulo { width: 48px; height: 48px; }
  .boton-circulo img { width: 22px; height: 22px; }

  .portada-panel {
    max-width: none;
    height: 100%;
    min-height: 620px;
    aspect-ratio: auto;
  }

  .trofeo { height: min(70%, 760px); }

  .panel-lema {
    display: block;
    position: absolute;
    left: 32px;
    bottom: 28px;
    margin: 0;
    max-width: 14ch;
    font-family: var(--serif);
    font-variation-settings: 'SOFT' 0, 'WONK' 1;
    font-size: calc(20px + 4 * var(--k));
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
  }
}

/* ─── Pie: igual que el del e-commerce (#143), sin los botones de cuenta ─── */
.pie {
  background: #111;
  color: #fff;
}

.pie a { color: #fff; }
.pie :focus-visible { outline-color: #fff; }

.pie-interior {
  display: flex;
  flex-direction: column;
  gap: 42px;
  width: 100%;
  max-width: 1728px;
  margin-inline: auto;
  padding: 30px;
}

.pie-arriba { display: flex; flex-direction: column; gap: 42px; }
.pie-izquierda { display: flex; flex-direction: column; gap: 32px; }

.pie-logo {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 21px;
  min-height: 44px;
}

.pie-logo-icono { width: 58px; height: auto; }
.pie-logo-texto { width: 195px; height: auto; min-width: 0; }

.pie-fila {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 56px;
}

.pie-contacto { display: flex; flex-direction: column; margin: 0; }

.pie-contacto-titulo {
  color: var(--naranja);
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 32px;
  font-style: italic;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.pie-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
}

.pie-email:hover { text-decoration: underline; text-underline-offset: 4px; }

.pie-redes {
  display: flex;
  align-items: center;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pie-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
}

.pie-red-circulo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: #fff;
}

.pie-red-circulo img { width: 25px; height: 25px; }
.pie-facebook { width: 41px; height: 41px; }

.exposicion { display: flex; flex-direction: column; gap: 16px; }

.exposicion-titulo {
  margin: 0;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 34px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.exposicion-titulo > span, .exposicion-titulo > em { display: block; }
.exposicion-titulo em { color: var(--naranja); font-style: italic; font-weight: 600; }

.exposicion-datos { display: flex; flex-direction: column; gap: 4px; font-style: normal; }

.exposicion-pildora {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 5px 5px 5px 20px;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
}

.pie .exposicion-pildora { color: #000; }

.exposicion-direccion {
  min-width: 0;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.1;
}

.exposicion-circulo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--lavanda-oscuro);
}

.exposicion-circulo img { transform: rotate(45deg); }
.exposicion-pildora:hover .exposicion-circulo { background: #000; }

.exposicion-telefono {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 16px;
}

.pie-abajo { display: flex; flex-direction: column; gap: 22px; }
.pie-separador { width: 100%; height: 1px; }

.pie-legal { display: flex; flex-direction: column; gap: 12px; }
.pie-legal ul { margin: 0; padding: 0; list-style: none; }

.pie-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pie-titular { margin: 0; font-size: 16px; line-height: 1.2; }

@media (min-width: 768px) {
  .pie-interior { padding: 40px calc(30px + 32 * var(--k)); }
  .pie-izquierda { gap: 48px; }
  .pie-fila { justify-content: flex-start; }
  .exposicion { max-width: 408px; }
  .exposicion-titulo { font-size: 46px; line-height: 0.8; }
  .pie-legal { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
}

@media (min-width: 1024px) {
  .pie-arriba { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .exposicion { flex-shrink: 0; width: 408px; min-height: 165px; justify-content: space-between; text-align: right; }
  .exposicion-datos { align-items: flex-end; }
  .exposicion-telefono { align-self: flex-end; }
}

/* ─── Página legal ─── */
.legal {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 120px 21px 64px;
}

.legal h1 {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.legal h2 {
  margin: 36px 0 12px;
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 0, 'WONK' 1;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.legal address { display: flex; flex-direction: column; font-style: normal; }
.legal p, .legal li { color: #2b2623; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
