/* =========================================================================
   INOLYO — feuille de style unique.
   Valeurs relevées en style calculé sur inolyo.com : Barlow, noir #0a0a0a,
   fond blanc, bouton et bandeau noirs, rayon 8 px sur les paliers d'offre.
   ========================================================================= */

:root {
	--noir: #0a0a0a;
	--texte: rgba(10, 10, 10, .9);
	--gris: #6b6b6b;
	--gris-clair: #ededed;
	--gris-fond: #f6f6f6;
	--ligne: #e0e0e0;
	--rouge: #e0324b;
	--rouge-fond: #fdeef0;
	--vert: #1a9c62;

	--wrap: 1300px;
	--gutter: 20px;
	--font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 800px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
	color: var(--texte); background: #fff; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; color: var(--noir); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.center { text-align: center; }
.h2 { font-size: clamp(24px, 2.6vw, 28.8px); letter-spacing: .72px; }

/* ---------------------------------------------------------------- Bandeau */
.topbar {
	background: var(--noir); color: #fff; text-align: center;
	font-size: 16px; font-weight: 500; letter-spacing: .8px; padding: 6px 0;
}
@media (max-width: 700px) { .topbar { font-size: 13px; } }

/* ----------------------------------------------------------------- En-tête */
.header { border-bottom: 1px solid var(--ligne); background: #fff; position: relative; z-index: 20; }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 45px; }
.header__logo { display: flex; align-items: center; }
.in-logo { width: 80px; height: auto; }  /* taille relevée sur le site */
.header__icons { display: flex; align-items: center; gap: 18px; }
.header__icons a { display: flex; color: var(--noir); }
.burger { border: 0; background: none; padding: 0; display: flex; flex-direction: column; gap: 4px; width: 22px; }
.burger span { display: block; height: 2px; background: var(--noir); border-radius: 2px; }

.mobile-nav {
	position: absolute; inset-inline: 0; top: 100%; background: #fff;
	border-bottom: 1px solid var(--ligne); box-shadow: 0 12px 24px -18px rgba(0,0,0,.4);
}
.mobile-nav__in { display: flex; flex-direction: column; gap: 4px; padding-block: 14px; }
.mobile-nav a { padding: 8px 0; text-decoration: none; font-weight: 500; }

/* ------------------------------------------------------------- Fil d'ariane */
.fil { font-size: 13px; color: var(--gris); padding: 14px 0 6px; }
.fil a { text-decoration: none; }
.fil span { margin-inline: 6px; }

/* ------------------------------------------------------- Fiche produit */
.product { padding-bottom: 40px; }
.product__grid { display: grid; gap: 28px; }
.product__grid > * { min-width: 0; }
/* Largeurs relevées sur inolyo.com : galerie 620 px, colonne d'achat 535 px. */
@media (min-width: 1000px) {
	.product__grid { grid-template-columns: minmax(0, 620px) minmax(0, 535px); justify-content: space-between; gap: 50px; align-items: start; }
	.gallery { position: sticky; top: 20px; }
}

.gallery__stage { position: relative; background: var(--gris-fond); border-radius: 8px; overflow: hidden; }
/* Scène 620 × 725 relevée sur le site : ni carrée, ni 3:2. */
.gallery__img { display: none; width: 100%; aspect-ratio: 620 / 725; object-fit: cover; }
.gallery__img.is-active { display: block; }
.gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding-top: 10px; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb { flex: 0 0 115px; padding: 0; background: none; border: 1px solid transparent; border-radius: 6px; overflow: hidden; }
.gallery__thumb img { aspect-ratio: 1; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--noir); }

/* --------------------------------------------------------- Colonne d'achat */
.buy__title { font-size: 28.8px; font-weight: 700; letter-spacing: .72px; margin-bottom: .3em; }
.buy__price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.buy__price b { font-size: 20px; font-weight: 700; letter-spacing: 1.3px; color: var(--noir); }
.buy__price s { font-size: 20px; font-weight: 500; letter-spacing: 1.3px; color: var(--gris); }

.buy__rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gris); margin-bottom: 14px; }
.stars { color: #f5a623; letter-spacing: 1px; }

.buy__accroche { font-size: 16px; font-weight: 700; color: var(--noir); margin-bottom: 14px; }

.buy__bullets { list-style: none; margin: 0 0 16px; padding: 0; }
.buy__bullets li { position: relative; padding-left: 26px; margin-bottom: 7px; font-size: 15px; }
.buy__bullets li::before {
	content: "✓"; position: absolute; left: 0; top: 0;
	width: 17px; height: 17px; border: 1px solid var(--noir); border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700;
	color: var(--noir); margin-top: 3px;
}

/* Bandeau de rareté, au-dessus de l'offre. */
.buy__stock {
	display: flex; align-items: flex-start; gap: 8px;
	background: var(--rouge-fond); border: 1px solid #f6c6ce; border-radius: 8px;
	padding: 10px 12px; font-size: 12px; color: var(--rouge); margin-bottom: 18px;
}
.buy__stock i { font-style: normal; font-weight: 700; }

/* ------------------------------------------------------------------ Offre */
.offer__legend {
	display: flex; align-items: center; gap: 12px;
	font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--gris); margin-bottom: 12px;
}
.offer__legend::before, .offer__legend::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }

/*
 * Couleurs relevées à l'échantillon sur le site : le palier NON retenu est gris
 * (#ededed) et celui qui est retenu passe au blanc, cerné de noir. C'est l'inverse
 * du réflexe habituel — le blanc y signale la sélection, pas le repos.
 */
.pack {
	display: block; position: relative; border: 2px solid transparent; border-radius: 8px;
	margin-bottom: 8px; cursor: pointer; background: var(--gris-clair);
	transition: background .15s ease, border-color .15s ease;
}
.pack:hover { border-color: #c9c9c9; }
.pack.is-active { background: #fff; border-color: var(--noir); }
.pack input { position: absolute; opacity: 0; pointer-events: none; }

.pack__row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.pack__dot {
	flex: 0 0 18px; width: 18px; height: 18px; border: 1px solid #b9b9b9; border-radius: 50%;
	position: relative;
}
.pack.is-active .pack__dot { border-color: var(--noir); }
.pack.is-active .pack__dot::after {
	content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--noir);
}
.pack__txt { flex: 1; min-width: 0; }
.pack__titre { display: block; font-size: 15px; font-weight: 700; color: var(--noir); }
.pack__sous { display: block; font-size: 12px; color: var(--gris); }
.pack__prix { text-align: right; white-space: nowrap; }
.pack__prix b { display: block; font-size: 15px; font-weight: 700; color: var(--noir); }
.pack__prix s { display: block; font-size: 12px; font-weight: 500; color: var(--gris); }

/*
 * Le badge est posé À CHEVAL sur la bordure haute de la card : moitié au-dessus,
 * moitié dedans, la bordure passant derrière lui. C'est ce qui le rattache
 * visuellement à l'offre qu'il désigne — entièrement au-dessus, il flotterait.
 * La marge du palier ne réserve donc que la moitié de la hauteur du badge.
 */
.pack__badge {
	position: absolute; top: 0; right: 12px; transform: translateY(-50%); z-index: 2;
	background: var(--noir); color: #fff; font-size: 12px; font-weight: 700;
	padding: 6px 10px; border-radius: 5px; letter-spacing: .3px; line-height: 1;
}
.pack--badge { margin-top: 16px; }

/* Lignes de bonus, sous le palier — toujours grises, y compris dans un palier blanc. */
.pack__bonus {
	display: flex; align-items: center; gap: 10px;
	background: var(--gris-clair); padding: 8px 14px; font-size: 12.5px;
	border-top: 1px solid #dcdcdc;
}
.pack__bonus:last-child { border-radius: 0 0 6px 6px; }
.pack__bonus img { width: 28px; height: 28px; object-fit: contain; border-radius: 3px; flex: 0 0 28px; }
.pack__bonus img.pack__camion { width: 22px; height: 22px; flex-basis: 22px; }
.pack__bonus span { flex: 1; min-width: 0; }
.pack__bonus s { color: var(--gris); }

.atc {
	display: block; width: 100%; margin-top: 16px;
	background: var(--noir); color: #fff; border: 0; border-radius: 8px;
	padding: 15px; font-size: 16px; font-weight: 700; letter-spacing: .8px;
	text-transform: uppercase; transition: opacity .15s ease;
}
.atc:hover { opacity: .88; }
.atc:disabled { opacity: .5; cursor: default; }

.buy__reassure { display: flex; justify-content: center; gap: 34px; margin: 16px 0 14px; font-size: 15px; color: var(--texte); flex-wrap: wrap; }
.buy__reassure span { display: flex; align-items: center; gap: 8px; }
.buy__reassure i {
	font-style: normal; flex: 0 0 18px; width: 18px; height: 18px; border: 1.5px solid var(--noir);
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 700; color: var(--noir);
}
.buy__pay { margin: 0 auto 20px; max-width: min(300px, 100%); }
@media (max-width: 420px) { .buy__reassure { gap: 18px; font-size: 13.5px; } }
.buy__error { color: var(--rouge); font-size: 14px; }

/* Avis mis en avant sous le bouton. */
.buy__avis {
	background: var(--gris-fond); border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; font-size: 13px;
}
.buy__avis strong { font-size: 13px; color: var(--noir); }
.buy__avis .buy__avis-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.buy__avis .stars { color: var(--noir); font-size: 12px; }
.buy__avis p { margin: 0; }

/* ------------------------------------------------------------- Accordéons */
.accordions { margin-top: 22px; }
.acc { border-top: 1px solid var(--ligne); }
.acc:last-child { border-bottom: 1px solid var(--ligne); }
.acc summary {
	list-style: none; cursor: pointer; padding: 14px 0; font-size: 14px; font-weight: 600;
	display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--noir);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "⌄"; font-size: 16px; color: var(--gris); transition: transform .2s ease; }
.acc[open] summary::after { transform: rotate(180deg); }
.acc__body { padding-bottom: 14px; font-size: 14px; }
.acc__body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------ Sections éditoriales */
.pitch { padding: 44px 0; }
.pitch__grid { display: grid; gap: 26px; align-items: center; }
.pitch__grid > * { min-width: 0; }
@media (min-width: 900px) {
	.pitch__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
	.pitch--droite .pitch__media { order: 2; }
}
.pitch__media img, .pitch__media video { width: 100%; border-radius: 8px; background: var(--gris-fond); }
.pitch__text h2 { font-size: clamp(24px, 2.6vw, 28.8px); letter-spacing: .72px; margin-bottom: .7em; }
.pitch__text p { font-size: 15px; }
.pitch__text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------- FAQ */
.faq { padding: 40px 0 56px; }
.faq .h2 { text-align: center; margin-bottom: 1.2em; }

/* ------------------------------------------------------------------- Avis */
.reviews { padding: 20px 0 60px; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 24px; }
.reviews__score { display: flex; align-items: center; gap: 10px; }
.reviews__score strong { font-size: 30px; font-weight: 700; color: var(--noir); }
.reviews__bars { flex: 1; min-width: 220px; max-width: 320px; display: grid; gap: 3px; }
.reviews__bar { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 8px; font-size: 12px; color: var(--gris); }
.reviews__bar i { display: block; height: 7px; background: var(--gris-clair); border-radius: 4px; overflow: hidden; }
.reviews__bar i b { display: block; height: 100%; background: #f5a623; }

.reviews__list { display: grid; gap: 0; }
.review { border-top: 1px solid var(--ligne); padding: 18px 0; margin: 0; }
.review.is-hidden { display: none; }
.review__who { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review__avatar {
	width: 30px; height: 30px; border-radius: 50%; background: var(--gris-clair);
	display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--noir);
}
.review__name { font-size: 14px; font-weight: 600; color: var(--noir); }
.review__verified { font-size: 11px; color: var(--vert); }
.review__title { font-size: 14px; font-weight: 700; margin: 4px 0; color: var(--noir); }
.review__txt { margin: 0; font-size: 14px; }
.reviews__more { text-align: center; margin-top: 22px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--noir); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .8px;
	text-decoration: none; padding: 14px 30px; border: 0; border-radius: 8px; transition: opacity .15s ease;
}
.btn:hover { opacity: .88; }
.btn--outline { background: none; color: var(--noir); border: 1px solid var(--noir); }

/* --------------------------------------------------------- Barre collante */
.stickybar {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
	background: #fff; border-top: 1px solid var(--ligne);
	display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter);
	transform: translateY(110%); transition: transform .25s ease;
}
.stickybar.is-on { transform: none; }
.stickybar img { width: 38px; height: 38px; object-fit: cover; border-radius: 5px; background: var(--gris-fond); }
.stickybar__nom { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--noir); }
.stickybar .atc { width: auto; margin: 0; padding: 12px 26px; }
@media (max-width: 700px) { .stickybar__nom { display: none; } .stickybar .atc { flex: 1; } }

/* ------------------------------------------------------------ Réassurances */
.reassure { background: var(--gris-fond); padding: 40px 0; }
.reassure__grid { display: grid; gap: 24px; text-align: center; }
@media (min-width: 800px) { .reassure__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reassure__icon { font-size: 26px; }
.reassure__item h3 { font-size: 15px; margin: 10px 0 6px; }
.reassure__item p { font-size: 13px; color: var(--gris); margin: 0; }

/* ---------------------------------------------------------------- Pied */
.footer { background: var(--noir); color: #fff; padding: 44px 0 22px; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer h3 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .9em; }
.footer p, .footer a { font-size: 13px; }
.footer__links { display: flex; flex-direction: column; gap: 7px; }
.footer__links a { text-decoration: none; opacity: .82; }
.footer__links a:hover { opacity: 1; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 30px; padding-top: 16px; font-size: 12px; opacity: .7; }

/* ------------------------------------------------------------ Pages simples */
.in-page { padding: 40px 0 60px; }
.in-page__title { font-size: clamp(24px, 3vw, 32px); margin-bottom: .6em; }
.prose h2 { font-size: 19px; margin-top: 1.4em; }
.prose h3 { font-size: 16px; margin-top: 1.2em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 5px; }
.in-tag { font-size: 11px; font-weight: 700; color: var(--vert); }
