@font-face { font-family:Lora; font-style:normal; font-weight:400 700; font-display:swap; src:url('/assets/fonts/lora-latin.woff2') format('woff2'); }
@font-face { font-family:Inter; font-style:normal; font-weight:400 900; font-display:swap; src:url('/assets/fonts/inter-latin.woff2') format('woff2'); }
/* Adaptations AlphaCoders, comportement accessible et pages légales.
   La mise en page de référence se trouve dans assets/css/reference.css. */
:root { --alpha-blue:#3764b5; --alpha-ink:#20213f; --alpha-pink:#b63f79; }
[hidden] { display:none !important; }
.icon-library { position:absolute; width:0; height:0; overflow:hidden; }
.alpha-wordmark { width:200px; height:40px; object-fit:contain; }
.brand-inline { display:inline-block; width:118px; height:auto; vertical-align:-.18em; object-fit:contain; }
.brand-heading { width:190px; max-width:42vw; }
.brand-mini { width:86px; vertical-align:-.14em; }
.brand-copyright { width:72px; }
.footer-brand { width:200px; height:40px; object-fit:contain; padding:5px 8px; border-radius:8px; background:#fff; }
html { scroll-behavior:smooth; scroll-padding-top:100px; }
.header-actions { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.language-select { min-height:44px; width:128px; padding:0 10px; border:1px solid #20213f26; border-radius:12px; background:#fff; color:var(--alpha-ink); font:600 13px/1 Inter,sans-serif; cursor:pointer; }
.step-icon { display:flex; align-items:center; justify-content:center; align-self:center; flex-shrink:0; width:60px; height:60px; padding:10px; margin-bottom:20px; border-radius:12px; background:#ffffffb3; }
.step-icon img { width:40px; height:40px; object-fit:contain; }
.icon-credits { padding:20px 24px 56px; color:#c3c5d1; text-align:center; font-size:11px; }
.icon-credits a { text-decoration:underline; text-underline-offset:3px; }
.motion-card, .price-card, .program-panel, #contact .framer-card { transition:transform 300ms cubic-bezier(.22,.61,.36,1); }
.site-header a, .site-header button, .language-select { transition:background-color 200ms ease,color 200ms ease,transform 200ms ease; }
.faq-toggle { transition:background-color 200ms ease,color 200ms ease; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 .motion-card:hover, .price-card:hover { transform:translateY(-5px) scale(1.015); }
 .program-panel:hover, #contact .framer-card:hover { transform:translateY(-3px) scale(1.008); }
 .site-header a:hover { transform:translateY(-1px); }
 .faq-toggle:hover { background-color:#e7edf8; }
}
.program-panel:not([hidden]) { animation:panel-enter 280ms cubic-bezier(.22,.61,.36,1); }
@keyframes panel-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.floating-trial { position:fixed; z-index:60; right:20px; bottom:20px; display:none; align-items:center; gap:9px; max-width:calc(100vw - 32px); min-height:52px; padding:0 18px; border:2px solid #fff; border-radius:999px; font:700 14px/1.2 Inter,sans-serif; text-decoration:none; }
.floating-trial svg { width:17px; height:17px; flex:none; }
.trial-cta {
 background-color:#f3c94d;
 color:var(--alpha-ink);
 font-weight:800;
 box-shadow:0 4px 12px #20213f30;
}
.trial-cta:hover { filter:brightness(1.08); }
@media (prefers-reduced-motion:no-preference) {
 .trial-cta:not(:disabled) { animation:trial-pulse 2s ease-in-out infinite; }
}
@keyframes trial-pulse {
 0%,100% { background-color:#f3c94d; box-shadow:0 4px 12px #20213f30,0 0 0 0 #f3c94d00; }
 45%,55% { background-color:#fff0a0; box-shadow:0 5px 16px #20213f40,0 0 0 5px #f3c94d85; }
}
.pricing-track { position:relative; padding-top:1.25rem; }
.price-card-banner { width:max-content; max-width:calc(100% - 1rem); text-align:center; }
.price-per-session { display:inline-block; margin-top:.75rem; padding:.375rem 1rem; border-radius:9999px; background:var(--alpha-pink); color:#fff; font-size:.75rem; font-weight:700; }
.pricing-controls { display:none; }
.pricing-cta { display:flex; justify-content:center; margin-top:2.75rem; }
@media (max-width:767px) {
 #faq > .absolute > img { object-position:25% center; }
 .pricing-track {
  display:flex;
  gap:1rem;
  overflow-x:auto;
  padding-inline:.25rem;
  padding-bottom:.75rem;
  scroll-padding-inline:.25rem;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
 }
 .pricing-track::-webkit-scrollbar { display:none; }
 .pricing-track > .price-card {
  flex:0 0 100%;
  min-width:0;
  padding:clamp(1rem,6vw,1.5rem);
  scroll-snap-align:start;
 }
 .pricing-controls { display:flex; justify-content:center; align-items:center; gap:1rem; margin-top:1rem; }
 .pricing-controls button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid #3764b53d;
  border-radius:50%;
  background:#fff;
  color:var(--alpha-blue);
  cursor:pointer;
 }
 .pricing-controls button[aria-disabled="true"] { opacity:.4; cursor:default; }
 .pricing-arrow { width:18px; height:18px; }
 .pricing-arrow-back { transform:rotate(180deg); }
 .pricing-position { min-width:3rem; text-align:center; font-size:.875rem; font-weight:700; color:var(--alpha-ink); }
 .pricing-cta { margin-top:2rem; }
}
.site-header.is-scrolled { background:rgba(248,249,253,.82); backdrop-filter:blur(12px); box-shadow:0 4px 14px #20213f0a; }
.site-header .desktop-nav { background:transparent; border-color:transparent; box-shadow:none; backdrop-filter:none; }
.menu-toggle { min-width:44px; min-height:44px; }
.program-tab[aria-selected="true"] { background-color:var(--tab-color); color:white; box-shadow:0 4px 6px -1px #20213f1a; }
.program-tab[aria-selected="true"]:hover { background-color:var(--tab-color); color:white; }
:focus-visible { outline:3px solid #8caee8; outline-offset:4px; }
.skip-link { position:fixed; z-index:100; left:8px; top:8px; transform:translateY(-150%); background:#20213f; color:white; padding:12px 16px; border-radius:8px; }
.skip-link:focus { transform:translateY(0); }
.honeypot { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.field-error { display:block; margin-top:6px; color:#a83254; font-size:12px; }
.field-error:empty { display:none; }
[aria-invalid="true"] { border-color:#b63f79 !important; }
.form-status:empty { display:none; }
.form-status:not(:empty) { margin-top:16px; padding:12px 14px; border-radius:12px; background:#e9f5ed; color:#256044; font-size:14px; line-height:1.6; }
.form-status[data-state="error"] { background:#fff0f5; color:#9f2e4d; }
.form-status[data-state="loading"] { background:#edf2fc; color:#3764b5; }
#trial-form button:disabled { opacity:.65; cursor:wait; }
.privacy-note { font-size:11px; color:#667085; line-height:1.6; }
.privacy-note a { text-decoration:underline; text-underline-offset:3px; }
.legal-main { padding:140px 24px 80px; background:#f8f9fd; min-height:65vh; }
.legal-main > .container { max-width:1152px; margin:auto; }
.legal-back { display:inline-flex; gap:8px; align-items:center; min-height:44px; color:#3764b5; font-size:14px; }
.legal-article { max-width:795px; margin:24px auto 0; padding:44px; background:white; border:1px solid #20213f0d; border-radius:24px; box-shadow:0 10px 28px #20213f08; }
.legal-article .eyebrow { margin-bottom:12px; color:#3764b5; font-size:12px; font-weight:700; letter-spacing:.08em; }
.legal-article h1 { font-size:44px; line-height:1.15; font-weight:700; letter-spacing:-.04em; }
.legal-updated { margin:14px 0 30px; color:#7b7f91; font-size:12px; }
.legal-article h2 { margin:28px 0 9px; font-size:19px; font-weight:700; }
.legal-article p, .legal-article li { color:#4a5565; font-size:15px; line-height:1.8; }
.legal-article a { color:#3764b5; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:767px) {
 .alpha-wordmark { width:clamp(112px,calc(100vw - 234px),195px); height:34px; }
 .header-actions { gap:8px; }
 #trial-form input, #trial-form select, #trial-form textarea { font-size:16px; }
 .legal-main { padding:112px 20px 60px; }
 .legal-article { padding:24px 20px; }
 .legal-article h1 { font-size:32px; }
 #why-us article { display:grid; grid-template-columns:64px minmax(0,1fr); column-gap:16px; align-items:start; }
 #why-us article > div:first-child { grid-column:1; grid-row:1 / span 2; width:56px; height:56px; margin:2px 0 0; padding:9px; }
 #why-us article h3, #why-us article p { grid-column:2; }
 #why-us article h3 { margin:0 0 8px; font-size:20px; }
 #why-us article p { font-size:14px; }
 #why-us article:nth-child(even) { grid-template-columns:minmax(0,1fr) 64px; text-align:right; }
 #why-us article:nth-child(even) > div:first-child { grid-column:2; }
 #why-us article:nth-child(even) h3, #why-us article:nth-child(even) p { grid-column:1; }
 .floating-trial { right:12px; bottom:12px; min-height:48px; padding:0 15px; font-size:13px; }
 #contact { scroll-margin-top:88px; padding-bottom:88px; }
}
@media (max-width:370px) { .alpha-wordmark { width:112px; } .language-select { width:112px; padding-inline:6px; font-size:12px; } .header-actions { gap:6px; } .site-header > div:first-child { gap:8px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; } .floating-trial { animation:none; } }

/* Le menu compact évite de rogner la navigation sur les tablettes. */
@media (max-width:1279px) {
 .site-header .desktop-nav, .site-header .desktop-cta { display:none; }
 .site-header .menu-toggle { display:flex; align-items:center; justify-content:center; }
 #mobile-nav { position:fixed; inset:0; z-index:1; height:100dvh; max-height:100dvh; overflow-y:auto; overscroll-behavior:contain; padding:24px 16px; border:0; background:#f8f9fd; }
 #mobile-nav:not([hidden]) { display:flex; }
 .site-header .menu-toggle { position:relative; z-index:2; }
 .site-header.is-compact .menu-toggle, .site-header.is-menu-open .menu-toggle, #mobile-nav { pointer-events:auto; }
 .site-header.is-compact .menu-toggle, .site-header.is-menu-open .menu-toggle { width:44px; height:44px; border-radius:50%; background:rgba(248,249,253,.82); backdrop-filter:blur(12px); box-shadow:0 3px 14px #20213f18; border:1px solid #20213f12; }
 .site-header.is-menu-open .header-brand, .site-header.is-menu-open .header-language { visibility:hidden; pointer-events:none; }
 body.mobile-menu-open .floating-trial { visibility:hidden; }
 #mobile-nav .language-select { width:100%; margin-top:8px; }
 .site-header, .site-header.is-scrolled { background:rgba(248,249,253,.82); backdrop-filter:blur(12px); box-shadow:0 4px 14px #20213f0a; }
 .site-header.is-compact, .site-header.is-menu-open { background:transparent; backdrop-filter:none; box-shadow:none; pointer-events:none; }
 .header-language { width:128px; height:44px; flex-shrink:0; }
 .site-header .header-brand, .site-header .header-language { transform-origin:center; transition:transform 400ms cubic-bezier(.22,.61,.36,1),opacity 300ms ease,visibility 0s; }
 .site-header.is-compact .header-brand, .site-header.is-compact .header-language { transform:translate(var(--burger-x),var(--burger-y)) scale(.08); opacity:0; visibility:hidden; pointer-events:none; transition:transform 400ms cubic-bezier(.22,.61,.36,1),opacity 300ms ease,visibility 0s 400ms; }
 .site-header.header-no-motion .header-brand, .site-header.header-no-motion .header-language { transition:none; }
 .mobile-menu-brand { width:160px; height:auto; margin:0 16px 8px; }
 .site-header:not(.is-compact) .mobile-menu-brand { display:none; }
 .site-header.is-menu-open .mobile-menu-brand { display:block; margin:0 16px 24px; max-width:calc(100% - 76px); }
}

/* Le bouton fixe prend le relais quand la navigation complète est masquée. */
@media (max-width:1279px) { .floating-trial { display:inline-flex; } }
@media (min-width:1280px) {
 .desktop-nav a { padding-inline:8px; }
}

/* Chargement : le logo gris retrouve ses couleurs de gauche à droite. */
.page-loader { position:fixed; inset:0; z-index:110; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; background:#f8f9fd; pointer-events:none; }
.loading-logo { display:block; position:relative; width:240px; max-width:72vw; }
.loading-logo img { display:block; width:100%; height:auto; }
.loading-logo-base { filter:grayscale(1); opacity:.3; }
.loading-logo-color { position:absolute; inset:0; clip-path:inset(0 100% 0 0); animation:logo-fill 1.15s cubic-bezier(.4,0,.2,1) infinite; }
.loading-label { color:#667085; font:500 13px/1.5 Inter,sans-serif; }
@keyframes logo-fill { 0% { clip-path:inset(0 100% 0 0); } 85%,100% { clip-path:inset(0 0 0 0); } }
@media (prefers-reduced-motion:reduce) { .loading-logo-color { animation:none; clip-path:inset(0); } }

@media (max-width:370px) { .header-language { width:112px; } }
@media (prefers-reduced-motion:reduce) { .site-header .header-brand, .site-header .header-language { transition:none; } }
