/* accosmesco.com — UK advertorial landing page
   Style : "Encre & Terre cuite" — crème froide, bleu nuit profond, terre cuite */

:root {
  --paper: #f6f4f0;
  --paper-2: #ebe7df;
  --card: #ffffff;
  --ink: #14181d;
  --ink-soft: #575f6a;
  --navy: #10263a;
  --navy-2: #081724;
  --clay: #bf5330;
  --clay-soft: #f3d8cd;
  --line: #d9d4c9;
  --radius: 10px;
  --maxw: 820px;
  --font-head: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Bandeau */
.topbar {
  background: var(--navy-2);
  color: #dfe6ee;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #f0cbbc; text-decoration: none; }

/* Mention publicitaire */
.adlabel {
  display: inline-block;
  background: var(--clay-soft);
  color: #7a2f14;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 7px 16px;
  margin: 30px 0 18px;
  border-radius: 999px;
}

h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(32px, 5.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h2 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(25px, 3.6vw, 34px);
  line-height: 1.22;
  margin: 52px 0 12px;
  padding-left: 16px;
  border-left: 3px solid var(--clay);
}
h3 { font-family: var(--font-head); font-weight: 400; font-size: 24px; margin: 28px 0 8px; }

.byline {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  margin-bottom: 26px;
}

.lead { font-size: 21px; line-height: 1.62; color: #2a323c; }
.lead strong { color: var(--navy); }

figure { margin: 28px 0; }
figure img { border-radius: var(--radius); }

figure.hero { margin: 0 0 22px; }
figure.hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 50%;
  box-shadow: 0 18px 40px -22px rgba(8, 23, 36, 0.55);
}
figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 9px; padding-left: 14px; border-left: 2px solid var(--line); }

p { margin: 0 0 18px; }

blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 26px;
  border-left: 4px solid var(--navy);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.38;
  color: var(--navy);
}
blockquote span { display: block; font-family: var(--font-body); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); margin-top: 14px; }

.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 32px 0;
  box-shadow: 0 10px 26px -20px rgba(8, 23, 36, 0.5);
}
.callout h3 { margin-top: 0; color: var(--navy); }
.callout p:last-child { margin-bottom: 0; }

ul.check { list-style: none; padding: 0; margin: 0 0 20px; }
ul.check li { position: relative; padding-left: 32px; margin-bottom: 11px; }
ul.check li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid var(--clay);
}

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.stat b { display: block; font-family: var(--font-head); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--navy); }
.stat span { font-size: 14px; line-height: 1.45; color: var(--ink-soft); display: block; margin-top: 6px; }

/* Étapes numérotées */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0; }
ol.steps li { counter-increment: s; position: relative; padding-left: 56px; margin-bottom: 18px; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 4px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-size: 20px;
}

/* Offres */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 10px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--navy); box-shadow: 0 16px 36px -24px rgba(8, 23, 36, 0.6); }
.plan .tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.plan h3 { margin: 8px 0 4px; font-size: 25px; }
.plan .price { font-family: var(--font-head); font-size: 30px; color: var(--navy); line-height: 1.2; }
.plan .price small { display: block; font-family: var(--font-body); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 15px; line-height: 1.6; }
.plan ul li { padding-left: 18px; position: relative; margin-bottom: 8px; }
.plan ul li::before { content: "—"; position: absolute; left: 0; color: var(--clay); }

table.price {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 17px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.price th, table.price td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); }
table.price th { background: var(--navy); color: #fff; font-weight: 500; letter-spacing: 0.03em; }
table.price td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
table.price tr:last-child td { border-bottom: none; font-weight: 600; }

/* Formulaire */
.formcard {
  background: var(--navy);
  color: #e6edf4;
  padding: 34px 28px 36px;
  margin: 50px 0;
  border-radius: 14px;
  scroll-margin-top: 20px;
}
.formcard h2 { color: #fff; margin: 0 0 12px; padding-left: 0; border-left: none; }
.formcard p { color: #ccd8e3; }
.formcard ul.check li::before { border-color: var(--clay-soft); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 7px; color: #b7c7d5; }
.field input {
  width: 100%;
  padding: 14px 15px;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
}
.field input:focus { outline: 3px solid var(--clay); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #b7c7d5; margin: 16px 0 20px; }
.consent input { margin-top: 5px; }
.consent a { color: var(--clay-soft); }
.btn {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  background: var(--clay);
  color: #fff;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 17px 20px;
  border-radius: 8px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { background: #a5431f; transform: translateY(-1px); }
.formnote { font-size: 13px; color: #9fb1c1; margin: 14px 0 0; }
.err { color: #ffc9b8; font-size: 14px; margin: 0 0 12px; }

/* Fenêtre de remerciement */
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(8, 23, 36, 0.72);
  padding: 20px;
}
.modal.show { display: flex; }
.modal .box {
  background: var(--card);
  color: var(--ink);
  border-radius: 14px;
  max-width: 470px;
  width: 100%;
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.6);
}
.modal .box h3 { margin: 0 0 10px; font-size: 30px; color: var(--navy); }
.modal .box p { color: var(--ink-soft); font-size: 16px; }
.modal .box .btn { width: auto; padding: 13px 26px; margin: 6px auto 0; }
.modal .mark {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--clay-soft); color: #7a2f14;
  display: grid; place-items: center; font-size: 28px;
}

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 18px;
  margin-bottom: 10px;
}
details summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { margin: 10px 0 0; }

/* Pied de page */
footer {
  background: var(--navy-2);
  color: #c3d0dc;
  margin-top: 64px;
  padding: 44px 0 64px;
  font-size: 15px;
}
footer a { color: #f0cbbc; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
footer p { margin: 0 0 6px; }
footer .small { font-size: 13px; color: #8d9dab; margin-top: 16px; }

/* Pages légales */
.legal { padding-top: 32px; }
.legal h1 { margin-bottom: 22px; }
.legal h2 { font-size: 26px; margin: 34px 0 10px; }
.legal h3 { font-size: 20px; }
.legal address { font-style: normal; background: var(--card); border: 1px solid var(--line); padding: 16px 18px; border-radius: var(--radius); margin: 16px 0; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* Bandeau cookies */
.cookiebar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  display: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(8, 23, 36, 0.28);
  padding: 18px 20px;
  max-width: 780px;
  margin: 0 auto;
}
.cookiebar.show { display: block; }
.cookiebar p { font-size: 15px; margin: 0 0 14px; }
.cookiebar .cookiebtns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookiebar button {
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid var(--navy);
}
.cookiebar .accept { background: var(--navy); color: #fff; }
.cookiebar .accept:hover { background: var(--navy-2); }
.cookiebar .decline { background: #fff; color: var(--navy); }
.cookiebar .decline:hover { background: var(--paper-2); }

@media (max-width: 680px) {
  body { font-size: 17px; }
  .stats, .plans { grid-template-columns: 1fr; }
}
