/* pikkostudio.com : bleu nuit et corail du logo sur fond crème, lettres arrondies */
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-display: swap; src: url(/fonts/Baloo2_800ExtraBold.ttf) format('truetype'); }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-display: swap; src: url(/fonts/Baloo2_700Bold.ttf) format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 600; font-display: swap; src: url(/fonts/Nunito_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(/fonts/Nunito_800ExtraBold.ttf) format('truetype'); }

:root {
  --cream: #FEF9F3; --cream-2: #F7EFE4; --navy: #1C2B48; --navy-2: #2C3D5E; --muted: #5E6880; --line: #EADFD1;
  --coral: #FF7461; --coral-ink: #C9412D; --white: #FFFFFF; --ok: #2F7D4F; --bad: #B3261E;
  --display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
body { margin: 0; background: var(--cream); color: var(--navy); font: 600 17px/1.6 var(--body) }
a { color: var(--coral-ink) }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px }
img { max-width: 100%; height: auto; display: block }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)) }
.narrow { max-width: 760px }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem) }
h2 { font-size: clamp(2rem, 4.4vw, 3rem) }
h3 { font-size: 1.6rem }
p { margin: 0 }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch }
.kicker { font-weight: 800; color: var(--coral-ink); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem }
.small { font-size: .9rem; color: var(--muted) }

/* En-tête fixe */
header.site { position: sticky; top: 0; z-index: 10; background: rgba(254, 249, 243, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px }
.brand img { width: 140px }
header nav { display: flex; align-items: center; gap: 22px; font-weight: 800 }
header nav a { color: var(--navy); text-decoration: none }
header nav a:hover { color: var(--coral-ink) }
.nav-cta { background: var(--navy); color: var(--cream) !important; padding: 9px 18px; border-radius: 999px }
.nav-cta:hover { background: var(--navy-2) }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: 12px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--navy); color: var(--cream); font: 800 1.02rem var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease }
.btn:hover { background: var(--navy-2); transform: translateY(-1px) }
.btn.ghost { background: transparent; color: var(--navy) }
.btn.ghost:hover { background: var(--white) }
.btn[disabled] { opacity: .55; cursor: default; transform: none }

/* Accueil */
.hero { padding-block: 56px 72px; overflow: hidden }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center }
.hero-text { display: flex; flex-direction: column; gap: 20px; min-width: 0 }
.hero-art { position: relative; height: 460px }
.hero-art .dot { position: absolute; top: 18%; left: 44%; width: 92px; height: 92px; border-radius: 50%; background: var(--coral) }
.hero-icon { position: absolute; width: 190px; height: 190px; border-radius: 44px; box-shadow: 0 24px 50px rgba(28, 43, 72, .18) }
.hero-icon.i0 { left: 6%; top: 8%; transform: rotate(-8deg) }
.hero-icon.i1 { right: 4%; top: 30%; transform: rotate(7deg) }
.hero-icon.i2 { left: 26%; bottom: 2%; transform: rotate(-3deg) }

section.apps, section.studio { padding-block: 72px }
section.apps { background: var(--white); border-block: 1px solid var(--line) }
.apps .wrap { display: flex; flex-direction: column; gap: 36px }
.app-list { display: flex; flex-direction: column; gap: 24px }
.app { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--app-soft); border-radius: 36px; padding: 40px }
.app-icon img { width: 160px; height: 160px; border-radius: 38px; box-shadow: 0 16px 36px rgba(28, 43, 72, .16) }
.app-text { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.app h3 { font-size: 2.2rem }
.tag { font-weight: 800; color: var(--app) }
.app ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px }
.app li { padding-left: 22px; position: relative }
.app li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--app) }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 18px 6px 14px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 2px solid #000; transition: transform .15s ease }
.store span { display: flex; flex-direction: column; line-height: 1.05; font: 800 1.08rem var(--body); white-space: nowrap }
.store small { font-size: .7rem; font-weight: 600; opacity: .85 }
a.store:hover { transform: translateY(-1px) }
.store.soon { background: rgba(0, 0, 0, .55); border-color: transparent; cursor: default }
.store.more { background: var(--white); color: var(--navy); border-color: var(--app); gap: 14px; padding-inline: 18px 16px }
.store.more svg { color: var(--app) }
a.store.more:hover { background: var(--app); color: #fff }
a.store.more:hover svg { color: #fff }

/* Page de chaque app */
.app-hero { background: var(--app-soft); padding-block: 56px 72px }
.app-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center }
.app-hero-text { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.app-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1 }
.app-hero .tag { font-size: 1.25rem }
.back { font-weight: 800; color: var(--navy); text-decoration: none; opacity: .75 }
.back:hover { opacity: 1 }
.app-hero-art { display: grid; place-items: center }
.app-hero-art img { width: 280px; height: 280px; border-radius: 64px; box-shadow: 0 28px 60px rgba(28, 43, 72, .22); transform: rotate(-4deg) }
.features { padding-block: 72px }
.features .wrap { display: flex; flex-direction: column; gap: 28px }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 8px }
.feature p { color: var(--muted) }
.ficon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--app-soft); color: var(--app); margin-bottom: 6px }
.notify { padding-block: 0 72px }
.notify .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; background: var(--app); color: #fff; border-radius: 36px; padding: 44px; max-width: 1080px; margin-inline: max(20px, calc((100% - 1080px) / 2)) }
.notify .wrap > * { min-width: 0 }
.notify h2 { color: #fff }
.notify .lead { color: rgba(255, 255, 255, .9) }
.notify-form { display: flex; flex-direction: column; gap: 8px }
.notify-row { display: flex; gap: 10px; background: #fff; border-radius: 18px; padding: 6px }
.notify-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 1rem var(--body); color: var(--navy); padding: 0 12px }
.notify-row input:focus { outline: none }
.notify-row:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .6) }
.notify-row .btn { background: var(--navy); white-space: nowrap }
.notify .small, .notify .small a { color: rgba(255, 255, 255, .9) }
.notify .form-msg.ok, .notify .form-msg.err { color: #fff }
.others { padding-block: 64px; background: var(--white); border-top: 1px solid var(--line) }
.others .wrap { display: flex; flex-direction: column; gap: 24px }
.other-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px }
.other { display: flex; align-items: center; gap: 18px; padding: 18px 22px 18px 18px; border-radius: 26px; background: var(--app-soft); color: var(--navy); text-decoration: none; transition: transform .15s ease }
.other:hover { transform: translateY(-2px) }
.other img { width: 72px; height: 72px; border-radius: 20px; flex: none }
.other span { flex: 1; display: flex; flex-direction: column; min-width: 0; color: var(--muted) }
.other b { font: 800 1.4rem var(--display); color: var(--navy) }
.other svg { color: var(--app); flex: none }

.studio .wrap { display: flex; flex-direction: column; gap: 24px }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px }
.value { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 8px }
.vdot { width: 16px; height: 16px; border-radius: 50%; background: var(--coral) }
.value p { color: var(--muted) }

.band { padding-block: 0 72px }
.band .wrap > * { min-width: 0 }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px }
.band .wrap { background: var(--coral); border-radius: 32px; padding-block: 40px; padding-inline: max(36px, env(safe-area-inset-left, 0px)) max(36px, env(safe-area-inset-right, 0px)); max-width: calc(1120px - 40px) }
.band h2, .band .lead { color: var(--navy) }
.btn.coral { background: var(--navy); border-color: var(--navy) }
.contact-page { padding-block: 56px 80px }
.contact-page .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start }
.contact-text { display: flex; flex-direction: column; gap: 18px; min-width: 0 }
.contact-apps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px }
.contact-apps li { display: flex; align-items: center; gap: 12px }
.contact-apps img { width: 40px; height: 40px; border-radius: 11px }
.contact-apps span { display: flex; flex-direction: column; line-height: 1.3; color: var(--muted); font-size: .95rem }
.contact-apps b { color: var(--navy) }
.form { background: var(--white); color: var(--navy); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0 }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: .95rem }
.form input, .form select, .form textarea { font: 600 1rem var(--body); color: var(--navy); background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100% }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: none }
.form textarea { resize: vertical; min-height: 140px }
.form .btn { align-self: flex-start }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden }
.form-msg { min-height: 1.6em; font-weight: 800 }
.form-msg.ok { color: var(--ok) }
.form-msg.err { color: var(--bad) }

/* Pages légales */
.doc { padding-block: 56px 80px }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px }
.doc h2 { font-size: 1.5rem; margin-top: 32px; margin-bottom: 8px }
.doc p { max-width: 68ch }
.updated { color: var(--muted) }

/* Pied de page */
footer.site { background: var(--navy); color: #C9D2E3; padding-block: 56px 28px }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 34ch }
.foot-brand img { width: 150px }
.foot-cta { color: var(--navy); background: var(--coral); border-radius: 999px; padding: 9px 18px; font-weight: 800; text-decoration: none }
.foot-cta:hover { filter: brightness(1.05) }
footer nav { display: flex; flex-direction: column; gap: 10px; min-width: 0 }
footer nav h2 { font-family: var(--body); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--coral); margin-bottom: 4px }
footer nav a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 10px }
footer nav a:hover { color: var(--coral) }
footer nav img { width: 24px; height: 24px; border-radius: 7px }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(254, 249, 243, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .9rem }
footer :focus-visible { outline-color: var(--coral) }

@media (max-width: 900px) {
  .hero .wrap, .contact-page .wrap { grid-template-columns: 1fr }
  .hero-art { height: 360px; max-width: 480px; width: 100%; margin: 0 auto }
  .hero-icon { width: 150px; height: 150px; border-radius: 34px }
  .values { grid-template-columns: 1fr }
  .app-hero .wrap, .notify .wrap { grid-template-columns: 1fr }
  .app-hero-art { order: -1; justify-items: start }
  .app-hero-art img { width: 160px; height: 160px; border-radius: 38px }
  .feature-grid { grid-template-columns: 1fr 1fr }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1 }
}
@media (max-width: 600px) {
  header nav a:not(.nav-cta) { display: none }
  .brand img { width: 120px }
  .row2 { grid-template-columns: 1fr }
  .hero { padding-block: 36px 48px }
  .hero-art { height: 300px }
  .hero-icon { width: 120px; height: 120px; border-radius: 28px }
  .hero-art .dot { width: 64px; height: 64px }
  section.apps, section.studio { padding-block: 52px }
  .app { grid-template-columns: 1fr; padding: 26px; gap: 20px; border-radius: 28px }
  .app-icon img { width: 112px; height: 112px; border-radius: 28px }
  .band { padding-block: 0 52px }
  .band .wrap { border-radius: 26px; padding-block: 30px; margin-inline: 16px; padding-inline: 24px }
  .contact-page { padding-block: 36px 56px }
  .form { padding: 20px; border-radius: 22px }
  .foot-grid { grid-template-columns: 1fr }
  .app-hero { padding-block: 32px 48px }
  .app-hero-art img { width: 112px; height: 112px; border-radius: 28px }
  .features { padding-block: 52px }
  .feature-grid, .other-list { grid-template-columns: 1fr }
  .notify { padding-block: 0 52px }
  .notify .wrap { border-radius: 26px; margin-inline: 16px; padding: 28px 22px }
  .notify-row { flex-direction: column; padding: 8px }
  .notify-row input { min-height: 44px }
  .others { padding-block: 48px }
}
