/* =========================================================
   JIYU Studio — feuille de style du site
   Pour changer les couleurs : modifier UNIQUEMENT le bloc :root
   ========================================================= */

@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bagel Fat One"; src: url("../fonts/bagel-fat-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* Palette — DA « Plein Sud » (validée le 06/10/2026) */
  --creme: #FFF5EA;          /* fond principal (55 %) */
  --ciel: #D6E6F5;           /* bleu ciel pâle : fonds secondaires, cartes, bordures (15 %) */
  --nuit: #14284B;           /* bleu nuit : tous les textes (12 %) */
  --bleu: #1F4E9C;           /* bleu Méditerranée : grands aplats, titres forts, rayures, soleil (10 %) — jamais pour un paragraphe */
  --cerise: #D81B45;         /* cerise : logo, boutons d'action, mots forts (8 %) — jamais en fond large */
  --cerise-fonce: #B8143A;   /* survol des boutons cerise */
  --nuit-fonce: #0E1C36;     /* survol des boutons bleu nuit */

  --font-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Bagel Fat One", "DM Sans", sans-serif;

  --largeur: 1240px;
  --pilule: 999px;
  --rayon-carte: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--nuit); font-family: var(--font-texte); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--cerise); }
a:hover { color: var(--nuit); }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--nuit); color: var(--creme); padding: 10px 16px; border-radius: var(--pilule); }
.skip-link:focus { left: 16px; }

.wrap { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soutenu { background: var(--ciel); }
.section--sombre { background: var(--bleu); color: var(--creme); }
.section--bleu { background: var(--bleu); color: var(--creme); }

/* ---------- Éléments communs ---------- */
.etiquette { display: inline-block; padding: 7px 14px; border-radius: var(--pilule); border: 1.5px solid currentColor; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.titre { font-size: clamp(32px, 4vw, 50px); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
.chapo { font-size: 18px; line-height: 1.6; max-width: 640px; }
.entete-section { display: flex; flex-direction: column; gap: 14px; max-width: 700px; margin-bottom: 40px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: var(--pilule); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--plein { background: var(--cerise); color: var(--creme); border-color: var(--cerise); }
.btn--plein:hover { color: var(--creme); background: var(--cerise-fonce); border-color: var(--cerise-fonce); }
.btn--contour { background: transparent; color: var(--nuit); border-color: var(--nuit); }
.btn--contour:hover { background: var(--nuit); color: var(--creme); }
.btn--creme { background: var(--creme); color: var(--nuit); border-color: var(--creme); }
.btn--creme:hover { color: var(--nuit); background: #fff; }
.btn--petit { min-height: 44px; padding: 10px 18px; font-size: 14px; }

.photo { position: relative; border-radius: var(--pilule); background-color: var(--ciel); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ombres de persiennes */
.photo::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(20,40,75,.10) 0 22px, rgba(74,14,34,0) 22px 46px); pointer-events: none; }
.photo__legende { position: relative; z-index: 1; margin-bottom: 15%; background: var(--creme); padding: 6px 14px; border-radius: var(--pilule); font-size: 13px; font-weight: 500; }

.rayures { height: 22px; background-image: repeating-linear-gradient(90deg, var(--bleu) 0 14px, var(--creme) 14px 28px); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,245,234,.95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--ciel); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-family: var(--font-logo); font-size: 34px; line-height: 1; color: var(--cerise); text-decoration: none; }
.logo:hover { color: var(--cerise); }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--nuit); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 0; }
.nav a:hover { color: var(--cerise); }
.entete__actions { display: flex; gap: 10px; align-items: center; }
.nav__compte { display: none; }
.menu-bouton { display: none; width: 48px; height: 48px; border-radius: var(--pilule); border: 2px solid var(--nuit); background: transparent; color: var(--nuit); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; }
.hero__grille { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__texte { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero__logo { font-family: var(--font-logo); font-weight: 400; font-size: clamp(84px, 13vw, 168px); line-height: .88; color: var(--cerise); }
.hero__accroche { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__visuel { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; position: relative; }
.hero__visuel .photo { width: min(100%, 420px); aspect-ratio: 3 / 4.6; }
.soleil { position: absolute; top: 18px; left: max(0px, calc(50% - 260px)); width: 148px; height: 148px; border-radius: 50%; background: var(--bleu); color: var(--creme); display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; font-size: 17px; line-height: 1.15; padding: 18px; transform: rotate(-12deg); }

/* ---------- Concept ---------- */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.etape { background: var(--creme); border-radius: var(--rayon-carte); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.etape__num { align-self: flex-start; padding: 6px 16px; border-radius: var(--pilule); background: var(--bleu); color: var(--creme); font-weight: 700; font-size: 15px; }
.etape h3 { font-size: 22px; }

/* ---------- Studio ---------- */
.studio { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.studio__photos { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.studio__photos .photo:nth-child(1) { aspect-ratio: 1 / 2; }
.studio__photos .photo:nth-child(2) { aspect-ratio: 1 / 2.4; }
.studio__photos .photo:nth-child(3) { aspect-ratio: 1 / 1.7; }
.studio__photos .photo__legende { font-size: 12px; text-align: center; margin-left: 6px; margin-right: 6px; }
.studio__texte { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }
.chiffre { border: 2px solid var(--ciel); border-radius: 24px; padding: 18px 20px; display: flex; flex-direction: column; }
.chiffre strong { font-size: 34px; color: var(--bleu); line-height: 1.1; }
.chiffre span { font-size: 15px; line-height: 1.4; }

/* ---------- Tarifs ---------- */
.tarifs__entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.tarifs__entete .entete-section { margin-bottom: 0; }
.onglets { display: flex; gap: 6px; background: var(--ciel); border-radius: var(--pilule); padding: 6px; }
.onglet { min-height: 44px; padding: 10px 20px; border-radius: var(--pilule); border: 0; background: transparent; color: var(--nuit); font-weight: 700; font-size: 15px; cursor: pointer; }
.onglet[aria-selected="true"] { background: var(--bleu); color: var(--creme); }
.offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.offres[hidden] { display: none; }
.offre { border-radius: 32px; padding: 30px; display: flex; flex-direction: column; gap: 14px; background: var(--creme); border: 2px solid var(--ciel); }
.offre--phare { background: var(--bleu); color: var(--creme); border-color: var(--bleu); }
.offre--phare .offre__prix strong { color: var(--creme); }
.offre--phare .btn--plein { background: var(--creme); color: var(--nuit); border-color: var(--creme); }
.offre--phare .btn--plein:hover { background: #fff; color: var(--nuit); border-color: #fff; }
.offre__badge { align-self: flex-start; background: var(--cerise); color: var(--creme); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--pilule); text-transform: uppercase; letter-spacing: .06em; }
.offre h3 { font-size: 26px; }
.offre__prix { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.offre__prix strong { font-size: 48px; line-height: 1; color: var(--bleu); }
.offre__prix span { font-size: 15px; font-weight: 500; }
.offre ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.45; display: flex; flex-direction: column; gap: 6px; }
.offre .btn { margin-top: auto; }
.chaussettes { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; border: 2px solid var(--ciel); border-radius: 40px; padding: 14px 28px 14px 14px; }
.chaussettes__visuel { width: 96px; height: 56px; border-radius: var(--pilule); border: 2px solid var(--bleu); background-image: repeating-linear-gradient(90deg, var(--bleu) 0 8px, var(--creme) 8px 16px); flex: 0 0 auto; }
.chaussettes__texte { flex: 1 1 240px; display: flex; flex-direction: column; }
.chaussettes__prix { font-size: 30px; font-weight: 700; color: var(--bleu); }
.note { margin-top: 20px; font-size: 14px; }

/* ---------- Planning (widget Sportigo) ---------- */
.planning__grille { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.widget { flex: 999 1 560px; min-width: 0; min-height: 420px; background: var(--creme); color: var(--nuit); border-radius: var(--rayon-carte); padding: 24px; }
.widget__attente { height: 100%; min-height: 372px; border: 2px dashed var(--ciel); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.planning__infos { flex: 1 1 300px; min-width: 0; background: var(--creme); color: var(--nuit); border-radius: var(--rayon-carte); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.planning__infos h3 { font-size: 22px; line-height: 1.2; }
.legende-hc { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.pastille-hc { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--pilule); background: var(--bleu); color: var(--creme); }
.surtitre-bleu { color: var(--bleu); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Application ---------- */
.app { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.app__texte { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.app__liste { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: 16px; }
.app__liste li { padding-left: 26px; position: relative; }
.app__liste li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--bleu); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.store { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 22px 10px 16px; border-radius: var(--pilule); background: var(--nuit); color: var(--creme); text-decoration: none; }
.store:hover { color: var(--creme); background: var(--nuit-fonce); }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store__haut { font-size: 12px; }
.store strong { font-size: 18px; }
.store--bientot { background: transparent; color: var(--nuit); border: 2px dashed var(--nuit); cursor: default; opacity: .75; }
.store--bientot:hover { background: transparent; color: var(--nuit); }
.store .store__bientot { position: absolute; top: -10px; right: 12px; background: var(--bleu); color: var(--creme); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--pilule); text-transform: uppercase; letter-spacing: .04em; }
.app__web { font-size: 15px; }
.app__visuel { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.telephone { width: 260px; aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--nuit); padding: 12px; }
.telephone__ecran { height: 100%; border-radius: 34px; background: var(--creme); padding: 28px 18px; display: flex; flex-direction: column; gap: 16px; }
.telephone__logo { font-family: var(--font-logo); color: var(--cerise); font-size: 30px; line-height: 1; }
.telephone__carte { background: var(--ciel); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.telephone__carte strong { font-size: 18px; }
.telephone__bouton { background: var(--cerise); color: var(--creme); border-radius: var(--pilule); text-align: center; padding: 12px; font-weight: 700; font-size: 15px; }
.telephone__ligne { height: 12px; border-radius: var(--pilule); background: var(--ciel); }
.telephone__ligne--courte { width: 60%; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq__liste { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 2px solid var(--ciel); border-radius: var(--rayon-carte); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-size: 18px; font-weight: 700; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--ciel); color: var(--nuit); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--bleu); color: var(--creme); }
.faq details p { padding: 0 22px 22px; }

/* ---------- Citation + pied de page ---------- */
.citation { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: 72px 24px; }
.citation__grand { font-family: var(--font-logo); font-size: clamp(48px, 7vw, 88px); line-height: .95; }
.citation__petit { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin-top: 10px; }
.pied { background: var(--nuit); color: var(--creme); }
.pied a { color: var(--creme); }
.pied a:hover { color: var(--ciel); }
.pied__colonnes { display: flex; flex-wrap: wrap; gap: 32px 64px; font-size: 15px; line-height: 1.8; padding-top: 56px; }
.pied__col { display: flex; flex-direction: column; }
.pied__logo { font-family: var(--font-logo); font-size: 40px; line-height: 1; color: var(--creme); margin-bottom: 6px; }
.pied__bas { padding: 40px 24px 32px; font-size: 13px; }

/* ---------- Pages légales ---------- */
.page-legale { padding: 64px 0 96px; }
.page-legale .wrap { max-width: 820px; }
.page-legale h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; margin-bottom: 12px; }
.page-legale h2 { font-size: 22px; margin: 36px 0 10px; }
.page-legale p, .page-legale li { margin-bottom: 10px; }
.a-completer { background: var(--ciel); padding: 0 6px; border-radius: 4px; }

/* ---------- Mobile ---------- */
@media (max-width: 920px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--creme); border-bottom: 1px solid var(--ciel); padding: 8px 24px 16px; }
  .nav.ouvert { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--ciel); }
  .menu-bouton { display: inline-flex; }
  .entete__actions .btn--contour { display: none; }
  .nav .nav__compte { display: block; font-weight: 700; color: var(--cerise); border-bottom: 0; }
}
@media (max-width: 1100px) and (min-width: 921px) {
  .nav { gap: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 40px; }
  .hero__visuel .photo { aspect-ratio: 4 / 5; }
  .chiffre strong { font-size: 28px; white-space: nowrap; }
  .soleil { width: 116px; height: 116px; font-size: 14px; top: 0; left: 0; }
  .studio__photos { gap: 10px; }
  .chaussettes { border-radius: 28px; padding: 18px; }
  .app__liste { grid-template-columns: 1fr; }
  .telephone { width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}
