/* Concept : thème Lumière (crème) et thème Nuit (noir doux + grain). Titres en capitales espacées dont la fin passe en gras, photos en arche, bouton pilule, quatre « t » en signature. */
@font-face { font-family: "TG Adventor"; src: url("tgadventor-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "TG Adventor"; src: url("tgadventor-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --jaune: #f4c71a;
  --anth: #444444;
  --gris: #5e5e5e;
  --creme: #faf6ee;
  --sable: #e3dacb;
  --vert: #147f4c;
  --or: #cfa92a;
  --noir: #1b1b1b;
  --noir-ombre: #080808;
  --noir-reflet: #5a5a5a;
  --bleu: #2497cd;
  --blanc: #ffffff;
  --fond: #faf6ee;
  --carte: #e3dacb;
  --trait-fin: rgba(68, 68, 68, 0.3);
  --titre: #444444;
  --texte: #444444;
  --discret: #5e5e5e;
  --mot-cle: #444444;
  --slogan: var(--vert);
 
  --verre: rgba(250, 246, 238, 0.86);
  --champ: var(--fond);
  --pill-bg: #444444;
  --pill-fg: #ffffff;
  --contour: #444444;
  --grain: none;
  --photo-filter: none;
  --show-l: block;
  --show-d: none;
  --font: "TG Adventor", "Century Gothic", sans-serif;
  /* ---- Échelles web (ajoutées pour le site) ---------------------------------
     Espacement : base 4 px + les pas de la charte (18 / 40 / 72 / 120). */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
  --space-s: 18px; --space-m: 40px; --space-l: 72px; --space-xl: 120px;
  /* Typographie : libellés >= 0,85 rem (13,6 px), titres fluides. */
  --text-label: 0.85rem; --text-sm: 0.9rem; --text-base: 1rem; --text-body: 1.0625rem; --text-md: 1.15rem; --text-lg: 1.3rem; --text-xl: 1.5rem; --text-2xl: 1.75rem; --text-display: 2.4rem;
  --text-h1: clamp(1.9rem, 4.6vw, 3.9rem); --text-h2: clamp(1.6rem, 3.6vw, 2.8rem); --text-hero: clamp(1.8rem, 3.5vw, 3.1rem);
  --tracking-title: 0.04em; --tracking-mention: 0.16em; --tracking-label: 0.32em;
  /* Formes, traits, focus, mouvement, couches */
  --radius-pilule: 999px; --radius-arche: 9999px 9999px 0 0;
  --line: 2px; --line-strong: 3px;
  --focus-ring: 3px solid var(--bleu);
  --dur-fast: .15s; --dur: .25s; --dur-slow: .9s; --ease: cubic-bezier(.65, 0, .35, 1);
  --container: 1160px; --gutter: 16px;
  --z-header: 2; --z-sigle: 5; --z-float: 6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #1c1c1c; --carte: #2a2a2a; --trait-fin: #3a3a3a; --titre: #ffffff; --texte: #c9c9c9; --discret: #8e8e8e; --mot-cle: #f4c71a; --slogan: #f4c71a; --noir: #101010; --noir-reflet: #7c7c7c;
    --verre: rgba(28, 28, 28, 0.55); --champ: #1c1c1c; --pill-bg: #f4c71a; --pill-fg: #444444; --contour: #ffffff;
    --grain: url("grain.jpg"); --photo-filter: brightness(0.82); --show-l: none; --show-d: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #1c1c1c; --carte: #2a2a2a; --trait-fin: #3a3a3a; --titre: #ffffff; --texte: #c9c9c9; --discret: #8e8e8e; --mot-cle: #f4c71a; --slogan: #f4c71a; --noir: #101010; --noir-reflet: #7c7c7c;
  --verre: rgba(28, 28, 28, 0.55); --champ: #1c1c1c; --pill-bg: #f4c71a; --pill-fg: #444444; --contour: #ffffff;
  --grain: url("grain.jpg"); --photo-filter: brightness(0.82); --show-l: none; --show-d: block; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--fond);
  background-image: var(--grain);
  background-size: 360px 360px;
  color: var(--texte);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text-body);
  line-height: 1.6;
  padding-inline: max(var(--space-4), env(safe-area-inset-left, 0px)) max(var(--space-4), env(safe-area-inset-right, 0px));
  padding-block: 0;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
.wrap { max-width: var(--container); margin-inline: auto; position: relative; }
.lum { display: var(--show-l); }
.nui { display: var(--show-d); }
section { padding-block: var(--space-9); position: relative; }

h1, h2, h3 { margin: 0; color: var(--titre); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 400; line-height: 1.12; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-md); line-height: 1.25; }
h1 b, h2 b, h3 b { font-weight: 700; color: var(--mot-cle); }
.etiquette { display: flex; align-items: center; gap: var(--space-s); font-size: var(--text-label); letter-spacing: 0.32em; text-transform: uppercase; line-height: 1.3; color: var(--titre); }
.etiquette::after { content: ""; width: 64px; height: 3px; background: var(--c, var(--jaune)); flex: none; }
.lead { font-size: var(--text-md); max-width: 34em; }
.mention { font-size: var(--text-label); letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.3; color: var(--discret); }
.trait { height: 22px; width: min(340px, 70%); background-size: 100% 100%; background-repeat: no-repeat; }

/* Boutons pilule */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  font: 700 var(--text-label)/1.2 var(--font); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; text-align: center;
  padding: var(--space-s) var(--space-6); border-radius: var(--radius-pilule); border: 2px solid var(--pill-bg); background: var(--pill-bg); color: var(--pill-fg); cursor: pointer;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn::after { content: "→"; font-size: 1.1em; letter-spacing: 0; }
.btn.noarrow::after { display: none; }
.btn.contour { background: transparent; color: var(--titre); border-color: var(--contour); }
.btn.jaune { background: var(--jaune); border-color: var(--jaune); color: var(--anth); }
.btn.anth { background: var(--anth); border-color: var(--anth); color: var(--blanc); }
.btn:focus-visible, .chip:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .lien:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.lien { font: 700 var(--text-label) var(--font); letter-spacing: 0.16em; text-transform: uppercase; background: none; border: 0; padding: 0 0 var(--space-1); cursor: pointer; color: var(--titre); border-bottom: 3px solid var(--c, var(--jaune)); text-decoration: none; justify-self: start; }

/* En-tête */
header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); padding-block: var(--space-5) var(--space-3); flex-wrap: wrap; position: relative; z-index: 2; }
.logo img { height: 54px; width: auto; }
nav { display: flex; gap: var(--space-6); align-items: center; flex-wrap: wrap; font-size: var(--text-label); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
nav a { text-decoration: none; color: var(--titre); }
nav a:not(.btn):hover { border-bottom: 3px solid var(--jaune); }
nav .btn { padding: var(--space-3) var(--space-s); font-size: var(--text-label); }

/* Bascule Lumière / Nuit : le soleil se couche en croissant de lune */
.mode { display: inline-flex; align-items: center; gap: var(--space-3); background: none; border: 0; padding: var(--space-1) 0; cursor: pointer; font: 700 var(--text-label) var(--font); letter-spacing: 0.22em; text-transform: uppercase; color: var(--titre); }
.mode:focus-visible { outline: 3px solid var(--bleu); outline-offset: 4px; border-radius: var(--radius-pilule); }
.ciel { position: relative; width: 66px; height: 34px; border-radius: var(--radius-pilule); overflow: hidden; flex: none; border: 2px solid var(--contour); background: linear-gradient(180deg, #faf6ee 0%, #e3dacb 62%, #f4c71a 62%, #f4c71a 66%, #e3dacb 66%); transition: background .6s ease, border-color .6s ease; }
.astre { position: absolute; top: 5px; left: 6px; width: 20px; height: 20px; border-radius: 50%; background: #f4c71a; box-shadow: 0 0 0 4px rgba(244, 199, 26, .25); transition: transform .7s cubic-bezier(.65, 0, .35, 1), background .5s ease, box-shadow .5s ease; }
.etoile { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; transform: scale(0); transition: opacity .4s ease, transform .4s ease; }
.etoile:nth-child(2) { top: 8px; left: 12px; }
.etoile:nth-child(3) { top: 20px; left: 22px; width: 2px; height: 2px; }
.etoile:nth-child(4) { top: 6px; left: 30px; width: 2px; height: 2px; }
.mode-txt { min-width: 5.6em; text-align: left; }
:root[data-theme="dark"] .ciel { background: linear-gradient(180deg, #1c1c1c 0%, #2a2a2a 100%); }
:root[data-theme="dark"] .astre { transform: translateX(32px); background: transparent; box-shadow: inset -7px -2px 0 0 #f4c71a; }
:root[data-theme="dark"] .etoile { opacity: 1; transform: scale(1); }
:root[data-theme="dark"] .etoile:nth-child(3) { transition-delay: .15s; }
:root[data-theme="dark"] .etoile:nth-child(4) { transition-delay: .3s; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
@media (max-width: 640px) { .mode-txt { display: none; } }

/* Hero */
.hero { padding-block: var(--space-8) var(--space-9); overflow: hidden; }
.grand-t { position: absolute; width: min(760px, 90vw); right: -190px; bottom: -230px; opacity: 0.55; pointer-events: none; z-index: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-8); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-block: var(--space-6) var(--space-5); }
.hero .lead { margin-block: var(--space-6) var(--space-m); }
.cta-row { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-4); }
.arche-wrap { position: relative; width: min(100%, 380px); margin-inline: auto var(--space-4); margin-top: var(--space-5); }
.arche, .arche-wrap::before { border-radius: var(--radius-arche); }
.arche { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: var(--photo-filter); position: relative; z-index: 1; }
.arche-wrap::before { content: ""; position: absolute; inset: 0; transform: translate(-26px, -26px); border: 3px solid var(--contour); z-index: 0; }
.verre { position: absolute; left: calc(var(--space-6) * -1); bottom: var(--space-6); z-index: 2; background: var(--verre); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: var(--space-s) var(--space-5); display: grid; gap: var(--space-2); color: var(--titre); }
.verre b { font-size: var(--text-2xl); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.verre .mention { color: var(--titre); }


/* Bandeau cookies (analytics) : affiché seulement si un identifiant GA4 est défini */
.consent {
  position: fixed; left: var(--space-5); bottom: var(--space-5); z-index: calc(var(--z-float) + 1);
  max-width: 460px; padding: var(--space-5); display: grid; gap: var(--space-4);
  background: var(--carte); color: var(--texte); border: var(--line) solid var(--trait-fin);
  font-size: var(--text-sm); line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.consent .btn { padding: var(--space-3) var(--space-5); }
@media (max-width: 600px) { .consent { left: var(--gutter); right: var(--gutter); bottom: var(--gutter); max-width: none; } }

/* Listes déroulantes du menu : services et langues */
.drop { position: relative; }
.drop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--space-2); padding-block: var(--space-1); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--titre); }
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-fast) ease; }
.drop[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.drop summary:focus-visible { outline: var(--focus-ring); outline-offset: 4px; }
.drop ul { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 9em; z-index: var(--z-float); background: var(--fond); border: var(--line) solid var(--trait-fin); }
.drop li a { display: block; padding: var(--space-3) var(--space-4); white-space: nowrap; border-bottom: 0; }
.drop li a:hover { border-bottom: 0; box-shadow: inset 0 calc(-1 * var(--line-strong)) 0 var(--jaune); }
.drop li a:focus-visible { outline: var(--focus-ring); outline-offset: calc(-1 * var(--line-strong)); }
.drop li a[aria-current] { color: var(--mot-cle); }
.services-menu summary:hover { box-shadow: inset 0 calc(-1 * var(--line-strong)) 0 var(--jaune); }
.lang-switch ul { left: auto; right: 0; }
.services-menu li + li a { font-weight: 400; }   /* seul « All Services » reste en gras */
@media (max-width: 860px) {
  .drop summary { display: flex; justify-content: space-between; padding-block: var(--space-4); border-bottom: var(--line) solid var(--trait-fin); font-size: var(--text-sm); }
  .services-menu summary:hover { box-shadow: none; text-decoration: underline; text-decoration-color: var(--jaune); text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .drop ul { position: static; border: 0; padding-left: var(--space-4); }
  .drop li a { white-space: normal; }
}
