/* Polices hébergées en local (fichiers variables, sous-ensemble latin) */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/manrope-latin.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: "Montserrat"; font-style: normal; font-weight: 500 800; font-display: swap;
  src: url("/assets/fonts/montserrat-latin.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;
}

:root {
  --background: oklch(0.975 0.006 190);
  --foreground: oklch(0.28 0.025 210);
  --primary: oklch(0.55 0.05 205);
  --primary-foreground: oklch(0.99 0.003 200);
  --secondary: oklch(0.93 0.015 200);
  --accent: oklch(0.35 0.03 210);
  --accent-foreground: oklch(0.98 0.003 200);
  --muted-foreground: oklch(0.5 0.025 210);
  --border: oklch(0.88 0.015 205);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Montserrat", system-ui, sans-serif;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--border); }
/* Fond du haut (barre d'état, rebond du défilement) de la couleur du header */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--secondary); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  line-height: 1.5;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-size: inherit; font-weight: inherit; }
section[id] { scroll-margin-top: 5rem; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
.center { text-align: center; }

.icon {
  width: 1rem; height: 1rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.label {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem; line-height: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.label-icon { display: inline-flex; align-items: center; gap: 0.5rem; }

h2 { margin-top: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; }
@media (min-width: 768px) { .h2-lg { font-size: 3rem; line-height: 1; } }

.lead { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--muted-foreground); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom-width: 1px;
  /* Fond opaque : Safari sur iPhone reprend cette couleur pour la zone de la barre d'état */
  background: var(--secondary);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.75rem 1rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.brand picture { flex-shrink: 0; }
.brand-logo { display: block; width: auto; height: 1.75rem; }
.brand-text { min-width: 0; line-height: 1.25; }
.brand-name {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.025em;
}
.brand-sub {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8.5px; text-transform: uppercase;
  letter-spacing: 0; color: var(--muted-foreground);
}
.nav-desktop {
  display: none; align-items: center; gap: 1.75rem;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
}
.nav-desktop a { white-space: nowrap; }
.nav-desktop a:hover, .nav-mobile a:hover { color: var(--primary); }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 0.5rem; }
.btn-rdv {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.625rem 0.75rem;
  font-family: var(--font-display); font-size: 0.75rem; line-height: 1rem; font-weight: 600;
}
.btn-rdv:hover { background: var(--accent); }
/* Petits écrans : texte seul pour laisser la place au logo et au nom */
@media (max-width: 479px), (min-width: 768px) and (max-width: 1023px) { .btn-rdv .icon { display: none; } }
/* Très petits écrans (Android 360 px) : logo et bouton un peu plus compacts */
@media (max-width: 374px) {
  .brand { gap: 0.375rem; }
  .brand-logo { height: 1.5rem; }
  .btn-rdv { padding-inline: 0.5rem; }
}
.burger {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-width: 1px; background: var(--background); color: var(--foreground);
}
.burger .icon { width: 1.25rem; height: 1.25rem; }
.burger .icon-close, .burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.nav-mobile { position: absolute; inset-inline: 0; top: 100%; border-top-width: 1px; background: var(--secondary); }
.nav-mobile ul { padding-block: 0.25rem; padding-inline: 1rem; }
.nav-mobile a {
  display: block; padding-block: 0.75rem;
  border-bottom: 1px solid oklch(0.88 0.015 205 / 0.6);
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
}
.nav-mobile li:last-child a { border-bottom: 0; }

@media (min-width: 640px) {
  .header-bar { padding: 1rem 1.5rem; }
  .nav-mobile ul { padding-inline: 1.5rem; }
  .btn-rdv { padding-inline: 1rem; font-size: 0.875rem; line-height: 1.25rem; }
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .burger, .nav-mobile { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-desktop { gap: 1rem; font-size: 0.75rem; }
}
@media (min-width: 1024px) {
  .brand { gap: 0.75rem; }
  .brand-logo { height: 2.75rem; }
  .brand-name { font-size: 1.25rem; }
  .brand-sub { font-size: 10px; letter-spacing: 0.25em; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display); font-weight: 600;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border: 1px solid oklch(0.98 0.003 200 / 0.4); }
.btn-ghost:hover { background: oklch(0.98 0.003 200 / 0.1); }
/* Variante du bouton secondaire pour les fonds clairs */
.btn-outline { border: 1px solid var(--foreground); }
.btn-outline:hover { background: var(--foreground); color: var(--background); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-foreground); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  /* Mobile : le haut de la photo (visage) reste net, le texte repose sur la partie foncée */
  background: linear-gradient(to top, var(--accent), oklch(0.35 0.03 210 / 0.8) 50%, transparent 74%);
}
.hero-circle {
  /* Cercle décoratif rangé dans le coin pour ne jamais passer sur le visage */
  pointer-events: none; position: absolute; right: -6rem; top: -6rem;
  width: 12rem; height: 12rem; border-radius: 50%;
  border: 2px dashed oklch(0.55 0.05 205 / 0.4);
}
.hero-content { position: relative; padding-block: 6rem; }
/* Mobile : le texte commence sous le visage de la photo de fond */
@media (max-width: 767px) { .hero-content { padding-top: 16rem; } }
.hero h1 { margin-top: 1.5rem; font-size: 3rem; line-height: 1.05; font-weight: 800; }
.hero-text { margin-top: 1.5rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.75rem; opacity: 0.9; }
.hero-buttons { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 768px) {
  .hero-media { left: 50%; }
  /* Photo décalée vers la droite : le fondu ne couvre que la zone à gauche du visage */
  .hero-media img { left: 15%; object-position: 25% 22%; }
  .hero-media::after { background: linear-gradient(to right, var(--accent) 15%, oklch(0.35 0.03 210 / 0.6) 30%, transparent 46%); }
  .hero-content { padding-block: 9rem; }
  .hero h1 { font-size: 4.5rem; }
}

/* Services */
.services { padding-block: 6rem; }
/* Toutes les rangées prennent la hauteur de la plus haute : les 6 cartes ont la même hauteur */
.services-grid { margin-top: 3.5rem; display: grid; grid-auto-rows: 1fr; gap: 1.25rem; }
.service-card {
  position: relative; overflow: hidden; padding: 2rem;
  background: var(--primary); color: var(--primary-foreground);
  transition: background-color 0.15s;
}
.service-card { display: block; }
.service-card:hover, .service-card:focus-visible { background: var(--accent); }
.service-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.service-card::before {
  content: ""; position: absolute; right: -2.5rem; top: -2.5rem;
  width: 9rem; height: 9rem; border-radius: 50%;
  border: 2px dashed oklch(0.99 0.003 200 / 0.25);
}
.service-card .icon { width: 2.5rem; height: 2.5rem; stroke-width: 1.4; }
.service-card h3 { margin-top: 1.5rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
.service-card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Reels Instagram */
.reels { overflow: hidden; border-bottom-width: 1px; background: var(--secondary); padding-block: 4rem; }
.reels-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.h2-reels { font-size: 1.875rem; line-height: 2.25rem; }
.reels-handle { margin-top: 1rem; display: inline-block; font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.reels-handle:hover { color: var(--primary); }
.reels-controls { display: flex; align-items: center; gap: 0.5rem; }
.btn-icon {
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border-width: 1px; background: var(--background);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.btn-icon:hover { background: var(--secondary); }
.btn-icon .icon-play, .btn-icon.is-paused .icon-pause { display: none; }
.btn-icon.is-paused .icon-play { display: block; }
.reels-track {
  margin-top: 2.5rem; display: flex; gap: 1.25rem;
  overflow-x: auto; padding: 0 1.5rem 1rem;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reels-track::-webkit-scrollbar { display: none; }
.reels-group { display: flex; flex-shrink: 0; gap: 1.25rem; }
.reel-card {
  width: 240px; flex-shrink: 0; overflow: hidden;
  border-radius: 6px; background: var(--background);
  outline-offset: 4px;
}
.reel-thumb {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: linear-gradient(160deg, var(--primary), var(--accent));
}
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.reel-card:hover .reel-thumb img { transform: scale(1.05); }
.reel-play {
  position: absolute; left: 1rem; top: 1rem;
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: oklch(0.35 0.03 210 / 0.9); color: var(--accent-foreground);
}
.reel-play .icon { fill: currentColor; }
.reel-caption {
  display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 1rem;
}
.reel-caption h3 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; }
.reel-caption .icon { color: var(--primary); transition: transform 0.15s; }
.reel-card:hover .reel-caption .icon { transform: translateX(0.25rem); }
.reels-more { margin-top: 1.5rem; }
.reels-more a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: var(--accent);
  text-underline-offset: 4px;
}
.reels-more a:hover { text-decoration: underline; }
@media (min-width: 640px) { .reel-card { width: 280px; } }
@media (min-width: 768px) {
  .reels { padding-block: 5rem; }
  .h2-reels { font-size: 3rem; line-height: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reels-track *, .reels-track *::before, .reels-track *::after { transition: none; }
}

/* Bulles rapides */
.bubbles { border-bottom-width: 1px; background: var(--background); }
.bubbles-inner {
  max-width: 56rem; margin-inline: auto; padding: 3rem 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem;
}
.bubble { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; }
.bubble-circle {
  display: flex; align-items: center; justify-content: center;
  width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--primary); color: var(--primary-foreground);
  box-shadow: 0 0 0 2px var(--background), 0 0 0 6px var(--secondary);
  transition: background-color 0.15s;
}
.bubble:hover .bubble-circle { background: var(--accent); }
.bubble-circle .icon { width: 2rem; height: 2rem; stroke-width: 1.5; }

/* Qui suis-je */
.about { position: relative; background: var(--secondary); }
.about-grid { display: grid; padding-block: 2.5rem 5rem; }
/* Photo recadrée sans déformation ; elle se fond dans le fond de la section (bas sur mobile, droite sur desktop) */
.about-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; --fade: to bottom; --fade-start: 75%; --blur-start: 70%; }
.about-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
  -webkit-mask-image: linear-gradient(var(--fade), #000 var(--fade-start), transparent);
  mask-image: linear-gradient(var(--fade), #000 var(--fade-start), transparent);
}
.about-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(var(--fade), transparent var(--blur-start), #000);
  mask-image: linear-gradient(var(--fade), transparent var(--blur-start), #000);
}
.about-text h3 { margin-top: 2.5rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.025em; }
.diplomas { margin-top: 1rem; display: grid; gap: 0.75rem; }
.diplomas li { border-left: 4px solid var(--primary); padding-left: 1rem; font-weight: 500; }
.about-more { margin-top: 2rem; }
/* Desktop : photo sur toute la moitié gauche, collée aux bords, sur toute la hauteur de la section */
@media (min-width: 1024px) {
  .about-media { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; aspect-ratio: auto; --fade: to right; --fade-start: 90%; --blur-start: 85%; }
  .about-media img { object-position: 55% 50%; }
  .about-grid { grid-template-columns: 1fr 1fr; padding-block: 5rem; }
  .about-text { grid-column: 2; padding-left: 3rem; }
}

/* Cabinet */
.cabinet { position: relative; }
/* Mobile : photo pleine largeur au-dessus du texte, fondue dans le fond de la section */
.cabinet-media { position: relative; aspect-ratio: 3 / 2; }
.cabinet-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cabinet-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--background));
}
.cabinet-grid { display: grid; padding-block: 2.5rem 6rem; }
.address { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; }
/* Desktop : photo sur toute la moitié droite, collée aux bords, fondue sur son bord gauche vers le texte */
@media (min-width: 768px) {
  .cabinet-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; aspect-ratio: auto; }
  .cabinet-media::after { content: none; }
  .cabinet-media img {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
    mask-image: linear-gradient(to right, transparent, #000 22%);
  }
  .cabinet-grid { grid-template-columns: 1fr 1fr; padding-block: 6rem; }
  .cabinet-grid > div { padding-right: 3rem; }
}

/* Contact */
.contact { background: var(--accent); color: var(--accent-foreground); padding-block: 4rem; }
.contact-grid { display: grid; gap: 1.5rem; }
.contact-text { margin-top: 1.25rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.75rem; opacity: 0.85; }
.contact-info { margin-top: 1.75rem; display: grid; gap: 1rem; }
.contact-info > div { display: flex; gap: 1rem; }
.contact-info .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.25rem; }
.contact-info a:hover { text-decoration: underline; }
.contact-side { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-actions { display: flex; flex-direction: column; gap: 0.625rem; }
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 1.25rem; font-family: var(--font-display); font-weight: 600;
}
.cta > span { display: flex; align-items: center; gap: 0.75rem; }
/* Icônes alignées sur la hauteur du texte du bouton */
.cta .icon { width: 1.25em; height: 1.25em; }
.icon-brand { fill: currentColor; stroke: none; }
.cta .icon-sm { width: 1rem; height: 1rem; }
.cta-dabadoc { background: var(--primary); color: var(--primary-foreground); }
.cta-dabadoc:hover { opacity: 0.9; }
.cta-whatsapp { border: 1px solid oklch(0.98 0.003 200 / 0.4); }
.cta-whatsapp:hover { background: oklch(0.98 0.003 200 / 0.1); }

/* Carte : image statique, menu d'itinéraire au clic */
.map { position: relative; height: 9rem; }
.map .itin { position: absolute; inset: 0; }
.map summary { display: block; height: 100%; }
.map-canvas {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: var(--secondary); color: var(--accent);
}
/* Carte à l'échelle réelle, centrée sur le cabinet : le cadre en montre plus ou moins selon l'écran, les noms de rues restent lisibles */
.map-canvas img { position: absolute; left: 50%; top: 50%; width: 800px; height: 400px; max-width: none; transform: translate(-50%, -50%); }
.map-pin {
  position: absolute; left: 50%; top: 50%; width: 2rem; height: auto; transform: translate(-50%, -100%);
  fill: var(--primary); stroke: var(--primary-foreground); stroke-width: 1.5;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.35));
}
.map-pin circle { fill: var(--primary-foreground); stroke: none; }
.map-cta {
  position: absolute; left: 0.75rem; top: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem;
  background: var(--accent); color: var(--accent-foreground);
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 600;
}
.map summary:hover .map-cta { background: var(--primary); color: var(--primary-foreground); }
.map summary:focus-visible { outline: 2px solid var(--accent-foreground); outline-offset: 3px; }
.map .itin-menu { left: 0.75rem; top: 3.25rem; }
.map-credit {
  /* Zone tactile d'au moins 24 px de haut */
  position: absolute; right: 0; bottom: 0; padding: 0.25rem 0.5rem;
  background: oklch(0.99 0.003 200 / 0.85); color: var(--foreground); font-size: 0.75rem; line-height: 1rem;
}
@media (min-width: 768px) {
  .contact { padding-block: 5rem; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .map { height: auto; flex: 1; min-height: 11rem; }
}

/* Footer */
.site-footer { background: var(--secondary); color: var(--foreground); padding-block: 2.25rem 1rem; font-size: 0.875rem; line-height: 1.25rem; }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-brand { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 800; text-transform: uppercase; }
.footer-brand + p { margin-top: 0.25rem; }
.footer-title { margin-top: 0; font-size: 0.6875rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; }
.footer-links { margin-top: 0.5rem; display: grid; gap: 0.25rem; }
.footer-nav { grid-template-columns: repeat(2, max-content); column-gap: 1.5rem; }
.footer-inline { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.site-footer a, .site-footer summary { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--accent); text-decoration-color: currentColor; }
.footer-bottom {
  margin-top: 1.5rem; padding-top: 0.75rem; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.375rem 1.5rem; font-size: 0.75rem; line-height: 1.5rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 1rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1.3fr; gap: 2rem; } }

/* Menu d'itinéraire (carte et adresses) */
.itin { position: relative; }
.itin summary { cursor: pointer; list-style: none; }
.itin summary::-webkit-details-marker { display: none; }
.itin-label { text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.itin summary:hover .itin-label { text-decoration-style: solid; }
.itin-menu {
  position: absolute; left: 0; top: calc(100% + 0.375rem); z-index: 5; min-width: 12rem;
  background: var(--background); color: var(--foreground);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.25); font-size: 0.875rem; line-height: 1.25rem;
}
.itin-up .itin-menu { top: auto; bottom: calc(100% + 0.375rem); }
.itin-menu a { display: block; padding: 0.625rem 1rem; font-family: var(--font-display); font-weight: 600; text-decoration: none !important; }
.itin-menu a:hover, .itin-menu a:focus-visible { background: var(--secondary); color: var(--foreground) !important; }
.itin-menu li + li { border-top: 1px solid var(--border); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Page 404 */
.not-found { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; padding: 1.5rem; text-align: center; }
.not-found h1 { font-size: 4.5rem; line-height: 1; font-weight: 800; }
.not-found h2, .not-found .lead { margin-top: 0; }

/* Pages services */
.page-hero { background: var(--accent); color: var(--accent-foreground); padding-block: 3rem 4rem; }
.breadcrumb ol { list-style: none; font-size: 0.875rem; line-height: 1.5rem; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: "›"; margin-inline: 0.5rem; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { text-decoration: none; }
.page-hero h1 { margin-top: 2rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; }
.page-intro { margin-top: 1.25rem; max-width: 40rem; font-size: 1.125rem; line-height: 1.75rem; }
.page-body { padding-block: 4rem; display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
  .page-hero { padding-block: 4rem 5rem; }
  .page-hero h1 { font-size: 3rem; line-height: 1.1; }
}

/* Page À propos */
.bio-back { position: absolute; top: 1rem; left: 1rem; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: oklch(0.99 0.003 200 / 0.85); color: var(--foreground); }
.bio-back:hover { background: var(--primary); color: var(--primary-foreground); }
.bio-back .icon { width: 1.25rem; height: 1.25rem; }
.bio-hero .about-grid { padding-block: 2rem 3rem; }
.bio-intro h1 { font-size: 2rem; line-height: 2.375rem; font-weight: 800; }
.bio-sub { margin-top: 1rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; color: var(--primary); }
.bio-intro p:not(.bio-sub), .bio p { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.8; }
.bio { max-width: calc(33em + 3rem); padding-block: 3rem 5rem; font-size: 1.125rem; }
.bio h2 { margin-top: 3rem; font-size: 1.5rem; line-height: 2rem; }
.bio h2:first-child { margin-top: 0; }
.bio-hook, .bio-closing { border-left: 4px solid var(--primary); padding-left: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem !important; line-height: 1.5 !important; }
.bio-closing { margin-top: 3rem !important; color: var(--primary); }
@media (min-width: 768px) {
  .bio-intro h1 { font-size: 2.5rem; line-height: 1.15; }
  .bio h2 { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (min-width: 1024px) {
  .bio-hero .about-grid { padding-block: 4rem; }
}

/* Pages services : listes et étapes */
.bio h3 { margin-top: 2rem; font-size: 1.125rem; line-height: 1.6; font-weight: 700; }
.svc-list, .svc-steps { margin-top: 1.25rem; display: grid; gap: 0.75rem; list-style: none; }
.svc-list li { border-left: 4px solid var(--primary); padding-left: 1rem; line-height: 1.7; }
.svc-list-desc span, .svc-steps span { display: block; margin-top: 0.25rem; color: var(--muted-foreground); }
.svc-steps { counter-reset: step; gap: 1.25rem; }
.svc-steps li { counter-increment: step; position: relative; padding-left: 3.25rem; line-height: 1.7; }
.svc-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: var(--primary); color: var(--primary-foreground); font-family: var(--font-display); font-weight: 700; }

/* Pages légales */
.legal { max-width: 48rem; font-size: 1rem; line-height: 1.7; }
.legal h2 { margin-top: 2.25rem; font-size: 1.375rem; line-height: 1.875rem; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin-top: 0.75rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.375rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--primary); }
.legal-date { margin-top: 2.5rem !important; font-size: 0.875rem; color: var(--muted-foreground); }
