/* ==========================================================================
   atelierdespapas.com – Thème v7
   Mise en page « ludique » propre au site (sections centrées, vagues, polaroïds,
   tickets) avec EXACTEMENT les couleurs de futurpapa.fr (demande de Gilles) :
   fond lavande dégradé, dégradé violet #8B5CF6 → #9C53FA, bleu nuit #121F48,
   bandeaux violet nuit.
   ========================================================================== */

@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Arimo"; font-weight: 400; font-display: swap; src: url("../fonts/arimo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Arimo"; font-weight: 700; font-display: swap; src: url("../fonts/arimo-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Couleurs de futurpapa.fr */
  --violet-cta: #8B5CF6;
  --violet-accent: #9C53FA;
  --violet-parme: #9C63FA;
  --navy: #121F48;
  --text: #33304D;
  --muted: #6B6788;
  --grad: linear-gradient(135deg, #8B5CF6 0%, #9C53FA 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(156, 83, 250, .06));
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .82);
  --line: rgba(156, 99, 250, .28);
  --night: radial-gradient(circle at 15% 20%, rgba(156, 83, 250, .55), transparent 55%), linear-gradient(135deg, #2A1B6B 0%, #121F48 100%);
  --shadow-sm: 0 1px 2px rgba(18, 31, 72, .06), 0 6px 18px -10px rgba(18, 31, 72, .25);
  --shadow: 0 1px 2px rgba(18, 31, 72, .05), 0 24px 60px -30px rgba(66, 34, 140, .45);
  --title: "Outfit", system-ui, sans-serif;
  --sans: "Arimo", Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(18px, 5vw, 48px);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 240 0 480 60 720 30 S 1200 0 1440 30 V60 H0Z' fill='%23ffffff' fill-opacity='.55'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #F3F0FE !important; scroll-behavior: smooth; }
body { margin: 0; background: transparent !important; color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
/* Fond dégradé de futurpapa.fr, fixe */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: #fff; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: url("../images/fond-degrade.webp") center / cover no-repeat; opacity: .3; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet-accent); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--title); letter-spacing: -.015em; }
main { overflow-x: clip; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.site-header, .site-footer { display: none; }

/* --------------------------------------------------------------- Typographie */
.title { font-size: clamp(32px, 4.3vw, 54px); font-weight: 800; line-height: 1.1; margin: 0 auto 20px; max-width: 22ch; }
.subtitle { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.15; margin: 48px 0 18px; }
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--muted); font-size: 18px; }
.prose strong { color: var(--navy); }
h3 { font-weight: 700; }

/* Étiquette centrée entre deux pointillés */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-family: var(--title); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-accent);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; border-top: 2px dotted currentColor; }

/* Sections centrées (sauf mises en page texte + photo) */
.section > .container:not(.split):not(.hero__grid) { text-align: center; }
.section > .container:not(.split) .card,
.section > .container:not(.split) .tile,
.section > .container:not(.split) .offer { text-align: left; }
.section > .container:not(.split) .checks { display: inline-grid; text-align: left; }

/* --------------------------------------------------------------- Boutons (dégradé de futurpapa.fr) */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--grad); color: #fff;
  font-family: var(--title); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(139, 92, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(139, 92, 246, .95); filter: saturate(1.1); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { color: var(--violet-cta); background: var(--glass-strong); box-shadow: inset 0 0 0 1.5px rgba(139, 92, 246, .5), var(--shadow-sm); }
.btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--violet-cta), var(--shadow-sm); }
.cta-row { margin: 30px 0 0; }

/* --------------------------------------------------------------- En-tête : barre pleine largeur */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header__bar { max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--title); font-weight: 800; font-size: 20px; color: var(--navy); }
.logo__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 14px 14px 14px 4px; background: var(--grad); color: #fff; transform: rotate(-6deg); }
.logo img, .header .custom-logo { height: 44px; width: auto; }
.header .btn { padding: 10px 20px; font-size: 15px; }

/* --------------------------------------------------------------- Sections et vagues (voile blanc translucide sur le fond lavande) */
.section { position: relative; padding: clamp(60px, 8vw, 108px) 0; }
.section--tight { padding-top: 0; }
main > .section:nth-of-type(even):not(.section--band) { background: rgba(255, 255, 255, .55); margin: 40px 0; }
main > .section:nth-of-type(even):not(.section--band)::before,
main > .section:nth-of-type(even):not(.section--band)::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40px; background: var(--wave) center / 100% 100% no-repeat;
}
main > .section:nth-of-type(even):not(.section--band)::before { top: -39px; }
main > .section:nth-of-type(even):not(.section--band)::after { bottom: -39px; transform: scaleY(-1); }
main > .section:nth-of-type(even).section--tight { padding-top: clamp(48px, 6vw, 80px); }

/* --------------------------------------------------------------- Hero : photo à gauche en forme organique */
.hero { padding-top: clamp(36px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__visual { order: -1; position: relative; display: flex; justify-content: center; }
.hero__photo { width: min(100%, 460px); aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::before {
  content: ""; position: absolute; width: 82%; aspect-ratio: 1; left: -4%; top: -6%; z-index: -1;
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; background: radial-gradient(circle, rgba(156, 83, 250, .35), rgba(156, 83, 250, .08) 70%);
}
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); font-weight: 800; line-height: 1.03; margin-bottom: 18px; }
.hero__subtitle { font-family: var(--title); font-weight: 700; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--navy); max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow);
  color: var(--muted); font-size: 13px; line-height: 1.25;
}
.chip strong { display: block; font-family: var(--title); font-size: 16px; color: var(--navy); }
.chip__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; flex: none; }
.chip--a { right: 2%; bottom: 8%; transform: rotate(3deg); }
.chip--b { left: 0; top: 6%; transform: rotate(-4deg); }

/* --------------------------------------------------------------- Texte + photo : polaroïd */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { display: flex; justify-content: center; }
.split__media img {
  width: min(100%, 440px); aspect-ratio: 4 / 4.6; object-fit: cover;
  padding: 12px 12px 56px; background: #fff; border-radius: 6px;
  box-shadow: var(--shadow); transform: rotate(2.5deg); transition: transform .3s ease;
}
.split--rev .split__media img { transform: rotate(-2.5deg); }
.split__media img:hover { transform: rotate(0); }
.split .title { margin-left: 0; max-width: none; }

/* --------------------------------------------------------------- Cartes avec image : polaroïds inclinés */
.cards { display: grid; gap: 26px; margin-top: 44px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 12px 12px 20px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.card:nth-child(odd) { transform: rotate(-1.2deg); }
.card:nth-child(even) { transform: rotate(1deg); }
.card:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow); }
.card__img { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 6px 0; }
.card h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.card p { margin: 0 0 .4em; font-size: 15.5px; color: var(--muted); }

/* --------------------------------------------------------------- Blocs texte : verre dépoli à bord pointillé */
.tiles { display: grid; gap: 20px; margin-top: 36px; }
.tiles--1 { grid-template-columns: 1fr; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; padding: 26px 24px 24px; border-radius: 22px; background: var(--glass-strong); border: 2px dashed var(--line); transition: border-color .2s ease, transform .2s ease; }
.tile:hover { border-color: var(--violet-cta); transform: translateY(-3px); }
.tile h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.tile p { margin: 0 0 .5em; font-size: 16px; color: var(--muted); }
.tile__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px;
  border-radius: 16px 16px 16px 4px; background: var(--grad); color: #fff;
  font-family: var(--title); font-weight: 800; font-size: 21px; transform: rotate(-5deg);
  box-shadow: 0 10px 22px -12px rgba(139, 92, 246, .9);
}
.split .tiles--2, .split .tiles--3 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------- Listes */
.checks { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-family: var(--title); font-weight: 700; color: var(--navy); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; font-size: 13px; }

/* --------------------------------------------------------------- Vidéos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 18px 0 8px; }
.video { padding: 10px 10px 36px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); }
.video:nth-child(1) { transform: rotate(-1.5deg); } .video:nth-child(3) { transform: rotate(1.5deg); }
.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; background: #000; }

/* --------------------------------------------------------------- Offres (billetterie, PDF) : tickets */
.offer {
  position: relative; display: flex; align-items: center; gap: 16px; margin: 14px auto; max-width: 820px; padding: 18px 24px;
  border-radius: 18px; background: var(--glass-strong); border: 2px dashed var(--violet-parme);
  text-decoration: none; color: var(--navy); transition: transform .2s ease, background-color .2s ease;
}
.offer:hover { transform: translateY(-3px); background: #fff; }
.offer__ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; }
.offer__ico svg { width: 20px; height: 20px; }
.offer strong { display: block; font-family: var(--title); font-size: 17px; line-height: 1.3; }
.offer small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------- Bandeaux : violet nuit de futurpapa.fr */
.section--band { padding-top: 0; }
.band { position: relative; overflow: hidden; border-radius: 36px; background: var(--night); color: #fff; box-shadow: var(--shadow); text-align: center; }
.band::before { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; top: -110px; border-radius: 50%; background: rgba(156, 83, 250, .25); }
.band::after { content: ""; position: absolute; width: 220px; height: 220px; left: -60px; bottom: -90px; border-radius: 50%; background: rgba(156, 83, 250, .18); }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.band__body { position: relative; z-index: 1; padding: clamp(36px, 5vw, 68px); }
.band .title, .band .subtitle { color: #fff; margin-left: auto; margin-right: auto; }
.band .eyebrow { color: #E9DDFE; }
.band .prose p, .band > .band__body > p { color: rgba(255, 255, 255, .82); }
.band .tile { text-align: left; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.band .tile h3 { color: #fff; }
.band .tile p { color: rgba(255, 255, 255, .8); }
.band .card { text-align: left; }
.band .btn { background: #fff; color: var(--violet-cta); }
.band a:not(.btn) { color: #E9DDFE; }
.band .offer { text-align: left; color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.band .offer small { color: rgba(255, 255, 255, .75); }

/* --------------------------------------------------------------- Images isolées */
.inline-img { margin: 24px auto; max-width: 820px; }
.inline-img img { border-radius: 14px; box-shadow: var(--shadow-sm); }
.qr { margin: 22px 0 0; display: flex; justify-content: center; }
.qr img { width: 132px; height: 132px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------- Fondateur : centré, portrait au-dessus */
.founder { position: relative; max-width: 820px; margin: 90px auto 0; display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: clamp(90px, 10vw, 110px) clamp(24px, 5vw, 56px) clamp(32px, 5vw, 56px); border-radius: 36px; background: var(--night); color: #fff; box-shadow: var(--shadow); }
.founder__photo { order: -1; position: absolute; top: -80px; width: 160px; height: 160px; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; border-radius: 50%; border: 6px solid #fff; background: #fff; box-shadow: var(--shadow); }
.founder .eyebrow { color: #E9DDFE; }
.founder h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.founder p { color: rgba(255, 255, 255, .82); }
.founder strong { color: #fff; }
.founder a:not(.btn) { color: #E9DDFE; font-weight: 700; }

/* --------------------------------------------------------------- Pied de page */
.footer { margin-top: clamp(48px, 7vw, 96px); padding: 36px 0 44px; background: rgba(255, 255, 255, .55); position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px; background: var(--wave) center / 100% 100% no-repeat; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer p { margin: 0; font-family: var(--title); font-weight: 800; color: var(--navy); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--navy); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--violet-accent); text-decoration: underline; }

/* --------------------------------------------------------------- Pages simples */
.fp-doc { padding: clamp(40px, 6vw, 80px) 0; }
.fp-doc__inner { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: var(--glass-strong); box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------- Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal.is-visible:nth-child(odd) { transform: rotate(-1.2deg); }
.card.reveal.is-visible:nth-child(even) { transform: rotate(1deg); }
.card.reveal.is-visible:hover { transform: rotate(0) translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .tiles--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .videos { grid-template-columns: 1fr; }
  .title { max-width: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .cards--2, .cards--3, .cards--4, .tiles--2, .tiles--3 { grid-template-columns: 1fr; }
  .logo__text { display: none; }
  .header .btn { padding: 9px 14px; font-size: 14px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .chip { font-size: 12px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
