/* Fantaisika Nails & Beauty Academy — feuille de style
   Univers beauté : rouge et gris du logo, rose poudré, typographie élégante, arches et paillettes */
:root {
  --red: #e3263f;
  --red-dark: #b81a30;
  --rose: #f7d9dc;
  --blush: #fbeff0;
  --cream: #fffaf7;
  --ink: #241d20;
  --grey: #55555c;
  --muted: #7a7176;
  --line: #efdfe1;
  --gold: #c9a46a;
  --radius: 22px;
  --shadow: 0 24px 50px -28px rgba(120, 20, 40, .35);
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: "Jost", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.7; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.12; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; }
em, .it { font-style: italic; color: var(--red); }
.script { font-family: "Great Vibes", cursive; color: var(--red); font-weight: 400; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.soft { background: var(--blush); }
.kicker { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; font-weight: 600; color: var(--red); margin-bottom: 14px; }
.kicker::before { content: "✦"; font-size: .9rem; }
.head { max-width: 680px; margin-bottom: 46px; }
.head.center { text-align: center; margin-inline: auto; }
.head p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .02em; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s, background .25s, color .25s, box-shadow .25s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px rgba(227, 38, 63, .7); }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--red); }

/* Bandeau rentrée */
.ribbon { background: var(--ink); color: #fff; text-align: center; font-size: .88rem; padding: 9px 16px; letter-spacing: .02em; }
.ribbon b { color: var(--rose); }
.ribbon a { text-decoration: underline; text-underline-offset: 3px; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 247, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; position: relative; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 52px; height: 52px; }
.logo-text { line-height: 1; }
.logo-text b { display: block; font-family: "Jost", sans-serif; font-weight: 700; letter-spacing: .14em; color: var(--red); font-size: 1.32rem; }
.logo-text span { font-family: "Great Vibes", cursive; color: var(--grey); font-size: 1.12rem; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-weight: 500; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .3s, left .3s; }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; left: 0; }
.nav .btn { padding: 11px 22px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Héros : texte + arche photo + paillettes */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(circle, var(--rose) 0%, rgba(247, 217, 220, 0) 70%); z-index: 0; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero .lead { font-size: 1.12rem; color: var(--muted); margin: 22px 0 32px; max-width: 520px; }
.hero h1 .script { display: block; font-size: 1.15em; line-height: 1; margin-top: 4px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 500; }
.arch-wrap { position: relative; justify-self: center; width: min(440px, 100%); }
.arch { aspect-ratio: 4/5; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-wrap::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1.5px solid var(--red); border-radius: 999px 999px 28px 28px; z-index: -1; }
.float-card { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .9rem; animation: floaty 5s ease-in-out infinite; }
.float-card small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-size: 1.1rem; }
.float-card.a { left: -38px; bottom: 70px; }
.float-card.b { right: -30px; top: 60px; animation-delay: -2.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.sparkle { position: absolute; color: var(--gold); font-size: 1.2rem; animation: twinkle 2.6s ease-in-out infinite; pointer-events: none; }
.sparkle.s1 { top: 8%; left: 6%; }
.sparkle.s2 { top: 18%; right: 4%; animation-delay: -1s; font-size: 1.6rem; }
.sparkle.s3 { bottom: 12%; left: 46%; animation-delay: -1.8s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

/* Ruban défilant des formations */
.marquee { background: var(--red); color: #fff; overflow: hidden; white-space: nowrap; padding: 16px 0; transform: rotate(-1.5deg); margin: -20px 0 0; width: 100%; position: relative; z-index: 2; }
.marquee .track { display: inline-flex; gap: 42px; animation: scroll 32s linear infinite; font-family: "Playfair Display", serif; font-style: italic; font-size: 1.3rem; }
.marquee .track span::after { content: "✦"; margin-left: 42px; font-style: normal; color: var(--rose); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Univers (catégories) */
.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.world { position: relative; border-radius: 999px 999px 22px 22px; overflow: hidden; aspect-ratio: 3/4.2; display: flex; align-items: flex-end; color: #fff; isolation: isolate; transition: transform .35s; }
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 29, 32, 0) 40%, rgba(36, 29, 32, .85)); z-index: -1; }
.world:hover { transform: translateY(-6px); }
.world:hover img { transform: scale(1.07); }
.world .bd { padding: 22px; }
.world h3 { color: #fff; font-size: 1.35rem; }
.world p { font-size: .88rem; color: #f3e6e8; }
.world.plain { background: linear-gradient(160deg, var(--red), var(--red-dark)); }
.world.plain::after { display: none; }

/* Atouts */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s, box-shadow .3s; }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk .ic { font-size: 1.7rem; margin-bottom: 12px; }
.perk h3 { font-size: 1.12rem; margin-bottom: 6px; }
.perk p { color: var(--muted); font-size: .93rem; }

/* Split image + texte */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo-stack { position: relative; padding: 0 30px 40px 0; }
.photo-stack .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; }
.photo-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .small { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 7px solid var(--cream); box-shadow: var(--shadow); }
.photo-stack .small img { width: 100%; height: 100%; object-fit: cover; }
.checks { list-style: none; display: grid; gap: 10px; margin: 20px 0 28px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✦"; position: absolute; left: 0; color: var(--red); }
.split p { color: var(--muted); }
.split p + p { margin-top: 12px; }

/* Galerie promotions (polaroïds) */
.polaroids { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.polaroid { background: #fff; padding: 12px 12px 18px; border-radius: 6px; box-shadow: 0 18px 40px -22px rgba(36, 29, 32, .45); transition: transform .35s; }
.polaroid:nth-child(odd) { transform: rotate(-2.2deg); }
.polaroid:nth-child(even) { transform: rotate(2deg) translateY(14px); }
.polaroid:hover { transform: rotate(0) translateY(-6px); }
.polaroid .ph { aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; }
.polaroid img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.polaroid figcaption { font-family: "Great Vibes", cursive; font-size: 1.45rem; text-align: center; color: var(--grey); margin-top: 8px; line-height: 1.1; }

/* Bandeau d'appel */
.cta { background: var(--ink); color: #fff; border-radius: 30px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 26px; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: "✦"; position: absolute; right: 8%; top: -30px; font-size: 9rem; color: rgba(227, 38, 63, .22); }
.cta h2 { color: #fff; }
.cta .script { font-size: 2rem; display: block; color: var(--rose); }
.cta p { color: #d8cbcf; margin-top: 8px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* Page intérieure : titre */
.page-hero { background: var(--blush); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); text-align: center; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 50%; bottom: -160px; width: 420px; height: 420px; transform: translateX(-50%); border-radius: 50%; border: 1.5px solid rgba(227, 38, 63, .25); }
.page-hero .crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumbs a:hover { color: var(--red); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 16px auto 0; font-size: 1.06rem; }

/* Catalogue */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 20px; font: 500 .94rem "Jost", sans-serif; cursor: pointer; transition: all .25s; color: var(--ink); }
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button.on { background: var(--red); border-color: var(--red); color: #fff; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.course::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--rose)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.course:hover::before { transform: scaleX(1); }
.course .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-size: 1.5rem; }
.course .cat { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.course p { color: var(--muted); font-size: .94rem; }
.course .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.course .tags span { background: var(--blush); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 500; }
.course .tags span.state { background: var(--ink); color: #fff; }
.course .acts { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.course .acts .btn { padding: 10px 16px; font-size: .86rem; flex: 1; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { text-align: center; padding: 10px; }
.step::before { counter-increment: s; content: "0" counter(s); display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #fff; border: 1.5px solid var(--red); color: var(--red); font-family: "Playfair Display", serif; font-size: 1.3rem; font-style: italic; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* Formulaires et contact */
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; }
.info-card + .info-card { margin-top: 14px; }
.info-card .ic { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--blush); display: grid; place-items: center; font-size: 1.2rem; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.info-card p, .info-card a { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--red); }
.panel { background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.panel h2 { font-size: 1.7rem; }
.panel .sub { color: var(--muted); margin: 6px 0 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: .96rem; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 38, 63, .12); }
.field textarea { min-height: 110px; resize: vertical; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-row label { cursor: pointer; position: relative; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; transition: all .2s; background: var(--cream); }
.choice-row input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.thanks { margin-top: 14px; color: var(--grey); }
.hidden { display: none !important; }
.map { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* Pied de page */
.footer { background: var(--ink); color: #cfc4c7; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .logo-text b { color: #fff; }
.footer .logo-text span { color: var(--rose); }
.footer .logo img { background: #fff; border-radius: 50%; padding: 2px; }
.footer p { margin-top: 16px; font-size: .94rem; }
.footer h4 { color: #fff; font-family: "Playfair Display", serif; font-style: italic; font-size: 1.15rem; font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.footer a:hover { color: var(--rose); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .86rem; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Apparition au défilement (le contenu reste visible sans le script) */
.anim .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.anim .reveal.visible { opacity: 1; transform: none; }
.anim .polaroid.reveal.visible:nth-child(odd) { transform: rotate(-2.2deg); }
.anim .polaroid.reveal.visible:nth-child(even) { transform: rotate(2deg) translateY(14px); }
@media (prefers-reduced-motion: reduce) { .marquee .track, .float-card, .sparkle { animation: none; } .anim .reveal { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1000px) {
  .worlds { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .polaroids { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 10px 16px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 14px; }
  .hero .container, .split, .form-grid, .cta { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .arch-wrap { width: min(360px, 88%); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .worlds, .perks, .catalog, .footer-grid, .row { grid-template-columns: 1fr; }
  .polaroids { grid-template-columns: 1fr 1fr; gap: 16px; }
  .float-card.a { left: -10px; bottom: 30px; }
  .float-card.b { right: -10px; top: 20px; }
  .arch-wrap::before { inset: 14px -12px -14px 12px; }
  .logo-text b { font-size: 1.1rem; }
  .logo img { width: 44px; height: 44px; }
  .marquee .track { font-size: 1.05rem; }
  .world { aspect-ratio: 4/3.6; border-radius: 200px 200px 22px 22px; }
}

/* Univers : cartes illustrées (nettes sur tous les écrans) */
.world { aspect-ratio: 3/4; align-items: stretch; flex-direction: column; justify-content: space-between; padding: 56px 26px 26px; text-align: center; border: 1px solid transparent; }
.world::after { display: none; }
.world .wi { width: 92px; height: 92px; margin: 18px auto 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s ease; }
.world:hover .wi { transform: scale(1.08) rotate(-4deg); }
.world .num { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); font-family: "Playfair Display", serif; font-style: italic; font-size: 6.5rem; line-height: 1; opacity: .08; pointer-events: none; }
.world .bd { padding: 0; }
.world h3 { font-size: 1.55rem; margin-bottom: 6px; color: inherit; }
.world p { font-size: .92rem; color: inherit; opacity: .8; }
.world .go { display: inline-block; margin-top: 14px; font-weight: 600; font-size: .88rem; letter-spacing: .03em; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.world.w1 { background: linear-gradient(165deg, #e3263f, #b81a30); color: #fff; }
.world.w2 { background: #fff; color: var(--ink); border-color: var(--line); }
.world.w2 .wi, .world.w2 .go { color: var(--red); }
.world.w3 { background: linear-gradient(165deg, #3a3236, #241d20); color: #fff; }
.world.w3 .wi { color: #f7d9dc; }
.world.w4 { background: linear-gradient(165deg, #f7d9dc, #fbeff0); color: var(--ink); }
.world.w4 .wi, .world.w4 .go { color: var(--red-dark); }
.world:hover { box-shadow: var(--shadow); }
@media (max-width: 600px) { .world { aspect-ratio: auto; padding: 46px 22px 26px; border-radius: 160px 160px 22px 22px; } .world .wi { width: 76px; height: 76px; } }
@media (max-width: 600px) { .world .num { display: none; } }
