/* Tolosa Gaming — site du studio (version 2 validée par Alban le 26/11/2026).
   Polices auto-hébergées (licence SIL Open Font License) : Unbounded (titres), Bricolage Grotesque (affiche Baladou), Nunito (texte). */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage-grotesque/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --bordeaux: #5E1B2B;        /* titres, boutons : 11,8:1 sur crème */
  --brique-rose: #D8685B;     /* icônes, filets, décor */
  --brique-rose-f: #B5473B;   /* petit texte coloré : 5,01:1 */
  --ocre: #F4A259;            /* étiquettes, texte bordeaux dessus : 6,09:1 */
  --pierre: #F8E4D6;          /* fonds de blocs */
  --sauge: #93A481;           /* petit décor */
  --anthracite: #1F2630;      /* texte courant : 14,3:1 */
  --creme: #FBF7F2;
  --papier: #FFFBF6;
  --encre-douce: #6F6259;     /* texte secondaire : 5,5:1 */
  --ligne: #EADCCB;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: hidden; color: var(--anthracite);
  font-family: "Nunito", system-ui, -apple-system, sans-serif; font-size: 18px; line-height: 1.6;
  background:
    radial-gradient(120% 72% at 50% 0%, #F1A48C 0%, #F6C3A6 26%, #F8E4D6 50%, rgba(251, 247, 242, 0) 76%) no-repeat top / 100% 1040px,
    var(--creme);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); }
h1, h2 { font-family: "Unbounded", sans-serif; font-weight: 600; color: var(--bordeaux); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 60; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brique-rose-f); outline-offset: 3px; }
@media (max-width: 599px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }

/* En-tête */
.site { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 14px; padding-bottom: 14px; }
.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--bordeaux); font: 600 14px/1 "Unbounded", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.marque img { width: 44px; height: 44px; }
.site ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site nav a { display: inline-block; padding: 10px 0; color: var(--anthracite); text-decoration: none; font-weight: 800; font-size: 16px; border-bottom: 2px solid transparent; }
.site nav a:hover { color: var(--bordeaux); border-bottom-color: var(--brique-rose); }
@media (max-width: 640px) {
  .marque-nom { display: none; }
  .site li:not(:last-child) { display: none; }
}

/* Premier écran */
.hero { text-align: center; padding-top: 4px; padding-bottom: 40px; }
.hero-logo { width: clamp(170px, 34vh, 300px); margin: 0 auto 18px; filter: drop-shadow(0 18px 28px rgba(94, 27, 43, .22)); }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.4rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.devise { margin: .9rem 0 0; color: var(--brique-rose-f); font-weight: 900; font-size: clamp(13px, 1.6vw, 15px); letter-spacing: .2em; text-transform: uppercase; }
.chapo { max-width: 36ch; margin: 1rem auto 1.6rem; font-size: clamp(1.1rem, 2.2vw, 1.3rem); text-wrap: balance; }
.boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: 0 1.6rem; border-radius: 999px; font-weight: 900; font-size: 17px; text-decoration: none; transition: background .2s var(--ease), color .2s var(--ease); }
.btn-plein { background: var(--bordeaux); color: #fff; }
.btn-plein:hover { background: var(--brique-rose-f); }
.btn-ligne { border: 2px solid var(--bordeaux); color: var(--bordeaux); background: rgba(255, 251, 246, .6); }
.btn-ligne:hover { background: var(--bordeaux); color: #fff; }
.chevron { font-size: 1.35em; line-height: 1; margin-top: -.08em; }

/* Étiquette ocre */
.etiquette { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--ocre); color: var(--bordeaux); font-weight: 900; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }

/* Filet d'arches (Pont-Neuf) */
.arches { display: block; width: min(1072px, calc(100% - 48px)); height: 48px; margin: 0 auto 32px; fill: none; stroke: var(--brique-rose); stroke-width: 2; }
.arches path { vector-effect: non-scaling-stroke; }

/* Baladou : affiche dans une carte pierre */
.jeu { padding-bottom: 96px; }
.carte-affiche { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; background: var(--pierre); border-radius: 36px; padding: 56px 48px 56px 56px; overflow: hidden; }
.affiche-surtitre { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 1.1rem; }
.nom-jeu { display: inline-flex; align-items: center; gap: .55rem; color: var(--bordeaux); font-weight: 900; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.nom-jeu img { width: 26px; height: auto; }
.jeu h2.affiche {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-stretch: 75%;
  font-variation-settings: "wdth" 75, "opsz" 96; text-transform: uppercase;
  font-size: clamp(3rem, 7.2vw, 5.8rem); line-height: .92; letter-spacing: -.005em; color: var(--bordeaux);
}
.affiche-chapo { max-width: 40ch; margin: 1.3rem 0 1.7rem; font-size: clamp(1.05rem, 1.9vw, 1.2rem); text-wrap: pretty; }
.affiche-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin: 0; }
.bientot { display: inline-flex; align-items: center; gap: .5rem; font-size: 15px; font-weight: 800; color: var(--bordeaux); }
.bientot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sauge); flex: none; }

/* Scène : deux téléphones et des badges */
.telephone { border-radius: 34px; padding: 8px; background: #1E1715; box-shadow: 0 24px 50px rgba(94, 27, 43, .22), 0 4px 12px rgba(43, 36, 32, .12); }
.telephone img { border-radius: 27px; width: 100%; aspect-ratio: 480 / 1043; object-fit: cover; }
.scene { position: relative; height: 540px; }
.scene .telephone { position: absolute; width: 210px; }
.tel-1 { left: 10%; top: 44px; transform: rotate(-6deg); z-index: 2; }
.tel-2 { left: 44%; top: 0; transform: rotate(5deg); z-index: 1; }
.badge { position: absolute; width: 120px; z-index: 3; filter: drop-shadow(0 12px 18px rgba(94, 27, 43, .25)); }
.b1 { left: -2%; top: 320px; transform: rotate(-8deg); }
.b2 { right: -6px; top: -10px; transform: rotate(9deg); width: 104px; }
.b3 { right: 2%; top: 380px; transform: rotate(-4deg); width: 108px; }

/* Studio : photo en arche + texte */
.studio { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; padding-bottom: 96px; }
.studio-photo { margin: 0; }
.studio-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 38% 50%; border-radius: 999px 999px 28px 28px; border: 6px solid var(--papier); box-shadow: 0 18px 40px rgba(94, 27, 43, .16); }
.studio-photo figcaption { margin-top: .6rem; font-size: 13px; line-height: 1.4; color: var(--encre-douce); text-align: center; }
.studio-photo figcaption a { color: var(--encre-douce); }
.studio-texte .etiquette { margin-bottom: 1rem; }
.studio h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 1rem; }
.studio p { margin: 0 0 1rem; font-size: 1.15rem; max-width: 44ch; }

/* Contact */
.contact { padding-bottom: 88px; }
.contact-bloc { text-align: center; background: var(--pierre); border-radius: 36px; padding: 64px 24px; border-top: 4px solid var(--brique-rose); }
.contact h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.contact p { margin: 0 0 1.4rem; font-size: 1.15rem; }

/* Pied de page */
.pied { text-align: center; padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--ligne); color: var(--encre-douce); font-size: 15px; }
.pied img { width: 150px; margin: 0 auto 8px; }
.pied-devise { margin: 0 0 .6rem; font-size: 12.5px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--brique-rose-f); }
.pied p { margin: 0; }
.pied a { color: var(--encre-douce); }

/* Pages de texte (mentions légales, 404) */
.page-texte { max-width: 760px; margin: 0 auto; padding: 24px 24px 72px; }
.page-texte h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 .3rem; }
.page-texte h2 { font-size: 1.2rem; margin: 2rem 0 .5rem; }
.page-texte .version { margin: 0 0 1.4rem; color: var(--encre-douce); }
.page-texte ul { padding-left: 1.2rem; margin: .5rem 0 1rem; }
.page-texte li + li { margin-top: .3rem; }
.page-texte p { margin: 0 0 1rem; }
.page-404 { text-align: center; padding-top: 48px; }
.page-404 img { width: 160px; margin: 0 auto 20px; }
@media (max-width: 599px) { .page-texte { padding-left: 16px; padding-right: 16px; } }

@media (max-width: 900px) {
  .carte-affiche { grid-template-columns: 1fr; padding: 36px 20px 24px; gap: 8px; border-radius: 28px; }
  .scene { height: 450px; max-width: 440px; width: 100%; margin: 0 auto; }
  .scene .telephone { width: 172px; }
  .tel-1 { left: 8%; top: 40px; }
  .tel-2 { left: 47%; }
  .badge { width: 90px; }
  .b1 { top: 270px; left: 0; } .b2 { width: 80px; right: 0; } .b3 { top: 320px; width: 82px; }
  .studio { grid-template-columns: 1fr; gap: 28px; }
  .studio-photo { max-width: 420px; width: 100%; margin: 0 auto; }
  .arches { width: calc(100% - 32px); height: 36px; margin-bottom: 24px; }
}
@media (max-width: 420px) {
  .scene { height: 378px; }
  .scene .telephone { width: 148px; }
  .tel-1 { left: 4%; }
  .badge { width: 76px; }
  .b1 { top: 240px; } .b2 { width: 70px; } .b3 { top: 285px; width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
