/* Mediatree Group — feuille de style unique, fidèle au site d'origine (Roboto, gris / noir / blanc) */
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/roboto-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/roboto-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: italic; font-display: swap; font-weight: 100 900; src: url(fonts/roboto-latin-wght-italic.woff2) format('woff2'); }

:root {
  --ink: #191919; --black: #1a1818; --grey: #565759; --mid: #8c8c8c; --light: #f4f4f4; --white: #fff;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --container: 72rem; --gutter: clamp(1.25rem, 4vw, 2.5rem); --section: clamp(4rem, 9vw, 7rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 300 1rem/1.6 var(--font); color: var(--black); background: var(--white); letter-spacing: .04em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .96); border-bottom: 1px solid #eee; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.logo img { width: 150px; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav a { text-decoration: none; font-weight: 700; font-size: .875rem; color: #333; letter-spacing: .06em; }
.nav a:hover { color: #000; text-decoration: underline; text-underline-offset: .35em; }
.lang { display: flex; gap: .25rem; font-size: .8125rem; font-weight: 700; }
.lang a { text-decoration: none; padding: .2rem .45rem; border: 1px solid transparent; color: var(--mid); }
.lang a[aria-current] { color: var(--ink); border-color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--ink); padding: .45rem .7rem; font: 700 .8125rem var(--font); letter-spacing: .08em; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: flex-start; gap: 1rem; background: #fff; padding: 1.25rem var(--gutter) 1.5rem; border-bottom: 1px solid #eee; }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: .9rem; }
  .nav a { font-size: 1rem; }
}

/* Bandeau d'accueil */
.hero { position: relative; min-height: clamp(26rem, 72vh, 44rem); display: grid; place-items: center; text-align: center; color: #fff; background: #333 center / cover no-repeat; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgb(0 0 0 / .38); z-index: -1; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero h1 { margin: 0; font-weight: 300; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.15; letter-spacing: .06em; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.hero p { margin: 1.25rem auto 0; max-width: 40rem; font-size: clamp(1rem, 1.8vw, 1.2rem); letter-spacing: .08em; }

/* Sections */
.section { padding-block: var(--section); }
.grey { background: var(--grey); color: #fff; }
.dark { background: var(--black); color: #fff; }
.light { background: var(--light); }
.cols { display: grid; grid-template-columns: 1fr; gap: 2rem 4rem; }
@media (min-width: 860px) { .cols { grid-template-columns: 14rem 1fr; } }
.label { display: inline-block; margin: 0 0 1.5rem; padding-top: .8rem; border-top: 5px solid currentColor; font-size: 1.25rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; }
.section p { margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.85; letter-spacing: .06em; }
.grey p { color: #f2f2f2; }
.kicker { font-style: italic; font-size: .875rem; letter-spacing: .08em; margin: 2.5rem 0 0 !important; color: #e2e2e2; }

/* Sociétés du groupe */
.members-head { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 860px) { .members-head { grid-template-columns: 14rem 1fr; gap: 4rem; align-items: center; } }
.members-head hr { border: 0; border-top: 1px solid rgb(255 255 255 / .6); margin: 0; }
.members { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
@media (min-width: 860px) { .members { margin-left: 18rem; } }
.members a { display: grid; place-items: center; height: 5.5rem; padding: 1rem 1.25rem; border: 1px solid rgb(255 255 255 / .18); text-decoration: none; transition: background-color .25s, border-color .25s; }
.members a:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .55); }
.members img { max-height: 1.9rem; width: auto; max-width: 100%; object-fit: contain; }

/* Image de séparation */
.band { height: clamp(14rem, 40vw, 26rem); position: relative; overflow: hidden; }
.band picture { display: block; height: 100%; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* À propos */
.quote { margin: 0 0 .5rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: .02em; line-height: 1.35; color: var(--ink); }
.quote-by { font-style: italic; font-size: .9375rem; margin: 0 0 2rem !important; color: #444; }

/* Mission */
.missions { display: grid; grid-template-columns: 1fr; gap: 2.5rem 3rem; }
@media (min-width: 700px) { .missions { grid-template-columns: 1fr 1fr; } }
.missions h3 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 700; letter-spacing: .14em; }
.missions p { font-size: .9375rem; line-height: 1.75; color: #e8e8e8; margin: 0; }

/* Contact */
.contact-info { font-size: .9375rem; line-height: 1.8; }
.contact-info address { font-style: normal; margin-bottom: 1.25rem; }
.contact-info a { text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-info .social { display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; margin: .25rem 0 .75rem; }
.contact-info .social svg { width: 1.2rem; height: 1.2rem; }
.form h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 400; margin: 0 0 1rem; letter-spacing: .04em; }
.form .intro { margin-bottom: 2rem; }
.field { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.field label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; }
.field input[type=text], .field input[type=email], .field textarea, .field input[type=file] { width: 100%; font: 300 1rem var(--font); color: var(--black); background: #fff; border: 1px solid #ccc; padding: .85rem 1rem; border-radius: 0; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field small { color: #666; font-size: .8125rem; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .875rem; margin: .5rem 0 1.75rem; }
.consent input { margin-top: .3rem; accent-color: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .85rem 2.25rem; background: #000; color: #fff; border: 1px solid #000; font: 700 .8125rem var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s; }
.btn:hover { background: #fff; color: #000; }
.btn-light { background: transparent; border-color: currentColor; color: inherit; }
.btn-light:hover { background: #000; color: #fff; }
.status { display: none; padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: .9375rem; border: 1px solid; }
.status:target { display: block; }
.status.ok { border-color: #2e7d32; color: #1b5e20; background: #f1f8f1; }
.status.ko { border-color: #b71c1c; color: #8e1414; background: #fdf1f1; }
.map-link { display: inline-block; margin-top: .25rem; font-size: .875rem; text-decoration: underline !important; text-underline-offset: .25em; }

/* Pied de page */
.site-footer { background: var(--grey); color: #eee; padding-block: 3rem 2rem; font-size: .875rem; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; align-items: center; }
.site-footer .logo img { filter: brightness(0) invert(1); width: 140px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #eee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: #d6d6d6; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-decoration: underline; cursor: pointer; }

/* Page texte (confidentialité) */
.page-head { background: var(--grey); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); }
.page-head h1 { margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: .06em; }
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; margin: 2.5rem 0 1rem; }
.prose ul { padding-left: 1.2rem; line-height: 1.85; }

/* Bandeau cookies */
.consent-banner { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; max-width: 32rem; margin-left: auto; background: #fff; color: var(--black); border: 1px solid #ddd; box-shadow: 0 10px 40px rgb(0 0 0 / .18); padding: 1.25rem 1.5rem; font-size: .9375rem; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 1rem; }
.consent-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.consent-actions .btn { flex: 1 1 8rem; min-height: 2.75rem; padding: .6rem 1rem; }

/* Présence internationale */
.cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-weight: 700; font-size: .9375rem; letter-spacing: .1em; }
.cities li::before { content: ''; display: inline-block; width: .55rem; height: .55rem; margin-right: .55rem; border-radius: 50%; background: var(--ink); vertical-align: .1em; }
.map { margin-top: clamp(2rem, 5vw, 3.5rem); }
.map img { width: 100%; }
.hq { margin: 0 0 .25rem !important; font-size: .8125rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* SEO v03 : titre principal, fiches sociétés, FAQ */
.hero .claim { margin: 0; font-weight: 300; font-size: clamp(2.1rem, 5.2vw, 3.6rem); line-height: 1.15; letter-spacing: .06em; text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.hero h1 { margin: 1.25rem auto 0; max-width: 46rem; font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 400; line-height: 1.5; letter-spacing: .08em; text-shadow: none; }
.members { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.members a { height: auto; min-height: 5.5rem; display: grid; gap: .9rem; align-content: start; justify-items: start; padding: 1.25rem 1.25rem 1.4rem; }
.mlogo { height: 2rem; display: flex; align-items: center; }
.mdesc { font-size: .8125rem; line-height: 1.6; color: #e6e6e6; letter-spacing: .04em; }
.faq details { border-top: 1px solid #ddd; }
.faq details:last-child { border-bottom: 1px solid #ddd; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 300; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary h3 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .06em; }
.faq details p { margin: 0 0 1.25rem; }
.hero p.claim { max-width: 56rem; margin: 0 auto; }
@media (min-width: 700px) { .members { grid-template-columns: repeat(2, 1fr); } }
.mlogo img { max-height: 1.6rem; max-width: 10rem; width: auto; }
