/* Compatibilité WordPress / Elementor — complète site.css */

/* Sections Val Impressions : pleine largeur, sans marges ajoutées par Elementor */
.elementor-section.vi-wrap > .elementor-container { max-width: none; }
.elementor-section.vi-wrap .elementor-widget-wrap { padding: 0 !important; }
.elementor .elementor-widget[class*="elementor-widget-vi-"] { margin-bottom: 0; --widgets-spacing: 0; }
.elementor .hero-photo img,
.elementor .work-image img { height: 100%; }
.elementor .footer-brand img { height: auto; }

/* Dans l'éditeur Elementor, tout est visible tout de suite */
.elementor-editor-active .reveal,
.elementor-editor-active .intro { opacity: 1 !important; transform: none !important; animation: none !important; }

/* Barre d'administration WordPress */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .header { top: 0; } }

/* Champ anti-robots du formulaire */
.vi-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

.footer-bottom a { text-decoration: underline; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* Pages classiques (mentions légales, confidentialité…) */
.vi-page { max-width: 860px; }
.vi-page-title { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 6vw, 84px); line-height: .98; letter-spacing: -.025em; margin-bottom: 40px; }
.vi-page-content { font-size: 16px; line-height: 1.85; }
.vi-page-content h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 48px 0 16px; }
.vi-page-content h3 { font-size: 18px; margin: 32px 0 10px; }
.vi-page-content p, .vi-page-content ul, .vi-page-content ol { margin: 0 0 1.2em; }
.vi-page-content a { color: var(--red); text-decoration: underline; }
.vi-page-content img { height: auto; }

/* Séparateurs du bandeau : simples points à la place des étoiles */
.ticker i.sep { display: inline-block; width: 9px; height: 9px; margin: 0 30px; border-radius: 50%; background: currentColor; opacity: .75; vertical-align: middle; font-size: 0; }
.print-stamp span { font-size: 10px; line-height: 1.6; }
@media (max-width: 800px) { .ticker i.sep { width: 7px; height: 7px; margin: 0 22px; } }

/* Aperçu au survol des prestations */
.service-preview { position: fixed; left: 0; top: 0; z-index: 45; width: 240px; height: 300px; margin: -150px 0 0 38px; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform, opacity; }
.service-preview.visible { opacity: 1; }
.service-preview-inner { width: 100%; height: 100%; padding: 9px; background: #fffdfa; box-shadow: 0 24px 55px #2920182e; overflow: hidden; transform: scale(.82); transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.service-preview.visible .service-preview-inner { transform: scale(1); }
.service-preview img { width: 100%; height: 100%; object-fit: cover; display: block; animation: vi-preview-pan 7s ease-in-out infinite alternate; }
.service-preview.swap img { animation: vi-preview-in .55s cubic-bezier(.2,.7,.3,1), vi-preview-pan 7s ease-in-out .55s infinite alternate; }
@keyframes vi-preview-pan { from { transform: scale(1.08) translate(-2%, -1.5%); } to { transform: scale(1.2) translate(2.5%, 2%); } }
@keyframes vi-preview-in { from { clip-path: inset(100% 0 0 0); transform: scale(1.3); } to { clip-path: inset(0 0 0 0); transform: scale(1.08) translate(-2%, -1.5%); } }
.motion-paused .service-preview img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .service-preview { display: none; } }

/* Formulaire : dépôt de fichiers */
.file-drop { margin: 0 0 22px; }
.file-drop-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.file-drop-label em { font-style: normal; font-weight: 400; color: var(--muted); }
.contact-form label.file-drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 24px 18px 22px; border: 1px dashed #b9b1a4; background: #fffdfa; text-align: center; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.contact-form label.file-drop-zone:hover, .contact-form label.file-drop-zone.dragging { border-color: var(--red); background: #fbf1f3; }
.contact-form label.file-drop-zone.dragging { transform: scale(1.01); }
.contact-form label.file-drop-zone span { color: inherit; }
.file-drop-zone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.file-drop-zone:focus-within { outline: 3px solid #c97822; outline-offset: 3px; }
.file-drop-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--red); position: relative; margin-bottom: 4px; }
.file-drop-icon:before, .file-drop-icon:after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%, -50%); }
.file-drop-icon:before { width: 14px; height: 2px; }
.file-drop-icon:after { width: 2px; height: 14px; }
.file-drop-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.file-drop-title span { font-weight: 400; color: var(--muted) !important; }
.file-drop-hint { font-size: 11px; font-weight: 400; color: var(--muted) !important; line-height: 1.6; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.file-list:empty { display: none; }
.file-list li { display: grid; grid-template-columns: 44px 1fr auto 28px; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; background: #fffdfa; border: 1px solid var(--line); font-size: 13px; animation: fade .3s; }
.file-ext { font-size: 9px; font-weight: 700; letter-spacing: .8px; color: #fff; background: var(--ink); text-align: center; padding: 4px 0; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: 11px; color: var(--muted); }
.file-remove { width: 28px; height: 28px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muted); }
.file-remove:hover { color: var(--red); }
.contact-form.sending .button { opacity: .75; cursor: progress; }
.contact-form.sent .form-status { color: #1f7a45; font-weight: 600; }

/* Bandeau rouge : défile toujours (pas de pause au survol, au toucher ni avec « Réduire les animations ») */
.ticker .ticker-track,
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track,
.motion-paused .ticker .ticker-track { animation: ticker 44s linear infinite !important; animation-play-state: running !important; }
@media (prefers-reduced-motion: reduce) { .ticker .ticker-track { animation-duration: 90s !important; } }

/* Pages prestations */
.svc-hero { padding-top: 40px; padding-bottom: 70px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .6px; color: var(--muted); margin-bottom: 44px; }
.breadcrumb a { border-bottom: 1px solid currentColor; }
.breadcrumb a:hover { color: var(--red); }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 6%; align-items: center; }
.svc-hero .eyebrow { margin: 0 0 26px; }
.svc-hero h1 { font-size: clamp(54px, 6.2vw, 100px); letter-spacing: -.035em; line-height: .98; margin-left: -2px; }
.svc-hero h1 em { display: block; }
.svc-intro { max-width: 560px; }
.svc-visual { padding: 10px 0 0 10px; }
.svc-visual .hero-art { transform: rotate(1.6deg); }
.svc-visual .hero-photo { aspect-ratio: 1.15; }
.svc-offer { padding-top: 70px; border-top: 1px solid var(--line); }
.svc-tags { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.svc-tags li { font: 600 26px/1.2 var(--display); padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.svc-tags li:before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.svc-details { background: #ece8ded6; }
.svc-details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.svc-details article > span { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; color: var(--red); }
.svc-details article h2 { font-size: 34px; line-height: 1.08; margin: 14px 0 16px; }
.svc-details article p { font-size: 15px; line-height: 1.9; color: #655e54; }
.svc-faq .service-name { font-size: 28px; margin: 0; }
.svc-faq .service summary { grid-template-columns: 48px 1fr 0 22px; }
.svc-more { padding-top: 60px; padding-bottom: 60px; border-top: 1px solid var(--line); }
.svc-more-links { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc-more-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 28px; background: #fffdfa; border: 1px solid var(--line); font: 600 30px/1.1 var(--display); transition: border-color .2s, transform .25s, color .2s; }
.svc-more-links a:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }
.svc-more-links b { font-weight: 400; font-size: 26px; }
.service-content .svc-link { margin-left: 22px; }
.footer-services { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 1150px) {
	.svc-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-details-grid { gap: 32px; }
	.svc-details article h2 { font-size: 30px; }
}
@media (max-width: 800px) {
	.svc-hero { padding-top: 26px; padding-bottom: 50px; }
	.breadcrumb { margin-bottom: 30px; }
	.svc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.svc-hero h1 { font-size: clamp(48px, 12.5vw, 80px); }
	.svc-tags { grid-template-columns: 1fr; margin-top: 30px; }
	.svc-tags li { font-size: 23px; padding: 17px 0; }
	.svc-details-grid { grid-template-columns: 1fr; gap: 34px; }
	.svc-faq .service-name { font-size: 23px; }
	.svc-faq .service summary { grid-template-columns: 24px 1fr 20px; }
	.svc-faq .service-short { display: none; }
	.svc-more-links { grid-template-columns: 1fr; }
	.svc-more-links a { font-size: 25px; padding: 22px; }
	.service-content .svc-link { margin: 14px 0 0; display: inline-block; }
}
.nowrap { white-space: nowrap; }
