/* Compléments au dessin d’origine : palette, typographie éditoriale, cartes. */
:root { --serif: Georgia, "Times New Roman", serif; --sans: system-ui, -apple-system, "Segoe UI", sans-serif; --cookie-space: 0px; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { padding-bottom: var(--cookie-space); }
body::before { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #87671d !important; outline-offset: 4px; }
main:focus { outline: none; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 300; padding: .8rem 1rem; background: #fff; color: #1a3a2e; border: 2px solid; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.honey { display: none; }
p { line-height: 1.75; }
figure { margin: 0; }
img { max-width: 100%; }
.hero-visual { position: relative; min-width: 0; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; background: #e2dfd7; }
.hero-visual figcaption { position: static; padding: .6rem .2rem; font-size: .75rem; color: var(--muted); line-height: 1.45; }
.hero-content { min-width: 0; }
.hero-meta { margin-bottom: 1.6rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.hero-reassurance { color: var(--muted); }
.text-link, .prose a, .source-note a, .faq-body a, .pillar a, .method-links a, .contact-layout p a, .guide-card p a { text-decoration: underline; text-underline-offset: .2em; }
.text-link:hover, .prose a:hover { text-decoration-thickness: 2px; }
.method-links { margin-top: 2rem; }
.mobile-navigation { display: none; font-size: .94rem; }
.mobile-navigation summary { list-style: none; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.mobile-navigation summary::-webkit-details-marker { display: none; }
.mobile-navigation summary::after { content: ' +'; }
.mobile-navigation[open] summary::after { content: ' −'; }
.mobile-navigation nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem 1.5rem; box-shadow: 0 10px 16px #15110d12; display: flex; flex-direction: column; gap: .2rem; max-height: 75vh; overflow: auto; }
.mobile-navigation nav a { padding: .65rem 0; display: block; }
.header-wrap { position: relative; }
.breadcrumbs { padding-top: 1.4rem; font-size: .81rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.breadcrumbs li+li::before { content: '/'; margin-right: .5rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.page-heading { padding-top: 3.3rem; padding-bottom: 2.7rem; }
.page-heading h1 { font-family: var(--serif); font-size: clamp(2.15rem,4.3vw,3.7rem); font-weight: 400; line-height: 1.13; letter-spacing: -.035em; max-width: 25ch; }
.page-heading h1 em { color: var(--accent); }
.page-heading>p { max-width: 79ch; margin-top: 1.35rem; }
.eyebrow { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.page-space { padding-top: 1.8rem; padding-bottom: 4rem; }
.content-band { padding: 5rem 0; border-top: 1px solid var(--line); }
.guide-home { background: #ece9e1; }
.guide-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.guide-card { padding: 1.8rem; border: 1px solid var(--line); border-radius: 8px; background: #faf8f4; min-width: 0; }
.guide-card h3 { font: 400 1.5rem/1.3 var(--serif); margin-bottom: .9rem; }
.guide-card p { font-size: .94rem; color: var(--ink-2); margin: .8rem 0 1.3rem; }
.guide-card .text-link { color: var(--accent); font-size: .87rem; }
.portrait picture, .portrait img { display: block; }
.portrait img { width: 100%; height: auto; }
.contact-section { padding: 5rem 0; border-top: 1px solid var(--line); background: #e9e6dd; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-layout>div { min-width: 0; }
.contact-layout p { margin: 1.1rem 0; }
.form-card { padding: 2rem; background: #15110d; color: #f5f2ec; border-radius: 12px; }
.form-card h2 { font: 400 1.65rem/1.3 var(--serif); margin-bottom: 1.4rem; }
.safe-form { display: flex; flex-direction: column; gap: 1.1rem; }
.safe-form label { display: flex; flex-direction: column; gap: .5rem; color: #f5f2ec; font-size: .86rem; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.safe-form input, .safe-form select, .safe-form textarea { width: 100%; min-width: 0; padding: .8rem .75rem; border: 1px solid #958a7b; background: #302a22; color: #f5f2ec; border-radius: 5px; font: inherit; font-size: 1rem; }
.safe-form textarea { resize: vertical; }
.safe-form input::placeholder, .safe-form textarea::placeholder { color: #c6bcae; opacity: 1; }
.safe-form select option { background: #302a22; color: #f5f2ec; }
.safe-form .form-help { color: #dbd2c6; font-size: .79rem; line-height: 1.65; margin: 0; }
.safe-form .form-help a { color: #f5dca5; }
.safe-form .btn { align-self: flex-start; white-space: normal; min-height: 48px; }
.safe-form .btn-pri { color: #15110d; background: #f5f2ec; border: 1px solid #f5f2ec; }
.safe-form .btn-ghost { color: #f5f2ec; border: 1px solid #bbae99; }
.safe-form .form-status { margin: 0; line-height: 1.6; font-size: .9rem; color: #f5dca5; }
.safe-form .form-status a { color: #f5f2ec; text-decoration: underline; }
.safe-form [disabled] { opacity: .6; cursor: not-allowed; }
.safe-form noscript { font-size: .85rem; }
.prose { max-width: 930px; }
.prose h2 { font: 400 clamp(1.6rem,2.2vw,2rem)/1.3 var(--serif); margin: 2rem 0 1rem; letter-spacing: -.02em; }
.prose h3 { font: 400 1.3rem/1.4 var(--serif); margin: 1.5rem 0 .7rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 1rem 0 1.5rem; padding-left: 1.4rem; }
.prose li { margin: .7rem 0; line-height: 1.7; }
.prose section { margin-bottom: 2.3rem; }
.prose details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.prose summary { cursor: pointer; font-weight: 600; }
.prose details p { margin-top: 1rem; }
.editorial { font-size: .78rem; color: var(--muted); line-height: 1.65; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 3rem; padding-bottom: 4rem; }
.guide-toc { align-self: start; position: sticky; top: 6.5rem; background: #ebe7dd; padding: 1.3rem; border-radius: 6px; }
.guide-toc h2 { font: 400 1.2rem var(--serif); margin-bottom: 1rem; }
.guide-toc ol { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.guide-toc a { font-size: .81rem; line-height: 1.5; display: block; text-decoration: underline; text-underline-offset: .2em; }
.guide-section { scroll-margin-top: 6rem; }
.guide-section:first-child h2 { margin-top: 0; }
.guide-prose { min-width: 0; }
.source-note { font-size: .76rem; color: #50483f; line-height: 1.6; overflow-wrap: anywhere; margin: .8rem 0 1.4rem; }
.source-link { text-decoration: underline; }
.reading-box { padding: 1.5rem; border-left: 3px solid var(--accent); background: #e8ede7; margin: 1.5rem 0; }
.reading-box h3 { margin-top: 0; }
.table-scroll { width: 100%; overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-size: .86rem; line-height: 1.6; }
caption { text-align: left; font-size: .77rem; margin-bottom: .65rem; color: var(--muted); }
th, td { padding: .8rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid #cbc5b9; }
thead th { background: var(--accent); color: #f5f2ec; }
tbody th { font-weight: 600; }
tr:nth-child(even) { background: #ebe7df; }
.guide-contact { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1rem; }
.guide-contact p { margin-top: 1rem; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist label { display: flex; flex-direction: row; align-items: flex-start; gap: .65rem; font: inherit; color: inherit; }
.checklist input { width: 19px; height: 19px; margin-top: .25rem; flex-shrink: 0; accent-color: var(--accent); }
.checklist label span { font: inherit; color: inherit; text-transform: none; letter-spacing: normal; }
.print-tools { padding: 1.2rem; background: #e8ede7; margin-bottom: 2rem; }
.print-tools p { margin: .8rem 0 0; font-size: .82rem; }
.calculator { padding: 1.8rem; background: #e8ede7; border-radius: 8px; }
.calculator label { display: block; font-weight: 600; }
.calculator input { display: block; width: min(100%,340px); padding: .8rem; font: inherit; margin-top: .6rem; border: 1px solid var(--accent); background: white; color: var(--ink); border-radius: 3px; }
.calculator #simHelp { margin-top: 1rem; font-size: .85rem; }
.sim-results { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; padding: 1rem 0; margin-bottom: 1.5rem; }
.sim-results dt { font-size: .8rem; }
.sim-results dd { font: 400 1.5rem var(--serif); margin: .3rem 0; }
.confirmation { min-height: 52vh; padding-bottom: 5rem; }
.footer-nav h2, .footer-contact h2 { font-family: var(--sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .13em; color: #e4c78e; margin-bottom: 1.2rem; }
.site-footer, .footer-brand p, .footer-contact p, .footer-base-wrap small { color: #c8beb0; }
.site-footer a, .site-footer button { color: #f0dcc0; }
.footer-contact { min-width: 0; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .76rem; }
.footer-legal a, .footer-legal button { text-decoration: underline; text-underline-offset: .2em; }
.footer-legal button { padding: 0; font: inherit; }
.no-script { font-size: .8rem; padding-top: 1rem; padding-bottom: 1rem; }
/* Bandeau non modal ; le bas de page est réservé à sa hauteur réelle. */
.cookie-panel { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; border-top: 1px solid #cbc5b9; background: #faf8f4; color: #15110d; box-shadow: 0 -4px 18px #00000012; max-height: 85vh; overflow-y: auto; }
.cookie-inner { max-width: 1140px; margin: auto; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.cookie-text { flex: 1; }
.cookie-text h2 { font: 400 1.25rem var(--serif); margin-bottom: .35rem; }
.cookie-text p { font-size: .82rem; line-height: 1.55; margin: .2rem 0; }
.cookie-text a { text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions button { min-width: 104px; padding: .7rem 1rem; min-height: 44px; font: inherit; font-size: .85rem; border: 1px solid #1a3a2e; background: #1a3a2e; color: #f5f2ec; border-radius: 5px; }
.cookie-actions .cookie-close { background: transparent; color: #1a3a2e; }
.analytics-isolation { display: none !important; }
@media (max-width: 1150px) {
 .nav { gap: 1rem; }
 .nav-tel { display: none; }
}
@media (max-width: 900px) {
 .nav { display: none; }
 .mobile-navigation { display: block; }
 .hero-grid { grid-template-columns: 1fr; }
 .hero-content { order: 0; }
 .hero-visual { order: 1; }
 .hero-visual img { aspect-ratio: 16/9; max-height: 410px; }
 .hero-visual { max-height: none; }
 .guide-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
 .article-layout { grid-template-columns: 1fr; gap: 2rem; }
 .guide-toc { position: static; }
 .guide-toc ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
 .cookie-inner { flex-direction: column; align-items: stretch; gap: .7rem; }
 .cookie-actions { justify-content: flex-start; }
}
@media (max-width: 540px) {
 .brand-full { display: none; }
 .hero-grid { gap: 1.6rem; }
 .hero-title { font-size: 2.6rem; }
 .hero { padding-top: 2.3rem; }
 .hero-meta { font-size: .65rem; margin-bottom: 1.2rem; }
 .hero-sub { font-size: 1rem; }
 .hero-actions { align-items: stretch; }
 .hero-visual img { aspect-ratio: 16/10; max-height: none; }
 .guide-cards { grid-template-columns: 1fr; }
 .guide-card { padding: 1.4rem; }
 .guide-toc ol { grid-template-columns: 1fr; }
 .content-band, .contact-section { padding: 3rem 0; }
 .form-card { padding: 1.2rem; }
 .form-two { grid-template-columns: 1fr; }
 .page-heading { padding-top: 2.3rem; }
 .sim-results { grid-template-columns: 1fr; }
 .calculator { padding: 1.1rem; }
 th,td { padding: .6rem .4rem; font-size: .8rem; overflow-wrap: anywhere; }
 .cookie-inner { padding: .9rem 1rem; }
 .cookie-text p { font-size: .78rem; }
 .cookie-actions button { flex: 1; }
 .footer-base-wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
 *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
 @page { size: A4; margin: 15mm; }
 html,body { background: #fff !important; color: #000 !important; padding: 0 !important; font: 10.5pt/1.45 Georgia,serif; }
 .site-header,.site-footer,.cookie-panel,.guide-toc,.guide-contact,.breadcrumbs,.skip-link,.print-tools,.mobile-navigation { display: none !important; }
 .wrap { width: auto; max-width: none; padding: 0; }
 .article-layout { display: block; padding: 0; }
 .page-heading { padding: 0 0 1rem; }
 .page-heading h1 { font-size: 25pt; max-width: none; }
 .prose { max-width: none; }
 .prose h2 { font-size: 15pt; break-after: avoid; }
 .prose section { break-inside: auto; }
 .checklist li, tr, .source-note { break-inside: avoid; }
 .checklist label span { color: #000; }
 .table-scroll { overflow: visible; }
 a { color: #000; }
 .source-note a::after { content: ' (' attr(href) ')'; font-size: 7pt; overflow-wrap: anywhere; }
}
/* Recette : marque toujours lisible sur mobile, légende hors du visuel. */
html { scroll-padding-bottom: calc(var(--cookie-space) + 1.2rem); }
.hero-visual { aspect-ratio: auto; background: transparent; overflow: visible; border-radius: 0; }
.hero-visual::after { display: none; }
.hero-visual img { border-radius: 8px; }
.portrait picture { width: 100%; height: 100%; }
.portrait img { height: 100%; object-fit: cover; }
.portrait-caption { background: #15110d; color: #f5f2ec; padding: .65rem; border-radius: 4px; }
@media (max-width: 540px) { .site-header .brand-full { display: inline; font-size: .98rem; } }
