/*
Theme Name: CleanAndFast
Theme URI: https://cleanandfast.fr
Author: Weazy Agence
Author URI: https://weazy.agency
Description: Thème WordPress sur-mesure pour CleanandFast, converti depuis la maquette HTML statique. Réutilisable comme base pour d'autres clients du secteur nettoyage/services aux entreprises.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: Usage privé - Weazy Agence
Text Domain: cleanandfast

*/

/* ==========================================================================
   CLEANANDFAST — DESIGN SYSTEM
   Direction artistique : minimaliste, éditorial, haut de gamme.
   Typo = héros du design. Une seule couleur d'accent (bleu électrique).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* --------------------------------------------------------------------------
   2. TOKENS
   -------------------------------------------------------------------------- */
:root{
  /* couleurs de base */
  --ink:            #0a0c10;
  --ink-soft:       #1c2027;
  --paper:          #faf9f6;
  --paper-dim:      #f1efe9;
  --surface-dark:   #0a0c10;
  --surface-dark-2: #14171d;

  /* accent unique : bleu électrique */
  --accent:         #2f5bff;
  --accent-2:       #7d9bff;
  --accent-ink:     #eef1ff;

  /* texte */
  --text-1: var(--ink);
  --text-2: #52555d;
  --text-3: #8a8d94;
  --text-on-dark-1: #f6f6f4;
  --text-on-dark-2: #9a9da5;

  /* lignes / ombres */
  --line: rgba(10,12,16,0.10);
  --line-strong: rgba(10,12,16,0.16);
  --line-dark: rgba(255,255,255,0.12);
  --line-dark-strong: rgba(255,255,255,0.2);
  --shadow-sm: 0 1px 2px rgba(10,12,16,0.04), 0 1px 1px rgba(10,12,16,0.03);
  --shadow-md: 0 8px 30px rgba(10,12,16,0.06), 0 2px 8px rgba(10,12,16,0.04);
  --shadow-lg: 0 30px 80px rgba(10,12,16,0.14), 0 8px 24px rgba(10,12,16,0.08);
  --shadow-accent: 0 20px 50px rgba(47,91,255,0.25);

  /* typo */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;

  /* rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 40px;

  /* rythme */
  --ease: cubic-bezier(.16,.8,.24,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --dur-fast: .3s;
  --dur-med: .6s;
  --dur-slow: 1s;

  --container: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* --------------------------------------------------------------------------
   3. BASE
   -------------------------------------------------------------------------- */
body{
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section{ position: relative; }

/* Typographie */
h1, h2, h3, h4{
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-1);
}
.serif{ font-family: var(--font-serif); font-weight: 400; font-style: italic; }

.h-display{ font-size: clamp(3rem, 8vw, 7.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; }
.h-xl{ font-size: clamp(2.4rem, 5.6vw, 5rem); letter-spacing: -0.03em; line-height: 1.02; }
.h-lg{ font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.025em; line-height: 1.05; }
.h-md{ font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.015em; }
.h-sm{ font-size: 1.15rem; font-weight: 600; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before{
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.eyebrow.on-dark{ color: var(--accent-2); }

p.lead{ font-size: clamp(1.05rem, 1.4vw, 1.35rem); color: var(--text-2); line-height: 1.6; max-width: 46ch; }
p.body-text{ color: var(--text-2); line-height: 1.75; max-width: 60ch; }

.text-on-dark{ color: var(--text-on-dark-1); }
.text-on-dark .lead, .on-dark p.lead{ color: var(--text-on-dark-2); }

/* --------------------------------------------------------------------------
   4. BOUTONS
   -------------------------------------------------------------------------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg{ transform: translate(3px,-3px); }

.btn-primary{
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover{ background: var(--accent); box-shadow: var(--shadow-accent); transform: translateY(-2px); }

.btn-accent{
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover{ transform: translateY(-2px); box-shadow: 0 24px 60px rgba(47,91,255,0.35); }

.btn-ghost{
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-1);
}
.btn-ghost:hover{ border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-ghost-dark{
  background: transparent;
  border: 1px solid var(--line-dark-strong);
  color: var(--text-on-dark-1);
}
.btn-ghost-dark:hover{ background: #fff; color: var(--ink); border-color: #fff; }

.btn-sm{ padding: 12px 22px; font-size: 0.85rem; }

/* bouton texte souligné animé */
.link-underline{
  position: relative;
  font-weight: 600;
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.link-underline::after{
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1); transform-origin: right;
  transition: transform var(--dur-med) var(--ease);
}
.link-underline:hover::after{ transform-origin: left; }
.link-underline svg{ width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.link-underline:hover svg{ transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 22px 0;
  transition: padding var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), backdrop-filter var(--dur-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  padding: 14px 0;
  background: rgba(250,249,246,0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo{
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em;
  z-index: 1100; position: relative;
}
.logo .dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.nav-desktop{ display: flex; align-items: center; gap: 42px; }
.nav-links{ display: flex; align-items: center; gap: 36px; }
.nav-links a{
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  position: relative; padding: 4px 0; transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width var(--dur-med) var(--ease);
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a:hover::after{ width: 100%; }
.nav-links a.is-active{ color: var(--ink); font-weight: 600; }
.nav-links a.is-active::after{ width: 100%; }

.nav-cta{ display: flex; align-items: center; gap: 18px; }

/* burger */
.burger{
  display: none; position: relative; z-index: 1100;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line-strong);
}
.burger span{
  position: absolute; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease);
}
.burger span:nth-child(1){ transform: translateY(-5px); }
.burger span:nth-child(3){ transform: translateY(5px); }
.burger.is-open span:nth-child(1){ transform: translateY(0) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ transform: translateY(0) rotate(-45deg); }

/* menu mobile plein écran */
.mobile-menu{
  position: fixed; inset: 0; z-index: 1050;
  background: var(--ink);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: circle(0px at calc(100% - 46px) 46px);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open{ clip-path: circle(160% at calc(100% - 46px) 46px); pointer-events: auto; }
.mobile-menu nav{ display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a{
  font-size: clamp(2.2rem, 9vw, 3rem); font-weight: 600; color: var(--text-on-dark-1);
  letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color var(--dur-fast) var(--ease);
}
.mobile-menu.is-open a{ opacity: 1; transform: translateY(0); }
.mobile-menu a:hover{ color: var(--accent-2); }
.mobile-menu .mm-foot{
  margin-top: 40px; display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transition: opacity .6s var(--ease) .4s;
}
.mobile-menu.is-open .mm-foot{ opacity: 1; }
.mobile-menu .mm-foot a{ font-size: 0.9rem; font-weight: 500; color: var(--text-on-dark-2); border: none; padding: 0; opacity: 1; transform: none; }

@media (max-width: 900px){
  .nav-desktop{ display: none; }
  .burger{ display: flex; }
}

/* --------------------------------------------------------------------------
   6. REVEAL / SCROLL ANIMATIONS
   -------------------------------------------------------------------------- */
[data-reveal]{
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="up"]{ transform: translateY(48px); }
[data-reveal="down"]{ transform: translateY(-48px); }
[data-reveal="left"]{ transform: translateX(48px); }
[data-reveal="right"]{ transform: translateX(-48px); }
[data-reveal="scale"]{ transform: scale(0.92); }
[data-reveal="fade"]{ transform: none; }
[data-reveal].is-visible{ opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   7. HERO GENERIQUE (pages secondaires)
   -------------------------------------------------------------------------- */
.page-hero{
  padding: clamp(150px, 22vw, 220px) 0 clamp(60px, 8vw, 100px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .kicker-row{ display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.breadcrumb{ font-size: 0.85rem; color: var(--text-3); }
.breadcrumb a:hover{ color: var(--accent); }

/* --------------------------------------------------------------------------
   8. SECTIONS PARTAGEES
   -------------------------------------------------------------------------- */
.section{ padding: clamp(70px, 10vw, 140px) 0; }
.section-tight{ padding: clamp(50px, 7vw, 90px) 0; }
.bg-dark{ background: var(--surface-dark); color: var(--text-on-dark-1); }
.bg-dim{ background: var(--paper-dim); }
.bg-accent{ background: var(--accent); color: #fff; }

.section-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head .h-lg{ max-width: 640px; }

hr.rule{ border: none; border-top: 1px solid var(--line); }
.bg-dark hr.rule{ border-top-color: var(--line-dark); }

/* --------------------------------------------------------------------------
   9. GRID UTILITAIRES
   -------------------------------------------------------------------------- */
.grid{ display: grid; gap: var(--gutter); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-12{ grid-template-columns: repeat(12, 1fr); }
@media (max-width: 900px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   10. CHIFFRES CLES (compteurs)
   -------------------------------------------------------------------------- */
.stats-strip{ display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stat-item{ padding: 40px 30px; border-left: 1px solid var(--line-dark); }
.stat-item:first-child{ border-left: none; }
.stat-num{ font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 700; letter-spacing: -0.03em; color: var(--text-on-dark-1); display: flex; align-items: baseline; gap: 2px; }
.stat-num .suffix{ font-size: 0.5em; color: var(--accent-2); font-weight: 600; }
.stat-label{ margin-top: 10px; font-size: 0.9rem; color: var(--text-on-dark-2); max-width: 22ch; }
@media (max-width: 900px){
  .stats-strip{ grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2n+1){ border-left: none; }
  .stat-item:nth-child(n+3){ border-top: 1px solid var(--line-dark); }
}

/* --------------------------------------------------------------------------
   11. CARTES (utilisées avec parcimonie, styles variés)
   -------------------------------------------------------------------------- */
.card{
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-fast) var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.icon-tile{
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-dim); color: var(--accent);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.icon-tile svg{ width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   12. FOOTER PREMIUM
   -------------------------------------------------------------------------- */
.site-footer{ background: var(--surface-dark); color: var(--text-on-dark-1); padding-top: clamp(70px, 9vw, 120px); }
.footer-cta{ text-align: center; padding-bottom: clamp(60px, 8vw, 110px); border-bottom: 1px solid var(--line-dark); }
.footer-cta .h-xl{ color: #fff; max-width: 16ch; margin-inline: auto; }
.footer-cta .lead{ max-width: 46ch; margin-inline: auto; }
.footer-cta .btn-row{ display: flex; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

.footer-grid{
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 40px; padding: clamp(50px, 7vw, 80px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand p{ color: var(--text-on-dark-2); margin-top: 18px; max-width: 32ch; font-size: 0.92rem; line-height: 1.65; }
.footer-col h4{ font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-on-dark-2); font-weight: 600; margin-bottom: 20px; }
.footer-col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer-col a{ font-size: 0.94rem; color: var(--text-on-dark-1); transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease); }
.footer-col a:hover{ color: var(--accent-2); padding-left: 4px; }
.footer-social{ display: flex; gap: 10px; margin-top: 20px; }
.footer-social a{ width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover{ background: var(--accent); border-color: var(--accent); }
.footer-social svg{ width: 16px; height: 16px; }

.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: 0.82rem; color: var(--text-on-dark-2); flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links{ display: flex; gap: 24px; }
.footer-bottom .legal-links a:hover{ color: #fff; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDEON
   -------------------------------------------------------------------------- */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 0; text-align: left; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600;
}
.faq-q .plus{
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong);
  position: relative; transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after{
  content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.faq-q .plus::before{ width: 12px; height: 1.4px; transform: translate(-50%,-50%); }
.faq-q .plus::after{ width: 1.4px; height: 12px; transform: translate(-50%,-50%); }
.faq-item.is-open .plus{ background: var(--ink); }
.faq-item.is-open .plus::before, .faq-item.is-open .plus::after{ background: #fff; }
.faq-item.is-open .plus::after{ transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p{ padding-bottom: 28px; color: var(--text-2); max-width: 65ch; line-height: 1.7; }
.faq-item.is-open .faq-a{ max-height: 400px; }

/* --------------------------------------------------------------------------
   14. FORMULAIRE
   -------------------------------------------------------------------------- */
.field{ position: relative; margin-bottom: 26px; }
.field label{
  display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 10px;
}
.field input, .field textarea, .field select{
  width: 100%; padding: 16px 0; background: transparent;
  border: none; border-bottom: 1px solid var(--line-strong);
  font-size: 1.05rem; color: var(--text-1);
  transition: border-color var(--dur-fast) var(--ease);
}
.field textarea{ resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus{ outline: none; border-color: var(--accent); }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 640px){ .field-row{ grid-template-columns: 1fr; } }

.checkbox-row{ display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
.checkbox-row input{ margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; }
.checkbox-row label{ font-size: 0.85rem; color: var(--text-3); text-transform: none; letter-spacing: 0; font-weight: 400; }

.form-success{
  display: none; padding: 40px; border-radius: var(--r-lg); background: var(--paper-dim);
  text-align: center;
}
.form-success.is-visible{ display: block; }
.form-success svg{ width: 48px; height: 48px; color: var(--accent); margin-inline: auto; margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   15. UTILITAIRES DIVERS
   -------------------------------------------------------------------------- */
.overline-num{ font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--accent); }
.divider-v{ width: 1px; align-self: stretch; background: var(--line); }
.tag{
  display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; border: 1px solid var(--line-strong);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tag-accent{ background: var(--accent); color: #fff; border-color: var(--accent); }

.marquee{ display: flex; white-space: nowrap; overflow: hidden; }
.marquee-track{ display: flex; gap: 60px; animation: marquee 32s linear infinite; padding-right: 60px; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

.hover-lift{ transition: transform var(--dur-med) var(--ease); }
.hover-lift:hover{ transform: translateY(-8px); }

.mix-blend-diff{ mix-blend-mode: difference; color: #fff; }

::selection{ background: var(--accent); color: #fff; }

/* scrollbar discret */
::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--paper); }
::-webkit-scrollbar-thumb{ background: var(--line-strong); border-radius: 10px; }

/* barre de progression de scroll */
.scroll-progress{
  position: fixed; top: 0; left: 0; right: 0; height: 2.5px; z-index: 1200;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.1s linear;
}

/* loader de page (léger) */
.page-loader{
  position: fixed; inset: 0; z-index: 3000; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.page-loader.is-hidden{ opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--accent); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ transform: scale(1); opacity: 1; } 50%{ transform: scale(1.6); opacity: 0.4; } }

/* image frame avec cadre fin */
.img-frame{ position: relative; overflow: hidden; border-radius: var(--r-lg); }
.img-frame img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.img-frame:hover img{ transform: scale(1.06); }

/* placeholder graphique (remplace les images photo par des compositions CSS) */
.ph{
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: linear-gradient(155deg, #e7e4dc 0%, #d8d4c8 100%);
}
.ph::before{
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(10,12,16,0.05) 0px, rgba(10,12,16,0.05) 1px, transparent 1px, transparent 34px);
}
.ph.ph-dark{ background: linear-gradient(155deg, #1c2027 0%, #0a0c10 100%); }
.ph.ph-dark::before{ background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 34px); }
.ph.ph-accent{ background: linear-gradient(155deg, var(--accent-2) 0%, var(--accent) 100%); }
.ph.ph-accent::before{ background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 34px); }
