/* ===== Pages intérieures TCS ===== */
.bandeau .conteneur > div { min-width: 0; }
.bandeau__famille { margin: 0 0 .6rem; }

/* Puces métal */
.of-puce { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .95rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 600; font-size: .88rem; text-decoration: none; transition: .2s; }
.of-puce i { width: .85rem; height: .85rem; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--or); }
.of-puce--nickel i { background: var(--nickel); }
.of-puce--cuivre i { background: var(--cuivre); }
.of-puce--diamant i { background: var(--diamant); }
.of-puce:hover { background: rgba(255,255,255,.18); }
.of-sommaire, .ca-annees, .ex-filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

/* ---- Nos offres : la coupe géologique ---- */
.of-coupe { background: linear-gradient(#f7f2e9, #efe6d6); }
.of-filon { position: relative; padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-bottom: 1px solid rgba(16,35,58,.08); }
.of-filon::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--or); opacity: .9; }
.of-filon--nickel::before { background: var(--nickel); }
.of-filon--cuivre::before { background: var(--cuivre); }
.of-filon--diamant::before { background: var(--diamant); }
.of-filon:nth-child(even) { background: rgba(255,255,255,.55); }
.of-filon__grille { display: grid; gap: 2rem; }
@media (min-width: 62em) { .of-filon__grille { grid-template-columns: 19rem 1fr; gap: 3.5rem; align-items: start; } .of-filon__tete { position: sticky; top: 7rem; } }
.of-profondeur { margin: 0 0 1rem; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gris); }
.of-filon__tete h2 { margin: .4rem 0 .5rem; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); }
.of-filon__tete p:not(.of-profondeur) { margin: 0 0 1.2rem; color: var(--gris); }
.of-lingot { display: inline-block; padding: .55rem 1.3rem; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); background: var(--or); color: #241a04; font-family: var(--titre); font-weight: 700; letter-spacing: .04em; }
.of-filon--nickel .of-lingot { background: var(--nickel); color: var(--nuit); }
.of-filon--cuivre .of-lingot { background: var(--cuivre); color: #fff; }
.of-filon--diamant .of-lingot { background: var(--diamant); color: var(--nuit); }
.of-pepites { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.of-pepites li { transition-delay: calc(var(--i) * 70ms); }
.of-pepite { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.4rem 1.3rem 1.2rem; border-radius: 4px 22px 4px 22px; background: #fff; color: var(--encre); text-decoration: none; box-shadow: 0 1rem 2rem -1.5rem rgb(16 35 58 / .45); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.of-pepite::after { content: ""; position: absolute; top: -60%; left: -80%; width: 50%; height: 220%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent); transform: rotate(18deg); transition: left .8s; }
.of-pepite:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #d8b24a, 0 1.6rem 2.6rem -1.6rem rgb(16 35 58 / .6); }
.of-filon--nickel .of-pepite:hover { box-shadow: 0 0 0 2px #aab4bc, 0 1.6rem 2.6rem -1.6rem rgb(16 35 58 / .6); }
.of-filon--cuivre .of-pepite:hover { box-shadow: 0 0 0 2px #c47a45, 0 1.6rem 2.6rem -1.6rem rgb(16 35 58 / .6); }
.of-filon--diamant .of-pepite:hover { box-shadow: 0 0 0 2px #8fb3c6, 0 1.6rem 2.6rem -1.6rem rgb(16 35 58 / .6); }
.of-pepite:hover::after { left: 140%; }
.of-pepite__gemme { display: block; width: 1.6rem; height: 1.6rem; margin-bottom: .9rem; background: var(--or); clip-path: polygon(25% 0, 75% 0, 100% 35%, 50% 100%, 0 35%); filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.of-filon--nickel .of-pepite__gemme, .of-pepite__gemme--nickel { background: var(--nickel); }
.of-filon--cuivre .of-pepite__gemme, .of-pepite__gemme--cuivre { background: var(--cuivre); }
.of-filon--diamant .of-pepite__gemme, .of-pepite__gemme--diamant { background: var(--diamant); box-shadow: inset 0 0 0 1px #8fb3c6; }
.of-pepite__titre { font-family: var(--titre); font-weight: 600; font-size: 1.08rem; line-height: 1.3; color: var(--nuit); }
.of-pepite__resume { margin-top: .5rem; font-size: .9rem; color: var(--gris); line-height: 1.45; flex: 1; }
.of-pepite__lien { margin-top: .9rem; font-weight: 700; font-size: .88rem; color: var(--orange-fonce); }

/* Fiche d’une offre : même filon */
.bandeau--nickel::after { background: var(--nickel); }
.bandeau--cuivre::after { background: var(--cuivre); }
.bandeau--diamant::after { background: var(--diamant); }
.meme-filon { margin-top: 3rem; padding: 1.75rem; border-radius: 18px; background: var(--sable); }
.meme-filon__liste { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.meme-filon__liste a { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 10px; background: #fff; color: var(--nuit); font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none; transition: .2s; }
.meme-filon__liste a:hover { box-shadow: 0 0 0 2px #d8b24a; }
.meme-filon__liste .of-pepite__gemme { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin: 0; }

/* ---- Actualités : carnet de terrain ---- */
.ca-annees a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(233,205,120,.6); color: #f7e7a6; text-decoration: none; font-family: var(--titre); font-weight: 600; }
.ca-annees a:hover { background: var(--or); color: #241a04; }
.ca-carnet .conteneur { position: relative; }
.ca-annee { position: relative; padding-left: clamp(0rem, -1rem + 6vw, 7rem); margin-bottom: 3rem; scroll-margin-top: 7rem; }
.ca-annee::before { content: ""; position: absolute; left: clamp(.5rem, -.5rem + 3vw, 3.2rem); top: 3.5rem; bottom: -3rem; width: 3px; background: linear-gradient(var(--ligne), transparent); }
@media (max-width: 40em) { .ca-annee { padding-left: 0; } .ca-annee::before { display: none; } }
.ca-pepite { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.5rem; font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem); letter-spacing: -.02em; }
.ca-pepite small { font-family: var(--texte); font-size: .9rem; font-weight: 600; color: var(--gris); letter-spacing: 0; }
.ca-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ca-item a { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1.25rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: 16px; background: #fff; border: 1px solid var(--ligne); color: var(--encre); text-decoration: none; transition: .25s; }
.ca-item a:hover { transform: translateX(6px); border-color: transparent; box-shadow: 0 0 0 2px #d8b24a, 0 1.4rem 2.2rem -1.6rem rgb(16 35 58 / .5); }
.ca-item time { display: grid; place-items: center; align-content: center; aspect-ratio: 1; border-radius: 14px; background: var(--nuit); color: #c6d1dd; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ca-item time b { font-family: var(--titre); font-size: 1.6rem; line-height: 1; color: #fff; letter-spacing: 0; }
.ca-item h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.ca-item p { margin: 0 0 .35rem; font-size: .93rem; color: var(--gris); }
.ca-item .lien-fleche { font-size: .88rem; color: var(--orange-fonce); }
.ca-item__image { width: 8rem; height: 6rem; border-radius: 10px; overflow: hidden; background: var(--sable); }
.ca-item__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 40em) { .ca-item a { grid-template-columns: 3.6rem 1fr; } .ca-item__image { display: none; } }

/* ---- Experts : médaillons ---- */
.ex-filtres a { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.ex-filtres a[aria-current="page"], .ex-filtres a:hover { background: var(--or); color: #241a04; border-color: transparent; }
.ex-grille { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.ex-carte { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: 2rem 1.5rem 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--ligne); color: var(--encre); text-decoration: none; transition: .25s; overflow: hidden; }
.ex-carte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5.5rem; background-image: var(--facettes), linear-gradient(135deg, var(--nuit), var(--nuit-2)); background-size: 240px 208px, cover; }
.ex-carte:hover { transform: translateY(-5px); box-shadow: 0 0 0 2px #d8b24a, 0 1.8rem 2.8rem -1.8rem rgb(16 35 58 / .6); border-color: transparent; }
.ex-medaille { position: relative; display: grid; place-items: center; width: 6rem; height: 6rem; border-radius: 50%; padding: 5px; background: var(--or); background-size: 200% 200%; box-shadow: 0 .8rem 1.6rem -.6rem rgba(120,90,20,.7); margin-top: 1rem; animation: eclat-texte 6s ease-in-out infinite; }
.ex-medaille--nickel { background: var(--nickel); background-size: 200% 200%; box-shadow: 0 .8rem 1.6rem -.6rem rgba(60,70,80,.6); }
.ex-medaille span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--nuit); color: #fff; font-family: var(--titre); font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.ex-nom { margin-top: .6rem; font-family: var(--titre); font-size: 1.2rem; color: var(--nuit); line-height: 1.2; }
.ex-role { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-fonce); }
.ex-resume { margin-top: .4rem; font-size: .92rem; color: var(--gris); line-height: 1.5; }
.ex-cv { margin-top: auto; padding-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--nuit); }
.bandeau__expert { display: flex; align-items: center; gap: 1.75rem; }
.ex-medaille--grande { width: 7.5rem; height: 7.5rem; margin: 0; flex-shrink: 0; }
.ex-medaille--grande span { font-size: 2.1rem; }
@media (max-width: 40em) { .bandeau__expert { flex-direction: column; align-items: flex-start; } .ex-medaille--grande { width: 5.5rem; height: 5.5rem; } }
.contenu--cv table { box-shadow: 0 1rem 2rem -1.5rem rgb(16 35 58 / .4); border-radius: 12px; overflow: hidden; }

/* ---- Contacts : point de rassemblement ---- */
.co-grille { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60em) { .co-grille { grid-template-columns: 20rem 1fr; gap: 3.5rem; } }
.co-rassemblement svg { width: 11rem; height: 11rem; filter: drop-shadow(0 1.2rem 1.6rem rgba(47,125,91,.4)); }
.co-rassemblement p { max-width: 20rem; margin: 1.2rem 0 0; font-family: var(--titre); font-size: 1.15rem; line-height: 1.4; color: var(--nuit); }
.co-cartes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.co-carte { display: flex; flex-direction: column; gap: .3rem; padding: 1.5rem; border-radius: 18px; background: #fff; border: 1px solid var(--ligne); color: var(--encre); text-decoration: none; transition: .25s; }
a.co-carte:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #d8b24a, 0 1.4rem 2.4rem -1.6rem rgb(16 35 58 / .5); }
.co-carte__ic { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .6rem; border-radius: 12px; background: var(--nuit); color: #f7e7a6; font-size: 1.3rem; }
.co-carte small { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.co-carte b { font-family: var(--titre); font-size: 1.15rem; color: var(--nuit); word-break: break-word; }
.co-carte--or { background: var(--or); background-size: 200% 100%; border-color: transparent; }
.co-carte--or small { color: #4a3708; }
.co-carte--or b { color: #1d1503; font-size: 1.45rem; }
.co-carte--or .co-carte__ic { background: rgba(255,255,255,.4); color: #3b2c06; }
.co-carte--texte { grid-column: 1 / -1; background: var(--sable); border-color: transparent; }
.co-carte--texte .contenu { margin-top: .4rem; }
.co-plan { margin-top: 2.5rem; border-radius: 22px; overflow: hidden; border: 1px solid var(--ligne); box-shadow: 0 1.5rem 3rem -2rem rgb(16 35 58 / .5); }
.co-plan iframe { display: block; width: 100%; height: 26rem; border: 0; filter: saturate(.85); }

/* ---- Expériences : carottes de forage ---- */
.xp-carottes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
.xp-carotte { position: relative; display: grid; grid-template-columns: 2.6rem 1fr; grid-template-rows: auto 1fr; column-gap: 1.1rem; padding: 1.4rem 1.4rem 1.4rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--ligne); transition-delay: calc(var(--i) * 70ms); }
.xp-carotte__cylindre { grid-row: 1 / span 2; display: flex; flex-direction: column; width: 2.6rem; border-radius: 1.3rem; overflow: hidden; box-shadow: inset -6px 0 8px rgba(0,0,0,.18), 0 .6rem 1rem -.6rem rgba(0,0,0,.4); }
.xp-carotte__cylindre i { flex: 1; min-height: 1.4rem; }
.xp-carotte__cylindre i:nth-child(1) { background: linear-gradient(90deg, #8c5a32, #c08457, #8c5a32); flex: 1.2; }
.xp-carotte__cylindre i:nth-child(2) { background: linear-gradient(90deg, #6f7a84, #e8edf1, #7c8791); flex: .6; }
.xp-carotte__cylindre i:nth-child(3) { background: linear-gradient(90deg, #8a6a1f, #f2dc8c, #9b7720); flex: .5; }
.xp-carotte__cylindre i:nth-child(4) { background: linear-gradient(90deg, #4f3b2b, #7a5a43, #4f3b2b); flex: 1.4; }
.xp-carotte:nth-child(3n+2) .xp-carotte__cylindre i:nth-child(1) { flex: .6; }
.xp-carotte:nth-child(3n+2) .xp-carotte__cylindre i:nth-child(3) { flex: 1.1; }
.xp-carotte:nth-child(3n) .xp-carotte__cylindre i:nth-child(2) { flex: 1.3; }
.xp-carotte__num { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-fonce); }
.xp-carotte p { margin: .4rem 0 0; line-height: 1.55; }
.xp-carotte strong { color: var(--nuit); }
.xp-note { margin-top: 1.5rem; font-size: .92rem; color: var(--gris); font-style: italic; }
.xp-logos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.xp-logo { display: grid; place-items: center; aspect-ratio: 1; padding: 1.4rem; background: #fff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform .3s; }
.xp-logo:hover { transform: scale(1.06) rotate(-2deg); }
.xp-logo img { max-width: 70%; max-height: 50%; object-fit: contain; }
.ac-signe { position: relative; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: .5rem; font-family: var(--titre); font-weight: 700; font-size: 1.15rem; }
.ac-signe--avertissement { background: #10233a; clip-path: polygon(50% 0, 100% 92%, 0 92%); }
.ac-signe--avertissement::before { content: ""; position: absolute; inset: 5px 6px 8px; background: var(--jaune); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ac-signe--avertissement span { position: relative; margin-top: .9rem; color: var(--nuit); }
.ac-signe--obligation { border-radius: 50%; background: #1f5fa8; color: #fff; box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px #1f5fa8; }
.ac-signe--secours { border-radius: 6px; background: var(--vert); color: #fff; }
.ac-signe--secours::before, .ac-signe--secours::after { content: ""; position: absolute; background: rgba(255,255,255,.25); }
.ac-signe--secours::before { width: 60%; height: 18%; }
.ac-signe--secours::after { width: 18%; height: 60%; }
.ac-signe--secours span { position: relative; }
.ac-signe--progres { background: var(--orange); color: #fff; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
