/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F97316;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-text: #1F1147;
  --color-muted: #6B5B95;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1120px;
  --radius: 12px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; margin: 0 0 0.75rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(76, 29, 149, 0.08);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem; gap: 1rem;
}
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: transparent; border: 0; padding: 0.5rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; }

.primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(76, 29, 149, 0.08);
  flex-direction: column; gap: 0.75rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark); font-weight: 500;
  padding: 0.35rem 0;
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row;
    background: transparent; padding: 0; border: 0; gap: 1.75rem;
  }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.85rem 1.6rem;
  border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.6); }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { background: #ea6a10; }

/* === Hero (centered) === */
.hero { padding-block: 3rem 2.5rem; text-align: center; }
.hero h1 {
  max-width: 22ch; margin-inline: auto;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600; letter-spacing: -0.01em;
}
.hero__sub {
  max-width: 52ch; margin: 1rem auto 1.75rem;
  font-size: 1.125rem; color: var(--color-muted);
}
.hero__cta { margin-bottom: 2.5rem; }
.hero__figure {
  margin: 0 auto; max-width: 1040px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
}
.hero__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem 3.5rem; }
}
@media (min-width: 1024px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 780px; }
.section--tinted { background: #fff; border-block: 1px solid rgba(76, 29, 149, 0.06); }
.section__title { font-size: clamp(1.75rem, 3vw, 2.5rem); text-align: center; }
.section__sub, .section__lede { color: var(--color-muted); text-align: center; }
.section__lede { font-size: 1.075rem; line-height: 1.75; }
.section__header { text-align: center; margin-bottom: 2.5rem; }
.section__header .section__sub { margin-top: 0.5rem; }

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(76, 29, 149, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(124, 58, 237, 0.1); color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { display: block; color: inherit; }
.card-link:hover {
  text-decoration: none; transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(76, 29, 149, 0.28);
  border-color: rgba(124, 58, 237, 0.35);
}

/* === Testimonial === */
.testimonial-section { background: var(--color-neutral-light); }
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 0 1rem;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.5; color: var(--color-neutral-dark);
  font-style: italic;
}
.testimonial cite {
  display: block; margin-top: 1rem;
  font-family: var(--font-body); font-style: normal;
  color: var(--color-muted); font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; text-align: center;
  padding-block: 4rem;
}
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 1.5rem; }
.cta-band__meta { font-size: 0.95rem; color: rgba(255,255,255,0.75); }

/* === Contact form === */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-row { display: block; margin-bottom: 1.1rem; }
.form-row span { display: block; font-weight: 500; margin-bottom: 0.35rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid rgba(76, 29, 149, 0.2);
  border-radius: 10px;
  font-family: inherit; font-size: 1rem;
  background: #fff; color: var(--color-text);
}
.form-row input:focus, .form-row textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-muted);
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem; margin-top: 2rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
.footer__brand { font-family: var(--font-heading); font-size: 1.5rem; color: #fff; margin-bottom: 0.25rem; }
.footer__tagline { color: rgba(255,255,255,0.7); }
.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact { font-style: normal; line-height: 1.7; color: rgba(255,255,255,0.85); }
.footer__legal { display: block; margin-top: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer__copy {
  text-align: center; margin-top: 2rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.4fr; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.35rem; border-radius: var(--radius);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4);
  max-width: 640px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button {
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent; color: var(--color-neutral-light);
  padding: 0.55rem 1rem; border-radius: 999px;
  font: inherit; font-size: 0.88rem; cursor: pointer;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button:hover { filter: brightness(1.1); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: 0.5rem; }
