/* MaquiZen — site vitrine. Charte : docs/CHARTE-GRAPHIQUE.md
   Mise en page éditoriale : alignée à gauche, colonnes asymétriques,
   sections numérotées, pas d'ombre dure ni de dégradé. */
:root {
  --vert: #0E6B4E; --vert-fonce: #0A4F3A; --vert-clair: #E6F6EF;
  --orange: #F28C1E; --orange-texte: #9A4A00; --orange-clair: #FDEBD6;
  --creme: #FFF6EA; --charbon: #1D1B18; --texte2: #3A3632; --discret: #5B5650;
  --bordure: #E8DCCB; --rouge: #B42318; --blanc: #fff;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px;
  --max: 1180px;
  --pad: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Inter', system-ui, sans-serif; color: var(--charbon); background: var(--creme);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; display: block; }
a { color: var(--vert); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.baloo, h1, h2 { font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ── Boutons (48 px, arrondi 14) ─────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px;
  border-radius: var(--r-md); font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-orange { background: var(--orange); color: var(--charbon); }
.btn-orange:hover { background: #e07f14; }
.btn-vert { background: var(--vert); color: #fff; }
.btn-vert:hover { background: var(--vert-fonce); }
.btn-ligne { border-color: currentColor; color: inherit; background: transparent; }
.lien { font-weight: 700; color: var(--vert); text-decoration: underline; text-underline-offset: 4px; }

/* ── En-tête ─────────────────────────────────────────────────────── */
header.top { position: sticky; top: 0; z-index: 20; background: var(--creme); border-bottom: 1.5px solid var(--charbon); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
header.top img { height: 34px; }
header.top nav { display: flex; gap: 26px; align-items: center; }
header.top nav a { color: var(--charbon); text-decoration: none; font-weight: 600; font-size: 15px; }
header.top nav a:hover { color: var(--vert); }
header.top nav .btn { min-height: 42px; padding: 8px 16px; font-size: 15px; color: #fff; }
@media (max-width: 760px) { header.top nav a:not(.btn) { display: none; } }

/* ── Accroche : titre à gauche, ticket à droite ──────────────────── */
.hero { background: var(--vert); color: #fff; border-bottom: 1.5px solid var(--charbon); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(24px, 5vw, 64px);
  padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 88px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--creme); margin-bottom: 22px; }
.kicker::before { content: ''; width: 36px; height: 3px; background: var(--orange); }
.hero h1 { font-size: clamp(46px, 8.6vw, 104px); }
.hero h1 em { font-style: normal; color: var(--creme); display: block; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--creme); max-width: 34ch; margin: 26px 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .actions .btn-ligne { color: #fff; }
.hero .note { margin-top: 18px; font-size: 14px; color: var(--creme); opacity: .9; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Ticket « Point de la table » */
.ticket { background: #fff; color: var(--charbon); width: min(100%, 340px); justify-self: end;
  padding: 26px 24px 30px; transform: rotate(2.5deg); position: relative;
  font-family: 'Inter', monospace; font-size: 14.5px;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, #0000 98%, #000) 0 0 / 18px 100% repeat-x; }
.ticket .t-head { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 2px dashed var(--bordure); }
.ticket .t-head img { width: 38px; }
.ticket .t-head b { font-family: 'Baloo 2'; font-size: 20px; display: block; line-height: 1; }
.ticket .t-head span { font-size: 12.5px; color: var(--discret); }
.ticket table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.ticket td { padding: 5px 0; }
.ticket td:last-child { text-align: right; font-weight: 600; }
.ticket .qte { width: 34px; color: var(--discret); }
.ticket .sum { border-top: 2px dashed var(--bordure); padding-top: 12px; display: grid; gap: 4px; }
.ticket .sum div { display: flex; justify-content: space-between; }
.ticket .sum .total { font-family: 'Baloo 2'; font-weight: 800; font-size: 26px; }
.ticket .reste { background: var(--orange-clair); color: var(--orange-texte); font-weight: 700; padding: 6px 10px; border-radius: var(--r-sm); }
.ticket .stamp { position: absolute; right: 14px; top: 64px; transform: rotate(-12deg); border: 2.5px solid var(--vert);
  color: var(--vert); font-weight: 800; font-size: 12px; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; }
@media (max-width: 900px) { .ticket { justify-self: start; transform: rotate(-1.5deg); } }

/* ── Bandeau défilant ────────────────────────────────────────────── */
.ruban { background: var(--orange); color: var(--charbon); border-bottom: 1.5px solid var(--charbon); overflow: hidden; }
.ruban .piste { display: flex; gap: 40px; width: max-content; padding: 14px 0; animation: defile 38s linear infinite;
  font-family: 'Baloo 2'; font-weight: 800; font-size: 22px; white-space: nowrap; }
.ruban .piste span::after { content: '·'; margin-left: 40px; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ruban .piste { animation: none; } }

/* ── Sections numérotées (titre collant à gauche) ────────────────── */
.sec { padding: clamp(56px, 8vw, 104px) 0; border-bottom: 1.5px solid var(--charbon); }
.sec .wrap { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.sec .side { position: sticky; top: 96px; }
.num { font-family: 'Baloo 2'; font-weight: 800; font-size: 15px; color: var(--orange-texte); letter-spacing: .1em; }
.sec h2 { font-size: clamp(34px, 4.6vw, 54px); margin: 6px 0 14px; }
.sec .side p { color: var(--texte2); max-width: 32ch; }
@media (max-width: 860px) { .sec .wrap { grid-template-columns: 1fr; } .sec .side { position: static; } }

/* Répliques de maquis (problème → réponse) */
.repliques { display: grid; gap: 28px; }
.replique { display: grid; gap: 10px; max-width: 640px; }
.replique:nth-child(even) { justify-self: end; }
.bulle { font-family: 'Baloo 2'; font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.1;
  background: #fff; border: 1.5px solid var(--charbon); border-radius: 22px 22px 22px 4px; padding: 18px 22px; }
.replique:nth-child(even) .bulle { border-radius: 22px 22px 4px 22px; }
.reponse { display: flex; gap: 12px; align-items: flex-start; color: var(--texte2); padding-left: 4px; }
.reponse img { width: 30px; flex: none; margin-top: 2px; }
.reponse b { color: var(--vert); }

/* Grille de fonctionnalités inégale (bento) */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tuile { background: #fff; border: 1.5px solid var(--charbon); border-radius: var(--r-lg); padding: 24px; grid-column: span 2; }
.tuile h3 { font-family: 'Baloo 2'; font-weight: 800; font-size: 24px; line-height: 1.1; margin: 12px 0 6px; }
.tuile p { color: var(--texte2); font-size: 16px; }
.tuile .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--vert-clair); display: grid; place-items: center; }
.tuile .ic svg { width: 26px; height: 26px; stroke: var(--vert); }
.tuile.grande { grid-column: span 6; background: var(--vert); color: #fff; display: grid;
  grid-template-columns: 1fr 250px; gap: 28px; overflow: hidden; padding-bottom: 0; align-items: center; }
.tuile.grande h3 { font-size: clamp(26px, 3vw, 34px); }
.tuile.grande > div:first-child { padding-bottom: 24px; max-width: 44ch; }
.tuile.grande p { color: var(--creme); }
.tuile.grande .ic { background: rgba(255,255,255,.14); }
.tuile.grande .ic svg { stroke: var(--creme); }
.tuile.large { grid-column: span 3; }
.tuile.orange { background: var(--orange-clair); }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tuile, .tuile.large { grid-column: span 1; }
  .tuile.grande { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tuile, .tuile.large, .tuile.grande { grid-column: span 1; } }

/* Mini téléphone (point de la table) */
.tel { align-self: end; height: 280px; background: var(--charbon); border-radius: 30px 30px 0 0; padding: 9px 9px 0; height: 300px; }
.ecran { background: var(--creme); border-radius: 22px 22px 0 0; height: 100%; overflow: hidden; color: var(--charbon); font-size: 11.5px; }
.ecran .barre { background: var(--vert); color: #fff; padding: 22px 12px 10px; font-family: 'Baloo 2'; font-weight: 800; font-size: 16px; }
.ecran .lignes { padding: 10px 12px; }
.ecran .l { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--bordure); }
.ecran .t { display: flex; justify-content: space-between; padding-top: 8px; font-weight: 800; font-size: 14px; }
.ecran .r { margin-top: 6px; background: var(--orange-clair); color: var(--orange-texte); font-weight: 700; padding: 5px 8px; border-radius: 8px; }
@media (max-width: 960px) { .tel { height: 250px; max-width: 260px; } }

/* Hors ligne (bande charbon) */
.horsligne { background: var(--charbon); color: #fff; }
.horsligne .wrap { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; align-items: end;
  padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.horsligne h2 { font-size: clamp(38px, 6vw, 72px); }
.horsligne h2 span { color: var(--orange); }
.horsligne p { color: var(--creme); font-size: 18px; max-width: 40ch; }
@media (max-width: 760px) { .horsligne .wrap { grid-template-columns: 1fr; } }

/* Prix façon addition */
.addition { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--charbon); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.addition .gauche { background: var(--vert); color: #fff; padding: clamp(24px, 4vw, 40px); }
.addition .prix { font-family: 'Baloo 2'; font-weight: 800; font-size: clamp(54px, 6.4vw, 88px); line-height: .95; white-space: nowrap; }
.addition .par { font-family: 'Baloo 2'; font-weight: 700; font-size: 24px; color: var(--creme); }
.addition .moyens { margin-top: 22px; color: var(--creme); font-size: 15px; }
.addition .droite { padding: clamp(24px, 4vw, 40px); }
.addition table { width: 100%; border-collapse: collapse; font-size: 17px; }
.addition td { padding: 12px 0; border-bottom: 1.5px dashed var(--bordure); }
.addition td:last-child { text-align: right; font-weight: 700; }
.addition .petit { font-size: 14px; color: var(--discret); margin-top: 14px; }
@media (max-width: 760px) { .addition { grid-template-columns: 1fr; } }
.inclus { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin-top: 26px; }
.inclus li { display: flex; gap: 10px; align-items: flex-start; }
.inclus li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%231D1B18' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (max-width: 560px) { .inclus { grid-template-columns: 1fr; } }

/* Étapes en liste numérotée */
.etapes { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--charbon); }
.etapes li { display: grid; grid-template-columns: 88px 1fr auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1.5px solid var(--charbon); }
.etapes .n { font-family: 'Baloo 2'; font-weight: 800; font-size: 64px; line-height: .9; color: var(--vert); }
.etapes h3 { font-family: 'Baloo 2'; font-weight: 800; font-size: 26px; line-height: 1.1; }
.etapes p { color: var(--texte2); }
.etapes .dl { display: grid; gap: 10px; }
.etapes .dl .btn { white-space: nowrap; justify-content: center; }
.hero .note a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 640px) { .etapes li { grid-template-columns: 56px 1fr; } .etapes .n { font-size: 44px; } .etapes li > :last-child:not(div) { grid-column: 2; } }

/* Questions */
.faq { display: grid; border-top: 1.5px solid var(--charbon); }
.faq details { border-bottom: 1.5px solid var(--charbon); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  font-family: 'Baloo 2'; font-weight: 800; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--vert); font-size: 28px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; color: var(--texte2); max-width: 62ch; }

/* Appel final */
.fin { background: var(--orange); color: var(--charbon); border-bottom: 1.5px solid var(--charbon); }
.fin .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: end;
  padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.fin h2 { font-size: clamp(42px, 7vw, 88px); }
.fin p { font-size: 19px; margin-top: 12px; }
.fin .actions { display: grid; gap: 12px; }
.fin .btn-vert, .fin .btn-ligne { justify-content: space-between; }
@media (max-width: 760px) { .fin .wrap { grid-template-columns: 1fr; } }

/* Pied de page */
footer { background: var(--charbon); color: var(--creme); padding: 36px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--creme); }
footer img { height: 32px; }

/* ── Pages légales ───────────────────────────────────────────────── */
.legal { max-width: 760px; padding: 48px var(--pad) 80px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 26px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--texte2); margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal .todo { background: var(--orange-clair); color: var(--orange-texte); padding: 2px 6px; border-radius: 6px; font-weight: 600; }
.legal .note { background: #fff; border: 1.5px solid var(--charbon); border-radius: var(--r-md); padding: 14px 18px; margin: 18px 0; }
@media (min-width: 1100px) { .legal { margin-left: max(0px, calc((100vw - var(--max)) / 2)); } }

[data-if-contact] { display: none; }
