/* Vitrine DK Studio (accueil).
 * Une seule feuille, autonome : une police de titre (Newsreader), une de
 * texte (DM Sans), six couleurs tirées des illustrations, un seul rythme
 * de section. L'élément marquant est le bandeau d'accueil ; le reste se tait. */

@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(fonts/font-0.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(fonts/font-1.ttf) format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-display: swap; src: url(fonts/font-2.ttf) format("truetype"); }
@font-face { font-family: "Newsreader"; font-weight: 400; font-display: swap; src: url(fonts/font-6.ttf) format("truetype"); }
@font-face { font-family: "Newsreader"; font-weight: 500; font-display: swap; src: url(fonts/font-7.ttf) format("truetype"); }

:root {
  --night: #2e1a47;   /* violet profond : bandeaux forts, texte des titres */
  --violet: #472366;  /* violet de la marque : liens, DK Learn */
  --green: #1f5a43;   /* vert bouteille des illustrations : DK Create */
  --gold: #e3b341;    /* or : un seul bouton, les repères */
  --mist: #f4f0f8;    /* lilas très pâle : section alternée */
  --ink: #3d3548;     /* texte courant */
  --muted: #6d6578;
  --white: #fff;
  --wrap: 1160px;
  --pad: clamp(64px, 9vh, 104px);
  --display: "Newsreader", Georgia, serif;
  --text: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--night); margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; max-width: 24ch; text-wrap: balance; }
h3 { font-size: 26px; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); padding: 10px 14px; z-index: 50; }
.skip:focus { top: 12px; }

/* Boutons et liens */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #f0c45a; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--white); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.link { font-weight: 600; color: var(--violet); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.link:hover { color: var(--night); }

/* En-tête : une ligne, 64 px, collée */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .94); backdrop-filter: blur(10px); border-bottom: 1px solid #ebe5f0; }
.top-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { font: 700 26px/1 var(--text); letter-spacing: -0.04em; color: var(--night); text-decoration: none; display: inline-flex; align-items: baseline; }
.logo-dot { color: var(--gold); }
.logo-word { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-left: 4px; }
.top-nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.top-nav a { text-decoration: none; color: var(--ink); }
.top-nav a:hover { color: var(--violet); }

/* Sélecteur de langue */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border: 1.5px solid #ddd3e7; border-radius: 999px; background: var(--white); font: 600 14px var(--text); color: var(--night); cursor: pointer; }
.lang-btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lang-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: var(--white); box-shadow: 0 18px 40px -16px rgb(46 26 71 / .35), 0 0 0 1px #ebe5f0; z-index: 30; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 15px; text-decoration: none; color: var(--ink); }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--mist); }
.lang-menu a[aria-current="true"] { font-weight: 600; color: var(--violet); }

/* Accueil : le seul moment fort de la page */
.hero { background: radial-gradient(120% 90% at 85% 40%, #4a2a6e 0%, var(--night) 60%); color: #e9e2f1; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; min-height: min(640px, calc(100vh - 64px - 64px)); padding-top: 40px; }
.hero h1 { color: var(--white); font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.025em; max-width: 13ch; }
.hero-lead { margin-top: 28px; max-width: 34em; font-size: 19px; color: #d9cfe6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-art { margin: 0 -40px -40px 0; }
.hero-art img { width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 30px 60px rgb(10 0 30 / .45)); animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-for { padding: 22px 0 26px; font-size: 15px; color: #b9acc9; border-top: 1px solid rgb(255 255 255 / .12); }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

/* Rythme commun des sections */
.band { padding-block: var(--pad); }
.band-mist { background: var(--mist); }
.band-night { background: var(--night); color: #e9e2f1; }
.band-night h2 { color: var(--white); }
.lead { margin-top: 18px; max-width: 42em; text-wrap: pretty; font-size: 19px; color: var(--muted); }
.band-night .lead { color: #cfc3dd; }

/* Nos outils : deux panneaux jumeaux, la couleur produit en filet */
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.tool { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start; padding: 32px; border-radius: 24px; background: var(--mist); border-top: 4px solid var(--violet); }
.tool-create { border-top-color: var(--green); }
.tool img { width: 180px; aspect-ratio: 1; object-fit: contain; }
.tool h3 { font-size: 32px; }
.tool p { margin-top: 8px; color: var(--ink); }
.tool ul { margin: 18px 0 22px; padding: 0; list-style: none; font-size: 16px; color: var(--muted); }
.tool li { padding: 7px 0 7px 22px; position: relative; border-top: 1px solid #e3dbea; }
.tool li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }


/* Le film et les publics */
.film-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.publics { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.publics li { padding: 8px 16px; border-radius: 999px; background: var(--mist); color: var(--night); font-size: 15px; font-weight: 500; }
.film-frame { position: relative; margin: 0; }
.film-frame video { width: 100%; border-radius: 20px; background: var(--night); box-shadow: 0 30px 60px -30px rgb(46 26 71 / .5); }
.film-frame figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.film-buttons { position: absolute; right: 14px; top: 14px; display: flex; gap: 8px; }
.film-toggle, .film-full { padding: 8px 16px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .92); font: 600 14px var(--text); color: var(--night); cursor: pointer; }

/* La vision */
.vision-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.vision-art { margin: 0; }
.vision-art figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0 0; }
.split div { padding: 18px 20px; border-radius: 16px; background: var(--white); }
.split dt { font-size: 14px; font-weight: 600; color: var(--violet); }
.split dd { margin: 4px 0 0; font-size: 17px; color: var(--night); }
.quote { text-wrap: balance; margin: 28px 0 0; padding-left: 18px; border-left: 3px solid var(--gold); font: 400 22px/1.4 var(--display); color: var(--night); }

/* Votre terrain : ce qu'on nous dit, ce que l'on construit */
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 44px 0 32px; padding: 0; list-style: none; }
.needs li { padding: 28px 30px; border-radius: 20px; background: var(--mist); }
.need-q { font: 400 24px/1.3 var(--display); color: var(--night); text-wrap: balance; }
.need-a { margin-top: 12px; padding-top: 12px; border-top: 1px solid #ddd2e7; font-size: 17px; color: var(--ink); }

/* La démarche : quatre étapes dans l'ordre */
.demarche-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: center; }
.demarche-art { margin: 0; }
.demarche-art img { max-height: 460px; width: auto; margin-inline: auto; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: etape; }
.steps li { counter-increment: etape; padding: 18px 20px 18px 64px; position: relative; border-radius: 16px; background: var(--white); }
.steps li::before { content: counter(etape); position: absolute; left: 20px; top: 16px; font: 500 30px/1 var(--display); color: var(--gold); }
.steps h3 { font-size: 22px; }
.steps p { margin-top: 4px; font-size: 16px; color: var(--muted); }

/* Nos engagements */
.limits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 40px 0 0; padding: 0; list-style: none; }
.limits li { padding: 22px 0; border-top: 1px solid rgb(255 255 255 / .14); color: #cfc3dd; }
.limits strong { display: block; font: 500 24px/1.3 var(--display); color: var(--white); margin-bottom: 4px; }
.limits-foot { margin-top: 28px; font-size: 15px; color: var(--gold); }

/* Votre projet */
.rdv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rdv-art { margin: 0; }
.rdv-art img { max-width: 460px; margin-inline: auto; }
.slots { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.slot { min-height: 52px; padding: 0 22px; border-radius: 14px; border: 1.5px solid #d8cde4; background: var(--white); font: 600 16px var(--text); color: var(--night); cursor: pointer; }
.slot:hover { border-color: var(--violet); background: var(--mist); }
.rdv-mail { margin-top: 20px; font-size: 16px; color: var(--muted); }

/* Pied de page */
.foot { border-top: 1px solid #ebe5f0; padding: 32px 0; font-size: 15px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a { text-decoration: none; color: var(--muted); }
.foot-nav a:hover { color: var(--violet); }
.foot-copy { margin-left: auto; color: var(--muted); }

/* Tablette */
@media (max-width: 980px) {
  .tools, .rdv-grid, .film-grid, .vision-grid, .demarche-grid { grid-template-columns: 1fr; }
  .demarche-art img { max-height: 300px; }
  .rdv-art { order: 2; }
}

/* Mobile */
@media (max-width: 720px) {
  body { font-size: 17px; }
  .top-nav { display: none; }
  .top-inner { justify-content: space-between; gap: 10px; }
  .lang { margin-left: auto; }
  .top .btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; }
  .hero-art { margin: 0 0 -8px; order: -1; }
  .hero-art img { max-width: 210px; margin-inline: auto; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 17px; }
  .tool { grid-template-columns: 1fr; padding: 24px; }
  .tool { gap: 12px; }
  .tool img { width: 110px; }
  .needs li { padding: 22px; }
  .film-grid, .vision-grid, .demarche-grid, .rdv-grid { gap: 32px; }
  .rdv-art img { max-width: 240px; }
  .steps, .needs, .split { grid-template-columns: 1fr; }
  .need-q { font-size: 21px; }
  .limits { grid-template-columns: 1fr; }
  .foot-copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
}
