/* SGPR — Rythme des mouvements. Les proportions et les états visuels existants restent dans leurs styles de page. */
:root {
  --sgpr-motion-in: cubic-bezier(.22,.68,.32,1);
  --sgpr-motion-state: cubic-bezier(.4,0,.2,1);
  --sgpr-motion-fast: 200ms;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

.carousel-track, .brands-home-track {
  transition-timing-function: var(--sgpr-motion-in) !important;
  transition-duration: 460ms;
}

body header.sgpr-shared-nav > a:not(.logo) {
  transition: background-color var(--sgpr-motion-fast) var(--sgpr-motion-state),
    color var(--sgpr-motion-fast) var(--sgpr-motion-state) !important;
}
body .sgpr-shared-topbar .devis {
  transition: background-color var(--sgpr-motion-fast) var(--sgpr-motion-state) !important;
}

:where(a, button, .dot, .arrow, .carousel-btn, .brands-home-arrow, input, textarea, select) {
  transition: color var(--sgpr-motion-fast) var(--sgpr-motion-state),
    background-color var(--sgpr-motion-fast) var(--sgpr-motion-state),
    border-color var(--sgpr-motion-fast) var(--sgpr-motion-state),
    box-shadow var(--sgpr-motion-fast) var(--sgpr-motion-state),
    opacity var(--sgpr-motion-fast) var(--sgpr-motion-state),
    transform var(--sgpr-motion-fast) var(--sgpr-motion-state);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .sgpr-reviews .review {
    transition: translate var(--sgpr-motion-fast) var(--sgpr-motion-in),
      border-color var(--sgpr-motion-fast) var(--sgpr-motion-state);
  }
  .sgpr-reviews .review:hover { translate: 0 -4px; border-color: #c7cedd; }
}

@media (max-width: 1000px) {
  body header.sgpr-shared-nav { overscroll-behavior-x: contain; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .sgprp-logo-track { animation: none !important; }
}

/* Logo de la navbar légèrement réduit */
body header.sgpr-shared-nav .logo img{width:min(78%,300px)!important}
@media(max-width:1000px){body header.sgpr-shared-nav .logo img{width:215px!important;max-width:215px!important}}
@media(max-width:600px){body header.sgpr-shared-nav .logo img{width:140px!important;max-width:140px!important}}

/* Bloc logo — aligné sur la barre de navigation, sans débord sur la photo (desktop) */
@media(min-width:1001px){
  body header.sgpr-shared-nav .logo{
    height:76px!important;min-height:76px!important;max-height:76px!important;
    clip-path:none!important;border-radius:0!important;
  }
  body header.sgpr-shared-nav .logo img{width:auto!important;height:58px!important;max-width:90%!important}
}
/* Menu centré sur la page (desktop) */
@media(min-width:1001px){
  body header.sgpr-shared-nav{justify-content:center!important;padding:0 28%!important}
}
/* Bouton WhatsApp flottant */
.sgpr-whatsapp{position:fixed;right:22px;bottom:22px;z-index:1000;width:58px;height:58px;border-radius:50%;background:#25d366;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.22);transition:transform .2s ease,box-shadow .2s ease}
.sgpr-whatsapp:hover{transform:scale(1.08);box-shadow:0 10px 28px rgba(0,0,0,.28)}
.sgpr-whatsapp:focus-visible{outline:3px solid #14161b;outline-offset:3px}
@media(max-width:600px){.sgpr-whatsapp{right:14px;bottom:14px;width:52px;height:52px}}
/* Police professionnelle unique sur tout le site */
:root{--sgpr-font:"Inter","Segoe UI",Arial,sans-serif}
html body:not(#_),html body *:not(#_):not(svg):not(svg *){font-family:var(--sgpr-font)!important}
html body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
html body :is(h1,h2,h3){letter-spacing:-.02em}
/* Palette graphite + jaune : lisibilité des textes sur fond clair */
html body .sgprp-label,html body .eyebrow,html body .sgpr-reviews .tag{color:#8a6700!important}
html body #sgprp-impact .sgprp-btn{color:#14161b!important}
html body #sgprp-history .sgprp-btn:hover,html body .brands-home-arrow:hover,html body .sgprp-social a:hover{color:#14161b!important}
/* Section « Pourquoi SGPR » — cartes sobres avec icônes au trait */
html body #sgprp-values .sgprp-value-card{min-height:0;padding:30px 28px;border-radius:14px;border:1px solid #e6e8ed;transition:border-color .2s ease,box-shadow .2s ease}
html body #sgprp-values .sgprp-value-card:hover{transform:none;border-color:#f5b900;box-shadow:0 12px 30px rgba(20,22,27,.06)}
html body #sgprp-values .sgprp-vicon{width:48px;height:48px;border-radius:12px;background:#fff6d6;display:grid;place-items:center;margin-bottom:20px}
html body #sgprp-values .sgprp-vicon svg{width:24px;height:24px;fill:none;stroke:#14161b;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body #sgprp-values .sgprp-value-card h3{font-size:19px;margin-bottom:10px;color:#14161b}
html body #sgprp-values .sgprp-value-card p{font-size:15px;line-height:1.7}
/* Section « Nos services » — blanc et gris, sans jaune ni noir, mouvements doux */
html body #sgprp-services .sgprp-label{color:#7a808c!important}
html body #sgprp-services .sgprp-heading-center h2{color:#2f3440}
html body #sgprp-services .sgprp-heading-center p{color:#6b7280}
html body #sgprp-services .sgprp-service-card{border:1px solid #e6e8ed;border-radius:16px;box-shadow:0 1px 2px rgba(47,52,64,.04);transition:transform .7s cubic-bezier(.16,1,.3,1),box-shadow .7s cubic-bezier(.16,1,.3,1),border-color .7s ease}
html body #sgprp-services .sgprp-service-card:hover{transform:translateY(-4px);border-color:#d9dce2;box-shadow:0 22px 48px -18px rgba(47,52,64,.22)}
html body #sgprp-services .sgprp-service-image{height:240px}
html body #sgprp-services .sgprp-service-image img{transition:transform 1.1s cubic-bezier(.16,1,.3,1)}
html body #sgprp-services .sgprp-service-card:hover .sgprp-service-image img{transform:scale(1.06)}
html body #sgprp-services .sgprp-service-body{padding:26px 26px 30px}
html body #sgprp-services .sgprp-service-num{display:block;font-size:13px;font-weight:600;letter-spacing:.08em;color:#a3a9b4;margin-bottom:10px}
html body #sgprp-services .sgprp-service-body h3{font-size:20px;line-height:1.3;margin-bottom:10px;color:#2f3440}
html body #sgprp-services .sgprp-service-body p{font-size:15px;line-height:1.7;color:#6b7280}
@media(prefers-reduced-motion:reduce){html body #sgprp-services .sgprp-service-card,html body #sgprp-services .sgprp-service-image img{transition:none}}
/* Qui sommes-nous : titre de la vidéo (h2) et carte du gérant */
html body .sgprp-hero .sgprp-hero-title{font-size:clamp(44px,6vw,88px);line-height:.98;letter-spacing:-.03em;margin:0 0 28px;font-weight:800;color:#fff}
html body .sgprp-hero .sgprp-hero-title strong{color:#fff;font-weight:800}
html body .sgprp-hero .sgprp-kicker{color:rgba(255,255,255,.7)!important}
html body .sgpr-founder{display:flex;align-items:center;gap:16px;margin-top:30px;padding:16px 18px;border:1px solid #e6e8ed;border-radius:14px;background:#fff;max-width:460px}
html body .sgpr-founder img{width:64px;height:64px;border-radius:50%;object-fit:cover;object-position:center 18%;flex:0 0 64px}
html body .sgpr-founder-text{display:flex;flex-direction:column;flex:1;min-width:0}
html body .sgpr-founder-text strong{font-size:16px;color:#14161b}
html body .sgpr-founder-text span{font-size:14px;color:#6b7280}
html body .sgpr-founder-btn{flex:0 0 auto;padding:10px 16px;border-radius:8px;background:#14161b;color:#fff!important;font-size:14px;font-weight:600;text-decoration:none;transition:background-color .25s ease}
html body .sgpr-founder-btn:hover{background:#25d366}
@media(max-width:480px){html body .sgpr-founder{flex-wrap:wrap}html body .sgpr-founder-btn{width:100%;text-align:center}}
