:root {
  --teal: #2b4c52;
  --teal-deep: #16292d;
  --teal-soft: #42585c;
  --coral: #de5e2c;
  --coral-ink: #b04726;
  --cream: #fbf0ec;
  --mint: #e3ece9;
  --paper: #ffffff;
  --ink: #222223;
  --muted: #5d6566;
  --line: #dfe5e4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 41, 45, .08);
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { color: var(--teal-deep); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-deep); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-weight: 600; font-size: 1rem; }
.brand-text small { color: var(--muted); font-size: .8rem; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.menu a[aria-current="page"] { color: var(--coral-ink); font-weight: 600; }
.menu a:not(.btn):hover { color: var(--coral-ink); }
.menu-toggle { display: none; }

/* Buttons */
.btn { display: inline-block; background: var(--coral); color: #fff !important; text-decoration: none; font-weight: 600; padding: 14px 26px; border-radius: 999px; border: 0; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--coral-ink); }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--teal-deep) !important; border: 1.5px solid var(--teal); }
.btn-ghost:hover { background: var(--mint); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,41,45,.15) 0%, rgba(22,41,45,.55) 50%, rgba(22,41,45,.9) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 64px; }
.hero h1 { color: #fff; max-width: 820px; }
.hero .lead { font-size: 1.25rem; max-width: 680px; color: rgba(255,255,255,.92); }
.hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.8); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--coral-ink); margin-bottom: 12px; }
.hero .eyebrow { color: #f8b79f; }
.hero-small { min-height: 460px; }

.proof { background: var(--teal-deep); color: #fff; }
.proof ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof li { font-size: .95rem; color: rgba(255,255,255,.8); }
.proof strong { display: block; font-size: 1.5rem; color: #fff; font-weight: 600; }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--cream); }
.section-mint { background: var(--mint); }
.intro { max-width: 760px; margin-bottom: 40px; }
.intro p { color: var(--muted); font-size: 1.1rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-link img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-link .card-body { padding: 22px 24px 26px; }
.card-link .more { color: var(--coral-ink); font-weight: 600; font-size: .95rem; }
.card-plain { background: var(--teal); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: center; }
.card-plain h3 { color: #fff; }
.card-plain p { color: rgba(255,255,255,.85); }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232b4c52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks.dim li::before { background-color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split .card h3 { display: flex; align-items: center; gap: 10px; }
.tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--teal); font-weight: 600; }
.tag-coral { background: var(--cream); color: var(--coral-ink); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }

.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .98rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--teal); color: #fff; font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--teal-deep); width: 30%; }
.table-scroll { overflow-x: auto; }

.quote { background: #fff; border-radius: var(--radius); padding: 30px; border-left: 4px solid var(--coral); }
.quote blockquote { margin: 0 0 14px; font-size: 1.15rem; color: var(--teal-deep); }
.quote figcaption { color: var(--muted); font-size: .95rem; }
.quote .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.calc { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.calc label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.calc input[type=range] { width: 100%; accent-color: var(--coral); }
.calc .row { margin-bottom: 20px; }
.calc output { font-weight: 600; color: var(--teal-deep); }
.calc-result { background: var(--mint); border-radius: 10px; padding: 18px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-result strong { display: block; font-size: 1.4rem; color: var(--teal-deep); }
.calc-result span { font-size: .9rem; color: var(--muted); }
.small { font-size: .88rem; color: var(--muted); }

details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--teal-deep); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--coral); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }
.faq { max-width: 820px; }

/* Contact */
.contact { background: var(--teal); color: #fff; }
.contact h2, .contact h3 { color: #fff; }
.contact .intro p { color: rgba(255,255,255,.85); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.contact a { color: #fff; }
.contact .checks li::before { background-color: rgba(255,255,255,.9); }
form.lead { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.lead .full { grid-column: 1 / -1; }
form.lead label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; color: var(--teal-deep); }
form.lead input, form.lead textarea, form.lead select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c9d3d2; border-radius: 10px; background: #fff; color: var(--ink); }
form.lead textarea { min-height: 110px; resize: vertical; }
form.lead input:focus, form.lead textarea:focus, form.lead select:focus { outline: 2px solid var(--coral); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -5000px; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: .95rem; }
.form-status.ok { color: #1d6b4f; font-weight: 600; }
.form-status.err { color: #b3261e; }

/* Article (guide) */
.article { max-width: 760px; }
.article h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .5em; }
.callout { background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin: 1.5em 0; }
.callout p:last-child { margin: 0; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.9); }

/* Footer */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.78); font-size: .95rem; padding: 64px 0 24px; }
.site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { color: #fff; font-weight: 600; font-size: 1.15rem; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.trust-line { font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.55); }

/* Responsive */
@media (max-width: 980px) {
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proof ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; background: none; border: 1.5px solid var(--teal); color: var(--teal); border-radius: 999px; padding: 7px 16px; font: inherit; font-size: .9rem; cursor: pointer; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: 10px 0; }
  .menu .btn { text-align: center; margin-top: 8px; }
  .grid-2, .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero { min-height: 560px; }
  .hero .wrap { padding-bottom: 44px; }
  .grid-3, .grid-4, .steps, .footer-grid { grid-template-columns: 1fr; }
  form.lead { grid-template-columns: 1fr; padding: 22px; }
  .calc-result { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
}

/* Inspirations ajoutées : badges, piliers, formules, répartition */
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; }
.pillar-num { display: block; font-size: .9rem; font-weight: 700; color: var(--coral); letter-spacing: .08em; margin-bottom: 10px; }
.others { margin-top: 36px; }
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .95rem; color: var(--teal-deep); }
.formula { display: flex; flex-direction: column; }
.formula .tag { align-self: flex-start; margin-bottom: 12px; }
.formula h3 { font-size: 1.5rem; }
.formula .price { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.formula .price strong { color: var(--coral-ink); font-size: 1.4rem; display: block; }
.formula-strong { border: 2px solid var(--teal); }
.align-start { align-items: start; }
.euro-bar { display: flex; height: 54px; border-radius: 12px; overflow: hidden; margin: 22px 0 18px; font-weight: 600; font-size: .95rem; }
.euro-bar span { display: grid; place-items: center; color: #fff; min-width: 0; }
.eb-cost { background: var(--teal); }
.eb-fee { background: var(--teal-soft); }
.eb-you { background: var(--coral); }
.euro-legend { list-style: none; padding: 0; margin: 0 0 14px; }
.euro-legend li { display: flex; gap: 12px; margin-bottom: 12px; font-size: .98rem; }
.euro-legend i { flex: 0 0 14px; height: 14px; border-radius: 4px; margin-top: 6px; }
.benefits > div { border-top: 2px solid var(--coral); padding-top: 18px; }
.benefits p { color: var(--muted); margin: 0; }
.calc-result.neg strong[data-out=income] { color: #b3261e; }
