/* Pay Transparency Report publishing — offer page. No external dependencies. */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f8;
  --ink: #14212b;
  --ink-soft: #3d4d59;
  --brand: #0b5c73;        /* 7.1:1 on white */
  --brand-dark: #08404f;
  --accent: #b3471b;       /* 5.3:1 on white */
  --line: #d4dde3;
  --ok: #1d6b3a;
  --radius: 10px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.logo { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.site-header nav ul { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 719px) { .site-header nav { display: none; } }

/* Hero */
.hero { background: linear-gradient(180deg, #e8f1f4 0%, var(--bg) 100%); padding: 3rem 0 2.5rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin: 0 0 .5rem; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 .75rem; }
h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 1.5rem; max-width: 40em; }

.btn {
  display: inline-block; padding: .8rem 1.3rem; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; border: 2px solid var(--brand);
  font-size: 1rem; cursor: pointer; font-family: inherit; line-height: 1.2; text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--brand); }
.btn-secondary:hover { background: #e8f1f4; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }

.deadline-card {
  background: #fff; border: 2px solid var(--brand); border-radius: 14px; padding: 1.5rem;
  box-shadow: 0 6px 24px rgba(11, 92, 115, .08);
}
.deadline-card .label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 0; }
.deadline-card .date { font-size: 1.5rem; font-weight: 800; margin: .25rem 0 1rem; color: var(--ink); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1rem; }
.countdown div { background: var(--bg-alt); border-radius: 8px; padding: .6rem .25rem; text-align: center; }
.countdown strong { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--brand); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .8rem; color: var(--ink-soft); }
.deadline-card .note { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.deadline-card .note strong { color: var(--accent); }

/* Sections */
section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--ink-soft); max-width: 44em; margin: 0 0 2rem; }

.cards { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card p + p { margin-top: .5rem; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.facts li { background: #fff; border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: .9rem 1.1rem; }
.facts li strong { display: block; }
.facts .src { font-size: .85rem; }

.timeline { width: 100%; border-collapse: collapse; margin: 1.5rem 0 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.timeline caption { text-align: left; font-weight: 700; padding: 0 0 .5rem; }
.timeline th, .timeline td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.timeline thead th { background: var(--brand); color: #fff; font-size: .9rem; }
.timeline tr.current td { background: #fff4ec; font-weight: 700; }

/* Pricing */
.pricing { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 880px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 8px 28px rgba(11, 92, 115, .12); }
.plan .badge { position: absolute; top: -.8rem; left: 1.6rem; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: .25rem 0 0; line-height: 1.1; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.plan .sub { color: var(--ink-soft); margin: .25rem 0 1rem; font-size: .95rem; }
.plan ul { padding-left: 0; list-style: none; margin: 0 0 1.5rem; flex: 1; }
.plan li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: .2rem; top: .8rem; width: .55rem; height: .3rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { width: 100%; }

.addons { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 720px) { .addons { grid-template-columns: repeat(2, 1fr); } }
.addon { background: #fff; border: 1px dashed var(--brand); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.addon h3 { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.addon p { margin: 0; color: var(--ink-soft); }
.price-note { font-size: .9rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.4rem 4.2rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1.25rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .75rem; font-size: 1.5rem; line-height: 1; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary h3 { display: inline; font-size: 1.05rem; margin: 0; }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }
.faq details > div p { margin: 0 0 .5rem; }

/* Disclaimer */
.disclaimer { background: #fff8e6; border: 1px solid #e3c46a; border-radius: var(--radius); padding: 1rem 1.2rem; margin: 2rem 0 0; }
.disclaimer p { margin: 0; }

/* Form */
.form-grid { display: grid; gap: 2rem; }
@media (min-width: 880px) { .form-grid { grid-template-columns: 1fr 1.3fr; } }
form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label, fieldset legend { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .hint { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid #8a9aa5; border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff;
}
textarea { min-height: 7rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.radios { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.radios label, .consent label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
input[type="radio"], input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--brand); flex: none; }
.consent { background: var(--bg-alt); border-radius: 8px; padding: .9rem; margin-bottom: 1.1rem; font-size: .95rem; }
.req { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: #dbe4ea; padding: 2.5rem 0; font-size: .92rem; }
.site-footer a { color: #ffffff; }
.site-footer p { margin: 0 0 .5rem; }
.site-footer .small { color: #b8c6cf; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
html { scroll-behavior: smooth; }

/* Photos (Pexels, see PHOTOS.md) */
.photo { margin: 1.5rem 0 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--bg-alt); }
.hero-side { display: grid; gap: 1rem; min-width: 0; }
.hero-photo { margin: 0; }
.hero-photo img { box-shadow: 0 6px 24px rgba(20, 33, 43, .18); }
.photo-band { margin: 0 0 2rem; }
.photo-band img { aspect-ratio: 1200 / 560; object-fit: cover; }
@media (max-width: 719px) { .photo-band img { aspect-ratio: 16 / 9; } }

/* Message d'erreur du formulaire et pages annexes (merci, confidentialité) */
.form-error { background: #fdecea; border: 1px solid #e0a39a; color: var(--ink); border-radius: 8px; padding: .75rem 1rem; margin: 0 0 1rem; }
.page-simple { padding: 3rem 0; }
.page-simple h1 { margin-top: 0; }
.page-simple h2 { margin-top: 2rem; font-size: 1.2rem; }
.page-simple p, .page-simple li { max-width: 46em; }
/* Tunnel : puces de réassurance, tableau comparatif */
.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .35rem; color: var(--ink-soft); }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: .2rem; top: .55rem; width: .55rem; height: .3rem; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.table-scroll { overflow-x: auto; }
.compare { min-width: 640px; }
.compare tbody th { font-weight: 700; background: var(--bg-alt); width: 22%; }
.compare td:last-child, .compare thead th:last-child { background: #e8f1f4; color: var(--ink); font-weight: 600; }
.compare thead th:last-child { background: var(--brand-dark); color: #fff; }
