/* === Tokens === */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #22C55E;
  --color-neutral-dark: #4C1D95;
  --color-neutral-light: #FAF5FF;
  --color-ink: #1E1B2E;
  --color-muted: #6B5B8A;
  --color-line: rgba(76, 29, 149, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(76, 29, 149, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(76, 29, 149, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(76, 29, 149, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
p { margin: 0 0 1rem; }
address { font-style: normal; line-height: 1.7; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section--tinted { background: linear-gradient(180deg, var(--color-neutral-light), #fff); }
.section--narrow .prose { max-width: 68ch; margin-inline: auto; font-size: 1.075rem; }
@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head__sub { color: var(--color-muted); font-size: 1.1rem; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.prose { font-size: 1.05rem; color: #34314A; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-neutral-dark); color: #fff; padding: .5rem 1rem; z-index: 10000; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(250, 245, 255, 0.72); border-bottom: 1px solid transparent; transition: background .25s var(--ease-hover), box-shadow .25s var(--ease-hover), border-color .25s var(--ease-hover); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.88); border-bottom-color: var(--color-line); box-shadow: 0 4px 20px -12px rgba(76, 29, 149, 0.2); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo:hover { text-decoration: none; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.nav-toggle { background: transparent; border: 1px solid var(--color-line); border-radius: 10px; padding: .5rem; color: var(--color-neutral-dark); cursor: pointer; display: inline-flex; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.primary-nav { display: none; }
.primary-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 1rem 1.25rem 1.5rem; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-md); gap: .25rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .65rem 0; position: relative; }
.primary-nav a.is-current { color: var(--color-primary); }
@media (min-width: 900px) {
  .primary-nav { display: flex; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; box-shadow: none; border: 0; }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-hover); }
  .primary-nav a:not(.btn):hover { text-decoration: none; }
  .primary-nav a:not(.btn):hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover); text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--sm { padding: .55rem 1rem; font-size: .88rem; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -12px rgba(124, 58, 237, 0.55); }
.btn--primary:hover { box-shadow: 0 16px 30px -12px rgba(124, 58, 237, 0.65); }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(34, 197, 94, 0.5); }
.btn--accent:hover { box-shadow: 0 16px 30px -12px rgba(34, 197, 94, 0.6); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-line); }
.btn--ghost:hover { background: var(--color-neutral-light); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; overflow: hidden; padding-block: 3.5rem 4rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fff 100%); }
@media (min-width: 768px) { .hero { padding-block: 5rem 6rem; } }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(60% 60% at 50% 30%, rgba(167, 139, 250, 0.35), transparent 70%), radial-gradient(40% 40% at 80% 10%, rgba(34, 197, 94, 0.15), transparent 70%); pointer-events: none; z-index: 0; }
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0 auto 2rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 980px; margin-inline: auto; }
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* === Cards / Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-hover), box-shadow .25s var(--ease-hover); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,197,94,0.12)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: #3B3752; margin: 0; }

/* === Testimonial === */
.testimonial { max-width: 780px; margin: 0 auto; padding: 2.5rem 1.5rem; text-align: center; position: relative; }
.testimonial__mark { color: var(--color-secondary); opacity: .5; margin-bottom: .5rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 100% 0%, rgba(34,197,94,0.25), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
@media (min-width: 768px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; max-width: 52ch; }

/* === FAQ === */
.faq details { border: 1px solid var(--color-line); background: #fff; border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease-hover); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); cursor: pointer; list-style: none; padding-right: 2rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: .85rem 0 0; color: #3B3752; }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.contact-card { display: grid; gap: 1.25rem; background: #fff; padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-line); box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: .35rem; }
.contact-card p, .contact-card address { margin: 0; color: #3B3752; }

.contact-form { background: #fff; padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-line); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-heading); font-weight: 500; font-size: .9rem; color: var(--color-neutral-dark); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-line); border-radius: 10px; font: inherit; color: var(--color-ink); background: #fff; transition: border .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124,58,237,0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0 1.25rem; font-size: .88rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding-top: 3.5rem; margin-top: 2rem; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; margin-bottom: .85rem; letter-spacing: 0.1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.site-footer__tagline { color: rgba(255,255,255,0.7); max-width: 30ch; margin-top: .5rem; }
.logo--footer { background: rgba(255,255,255,0.08); padding: .5rem .75rem; border-radius: 10px; display: inline-block; }
.logo--footer img { height: 56px; }
.site-footer__legal { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .88rem; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,0.15); padding-block: 1.25rem; color: rgba(255,255,255,0.6); font-size: .85rem; }

/* === 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.15rem 1.25rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .5rem; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
