/*
Theme Name: Nora Expert
Theme URI: https://noraexpert.com
Author: Nora Expert
Description: Thème sur mesure du cabinet Nora Expert, expert d'assuré. Accueil, expertises, cabinet et contact.
Version: 2.9.3
Requires at least: 6.0
Requires PHP: 7.4
License: Propriétaire
Text Domain: nora-expert
*/

/* Polices hébergées sur le site (pas d'appel à Google). */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/archivo-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/archivo-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/archivo-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/source-sans-3-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/source-sans-3-latin-600-normal.woff2) format('woff2'); }

:root {
	--rouge: #A8231F;
	--rouge-fonce: #7E1915;
	--encre: #1C1A19;
	--texte-2: #4A4542;
	--papier: #EEE8E1;
	--carte: #F8F4EF;
	--fond-2: #E3DBD1;
	--trait: #D5CABE;
	--nuit: #1D1818;
	--clair: #D9D3CD;
	--titre: 'Archivo', sans-serif;
	--corps: 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: var(--corps); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--rouge); }
a:hover { color: var(--rouge-fonce); }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: #fff; padding: 12px 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.bg-2 { background: var(--fond-2); }
.bg-dark { background-color: var(--nuit); background-image: radial-gradient(circle at 0 0, rgba(168,35,31,.28), transparent 42%), radial-gradient(circle at 100% 100%, rgba(168,35,31,.14), transparent 40%); color: #F5F2EE; }
.bg-red { background: var(--rouge); color: #fff; }
.muted { color: var(--texte-2); }
.bg-dark .muted { color: var(--clair); }
.eyebrow { font-family: var(--titre); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); margin-bottom: 14px; }
.num { font-family: var(--titre); font-weight: 700; color: var(--rouge); margin-bottom: 8px; }
.lead { font-size: 20px; color: var(--texte-2); margin-top: 22px; max-width: 680px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > .side { flex: 1 1 340px; min-width: 0; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
.mb-48 { margin-bottom: 48px; }

/* Boutons */
.btn { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; padding: 15px 28px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; line-height: 1.3; }
.btn-red { background: var(--rouge); color: #fff; }
.btn-red:hover { background: var(--rouge-fonce); color: #fff; }
.btn-line { background: transparent; color: var(--encre); border-color: var(--encre); }
.btn-line:hover { background: var(--encre); color: #fff; }
.btn-white { background: #fff; color: var(--rouge); }
.btn-white:hover { background: var(--fond-2); color: var(--rouge-fonce); }
.btn-ghost { color: #fff; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bandeau + en-tête */
.topbar { background: var(--encre); color: #E9E4DF; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: #fff; font-weight: 600; white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--trait); background: var(--carte); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 44px; width: auto; display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 600; font-size: 16px; }
.nav a { color: var(--encre); text-decoration: none; display: inline-block; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { color: var(--rouge); border-bottom-color: var(--rouge); }
.nav .menu-cta > a { background: var(--rouge); color: #fff; padding: 12px 20px; border-radius: 4px; border: 0; }
.nav .menu-cta > a:hover { background: var(--rouge-fonce); color: #fff; }

/* Hero */
.hero .wrap { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero .main { flex: 999 1 560px; min-width: 0; }
.hero .btns { margin-top: 36px; }
.h1-kw { display: block; font-family: var(--titre); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); margin-bottom: 18px; line-height: 1.4; }
.hero-anim .h1-kw { color: #F4A9A3; text-shadow: none; }
.reflexes { flex: 1 1 320px; min-width: 0; background: var(--encre); color: #F5F2EE; padding: 36px; border-radius: 6px; }
.reflexes h2 { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.reflexes ol { margin: 0; padding-left: 22px; color: #E9E4DF; }
.reflexes li + li { margin-top: 12px; }

/* Accueil : bandeau déroulant des chiffres clés */
.ticker { display: flex; align-items: stretch; background: var(--rouge); color: #fff; font-size: 15px; overflow: hidden; }
.ticker-label { flex: 0 0 auto; margin: 0; background: var(--rouge-fonce); display: flex; align-items: center; z-index: 1; box-shadow: 8px 0 12px -6px rgba(0,0,0,.35); }
.ticker-label a { color: #fff; text-decoration: none; font-family: var(--titre); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; min-height: 44px; display: flex; align-items: center; }
.ticker-label a:hover { text-decoration: underline; color: #fff; }
.ticker-viewport { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.ticker-track { display: flex; width: max-content; animation: nora-ticker var(--ticker-duree, 54s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-item { white-space: nowrap; padding: 11px 0; }
.ticker-item::after { content: "•"; margin: 0 22px; opacity: .55; }
.ticker-item strong { font-family: var(--titre); font-weight: 800; font-size: 16px; margin-right: 4px; }
.ticker-src { opacity: .78; font-size: 13px; }
@keyframes nora-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.ticker-track { animation: none; }
	.ticker-list[aria-hidden="true"] { display: none; }
}
@media (max-width: 720px) {
	.ticker-label a { padding: 10px 12px; font-size: 12px; }
	.ticker { font-size: 14px; }
}

/* Accueil : fond animé ou vidéo */
.hero-anim { position: relative; overflow: hidden; background: #151213; color: #fff; isolation: isolate; }
.hero-anim .wrap { position: relative; z-index: 2; min-height: 560px; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.hero-voile { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,12,12,.88) 0%, rgba(14,12,12,.66) 45%, rgba(14,12,12,.25) 100%); }
.hero-anim .eyebrow { color: #F4A9A3; }
.hero-anim h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero-anim .lead { color: #EDE7E1; }
.hero-anim .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.hero-anim .btn-line:hover { background: #fff; color: var(--encre); }
.hero-anim .reflexes { background: rgba(20,17,17,.72); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 720px) {
	.hero-anim .wrap { min-height: 0; }
	.hero-voile { background: rgba(14,12,12,.72); }
}
.page-hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(34px, 4.5vw, 56px); max-width: 880px; }

/* Repères */
.stats { border-bottom: 1px solid var(--trait); background: var(--carte); }
.stats .grid { --min: 200px; padding-top: 40px; padding-bottom: 40px; gap: 32px; }
.stat-n { font-family: var(--titre); font-weight: 800; font-size: 40px; color: var(--rouge); line-height: 1.2; }

/* Cartes */
.card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--trait); border-radius: 6px; text-decoration: none; color: var(--encre); background: var(--carte); }
a.card:hover { border-color: var(--rouge); color: var(--encre); }
.card-title { font-family: var(--titre); font-weight: 700; font-size: 24px; line-height: 1.2; }
.card .more { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--rouge); }
.tile { background: var(--carte); padding: 22px 24px; border-radius: 6px; }
.bg-white .tile, .tile.alt { background: var(--fond-2); }
.bg-2 .tile.alt { background: var(--carte); }
.bg-dark .tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.bg-dark .tile .muted { color: var(--clair); }
.tile-title { font-family: var(--titre); font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.tile .muted { font-size: 15px; }
.step { border-top: 3px solid var(--rouge); padding-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--fond-2); padding: 8px 16px; border-radius: 999px; }
.engagements { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; }
.engagements li { border-bottom: 1px solid var(--trait); padding-bottom: 14px; }
.questions { list-style: none; margin: 0; padding: 0; }
.questions li { border: 1px solid #3A3634; border-radius: 6px; padding: 18px 20px; }
.questions li + li { margin-top: 12px; }
.cta .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta .main { flex: 999 1 520px; min-width: 0; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); }
.cta p { color: #FBE9E7; margin-top: 12px; }
.anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.anchors a { background: var(--carte); color: var(--encre); text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 4px; border: 1px solid #D6D0CA; }
.anchors a:hover { border-color: var(--rouge); color: var(--rouge); }

/* Onglets sinistres */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 48px; border-bottom: 1px solid var(--trait); }
.tabs button { font: inherit; font-weight: 600; cursor: pointer; background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 11px; margin-bottom: -1px; min-height: 44px; color: var(--texte-2); font-size: 16px; }
.tabs button[aria-selected="true"] { color: var(--rouge); border-bottom-color: var(--rouge); }
.tabpanel { padding-top: 40px; }
.tabpanel[hidden] { display: none; }
.tabpanel .grid { --min: 280px; }
.tabpanel ul { margin: 0; padding-left: 20px; color: var(--texte-2); }
.tabpanel li + li { margin-top: 8px; }

/* Équipe + délégations */
.person { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--trait); border-radius: 6px; padding: 24px; background: var(--carte); }
.avatar { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; background: var(--fond-2); color: var(--rouge); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 22px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-family: var(--titre); font-weight: 700; font-size: 20px; }
.person-spec { color: var(--rouge); font-weight: 600; font-size: 15px; margin: 2px 0 12px; }
.person p, .office p { overflow-wrap: break-word; }
.person .small, .office .small { font-size: 15px; }
.office { background: var(--carte); border-radius: 6px; padding: 24px; }
.office-region { font-family: var(--titre); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); margin-bottom: 4px; }
.office-city { font-family: var(--titre); font-weight: 700; font-size: 20px; }

/* Contact */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .form-grid .full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #B8B1AA; border-radius: 4px; min-height: 48px; background: #FCFAF7; color: var(--encre); width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--rouge); outline-offset: 1px; border-color: var(--rouge); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texte-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rouge); }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: 6px; padding: 24px 28px; margin-bottom: 28px; }
.notice.ok { background: var(--fond-2); }
.notice.err { background: #FBE9E7; color: var(--rouge-fonce); }
.notice.err ul { margin: 10px 0 0 20px; }
.field-err { color: var(--rouge-fonce); font-size: 14px; font-weight: 600; }
.field input[aria-invalid="true"] { border-color: var(--rouge); background: #FDF3F1; }
.aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.aside .box { border-radius: 6px; padding: 28px; }
.big-tel { font-family: var(--titre); font-weight: 800; font-size: 32px; color: #fff; text-decoration: none; }
.big-tel:hover { color: #fff; }

/* Contexte 2026 et dossier */
.contexte { border-top: 1px solid var(--trait); }
.chiffre { background: var(--fond-2); border-radius: 6px; padding: 28px; border-top: 4px solid var(--rouge); }
.chiffre.alt { background: var(--carte); border: 1px solid var(--trait); border-top: 4px solid var(--rouge); }
.chiffre-n { font-family: var(--titre); font-weight: 800; font-size: 44px; line-height: 1.1; color: var(--rouge); margin-bottom: 10px; }
.chiffre p + p { margin-top: 8px; }
.chiffre-src { font-size: 13px; color: var(--texte-2); }
.liste { margin: 0; padding-left: 20px; }
.liste li + li { margin-top: 10px; }
.sources { margin: 16px 0 0; padding-left: 20px; color: var(--texte-2); font-size: 15px; }
.sources li + li { margin-top: 8px; }
.small { font-size: 14px; }

/* Équipe par métier (page Le cabinet) */
.equipe-experts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 48px; }
.eq-card { background: var(--nuit); background-image: radial-gradient(circle at 0 0, rgba(168,35,31,.35), transparent 55%); color: #F5F2EE; border-radius: 6px; padding: 32px 28px; display: flex; flex-direction: column; }
.eq-nb { font-family: var(--titre); font-weight: 800; font-size: 72px; line-height: 1; color: #fff; }
.eq-role { margin-top: 14px; color: var(--clair); font-size: 15px; }
.eq-domaine { font-size: 24px; line-height: 1.2; color: #fff; margin-top: 2px; letter-spacing: -.01em; }
.eq-tags { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eq-tags li { font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: #EDE7E1; }
.equipe-support { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 20px; }
.eq-support { display: flex; gap: 20px; align-items: center; background: var(--carte); border: 1px solid var(--trait); border-radius: 6px; padding: 22px 26px; }
.eq-nb-s { flex: 0 0 auto; font-family: var(--titre); font-weight: 800; font-size: 44px; line-height: 1; color: var(--rouge); min-width: 44px; text-align: center; }
.eq-role-s { font-size: 19px; letter-spacing: 0; margin-bottom: 4px; }

/* Qui sommes-nous */
.valeurs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 40px; }
.valeur { border-top: 3px solid var(--rouge); padding: 20px 4px 0; }
.valeur-n { font-family: var(--titre); font-weight: 800; font-size: 14px; letter-spacing: .1em; color: #F4A9A3; margin-bottom: 10px; }
.valeur .tile-title { color: #fff; font-size: 20px; margin-bottom: 6px; }
.equipe-liste { list-style: none; margin: 0; padding: 0; }
.equipe-liste li { padding: 14px 0; border-bottom: 1px solid var(--trait); font-size: 18px; }
.equipe-liste li strong { font-family: var(--titre); font-weight: 800; font-size: 26px; color: var(--rouge); display: inline-block; min-width: 44px; }

/* Revue de presse */
.media-item { display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 28px 0; border-top: 1px solid var(--trait); }
.media-item:last-child { border-bottom: 1px solid var(--trait); }
.media-meta { flex: 1 1 200px; min-width: 0; }
.media-nom { font-family: var(--titre); font-weight: 800; font-size: 17px; color: var(--rouge); }
.media-date { font-size: 14px; color: var(--texte-2); margin-top: 2px; }
.media-corps { flex: 999 1 520px; min-width: 0; }
.media-corps h3 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; letter-spacing: 0; }
.media-corps h3 a { color: var(--encre); text-decoration-color: var(--trait); text-underline-offset: 4px; }
.media-corps h3 a:hover { color: var(--rouge); text-decoration-color: var(--rouge); }
.media-cit { margin: 14px 0 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--rouge); font-family: var(--titre); font-weight: 700; font-size: 18px; color: var(--encre); }
.media-retenir { margin-top: 12px; font-size: 15px; background: var(--carte); border-radius: 6px; padding: 12px 16px; }

/* FAQ */
.faq-item { background: var(--carte); border: 1px solid var(--trait); border-radius: 6px; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-family: var(--titre); font-weight: 700; font-size: 18px; line-height: 1.35; margin: 0; letter-spacing: 0; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 700 24px var(--titre); color: var(--rouge); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; border-radius: 6px; }
.faq-item p { padding: 0 22px 20px; color: var(--texte-2); margin: 0; }

/* NORA */
.feat { border: 1px solid #3A3634; border-radius: 6px; padding: 28px; }
.feat .tile-title { color: #fff; }
.box { border-radius: 6px; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 20px 56px; color: var(--texte-2); }
.steps-list li strong { color: var(--encre); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 36px; height: 36px; border-radius: 50%; background: var(--rouge); color: #fff; font-family: var(--titre); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Contenu libre (page.php) */
.entry { max-width: 820px; }
.entry > * + * { margin-top: 1em; }

/* Pied de page */
.site-footer { background: var(--encre); color: var(--clair); font-size: 15px; }
.site-footer .grid { --min: 220px; gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.site-footer a { color: var(--clair); }
.site-footer a:hover { color: #fff; }
.foot-title { font-weight: 600; color: #fff; margin-bottom: 12px; }
.foot-brand { font-family: var(--titre); font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 6px; }
.copyright { border-top: 1px solid #3A3634; padding-top: 20px; padding-bottom: 32px; font-size: 14px; }

:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }
@media (max-width: 720px) {
	.section { padding-top: 64px; padding-bottom: 64px; }
	.hero .wrap { padding-top: 56px; padding-bottom: 64px; }
	.site-header { position: static; }
}
