/* Focus Qualité — feuille de style unique. Reprend le design de la version Wix :
   fond blanc, bandes jaunes, texte et boutons noirs, Space Grotesk. */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #ffbf23;
  --yellow-hover: #ffce26;
  --black: #000000;
  --white: #ffffff;
  --grey: #6e6e6e;
  --tint: #f7f7f7;
  --radius: 3px;
  --pad: clamp(1rem, 6.2vw, 7rem);
  --font-title: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* Wix utilise Proxima Nova (police sous licence) ; Figtree, libre, est la substitution auto-hébergée. */
  --font: "Proxima Nova", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.5; color: var(--black); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--white); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; outline-color: var(--yellow); }

h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }

/* En-tête */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1rem, 2.6vw, 3.2rem); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--black); }
.logo { flex: none; display: block; width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 1.125rem; }
.brand-tag { font-size: .6875rem; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .8125rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--grey); }
.site-nav a.btn[aria-current="page"] { color: var(--black); }

/* Boutons */
.btn { display: inline-block; font: inherit; font-size: .8125rem; font-weight: 700; text-decoration: none; text-align: center; padding: .65rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--black); cursor: pointer; transition: background .15s ease; }
.btn-black { background: var(--black); color: var(--white); }
.btn-black:hover { background: #1a1a1a; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-hover); }
.site-nav a.btn:hover { text-decoration: none; }

/* Hero */
.hero { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 4rem var(--pad) 9rem; min-height: clamp(30rem, 34vw, 46rem); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(72vw, 1500px); height: min(11vw, 230px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(#eaeaea, #ffffff); z-index: 0; }
.hero-text { position: relative; z-index: 1; flex: 1 1 20rem; max-width: 30rem; }
.hero h1 { font-size: 2.5rem; line-height: 1.12; max-width: 11em; margin-bottom: 1.5rem; }
.hero p { max-width: 17.5rem; line-height: 1.45; margin-bottom: 1.5rem; }
.hero-art { position: relative; z-index: 1; flex: 0 1 29rem; }
.pillars { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.pillars li { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; line-height: 1.25; max-width: 9.5rem; }
.ico { flex: none; width: 26px; height: 26px; background: var(--black); border-radius: 4px; display: grid; place-items: center; }
.ico svg { width: 16px; height: 16px; }

/* Bande jaune (mission) */
.band-yellow { background: var(--yellow); padding: 5rem var(--pad); }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.mission h2 { font-size: 2rem; line-height: 1.3; max-width: 13em; }
.mission p { font-size: .9375rem; line-height: 1.65; max-width: 26rem; margin: 0; }

/* Sections blanches */
.section { padding: 4.5rem var(--pad); }
.section h2 { font-size: 2rem; line-height: 1.25; margin-bottom: 2rem; }
.eyebrow { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .5rem; }
.narrow { max-width: 46rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }
.card { border: 1px solid var(--black); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; overflow: hidden; }
.card .media { background: var(--tint); height: 12rem; }
.card .media img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.card-body { padding: 1.25rem; }
.card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: .5rem; }
.card p { font-size: .9375rem; margin: 0; }

.team { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3rem; }
.team .media { width: min(100%, 287px); aspect-ratio: 287 / 323; background: var(--tint); }
.team .media img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.25rem; font-weight: 700; margin: 0; }
.team-role { margin: 0; }
.clients { display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: center; margin-top: 2rem; }
.clients img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }

/* Appel à l'action */
.cta { text-align: center; padding: 5rem var(--pad) 0; }
.cta h2 { font-size: 1.75rem; line-height: 1.35; max-width: 40rem; margin: 0 auto 1.5rem; }
.cta-art { max-width: 52rem; margin: 3rem auto 0; }

/* Pied de page */
.site-footer { background: var(--yellow); }
.footer-main { padding: 3rem clamp(1rem, 4.5vw, 5.5rem) 3rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; margin: 3.5rem 0 0 clamp(0rem, 15vw, 18rem); max-width: 80rem; }
.site-footer h2 { font-size: 1rem; font-weight: 700; margin: 0 0 1.5rem; }
.site-footer p, .site-footer li { font-size: .8125rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--black); }
.footer-social a { font-size: 1rem; font-weight: 700; }
.footer-bar { margin: 0; background: var(--black); color: var(--white); text-align: center; font-size: .6875rem; padding: .4rem 1rem; }

/* Page de contact */
.contact { max-width: 40rem; margin: 0 auto; padding: 5rem 1rem 6rem; }
.contact h1 { font-size: 2rem; margin-bottom: 2.25rem; }
.coords { display: flex; flex-wrap: wrap; gap: 1.25rem 4rem; margin-bottom: 2.25rem; font-size: .8125rem; }
.coords strong { display: block; margin-bottom: .6rem; }
.coords a { text-decoration: none; }
.coords a:hover { text-decoration: underline; }
.form { display: grid; gap: 1rem; font-size: .8125rem; }
.form .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.form label { display: block; font-size: .75rem; margin-bottom: .25rem; }
.form input, .form textarea { width: 100%; font: inherit; font-size: .8125rem; color: var(--black); background: var(--white); border: 1px solid var(--black); border-radius: 0; padding: .45rem .6rem; }
.form input { height: 2.1rem; }
.form textarea { min-height: 6.5rem; resize: vertical; }
.form ::placeholder { color: var(--grey); opacity: 1; }
.form .actions { display: flex; justify-content: flex-end; }
.form .actions .btn { width: calc((100% - 2rem) / 3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .8rem 1rem; border: 1px solid var(--black); margin-bottom: 1.25rem; font-weight: 700; font-size: .875rem; }
.notice.ok { background: var(--yellow); }
.notice.err { background: var(--white); }
.notice[hidden] { display: none; }
.hint { font-size: .75rem; color: var(--grey); margin: 0; }

/* Pages légales */
.legal { padding: 4rem var(--pad); }
.legal h1 { font-size: 2.25rem; margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.375rem; font-weight: 700; margin: 2rem 0 .5rem; }
.legal ul { padding-left: 1.2rem; }
.legal p, .legal li { font-size: .9375rem; line-height: 1.65; }
mark.todo { background: var(--yellow); color: var(--black); padding: 0 .3em; font-weight: 700; }

@media (max-width: 720px) {
  .hero { padding-bottom: 7rem; }
  .hero h1 { font-size: 2rem; }
  .mission { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-cols { grid-template-columns: 1fr; margin-left: 0; }
  .form .row { grid-template-columns: 1fr; }
  .form .actions .btn { width: 100%; }
  .site-nav { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

h1, h2, h3, .brand-name, .team-name { font-family: var(--font-title); }
.team .media.round { background: none; }
.clients img[src*="fizz"] { height: 64px; }

/* Démarche, biographie, FAQ, introduction du contact */
.team-bio { margin: .75rem 0 0; max-width: 34rem; }
.steps { list-style: none; counter-reset: etape; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.steps li { counter-increment: etape; border-top: 4px solid var(--yellow); padding-top: 1rem; }
.steps li::before { content: counter(etape, decimal-leading-zero); display: block; font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; margin-bottom: .25rem; }
.faq { max-width: 46rem; margin-top: 1.5rem; border-top: 1px solid #d9d9d9; }
.faq details { border-bottom: 1px solid #d9d9d9; padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq summary:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.faq details p { margin: .75rem 0 0; }
.contact .lead { margin: 0 0 1.5rem; max-width: 40rem; }
