/* YoupiSchool · site de présentation */
:root {
  --orange: #F5A20B;
  --orange-2: #FF7A1A;
  --orange-pale: #FFF4DF;
  --marine: #0E3B5C;
  --marine-2: #0A2A42;
  --encre: #13212F;
  --texte: #3F4D5B;
  --gris: #6B7A89;
  --ligne: #E6EAF0;
  --fond: #FFFFFF;
  --fond-teinte: #FFF9EF;
  --vert: #16A34A;
  --rayon: 18px;
  --ombre: 0 24px 60px -20px rgba(14, 59, 92, .25);
  --ombre-douce: 0 10px 30px -12px rgba(14, 59, 92, .18);
  --degrade: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--texte); background: var(--fond); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--encre); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.conteneur { width: min(1200px, 100% - 32px); margin-inline: auto; }
.conteneur-etroit { width: min(820px, 100% - 32px); }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--marine); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.evitement:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .55em; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; padding: 11px 20px; border-radius: 999px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { font-size: 1.15em; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-grand { font-size: 17px; padding: 16px 28px; }
.btn-principal { background: var(--degrade); color: #fff; box-shadow: 0 12px 28px -10px rgba(255, 122, 26, .65); }
.btn-principal:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(255, 122, 26, .75); }
.btn-clair { background: #fff; color: var(--encre); box-shadow: var(--ombre-douce); }
.btn-clair:hover { transform: translateY(-2px); }
.btn-clair small { color: var(--gris); font-weight: 600; }
.btn-blanc { background: #fff; color: var(--marine); }
.btn-blanc:hover { transform: translateY(-2px); }
.btn-contour { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn-contour:hover { background: rgba(255, 255, 255, .12); }
.lecture { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--degrade); color: #fff; margin-left: -8px; }
.lecture svg { fill: currentColor; stroke: none; font-size: 14px; margin-left: 2px; }
.btn:hover .lecture svg { transform: none; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.entete.defile { border-color: var(--ligne); box-shadow: 0 6px 24px -18px rgba(14, 59, 92, .4); }
.entete-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; color: var(--encre); letter-spacing: -.02em; }
.menu { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.menu a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--texte); }
.menu a:not(.btn):hover { color: var(--orange-2); }
.menu-demo { display: none; }
.burger { display: none; }

/* Accroche */
.accroche { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, #FFF8EA 0%, #FFFFFF 85%); }
.halo { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.halo-1 { width: 520px; height: 520px; background: #FFD27A; top: -180px; left: -160px; }
.halo-2 { width: 460px; height: 460px; background: #FFB27A; right: -120px; top: 120px; opacity: .35; }
.accroche-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pastille { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #B45F00; background: #fff; padding: 8px 16px; border-radius: 999px; box-shadow: var(--ombre-douce); }
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); animation: pouls 2s infinite; }
@keyframes pouls { 50% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } }
.accroche h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; margin: 22px 0 20px; }
.degrade { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapo { font-size: 19px; color: var(--texte); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions-centre { justify-content: center; }
.acces-demo { margin-top: 16px; font-size: 14.5px; color: var(--gris); }
.acces-demo a { color: #B45F00; font-weight: 700; text-decoration: none; white-space: nowrap; }
.acces-demo a:hover { text-decoration: underline; }
.garanties { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.garanties li { display: flex; align-items: center; gap: 10px; }
.garanties svg { color: var(--vert); font-size: 18px; flex: none; }

.accroche-visuel { position: relative; }
.fenetre { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--ombre), 0 0 0 1px rgba(14, 59, 92, .06); }
.fenetre-barre { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #EEF1F5; }
.fenetre-barre i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.fenetre-barre i:nth-child(2) { background: #FEBC2E; }
.fenetre-barre i:nth-child(3) { background: #28C840; }
.fenetre-barre span { margin-left: 14px; flex: 1; max-width: 300px; background: #fff; border-radius: 8px; font-size: 12px; color: var(--gris); padding: 2px 12px; font-weight: 600; }
.fenetre-principale { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; animation: arrivee 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes arrivee { from { opacity: 0; transform: perspective(1600px) rotateY(-14deg) rotateX(6deg) translateY(30px); } }
.flottant { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--ombre); font-size: 14px; animation: flotte 6s ease-in-out infinite, apparait .8s both; }
.flottant strong { display: block; color: var(--encre); font-size: 15px; }
.flottant small { color: var(--gris); font-weight: 600; }
.flottant-1 { left: -36px; bottom: 54px; animation-delay: 0s, .5s; }
.flottant-2 { right: -20px; top: -26px; display: block; min-width: 200px; animation-delay: -2s, .7s; }
.flottant-2 strong { font-size: 26px; }
.flottant-3 { right: 18px; bottom: -30px; animation-delay: -4s, .9s; }
@keyframes flotte { 50% { transform: translateY(-10px); } }
@keyframes apparait { from { opacity: 0; } }
.jauge { display: block; height: 6px; border-radius: 6px; background: #E9EDF2; margin-top: 8px; overflow: hidden; }
.jauge span { display: block; height: 100%; background: var(--marine); border-radius: 6px; }
.icone { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; font-size: 20px; }
.icone-vert { background: #DCFCE7; color: var(--vert); }
.icone-orange { background: var(--orange-pale); color: #D97706; }
.icone-marine { background: #E1ECF5; color: var(--marine); }

/* Bandeau */
.bandeau { background: var(--marine); color: #CFE0EE; }
.bandeau-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.bandeau strong { display: block; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.bandeau span { font-size: 14px; font-weight: 500; }

/* Sections */
.section { padding: 96px 0; }
.section-teinte { background: var(--fond-teinte); }
.titre-section { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.titre-section h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.titre-section p:not(.surtitre) { margin-top: 16px; font-size: 18px; }
.surtitre { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #C46A00; margin-bottom: 12px; }
.titre-clair h2 { color: #fff; }
.titre-clair .surtitre { color: #FFC56B; }

/* Avant / après */
.comparaison { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.carte { border-radius: var(--rayon); padding: 34px; }
.carte h3 { font-size: 22px; margin-bottom: 18px; }
.carte ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.carte li { position: relative; padding-left: 34px; }
.carte li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.carte-avant { background: #F6F7F9; }
.carte-avant li { color: var(--gris); }
.carte-avant li::before { content: '✕'; background: #FEE2E2; color: #DC2626; }
.carte-apres { background: #fff; box-shadow: var(--ombre); outline: 2px solid var(--orange); }
.carte-apres li { color: var(--encre); font-weight: 600; }
.carte-apres li::before { content: '✓'; background: #DCFCE7; color: var(--vert); }

/* Onglets */
.onglets { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.onglets button { font: inherit; font-weight: 700; font-size: 15px; border: 0; background: #fff; color: var(--texte); padding: 12px 22px; border-radius: 999px; cursor: pointer; box-shadow: 0 0 0 1px var(--ligne); transition: background .2s, color .2s, box-shadow .2s; }
.onglets button:hover { color: var(--orange-2); }
.onglets button[aria-selected="true"] { background: var(--marine); color: #fff; box-shadow: 0 10px 24px -12px rgba(14, 59, 92, .8); }
.panneau { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; animation: fondu .45s ease both; }
.panneau[hidden] { display: none; }
@keyframes fondu { from { opacity: 0; transform: translateY(12px); } }
.panneau h3 { font-size: 30px; font-weight: 800; }
.panneau-texte > p { margin: 12px 0 22px; font-size: 18px; }
.liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.liste-coches li { position: relative; padding-left: 34px; color: var(--encre); font-weight: 500; }
.liste-coches li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.capture { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--ombre), 0 0 0 1px rgba(14, 59, 92, .06); background: #fff; }

/* Vidéo */
.section-video { background: radial-gradient(120% 90% at 50% 0%, #15507A 0%, var(--marine) 45%, var(--marine-2) 100%); }
.lecteur { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08); background: #000; aspect-ratio: 16 / 9; }
.lecteur video { width: 100%; height: 100%; object-fit: cover; }
.lecteur-bouton { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; background: var(--degrade); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(255, 162, 11, .25), 0 20px 40px -10px rgba(0, 0, 0, .5); transition: transform .2s; animation: halo-lecture 2.4s infinite; }
.lecteur-bouton:hover { transform: scale(1.06); }
.lecteur-bouton svg { fill: currentColor; stroke: none; font-size: 38px; margin-left: 5px; }
.lecteur.en-lecture .lecteur-bouton { display: none; }
@keyframes halo-lecture { 50% { box-shadow: 0 0 0 26px rgba(255, 162, 11, 0), 0 20px 40px -10px rgba(0, 0, 0, .5); } }

/* Modules */
.grille-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.module { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 0 0 1px var(--ligne); transition: transform .25s, box-shadow .25s; }
.module:hover { transform: translateY(-4px); box-shadow: var(--ombre-douce), 0 0 0 1px rgba(245, 162, 11, .5); }
.m-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--orange-pale); font-size: 22px; margin-bottom: 14px; }
.module:nth-child(even) .m-ic { background: #E8F0F7; }
.module h3 { font-size: 17px; margin-bottom: 6px; }
.module p { font-size: 14.5px; color: var(--gris); line-height: 1.5; }

/* Profils */
.grille-profils { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profil { background: #fff; border-radius: var(--rayon); padding: 30px 26px; box-shadow: var(--ombre-douce); position: relative; overflow: hidden; }
.profil::after { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); }
.profil-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 28px; background: color-mix(in srgb, var(--c) 14%, white); margin-bottom: 18px; }
.profil h3 { font-size: 20px; margin-bottom: 8px; }
.profil p { color: var(--gris); font-size: 15.5px; }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: e; position: relative; }
.etapes::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); }
.etapes li { position: relative; text-align: center; padding: 0 8px; }
.etapes span { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px; background: var(--degrade); color: #fff; font-weight: 800; font-size: 22px; box-shadow: 0 0 0 8px #fff, 0 14px 28px -10px rgba(255, 122, 26, .7); }
.etapes h3 { font-size: 19px; margin-bottom: 8px; }
.etapes p { font-size: 15.5px; color: var(--gris); }

/* Appel à l'action */
.cta { position: relative; overflow: hidden; background: var(--degrade); color: #fff; text-align: center; padding: 88px 0; }
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta::before { width: 420px; height: 420px; left: -120px; top: -160px; }
.cta::after { width: 360px; height: 360px; right: -100px; bottom: -180px; }
.cta-in { position: relative; z-index: 1; }
.cta img { margin: 0 auto 18px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .18)); animation: flotte 5s ease-in-out infinite; }
.cta h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 800; }
.cta p { max-width: 620px; margin: 16px auto 0; font-size: 19px; color: rgba(255, 255, 255, .92); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--ligne); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--ombre-douce), 0 0 0 1px rgba(245, 162, 11, .5); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--encre); padding: 20px 32px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--orange-2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; }

/* Contact */
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-in h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.contact-in > div > p:last-child { font-size: 18px; }
.contact-cartes { display: grid; gap: 14px; }
.contact-carte { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 18px 22px; text-decoration: none; box-shadow: var(--ombre-douce); transition: transform .2s; }
.contact-carte:hover { transform: translateX(4px); }
.contact-carte .icone { width: 48px; height: 48px; font-size: 22px; }
.contact-carte small { display: block; color: var(--gris); font-weight: 600; font-size: 13px; }
.contact-carte strong { color: var(--encre); font-size: 18px; word-break: break-word; }

/* Pied de page */
.pied { background: var(--marine-2); color: #A9BDCE; padding: 36px 0; font-size: 14.5px; }
.pied-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.marque-pied { color: #fff; font-size: 18px; }
.pied a { color: #fff; }

/* Modale vidéo */
.modale { border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); max-width: none; overflow: visible; }
.modale::backdrop { background: rgba(8, 20, 32, .82); backdrop-filter: blur(4px); }
.modale video { width: 100%; border-radius: 16px; background: #000; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7); }
.modale-fermer { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--encre); font-size: 26px; line-height: 1; cursor: pointer; }

/* Apparition au défilement */
.revele { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.revele.vu { opacity: 1; transform: none; }

/* Tablette */
@media (max-width: 1080px) {
  .menu { gap: 18px; }
  .menu a { font-size: 14px; }
  .grille-modules { grid-template-columns: repeat(3, 1fr); }
  .grille-profils { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .entete-demo { margin-left: auto; }
  .burger { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; border: 0; background: transparent; cursor: pointer; }
  .burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--encre); transition: transform .25s, opacity .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 20px; box-shadow: 0 20px 30px -20px rgba(14, 59, 92, .35); transform: translateY(-120%); transition: transform .3s; margin: 0; }
  .menu.ouvert { transform: none; }
  .menu a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--ligne); }
  .menu-demo { display: inline-flex; justify-content: center; margin-top: 14px; border: 0 !important; }
  .accroche-in { grid-template-columns: 1fr; gap: 64px; }
  .accroche-visuel { max-width: 720px; margin: 0 auto; width: 100%; }
  .panneau { grid-template-columns: 1fr; gap: 32px; }
  .comparaison, .contact-in { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .etapes::before { display: none; }
  .bandeau-in { grid-template-columns: repeat(2, 1fr); }
}
/* Téléphone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .entete-demo { display: none; }
  .burger { margin-left: auto; }
  .accroche { padding: 40px 0 72px; }
  .chapo { font-size: 17px; }
  .actions .btn { width: 100%; justify-content: center; }
  .flottant { padding: 9px 12px; font-size: 12px; }
  .flottant strong { font-size: 13px; }
  .flottant-1 { left: -6px; bottom: 18px; }
  .flottant-2 { right: -6px; top: -34px; min-width: 150px; }
  .flottant-2 strong { font-size: 20px; }
  .flottant-3 { display: none; }
  .fenetre-principale { transform: none; animation: none; }
  .section { padding: 68px 0; }
  .titre-section { margin-bottom: 36px; }
  .carte { padding: 24px; }
  .onglets { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 4px 16px; scrollbar-width: none; }
  .onglets button { flex: none; }
  .panneau h3 { font-size: 24px; }
  .grille-modules { grid-template-columns: 1fr 1fr; gap: 12px; }
  .module { padding: 16px; }
  .grille-profils, .etapes { grid-template-columns: 1fr; }
  .bandeau strong { font-size: 24px; }
  .lecteur { border-radius: 14px; }
  .lecteur-bouton { width: 72px; height: 72px; }
  .lecteur-bouton svg { font-size: 28px; }
  .cta { padding: 64px 0; }
  .pied-in { flex-direction: column; text-align: center; }
}
@media (max-width: 380px) { .grille-modules { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .revele { opacity: 1; transform: none; }
}
