.site-project { color: #262e45; background: #fff; font-family: "Nunito", sans-serif; }
.site-project p { font-size: 1.6rem; font-weight: 600; line-height: 1.85; }
.site-project h1, .site-project h2, .site-project h3 { font-family: inherit; font-weight: 800; }
/* Les boutons héritent directement de style.css, comme ceux de l’accueil. */
.site-project .btn:focus-visible { outline: 3px solid #178873; outline-offset: 4px; }
.site-project .btn:disabled { background: #596174; border-color: #596174; color: #fff; opacity: 1; cursor: wait; }
.site-project .project-header { position: relative; border-bottom: 1px solid #e8ebf2; }
.project-header .container { min-height: 8rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.project-header img { width: 200px; height: auto; }
.project-nav { display: flex; align-items: center; gap: 3rem; }
.project-nav a { color: #262e45; font-size: 1.5rem; font-weight: 800; text-transform: none; }
.project-skip { position: absolute; left: 1rem; top: -8rem; z-index: 100; padding: 1rem 2rem; background: #fff; }
.project-skip:focus { top: 1rem; }
.project-hero { padding: 6rem 0; background: linear-gradient(115deg, #fff 40%, #fff5f3 100%); }
.project-eyebrow { margin-bottom: 1.5rem; color: #b62d23; font-size: 1.2rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-hero h1 { max-width: 60rem; margin-bottom: 2rem; font-size: clamp(3.2rem, 3.5vw, 4.8rem); line-height: 1.13; font-weight: 800; letter-spacing: -.025em; }
.project-hero h1 span { color: #f44438; }
.project-hero .project-lead { max-width: 56rem; margin-bottom: 2.5rem; font-size: 1.7rem; line-height: 1.7; }
.site-project .project-note { margin: 1.5rem 0 0; color: #60697a; font-size: 1.3rem; line-height: 1.7; }
.project-visual { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.project-visual img { display: block; width: 100%; height: auto; border-radius: .6rem; }
.project-visual figcaption { padding: 1.2rem .5rem .3rem; color: #60697a; font-size: 1.2rem; line-height: 1.6; }
.project-visual a { color: #262e45; text-decoration: underline; text-transform: none; }
.project-section { padding: 7rem 0; }
.project-section h2 { margin-bottom: 1.8rem; font-size: 4.4rem; line-height: 1.23; letter-spacing: 0; font-weight: 400; }
.project-heading { max-width: 85rem; margin: 0 auto 4.5rem; text-align: center; }
.hero-text .project-heading { margin-left: 0; margin-right: 0; text-align: left; }
.project-tint { background: #f7f8fb; }
.project-needs, .project-benefits, .project-work, .project-steps { display: grid; gap: 2.5rem; }
.project-needs { display: block; }
.project-need { padding: 0; margin-top: 2.8rem; }
.project-need h3 { margin: 0 0 1rem; font-size: 2rem; line-height: 1.35; }
.project-need p { flex: 1; margin: 1.5rem 0; }
.project-text-link { color: #b62d23; font-size: 1.4rem; font-weight: 800; text-transform: none; }
.project-text-link:hover { color: #262e45; }
.project-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.project-benefits h3, .project-steps h3 { margin: 1rem 0; font-size: 1.8rem; line-height: 1.35; }
.project-benefits p, .project-steps p { font-size: 1.6rem; line-height: 1.8; }
.project-number { color: #b62d23; font-size: 1.2rem; font-weight: 800; }
.project-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-work .portfolio-preview { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 3 / 2; background: #f7f8fb; }
.project-work .portfolio-preview img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.project-work h3 { min-height: 5.7rem; margin-bottom: 1.2rem; font-size: 2.2rem; line-height: 1.3; }
.project-work .portfolio-service { min-height: 2.3rem; }
.project-work .project-description { flex: 1; }
.project-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; list-style: none; }
.project-aside { margin-top: 2.5rem; padding: 2.5rem; border-left: 3px solid #f44438; background: #fff; }
.project-aside p { margin: 0; font-size: 1.6rem; }
.project-form-wrap { padding: 0; border: 0; background: #fff; }
.project-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
.project-field label { display: block; margin-bottom: .3rem; font-size: 1.4rem; font-weight: 700; }
.project-field .form-control { width: 100%; height: auto; min-height: 4.8rem; padding: 1.2rem; border: 1px solid #8c95a5; border-radius: .6rem; background: #fff; color: #262e45; font: inherit; font-size: 1.6rem; text-transform: none; }
.project-field textarea.form-control { min-height: 14rem; resize: vertical; }
.project-field small { display: block; margin-top: .6rem; color: #60697a; font-size: 1.3rem; line-height: 1.6; }
.project-full { grid-column: 1 / -1; }
.project-privacy { margin: .8rem 0 1.2rem; font-size: 1.3rem; line-height: 1.7; color: #4f5870; }
.project-privacy a { color: #b62d23; text-decoration: underline; text-transform: none; }
.project-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.project-feedback { margin-bottom: 2.5rem; padding: 2.5rem; border: 2px solid #178873; border-radius: .6rem; background: #f0faf7; }
.project-feedback h3 { margin-bottom: 1rem; font-size: 2.4rem; }
.project-feedback p, .project-feedback li { font-size: 1.6rem; line-height: 1.7; }
.project-feedback.is-error { border-color: #b62d23; background: #fff5f4; }
.project-feedback ul { padding-left: 2rem; list-style: disc; }
.project-faq-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 5rem; align-items: center; }
.project-faq { min-width: 0; }
.project-faq details { padding: 1.8rem 0; border-bottom: 1px solid #dce1eb; }
.project-faq summary { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 2rem; gap: 1rem; align-items: start; cursor: pointer; list-style: none; font-size: 1.7rem; font-weight: 700; line-height: 1.5; }
.project-faq summary::-webkit-details-marker { display: none; }
.project-faq summary::marker { content: ''; }
.project-faq summary::after { content: '+'; color: #b62d23; font-size: 2.4rem; font-weight: 400; line-height: 1; }
.project-faq details[open] > summary::after { content: '−'; }
.project-faq summary:focus-visible { outline: 3px solid #178873; outline-offset: 4px; }
.project-faq-number { padding-top: .2rem; color: #b62d23; font-size: 1.2rem; letter-spacing: .04em; }
.project-faq details p { margin: 1.2rem 3rem 0 3.4rem; font-size: 1.6rem; }
.project-faq-aside { text-align: center; }
.project-faq-art { display: block; width: 100%; max-width: 38rem; height: auto; margin: 0 auto; }
.site-project .project-faq-aside p { margin: 1.2rem 0 2rem; font-size: 1.8rem; line-height: 1.6; }
.project-final { margin-top: 4rem; }
.site-project .footer-widget-area { padding: 4rem 0; }

/* Composants partagés avec l’accueil : hero-block, heading et icon-block. */
.site-project .project-tint { background: #f3f5ff; }
.project-agency-thumb { padding-right: 5rem; }
.project-agency-thumb img { display: block; width: 100%; max-width: 38rem; height: auto; margin: auto; }
.project-network-art { display: block; width: 100%; max-width: 38rem; height: auto; margin: auto; overflow: visible; }
.project-needs .project-need p { margin: 0 0 1rem; line-height: 1.85; }
.project-service-list { row-gap: 3.5rem; }
.project-service-list > div { display: flex; }
.project-service-list .icon-block { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.project-service-list .icon { height: 6rem; display: flex; align-items: center; }
.project-service-list .icon img { width: auto; max-width: 7rem; max-height: 6rem; }
.project-service-list h3 { min-height: 5.4rem; margin-bottom: 1.2rem; font-size: 2rem; line-height: 1.35; }
.site-project .project-service-list .icon-block p { padding: 0; font-size: 1.6rem; font-weight: 600; line-height: 1.85; }
.site-project .project-work .portfolio-project { border: 0; background: transparent; box-shadow: none; }
.project-work .portfolio-preview { padding: 0; background: #f3f5ff; }
.project-work .portfolio-project-body { padding: 2rem 0 0; }
.project-aside { padding: 0; border: 0; background: transparent; }
.site-project .project-privacy { font-size: 1.3rem; line-height: 1.7; }
.site-project .portfolio-project-body .portfolio-service { font-size: 1.2rem; }
.project-tools .project-service-list .icon-block h3 { color: #fff; }
@media (max-width: 991.98px) {
 .project-visual { margin-top: 3rem; }
 .project-agency-thumb { padding: 0; margin-bottom: 3rem; }
 .project-agency-thumb img { max-width: 25rem; }
 .project-network-art { max-width: 28rem; }
 .project-needs-section .row > div:first-child { order: 2; }
 .project-needs-section .row > div:last-child { order: 1; }
 .project-needs-section .project-agency-thumb { margin: 3rem 0 0; }
 .project-faq-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; }
 .project-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
 .site-project .container { padding-left: 2rem; padding-right: 2rem; }
 .project-header .container { min-height: 7rem; }
 .project-header img { width: 145px; }
 .project-nav .project-secondary-nav { display: none; }
 .project-hero { padding: 3rem 0 0; }
 .project-hero h1 { font-size: 3.4rem; line-height: 1.15; }
 .project-hero .project-lead { font-size: 1.6rem; line-height: 1.75; }
 .project-hero .btn, .project-final .btn, #project-form .btn { width: 100%; min-height: 5.2rem; display: flex; justify-content: center; align-items: center; }
 .project-visual { margin: 3rem -2rem 0; }
 .project-visual img { border-radius: 0; }
 .project-visual figcaption { padding: 1.2rem 2rem; background: #f3f5ff; }
 .project-section { padding: 4.5rem 0; }
 .project-section h2 { font-size: 3.5rem; font-weight: 400; line-height: 1.23; }
 .project-heading { margin-bottom: 2.5rem; }
 .project-agency-thumb { display: block; }
 .project-network-art { max-width: 24rem; }
 .project-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
 .project-faq-art { max-width: 26rem; }
 .project-need { margin-top: 2.5rem; }
 .project-needs .project-need h3 { min-height: 0; font-size: 2rem; }
 .project-service-list { row-gap: 2.8rem; }
 .project-service-list .icon-block { display: grid; grid-template-columns: 5rem minmax(0,1fr); column-gap: 1.6rem; align-items: start; }
 .project-service-list .icon { grid-column: 1; grid-row: 1 / 3; height: auto; margin: .3rem 0 0 !important; }
 .project-service-list .icon img { width: 4.8rem; max-height: 5rem; object-fit: contain; }
 .project-service-list h3 { grid-column: 2; min-height: 0; margin: 0 0 .8rem; font-size: 1.9rem; }
 .project-service-list p { grid-column: 2; margin: 0; }
 .project-work, .project-form-grid, .project-steps { grid-template-columns: minmax(0,1fr); }
 .project-work { gap: 3rem; }
 .project-work h3 { min-height: 0; }
 .project-work .portfolio-preview { margin: 0 -2rem; }
 .project-work .portfolio-preview img { border-radius: 0; }
 .project-work .portfolio-project-body { padding: 2rem 0 0; }
 .project-field .form-control { min-height: 5.2rem; }
 .project-field textarea.form-control { min-height: 14rem; }
 .project-final { margin-top: 2.8rem; }
 .site-project .project-note, .site-project .project-privacy { font-size: 1.3rem; }
}
/* La carte de l’accueil et une géométrie animée aux couleurs JO&CIE. */
.project-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, #fff 25%, #fff1ed 100%); }
.project-hero > .container { position: relative; z-index: 1; }
.project-scenery { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.project-map { position: absolute; width: 115rem; height: 60rem; top: -5rem; right: -8rem; background: url('../img/bg/8.png') center / contain no-repeat; opacity: .2; animation: project-map-drift 18s ease-in-out infinite alternate; }
.project-orbit { position: absolute; width: 54rem; height: 54rem; right: -12rem; bottom: -24rem; border: 6rem solid #f444381a; border-radius: 50%; animation: project-orbit-breathe 12s ease-in-out infinite alternate; }
.project-square { position: absolute; display: block; border: 2px solid #f44438; border-radius: .4rem; animation: project-square-float 10s ease-in-out infinite alternate; }
.project-square-one { width: 5rem; height: 5rem; left: 43%; top: 5%; opacity: .65; }
.project-square-two { width: 2.4rem; height: 2.4rem; right: 5%; top: 14%; background: #f44438; opacity: .7; animation: project-square-drift 14s ease-in-out infinite; animation-delay: -5s; }
.project-square-three { width: 3.5rem; height: 3.5rem; left: 49%; bottom: 9%; border-color: #262e45; opacity: .35; animation: project-square-turn 24s linear infinite; animation-delay: -8s; }
.project-motion-control { display: flex; justify-content: flex-end; margin-top: 1.6rem; }
.project-motion { padding: .7rem 1rem; border: 1px solid #d4d8e1; border-radius: 3rem; background: #ffffffde; color: #4f5870; font: 600 1.1rem/1.4 'Nunito', sans-serif; cursor: pointer; }
.project-motion:hover { background: #fff; border-color: #b62d23; color: #b62d23; }
.project-motion[hidden] { display: none; }
.project-tools { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 15rem; background: #262e45; }
.project-tools > .container { position: relative; z-index: 1; }
.project-tools::before { position: absolute; z-index: -1; content: ''; inset: 0; background: url('../img/bg/8.png') right center / 95rem auto no-repeat; opacity: .25; }
.project-tools::after { position: absolute; z-index: 0; content: ''; height: 13.6rem; left: 0; right: 0; bottom: 0; background: url('../img/bg/cloud.png') center bottom / auto 100% repeat-x; pointer-events: none; }
.project-tools-corner { position: absolute; z-index: -1; width: 28rem; height: 28rem; right: -18rem; top: -8rem; border: 2px solid #f44438; transform: rotate(35deg); pointer-events: none; }
.project-contact-section { position: relative; border-top: 1px solid #f3d1c7; background: #fff0eb; }
.project-contact-section::before { content: ''; position: absolute; top: 0; left: 50%; width: 8rem; height: .4rem; border-radius: 0 0 .4rem .4rem; background: #f44438; transform: translateX(-50%); }
.project-contact-section .project-form-wrap { background: transparent; }
.site-project .project-tools h2, .site-project .project-tools h3, .site-project .project-tools p { color: #fff; }
.site-project .project-tools .project-eyebrow, .project-tools .project-number { color: #ffb4a8; }
.site-project .project-tools .project-note { color: #d5daea; }
.project-tools .project-text-link { color: #fff; text-decoration: underline; text-underline-offset: .3rem; }
.project-tools .project-benefits article { border-color: #ffffff30; }

@keyframes project-map-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-2rem, 1.5rem, 0); } }
@keyframes project-square-float { from { transform: translate3d(0, 0, 0) rotate(-8deg); } to { transform: translate3d(0, -1.4rem, 0) rotate(8deg); } }
@keyframes project-orbit-breathe { from { transform: scale(.94); } to { transform: scale(1.06); } }
.project-animated-art { --project-art-play: paused; }
.project-animated-art.is-visible { --project-art-play: running; }
.project-network-dashes { animation: project-network-flow 2.8s linear infinite; animation-play-state: var(--project-art-play); }
.project-antenna-halo { transform-origin: 213px 28px; animation: project-antenna-pulse 3s ease-out infinite; animation-play-state: var(--project-art-play); }
.project-network-packet { animation: project-network-packet 3s linear infinite; animation-play-state: var(--project-art-play); }
.project-wireless-waves path { opacity: .2; animation: project-wireless-signal 2.4s ease-in-out infinite; animation-play-state: var(--project-art-play); }
.project-wireless-waves path:nth-child(2) { animation-delay: .3s; }
.project-wireless-waves path:nth-child(3) { animation-delay: .6s; }
.project-faq-orbit { animation: project-faq-flow 8s linear infinite; animation-play-state: var(--project-art-play); }
.project-faq-bubble { animation: project-chat-float 5s ease-in-out infinite; animation-play-state: var(--project-art-play); }
.project-faq-reply { opacity: .5; transition: opacity .3s; animation: project-chat-float 5s ease-in-out -2s infinite reverse; animation-play-state: var(--project-art-play); }
.project-faq-aside.has-answer .project-faq-reply { opacity: 1; }
.project-motion-paused .project-animated-art * { animation-play-state: paused !important; }
@keyframes project-network-flow { to { stroke-dashoffset: -44; } }
@keyframes project-faq-flow { to { stroke-dashoffset: -48; } }
@keyframes project-antenna-pulse { 0% { opacity: .7; transform: scale(.85); } 80%,100% { opacity: 0; transform: scale(1.5); } }
@keyframes project-network-packet { 0% { opacity: 0; transform: translateY(0); } 15%,80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-160px); } }
@keyframes project-wireless-signal { 0%,100% { opacity: .2; } 45%,65% { opacity: 1; } }
@keyframes project-chat-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.project-motion-paused .project-scenery * { animation: none !important; }
@media (max-width: 767.98px) {
  .project-map { width: 65rem; height: 34rem; top: 2rem; right: -30rem; opacity: .1; }
  .project-square-one { width: 3rem; height: 3rem; top: 2rem; right: -1rem; left: auto; opacity: .35; }
  .project-square-two, .project-square-three { display: none; }
  .project-orbit { width: 32rem; height: 32rem; border-width: 3.5rem; bottom: 6rem; right: -20rem; }
  .project-motion-control { padding-bottom: 1.2rem; margin-top: .8rem; }
  .project-visual { position: relative; }
  .project-tools::before { background-size: 70rem auto; background-position: 15% 30%; opacity: .1; }
  .project-tools { padding-bottom: 11rem; }
  .project-tools::after { height: 8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .project-scenery * { animation: none !important; }
  .project-animated-art * { animation: none !important; transition: none !important; }
  .project-network-packet, .project-antenna-halo { display: none; }
}


.project-map, .project-tools::before { filter: url("#project-map-ink"); }

/* Les emplacements d’erreur restent toujours présents : aucun décalage à la validation. */
.project-form-section { min-width: 0; padding: 0; margin: 0; border: 0; }
.project-form-section legend { float: none; width: 100%; padding: 0; margin: 0 0 1rem; border: 0; color: #262e45; font-size: 2rem; font-weight: 700; }
.project-field { min-width: 0; }
.project-field label { font-size: 1.5rem; }
.project-field .form-control { background: #f8f9fc; border-color: #a4adbc; transition: border-color .15s, background-color .15s; }
.project-field .form-control:focus { background: #fff; border-color: #262e45; }
.project-field .form-control::placeholder { color: #687389; opacity: 1; font-size: 1.4rem; }
.project-field .form-control[aria-invalid="true"] { border-color: #b62d23; background: #fff7f6; box-shadow: none; }
.project-field-error { display: block; height: 1.5rem; margin: 0; color: #b62d23; font-size: 1.1rem; font-weight: 600; line-height: 1.5rem; overflow-wrap: anywhere; }
.project-field-error:empty { visibility: hidden; }
.project-field small { margin-top: 0; }
.project-char-count { float: right; color: #60697a; font-size: 1.2rem; font-weight: 400; }
.project-submit-note { max-width: 52rem; }
.site-project .project-form-required { margin: 0 0 1rem; color: #60697a; font-size: 1.2rem; line-height: 1.5; }
.project-form-progress { display: flex; gap: 1.6rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.project-form-progress li { display: flex; align-items: center; gap: .8rem; flex: 1; padding-bottom: .8rem; border-bottom: 2px solid #e3e7ee; color: #60697a; font-size: 1.4rem; font-weight: 800; }
.project-form-progress span { width: 2.5rem; height: 2.5rem; flex-shrink: 0; border: 1px solid #a4adbc; border-radius: 50%; text-align: center; line-height: 2.3rem; }
.project-form-progress [aria-current="step"] { color: #262e45; border-color: #f44438; }
.project-form-progress [aria-current="step"] span, .project-form-progress [data-complete="true"] span { background: #f44438; border-color: #f44438; color: #fff; }
.project-form-actions { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.project-form-actions .btn { min-height: 5rem; }
#project-back, #project-back:hover, #project-back:focus, #project-back:active { box-shadow: none !important; text-shadow: none; filter: none; transform: none; }
#project-back { border-color: #a4adbc; background: transparent; color: #262e45; }
#project-back:hover, #project-back:focus, #project-back:active { border-color: #262e45; background: #fff; color: #262e45; }
#project-back:disabled { opacity: .55; }
.project-form-progress[hidden], .project-form-section[hidden], .project-form-actions[hidden], #project-back[hidden] { display: none !important; }
.site-project .project-submit-note { margin-top: 1rem; font-size: 1.2rem; }
@media (max-width: 767.98px) {
 .project-form-actions { flex-direction: column; }
 .project-form-actions #project-back { order: 2; }
 .project-form-progress { gap: 1rem; }
 .project-form-progress li { font-size: 1.25rem; }
}
.project-form-wrap { position: relative; scroll-margin-top: 11rem; }
.project-is-celebrating { overflow: hidden; transition: height .55s ease; }
.project-celebration { position: absolute; z-index: 3; top: 0; left: 0; width: 100%; pointer-events: none; }
.project-send-success { min-height: 34rem; padding: 4rem 2.5rem; border: 1px solid #ffd3cd; border-radius: .8rem; background: linear-gradient(135deg, #fff, #fff3ef); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.project-success-mark { width: 6rem; height: 6rem; margin-bottom: 2rem; border-radius: 50%; background: #f44438; color: #fff; font-size: 3.5rem; line-height: 6rem; }
.site-project .project-send-success h3 { max-width: 48rem; margin: 0 0 1.5rem; font-size: 2.8rem; line-height: 1.3; }
.site-project .project-send-success p { max-width: 46rem; margin: 0; font-size: 1.6rem; line-height: 1.7; }
.project-send-success[hidden], #project-send-error[hidden], #project-form[hidden] { display: none !important; }
@media (max-width: 767.98px) {
 .project-send-success { padding: 3rem 2rem; }
 .site-project .project-send-success h3 { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
 .project-field .form-control { transition: none; }
}

/* Rythme de l’accueil : les textes restent fixes sur mobile et en mode pause. */
@keyframes project-square-drift { 0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); } 50% { transform: translate3d(-1.8rem, 1.2rem, 0) rotate(-12deg); } }
@keyframes project-square-turn { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.project-motion-paused [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (max-width: 1023.98px), (prefers-reduced-motion: reduce) {
 .site-project [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
