/* ==========================================================
   Forcos Prod — habillage Joomla (Cassiopeia)
   Source : design system Forcos Prod (tokens + composants fp-)
   ========================================================== */
/* Polices hébergées sur le serveur (sous-ensemble latin, accents français inclus) */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../bebas-neue-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: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../inter-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: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../jetbrains-mono-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 {
  --noir-studio: #121212; --blanc-casse: #F4F1EC; --rouge-rec: #E63B2E;
  --ambre-golden-hour: #E9A23B; --gris-pellicule: #8A8A8A;
  --surface: #F4F1EC; --surface-raised: #FBF9F6; --surface-sunken: #EAE6DF;
  --surface-inverse: #121212; --ink: #121212; --ink-muted: #5C5C5C; --ink-inverse: #F4F1EC;
  --line: #D9D4CC; --line-strong: #8A8A8A; --rec: #E63B2E; --rec-strong: #C42D21;
  --rec-text: #B8281D; --on-rec: #FFFFFF; --amber: #E9A23B; --amber-text: #8A5608;
  --on-photo: #FFFFFF; --scrim: rgba(0,0,0,.55); --focus-ring: #E63B2E;
  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --space-4: 4px; --space-8: 8px; --space-16: 16px; --space-24: 24px; --space-32: 32px;
  --space-48: 48px; --space-64: 64px; --space-96: 96px;
  --radius-0: 0; --radius-2: 2px; --radius-4: 4px;
  --stroke-frame: 2px; --viewfinder-arm: 16px; --rec-dot: 8px;
  --container-max: 1312px;
  --duration-fast: 160ms; --duration-fade: 400ms; --duration-wipe: 700ms; --duration-zoom: 1200ms;
  --ease-cinema: cubic-bezier(.65,0,.35,1); --ease-out: cubic-bezier(.22,1,.36,1);
  --grain-opacity: .06;
  /* Variables Cassiopeia / Bootstrap */
  --cassiopeia-color-primary: #121212; --cassiopeia-color-link: #121212; --cassiopeia-color-hover: #E63B2E;
  --link-color: #121212; --link-hover-color: #C42D21;
  --body-bg: #F4F1EC; --body-color: #121212; --body-font-family: var(--font-sans);
  --template-bg-light: #EAE6DF; --template-text-dark: #121212; --template-special-color: #121212;
  --fp-logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 666.9 120' width='666.9' height='120'%3E%3Cpath d='M3.6 32.4V3.6H32.4M87.6 3.6H116.4V32.4M116.4 87.6V116.4H87.6M32.4 116.4H3.6V87.6' fill='none' stroke='%23000' stroke-width='7.2' stroke-linecap='square'/%3E%3Cpath d='M48.5 32.4H71.5V40.3H57.2V55.7H68.4V63.5H57.2V87.6H48.5Z' fill='%23000' stroke='%23000' stroke-width='2.6' stroke-linejoin='miter'/%3E%3Cpath d='M155.5 30H180.5V38.6H164.9V55.3H177.1V63.9H164.9V90H155.5ZM185.2 75.8V44.2Q185.2 37 188.9 33.1Q192.5 29.1 199.5 29.1Q206.4 29.1 210.1 33.1Q213.8 37 213.8 44.2V75.8Q213.8 83 210.1 86.9Q206.4 90.9 199.5 90.9Q192.5 90.9 188.9 86.9Q185.2 83 185.2 75.8ZM204.4 76.4V43.6Q204.4 37.7 199.5 37.7Q194.6 37.7 194.6 43.6V76.4Q194.6 82.3 199.5 82.3Q204.4 82.3 204.4 76.4ZM221 30H235Q242.3 30 245.6 33.4Q248.9 36.8 248.9 43.8V47.5Q248.9 56.8 242.8 59.3V59.5Q246.2 60.5 247.6 63.7Q249 66.9 249 72.2V82.7Q249 85.3 249.2 86.9Q249.4 88.5 250.1 90H240.5Q239.9 88.5 239.8 87.3Q239.6 86 239.6 82.6V71.7Q239.6 67.5 238.3 65.9Q236.9 64.3 233.7 64.3H230.4V90H221ZM233.9 55.7Q236.7 55.7 238.1 54.3Q239.5 52.8 239.5 49.4V44.7Q239.5 41.5 238.4 40Q237.2 38.6 234.7 38.6H230.4V55.7ZM255.8 76.1V43.9Q255.8 36.9 259.4 33Q262.9 29.1 269.7 29.1Q276.5 29.1 280 33Q283.6 36.9 283.6 43.9V50.2H274.7V43.3Q274.7 37.7 269.9 37.7Q265.2 37.7 265.2 43.3V76.8Q265.2 82.3 269.9 82.3Q274.7 82.3 274.7 76.8V67.6H283.6V76.1Q283.6 83.1 280 87Q276.5 90.9 269.7 90.9Q262.9 90.9 259.4 87Q255.8 83.1 255.8 76.1ZM289.4 75.8V44.2Q289.4 37 293.1 33.1Q296.8 29.1 303.7 29.1Q310.7 29.1 314.3 33.1Q318 37 318 44.2V75.8Q318 83 314.3 86.9Q310.7 90.9 303.7 90.9Q296.8 90.9 293.1 86.9Q289.4 83 289.4 75.8ZM308.6 76.4V43.6Q308.6 37.7 303.7 37.7Q298.8 37.7 298.8 43.6V76.4Q298.8 82.3 303.7 82.3Q308.6 82.3 308.6 76.4ZM323.6 75.8V72.3H332.5V76.5Q332.5 82.3 337.4 82.3Q339.8 82.3 341 80.9Q342.3 79.5 342.3 76.3Q342.3 72.5 340.6 69.6Q338.9 66.8 334.2 62.7Q328.4 57.6 326.1 53.4Q323.8 49.3 323.8 44.1Q323.8 36.9 327.4 33Q331 29.1 337.8 29.1Q344.6 29.1 348.1 33Q351.5 36.9 351.5 44.2V46.7H342.6V43.6Q342.6 40.5 341.4 39.1Q340.2 37.7 337.9 37.7Q333.2 37.7 333.2 43.5Q333.2 46.7 335 49.5Q336.7 52.4 341.3 56.4Q347.3 61.5 349.5 65.7Q351.7 69.9 351.7 75.6Q351.7 83 348.1 86.9Q344.4 90.9 337.5 90.9Q330.6 90.9 327.1 87Q323.6 83.1 323.6 75.8Z' fill='%23000' stroke='%23000' stroke-width='2.7' stroke-linejoin='miter'/%3E%3Cpath d='M386.7 90V30H406.3Q412.7 30 417 32.5Q421.3 34.9 423.5 39.1Q425.7 43.3 425.7 48.6Q425.7 53.8 423.5 58.1Q421.3 62.3 417 64.8Q412.7 67.2 406.3 67.2H392.5V90ZM392.5 62.1H406.1Q410.8 62.1 413.9 60.3Q416.9 58.6 418.5 55.5Q420 52.5 420 48.6Q420 44.7 418.5 41.6Q416.9 38.6 413.8 36.8Q410.7 35.1 406.1 35.1H392.5ZM458.3 90V30H477.9Q484.2 30 488.6 32.3Q492.9 34.6 495.1 38.7Q497.3 42.8 497.3 48.1Q497.3 53.3 495.1 57.3Q492.9 61.4 488.6 63.6Q487.4 64.3 486 64.7L499.8 90H493.1L480.1 65.8Q479.1 65.9 477.9 65.9H464V90ZM464 60.7H477.7Q482.4 60.7 485.4 59.2Q488.5 57.6 490 54.7Q491.6 51.9 491.6 48.1Q491.6 44.1 490 41.2Q488.5 38.3 485.4 36.7Q482.3 35.1 477.6 35.1H464ZM553.8 90.8Q546.2 90.8 540.3 87Q534.4 83.2 531.1 76.3Q527.8 69.4 527.8 60Q527.8 50.6 531.1 43.7Q534.4 36.8 540.3 33Q546.2 29.2 553.8 29.2Q561.4 29.2 567.3 33Q573.1 36.8 576.5 43.7Q579.8 50.6 579.8 60Q579.8 69.4 576.5 76.3Q573.1 83.3 567.3 87Q561.4 90.8 553.8 90.8ZM553.8 85.4Q559.7 85.4 564.3 82.4Q568.9 79.4 571.6 73.7Q574.2 68 574.2 60Q574.2 52 571.6 46.3Q568.9 40.6 564.3 37.6Q559.7 34.5 553.8 34.5Q547.9 34.5 543.3 37.6Q538.7 40.6 536 46.3Q533.3 52 533.3 60Q533.3 68 536 73.7Q538.7 79.4 543.3 82.4Q547.9 85.4 553.8 85.4ZM630.5 90H612.8V30H631.6Q640.2 30 646.3 33.6Q652.4 37.2 655.6 43.8Q658.9 50.5 658.9 59.8Q658.9 69.3 655.6 76Q652.3 82.8 645.9 86.4Q639.6 90 630.5 90ZM618.5 84.9H630.2Q637.9 84.9 643 81.9Q648.2 78.9 650.7 73.3Q653.3 67.6 653.3 59.8Q653.3 52.1 650.8 46.6Q648.3 41.1 643.4 38.1Q638.4 35.1 631.2 35.1H618.5Z' fill='%23000'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
body.site {
  background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-color: var(--rec); text-underline-offset: 4px; }
a:hover { color: var(--ink); text-decoration-color: var(--rec); }
:focus-visible { outline: var(--stroke-frame) solid var(--focus-ring) !important; outline-offset: 2px; box-shadow: none !important; }
::selection { background: var(--amber); color: var(--noir-studio); }

h1, h2, h3, h4, .h1, .h2, .h3, .h4, .page-header h1, .page-header h2, .item-title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--ink);
}
h1, .h1 { font-size: 72px; line-height: 68px; letter-spacing: .01em; margin-bottom: var(--space-24); }
h2, .h2 { font-size: 56px; line-height: 54px; letter-spacing: .01em; margin: var(--space-64) 0 var(--space-24); }
h3, .h3 { font-size: 40px; line-height: 40px; letter-spacing: .015em; margin: var(--space-48) 0 var(--space-16); }
h4, .h4 { font-size: 28px; line-height: 30px; letter-spacing: .02em; margin: var(--space-32) 0 var(--space-8); }
h5 { font: 600 20px/28px var(--font-sans); letter-spacing: -.01em; }
h6 { font: 600 14px/20px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 767px) {
  h1, .h1 { font-size: 48px; line-height: 46px; }
  h2, .h2 { font-size: 40px; line-height: 40px; }
  h3, .h3 { font-size: 32px; line-height: 32px; }
}
p, li { max-width: 72ch; }
hr { border-color: var(--line); opacity: 1; }

/* Utilitaires de contenu */
.fp-surtitre { display: block; font: 600 14px/20px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: var(--space-8); }
.fp-lead { font: 300 20px/32px var(--font-sans); max-width: 60ch; }
.fp-mono, .fp-tc { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.fp-tc { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; color: var(--ink-muted); }
.fp-muted { color: var(--ink-muted); }
.fp-section { padding: var(--space-64) 0; border-top: 1px solid var(--line); }
.fp-section:first-child { border-top: 0; padding-top: 0; }

/* ---------- Grille Cassiopeia ---------- */
.site-grid { grid-template-columns: [full-start] minmax(0,1fr) [main-start] repeat(4, minmax(0, calc(var(--container-max) / 4))) [main-end] minmax(0,1fr) [full-end]; }
.container-component, .container-main { padding-top: var(--space-48); padding-bottom: var(--space-96); }
.mod-breadcrumbs__wrapper { display: none; }

/* ---------- En-tête & navigation ---------- */
.container-header {
  background: var(--surface) !important; background-image: none !important;
  box-shadow: none; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0 var(--space-32); padding: 0 var(--space-32); min-height: 72px;
}
.container-header > .grid-child { max-width: none; width: auto; margin: 0; padding: 0; }
.container-header > .container-topbar, .container-header > .container-below-top { width: 100%; }
.container-header .navbar-brand { padding: var(--space-16) 0; margin: 0; }
.container-header .brand-logo { display: block; width: 178px; height: 32px; color: var(--ink); }
.container-header .brand-logo span, .container-header .brand-logo img {
  display: block; width: 178px; height: 32px; overflow: hidden; text-indent: -9999px; white-space: nowrap;
  background: var(--ink); -webkit-mask: var(--fp-logo) left center / contain no-repeat; mask: var(--fp-logo) left center / contain no-repeat;
}
.container-header .site-description { display: none; }
.container-header .container-nav { display: flex; align-items: center; gap: var(--space-24); padding: 0; }
.container-header .navbar { padding: 0; }
.container-header .mod-menu, .container-header .metismenu.mod-menu { display: flex; flex-wrap: wrap; gap: var(--space-32); margin: 0; padding: 0; list-style: none; }
.container-header .mod-menu > li { margin: 0; padding: 0; }
.container-header .mod-menu > li > a, .container-header .mod-menu > li > span,
.container-header .metismenu > li > a, .container-header .metismenu > li > button {
  position: relative; display: block; padding: var(--space-8) 0; white-space: nowrap;
  font: 600 15px/20px var(--font-sans); letter-spacing: .01em; color: var(--ink) !important; text-decoration: none; opacity: 1;
}
.container-header .mod-menu > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--stroke-frame);
  background: var(--rec); transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-fade) var(--ease-cinema);
}
.container-header .mod-menu > li > a:hover::after,
.container-header .mod-menu > li.active > a::after,
.container-header .mod-menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
.container-header .mod-menu > li > a:hover { background: none; }
/* Bouton devis dans le menu */
.container-header .mod-menu > li.fp-cta > a, .container-header .mod-menu > li > a.fp-cta {
  background: var(--surface-inverse); color: var(--ink-inverse) !important;
  min-height: 40px; display: inline-flex; align-items: center; padding: 0 var(--space-16); font-size: 14px;
  transition: background-color var(--duration-fast) var(--ease-cinema);
}
.container-header .mod-menu > li.fp-cta > a::after, .container-header .mod-menu > li > a.fp-cta::after { display: none; }
.container-header .mod-menu > li.fp-cta > a:hover, .container-header .mod-menu > li > a.fp-cta:hover { background: var(--rec-strong); color: var(--on-rec) !important; }
.container-header .navbar-toggler { border: 1px solid var(--line-strong); border-radius: 0; color: var(--ink); padding: var(--space-8); }
.container-header .navbar-toggler .icon-menu { color: var(--ink); }
@media (max-width: 767.98px) {
  .container-header { padding: var(--space-8) var(--space-16); }
  .container-header .container-nav { width: 100%; }
  .container-header .navbar { width: 100%; justify-content: flex-end; }
  .container-header .navbar-collapse { width: 100%; }
  .container-header .mod-menu { flex-direction: column; gap: 0; padding: var(--space-16) 0; }
  .container-header .mod-menu > li > a { padding: var(--space-16) 0; border-bottom: 1px solid var(--line); }
  .container-header .mod-menu > li.fp-cta { margin-top: var(--space-16); }
}
.header.sticky-top, .container-header.position-sticky { z-index: 1020; }

/* ---------- Boutons ---------- */
.btn, .fp-btn, button.validate, .contact-form .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  min-height: 48px; padding: 0 var(--space-24);
  font: 600 15px/20px var(--font-sans); letter-spacing: .01em;
  border: var(--stroke-frame) solid transparent; border-radius: var(--radius-0);
  text-decoration: none; box-shadow: none;
  transition: background-color var(--duration-fast) var(--ease-cinema), color var(--duration-fast) var(--ease-cinema), border-color var(--duration-fast) var(--ease-cinema);
}
.btn-primary, .fp-btn--primary, button.validate {
  background: var(--surface-inverse); color: var(--ink-inverse); border-color: var(--surface-inverse);
}
.btn-primary:hover, .btn-primary:focus, .fp-btn--primary:hover, button.validate:hover {
  background: var(--rec-strong); color: var(--on-rec); border-color: var(--rec-strong);
}
.btn-secondary, .fp-btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover, .fp-btn--secondary:hover { background: var(--surface-raised); color: var(--ink); border-color: var(--rec); }
.fp-btn--link { min-height: 0; padding: 2px 0; color: var(--ink); border: 0; border-bottom: var(--stroke-frame) solid var(--ink); }
.fp-btn--link:hover { border-bottom-color: var(--rec); }
.fp-actions { display: flex; flex-wrap: wrap; gap: var(--space-16); align-items: center; margin-top: var(--space-32); }

/* ---------- Statut REC ---------- */
.fp-status {
  display: inline-flex; align-items: center; gap: var(--space-8);
  font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.fp-status::before { content: ""; width: var(--rec-dot); height: var(--rec-dot); border-radius: 50%; background: var(--rec); flex: none; }
.fp-status--live { color: var(--rec-text); }
.fp-status--live::before { animation: fp-blink 1.6s steps(1, end) infinite; }
@keyframes fp-blink { 50% { opacity: 0; } }

/* ---------- Badges ---------- */
.fp-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px var(--space-8);
  border: 1px solid var(--line-strong); border-radius: var(--radius-2);
  font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.fp-badge--solid { background: var(--surface-inverse); color: var(--ink-inverse); border-color: var(--surface-inverse); }

/* ---------- Héros cinéma ---------- */
.fp-hero { position: relative; margin: 0 0 var(--space-64); }
.fp-hero h1 { font-size: clamp(56px, 10vw, 120px); line-height: .87; letter-spacing: .01em; margin: var(--space-16) 0 var(--space-24); }
.fp-letterbox { position: relative; aspect-ratio: 2.39 / 1; background: var(--letterbox, #000); overflow: hidden; margin: var(--space-48) 0; }
.fp-letterbox img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Plaques d'image (à remplacer par les vraies photos) ---------- */
.fp-plate { position: relative; overflow: hidden; background: #1a1a1a; color: var(--on-photo); }
.fp-plate img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-zoom) var(--ease-out); }
.fp-plate--dusk { background: radial-gradient(120% 90% at 78% 70%, #E9A23B 0%, #9b5a1e 22%, #3a2418 48%, #121212 78%); }
.fp-plate--studio { background: radial-gradient(70% 80% at 35% 40%, #5a5a5a 0%, #2a2a2a 45%, #0d0d0d 100%); }
.fp-plate--stage { background: radial-gradient(40% 70% at 50% 0%, #f4f1ec 0%, #8a8a8a 18%, #2a2a2a 50%, #0a0a0a 100%); }
.fp-plate--warm { background: linear-gradient(160deg, #d9c7aa 0%, #a07e58 40%, #3b2c20 100%); }
.fp-plate--night { background: radial-gradient(60% 60% at 70% 30%, #E63B2E 0%, #5a1712 30%, #121212 75%); }
.fp-plate .fp-tc { position: absolute; right: var(--space-24); bottom: var(--space-24); color: var(--on-photo); text-shadow: 0 1px 2px rgba(0,0,0,.5); z-index: 4; }

/* Coins de viseur */
.fp-vf { position: relative; --vf-color: var(--ink); --vf-arm: var(--viewfinder-arm); --vf-w: var(--stroke-frame); --vf-inset: 0px; }
.fp-vf::before {
  content: ""; position: absolute; inset: var(--vf-inset); z-index: 3; pointer-events: none;
  background:
    linear-gradient(var(--vf-color), var(--vf-color)) left top / var(--vf-arm) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) left top / var(--vf-w) var(--vf-arm),
    linear-gradient(var(--vf-color), var(--vf-color)) right top / var(--vf-arm) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) right top / var(--vf-w) var(--vf-arm),
    linear-gradient(var(--vf-color), var(--vf-color)) left bottom / var(--vf-arm) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) left bottom / var(--vf-w) var(--vf-arm),
    linear-gradient(var(--vf-color), var(--vf-color)) right bottom / var(--vf-arm) var(--vf-w),
    linear-gradient(var(--vf-color), var(--vf-color)) right bottom / var(--vf-w) var(--vf-arm);
  background-repeat: no-repeat;
  transition: opacity var(--duration-fade) var(--ease-cinema), inset var(--duration-fade) var(--ease-cinema);
}
.fp-vf--photo { --vf-color: var(--on-photo); --vf-inset: var(--space-16); }

/* ---------- Cartes (métiers, portfolio) ---------- */
.fp-grid { display: grid; gap: var(--space-24); grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-32) 0; }
.fp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) { .fp-grid, .fp-grid--2 { grid-template-columns: 1fr; } }
.fp-card { display: block; color: inherit; text-decoration: none; }
.fp-card .fp-plate { aspect-ratio: 4 / 5; }
.fp-card--wide .fp-plate { aspect-ratio: 16 / 9; }
.fp-card .fp-vf::before { opacity: 0; inset: var(--space-24); }
.fp-card:hover .fp-vf::before { opacity: 1; inset: var(--space-16); }
.fp-card:hover .fp-plate img { transform: scale(1.04); }
.fp-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-16); margin-top: var(--space-16); }
.fp-card-cat { font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.fp-card-title { margin: var(--space-4) 0 var(--space-8); font: 400 28px/30px var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.fp-card p { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
a.fp-card:hover .fp-card-title { text-decoration: underline; text-decoration-color: var(--rec); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Listes « ce que je fais » ---------- */
.fp-list { list-style: none; padding: 0; margin: var(--space-24) 0; border-top: 1px solid var(--line-strong); }
.fp-list li { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-16); padding: var(--space-16) 0; border-bottom: 1px solid var(--line); max-width: none; }
.fp-list li > span:first-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-muted); padding-top: 3px; }
.fp-list strong { font-weight: 600; }

/* ---------- Chiffres clés ---------- */
.fp-figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); margin: var(--space-48) 0; }
.fp-figure { padding: var(--space-24) var(--space-24) var(--space-24) 0; }
.fp-figure + .fp-figure { padding-left: var(--space-24); border-left: 1px solid var(--line); }
.fp-figure-num { font: 400 72px/68px var(--font-display); letter-spacing: .01em; color: var(--ink); }
.fp-figure-label { margin-top: var(--space-8); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
@media (max-width: 767px) { .fp-figures { grid-template-columns: repeat(2, 1fr); } .fp-figure:nth-child(3) { padding-left: 0; border-left: 0; } }

/* ---------- Bandeau inversé / témoignage ---------- */
.fp-band { background: var(--surface-inverse); color: var(--ink-inverse); padding: var(--space-64) var(--space-48); margin: var(--space-64) 0; }
.fp-band h2, .fp-band h3, .fp-band a { color: var(--ink-inverse); }
.fp-band .fp-surtitre { color: var(--gris-pellicule); }
.fp-band .fp-btn--primary { background: var(--blanc-casse); color: var(--noir-studio); border-color: var(--blanc-casse); }
.fp-band .fp-btn--primary:hover { background: var(--rec-strong); color: var(--on-rec); border-color: var(--rec-strong); }
.fp-quote-text { margin: 0; font: 300 28px/40px var(--font-sans); letter-spacing: -.01em; max-width: 32ch; }
.fp-quote-text::before { content: "« "; color: var(--rec); }
.fp-quote-text::after { content: " »"; color: var(--rec); }
@media (max-width: 767px) { .fp-band { padding: var(--space-48) var(--space-24); } }

/* ---------- Articles & pages ---------- */
.com-content-article .page-header h1, .com-content-article .page-header h2 { font-size: 72px; line-height: 68px; }
.article-info, .com-content-article .article-info { display: none; }
.readmore .btn { background: transparent; border: 0; border-bottom: var(--stroke-frame) solid var(--ink); padding: 2px 0; min-height: 0; color: var(--ink); }
.card, .sidebar-right.card, .sidebar-left.card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.card-header { background: none; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Formulaires (contact) ---------- */
.form-control, .form-select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  min-height: 48px; padding: 12px var(--space-16); font: 400 16px/22px var(--font-sans); color: var(--ink);
  background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-4); box-shadow: none;
}
textarea.form-control { min-height: 160px; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--surface-raised); }
.control-label label, .form-label, .contact-form label {
  font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.invalid, .form-control-feedback, .invalid-feedback { color: var(--rec-text); }
.contact .contact-miscinfo, .contact .contact-address { font-size: 14px; }
.com-contact .contact-image { display: none; }
.com-contact__container .accordion, .com-contact .accordion-button { border-radius: 0; }

/* ---------- Pied de page ---------- */
.container-footer, footer.footer {
  background: var(--surface-inverse) !important; background-image: none !important; color: var(--ink-inverse);
  position: relative; isolation: isolate; margin-top: 0;
}
.container-footer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='2.6 0 0 0 -.8  2.6 0 0 0 -.8  2.6 0 0 0 -.8  0 0 0 0 1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.container-footer .grid-child { display: block; max-width: var(--container-max); padding: var(--space-64) var(--space-32) var(--space-24); }
.container-footer a { color: inherit; text-decoration: none; }
.container-footer a:hover { color: inherit; text-decoration: underline; text-decoration-color: var(--rec); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.fp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-24); }
.fp-footer-logo { display: block; width: 222px; height: 40px; background: var(--ink-inverse); -webkit-mask: var(--fp-logo) left center / contain no-repeat; mask: var(--fp-logo) left center / contain no-repeat; text-indent: -9999px; overflow: hidden; }
.fp-footer-signature { margin: var(--space-16) 0 0; font: 400 28px/30px var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.fp-footer-h { margin: 0 0 var(--space-16); font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.container-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-8); font-size: 14px; line-height: 22px; }
.fp-footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-16); margin-top: var(--space-48); padding-top: var(--space-16); border-top: 1px solid rgba(138,138,138,.4); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; opacity: .8; text-transform: uppercase; }
@media (max-width: 899px) { .fp-footer-grid { grid-template-columns: 1fr 1fr; } .fp-footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 599px) { .fp-footer-grid { grid-template-columns: 1fr; } .container-footer .grid-child { padding: var(--space-48) var(--space-16) var(--space-24); } }

.back-to-top-link { background: var(--surface-inverse); color: var(--ink-inverse); border-radius: 0; }
.back-to-top-link:hover { background: var(--rec-strong); color: var(--on-rec); }

/* ---------- Animations ---------- */
.fp-fade-in { animation: fp-fade var(--duration-fade) var(--ease-cinema) both; }
.fp-wipe-in { animation: fp-wipe var(--duration-wipe) var(--ease-cinema) both; }
@keyframes fp-fade { from { opacity: 0; } }
@keyframes fp-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Ajustements ---------- */
.fp-letterbox > .fp-plate { position: absolute; inset: 0; }
.fp-band .fp-btn--link { color: var(--ink-inverse); border-bottom-color: var(--ink-inverse); }
.fp-band .fp-btn--link:hover { border-bottom-color: var(--rec); }
.fp-grid .fp-band { margin: 0; padding: var(--space-48) var(--space-32); }
.fp-band .fp-list { border-top-color: rgba(138,138,138,.6); }
.fp-band .fp-list li { border-bottom-color: rgba(138,138,138,.35); }
.fp-band .fp-list li > span:first-child { color: var(--gris-pellicule); }
.fp-hero p:first-child { margin-bottom: 0; }
.fp-card .fp-plate:not(:has(img)) { min-height: 1px; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .container-header .mod-menu { gap: var(--space-16); }
  .container-header { padding: 0 var(--space-24); }
}
@media (max-width: 767.98px) {
  .container-header > .grid-child:not(.container-nav) { flex: 1; }
  .container-header .container-nav { width: auto; flex: 0 0 auto; }
  .container-header .navbar { width: auto; }
  .container-header .navbar-collapse { flex-basis: 100%; }
  .container-header .container-nav:has(.navbar-collapse.show), .container-header .container-nav:has(.navbar-collapse.collapsing) { width: 100%; }
}
@media (min-width: 768px) {
  .container-header .mod-menu { flex-direction: row; align-items: center; flex-wrap: nowrap; }
  .container-header .navbar-collapse { display: flex !important; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .container-header { justify-content: center; padding-bottom: var(--space-8); }
  .container-header > .grid-child:not(.container-nav) { width: 100%; display: flex; justify-content: center; }
}

/* ---------- Photos réelles ---------- */
.fp-plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-plate > .fp-tc { z-index: 4; }
.fp-letterbox > img { position: absolute; inset: 0; }
.fp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); margin: var(--space-24) 0 var(--space-64); }
.fp-gallery figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 2; background: #1a1a1a; }
.fp-gallery figure.fp-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.fp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-zoom) var(--ease-out); }
.fp-gallery figure:hover img { transform: scale(1.04); }
.fp-project-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-8) var(--space-24); border-top: 1px solid var(--line-strong); padding-top: var(--space-16); margin-top: var(--space-48); }
.fp-project-head h2 { margin: 0; font-size: 40px; line-height: 40px; }
.fp-project-desc { color: var(--ink-muted); margin: var(--space-8) 0 0; }
@media (max-width: 899px) { .fp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .fp-gallery { grid-template-columns: 1fr; } .fp-gallery figure.fp-big { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; } }
.fp-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 599px) { .fp-gallery--2 { grid-template-columns: 1fr; } }
.fp-card .fp-plate > img { object-position: 50% 35%; }
@media (max-width: 899px) { .fp-card .fp-plate { aspect-ratio: 3 / 2; } }

/* ---------- Vidéos ---------- */
.fp-video { position: relative; aspect-ratio: 16 / 9; background: var(--letterbox, #000); overflow: hidden; }
.fp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.fp-video-feature { margin: var(--space-48) 0; }
.fp-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-48) var(--space-24); margin: var(--space-32) 0 var(--space-64); }
.fp-videos--tight { gap: var(--space-8); margin: var(--space-24) 0 var(--space-48); }
.fp-video-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-16); margin-top: var(--space-16); }
.fp-video-title { margin: var(--space-4) 0 var(--space-8); font: 400 28px/30px var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.fp-videos p { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
@media (max-width: 767px) { .fp-videos { grid-template-columns: 1fr; } }
.fp-gallery figure.fp-tall { grid-row: span 2; aspect-ratio: auto; }
.fp-gallery figure.fp-span2 { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 599px) { .fp-gallery figure.fp-tall { grid-row: auto; aspect-ratio: 3 / 4; } .fp-gallery figure.fp-span2 { grid-column: auto; aspect-ratio: 3 / 2; } }
.fp-part { margin-top: var(--space-96); }
.fp-gallery figure.fp-portrait { aspect-ratio: 9 / 16; }
.fp-project-head h3 { margin: 0; font-size: 40px; line-height: 40px; }
.fp-part { scroll-margin-top: 96px; }
@media (max-width: 599px) { .fp-gallery--portraits { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.fp-gallery.fp-gallery--portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fp-gallery--mixte figure.fp-tall { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
.fp-gallery--mixte figure.fp-wide2 { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (max-width: 899px) { .fp-gallery--mixte { grid-template-columns: 1fr 2fr; } .fp-gallery--mixte figure.fp-wide2 { grid-column: 2; } }
@media (max-width: 599px) { .fp-gallery--mixte { grid-template-columns: 1fr; } .fp-gallery--mixte figure.fp-tall { grid-column: auto; grid-row: auto; aspect-ratio: 9 / 16; } .fp-gallery--mixte figure.fp-wide2 { grid-column: auto; } }

/* ---------- Grain argentique sur les fonds (composant Grain) ---------- */
:root { --fp-grain-light: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='2.6 0 0 0 -.8  2.6 0 0 0 -.8  2.6 0 0 0 -.8  0 0 0 0 1'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.04'/></svg>"); }
body.site { background-color: var(--surface); background-image: var(--fp-grain-light); background-repeat: repeat; }
.container-header { background-color: var(--surface) !important; background-image: var(--fp-grain-light) !important; }
.fp-band { position: relative; isolation: isolate; }
.fp-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='2.6 0 0 0 -.8  2.6 0 0 0 -.8  2.6 0 0 0 -.8  0 0 0 0 1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Fonds texturés (composant Textures) : remplacent le grain CSS ---------- */
:root { --fp-tex-clair: url("/images/forcos/forcos-fond-clair-1600.webp"); --fp-tex-sombre: url("/images/forcos/forcos-fond-sombre-1600.webp"); --fp-tex-golden: url("/images/forcos/forcos-fond-golden-1600.webp"); }
body.site { background: var(--blanc-casse); position: relative; isolation: isolate; }
body.site::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--blanc-casse) var(--fp-tex-clair) center / cover no-repeat; }
.container-header { background: var(--blanc-casse) var(--fp-tex-clair) center top / cover no-repeat !important; }
.fp-band { background: var(--noir-studio) var(--fp-tex-sombre) center / cover no-repeat; }
.fp-band--golden { background: var(--noir-studio) var(--fp-tex-golden) right bottom / cover no-repeat; }
.container-footer, footer.footer { background: var(--noir-studio) var(--fp-tex-sombre) center / cover no-repeat !important; }
.fp-band::after, .container-footer::after { content: none; display: none; }

/* ---------- Page Contact (com_contact) ---------- */
.com-contact { display: flex; flex-direction: column; }
.com-contact > .page-header, .com-contact > .com-contact__container, .com-contact > h2 { display: none; }
.com-contact__miscinfo { order: -1; }
.com-contact__miscinfo dl, .com-contact__miscinfo dd { margin: 0; display: block; }
.com-contact__miscinfo dt { display: none; }
.fp-contact-infos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-24); border-top: 1px solid var(--line-strong); padding-top: var(--space-24); margin-bottom: var(--space-48); }
.fp-contact-infos .fp-lead { margin: 0; }
@media (max-width: 767px) { .fp-contact-infos { grid-template-columns: 1fr; } }
.com-contact__form { max-width: 760px; background: var(--surface-raised); border: 1px solid var(--line); padding: var(--space-32); margin-bottom: var(--space-64); }
.com-contact__form legend, .com-contact__form .field-spacer { display: none; }
.com-contact__form .control-group { margin-bottom: var(--space-24); }
.com-contact__form .control-label label { display: block; margin-bottom: var(--space-8); }
.com-contact__form .star { color: var(--rec-text); }
@media (max-width: 599px) { .com-contact__form { padding: var(--space-24) var(--space-16); } }

/* === VERSION SOMBRE (essai) : supprimer ce bloc pour revenir à la version claire === */
body.site {
  --surface: #121212; --surface-raised: #1C1C1C; --surface-sunken: #0A0A0A; --surface-inverse: #F4F1EC;
  --ink: #F4F1EC; --ink-muted: #A6A6A6; --ink-inverse: #121212; --line: #2E2E2E; --line-strong: #8A8A8A;
  --rec-text: #F26B5F; --amber-text: #E9A23B; --link-color: #F4F1EC; --body-color: #F4F1EC;
  --cassiopeia-color-link: #F4F1EC; --cassiopeia-color-primary: #F4F1EC; --template-text-dark: #F4F1EC;
  background: #121212; color: #F4F1EC;
}
body.site::before { background: #121212; }
body.site .container-header { background: #121212 !important; border-bottom-color: #2E2E2E; }
body.site .fp-band { background: #F4F1EC var(--fp-tex-clair) center / cover no-repeat; color: #121212; }
body.site .fp-band h2, body.site .fp-band h3, body.site .fp-band a, body.site .fp-band strong { color: #121212; }
body.site .fp-band .fp-surtitre, body.site .fp-band .fp-list li > span:first-child { color: #5C5C5C; }
body.site .fp-band .fp-list { border-top-color: #8A8A8A; } body.site .fp-band .fp-list li { border-bottom-color: #D9D4CC; }
body.site .fp-band .fp-btn--primary { background: #121212; color: #F4F1EC; border-color: #121212; }
body.site .fp-band .fp-btn--link { color: #121212; border-bottom-color: #121212; }
body.site .fp-band--golden { background: #121212 var(--fp-tex-golden) right bottom / cover no-repeat; color: #F4F1EC; }
body.site .fp-band--golden h2, body.site .fp-band--golden h3, body.site .fp-band--golden a { color: #F4F1EC; }
body.site .fp-band--golden .fp-surtitre { color: #8A8A8A; }
body.site .fp-band--golden .fp-btn--primary { background: #F4F1EC; color: #121212; border-color: #F4F1EC; }
body.site .fp-band--golden .fp-btn--primary:hover, body.site .fp-band .fp-btn--primary:hover { background: #C42D21; color: #FFFFFF; border-color: #C42D21; }
body.site .fp-band--golden .fp-btn--link { color: #F4F1EC; border-bottom-color: #F4F1EC; }
body.site .container-footer { background: #0A0A0A !important; color: #F4F1EC; border-top: 1px solid #2E2E2E; }
body.site .fp-footer-logo { background: #F4F1EC; }
body.site .fp-plate, body.site .fp-gallery figure { background: #1C1C1C; }
/* Touches ambre et rouge */
body.site .fp-surtitre { color: #E9A23B; }
body.site .fp-surtitre::before { content: ""; display: inline-block; width: 24px; height: 2px; margin-right: 10px; vertical-align: middle; background: #E63B2E; }
body.site .fp-band .fp-surtitre { color: #8A5608; }
body.site .fp-band--golden .fp-surtitre { color: #E9A23B; }
body.site .fp-figures { border-top-color: #E9A23B; }
body.site .fp-figure-num { color: #E9A23B; }
body.site .fp-list li > span:first-child { color: #E9A23B; }
body.site .fp-band .fp-list li > span:first-child { color: #8A5608; }
body.site .fp-card-cat { color: #E9A23B; }
body.site .fp-project-head { border-top-color: #E9A23B; }
body.site .fp-footer-h { color: #E9A23B; opacity: 1; }
body.site .fp-letterbox .fp-vf, body.site .fp-video-feature { --vf-color: #E63B2E; }
body.site .fp-card:hover .fp-vf { --vf-color: #E63B2E; }
body.site .fp-hero h1 { text-shadow: none; }
body.site .fp-hero h1::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 24px; background: #E63B2E; }
body.site a:not(.fp-btn):not(.fp-card):hover { color: #E9A23B; }
body.site .container-header .mod-menu > li > a:hover { color: #E9A23B !important; }
body.site ::selection { background: #E9A23B; color: #121212; }
/* === FIN VERSION SOMBRE === */

/* ---------- Formulaire de devis (composant FormulaireDevis) : toujours en version claire ---------- */
.com-contact__form { visibility: hidden; animation: fp-reveal 0s 1.5s forwards; }
@keyframes fp-reveal { to { visibility: visible; } }
.com-contact__form.is-ready { visibility: visible; }
body.site .com-contact__form {
  max-width: 720px; margin-bottom: var(--space-64); padding: 32px;
  background: #FBF9F6 !important; border: 1px solid #D9D4CC !important; color: #121212;
}
.fp-devis { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.fp-devis .fp-full { grid-column: 1 / -1; }
.fp-devis-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
body.site .fp-devis-title { margin: 0; font: 400 40px/40px var(--font-display); letter-spacing: .015em; text-transform: uppercase; color: #121212; }
body.site .fp-devis-title::after, body.site .fp-devis .fp-field-label::before { content: none; display: none; }
.fp-devis-meta, .fp-devis-ref { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: .06em; color: #5C5C5C; font-variant-numeric: tabular-nums; }
.fp-devis .fp-field { display: grid; gap: 8px; align-content: start; margin: 0; padding: 0; border: 0; min-width: 0; }
body.site .fp-devis .fp-field-label {
  display: block; float: none; width: auto; margin: 0 0 0; padding: 0;
  font-family: var(--font-mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #121212;
}
body.site .fp-devis .fp-input, body.site .fp-devis .fp-textarea {
  width: 100%; min-height: 48px; margin: 0; padding: 12px 16px;
  font: 400 16px/22px var(--font-sans); color: #121212;
  background: #F4F1EC; border: 1px solid #8A8A8A; border-radius: 4px; box-shadow: none;
}
body.site .fp-devis .fp-textarea { min-height: 120px; resize: vertical; }
body.site .fp-devis .fp-input::placeholder, body.site .fp-devis .fp-textarea::placeholder { color: #5C5C5C; opacity: 1; }
body.site .fp-devis .fp-input:focus, body.site .fp-devis .fp-textarea:focus { outline: none; border-color: #121212; box-shadow: 0 0 0 1px #121212; }
.fp-devis .fp-field-help { font-size: 12px; line-height: 18px; color: #5C5C5C; }
.fp-devis .fp-field-error { display: none; color: #B8281D; }
body.site .fp-devis .fp-input.invalid, body.site .fp-devis .fp-textarea.invalid { border-color: #B8281D; box-shadow: 0 0 0 1px #B8281D; }
.fp-devis .fp-field:has(.invalid) .fp-field-error { display: block; }
.fp-devis .fp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-devis .fp-choice { position: relative; margin: 0; cursor: pointer; }
.fp-devis .fp-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
body.site .fp-devis .fp-choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  font: 400 14px/20px var(--font-sans); letter-spacing: 0; text-transform: none;
  color: #121212; background: #FBF9F6; border: 1px solid #8A8A8A; border-radius: 0;
  transition: background-color var(--duration-fast) var(--ease-cinema), color var(--duration-fast) var(--ease-cinema);
}
body.site .fp-devis .fp-choice:hover span { border-color: #121212; }
body.site .fp-devis .fp-choice input:checked + span { background: #121212; color: #F4F1EC; border-color: #121212; }
.fp-devis .fp-choice input:focus-visible + span { outline: 2px solid #E63B2E; outline-offset: 2px; }
.fp-devis .fp-icon--sm { width: 16px; height: 16px; flex: none; }
.fp-devis-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
body.site .fp-devis .fp-btn--primary { min-height: 48px; padding: 0 24px; background: #121212; color: #F4F1EC; border-color: #121212; }
body.site .fp-devis .fp-btn--primary:hover { background: #C42D21; color: #FFFFFF; border-color: #C42D21; }
@media (max-width: 599px) {
  .fp-devis { grid-template-columns: 1fr; }
  body.site .com-contact__form { padding: 24px 16px; }
  body.site .fp-devis-title { font-size: 32px; line-height: 32px; }
}
.fp-devis .form-control-feedback, .fp-devis .invalid-feedback { display: none !important; }
body.site .fp-devis .fp-field-label.invalid { color: #121212; }
/* ---------- fin formulaire de devis ---------- */

/* ---------- Messages système (confirmation d'envoi, erreurs) ---------- */
body.site joomla-alert {
  --jui-alert-success-color: #121212; --jui-alert-success-background-color: #FBF9F6; --jui-alert-success-border-color: #D9D4CC;
  --jui-alert-danger-color: #121212; --jui-alert-danger-background-color: #FBF9F6; --jui-alert-danger-border-color: #B8281D;
  --jui-alert-warning-color: #121212; --jui-alert-warning-background-color: #FBF9F6; --jui-alert-warning-border-color: #8A5608;
  --jui-alert-info-color: #121212; --jui-alert-info-background-color: #FBF9F6; --jui-alert-info-border-color: #D9D4CC;
  max-width: 720px; margin: 0 0 var(--space-32); border-radius: 0; box-shadow: none;
  background: #FBF9F6 !important; color: #121212 !important; border: 1px solid #D9D4CC !important;
  font: 400 16px/24px var(--font-sans);
}
body.site joomla-alert .alert-heading { color: #FFFFFF !important; }
body.site joomla-alert [class*="icon-"] { color: #FFFFFF !important; }
body.site joomla-alert[type="danger"] .alert-heading, body.site joomla-alert[type="error"] .alert-heading { background: #B8281D !important; }
body.site joomla-alert .alert-wrapper, body.site joomla-alert .alert-message, body.site joomla-alert .alert-message * { color: #121212 !important; background: transparent !important; }
body.site joomla-alert .joomla-alert--close, body.site joomla-alert button { color: #121212 !important; }

/* ---------- Vidéos chargées au clic ---------- */
.fp-video--facade { cursor: pointer; }
.fp-video--facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-zoom) var(--ease-out), opacity var(--duration-fast) var(--ease-cinema); }
.fp-video--facade:hover img { transform: scale(1.03); }
.fp-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 72px; height: 72px; border-radius: 50%; border: 2px solid #F4F1EC; background: rgba(18,18,18,.55);
  color: #F4F1EC; display: flex; align-items: center; justify-content: center; padding: 0 0 0 4px; cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-cinema), border-color var(--duration-fast) var(--ease-cinema);
}
.fp-video--facade:hover .fp-video-play, .fp-video-play:focus-visible { background: #C42D21; border-color: #C42D21; }
@media (max-width: 599px) { .fp-video-play { width: 56px; height: 56px; } }


/* ---------- Page Contact : portrait ---------- */
.fp-contact-top { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: var(--space-48); align-items: start; }
.fp-contact-top .fp-contact-infos { grid-template-columns: repeat(2, minmax(0,1fr)); }
.fp-contact-top .fp-portrait { margin: var(--space-48) 0 0; }
.fp-contact-top .fp-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 744; object-fit: cover; border: 1px solid var(--line); }
.fp-contact-top .fp-portrait figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--amber-text, #E9A23B); }
.fp-contact-top .fp-portrait figcaption strong { font-family: var(--font-display); font-size: 22px; letter-spacing: .02em; font-weight: 400; }
.fp-contact-top .fp-portrait figcaption span { font-size: 13px; color: var(--ink-muted); }
.fp-contact-top .fp-portrait figcaption strong { color: var(--ink); }
@media (max-width: 899px) {
  .fp-contact-top { grid-template-columns: 1fr; gap: 0; }
  .fp-contact-top .fp-portrait { display: flex; align-items: center; gap: 16px; margin: 0 0 var(--space-32); }
  .fp-contact-top .fp-portrait img { width: 96px; flex: none; }
  .fp-contact-top .fp-portrait figcaption { margin-top: 0; }
}
@media (max-width: 767px) { .fp-contact-top .fp-contact-infos { grid-template-columns: 1fr; } }


/* ---------- Page À propos : portrait ---------- */
.fp-apropos-portrait { margin: 0; max-width: 460px; }
.fp-apropos-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 744; object-fit: cover; border: 1px solid var(--line); }
.fp-apropos-portrait figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--amber-text, #E9A23B); }
.fp-apropos-portrait figcaption span:last-child { font-size: 13px; color: var(--ink-muted); }
@media (max-width: 767px) { .fp-apropos-portrait { max-width: 320px; margin-bottom: var(--space-24); } }


/* ---------- Ajustements nov. 2026 (audit) ---------- */
/* Lisibilité : petits libellés en majuscules passés de 11 px à 12 px */
.fp-status, .fp-badge, .fp-card-cat, .fp-footer-h, .card-header,
.control-label label, .form-label, .contact-form label,
body.site .fp-devis .fp-field-label { font-size: 12px; }

/* Bandeau « Ils m’ont fait confiance » (accueil) */
.fp-clients {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-16) 32px;
  margin: 48px 0; padding: 24px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.fp-clients .fp-surtitre { margin: 0; }
.fp-clients ul { display: flex; flex-wrap: wrap; gap: var(--space-16) 32px; list-style: none; margin: 0; padding: 0; }
.fp-clients li { font: 400 28px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
