/* Achat Plus — feuille de style principale */
:root {
  --red: #e4002b;
  --red-dark: #b80023;
  --ink: #1d1d1f;
  --text: #4a4a4f;
  --muted: #7c7c84;
  --line: #e6e4e0;
  --cream: #f7f4ef;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 15, 10, 0.08);
  --max: 1160px;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.6vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.cream { background: var(--cream); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--red); background: var(--red); color: var(--white); font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.outline { background: transparent; color: var(--red); }
.btn.outline:hover { background: var(--red); color: var(--white); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .btn { color: var(--white); padding: 11px 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Héros ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: var(--white); background: #222 center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 8, 6, .82) 0%, rgba(10, 8, 6, .55) 55%, rgba(10, 8, 6, .2) 100%); }
.hero .wrap { position: relative; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero p { font-size: clamp(17px, 1.7vw, 20px); max-width: 52ch; color: rgba(255, 255, 255, .9); }
.hero .eyebrow { color: #ff8fa3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Chiffres ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 28px 22px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; color: var(--red); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Atouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: #fde6ea; color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.card p { margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.quote { margin: 28px 0 0; padding: 18px 22px; border-left: 4px solid var(--red); background: var(--cream); border-radius: 0 10px 10px 0; font-weight: 600; color: var(--ink); }

/* ---------- Familles ---------- */
.families { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 40px; }
.family { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); text-align: left; line-height: 1.35; }
.family .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* ---------- Bandeau photo ---------- */
.band { position: relative; color: var(--white); background: #222 center/cover no-repeat; text-align: center; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(10, 8, 6, .62); }
.band .wrap { position: relative; }
.band h2 { color: var(--white); }
.band p { color: rgba(255, 255, 255, .9); margin-left: auto; margin-right: auto; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.person { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.person img { width: 150px; height: 190px; object-fit: cover; border-radius: 10px; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--red); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.person p { font-size: 15px; margin: 0; }
@media (max-width: 980px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } .person img { width: 100%; height: 260px; } }

/* ---------- Tarifs (aperçu accueil) ---------- */
.prices-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--ink); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.prices-teaser h2 { color: var(--white); margin-bottom: .3em; }
.prices-teaser p { margin: 0; max-width: 56ch; }

/* ---------- Formulaire ---------- */
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 920px) { .join { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.steps b { color: var(--ink); display: block; }
.form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3.5vw, 36px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
fieldset.field { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 14px; cursor: pointer; }
.checks input { width: auto; margin: 0; accent-color: var(--red); }
.checks label:has(input:checked) { border-color: var(--red); background: #fde6ea; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 20px; }
.consent input { margin-top: 4px; accent-color: var(--red); }
.form .btn { width: 100%; }
.hidden { position: absolute !important; left: -9999px !important; }

/* ---------- Contact & pied de page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { margin: 0; }
.contact-card a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-card a:hover { color: var(--red); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.footer { background: #141414; color: rgba(255, 255, 255, .65); padding: 44px 0; font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- Page Tarifs ---------- */
.t-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.t-date { margin: 0; color: var(--muted); }
.t-date b { color: var(--ink); }
.t-search { flex: 0 1 340px; width: 100%; }
.t-search input { width: 100%; font: inherit; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; background: var(--white); }
.t-search input:focus { outline: none; border-color: var(--red); }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.t-chip { font: 600 14px/1.2 var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 15px; cursor: pointer; }
.t-chip:hover { border-color: var(--red); }
.t-chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.t-fam { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 36px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.t-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.t-table col.c-cond { width: 26%; }
.t-table col.c-price { width: 20%; }
.t-table col.c-evo { width: 14%; }
.t-table th, .t-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.t-table th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-table tbody tr:hover td { background: var(--cream); }
.t-prod { color: var(--ink); font-weight: 500; }
.t-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-price { color: var(--ink); font-weight: 700; }
.t-unit { font-weight: 400; color: var(--muted); font-size: 13px; }
.t-evo { font-size: 14px; font-weight: 600; }
.t-up { color: #c4001f; }
.t-down { color: #1b7f3a; }
.t-same { color: #b5b5bb; }
.t-msg { padding: 32px; text-align: center; background: var(--cream); border-radius: var(--radius); margin-top: 24px; }
.t-demo { background: #fff2f4; color: var(--red-dark); border: 1px dashed var(--red); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0 0 16px; }
.t-note { margin-top: 40px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .t-search { flex-basis: 100%; }
  .t-table thead, .t-table colgroup { display: none; }
  .t-table, .t-table tbody, .t-table tr, .t-table td { display: block; width: 100%; }
  .t-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .t-table td { border: 0; padding: 0; }
  .t-table td.t-cond { grid-row: 2; font-size: 13px; color: var(--muted); }
  .t-table td.t-price { grid-column: 2; grid-row: 1; }
  .t-table td.t-evo { grid-column: 2; grid-row: 2; }
  .t-table td:empty { display: none; }
}

/* ---------- Pages simples ---------- */
.page-head { background: var(--cream); padding: clamp(48px, 7vw, 80px) 0 clamp(36px, 5vw, 56px); }
.page-head p { margin: 0; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 1.8em; }
