/*
Theme Name: KeraVolt
Theme URI: https://keravolt.fr/
Author: KeraVolt
Description: Thème Gutenberg sur mesure reproduisant la maquette officielle KeraVolt.
Version: 5.1.4
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: keravolt
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, featured-images
*/

:root {
  --kv-blue: #0a5bd7;
  --kv-blue-bright: #075ee8;
  --kv-blue-deep: #0047bb;
  --kv-anthracite: #1f2937;
  --kv-navy: #101d2d;
  --kv-offwhite: #fafafa;
  --kv-gray: #f3f5f7;
  --kv-border: #dfe4ea;
  --kv-text: #111c2c;
  --kv-muted: #4f5c6d;
  --kv-shadow: 0 10px 28px rgba(23, 37, 57, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.wp-site-blocks > * { margin-block-start: 0; }
body, p, li, a, button { font-family: "Inter", Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .wp-block-site-title { font-family: "Exo 2", Arial, sans-serif; }
a { text-underline-offset: .18em; }
img { display: block; }

/* Largeur fluide : la maquette occupe réellement les grands écrans sans devenir illisible. */
.kv-header-row,
.kv-guarantee-row,
.kv-section > .alignwide,
.kv-audiences > .alignwide,
.kv-final-cta > .alignwide,
.kv-footer > .alignwide {
  width: min(1840px, 94vw);
  max-width: min(1840px, 94vw);
}

.kv-brand-logo { display: block; width: clamp(270px, 19vw, 340px); height: 116px; background: url("assets/images/keravolt-logo-transparent.webp") left center / contain no-repeat; overflow: hidden; text-indent: -9999px; flex: 0 0 auto; }
.kv-brand-logo--footer { width: clamp(250px, 20vw, 330px); height: 114px; background-image: url("assets/images/keravolt-logo-footer.webp"); opacity: 1; }
.kv-header { position: relative; z-index: 30; border-bottom: 1px solid rgba(31, 41, 55, .08); box-shadow: 0 3px 12px rgba(31, 41, 55, .05); }
.kv-header-row { min-height: 126px; }
.kv-header .wp-block-navigation { flex: 1; }
.kv-header .wp-block-navigation__container { gap: clamp(.7rem, 1.3vw, 1.55rem); }
.kv-header .wp-block-navigation-item__content { color: var(--kv-text); text-decoration: none; position: relative; padding: .35rem 0; }
.kv-header .wp-block-navigation-item__content:hover { color: var(--kv-blue); }
.kv-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.kv-header .wp-block-navigation-item__content[aria-current="page"] { color: var(--kv-blue); }
.kv-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after,
.kv-header .wp-block-navigation-item__content[aria-current="page"]::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: 0; background: var(--kv-blue); }

.kv-button .wp-block-button__link { min-width: 190px; min-height: 52px; padding: .88rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; line-height: 1.15; text-align: center; letter-spacing: .01em; box-shadow: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.kv-header-cta .wp-block-button__link { min-width: 0; min-height: 48px; white-space: nowrap; }
.kv-button--devis .wp-block-button__link::before,
.kv-header-cta .wp-block-button__link::before,
.kv-button--phone .wp-block-button__link::before { content: ""; width: 22px; height: 22px; flex: 0 0 auto; background-position: center; background-size: contain; background-repeat: no-repeat; }
.kv-button--devis .wp-block-button__link::before,
.kv-header-cta .wp-block-button__link::before { background-image: url("assets/images/icon-devis.webp"); }
.kv-button--phone .wp-block-button__link::before { background-image: url("assets/images/icon-telephone.webp"); }
.kv-button--devis .wp-block-button__link:not(.has-white-background-color)::before,
.kv-header-cta .wp-block-button__link::before { filter: brightness(0) invert(1); }
.kv-button .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10, 91, 215, .24); }
.kv-button-outline .wp-block-button__link:hover { background: var(--kv-blue) !important; color: #fff !important; border-color: var(--kv-blue) !important; }
.kv-link { color: var(--kv-blue); text-decoration: none; font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .02em; }
.kv-link::after { content: "  →"; margin-left: .35rem; }

.kv-hero { background: linear-gradient(108deg, #fbfbfb 0%, #f2f4f7 54%, #fff 54%); }
.kv-hero-grid { min-height: clamp(580px, 72vh, 720px); gap: 0 !important; }
.kv-hero-copy { padding: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 4vw, 5rem) clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 5rem); }
.kv-hero-media { min-height: 580px; position: relative; overflow: hidden; }
.kv-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; position: absolute; inset: 0; }
.kv-eyebrow { color: var(--kv-blue); text-transform: uppercase; letter-spacing: .085em; font-size: .85rem; font-weight: 850; }
.kv-hero h1 { font-size: clamp(3.4rem, 5.4vw, 6.3rem); max-width: 840px; letter-spacing: -.045em; margin: .65rem 0 1.3rem; }
.kv-hero h1 strong { color: var(--kv-blue); font-weight: inherit; }
.kv-hero-intro { font-size: clamp(1.05rem, 1.25vw, 1.25rem); line-height: 1.55; max-width: 590px; color: var(--kv-text); }
.kv-blue-rule { width: 48px; border-top: 3px solid var(--kv-blue); margin: .25rem 0 1.1rem; }
.kv-mini-trust { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; max-width: 720px; margin-top: 1.25rem; gap: .8rem 1rem !important; color: #233146; font-size: .84rem; }
.kv-mini-trust span { min-width: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; line-height: 1.25; }
.kv-mini-trust span::before { content: ""; width: 28px; height: 28px; display: block; flex: 0 0 auto; background-position: center; background-size: contain; background-repeat: no-repeat; }
.kv-mini-trust span:nth-child(1)::before { background-image: url("assets/images/icon-rapidite.webp"); }
.kv-mini-trust span:nth-child(2)::before { background-image: url("assets/images/icon-devis.webp"); }
.kv-mini-trust span:nth-child(3)::before { background-image: url("assets/images/icon-qualite.webp"); }
.kv-floating-proof { position: absolute; right: 2.5rem; bottom: 2.5rem; z-index: 3; width: min(350px, 78%); padding: 1.1rem 1.25rem; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 1rem; background: rgba(16,29,45,.94); color: #fff; border-radius: 10px; box-shadow: var(--kv-shadow); }
.kv-floating-proof img { position: static; inset: auto; width: 58px; height: 58px; object-fit: contain; }
.kv-floating-proof > div { grid-column: 2; min-width: 0; }
.kv-floating-proof strong { display: block; font-family: "Exo 2",sans-serif; font-size: 1rem; text-transform: uppercase; }
.kv-floating-proof span { color: #eef2f7; font-size: .87rem; }

.kv-guarantees { background: linear-gradient(96deg, #142235, #1f3046); color: #fff; }
.kv-guarantee-row { min-height: 108px; align-items: center !important; }
.kv-guarantee { padding: 1rem 1.6rem; border-right: 1px solid rgba(255,255,255,.25); }
.kv-guarantee:last-child { border-right: 0; }
.kv-guarantee-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; flex: 0 0 auto; overflow: hidden; }
.kv-guarantee-icon img { width: 100%; height: 100%; object-fit: contain; }
.kv-guarantee strong { display: block; text-transform: uppercase; font-size: .88rem; margin-bottom: .15rem; }
.kv-guarantee small { display: block; color: #e1e7ee; line-height: 1.45; }

.kv-section { padding-top: clamp(4.5rem, 7vw, 7rem); padding-bottom: clamp(4.5rem, 7vw, 7rem); }
.kv-section-head { margin-bottom: 2.2rem; }
.kv-section-head h2 { margin: .3rem 0; }
.kv-services { background: linear-gradient(180deg, #f7f8fa, #eef1f5); }
.kv-service-grid { align-items: stretch !important; }
.kv-service-card { height: 100%; padding: clamp(1.6rem, 2.5vw, 2.3rem); border: 1px solid var(--kv-border); border-radius: 9px; background: #fff; box-shadow: 0 8px 22px rgba(31,41,55,.08); transition: transform .2s ease, box-shadow .2s ease; }
.kv-service-card:hover { transform: translateY(-4px); box-shadow: var(--kv-shadow); }
.kv-service-icon, .kv-round-icon { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: #e9f0fb; color: var(--kv-blue); font-size: 1.8rem; font-weight: 900; }
.kv-service-icon img, .kv-round-icon img { width: 78%; height: 78%; object-fit: contain; }
.kv-round-icon { width: 76px; height: 76px; }
.kv-round-icon img { width: 84%; height: 84%; }
.kv-service-card h3 { margin: 0 0 .7rem; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.kv-service-card p { color: var(--kv-muted); }

.kv-audiences { background: var(--kv-gray); padding-bottom: clamp(4.5rem, 7vw, 7rem); }
.kv-audience-grid { gap: 1.4rem !important; }
.kv-audience-card { min-height: 420px; border: 1px solid var(--kv-border); border-radius: 10px; overflow: hidden; box-shadow: var(--kv-shadow); }
.kv-audience-private { background: #fff; }
.kv-audience-private .kv-audience-photo { min-height: 420px; }
.kv-audience-photo { position: relative; min-height: 100%; overflow: hidden; }
.kv-audience-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv-audience-copy { padding: clamp(2rem, 3vw, 3rem); }
.kv-audience-copy h3 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); margin: 0 0 .7rem; }
.kv-check-list { list-style: none; padding: 0; }
.kv-check-list li { margin: .55rem 0; }
.kv-check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; border: 1.5px solid var(--kv-blue); border-radius: 50%; color: var(--kv-blue); font-size: .65rem; font-weight: 900; margin-right: .5rem; }
.kv-audience-pro { color: #fff; background: linear-gradient(125deg,#172437,#0f1928); }
.kv-audience-pro .kv-check-list li::before { border-color: #fff; color: #fff; }
.kv-industry { background: linear-gradient(105deg,#0047bb,#0a66ed); color: #fff; padding: 1.2rem 1.5rem; }
.kv-industry-title { display: flex; align-items: center; gap: .85rem; }
.kv-industry-title > img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.kv-industry h4 { color: #fff; margin: 0; font-size: 1.05rem; }
.kv-industry p { margin: .2rem 0 0; font-size: .85rem; }

.kv-proof-section { background: #fafafa; }
.kv-proof-section > .alignwide > .wp-block-column:nth-child(2) > .kv-eyebrow { font-size: 1rem; letter-spacing: .07em; }
.kv-proof-photo { min-height: 355px; position: relative; border-radius: 10px; overflow: hidden; }
.kv-proof-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv-experience-badge { position: absolute; left: 1.2rem; bottom: 1.2rem; background: #fff; border-radius: 8px; padding: .8rem 1.1rem; box-shadow: var(--kv-shadow); color: var(--kv-blue); font-family: "Exo 2",sans-serif; font-size: 1.75rem; font-weight: 800; line-height: 1; }
.kv-experience-badge small { display: block; color: var(--kv-text); font-family: Inter,sans-serif; font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; margin-top: .3rem; }
.kv-commitments { gap: 1.4rem !important; margin-top: 1.3rem; }
.kv-commitment { display: flex; align-items: center; gap: .65rem; font-size: .85rem; color: var(--kv-muted); }
.kv-commitment img { width: 42px; height: 42px; object-fit: contain; flex: 0 0 auto; }
.kv-project-card { height: 100%; padding: 1.75rem; background: linear-gradient(125deg,#162438,#101b29); color: #fff; border-radius: 10px; box-shadow: var(--kv-shadow); }
.kv-project-card h3 { color: #fff; margin: .25rem 0 .6rem; font-size: 1.8rem; }
.kv-project-thumb { min-height: 205px; border-radius: 8px; overflow: hidden; }
.kv-project-thumb img { width: 100%; height: 205px; object-fit: cover; }

.kv-zone { background: #f2f4f6; }
.kv-zone-card { border: 1px solid var(--kv-border); border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 6px 20px rgba(31,41,55,.07); }
.kv-zone-copy { padding: clamp(1.7rem, 3vw, 2.7rem); }
.kv-zone-icon { width: 64px; height: 64px; flex: 0 0 auto; }
.kv-zone-icon img { width: 100%; height: 100%; object-fit: contain; }
.kv-map { min-height: 300px; position: relative; overflow: hidden; background: #e8edf3; }
.kv-map-consent { min-height: 300px; height: 100%; display: grid; place-items: center; padding: 1.5rem; text-align: center; background: linear-gradient(135deg,#eef3f8,#dce5ef); }
.kv-map-consent img { width: 62px; height: 62px; object-fit: contain; margin: 0 auto .75rem; }
.kv-map-consent button { padding: .75rem 1rem; color: #fff; background: var(--kv-blue); border: 0; border-radius: 6px; font-weight: 800; cursor: pointer; }
.kv-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kv-zone-wide { border-left: 1px solid var(--kv-border); padding: clamp(1.5rem, 2.5vw, 2.3rem); }
.kv-zone-wide .kv-zone-icon { margin-bottom: .8rem; }

.kv-final-cta { background: linear-gradient(105deg,#084bb8,#075ee8); color: #fff; padding: 1.5rem 0; }
.kv-final-cta h2 { color: #fff; margin: 0; font-size: clamp(1.8rem,3vw,2.7rem); }
.kv-final-cta p { margin: .15rem 0 0; }
.kv-final-cta .wp-block-button__link { min-width: min(330px,80vw); color: var(--kv-blue) !important; }
.kv-cta-icon { width: 72px; height: 72px; padding: .65rem; border-radius: 50%; background: #fff; flex: 0 0 auto; }
.kv-cta-icon img { width: 100%; height: 100%; object-fit: contain; }
.kv-footer { background: linear-gradient(110deg,#142235,#0e1927); color: #fff; }
.kv-footer a { color: #fff; text-decoration: none; }
.kv-footer a:hover { color: #85b3ff; }
.kv-footer p { color: #dce3ea; }
.kv-footer-contact { display: grid; gap: .45rem; }
.kv-footer-line { display: flex; align-items: center; gap: .55rem; color: #dce3ea; }
.kv-footer-line::before { content: ""; width: 21px; height: 21px; flex: 0 0 auto; background-position: center; background-size: contain; background-repeat: no-repeat; }
.kv-footer-line--phone::before { background-image: url("assets/images/icon-telephone.webp"); }
.kv-footer-line--email::before { background-image: url("assets/images/icon-email.webp"); }
.kv-footer-line--web::before { background-image: url("assets/images/icon-site.webp"); }
.kv-footer-line--location::before { background-image: url("assets/images/icon-localisation.webp"); }
.kv-footer-legal-id { color: #9fb0c3; font-size: .78rem; }
.kv-contact-line { display: flex; align-items: center; gap: .55rem; margin: .35rem 0; }
.kv-contact-line img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; }
.kv-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.2rem; margin-top: 1rem; }
.kv-mobile-bar { display: none; }

/* Pages intérieures */
.kv-page-hero { position: relative; overflow: hidden; background: linear-gradient(112deg,#f8f9fb 0%,#eef2f6 58%,#e7edf5 100%); }
.kv-page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; top: -210px; border: 70px solid rgba(10,91,215,.08); border-radius: 50%; pointer-events: none; }
.kv-page-hero > .alignwide,
.kv-page-section > .alignwide,
.kv-dark-section > .alignwide { width: min(1840px,94vw); max-width: min(1840px,94vw); }
.kv-page-hero-copy { padding: clamp(4rem,7vw,7rem) 0; position: relative; z-index: 1; }
.kv-page-hero h1 { font-size: clamp(3rem,5vw,5.5rem); max-width: 880px; margin: .65rem 0 1.25rem; }
.kv-page-hero-intro { max-width: 720px; font-size: clamp(1.05rem,1.4vw,1.28rem); color: var(--kv-muted); }
.kv-page-hero-media { min-height: 480px; position: relative; overflow: hidden; }
.kv-page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv-page-hero--brand .kv-page-hero-media img { object-fit: contain; padding: clamp(2rem,5vw,5rem); }
.kv-page-section { padding: clamp(4.5rem,7vw,7rem) 0; background: var(--kv-offwhite); }
.kv-page-section--gray { background: var(--kv-gray); }
.kv-page-section--white { background: #fff; }
.kv-page-section h2, .kv-dark-section h2 { font-size: clamp(2.25rem,3.7vw,4rem); margin: .35rem 0 1.1rem; }
.kv-lead { font-size: 1.12rem; color: var(--kv-muted); max-width: 760px; }
.kv-dark-section { padding: clamp(4.5rem,7vw,7rem) 0; color: #fff; background: linear-gradient(120deg,#17263a,#0e1928); }
.kv-dark-section h2, .kv-dark-section h3 { color: #fff; }
.kv-dark-section p { color: #dce5ef; }
.kv-feature-band { overflow: hidden; border: 1px solid var(--kv-border); border-radius: 12px; background: #fff; box-shadow: var(--kv-shadow); }
.kv-feature-band + .kv-feature-band { margin-top: 1.5rem; }
.kv-feature-media { min-height: 410px; position: relative; overflow: hidden; }
.kv-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv-feature-copy { padding: clamp(2rem,4vw,4.5rem); }
.kv-feature-copy h2 { font-size: clamp(2rem,3vw,3.4rem); }
.kv-feature-list { columns: 2; column-gap: 2rem; padding-left: 1.2rem; }
.kv-feature-list li { break-inside: avoid; margin: .55rem 0; }
.kv-step-row { counter-reset: kv-step; gap: 1rem !important; }
.kv-step { counter-increment: kv-step; padding: 1.6rem; border-top: 3px solid var(--kv-blue); background: #fff; }
.kv-step::before { content: "0" counter(kv-step); display: block; color: var(--kv-blue); font-family: "Exo 2",sans-serif; font-size: 1.7rem; font-weight: 800; margin-bottom: .8rem; }
.kv-stat { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.25); }
.kv-stat strong { display: block; color: #fff; font-family: "Exo 2",sans-serif; font-size: clamp(2.2rem,4vw,4.3rem); line-height: 1; }
.kv-stat span { color: #dce5ef; }
.kv-value { padding: 2rem; border-left: 3px solid var(--kv-blue); background: #fff; }
.kv-value h3 { margin-top: 0; }

/* Galerie des chantiers */
.kv-gallery { display: grid !important; grid-template-columns: repeat(12,1fr); gap: 1rem !important; }
.kv-gallery > .wp-block-image { width: auto !important; margin: 0 !important; grid-column: span 6; min-height: 430px; border-radius: 10px; overflow: hidden; position: relative; background: #dfe4ea; }
.kv-gallery > .wp-block-image:last-child:nth-child(odd) { grid-column: span 12; min-height: 500px; }
.kv-gallery > .wp-block-image img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .35s ease; }
.kv-gallery > .wp-block-image:hover img { transform: scale(1.025); }
.kv-gallery .wp-element-caption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 3rem 1rem 1rem; color: #fff; text-align: left; font-weight: 700; background: linear-gradient(transparent,rgba(8,17,29,.88)); }
.kv-gallery-tags { gap: .65rem !important; margin-bottom: 1.5rem; }
.kv-gallery-tag { padding: .45rem .8rem; border: 1px solid #c9d1db; border-radius: 999px; color: var(--kv-muted); font-size: .8rem; font-weight: 700; background: #fff; }

/* Contact */
.kv-contact-layout { align-items: flex-start !important; }
.kv-contact-panel { padding: clamp(2rem,3.5vw,3.5rem); color: #fff; background: linear-gradient(135deg,#17263a,#0e1928); border-radius: 12px; box-shadow: var(--kv-shadow); }
.kv-contact-panel h2, .kv-contact-panel h3 { color: #fff; }
.kv-contact-panel p { color: #dce5ef; }
.kv-contact-panel a { color: #fff; text-decoration: none; }
.kv-contact-panel a:hover { color: #8ebaff; }
.kv-contact-method { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.kv-contact-method strong { color: #fff; display: block; margin-bottom: .2rem; }
.kv-contact-form-wrap { padding: clamp(1.5rem,3vw,3rem); border: 1px solid var(--kv-border); border-radius: 12px; background: #fff; box-shadow: var(--kv-shadow); }
.kv-contact-form label { display: block; color: var(--kv-text); font-size: .88rem; font-weight: 750; }
.kv-contact-form input:not([type="checkbox"]), .kv-contact-form select, .kv-contact-form textarea { width: 100%; margin-top: .45rem; padding: .85rem .95rem; color: var(--kv-text); background: #f8fafc; border: 1px solid #cfd7e1; border-radius: 6px; font: inherit; }
.kv-contact-form input:focus, .kv-contact-form select:focus, .kv-contact-form textarea:focus { outline: 3px solid rgba(10,91,215,.16); border-color: var(--kv-blue); }
.kv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.kv-form-consent label { display: flex; align-items: flex-start; gap: .55rem; font-weight: 500; }
.kv-form-consent input { margin-top: .2rem; }
.kv-form-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 0; }
.kv-form-submit button { min-height: 50px; padding: .85rem 1.35rem; color: #fff; background: var(--kv-blue); border: 0; border-radius: 6px; font-weight: 800; cursor: pointer; }
.kv-form-submit button:hover { background: var(--kv-blue-deep); }
.kv-form-submit small { color: var(--kv-muted); }
.kv-form-notice { margin-bottom: 1.2rem; padding: 1rem 1.1rem; border-radius: 6px; font-weight: 650; }
.kv-form-success { color: #14532d; background: #dcfce7; border: 1px solid #86efac; }
.kv-form-warning { color: #713f12; background: #fef3c7; border: 1px solid #facc15; }
.kv-form-error { color: #7f1d1d; background: #fee2e2; border: 1px solid #fca5a5; }
.kv-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.kv-faq details { margin-bottom: .75rem; padding: 1rem 1.2rem; border: 1px solid var(--kv-border); border-radius: 7px; background: #fff; }
.kv-faq summary { cursor: pointer; color: var(--kv-text); font-weight: 800; }
.kv-faq details p { margin-bottom: 0; color: var(--kv-muted); }

/* Pages juridiques */
.kv-legal-hero .kv-page-hero-copy { max-width: 1120px; margin-inline: auto; }
.kv-legal-content { width: min(1050px,90vw) !important; max-width: 1050px !important; margin-inline: auto; }
.kv-legal-content h2 { margin: 3.1rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--kv-border); font-size: clamp(1.7rem,2.6vw,2.4rem); }
.kv-legal-content h3 { margin-top: 2rem; font-size: 1.35rem; }
.kv-legal-content p, .kv-legal-content li { line-height: 1.75; }
.kv-legal-content li + li { margin-top: .55rem; }
.kv-legal-updated { display: inline-block; margin: 0 0 1rem; padding: .55rem .8rem; color: var(--kv-blue-deep); background: #eaf2ff; border-radius: 5px; font-weight: 750; }
.kv-legal-alert { margin: 1.4rem 0; padding: 1.15rem 1.3rem; color: #713f12; background: #fff7d6; border: 1px solid #eab308; border-left-width: 5px; border-radius: 7px; }
.kv-legal-alert p { margin: 0; }
.kv-withdrawal-form { margin-top: 3rem; padding: clamp(1.4rem,3vw,2.5rem); background: var(--kv-gray); border: 1px solid var(--kv-border); border-radius: 9px; }
.kv-withdrawal-form h2 { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 1050px) {
  .kv-header-cta { display: none !important; }
  .kv-header .wp-block-navigation__container { gap: 1rem; }
  .kv-hero h1 { font-size: clamp(3rem, 6vw, 4.6rem); }
  .kv-guarantee { padding-inline: .8rem; }
  .kv-brand-logo { width: 255px; height: 92px; }
  .kv-header-row { min-height: 102px; }
  .kv-page-hero-media { min-height: 410px; }
  .kv-gallery > .wp-block-image { min-height: 340px; }
}
@media (max-width: 781px) {
  body { padding-bottom: 66px; }
  .kv-header-row { min-height: 82px; padding: .45rem 1rem !important; }
  .kv-header-row,
  .kv-guarantee-row,
  .kv-section > .alignwide,
  .kv-audiences > .alignwide,
  .kv-final-cta > .alignwide,
  .kv-footer > .alignwide { width: calc(100% - 2rem); max-width: calc(100% - 2rem); }
  .kv-page-hero > .alignwide,
  .kv-page-section > .alignwide,
  .kv-dark-section > .alignwide { width: calc(100% - 2rem); max-width: calc(100% - 2rem); }
  .kv-brand-logo { width: 205px; height: 72px; }
  .kv-header .wp-block-navigation { flex: 0 0 auto; }
  .wp-block-navigation__responsive-container.is-menu-open { min-height: 100dvh; padding: 1.5rem; color: #fff; background: linear-gradient(145deg, #101d2d, #172a43 65%, #0a5bd7); }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { justify-content: center; align-items: center; padding-top: 4.5rem; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: center; gap: .55rem; font-size: 1.2rem; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; padding: .72rem 1.15rem; color: #fff !important; text-align: center; }
  .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] { color: #8db8ff !important; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 1.35rem; right: 1.35rem; color: #fff; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 32px; height: 32px; fill: currentColor; }
  .kv-hero { background: #f6f7f9; }
  .kv-hero-grid { min-height: 0; }
  .kv-hero-copy { padding: 3.5rem 1.25rem 2.5rem; }
  .kv-hero h1 { font-size: clamp(2.75rem, 12vw, 4.2rem); }
  .kv-hero-media { min-height: 420px; }
  .kv-floating-proof { right: 1rem; bottom: 1rem; }
  .kv-mini-trust { grid-template-columns: 1fr; }
  .kv-guarantee { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); padding: 1.1rem 0; }
  .kv-guarantee:last-child { border-bottom: 0; }
  .kv-section { padding-top: 4rem; padding-bottom: 4rem; }
  .kv-audience-private .kv-audience-photo { min-height: 300px; }
  .kv-audience-card { min-height: 0; }
  .kv-audience-pro .kv-audience-photo { min-height: 270px; }
  .kv-proof-photo { min-height: 300px; }
  .kv-zone-wide { border-left: 0; border-top: 1px solid var(--kv-border); }
  .kv-final-cta { padding: 2rem 1rem; }
  .kv-final-cta .wp-block-buttons { justify-content: flex-start !important; }
  .kv-mobile-bar { position: fixed; z-index: 100; display: grid; grid-template-columns: 1fr 1fr; left: 0; right: 0; bottom: 0; height: 66px; background: #fff; box-shadow: 0 -4px 18px rgba(16,29,45,.15); }
  .kv-mobile-bar a { display: flex; align-items: center; justify-content: center; color: var(--kv-text); text-decoration: none; font-weight: 850; }
  .kv-mobile-bar a::before { content: ""; width: 24px; height: 24px; margin-right: .5rem; background-position: center; background-size: contain; background-repeat: no-repeat; }
  .kv-mobile-call::before { background-image: url("assets/images/icon-telephone.webp"); }
  .kv-mobile-quote::before { background-image: url("assets/images/icon-devis.webp"); }
  .kv-mobile-bar a:last-child { color: #fff; background: var(--kv-blue); }
  body.kv-menu-open { overflow: hidden; }
  body.kv-menu-open .kv-mobile-bar { display: none; }
  .kv-page-hero-copy { padding: 3.5rem 0 2.8rem; }
  .kv-page-hero h1 { font-size: clamp(2.75rem,12vw,4.2rem); }
  .kv-page-hero-media { min-height: 320px; border-radius: 9px; margin-bottom: 1rem; }
  .kv-feature-media { min-height: 300px; }
  .kv-feature-list { columns: 1; }
  .kv-gallery { grid-template-columns: 1fr !important; }
  .kv-gallery > .wp-block-image, .kv-gallery > .wp-block-image:nth-child(n) { grid-column: auto; min-height: 320px; }
  .kv-form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kv-service-card, .kv-button .wp-block-button__link { transition: none; }
}
