/*
 * Les Délices de Grace Lumière — site styles.
 *
 * Brand: pure white and soft pink, with gold used sparingly as a fine detail.
 * Every colour that carries text meets WCAG AA against the surface it sits on:
 * `--pink-ink` (#B14A68) is the action colour at 5.19:1 on white, while the softer
 * `--pink` (#E88AA5) from the logo is reserved for fills, rules and ornament.
 */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122;
}
@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-var-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020-2C7F;
}
@font-face {
  font-family: "InterVar";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122;
}
@font-face {
  font-family: "InterVar";
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020-2C7F;
}

:root {
  --white: #ffffff;
  --cream: #fff7f9;
  --pink-50: #fffafb;
  --pink-100: #fdebf0;
  --pink-200: #f9d2de;
  --pink-300: #f2afc3;
  --pink: #e88aa5;
  --pink-ink: #b14a68;
  --pink-ink-dark: #9c3c57;
  --gold: #c9a227;
  --gold-ink: #8a6d1f;
  --ink: #2a2126;
  --ink-soft: #6b5c63;
  --line: #f2dfe6;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(42, 33, 38, 0.04), 0 6px 18px rgba(184, 85, 112, 0.06);
  --shadow-md: 0 2px 6px rgba(42, 33, 38, 0.05), 0 18px 40px rgba(184, 85, 112, 0.1);

  --display: "Cinzel", "Georgia", "Times New Roman", serif;
  --body: "InterVar", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-height: 76px;

  --page: min(1180px, 100% - 2.5rem);
  --page-narrow: min(760px, 100% - 2.5rem);
}

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

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
}
h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
}
h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--pink-ink);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pink-ink-dark);
}

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

:focus-visible {
  outline: 3px solid var(--pink-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-250%);
  background: var(--pink-ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: var(--page);
  margin-inline: auto;
}
.wrap-narrow {
  width: var(--page-narrow);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
}
.section--tint {
  background: linear-gradient(180deg, var(--cream), var(--white));
}
.section--pink {
  background: var(--cream);
}

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pink-ink);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

.muted {
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

/* The official logo. Its own white background matches the header, so it needs
   no plate or border — only room to breathe. */
.brand__logo {
  width: 240px;
  height: auto;
  display: block;
}

.brand__logo--mark {
  display: none;
  width: 44px;
}

/* Below this the wordmark cannot stay legible next to the two calls to action,
   so the lotus stands alone — it is the same official artwork. */
@media (max-width: 560px) {
  .brand__logo--full {
    display: none;
  }
  .brand__logo--mark {
    display: block;
  }
}

.site-footer__logo {
  width: 220px;
  height: auto;
  margin-bottom: 0.75rem;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  padding: 0.5rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Eight sections plus two calls to action do not fit a laptop header. The
   secondary CTA steps aside first — "Créer ma demande" is one tap away from the
   hero, the footer and every category page. */
@media (max-width: 1400px) {
  .header-actions .btn--ghost {
    display: none;
  }
}

.nav a:hover {
  background: var(--pink-100);
  color: var(--pink-ink-dark);
}

.nav a[aria-current="page"] {
  color: var(--pink-ink);
  background: var(--pink-100);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--pink-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--body);
}

@media (max-width: 1200px) {
  .nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav[data-open="true"] {
    display: flex;
  }
  .nav a {
    padding: 0.9rem 0.5rem;
    border-radius: var(--radius-sm);
  }
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }
  .header-actions .btn--ghost {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 64px;
    --page: min(1180px, 100% - 1.75rem);
    --page-narrow: min(760px, 100% - 1.75rem);
  }
  .site-header__inner {
    gap: 0.5rem;
  }
  .brand__logo--full {
    width: 190px;
  }
  .header-actions .btn,
  .nav-toggle {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    min-height: 42px;
  }
  .hero__art {
    max-width: 240px;
  }
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--pink-ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--pink-ink-dark);
  color: #fff;
}

.btn--ghost {
  background: var(--white);
  border-color: var(--pink-200);
  color: var(--pink-ink);
}
.btn--ghost:hover {
  background: var(--pink-100);
  color: var(--pink-ink-dark);
}

.btn--quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--sm {
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 18%, rgba(232, 138, 165, 0.22), transparent 65%),
    radial-gradient(50% 60% at 10% 90%, rgba(249, 210, 222, 0.5), transparent 70%),
    linear-gradient(180deg, var(--pink-50), var(--white) 78%);
  padding: clamp(3rem, 2rem + 6vw, 6.5rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero__lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
}

/* The photograph is the hero. The frame is a whisper: a soft pink halo behind a
   generous white mat, so nothing competes with the food. */
.hero__photo {
  position: relative;
  margin: 0;
  width: min(440px, 100%);
}

.hero__photo::before {
  content: "";
  position: absolute;
  inset: -8% -6% -4%;
  border-radius: 50% 50% 46% 46%;
  background: radial-gradient(60% 55% at 50% 45%, rgba(232, 138, 165, 0.28), transparent 70%);
  z-index: -1;
}

.hero__photo img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

.hero__photo figcaption {
  margin-top: 0.85rem;
  text-align: center;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__art {
    order: -1;
    max-width: 320px;
    margin-inline: auto;
  }
}

/* ------------------------------------------------------------------ cards */

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__media {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(70% 90% at 30% 20%, rgba(255, 255, 255, 0.85), transparent 60%),
    linear-gradient(140deg, var(--pink-100), var(--pink-200));
  display: grid;
  place-items: center;
  position: relative;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.card__body h3 {
  margin: 0;
}

.card__price {
  font-weight: 600;
  color: var(--pink-ink);
}

.card__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-card {
  position: relative;
  display: block;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--white), var(--cream));
  text-decoration: none;
  color: inherit;
  min-height: 200px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.category-card h3 {
  color: var(--pink-ink);
}
.category-card__arrow {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--pink-ink);
  display: inline-flex;
  gap: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--pink-100);
  color: var(--pink-ink-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  width: fit-content;
}

.badge--quiet {
  background: #f4f1f2;
  color: var(--ink-soft);
}

.badge--gold {
  background: #fbf3d9;
  color: var(--gold-ink);
}

/* ------------------------------------------------------------------ steps */

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--pink-100);
  color: var(--pink-ink-dark);
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ forms */

.form {
  display: grid;
  gap: 1.25rem;
}

.fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
  background: var(--white);
}

.fieldset > legend {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 0.5rem;
  color: var(--pink-ink);
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field:last-child {
  margin-bottom: 0;
}

.field > label,
.field > .field__label {
  font-weight: 600;
  font-size: 0.95rem;
}

.field__hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.field-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  min-height: 48px;
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--pink-300);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b3261e;
  background: #fff6f5;
}

.field__error {
  color: #a01b14;
  font-size: 0.88rem;
  font-weight: 500;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--pink-200);
  border-radius: 999px;
  cursor: pointer;
  background: var(--white);
  min-height: 44px;
  font-size: 0.95rem;
}

.choice:hover {
  background: var(--pink-50);
}

.choice input {
  accent-color: var(--pink-ink);
  width: 18px;
  height: 18px;
  margin: 0;
}

.choice:has(input:checked) {
  border-color: var(--pink-ink);
  background: var(--pink-100);
  color: var(--pink-ink-dark);
  font-weight: 600;
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--pink-ink);
  outline-offset: 2px;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pink-200);
  background: var(--cream);
}

.alert--error {
  border-color: #f0b5b0;
  background: #fff6f5;
  color: #7c1d17;
}

.alert--success {
  border-color: #b9dfc6;
  background: #f2fbf5;
  color: #1c5733;
}

.notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--pink-50);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ order summary */

.summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.5rem;
}

.summary__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line);
}

.summary__line:last-of-type {
  border-bottom: 0;
}

.summary__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid var(--pink-100);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pink-200);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--pink-ink);
  line-height: 1;
}

.qty button:hover {
  background: var(--pink-100);
}

.qty output {
  min-width: 2.5rem;
  text-align: center;
  font-weight: 600;
}

/* ------------------------------------------------------------------ misc */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
  color: var(--pink-200);
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 140px;
  background: linear-gradient(90deg, transparent, var(--pink-200), transparent);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-head p {
  margin: 0;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.5;
}

.quote figcaption {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list a {
  font-weight: 600;
}

.empty {
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--pink-200);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--pink-50);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery.card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

/* Editorial rhythm: the first frame is given twice the room, so the grid reads
   as a composition rather than a contact sheet. */
.gallery--editorial {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  grid-auto-flow: dense;
}

.gallery--editorial img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1;
}

@media (max-width: 520px) {
  .gallery--editorial img:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--body);
  font-weight: 700;
  color: var(--ink-soft);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ intro */

/*
 * The opening film. It fills the whole screen — this is the first thing a
 * customer sees, so it is given the room a shop window gets.
 *
 * The clip runs to the end of its hand-drawn monogram, then the OFFICIAL logo
 * rises over the last frame: the original video's closing card misspells the
 * name, so the only wordmark shown here is the correct artwork.
 *
 * Rules it obeys:
 *   - it never blocks — the site is fully rendered underneath from the first frame
 *   - "Passer", Escape, a scroll or a tap end it immediately
 *   - `prefers-reduced-motion` and repeat visits skip it entirely (see site.js)
 *   - without JavaScript it never appears at all (`hidden` stays on)
 */
.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: hidden;
  background: #efe9e6;
  animation: intro-curtain 5600ms ease forwards;
}

.brand-intro[hidden] {
  display: none;
}

.brand-intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps the wordmark legible over a moving image without dimming the cake. */
.brand-intro__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 50% 62%, rgba(255, 255, 255, 0.72), transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.55) 100%);
  opacity: 0;
  animation: intro-veil 1400ms 3000ms ease forwards;
}

.brand-intro__word {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(420px, 62vw);
  height: auto;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  mix-blend-mode: multiply;
  animation: intro-word 1500ms 3250ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.brand-intro__skip {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 33, 38, 0.15);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.brand-intro__skip:hover {
  background: #fff;
}

@keyframes intro-veil {
  to { opacity: 1; }
}

@keyframes intro-word {
  0% { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes intro-curtain {
  0%, 88% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

@media (max-width: 700px) {
  .brand-intro__word {
    width: 74vw;
    top: 56%;
  }
}

/* Floating WhatsApp shortcut — the fastest route to a human on a phone. */
.whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: #1f8a4c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  min-height: 48px;
}

.whatsapp-fab:hover {
  background: #176b3b;
  color: #fff;
}

.whatsapp-fab[data-ready="true"] {
  display: inline-flex;
}

.is-hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .whatsapp-fab {
    display: none;
  }
}
