/* ===== Bulle — page de présentation ===== */
:root {
  --cream: #FBF6EE;
  --cream-2: #FFFCF6;
  --white: #FFFFFF;
  --rose: #D98B97;
  --rose-deep: #A85E69;
  --rose-soft: #FBE9ED;
  --blush: #F8ECEF;
  --ink: #46403B;
  --ink-soft: #6f6557;
  --muted: #9C9082;
  --line: #ECE3D5;
  --line-2: #EFE5D6;
  --beige-dot: rgba(173,148,138,.34);
  --rose-dot: rgba(178,116,131,.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.01em; }

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---- Patterns papier ---- */
.pat-dots { background-image: radial-gradient(circle, var(--rose-dot) 1.4px, transparent 1.6px); background-size: 22px 22px; }
.pat-grid { background-image:
  linear-gradient(rgba(178,116,131,.07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(178,116,131,.07) 1px, transparent 1px);
  background-size: 24px 24px; }
.bujo { background-color: #FAF4E9; background-image: radial-gradient(circle, var(--beige-dot) 1.5px, transparent 1.9px); background-size: 26px 26px; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 600;
  padding: 13px 24px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 8px 20px rgba(217,139,151,.30); }
.btn-primary:hover { background: #cf7e8b; }
.btn-ghost { background: transparent; color: var(--rose-deep); border: 1.5px solid #E6C9CE; }
.btn-ghost:hover { background: var(--rose-soft); }
.btn-light { background: #fff; color: var(--rose-deep); }
.btn-sm { font-size: 13.5px; padding: 10px 18px; }

/* ---- Navigation (bandeau rose) ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--rose);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; gap: 20px;
}
.nav .brand { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600; color: #fff; }
.brand-block { display: inline-flex; flex-direction: column; line-height: 1.05; }
.nav .brand-tagline { font-family: 'Fraunces', serif; font-style: italic; font-size: 12px; color: #FCE7EC; margin-top: 3px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: #FCE7EC; }
.nav-links a:hover { color: #fff; }
.nav-burger { display: none; background: none; border: none; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 2px 4px; }

/* ---- Hero ---- */
.hero { text-align: center; padding: 56px 28px 0; overflow: hidden; }
.wordmark { font-family: 'Fraunces', serif; font-weight: 700; font-size: clamp(48px, 9vw, 92px); line-height: 1; letter-spacing: -.02em; }
.wordmark .a { color: var(--rose-deep); }
.wordmark .b { color: #3f3a33; }
.hero-signature { font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; color: var(--rose-deep); letter-spacing: .3px; margin-top: 12px; }
.bridge-note { max-width: 640px; margin: 16px auto 0; color: #796E60; font-size: 15.5px; line-height: 1.6; }
.wm-rule { width: 150px; height: 3px; background: #E0A9B1; border-radius: 3px; margin: 22px auto 30px; }
.hero h1 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; color: var(--ink-soft); max-width: 720px; margin: 0 auto 16px; }
.hero h1 .hl { color: #B86A77; }
.hero-sub { font-size: 15px; color: var(--muted); letter-spacing: .3px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Rangée de téléphones pleine largeur */
.hero-phones {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(8px, 1.6vw, 22px);
  margin: 56px auto 0; max-width: 1320px;
  padding: 0 12px; overflow: hidden; height: 360px;
}
.hero-phones .device { flex: 1 1 0; min-width: 0; max-width: 220px; }

/* Cadre téléphone */
.device { background: #1d1a17; border-radius: 40px; padding: 8px; box-shadow: 0 28px 56px rgba(65,45,50,.30), 0 8px 20px rgba(65,45,50,.16); }
.device img { width: 100%; border-radius: 32px; }
.device.crop { border-radius: 40px 40px 0 0; padding: 8px 8px 0; box-shadow: 0 22px 44px rgba(65,45,50,.26), 0 6px 16px rgba(65,45,50,.14); }
.device.crop img { border-radius: 32px 32px 0 0; }

/* ---- Bandeaux centrés ---- */
.band { text-align: center; padding: 56px 28px; }
.band .quote { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(19px, 2.4vw, 24px); color: #5d5446; max-width: 760px; margin: 0 auto; }
.pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.pill { font-size: 14px; color: var(--rose-deep); background: #fff; border: 1px solid #EBD7CF; padding: 9px 18px; border-radius: 100px; }

/* ---- Piliers ---- */
.section { padding: 72px 0; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; }
.pcard .ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: var(--rose-soft); color: #C06F7C; margin-bottom: 14px; }
.pcard h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: var(--rose-deep); margin-bottom: 6px; }
.pcard p { font-size: 15px; color: #867b69; }

/* ---- Sections fonctionnalités (alternées) ---- */
.feature { padding: 72px 0; }
.feature .grid { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; }
.feature .grid.rev { grid-template-columns: 1fr 360px; }
.feature .grid.rev .media { order: 2; }
.feature .media { display: flex; justify-content: center; }
.feature .media .device { max-width: 300px; }
.kicker { font-size: 14px; font-weight: 600; color: #C07C88; margin-bottom: 10px; }
.feature h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(26px, 3.2vw, 34px); color: #3f3a33; line-height: 1.15; }
.feature p.lead { font-size: 16.5px; color: #796E60; margin: 16px 0 22px; max-width: 480px; }
.flist { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.flist li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: #574f43; }
.flist .chk { width: 24px; height: 24px; border-radius: 50%; background: var(--rose-soft); color: #C06F7C; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }

.surface-white { background: #fff; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

/* ---- Partage ---- */
.share-card { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; max-width: 360px; margin: 28px auto 0; text-align: left; box-shadow: 0 16px 36px rgba(140,90,95,.10); }
.share-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.share-head .t { font-family: 'Fraunces', serif; font-size: 19px; color: #3f3a33; }
.share-head .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--rose-soft); color: #C06F7C; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.share-item { display: flex; align-items: center; gap: 11px; padding: 6px 0; font-size: 15px; color: #574f43; }
.share-item .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.6px solid #E3B7BF; flex: none; }
.share-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed #E8D2CA; }
.avs { display: flex; }
.av { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; border: 2px solid #fff; margin-left: -7px; }
.av:first-child { margin-left: 0; }
.shared-lbl { font-size: 13px; color: #948A77; margin-left: 9px; }
.share-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--rose); padding: 8px 16px; border-radius: 100px; }

/* ---- Modularité ---- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin: 0 auto; }
.mod { background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; display: flex; align-items: center; gap: 14px; }
.mod .ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: var(--rose-soft); color: #C06F7C; flex: none; }
.mod .mn { font-size: 15px; font-weight: 600; }
.mod .ms { font-size: 13px; color: var(--muted); }
.mod.soon { border-style: dashed; border-color: #E2D3C2; background: transparent; }
.mod.soon .ico { background: #EFE6D6; color: #A99E88; }

/* ---- Centrés titres ---- */
.centered { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.centered h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(26px, 3.2vw, 34px); color: #3f3a33; }
.centered .kicker { margin-bottom: 8px; }
.centered p { font-size: 16px; color: #796E60; margin-top: 12px; }

/* ---- Personnalisation ---- */
.swatches { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.sw { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; outline: 1px solid #EBD7CF; }
.swbg { width: 40px; height: 40px; border-radius: 12px; outline: 1px solid #EBD7CF; }
.cap { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; text-align: center; }
.theme-chips { display: inline-flex; gap: 7px; background: #fff; border: 1px solid #EBD7CF; border-radius: 100px; padding: 5px; }
.tch { font-size: 14px; padding: 8px 18px; border-radius: 100px; color: #867b69; display: inline-flex; align-items: center; gap: 6px; }
.tch.on { background: var(--rose); color: #fff; }

/* ---- Bandeau final ---- */
.close { background: var(--rose); text-align: center; padding: 80px 28px; }
.close .big { font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(28px, 4vw, 40px); color: #FCF2EE; line-height: 1.22; }
.close .sub { color: #F6DDE0; font-size: 16px; margin: 16px auto 28px; max-width: 460px; }

/* ---- Footer ---- */
.footer { background: #F3E7DC; padding: 34px 28px; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer .brand { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--rose-deep); }
.footer .tagline { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; font-size: 14px; color: #796E60; }
.footer .made { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .feature .grid, .feature .grid.rev { grid-template-columns: 1fr; gap: 32px; }
  .feature .grid.rev .media { order: 0; }
  .feature .media .device { max-width: 280px; }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .hero-phones { height: 320px; gap: 12px; }
  .hero-phones .device { max-width: 180px; }
}

@media (max-width: 620px) {
  /* Menu mobile : le burger ouvre/ferme un panneau */
  .nav { flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; }
  .nav-burger { display: block; }
  .nav > .btn { display: none; order: 5; width: 100%; justify-content: center; margin-top: 2px; }
  .nav.open > .btn { display: inline-flex; }
  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 15px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,.35);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 4px; text-align: center; border-radius: 10px; }
  .nav-links a:active { background: rgba(255,255,255,.15); }

  .hero { padding: 40px 20px 0; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Captures : grandes et défilables au doigt plutôt qu'écrasées */
  .hero-phones {
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 40px;
    padding: 0 20px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-phones::-webkit-scrollbar { display: none; }
  .hero-phones .device {
    flex: 0 0 auto;
    width: 172px;
    max-width: none;
    scroll-snap-align: center;
  }
  /* Sur mobile on montre le téléphone entier (plus joli que rogné) */
  .hero-phones .device.crop { border-radius: 32px; padding: 7px; box-shadow: 0 16px 34px rgba(65,45,50,.24); }
  .hero-phones .device.crop img { border-radius: 26px; }

  .pillars, .mods { grid-template-columns: 1fr; }
  .feature .media .device { max-width: 250px; }
  .footer .wrap { flex-direction: column; text-align: center; }
}

/* ---- Pages texte (confidentialité, support) ---- */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 28px 48px; }
.legal h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(30px, 5vw, 46px); color: #3f3a33; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; color: var(--rose-deep); margin: 36px 0 12px; }
.legal p { font-size: 16px; color: #574f43; margin-bottom: 12px; }
.legal ul { margin: 8px 0 16px 22px; }
.legal li { font-size: 16px; color: #574f43; margin-bottom: 6px; }
.legal a { color: var(--rose-deep); text-decoration: underline; }
.note-box { background: var(--rose-soft); border: 1px solid #EFD3D9; border-radius: 12px; padding: 16px 18px; font-size: 14.5px; color: #7a4a52; margin-bottom: 30px; }
.faq-item { border-top: 1px solid var(--line-2); padding: 20px 0; }
.faq-item h3 { font-size: 18px; font-weight: 600; color: #3f3a33; margin-bottom: 6px; }
.faq-item p { font-size: 15.5px; color: #6f6557; }
.contact-card { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 28px; text-align: center; margin: 26px 0 36px; box-shadow: 0 14px 32px rgba(140,90,95,.08); }
.contact-card .mail { font-family: 'Fraunces', serif; font-size: 22px; color: var(--rose-deep); margin: 6px 0 4px; display: inline-block; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--rose-deep); margin-top: 8px; }
