/*
Theme Name: Concorde & Co
Theme URI: https://concordeandco.com/
Author: THE GRAPHISTE
Author URI: https://www.the-graphiste.fr/
Description: Thème sur mesure du site Concorde & Co (reproduction à l'identique de la version HTML, avec animations discrètes au défilement). Réglages : inc/settings.php.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: concorde-co
*/

/* Layout : photo plein cadre en mouvement lent au défilement, bandeaux marine et ivoire en alternance, l’emblème à trois branches comme seul motif. L’or reste réservé au logo et à l’action principale. */
:root {
  color-scheme: dark;
  --navy: #0A1F44;
  --navy-2: #112A57;
  --navy-3: #1B3566;
  --navy-deep: #071733;
  --ink: #34404F;
  --slate: #5B6577;
  --mist: #AEB9CB;
  --gold: #C9A24C;
  --ivory: #F6F2EA;
  --sand: #EAE3D4;
  --white: #FFFFFF;
  --line-dark: rgba(174, 185, 203, .22);
  --line-light: rgba(52, 64, 79, .14);

  --cc-display: "EB Garamond", Garamond, "Times New Roman", serif;
  --body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-3: clamp(1.9rem, 3.4vw, 2.5rem);
  --step-4: clamp(2.6rem, 6vw, 4.6rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
h1, h2, h3, h4 { font-family: var(--cc-display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.justify { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font-family: var(--body); font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.on-dark .eyebrow { color: var(--mist); }

.emblem {
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("assets/emblem.png") center / contain no-repeat;
  mask: url("assets/emblem.png") center / contain no-repeat;
  aspect-ratio: 488 / 566;
}

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); color: var(--navy); border-bottom: 1px solid var(--line-light); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .emblem { width: 22px; color: var(--navy); }
.brand-name { font-family: var(--cc-display); font-size: 1.5rem; letter-spacing: .02em; white-space: nowrap; color: var(--navy); }
.brand-name em { font-style: normal; color: inherit; }
.site-footer .brand-name { color: var(--ivory); }
.site-footer .brand .emblem { color: var(--ivory); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .875rem; letter-spacing: .03em; color: var(--ink); }
.nav a:hover { color: var(--navy); }
.nav .lang { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--slate); letter-spacing: .08em; }
.nav .lang button { font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 4px 2px; color: var(--slate); cursor: pointer; }
.nav .lang button[aria-pressed="true"] { color: var(--navy); font-weight: 600; }
.nav .lang button:hover { color: var(--navy); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; font: 600 .875rem/1 var(--body); letter-spacing: .04em; text-decoration: none; border: 1px solid var(--gold); border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D8B566; }
.btn-line { background: transparent; color: var(--ivory); border-color: rgba(246, 242, 234, .5); }
.btn-line:hover { border-color: var(--ivory); background: rgba(246, 242, 234, .08); }
.btn-dark { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.nav .btn { padding: 11px 18px; color: var(--navy); border-color: var(--navy); }
.nav .btn:hover { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-light); color: var(--navy); font: 600 .8125rem var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; cursor: pointer; }
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 80px; flex-direction: column; align-items: flex-start; gap: 18px; background: var(--white); border-bottom: 1px solid var(--line-light); padding: 24px max(24px, env(safe-area-inset-right, 0px)) 28px max(24px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { font-size: 1rem; }
}

/* ---------- Hero photo (mouvement lent au défilement) ---------- */
.hero { position: relative; overflow: hidden; color: var(--ivory); background: var(--navy); isolation: isolate; }
.hero-bg {
  position: absolute; inset: -12% 0 -12% 0; z-index: -2;
  background: url("assets/hero-etoile-nuit.jpg") center 55% / cover no-repeat;
  transform: scale(1.08);
  will-change: transform;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 23, 51, .9) 0%, rgba(10, 31, 68, .55) 38%, rgba(10, 31, 68, .35) 52%, rgba(7, 23, 51, .82) 66%, rgba(7, 23, 51, .94) 100%),
    linear-gradient(0deg, rgba(7, 23, 51, .7) 0%, rgba(7, 23, 51, 0) 45%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: center; min-height: clamp(460px, 64vh, 620px); padding-block: clamp(3.5rem, 7vw, 5rem); }
.hero h1 { font-size: var(--step-4); font-weight: 400; margin-top: 18px; max-width: 12em; }
.hero h1 em { font-style: italic; }
.hero-aside { border-left: 1px solid rgba(246, 242, 234, .3); padding: 6px 0 6px 28px; display: grid; gap: 24px; }
.hero-aside p { font-size: var(--step-1); line-height: 1.7; color: var(--sand); }
.hero-aside .btn { justify-self: start; }
.hero-cities { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.hero-cities b { color: var(--ivory); font-weight: 600; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .hero::before { background: linear-gradient(0deg, rgba(7, 23, 51, .95) 10%, rgba(10, 31, 68, .55) 100%); }
}

/* ---------- Bandeau chiffres ---------- */
.kpi-band { background: var(--navy); color: var(--ivory); border-top: 1px solid var(--line-dark); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi { padding: 40px 20px; display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; }
.kpi + .kpi { border-left: 1px solid var(--line-dark); }
.kpi .num { font-family: var(--cc-display); font-size: clamp(2.6rem, 5vw, 3.75rem); line-height: 1; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.kpi .num small { font-size: .5em; margin-left: 3px; }
.kpi .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); font-weight: 600; line-height: 1.5; }
@media (max-width: 860px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 28px 12px; }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Sections ---------- */
section { padding-block: var(--section); }
/* les ancres du menu ne passent pas sous le bandeau fixe */
[id] { scroll-margin-top: 80px; }
/* En-tête de section : surtitre, titre sur une ligne, puis texte d’introduction, tous alignés à gauche */
.section-head { display: grid; gap: 14px; justify-items: start; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); color: var(--navy); text-wrap: pretty; }
.section-head p { color: var(--slate); max-width: 46em; font-size: var(--step-1); margin-top: 4px; }
.on-dark .section-head h2 { color: var(--ivory); }
.on-dark .section-head p { color: var(--mist); }

/* Qui sommes-nous : texte à gauche, photo à droite */
.maison { background: var(--ivory); }
.maison-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.maison h2 { font-size: var(--step-3); color: var(--navy); margin-top: 14px; }
.maison-text { display: grid; gap: 18px; margin-top: 28px; font-size: var(--step-1); color: var(--ink); max-width: 36em; }
.maison .btn { margin-top: 32px; }
/* les trois valeurs, en signature sous le texte de présentation */
.values-line { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; max-width: 36em; }
.values-label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.values-words { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.values-words em { font-family: var(--cc-display); font-size: 1.45rem; color: var(--navy); }
.values-words i { width: 5px; height: 5px; border-radius: 50%; background: var(--navy); opacity: .35; }
.maison-photo { margin: 0; }
.maison-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% 40%; }
@media (max-width: 860px) {
  .maison-grid { grid-template-columns: 1fr; }
  .maison-photo { max-width: 460px; }
  .maison-photo img { aspect-ratio: 4 / 3; }
}

/* Activités M&A */
.activites { background: var(--white); }
.act-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-light); }
/* sous-grille : titres, descriptions et étiquettes démarrent sur la même ligne dans les deux colonnes */
.act { padding: 40px 40px 44px 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 22px; row-gap: 12px; border-bottom: 1px solid var(--line-light); }
.act:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line-light); }
.act .emblem { width: 16px; color: var(--navy); align-self: center; }
.act h3 { font-size: 1.75rem; color: var(--navy); white-space: nowrap; }
@media (max-width: 1199px) { .act h3 { white-space: normal; font-size: 1.6rem; } }
.act p, .act ul { grid-column: 2; }
.act p { color: var(--slate); }
.act ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-self: start; }
.act li { font-size: .75rem; letter-spacing: .06em; color: var(--ink); background: var(--ivory); padding: 5px 10px; }
.sovereign { margin-top: clamp(2.5rem, 5vw, 3.5rem); background: var(--navy); color: var(--mist); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); }
.sov-head { display: grid; gap: 12px; align-content: start; }
.sovereign .emblem { width: 18px; color: var(--sand); }
.sovereign h3 { font-size: 1.75rem; color: var(--ivory); text-wrap: pretty; }
.sov-body { display: grid; gap: 14px; }
.sov-body ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sov-body li { font-size: .75rem; letter-spacing: .06em; color: var(--ivory); border: 1px solid var(--line-dark); padding: 5px 10px; }
@media (max-width: 899px) { .sovereign { grid-template-columns: 1fr; } .sovereign h3 { font-size: 1.6rem; } }
@media (max-width: 860px) {
  .act-grid { grid-template-columns: 1fr; }
  .act, .act:nth-child(even) { padding: 32px 0; border-left: 0; }
  .act h3 { white-space: normal; }
}

/* Ce qui nous distingue */
.distingue { background: var(--navy); color: var(--sand); }
.distingue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; border-top: 1px solid var(--line-dark); }
/* sous-grille : emblèmes, titres et textes partagent les mêmes lignes dans les trois colonnes */
.dist { padding: 36px 36px 8px 0; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px; }
.dist + .dist { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.dist .emblem { width: 18px; color: var(--sand); }
.dist h3 { font-size: 1.55rem; color: var(--ivory); align-self: end; }
.dist p { color: var(--mist); }
@media (max-width: 860px) {
  .distingue-grid { grid-template-columns: 1fr; }
  .distingue-grid { grid-template-rows: none; }
  .dist { grid-row: auto; grid-template-rows: none; }
  .dist, .dist + .dist { padding: 28px 0 24px; border-left: 0; }
  .dist + .dist { border-top: 1px solid var(--line-dark); }
}

/* International */
.international { background: var(--white); }
/* Carte du réseau : continents en trame de points, bureaux reliés par un fin pointillé */
.map-wrap { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.world-map { display: block; width: 100%; height: auto; }
.map-land { fill: none; stroke: var(--navy); stroke-opacity: .15; stroke-width: 4; stroke-linecap: round; }
.map-links path { fill: none; stroke: var(--navy); stroke-opacity: .5; stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.map-halo { fill: var(--navy); fill-opacity: .09; }
.map-dot { fill: var(--navy); }
.map-label { font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; fill: var(--navy); }
@media (max-width: 1020px) { .map-label { font-size: 22px; letter-spacing: .12em; } .map-dot { r: 5.5px; } }
/* ordinateur : texte à gauche, carte à droite */
@media (min-width: 1021px) {
  .intl-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
  .intl-top .section-head, .intl-top .map-wrap { margin-bottom: 0; }
  .intl-top .section-head p { font-size: var(--step-0); }
  .intl-top .map-label { font-size: 24px; }
  .intl-top .map-dot { r: 6px; }
  .intl-top .map-halo { r: 15px; }
  .intl-top .map-land { stroke-width: 5; }
  .intl-top .map-links path { stroke-width: 2; stroke-dasharray: 3 8; }
}/* téléphone : les noms des villes sont listés juste sous la carte, on garde seulement les points */
@media (max-width: 600px) { .map-label { display: none; } .map-dot { r: 8px; } .map-halo { r: 20px; } .map-links path { stroke-width: 2.4; stroke-dasharray: 3 8; } .map-land { stroke-width: 5; } }
.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* sous-grille : région, ville, adresse et heure alignées d'un bureau à l'autre */
.office { border-top: 2px solid var(--navy); padding-top: 22px; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 10px; align-content: start; }
.office .time { align-self: start; }
.office .region { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.office h3 { font-size: 2rem; color: var(--navy); }
.office address { font-style: normal; color: var(--slate); font-size: .9375rem; }
.office .time { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; font-size: .8125rem; color: var(--slate); }
.office .time b { font-family: var(--cc-display); font-size: 1.5rem; font-weight: 500; color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
@media (max-width: 960px) { .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 520px) { .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .office h3 { font-size: 1.6rem; } .office address { font-size: .875rem; } }
@media (max-width: 340px) { .offices { grid-template-columns: 1fr; } .office { grid-row: auto; grid-template-rows: none; } }

/* Valeurs */
.valeurs { position: relative; isolation: isolate; color: var(--sand); background: var(--navy); padding-block: clamp(5rem, 10vw, 8rem); }
.valeurs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 23, 51, .92) 0%, rgba(7, 23, 51, .84) 50%, rgba(7, 23, 51, .94) 100%); }
/* même grille que « Ce qui nous distingue » : emblèmes, titres et textes sur les mêmes lignes */
.val-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; border-top: 1px solid rgba(246, 242, 234, .22); }
.val { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px; padding: 36px 36px 8px 0; }
.val + .val { padding-left: 36px; border-left: 1px solid rgba(246, 242, 234, .22); }
.val .emblem { width: 18px; color: var(--sand); }
.val h3 { font-size: clamp(2rem, 3.2vw, 2.6rem); color: var(--ivory); font-style: italic; font-weight: 400; align-self: end; }
.val p { color: var(--sand); }
@media (max-width: 860px) {
  .val-list { grid-template-columns: 1fr; grid-template-rows: none; }
  .val, .val + .val { grid-row: auto; grid-template-rows: none; padding: 28px 0 24px; border-left: 0; }
  .val + .val { border-top: 1px solid rgba(246, 242, 234, .22); }
}

/* Équipe */
.equipe { background: var(--ivory); }
/* une rangée de cinq portraits identiques, classés par séniorité */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
/* en attendant les photos : cartes typographiques, filet bleu, nom puis titre */
.member { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; }
.member .portrait { width: min(100%, 176px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sand); margin-bottom: 14px; box-shadow: 0 0 0 1px var(--line-light); }
.member .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.member:hover .portrait img { transform: scale(1.04); }
.team-more { margin-top: 48px; display: flex; justify-content: center; }
/* noms toujours sur une ligne : la taille suit la largeur des colonnes */
.member h3 { font-size: clamp(1rem, 1.45vw, 1.4rem); color: var(--navy); white-space: nowrap; }
.member .role { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; max-width: none; }
  .team .member:last-child { grid-column: 1 / -1; }
  .member h3 { font-size: 1.3rem; }
  .member .portrait { width: min(100%, 150px); }
}
.team-foot { margin-top: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; border-top: 1px solid var(--line-light); padding-top: 24px; }
.team-foot p { color: var(--slate); }
.link-arrow { font-weight: 600; font-size: .875rem; letter-spacing: .04em; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 3px; }

/* Perspectives */
.perspectives { background: var(--white); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post { border: 1px solid var(--line-light); padding: 28px; display: grid; gap: 14px; align-content: start; background: var(--white); transition: border-color .2s; }
.post:hover { border-color: var(--navy); }
.post .meta { display: flex; justify-content: space-between; gap: 12px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.post .meta .sample { font-weight: 400; font-style: italic; text-transform: none; letter-spacing: 0; }
.post h3 { font-size: 1.45rem; color: var(--navy); }
.post p { color: var(--slate); font-size: .9375rem; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--navy); color: var(--sand); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.contact h2 { font-size: var(--step-4); color: var(--ivory); font-weight: 400; margin-top: 14px; }
.contact .intro { margin-top: 20px; color: var(--mist); max-width: 30em; }
.coords { margin-top: 36px; display: grid; gap: 18px; }
.coords div { display: grid; gap: 2px; }
.coords span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); font-weight: 600; }
.coords b { font-family: var(--cc-display); font-weight: 400; font-size: 1.4rem; color: var(--ivory); user-select: all; }
form { display: grid; gap: 18px; background: var(--navy-2); padding: clamp(24px, 4vw, 40px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .9375rem; color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); padding: 10px 0; border-radius: 0; }
.field select option { color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ivory); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form-foot small { color: var(--mist); font-size: .75rem; max-width: 26em; }
.form-status { font-size: .875rem; color: var(--sand); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { background: var(--navy-deep); color: var(--mist); font-size: .8125rem; }
.site-footer .wrap { padding-block: 48px 36px; display: grid; gap: 32px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ivory); }
.motto { letter-spacing: .24em; text-transform: uppercase; color: var(--mist); font-size: .75rem; font-weight: 600; }
.legal { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #8792A6; }
.legal p { max-width: 60em; }


/* ---------- Page Équipe (affichée quand l'adresse se termine par #notre-equipe, sans script) ---------- */
.page-equipe { display: none; }
.page-equipe:target { display: block; }
body:has(#notre-equipe:target) #top { display: none; }
.team-hero { background: var(--navy); color: var(--ivory); }
.team-hero .wrap { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.team-hero h1 { font-size: var(--step-4); font-weight: 400; margin-top: 16px; }
.team-hero .lede { margin-top: 22px; max-width: 40em; color: var(--sand); font-size: var(--step-1); }
.back { display: inline-flex; gap: 8px; margin-bottom: 28px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); text-decoration: none; font-weight: 600; }
.back:hover { color: var(--ivory); }
.team-page { background: var(--ivory); }
.people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 56px 24px; }
.person-open { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; text-align: center; gap: 8px; width: 100%; }
.person-open:focus-visible { outline: 2px solid var(--navy); outline-offset: 8px; }
.portrait { width: min(100%, 176px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sand); margin-bottom: 14px; box-shadow: 0 0 0 1px var(--line-light); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.person-open:hover .portrait img { transform: scale(1.04); }
.p-name { font-family: var(--cc-display); font-size: clamp(1rem, 1.45vw, 1.4rem); line-height: 1.1; color: var(--navy); white-space: nowrap; }
.person .role { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.p-more { margin-top: 8px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--navy); padding-bottom: 2px; border-bottom: 1px solid var(--line-light); }
.person-open:hover .p-more { border-bottom-color: var(--navy); }
@media (max-width: 1020px) { .people { grid-template-columns: repeat(3, minmax(0, 1fr)); } .p-name { font-size: 1.3rem; } }
@media (max-width: 600px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; } .p-name { white-space: normal; font-size: 1.15rem; } .person .role { font-size: .625rem; } }

/* Fiche individuelle */
dialog.profile { border: 0; padding: 0; width: min(780px, calc(100% - 32px)); max-height: calc(100% - 32px); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(7, 23, 51, .35); }
dialog.profile::backdrop { background: rgba(7, 23, 51, .72); }
.profile-inner { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; padding: 48px; align-items: start; }
.profile .portrait { width: 210px; margin: 0; }
.profile h2 { font-size: 2.2rem; color: var(--navy); }
.profile .role { display: block; margin-top: 10px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.profile-bio { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-light); color: var(--ink); line-height: 1.75; text-align: justify; hyphens: manual; }
.profile-bio.is-pending { color: var(--slate); font-style: italic; text-align: left; }
.profile-bio p + p { margin-top: 14px; }
/* coordonnées de la fiche : e-mail Concorde & Co et profil LinkedIn */
.profile-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.pc-mail { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: .9375rem; word-break: break-all; }
.pc-mail svg { width: 18px; height: 18px; flex: none; }
.pc-mail[href]:hover { text-decoration: underline; text-underline-offset: 3px; }
.pc-in { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-light); color: var(--navy); transition: background .2s, color .2s; }
.pc-in svg { width: 16px; height: 16px; }
.pc-in[href]:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pc-mail.is-pending, .pc-in.is-pending { color: var(--slate); cursor: default; }
.pc-in.is-pending { opacity: .5; }
@media (max-width: 600px) { .profile-bio { text-align: left; } }
.profile-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid var(--line-light); background: var(--white); color: var(--navy); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.profile-close:hover { border-color: var(--navy); }
@media (max-width: 600px) {
  .profile-inner { grid-template-columns: 1fr; gap: 18px; padding: 20px 24px 32px; }
  /* le bouton de fermeture reste visible quand la fiche défile */
  .profile-close { position: sticky; top: 0; justify-self: end; z-index: 2; margin-bottom: -58px; }
  .profile .portrait { width: 112px; }
  .profile h2 { font-size: 1.8rem; }
}

/* ---------- Téléphone : menu et langue sans dépendre du script ---------- */
.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.lang-mobile { display: none; }
.office .time { display: none; }
.js .office .time { display: flex; }
@media (max-width: 1020px) {
  .nav-check:checked ~ .nav { display: flex; }
  .lang-mobile { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: .8125rem; letter-spacing: .08em; color: var(--slate); }
  .lang-mobile button { font: inherit; letter-spacing: inherit; background: none; border: 0; padding: 8px 4px; color: var(--slate); cursor: pointer; }
  .lang-mobile button[aria-pressed="true"] { color: var(--navy); font-weight: 600; }
  .nav .lang { display: none; }
  .nav-check:focus-visible + .menu-toggle { outline: 2px solid var(--navy); outline-offset: 3px; }
}
/* pied de page centré sur téléphone */
@media (max-width: 600px) { .foot-top, .legal { flex-direction: column; align-items: center; text-align: center; } .foot-links { justify-content: center; } .motto { text-align: center; } }
/* petits téléphones : logo, langue et menu tiennent sur la même ligne */
@media (max-width: 1020px) { .site-header .wrap { gap: 14px; } }
@media (max-width: 420px) {
  .site-header .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand .emblem { width: 18px; }
  .brand-name { font-size: 1.2rem; }
  .lang-mobile { font-size: .75rem; gap: 2px; }
  .lang-mobile button { padding: 8px 3px; }
  .menu-toggle { padding: 8px 10px; font-size: .75rem; letter-spacing: .06em; }
}
/* textes justifiés sans coupure des mots ; sur téléphone, alignés à gauche pour éviter les grands blancs */
.justify { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 600px) { .justify { text-align: left; } }

/* Champ piège anti-spam du formulaire (invisible) */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
