/*
 * LE JOYEUX DÉCLIC — identité V2, 26 novembre 2026
 * Couche de marque non destructive : la structure et le formulaire PHP du site source
 * restent inchangés. Sans police, image, bibliothèque ou traceur externe.
 */
:root {
  --ink:#292440;
  --ink2:#3d345a;
  --cream:#fff3e6;
  --paper:#fffdfa;
  --coral:#fb8069;
  --coral-dark:#dc5d4c;
  --mint:#f8cf66;
  --muted:#696579;
  --line:#e8e0e8;
  --radius:20px;
  --shadow:0 30px 75px rgba(40,31,64,.13);
}
body {background:var(--paper);color:var(--ink);}
::selection {background:#f8cf66;color:#292440;}
:focus-visible {outline:3px solid #7b62c9;outline-offset:4px;}
.top-line {height:5px;background:linear-gradient(90deg,#fb8069 0 33%,#f8cf66 33% 66%,#bca8f0 66% 100%);}
.site-header {background:rgba(255,253,249,.96);border-bottom:1px solid #e9e2e8;box-shadow:0 5px 25px rgba(42,33,67,.04);}
.header-inner {min-height:84px;}
.brand {gap:12px;}
.brand-symbol {width:46px;height:46px;flex:none;border-radius:13px;transition:transform .25s ease;}
.brand:hover .brand-symbol {transform:rotate(-8deg);}
.brand-copy {gap:0;line-height:1.02;}
.brand-name {display:flex;flex-direction:column;gap:0;font-size:unset;line-height:1;letter-spacing:0;}
.brand-name .brand-pre {display:block;color:#766581;font-size:10px;font-weight:850;letter-spacing:2px;margin:0 0 2px;}
.brand-name .brand-main {display:block;color:var(--ink);font-size:27px;line-height:.98;font-weight:900;letter-spacing:-1.6px;margin:0;}
.brand-name .brand-dot {color:var(--coral);}
.brand-tag {font-size:8.7px;letter-spacing:1.35px;color:#7b708b;margin-top:5px;font-weight:800;text-transform:uppercase;}
.site-nav > a {font-weight:700;color:#3a3652;}
.site-nav > a:hover {color:#d9574b;}
.site-nav .nav-cta {border-radius:999px;background:var(--ink);padding:12px 22px;color:white;}
.site-nav .nav-cta:hover {background:#f8c85b;color:var(--ink);}
.eyebrow {color:#b65a64;letter-spacing:1.85px;}
.eyebrow.on-dark {color:#eee0ee;}
h1,h2,h3 {color:inherit;}
h1,h2 {font-weight:850;}
h2 span {color:#7d6d98;}
.button {border-radius:999px;box-shadow:0 4px 18px rgba(37,28,57,.06);}
.button-coral {background:#f8c85b;color:#292440;}
.button-coral:hover {background:#ffd978;box-shadow:0 12px 26px rgba(249,185,72,.22);}
.button-ink {background:#292440;color:white;}
.button-ink:hover {background:#48385f;}
.text-link:hover {color:#d9574b;}
/* Ouverture lumineuse, mais grande lisibilité d'un site adressé aux dirigeants. */
.hero {background:radial-gradient(ellipse at 70% 16%,#453a67 0%,#30294d 35%,#252039 85%);color:#fffaf0;}
.hero::before {background:radial-gradient(circle,rgba(255,191,135,.14),transparent 68%);right:-220px;top:-170px;}
.hero-grid {opacity:.55;background:linear-gradient(90deg,transparent 98%,rgba(253,239,228,.035) 99%) 0 0 / 106px 106px,linear-gradient(transparent 98%,rgba(253,239,228,.035) 99%) 0 0 / 106px 106px;}
.hero-layout {grid-template-columns:1.13fr .87fr;min-height:715px;gap:30px;padding-top:88px;padding-bottom:72px;}
.hero h1 {font-size:clamp(49px,5.05vw,74px);letter-spacing:-3.7px;line-height:1.09;max-width:760px;margin-bottom:27px;}
.hero h1 em {color:#f8d16c;font-style:normal;}
.hero-lead {max-width:660px;color:#ddd6e7;font-size:17.2px;line-height:1.72;}
.hero-lead strong {font-weight:670;color:#fffaf0;}
.hero .button-ghost {border-color:rgba(255,250,240,.35);box-shadow:none;}
.hero-facts {margin-top:44px;border-color:rgba(255,250,240,.18);}
.hero-facts div+div {border-color:rgba(255,250,240,.18);}
.hero-facts span {color:#c6bfd4;}
.micro-note {color:#aaa1bb;}
.eyebrow-dot {background:#f8c85b;box-shadow:0 0 0 5px rgba(248,200,91,.12);}
.visual-card {border:1px solid #776993;border-radius:22px;background:#342e50;box-shadow:0 38px 95px rgba(11,8,25,.28);transform:rotate(3.5deg);}
.visual-card-head {color:#e9dcea;background:linear-gradient(#2a2544dc,#2a254400);}
.visual-signal {background:#f8c85b;}
.float-note {background:#fff4e2;color:#2e2547;box-shadow:0 20px 50px rgba(15,8,30,.25);border-radius:15px;transform:rotate(-7deg);}
.float-note-icon {background:#fb8069;color:#292440;}
.hero-bottom {background:#211b35;border-top:1px solid rgba(255,255,255,.11);}
.hero-bottom span {color:#d6cfdf;}
/* Défi : cartes sensibles, sans effet « startup générique ». */
.situation {background:#fffdfa;}
.split-heading .intro-side p {color:#625d70;}
.serif-note {color:#645176;}
.moment-card {border-radius:21px;border-color:#ecdfda;background:#fff4e8;box-shadow:0 12px 34px rgba(39,29,62,.035);}
.moment-card:nth-child(2) {background:#f4effd;border-color:#e5dbf4;}
.moment-card:nth-child(3) {background:#eaf3ec;border-color:#dce9e0;}
.moment-card:hover {box-shadow:0 20px 45px rgba(45,32,66,.1);}
.moment-icon {color:#dc665d;}
.moment-card:nth-child(2) .moment-icon {color:#8463ba;}
.moment-card:nth-child(3) .moment-icon {color:#499789;}
.moment-number {color:#b27f76;}
.moment-card h3 {color:#292440;}
.moment-card p {color:#665f70;}
/* Une respiration joyeuse au coeur du récit */
.manifesto {background:#f8cc68;color:#292440;padding:108px 0;}
.manifesto:after {content:"";position:absolute;right:-190px;top:-210px;width:620px;height:620px;border:100px solid rgba(255,255,255,.2);border-radius:50%;pointer-events:none;}
.manifesto .eyebrow.on-dark {color:#795c62;}
.manifesto h2 {max-width:1000px;color:#292440;}
.manifesto h2 em {color:#84508c;}
.manifesto p:not(.eyebrow) {color:#4d4058;max-width:790px;}
.manifesto-outline {color:rgba(67,44,64,.09);}
/* Méthode et cas pratiques */
.approach {background:#fffdfa;}
.section-topline>p,.experience-steps p {color:#716b79;}
.experience-art {background:#f1e7f8;border-radius:25px;box-shadow:0 12px 38px rgba(43,34,65,.07);}
.step-index {color:#a06d9a;}
.applied-case {background:#f5f0fb;border:1px solid #e2d5f2;border-left:5px solid #a78ada;border-radius:19px;}
.applied-case .case-kicker {color:#7c5fa8;}
.applied-case p,.applied-case li {color:#5c526e;}
.single-expert-note {border-left-color:#ef9177;background:#fff2e5;border-radius:0 12px 12px 0;}
.single-expert-note p {color:#665c68;}
/* Trois formats : cartes précises, accents joyeux. */
.formats {background:#fff5ec;}
.format-card {border-radius:20px;border-color:#ebdfdc;box-shadow:0 12px 36px rgba(44,28,63,.035);}
.format-card.featured {border:2px solid #e5ae70;box-shadow:0 22px 55px rgba(88,57,83,.09);}
.format-top {color:#936780;}
.format-badge {color:#57417a;background:#eee1fc;border-radius:999px;padding:5px 9px;}
.format-art {border-radius:15px;}
.art-one {background:#f6e2d3;}
.art-two {background:#302746;}
.art-three {background:#e9e0f5;}
.format-sub {color:#ab5664;}
.format-card p:not(.format-sub) {color:#706978;}
/* Parcours */
.how {background:#fffdfa;}
.how-intro > p:not(.eyebrow),.timeline-item p {color:#655f6c;}
.about {background:#efebf5;}
.about-portrait {border-radius:23px;box-shadow:0 24px 55px rgba(37,25,66,.14);}
.about-stamp {background:#f8c85b;border-radius:14px;color:#292440;}
.about-signature {color:#8b5e95;}
.about-copy>p:not(.eyebrow):not(.about-signature) {color:#5e5968;}
.credentials span {border-color:#d8cce2;color:#51475f;}
/* Références : transparence conservée, distinction claire du contenu à compléter. */
.references {background:#fffdfa;}
.reference-card {border-radius:17px;border-color:#e5dae8;}
.reference-copy>span {color:#a96e89;}
.reference-copy p {color:#716b78;}
.media-a {background:#e3d8f5;}.media-b {background:#f9d9ca;}.media-c {background:#dcece6;}
/* Collaboration, contact, pied de page. */
.partners {background:#2b2545;}
.partner-cards article {background:#3a3158;border-color:#67577c;border-radius:16px;}
.partner-cards article>span {color:#f8c85b;}
.partner-cards p {color:#d2c6df;}
.partner-cards a {color:#f8d781;}
.contact-section {background:#292440;}
.contact-section:before {background:linear-gradient(90deg,#fb8069,#f8c85b,#bca8f0);}
.contact-copy h2 em {color:#f8ce6a;}
.contact-copy>p:not(.eyebrow) {color:#d4ccdf;}
.contact-meta {color:#dfd6e6;}
.contact-dot {background:#f8c85b;}
.contact-phone {color:#c7bcda;}
.contact-form-wrap {background:#fffdf7;border-radius:22px;color:#292440;box-shadow:0 26px 75px rgba(15,9,31,.25);}
.contact-form-wrap>p {color:#797184;}
.field input,.field textarea,.field select {background:#fffaf7;border-radius:9px;border-color:#e0d5dd;color:#302943;}
.field input:focus,.field textarea:focus,.field select:focus {border-color:#977ac4;box-shadow:0 0 0 3px #dfd5f3;}
.form-privacy {color:#756e7f;}
.footer {background:#211b35;color:#d5cbdf;}
.footer-brand .brand-name .brand-pre {color:#c1abd7;}
.footer-brand .brand-name .brand-main {color:#fff9f0;}
.footer-brand .brand-tag {color:#c1b5d0;}
.footer-bottom {border-top:1px solid #483c5e;}
.footer-legal {color:#d5cbdf;}
.legal-dialog {border-radius:18px;}
.dialog-close {background:#f1eaf5;}

/* Logo complet en images — Le Joyeux Déclic */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.brand .brand-symbol,
.brand .brand-wordmark {
  display: block;
  height: 64px;
  width: auto;
  max-width: none;
  flex: none;
}

/* Rotation du pictogramme uniquement */
.brand .brand-symbol {
  transform-origin: center;
  transition: transform .25s ease;
}

.brand:hover .brand-symbol {
  transform: rotate(-8deg);
}

/* Adaptation mobile */
@media (max-width: 590px) {
  .brand .brand-symbol,
  .brand .brand-wordmark {
    height: 48px;
  }
}

@media (max-width: 360px) {
  .brand .brand-symbol,
  .brand .brand-wordmark {
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand .brand-symbol {
    transition: none;
  }
}

.quote-author {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #81738f;
}

.quote-author a {
  color: inherit;
  text-decoration: none;
}

.quote-author a:hover {
  text-decoration: underline;
}

/* Responsive correction: logo is the recognisable unit even on narrow screens. */
@media (max-width:1100px) {
  .hero-layout {grid-template-columns:1.04fr .96fr;}
  .hero h1 {font-size:clamp(45px,5.1vw,64px);}
}
@media (max-width:850px) {
  .hero-layout {grid-template-columns:1fr;gap:12px;padding-top:62px;min-height:0;}
  .hero h1 {font-size:clamp(49px,7.9vw,70px);max-width:780px;}
  .hero-visual {max-width:520px;padding:15px 14px 30px;}
  .site-nav {background:#fffdfa;border-top:1px solid var(--line);}
  .menu-toggle {border-color:#e2d7e9;}
  .manifesto:after {right:-330px;}
}
@media (max-width:590px) {
  .header-inner {min-height:76px;}
  .site-nav {top:76px;}
  .brand-symbol {width:40px;height:40px;}
  .brand-name .brand-pre {font-size:8px;letter-spacing:1.5px;}
  .brand-name .brand-main {font-size:23px;letter-spacing:-1px;}
  .brand-tag {font-size:7px;letter-spacing:.6px;}
  .hero-layout {padding-top:54px;padding-bottom:32px;}
  .hero h1 {font-size:clamp(41px,10.5vw,56px);letter-spacing:-2.4px;line-height:1.11;}
  .hero h1 br {display:none;}
  .formats-grid {grid-template-columns:minmax(0,1fr);}
  .format-card {min-width:0;}
  .hero-lead {font-size:16px;line-height:1.65;}
  .hero-facts {margin-top:35px;}
  .hero-visual {margin-top:16px;padding:18px 8px 24px;}
  .manifesto {padding:78px 0;}
  .manifesto h2 {font-size:clamp(33px,8.3vw,47px);}
  .contact-copy h2 {font-size:clamp(34px,9vw,46px);}
}
@media(max-width:360px) {
  .header-inner {gap:7px;}
  .brand {gap:8px;}
  .brand-symbol {width:36px;height:36px;}
  .brand-name .brand-main {font-size:21px;}
  .brand-tag {letter-spacing:0;}
  .hero h1 {font-size:38px;}
}
@media(prefers-reduced-motion:reduce) { .brand-symbol {transition:none;} }
