/* ============ InkCraft — charte ============ */
:root {
  --navy: #0D1430;
  --navy-2: #1B2347;
  --cyan: #27A8E0;
  --blue: #3F68B3;
  --magenta: #E9458C;
  --orange: #F7AF1D;
  --grad: linear-gradient(90deg, #27A8E0 0%, #3F68B3 30%, #E9458C 62%, #F7AF1D 100%);
  --texte: #2A3150;
  --gris: #6B7290;
  --fond: #F6F7FB;
  --ligne: #E5E8F1;
  --blanc: #fff;
  --rayon: 16px;
  --ombre: 0 10px 30px -12px rgba(13, 20, 48, .18);
  --police: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--police); color: var(--texte); background: var(--blanc); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.conteneur { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.ico-xl { width: 64px; height: 64px; stroke-width: 1.3; }
.texte-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(233, 69, 140, .6); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-wa { background: #25D366; color: #fff; }
.btn-contour { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-blanc { background: #fff; color: var(--navy); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }

/* Topbar + header */
.topbar { background: var(--navy); color: #C9CEE3; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: .5em 0; gap: 1rem; }
.topbar-liens { display: flex; gap: 1.5rem; }
.topbar a:hover { color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.header-in { display: flex; align-items: center; gap: 2rem; height: 76px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-right: auto; font-weight: 500; }
.nav > a, .nav-deroulant > a { padding: .5em 0; position: relative; color: var(--navy); }
.nav a.actif::after, .nav > a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--grad); }
.chevron { font-size: .75em; }
.nav-deroulant { position: relative; display: flex; align-items: center; }
.nav-deroulant > a { display: inline-flex; align-items: center; gap: .3em; }
.mega { position: absolute; top: 100%; left: -20px; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 12px; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav-deroulant:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: .7em; padding: .6em .8em; border-radius: 10px; font-size: .92rem; }
.mega a:hover { background: var(--fond); color: var(--magenta); }
.mega .ico { color: var(--blue); }
.header-actions { display: flex; gap: .6rem; align-items: center; }
.burger { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: 6px; }
.burger .ico { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 400px at 85% 20%, rgba(233, 69, 140, .35), transparent 60%),
  radial-gradient(500px 400px at 95% 90%, rgba(247, 175, 29, .25), transparent 60%),
  radial-gradient(500px 500px at 55% 110%, rgba(39, 168, 224, .3), transparent 60%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 90px 0 100px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 800; }
.hero p.lead { font-size: 1.15rem; color: #C9CEE3; margin: 1.3rem 0 2rem; max-width: 34em; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-points { display: flex; gap: 1.6rem; margin-top: 2.2rem; flex-wrap: wrap; color: #C9CEE3; font-size: .92rem; }
.hero-points span { display: flex; align-items: center; gap: .45em; }
.hero-points .ico { color: var(--orange); }
.surtitre { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--magenta); margin-bottom: 1rem; }
.hero .surtitre { color: var(--orange); }

/* Composition d'imprimés dans le hero */
.hero-visuel { position: relative; height: 420px; }
.imprime { position: absolute; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.imp-carte { width: 250px; height: 150px; background: #fff; top: 30px; left: 10px; transform: rotate(-8deg); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.imp-carte img { height: 38px; width: auto; align-self: flex-start; }
.imp-carte .lignes span { display: block; height: 6px; border-radius: 3px; background: #E3E6F0; margin-top: 6px; }
.imp-carte .lignes span:first-child { width: 60%; background: var(--navy); }
.imp-carte .lignes span:nth-child(2) { width: 40%; }
.imp-flyer { width: 220px; height: 300px; background: var(--grad); top: 60px; right: 20px; transform: rotate(6deg); padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.imp-flyer b { font-size: 2rem; line-height: 1; }
.imp-flyer small { opacity: .9; }
.imp-sticker { width: 120px; height: 120px; border-radius: 50%; background: #fff; bottom: 20px; left: 90px; display: grid; place-items: center; transform: rotate(-12deg); }
.imp-sticker img { width: 80px; }
.imp-pastilles { position: absolute; bottom: 40px; right: 0; display: flex; gap: 8px; }
.imp-pastilles i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .9); }

/* Sections */
section { padding: 90px 0; }
.section-fond { background: var(--fond); }
.titre-section { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.titre-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.titre-section p { color: var(--gris); max-width: 34em; margin-top: .6rem; }
.centre { text-align: center; justify-content: center; }
.centre p { margin-inline: auto; }

/* Catégories */
.grille-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat-carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.cat-image { aspect-ratio: 4/3; overflow: hidden; }
.cat-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-carte:hover .cat-image img { transform: scale(1.06); }
.cat-texte { padding: 14px 16px 18px; display: grid; gap: 6px; }
.cat-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: transparent; }
.cat-icone { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.cat-icone .ico { width: 26px; height: 26px; }
.cat-carte h3 { font-size: 1rem; }
.cat-carte p { font-size: .84rem; color: var(--gris); line-height: 1.45; }
.bg-cyan { background: linear-gradient(135deg, #27A8E0, #3F68B3); }
.bg-blue { background: linear-gradient(135deg, #3F68B3, #7A57B0); }
.bg-magenta { background: linear-gradient(135deg, #E9458C, #F07A6A); }
.bg-orange { background: linear-gradient(135deg, #F3853F, #F7AF1D); }

/* Produits */
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.produit-carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.produit-carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.produit-visuel { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--fond); }
.produit-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.produit-carte:hover .produit-visuel img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--navy); font-size: .72rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; z-index: 1; }
.produit-infos { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.produit-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--magenta); font-weight: 600; }
.produit-infos h3 { font-size: 1.12rem; }
.produit-infos p { font-size: .88rem; color: var(--gris); flex: 1; }
.produit-bas { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--ligne); font-size: .88rem; }
.prix strong { color: var(--navy); }
.lien-fleche { display: inline-flex; align-items: center; gap: .3em; color: var(--blue); font-weight: 600; }
.produit-carte:hover .lien-fleche { color: var(--magenta); }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: e; }
.etape { background: #fff; border-radius: var(--rayon); padding: 30px; border: 1px solid var(--ligne); position: relative; }
.etape-num { font-size: 3.2rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.etape h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.etape p { color: var(--gris); font-size: .94rem; }

/* Atouts */
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.atout { display: flex; flex-direction: column; gap: 10px; }
.atout .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--fond); color: var(--magenta); }
.atout h3 { font-size: 1.05rem; }
.atout p { color: var(--gris); font-size: .9rem; }

/* Bloc à propos */
.apropos { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.apropos-visuel { border-radius: 24px; background: var(--navy); aspect-ratio: 5/4; position: relative; overflow: hidden; display: grid; place-items: center; }
.apropos-visuel img { width: 62%; position: relative; }
.apropos-visuel .bande-cmjn { position: absolute; bottom: 0; left: 0; right: 0; height: 10px; }
.apropos p { color: var(--gris); margin-top: 1rem; }
.liste-check { list-style: none; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.liste-check li { display: flex; gap: .7em; align-items: flex-start; }
.liste-check .ico { color: #fff; background: var(--grad); border-radius: 50%; padding: 4px; width: 22px; height: 22px; margin-top: 2px; }

/* Guide fichier */
.guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rayon); padding: 24px; }
.guide-item b { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.guide-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.guide-item p { color: #B5BBD4; font-size: .9rem; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-navy .titre-section p { color: #B5BBD4; }

/* CTA */
.cta { background: var(--grad); border-radius: 28px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; color: #fff; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta p { opacity: .92; margin-top: .4rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* En-tête de page */
.page-tete { background: var(--navy); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.page-tete::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad); }
.page-tete h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-tete p { color: #C9CEE3; margin-top: .6rem; max-width: 40em; }
.fil { font-size: .85rem; color: #9AA1C2; margin-bottom: .8rem; }
.fil a:hover { color: #fff; }

/* Filtres catalogue */
.filtres { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.filtre { border: 1px solid var(--ligne); background: #fff; padding: .55em 1.1em; border-radius: 999px; font-size: .88rem; cursor: pointer; font-family: inherit; color: var(--texte); transition: .15s; }
.filtre:hover { border-color: var(--blue); }
.filtre.actif { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Fiche produit */
.fiche { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.fiche-visuel { border-radius: 24px; aspect-ratio: 4/3; position: sticky; top: 100px; overflow: hidden; box-shadow: var(--ombre); }
.fiche-visuel img { width: 100%; height: 100%; object-fit: cover; }
.fiche h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: .4rem 0 .8rem; }
.fiche-desc { color: var(--gris); font-size: 1.05rem; }
.config { margin-top: 2rem; display: grid; gap: 1.4rem; }
.config-groupe label.titre { display: block; font-weight: 600; color: var(--navy); margin-bottom: .6rem; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: inline-block; padding: .6em 1.1em; border: 1.5px solid var(--ligne); border-radius: 10px; cursor: pointer; font-size: .92rem; transition: .15s; background: #fff; }
.option input:checked + span { border-color: var(--magenta); background: #FFF0F6; color: var(--navy); font-weight: 600; }
.option span:hover { border-color: var(--blue); }
.recap { background: var(--fond); border-radius: var(--rayon); padding: 22px; margin-top: 1.8rem; }
.recap-ligne { display: flex; justify-content: space-between; font-size: .95rem; padding: 4px 0; }
.recap-ligne span:first-child { color: var(--gris); }
.recap-total { border-top: 1px solid var(--ligne); margin-top: 10px; padding-top: 12px; font-size: 1.1rem; }
.fiche-actions { display: flex; gap: .7rem; margin-top: 1.4rem; flex-wrap: wrap; }
.fiche-actions .btn { flex: 1; justify-content: center; }
.note { font-size: .84rem; color: var(--gris); margin-top: 1rem; display: flex; gap: .5em; }

/* Formulaires */
.form-grille { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: start; }
.form { background: #fff; border: 1px solid var(--ligne); border-radius: 24px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--ombre); }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ.plein { grid-column: 1 / -1; }
.champ label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.champ input, .champ select, .champ textarea { font-family: inherit; font-size: .95rem; padding: .8em 1em; border: 1.5px solid var(--ligne); border-radius: 12px; background: var(--fond); color: var(--texte); transition: .15s; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.champ textarea { min-height: 130px; resize: vertical; }
.form-actions { grid-column: 1 / -1; display: flex; gap: .7rem; flex-wrap: wrap; }
.aside-carte { background: var(--fond); border-radius: 24px; padding: 30px; display: grid; gap: 1.3rem; }
.aside-carte h3 { font-size: 1.2rem; }
.info-ligne { display: flex; gap: .9em; align-items: flex-start; }
.info-ligne .ico { width: 40px; height: 40px; padding: 9px; background: #fff; border-radius: 12px; color: var(--magenta); }
.info-ligne b { display: block; color: var(--navy); }
.info-ligne span, .info-ligne a { color: var(--gris); font-size: .92rem; }
.horaires-tableau { list-style: none; font-size: .92rem; }
.horaires-tableau li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--ligne); }
.carte-map { border-radius: 24px; overflow: hidden; height: 360px; background: var(--fond); border: 1px solid var(--ligne); }
.carte-map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer { background: var(--navy); color: #B5BBD4; margin-top: 0; }
.bande-cmjn { height: 6px; background: var(--grad); }
.footer-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; padding: 64px 0 40px; }
.footer-logo { height: 70px; width: auto; margin-bottom: 1.2rem; }
.footer-texte { font-size: .92rem; max-width: 26em; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6em; align-items: flex-start; }
.footer-contact .ico { color: var(--orange); margin-top: 3px; }
.horaires { margin-top: 1.2rem; font-size: .85rem !important; }
.horaires li { display: flex; justify-content: space-between; gap: 1rem; }
.reseaux { display: flex; gap: .6rem; margin-top: 1.3rem; }
.reseaux a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: .2s; }
.reseaux a:hover { background: var(--magenta); }
.footer-bas { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .84rem; }
.wa-flottant { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6); z-index: 60; transition: transform .2s; }
.wa-flottant:hover { transform: scale(1.08); }
.wa-flottant .ico { width: 30px; height: 30px; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav-deroulant { display: block; }
  .nav { position: fixed; top: 108px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 20px 24px; align-items: stretch; border-bottom: 1px solid var(--ligne); box-shadow: var(--ombre); display: none; max-height: calc(100vh - 108px); overflow-y: auto; }
  .nav.ouvert { display: flex; }
  .nav > a, .nav-deroulant > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ligne); }
  .nav a.actif::after, .nav > a:hover::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; border: 0; padding: 6px 0; }
  .burger { display: block; }
  .header-actions .btn-grad { display: none; }
  .hero-in, .apropos, .fiche, .form-grille { grid-template-columns: 1fr; }
  .hero-visuel { height: 360px; max-width: 520px; width: 100%; margin-inline: auto; }
  .atouts, .guide { grid-template-columns: repeat(2, 1fr); }
  .footer-grille { grid-template-columns: 1fr 1fr; }
  .fiche-visuel { position: static; }
}
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .topbar-liens a:last-child, .topbar-in > span { display: none; }
  .topbar-in { justify-content: center; }
  .header-in { height: 66px; gap: 1rem; }
  .nav { top: 98px; max-height: calc(100vh - 98px); }
  .logo img { height: 38px; }
  .header-actions .btn-wa span { display: none; }
  .header-actions .btn-wa { padding: .7em; }
  .hero-in { padding: 56px 0 64px; }
  .hero-visuel { height: 300px; }
  .imp-carte { width: 200px; height: 120px; padding: 16px; }
  .imp-flyer { width: 170px; height: 230px; }
  .imp-sticker { width: 96px; height: 96px; left: 40px; }
  .imp-pastilles { display: none; }
  .etapes, .atouts, .guide, .footer-grille, .form { grid-template-columns: 1fr; }
  .grille-cats { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 26px; }
  .form { padding: 24px; }
  .footer-bas { flex-direction: column; gap: .4rem; }
}
