:root {
  --ink: #173238;
  --muted: #5d6c6d;
  --teal: #1b5d62;
  --teal-dark: #103f44;
  --mint: #dcebe5;
  --cream: #f7f5ef;
  --paper: #fff;
  --coral: #9f402f;
  --line: #d8e0dc;
  --shadow: 0 22px 60px rgba(20, 49, 53, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: .18em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0 0 .55em; color: var(--ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.55rem, 5.3vw, 5.7rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.7rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.reading { width: min(760px, calc(100% - 40px)); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.eyebrow { margin-bottom: 14px; color: var(--coral); font-size: .76rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.lead { max-width: 760px; color: #40575a; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.6; }
.section-heading { max-width: 820px; margin-bottom: 42px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.button, .product-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 999px; color: #fff; background: var(--teal); font-weight: 800; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover, .product-cta:hover { background: var(--teal-dark); transform: translateY(-2px); }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; transform: translateY(-150%); color: #fff; background: #000; }
.skip:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(23, 50, 56, .1); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); }
.header-row { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 26px; }
.logo img { width: 198px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(15px, 2vw, 30px); }
.desktop-nav a { color: var(--ink); font-size: .88rem; font-weight: 750; text-decoration: none; }
.desktop-nav a:hover { color: var(--coral); }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; font-weight: 800; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav > div { position: absolute; right: 0; top: calc(100% + 12px); display: grid; width: min(330px, calc(100vw - 40px)); padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.mobile-nav a { padding: 11px 12px; border-radius: 10px; color: var(--ink); font-weight: 750; text-decoration: none; }
.mobile-nav a:hover { background: var(--cream); }

.hero { padding: clamp(62px, 8vw, 108px) 0; overflow: hidden; background: linear-gradient(118deg, var(--cream) 0 55%, #e6eeeb 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
.hero h1 { max-width: 790px; font-size: clamp(2.7rem, 5.25vw, 5.4rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin: 28px 0; }
.text-link { font-weight: 800; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: .89rem; }
.trust li::before { content: "✓"; margin-right: 8px; color: var(--teal); font-weight: 900; }
.hero figure { position: relative; margin: 0; }
.hero figure::before { content: ""; position: absolute; inset: -25px 20% 28% -25px; border: 1px solid rgba(27, 93, 98, .25); border-radius: 50%; }
.hero figure img { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1.08; border-radius: 48% 48% 24px 24px; object-fit: cover; object-position: 55% center; box-shadow: var(--shadow); }
.hero figcaption { position: relative; width: 84%; margin: -32px auto 0; padding: 15px 20px; border-radius: 14px; color: #fff; background: var(--teal-dark); font-size: .84rem; }

.diagnostic { background: var(--teal-dark); color: #eef7f2; }
#orientation { scroll-margin-top: 84px; }
.diagnostic h2 { color: #fff; }
.diagnostic .eyebrow { color: #ffd8cf; }
.diagnostic .section-heading > p:last-child { color: #bfd0cc; }
.diagnostic-box { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.diagnostic-box > input { position: absolute; opacity: 0; pointer-events: none; }
.diagnostic-box > label { min-height: 78px; padding: 17px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; cursor: pointer; font-weight: 800; }
.diagnostic-box > input:focus-visible + label { outline: 3px solid #fff; outline-offset: 3px; }
.diagnostic-box > input:checked + label { color: var(--ink); background: #fff; }
.answers { grid-column: 1 / -1; margin-top: 12px; }
.answer { display: none; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); color: var(--ink); background: var(--mint); }
.answer span { color: var(--coral); font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.answer p { max-width: 760px; }
#profil-reaction:checked ~ .answers .reaction,
#profil-progressive:checked ~ .answers .progressive,
#profil-plaques:checked ~ .answers .plaques,
#profil-casse:checked ~ .answers .casse { display: block; }

.diagnostic-form, .diagnostic-result { scroll-margin-top: 110px; padding: clamp(24px, 4vw, 46px); border: 1px solid rgba(255,255,255,.22); border-radius: 28px; background: rgba(255,255,255,.07); }
.diagnostic-progress { display: grid; gap: 10px; margin-bottom: 32px; color: #d4e4e0; font-size: .82rem; font-weight: 850; }
.diagnostic-progress i { height: 6px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.16); }
.diagnostic-progress b { display: block; width: 16.666%; height: 100%; border-radius: inherit; background: #ffd8cf; transition: width .25s ease; }
.diagnostic-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.diagnostic-form.is-enhanced .diagnostic-step { display: none; }
.diagnostic-form.is-enhanced .diagnostic-step.active { display: block; }
.diagnostic-step legend { width: 100%; margin-bottom: 26px; color: #fff; font: 700 clamp(1.55rem, 3vw, 2.45rem)/1.18 Georgia, serif; }
.diagnostic-step legend span { display: block; margin-bottom: 7px; color: #ffd8cf; font: 900 .75rem/1 Inter, sans-serif; letter-spacing: .14em; }
.diagnostic-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.diagnostic-options label { min-width: 0; cursor: pointer; }
.diagnostic-options input { position: absolute; opacity: 0; pointer-events: none; }
.diagnostic-options label > span { display: flex; min-height: 68px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 15px; color: #fff; background: rgba(255,255,255,.04); font-weight: 780; line-height: 1.35; transition: border-color .18s, background .18s, color .18s; }
.diagnostic-options input:checked + span { border-color: #fff; color: var(--ink); background: #fff; }
.diagnostic-options input:focus-visible + span { outline: 3px solid #ffd8cf; outline-offset: 3px; }
.diagnostic-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.diagnostic-actions button, .diagnostic-restart { min-height: 48px; padding: 11px 20px; border: 0; border-radius: 999px; cursor: pointer; font: 850 .9rem/1.2 Inter, sans-serif; }
.diagnostic-back { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.diagnostic-next, .diagnostic-submit { margin-left: auto; color: var(--ink); background: #fff; }
.diagnostic-error { min-height: 26px; margin: 16px 0 0; color: #ffd8cf; font-size: .88rem; font-weight: 800; }
.diagnostic-result { color: var(--ink); background: #eef5f1; }
.result-copy { max-width: 820px; padding-bottom: 28px; }
.result-copy > span, .n16-companion > div > span, .diagnostic-product span { color: var(--coral); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.result-copy h3, .n16-companion h3 { margin-top: 8px; }
.result-copy.urgent { padding: 25px; border-left: 5px solid var(--coral); border-radius: 0 16px 16px 0; background: #fff1ed; }
.diagnostic-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.diagnostic-product { display: grid; min-width: 0; grid-template-columns: 108px minmax(0, 1fr); gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.diagnostic-product > img { width: 108px; height: 142px; object-fit: contain; }
.diagnostic-product h4 { margin: 5px 0; font-size: .96rem; line-height: 1.35; }
.diagnostic-product h4 a { color: var(--ink); text-decoration: none; }
.diagnostic-product p { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.diagnostic-product strong { display: block; margin: 8px 0; }
.mini-cta { font-size: .82rem; font-weight: 850; }
.n16-companion { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); align-items: center; gap: 28px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.n16-companion .diagnostic-product { grid-template-columns: 90px minmax(0, 1fr); }
.n16-companion .diagnostic-product > img { width: 90px; height: 120px; }
.diagnostic-restart { margin-top: 28px; color: #fff; background: var(--teal); }
.diagnostic-noscript { padding: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; }

.catalog-directory { background: var(--cream); }
.family-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.family-grid a { display: block; min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.family-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.family-grid span { color: var(--coral); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.family-grid h2, .family-grid h3 { margin-top: 12px; font-size: 1.55rem; }
.family-grid p { color: var(--muted); font-size: .92rem; }
.catalog-all { display: inline-block; margin-top: 28px; font-weight: 900; }

.profiles { background: var(--cream); }
.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.profile-grid a { display: flex; min-height: 190px; flex-direction: column; justify-content: flex-end; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.profile-grid a:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.profile-grid strong { margin-bottom: 10px; font-family: Georgia, serif; font-size: 1.45rem; }
.profile-grid span { color: var(--muted); }
.pillar-grid, .focus-grid, .review-grid, .faq-grid, .brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-grid article, .focus-grid article, .brand-grid article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pillar-grid article > span, .brand-grid article > span { color: var(--coral); font-weight: 900; }
.focus-grid article { border-top: 5px solid var(--teal); }
.focus-grid a { display: block; margin-top: 10px; font-weight: 800; }

.products { background: #edf3f0; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(20,49,53,.06); }
.product-media { display: grid; height: 330px; place-items: center; padding: 24px; background: #f9faf8; }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-copy { display: flex; min-height: 360px; flex-direction: column; padding: 24px; }
.product-brand { color: var(--coral); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-copy h3 { margin-top: 8px; font-family: inherit; font-size: 1.08rem; line-height: 1.35; letter-spacing: 0; }
.product-copy h3 a { color: var(--ink); text-decoration: none; }
.product-copy > p:not(.rating) { color: var(--muted); }
.rating { margin-top: auto; color: #e58a21; font-size: .88rem; }
.rating span { color: var(--muted); }
.rating.empty { color: var(--muted); }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; }
.price-stack { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 3px 8px; }
.reference-price { grid-column: 1 / -1; color: var(--muted); font-size: .72rem; }
.reference-price del { margin-left: 4px; }
.current-price { font-size: 1.25rem; font-weight: 900; }
.discount { padding: 3px 7px; border-radius: 999px; color: #fff; background: var(--coral); font-size: .68rem; font-weight: 900; }
.price-stack.compact { margin: 8px 0; }
.price-stack.compact .current-price { font-size: 1rem; }
.stock, .out { color: #246740; font-size: .8rem; font-weight: 850; }
.out { color: #9a4a3d; }
.product-cta { width: 100%; }

.reviews { background: var(--cream); }
.review-card { display: flex; min-height: 270px; flex-direction: column; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(20,49,53,.06); }
.review-card .stars { color: #e58a21; letter-spacing: .12em; }
.review-card blockquote { margin: 6px 0 24px; font-family: Georgia, serif; font-size: 1.24rem; line-height: 1.45; }
.review-card footer { display: grid; gap: 4px; margin-top: auto; }
.review-card footer a { font-size: .82rem; }
.review-source { margin-top: 22px; color: var(--muted); font-size: .82rem; }
.faq-grid details, .mini-faq details { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
summary { cursor: pointer; font-weight: 850; }
details p { margin: 14px 0 0; color: var(--muted); }

.breadcrumb { display: flex; gap: 10px; padding-top: 28px; color: var(--muted); font-size: .84rem; }
.article-hero, .brand-hero { padding: clamp(62px, 9vw, 110px) 0; background: var(--cream); }
.article-hero h1, .brand-hero h1 { font-size: clamp(2.6rem, 5vw, 5.1rem); }
.medical-note { margin-top: 30px; padding: 19px 22px; border-left: 5px solid var(--coral); border-radius: 0 14px 14px 0; background: #fff; }
.medical-note p { margin: 4px 0 0; }
.article-body { padding: 72px 0; }
.article-body section { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.article-body section > span { color: var(--coral); font-weight: 900; }
.article-body h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.brand-hero .shell { max-width: 980px; }
.brand-extra { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.brand-grid { grid-template-columns: repeat(3, 1fr); }
.brand-grid h2 { margin-top: 12px; font-size: 1.75rem; }
.shop-path { padding: 32px 0; color: #fff; background: var(--teal); }
.shop-path .shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.shop-path p { display: grid; margin: 0; }
.shop-path span { color: #cde0dc; }
.shop-path a { flex: 0 0 auto; padding: 12px 20px; border-radius: 999px; color: var(--teal-dark); background: #fff; font-weight: 900; text-decoration: none; }
.legal, .not-found { padding: 82px 0; }
.legal h1, .not-found h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.legal h2 { margin-top: 40px; font-size: 1.8rem; }
.legal address { font-style: normal; }

.site-footer { padding: 64px 0 0; color: #dbe7e4; background: #102d32; }
.commercial-data-notice { width: min(var(--max), calc(100% - 36px)); margin: 36px auto 0; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); color: #bdd0cc; font-size: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 36px; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid strong { color: #fff; }
.footer-grid p { color: #adc2be; }
.footer-grid a { color: #dbe7e4; text-decoration: none; }
.footer-line { margin: 50px 0 0; padding: 19px 20px; border-top: 1px solid rgba(255,255,255,.12); color: #adc2be; text-align: center; font-size: .86rem; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { background: var(--cream); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero figure { width: min(680px, 100%); }
  .profile-grid, .pillar-grid, .focus-grid, .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n16-companion { grid-template-columns: 1fr; }
  .product-grid, .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shell, .reading { width: min(100% - 28px, 1180px); }
  .section { padding: 66px 0; }
  .header-row { min-height: 72px; }
  .logo img { width: 156px; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .hero figure img { height: 320px; aspect-ratio: auto; border-radius: 34px; }
  .hero figcaption { width: calc(100% - 24px); }
  .diagnostic-box { grid-template-columns: 1fr; }
  .answers { grid-column: 1; }
  .diagnostic-options, .diagnostic-products, .family-grid { grid-template-columns: 1fr; }
  .diagnostic-form, .diagnostic-result { padding: 22px 16px; }
  .diagnostic-actions { align-items: stretch; flex-direction: column-reverse; }
  .diagnostic-actions button { width: 100%; }
  .diagnostic-product, .n16-companion .diagnostic-product { grid-template-columns: 76px minmax(0, 1fr); gap: 13px; padding: 14px; }
  .diagnostic-product > img, .n16-companion .diagnostic-product > img { width: 76px; height: 104px; }
  .profile-grid, .pillar-grid, .focus-grid, .product-grid, .review-grid, .faq-grid, .brand-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-media { height: 300px; }
  .product-copy { min-height: 0; }
  .shop-path .shell { align-items: stretch; flex-direction: column; }
  .shop-path a { text-align: center; }
  .breadcrumb { overflow: hidden; }
}

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