/* ==========================================================================
   Studio Emy — DA v3 « doux & lumineux »
   Crème, pêche, lilas. Un objet 3D nacré qui se transforme au fil du scroll.
   Typographie : Outfit (une seule famille, graisses légères).
   ========================================================================== */

/* Police hébergée sur le site (aucun appel à Google Fonts) */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 200 600; font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 200 600; font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #FBF6F0;
  --sand: #F3EAE0;
  --peach: #F4B99C;
  --apricot: #EE9E7B;
  --lilac: #D9CFF3;
  --sky: #CFE1F4;
  --ink: #2A2421;
  --muted: #6B5F57;
  --line: rgba(42, 36, 33, .1);
  --accent: #A84B2B;                 /* texte accentué lisible sur crème */
  --glass: rgba(255, 255, 255, .55);
  --grad: linear-gradient(100deg, #C8603A 0%, #B65C7A 50%, #7D63C2 100%);

  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --radius: 28px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 350;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h3 { font-weight: 450; letter-spacing: -.015em; line-height: 1.25; }
em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
p { margin: 0 0 1.1rem; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }

::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 2000; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 450; letter-spacing: .01em; color: var(--accent);
  margin-bottom: 1.25rem;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* ---------- Ambiance de fond ---------- */
.aura { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aura i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aura i:nth-child(1) { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: var(--peach); animation: drift1 26s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 45vw; height: 45vw; right: -14vw; top: 20vh; background: var(--lilac); animation: drift2 32s ease-in-out infinite alternate; }
.aura i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; bottom: -22vw; background: var(--sky); animation: drift3 28s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-12vw, 18vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-16vw, -14vh) scale(1.15); } }

.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
main, .site-footer { position: relative; z-index: 2; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 1500;
  display: grid; place-items: center;
  background: var(--cream);
  overflow: hidden;
}
.intro-brand { display: flex; align-items: center; gap: clamp(.8rem, 1.4vw, 1.1rem); }
.intro-logo { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; letter-spacing: -.03em; }
/* Le point du logo, en grand : dégradé + reflet, comme le favicon */
.intro-mark { position: relative; width: clamp(28px, 2.6vw, 38px); aspect-ratio: 1; flex: none; }
.intro-dot, .intro-ring { position: absolute; inset: 0; border-radius: 50%; will-change: transform, opacity; }
.intro-dot {
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 45%),
    linear-gradient(135deg, #E07A52 0%, #C9688F 50%, #8E73D6 100%);
  box-shadow: 0 0 0 6px rgba(244, 185, 156, .3);
}
.intro-ring { border: 1.5px solid rgba(201, 104, 143, .55); opacity: 0; }

/* ---------- Boutons & liens ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 1rem 1.8rem;
  border: 0; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font: inherit; font-weight: 450; text-decoration: none; cursor: pointer;
  transition: color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); opacity: 0; transition: opacity .5s var(--ease);
}
.btn:hover { box-shadow: 0 14px 34px -14px rgba(182, 92, 122, .6); }
.btn:hover::before { opacity: 1; }
.btn-small { min-height: 44px; padding: .6rem 1.2rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(42, 36, 33, .18); }
.btn-ghost::before { display: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(42, 36, 33, .3); }

.link {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-weight: 450; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 88% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link::after { content: "→"; transition: transform .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 88%; }
.link:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
  padding: clamp(1rem, 2.2vw, 1.5rem) max(.5rem, calc(var(--edge) - .5rem)) 0 max(.5rem, calc(var(--edge) - 1.25rem)); transition: transform .7s var(--ease); }
.site-header.is-hidden { transform: translateY(-120%); }
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  padding: .45rem .5rem .45rem 1.25rem; border-radius: 999px;
  transition: background-color .5s, box-shadow .5s, backdrop-filter .5s;
}
.site-header.is-scrolled .header-inner {
  background: rgba(251, 246, 240, .72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgba(42, 36, 33, .35), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.logo { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-size: 1.2rem; font-weight: 450; letter-spacing: -.03em; text-decoration: none; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(244, 185, 156, .3); }
.site-header nav { margin-left: auto; }
.nav { display: flex; gap: 1.75rem; }
.nav a { display: inline-block; padding: .5rem 0; text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .3s; }
.nav a:hover { color: var(--ink); }
@media (max-width: 960px) { .nav { display: none; } .header-inner .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
/* Le hero tient dans le premier écran : contenu centré, engagements calés en bas */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-block: 7.5rem 2.25rem; }
.hero-inner { position: relative; margin-block: auto; }
.hero-title { font-size: clamp(2.7rem, 6.2vw, 6.3rem); max-width: 12.5ch; margin-bottom: 1.75rem; }
.hero-lead { font-size: clamp(1.08rem, 1.35vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.reassure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.reassure li { padding-top: 1rem; border-top: 1px solid var(--line); display: grid; }
.reassure strong { font-weight: 450; }
.reassure span { color: var(--muted); font-size: .95rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; width: 22px; height: 36px; margin-left: -11px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(42, 36, 33, .3); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 860px) {
  .hero { padding-top: 42svh; }
  .hero-inner { margin-block: auto 0; }
  .reassure { grid-template-columns: 1fr; gap: .25rem; }
  .scroll-cue { display: none; }
}

/* ---------- Services (l'objet 3D se transforme) ---------- */
.service { min-height: 100vh; display: flex; align-items: center; padding-block: 6rem; }
.service-text { max-width: 520px; }
.service-right .service-text { margin-left: auto; }
.service h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); margin-bottom: 1.5rem; }
.service-text > p:not(.kicker) { color: var(--muted); font-size: 1.1rem; }
.ticks { display: grid; gap: .7rem; margin: 1.75rem 0 1.5rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; align-items: start; }
.ticks li::before {
  content: ""; width: 1.25rem; height: 1.25rem; margin-top: .2rem; border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    var(--grad);
}
@media (max-width: 860px) {
  .service { align-items: flex-end; padding-top: 52svh; min-height: 100svh; }
  .service-right .service-text { margin-left: 0; }
}

/* ---------- Image immersive ---------- */
.immersive { position: relative; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.immersive-frame { position: absolute; inset: 0; overflow: hidden; }
.immersive-frame img { width: 100%; height: 100%; object-fit: cover; }
.immersive-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42, 30, 25, .1), rgba(42, 30, 25, .55)); }
.immersive-quote { position: relative; z-index: 1; margin: 0; padding-inline: var(--gutter); max-width: 1100px; text-align: center; }
.immersive-quote p { margin: 0; color: #FFF8F2; font-size: clamp(1.9rem, 4.4vw, 4rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.immersive-quote em { background: linear-gradient(100deg, #FFD3BC, #F2C4E0 50%, #D8CCFF); -webkit-background-clip: text; background-clip: text; }

/* ---------- À propos ---------- */
.about { padding-block: clamp(6rem, 14vw, 11rem); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.portrait { margin: 0; }
.portrait-img {
  aspect-ratio: 4 / 5; border-radius: 40px; overflow: hidden; background: #111;
  box-shadow: 0 40px 80px -50px rgba(120, 70, 50, .5);
}
.portrait-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait figcaption { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.about-text h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); margin-bottom: 1.5rem; }
.about-text > p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.values { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.values > div {
  display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .4rem 2rem; align-items: baseline;
  padding-block: 1.4rem; border-bottom: 1px solid var(--line);
}
.values h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.2rem; }
.values h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.values p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 46ch; }
@media (max-width: 640px) { .values > div { grid-template-columns: 1fr; } .values p { padding-left: 1.2rem; } }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
}

/* ---------- Têtes de section ---------- */
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); max-width: 16ch; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-note { color: var(--muted); max-width: 36ch; margin: 0; }

/* ---------- Secteurs ---------- */
.sectors { padding-block: clamp(4rem, 10vw, 8rem); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.tile-img { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem; }
.tile-img img { width: 100%; height: 115%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.tile p { color: var(--muted); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile-img { aspect-ratio: 4 / 3; } }

/* ---------- Approche ---------- */
.approach { padding-block: clamp(4rem, 10vw, 8rem); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps li {
  padding: 1.75rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 24px 50px -36px rgba(120, 70, 50, .4);
}
.step-n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  margin-bottom: 2.5rem; background: var(--grad); color: #fff; font-weight: 400;
}
.steps h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Réalisations ---------- */
.work { padding-block: clamp(4rem, 10vw, 8rem); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.case {
  display: flex; flex-direction: column;
  padding: .6rem .6rem 1.75rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 24px 50px -36px rgba(120, 70, 50, .4);
}
.case-top {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  min-height: 150px; padding: 1.1rem 1.2rem; border-radius: calc(var(--radius) - 8px); margin-bottom: 1.5rem;
}
.case-top-a { background: radial-gradient(80% 90% at 15% 20%, var(--peach), transparent 70%), radial-gradient(80% 90% at 95% 95%, var(--lilac), transparent 70%), var(--sand); }
.case-top-b { background: radial-gradient(80% 90% at 85% 15%, var(--sky), transparent 70%), radial-gradient(80% 90% at 10% 95%, var(--peach), transparent 70%), var(--sand); }
.case-top-c { background: radial-gradient(80% 90% at 50% 10%, var(--lilac), transparent 70%), radial-gradient(80% 90% at 90% 90%, #F6D9B8, transparent 70%), var(--sand); }
.case-tag { padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: .8rem; font-weight: 450; }
.case-meta { margin: 0; font-size: .9rem; font-weight: 450; color: var(--ink); }
.case h3 { padding-inline: 1.2rem; font-size: 1.35rem; font-weight: 400; margin-bottom: 1.25rem; }
.case-steps { margin: 0; padding-inline: 1.2rem; display: grid; gap: 1rem; }
.case-steps dt { font-size: .85rem; font-weight: 450; color: var(--accent); margin-bottom: .2rem; }
.case-steps dd { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
@media (max-width: 1000px) { .cases { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- FAQ ---------- */
.faq-section { padding-block: clamp(4rem, 10vw, 8rem); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 72px; padding-block: 1.25rem;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 400; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--peach); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); max-width: 58ch; padding-bottom: 1.5rem; margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Outro ---------- */
.outro { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.outro-title { margin: 0; font-size: clamp(3rem, 10vw, 10rem); font-weight: 250; letter-spacing: -.055em; line-height: .98; text-wrap: balance; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(3rem, 8vw, 6rem) clamp(5rem, 10vw, 8rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-text h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); margin-bottom: 1.5rem; }
.contact-text > p { color: var(--muted); font-size: 1.1rem; }
.contact-direct { display: grid; gap: .4rem; margin-top: 2rem; }
.contact-direct a { text-decoration: none; font-size: 1.2rem; }
.contact-direct a:hover { color: var(--accent); }
.contact-direct li:last-child { color: var(--muted); }

.form {
  display: grid; gap: 1.1rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: 36px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 40px 80px -50px rgba(120, 70, 50, .45);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: .92rem; font-weight: 450; padding: 0; }
.field label span { color: var(--muted); font-weight: 350; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .85rem 1.1rem;
  font: inherit; color: var(--ink);
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(42, 36, 33, .12); border-radius: 16px;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--apricot); box-shadow: 0 0 0 4px rgba(244, 185, 156, .35); }
.field ::placeholder { color: #9A8D84; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px;
  background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(42, 36, 33, .12);
  font-size: .95rem; transition: background .3s, box-shadow .3s, color .3s;
}
.choices input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form .btn { justify-self: start; margin-top: .5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sand); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font-size: .95rem; font-weight: 450; margin-bottom: .9rem; }
.footer-grid li { color: var(--muted); font-size: .95rem; margin-bottom: .35rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-note { color: var(--muted); max-width: 34ch; margin-top: 1rem; font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Sans WebGL : on retire l'espace réservé à l'objet sur mobile */
.no-webgl .hero, .no-webgl .service { padding-top: 8rem; }

@media (prefers-reduced-motion: reduce) {
  .aura i, .scroll-cue span { animation: none; }
}

/* Mots découpés pour les apparitions (le dégradé passe sur chaque mot) */
.w { display: inline-block; will-change: transform, opacity, filter; }
em.is-split { background: none; color: inherit; }
em.is-split .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.immersive-quote em.is-split .w { background: linear-gradient(100deg, #FFD3BC, #F2C4E0 50%, #D8CCFF); -webkit-background-clip: text; background-clip: text; }
.form-status { margin: 0; font-size: .92rem; color: var(--muted); }
.logo, .btn { white-space: nowrap; }
@media (max-width: 420px) {
  .header-inner { gap: 1rem; padding-left: .75rem; }
  .header-inner .btn-small { padding-inline: 1rem; font-size: .9rem; }
}

/* ==========================================================================
   Version PHP : pages de destination, formulaire, pages légales
   ========================================================================== */

/* Tuiles secteurs cliquables */
a.tile { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); }
a.tile .link { margin-top: .25rem; }
.case-link { margin: auto 1.2rem 0; padding-top: 1.25rem; }

/* Formulaire */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-consent { margin: 0; font-size: .85rem; color: var(--muted); }
.form-consent a { color: inherit; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #2E7D4F; font-weight: 450; }
.form-status.is-error { color: #A8321F; font-weight: 450; }
.field-error { margin: .2rem 0 0; font-size: .85rem; color: #A8321F; }
.field [aria-invalid="true"] { border-color: #D27A63; box-shadow: 0 0 0 4px rgba(210, 122, 99, .18); }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* Hero des pages internes */
.hero-page { min-height: 92svh; }
.hero-page .hero-title { font-size: clamp(2.4rem, 4.9vw, 5rem); max-width: 13ch; }
.hero-page .hero-lead { max-width: 42ch; }
.hero-legal, .hero-404 { min-height: auto; padding-block: 10rem 2rem; }
.hero-404 { min-height: 100svh; justify-content: center; }
.breadcrumb { margin-bottom: 1.75rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 860px) { .hero-page { padding-top: 46svh; } }

/* Constat */
.pains { padding-block: clamp(4rem, 9vw, 7rem); }
.pains-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pains h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.pain-list { border-top: 1px solid var(--line); }
.pain-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; padding-block: 1.15rem; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.pain-list li::before { content: ""; width: 10px; height: 10px; margin-top: .55em; border-radius: 50%; background: var(--grad); }
@media (max-width: 860px) { .pains-grid { grid-template-columns: 1fr; } }

/* Photo de secteur */
.page-photo { margin: 0 auto clamp(2rem, 6vw, 4rem); }
.page-photo-frame { aspect-ratio: 21 / 9; border-radius: 36px; overflow: hidden; }
.page-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .page-photo-frame { aspect-ratio: 4 / 3; } }

/* Offre */
.features { padding-block: clamp(4rem, 9vw, 7rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature {
  padding: 1.75rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 24px 50px -36px rgba(120, 70, 50, .4);
}
.feature h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; margin-bottom: .6rem; }
.feature h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.feature p { margin: 0; color: var(--muted); line-height: 1.6; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* Fondatrice (pages internes) */
.founder { padding-block: clamp(2rem, 6vw, 4rem); }
.founder-card {
  display: grid; grid-template-columns: 180px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  max-width: 980px; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 36px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75), 0 30px 60px -40px rgba(120, 70, 50, .45);
}
.founder-card img { width: 180px; height: 180px; object-fit: cover; border-radius: 28px; }
.founder-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .8rem; }
.founder-card p:not(.kicker) { color: var(--muted); }
.founder-card .kicker { margin-bottom: .75rem; }
@media (max-width: 640px) { .founder-card { grid-template-columns: 1fr; } }

/* À lire aussi */
.related { padding-block: clamp(3rem, 7vw, 5rem); }
.related-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1.5rem; }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related-list a {
  display: grid; gap: .3rem; height: 100%; padding: 1.4rem 1.5rem; border-radius: 22px; text-decoration: none;
  background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, box-shadow .3s, transform .4s var(--ease);
}
.related-list a:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(42, 36, 33, .18); transform: translateY(-3px); }
.related-list span { font-size: 1.15rem; font-weight: 450; }
.related-list span::after { content: " →"; }
.related-list small { color: var(--muted); font-size: .88rem; }
.related-404 { margin-top: 2.5rem; max-width: 900px; }
@media (max-width: 860px) { .related-list { grid-template-columns: 1fr; } }

/* Pages légales */
.legal { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 .8rem; }
.prose p { color: var(--muted); }
.prose a { color: var(--accent); }

.footer-bottom a { color: inherit; }
