/* Hype Conduite — composants de la direction « Éditorial ». Les jetons viennent de theme.json. */
:root{--hc-ease:cubic-bezier(.2,.7,.2,1);--hc-pad:clamp(20px,4vw,48px)}
body{-webkit-font-smoothing:antialiased}
.wpcf7-form *,.wpcf7-form *::before,.wpcf7-form *::after{box-sizing:border-box}
:focus-visible{outline:3px solid var(--wp--preset--color--deep-blue);outline-offset:3px}
.has-ink-background-color :focus-visible{outline-color:var(--wp--preset--color--hype-blue)}

.hc-eyebrow{font-size:.75rem!important;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:var(--wp--preset--color--grey)}
.has-ink-background-color .hc-eyebrow{color:#b9b9b9}
.hc-muted{color:var(--wp--preset--color--grey)}
.has-ink-background-color .hc-muted{color:#cfcfcf}

/* Boutons sur fond sombre */
.has-ink-background-color .wp-block-button:not(.is-style-outline) .wp-element-button{background:var(--wp--preset--color--hype-blue);border-color:var(--wp--preset--color--hype-blue);color:var(--wp--preset--color--ink)}
.has-ink-background-color .wp-block-button:not(.is-style-outline) .wp-element-button:hover{background:#fff;border-color:#fff}
.wp-block-button.is-style-outline .wp-element-button{background:transparent;color:inherit;border-color:currentColor}
.wp-block-button.is-style-outline .wp-element-button:hover{background:var(--wp--preset--color--ink);color:#fff;border-color:var(--wp--preset--color--ink)}
.has-ink-background-color .wp-block-button.is-style-outline .wp-element-button:hover{background:#fff;color:var(--wp--preset--color--ink);border-color:#fff}

/* En-tête */
/* Le flou est sur ::before : un backdrop-filter sur l'en-tête enfermerait le menu mobile plein écran dans l'en-tête. */
.hc-header{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--wp--preset--color--line)}
.hc-header::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(250,250,248,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.admin-bar .hc-header{top:32px}
@media (max-width:782px){.admin-bar .hc-header{top:46px}}
@media (max-width:600px){.admin-bar .hc-header{top:0}}
.hc-header .hc-logo img{height:36px;width:auto;display:block}
.hc-header .wp-block-navigation{font-weight:500;font-size:.95rem}
.hc-header .wp-block-navigation__container{flex-wrap:nowrap}
.hc-header .wp-element-button{white-space:nowrap}
.hc-header .wp-block-button .wp-element-button{padding:.7rem 1.25rem}

/* Héro */
.hc-hero{display:grid!important;grid-template-columns:1.05fr 1fr;min-height:min(86vh,820px);gap:0!important}
.hc-hero>.hc-hero-text{display:flex;flex-direction:column;justify-content:center;gap:2rem;padding:6rem var(--hc-pad) 6rem max(var(--hc-pad),calc((100vw - 1320px)/2 + var(--hc-pad)))}
.hc-hero>.hc-hero-text p{max-width:34ch;font-size:1.15rem}
.hc-hero .hc-hero-img{margin:0;height:100%}
.hc-hero .hc-hero-img img{width:100%;height:100%;object-fit:cover}

/* Infos pratiques */
.hc-infos{display:grid!important;grid-template-columns:repeat(4,1fr);gap:0!important;padding-inline:max(0px,calc((100vw - 1320px)/2))!important;background:#fff;border-bottom:1px solid var(--wp--preset--color--line)}
.hc-infos>*{margin:0!important;padding:1.75rem var(--hc-pad);border-right:1px solid var(--wp--preset--color--line)}
.hc-infos>*:last-child{border-right:0}
.hc-infos strong{display:block;margin-top:.25rem}
.hc-infos a{color:inherit;text-decoration:none;display:inline-block;padding:.2rem 0}

/* Cartes formations */
.hc-cards{display:grid!important;grid-template-columns:repeat(4,1fr);gap:1.5rem!important}
.hc-cards>*{margin:0!important}
.hc-card{display:flex;flex-direction:column;gap:.75rem!important}
.hc-card>*{margin:0!important}
.hc-tile{aspect-ratio:1/1;background:var(--wp--preset--color--ink);border-radius:4px;display:flex;align-items:flex-end;padding:1.25rem;overflow:hidden}
.hc-tile span{font-size:clamp(3.5rem,9vw,7.5rem);font-weight:200;line-height:.8;letter-spacing:-.04em;color:var(--wp--preset--color--hype-blue);transition:transform .8s var(--hc-ease);transform-origin:left bottom}
.hc-card:hover .hc-tile span{transform:scale(1.06)}
.hc-card figure{aspect-ratio:4/5;overflow:hidden;background:#e9e9e5;border-radius:4px}
.hc-card figure img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--hc-ease)}
.hc-card:hover figure img{transform:scale(1.03)}
.hc-card .hc-price{font-weight:700}
.hc-card h3 a{color:inherit;text-decoration:none}
.hc-card h3 a::after{content:"";position:absolute;inset:0}
.hc-card{position:relative}

/* Étapes */
.hc-steps{list-style:none;padding:0!important;display:grid!important;grid-template-columns:repeat(4,1fr);gap:0!important;border-top:1px solid #333}
.hc-steps>*{margin:0!important;padding:2rem 1.5rem 0 0;border-right:1px solid #333;margin-right:1.5rem!important}
.hc-steps>*:last-child{border-right:0}
.hc-steps .hc-n{font-size:3rem;font-weight:300;line-height:1;color:var(--wp--preset--color--hype-blue)}

/* Agence */
.hc-split figure{aspect-ratio:4/5;overflow:hidden;border-radius:4px;margin:0}
.hc-split figure img{width:100%;height:100%;object-fit:cover}
.hc-facts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem!important;padding:2rem 0;border-top:1px solid var(--wp--preset--color--line);border-bottom:1px solid var(--wp--preset--color--line)}
.hc-facts>*{margin:0!important}
.hc-facts strong{display:block;font-size:1.2rem}

/* Code en ligne */
.hc-code-grid{display:grid!important;grid-template-columns:repeat(4,1fr);gap:1px!important;background:var(--wp--preset--color--line);border:1px solid var(--wp--preset--color--line)}
.hc-code-grid>*{margin:0!important;background:#fff;padding:2rem 1.5rem;position:relative}
.hc-code-grid a{color:inherit;text-decoration:none}
.hc-code-grid a::after{content:"";position:absolute;inset:0}
.hc-code-grid>*:hover{background:var(--wp--preset--color--paper)}

/* Formulaire Contact Form 7 */
.wpcf7-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.wpcf7-form .wpcf7-form-control-wrap{display:block}
.wpcf7-form p{margin:0}
.wpcf7-form .hidden-fields-container{display:none}
.wpcf7-form .hc-full,.wpcf7-form .wpcf7-response-output{grid-column:1/-1}
.wpcf7-form label{display:flex;flex-direction:column;gap:.5rem;font-size:.9rem;font-weight:500}
.wpcf7-form input:not([type=checkbox]):not([type=submit]),.wpcf7-form select{font:inherit;height:52px;padding:0 1rem;border:1px solid #bdbdb8;border-radius:4px;background:#fff;width:100%}
.wpcf7-form .wpcf7-acceptance label{flex-direction:row;font-weight:400;color:var(--wp--preset--color--grey)}
.wpcf7-form .wpcf7-submit{justify-self:start;cursor:pointer;font:inherit;font-weight:700;font-size:.95rem;height:52px;padding:0 1.75rem;border-radius:999px;border:1px solid var(--wp--preset--color--ink);background:var(--wp--preset--color--ink);color:#fff;transition:background .3s var(--hc-ease)}
.wpcf7-form .wpcf7-submit:hover{background:var(--wp--preset--color--deep-blue);border-color:var(--wp--preset--color--deep-blue)}
.wpcf7-form .wpcf7-submit:disabled{opacity:.45;cursor:not-allowed}

/* Pied de page */
.hc-footer a{color:inherit;text-decoration:none;display:inline-block;padding:.3rem 0}
.hc-footer li{margin:0}
.hc-footer a:hover{text-decoration:underline}
.hc-footer .hc-logo img{height:34px;width:auto;filter:invert(1)}

/* Barre d'action mobile */
.hc-mbar{display:none}

/* Apparition au défilement (désactivée si animations réduites) */
.hc-js .hc-reveal{opacity:0;transform:translateY(16px);transition:opacity .6s var(--hc-ease),transform .6s var(--hc-ease)}
.hc-js .hc-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.hc-js .hc-reveal{opacity:1;transform:none;transition:none}*{transition:none!important}}

/* ---------- Pages intérieures ---------- */
.hc-head{margin-bottom:var(--wp--preset--spacing--50)!important}
.hc-page-hero{padding-top:clamp(1rem,3vw,2rem)}
.hc-page-hero h1{max-width:18ch}
.hc-lead{font-size:clamp(1.05rem,1.6vw,1.25rem);max-width:46ch}
.hc-keyfacts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;margin-top:var(--wp--preset--spacing--50)!important;border-top:1px solid #333}
.hc-keyfacts>*{margin:0!important;padding:1.25rem 1.5rem 0 0;border-right:1px solid #333;margin-right:1.5rem!important}
.hc-keyfacts>*:last-child{border-right:0}
.hc-keyfacts strong{display:block;font-size:1.15rem;font-weight:500;margin-top:.35rem}
.hc-big{font-size:1.75rem!important;font-weight:300}
.hc-price .hc-big{font-size:2rem;font-weight:300}

/* Fil d'Ariane Yoast */
.yoast-breadcrumbs{font-size:.8rem;color:#9a9a95;margin-bottom:1.5rem!important}
.yoast-breadcrumbs a{color:#cfcfcf;text-decoration:underline;text-decoration-color:rgba(207,207,207,.5);text-underline-offset:3px}
.yoast-breadcrumbs a:hover{text-decoration-color:currentColor}

/* Points numérotés sur fond clair */
.hc-points{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;border-top:1px solid var(--wp--preset--color--line)}
.hc-points>*{margin:0!important;padding:2rem 1.5rem 0 0;border-right:1px solid var(--wp--preset--color--line);margin-right:1.5rem!important}
.hc-points>*:last-child{border-right:0}
.hc-points .hc-n{font-size:2.5rem;font-weight:300;line-height:1;color:var(--wp--preset--color--deep-blue)}
.hc-points h3{margin-top:1rem}

/* Listes à coches */
.hc-checks{list-style:none;padding:0!important}
.hc-checks li{position:relative;padding:.55rem 0 .55rem 1.75rem;border-bottom:1px solid var(--wp--preset--color--line)}
.hc-checks li::before{content:"";position:absolute;left:0;top:1.05rem;width:.9rem;height:.45rem;border-left:2px solid var(--wp--preset--color--deep-blue);border-bottom:2px solid var(--wp--preset--color--deep-blue);transform:rotate(-45deg)}
.hc-steps-list{list-style:none;padding:0!important}
.hc-steps-list li{padding:.75rem 0;border-bottom:1px solid var(--wp--preset--color--line)}

/* Comparatif manuel / automatique */
.hc-compare>.wp-block-column{background:var(--wp--preset--color--paper);padding:clamp(1.5rem,3vw,2.5rem);border-radius:4px}

/* Colonnes génériques */
.hc-split{gap:clamp(2rem,6vw,6rem)!important}
.hc-split--form>.wp-block-column{flex:1 1 0!important;min-width:0}
.hc-split--form>.wp-block-column:first-child{flex:0 1 38%!important}
.hc-h3{font-size:var(--wp--preset--font-size--large)!important;font-weight:500!important;letter-spacing:-.01em!important}

/* Chiffres sur une colonne */
.hc-facts--1{grid-template-columns:1fr!important}

/* FAQ */
.hc-narrow{max-width:860px;margin-inline:auto!important}
.hc-faq-title{font-size:var(--wp--preset--font-size--large)!important;font-weight:500!important;margin-top:var(--wp--preset--spacing--50)!important}
.hc-faq-title:first-child{margin-top:0!important}
.hc-faq{border-bottom:1px solid var(--wp--preset--color--line);margin:0!important}
.hc-faq summary{cursor:pointer;list-style:none;padding:1.25rem 2.5rem 1.25rem 0;font-weight:500;font-size:1.1rem;position:relative}
.hc-faq summary::-webkit-details-marker{display:none}
.hc-faq summary::after{content:"";position:absolute;right:.5rem;top:50%;width:.6rem;height:.6rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);transition:transform .3s var(--hc-ease)}
.hc-faq[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.hc-faq>*:not(summary){margin-top:0;padding-bottom:1.25rem;color:var(--wp--preset--color--grey)}
.hc-faq a{color:var(--wp--preset--color--deep-blue)}

/* Bandeau final */
.hc-cta h2{max-width:20ch}
.hc-cta .hc-muted{max-width:52ch}

/* Note de projet (pages légales) */
.hc-note{background:#fff4e5;color:#7a4510;padding:1rem 1.25rem;border-radius:4px;font-size:.95rem}

/* Crédit agence */
.hc-credit{margin-left:auto!important;color:#9a9a95}

/* Champ message et consentement */
.wpcf7-form textarea{font:inherit;width:100%;min-height:110px;padding:.75rem 1rem;border:1px solid #bdbdb8;border-radius:4px;background:#fff;resize:vertical}
.wpcf7-form input:focus,.wpcf7-form select:focus,.wpcf7-form textarea:focus{border-color:var(--wp--preset--color--ink);outline:2px solid var(--wp--preset--color--deep-blue);outline-offset:1px}
.wpcf7-form .wpcf7-not-valid{border-color:#b3261e!important}
.wpcf7-form .wpcf7-not-valid-tip{color:#b3261e;font-size:.85rem;margin-top:.35rem}
.hc-consent{font-size:.9rem;color:var(--wp--preset--color--grey)}
.hc-consent a{color:var(--wp--preset--color--deep-blue)}
.wpcf7 form .wpcf7-response-output{margin:0;padding:1rem 1.25rem;border-radius:4px;border-width:1px}
.wpcf7 form.sent .wpcf7-response-output{border-color:#2e7d32;background:#eef7ef}

/* Cartes à 2 éléments */
.hc-cards--2{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:820px}
.hc-cards--6{grid-template-columns:repeat(3,minmax(0,1fr))} /* 6 formations : 3 + 3 (les règles mobiles plus bas reprennent la main) */

@media (max-width:1000px){
  .hc-header .hc-header-cta{display:none}
  body{padding-bottom:76px}
  .hc-mbar{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(250,250,248,.96);backdrop-filter:blur(12px);border-top:1px solid var(--wp--preset--color--line)}
  .hc-mbar a{display:flex;align-items:center;justify-content:center;height:48px;padding:0 .5rem;font-size:.9rem;border-radius:999px;font-weight:700;text-decoration:none;border:1px solid var(--wp--preset--color--ink);color:var(--wp--preset--color--ink)}
  .hc-mbar a.hc-primary{background:var(--wp--preset--color--ink);color:#fff}

  .hc-cards,.hc-code-grid,.hc-infos,.hc-steps{grid-template-columns:repeat(2,1fr)}
  .hc-infos>*:nth-child(2),.hc-steps>*:nth-child(2){border-right:0}
  .hc-points{grid-template-columns:1fr}
  .hc-points>*{border-right:0;margin-right:0!important;border-bottom:1px solid var(--wp--preset--color--line);padding-bottom:1.5rem}
}
@media (max-width:760px){
  .hc-hero{grid-template-columns:1fr;min-height:0}
  .hc-hero>.hc-hero-text{padding:4rem var(--hc-pad)}
  .hc-hero .hc-hero-img{aspect-ratio:4/3}
  .hc-infos,.hc-steps,.hc-code-grid,.hc-facts,.wpcf7-form{grid-template-columns:1fr}
  .hc-cards{grid-template-columns:1fr 1fr;gap:1rem!important}
  .hc-infos>*{border-right:0;border-bottom:1px solid var(--wp--preset--color--line)}
  .hc-steps>*{border-right:0;margin-right:0!important;border-bottom:1px solid #333;padding-bottom:1.5rem}
  .hc-keyfacts{grid-template-columns:1fr}
  .hc-keyfacts>*{border-right:0;margin-right:0!important;padding:1rem 0;border-bottom:1px solid #333}
  .hc-cards--2{grid-template-columns:1fr 1fr!important}
  .hc-credit{margin-left:0!important}
}

/* ---------- Conseils et astuces ---------- */
.hc-cats{list-style:none;padding:0!important;display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 var(--wp--preset--spacing--50)!important}
.hc-cats li a{display:inline-block;padding:.45rem 1rem;border:1px solid var(--wp--preset--color--line);border-radius:999px;text-decoration:none;color:inherit;font-size:.9rem}
.hc-cats li a:hover{border-color:var(--wp--preset--color--ink)}
.hc-posts-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5rem 1.5rem!important;list-style:none;padding:0!important}
.hc-posts-grid>li{margin:0!important}
.hc-post-card{display:flex;flex-direction:column;gap:.6rem!important}
.hc-post-card>*{margin:0!important}
.hc-post-card .wp-block-post-featured-image img{border-radius:4px;transition:transform .8s var(--hc-ease)}
.hc-post-card .wp-block-post-featured-image{overflow:hidden;border-radius:4px}
.hc-post-card:hover .wp-block-post-featured-image img{transform:scale(1.03)}
.hc-post-title{font-size:1.3rem!important;font-weight:500!important;letter-spacing:-.01em;line-height:1.3!important}
.hc-post-title a{color:inherit;text-decoration:none}
.hc-post-title a:hover{text-decoration:underline}
.hc-post-date{font-size:.85rem;color:var(--wp--preset--color--grey)}
.hc-eyebrow a{color:inherit;text-decoration:none}
.hc-post-h1{font-size:clamp(2.2rem,5vw,4rem)!important}
.hc-article .wp-block-post-content{font-size:1.125rem;line-height:1.75}
.hc-article .wp-block-post-content>*+*{margin-top:1.4em}
.hc-article .wp-block-post-content h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-top:2em}
.hc-article .wp-block-post-content h3{margin-top:1.6em}
.hc-article-img{max-width:1100px!important;margin-bottom:var(--wp--preset--spacing--50)!important}
.hc-article-img img{border-radius:4px}
@media (max-width:1000px){.hc-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.hc-posts-grid{grid-template-columns:1fr}}

/* Cibles tactiles ≥ 24 px (catégories d'articles, fil d'Ariane et méta WooCommerce) */
.hc-eyebrow a,.woocommerce-breadcrumb a,.product_meta a,.wc-block-breadcrumbs a{display:inline-block;padding:.3rem 0}

/* Case de consentement alignée sur le texte */
.hc-consent .wpcf7-list-item{margin:0}
.hc-consent label{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:.65rem;font-weight:400}
.hc-consent input[type=checkbox]{width:20px;height:20px;margin:.15rem 0 0;flex:none;accent-color:var(--wp--preset--color--ink)}
/* Deux sections claires qui se suivent : on évite le double espacement */
.has-global-padding>.alignfull:not(.has-background)+.alignfull:not(.has-background){padding-top:0!important}
.alignwide.hc-narrow{max-width:860px!important;margin-inline:auto!important}
/* Pas d'espace entre le contenu et le pied de page (bandeaux sombres jointifs) */
.wp-site-blocks>main,.wp-site-blocks>footer,.wp-site-blocks>.wp-block-template-part{margin-block-start:0!important}

/* ---------- Fiche produit (Prépacode) ---------- */
.hc-product{gap:clamp(2rem,6vw,6rem)!important}
.hc-product-media .wp-block-post-featured-image{box-sizing:border-box;background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:4px;padding:clamp(1.5rem,4vw,3rem);margin:0!important;width:100%}
.hc-product-media .wp-block-post-featured-image img{width:100%;height:auto;display:block}
.hc-wc-crumbs{font-size:.8rem;color:var(--wp--preset--color--grey);margin-bottom:1.25rem!important}
.hc-wc-crumbs a{color:var(--wp--preset--color--grey);text-decoration:none}
.hc-product-title{font-size:clamp(2.2rem,4.5vw,3.75rem)!important;margin-top:.25rem!important}
.hc-product-price,.hc-product-price .amount{font-size:2rem!important;font-weight:300}
.hc-buy form.cart{display:flex;gap:0;align-items:stretch;margin:1.5rem 0!important}
.hc-buy .quantity{display:none!important}
.hc-buy .single_add_to_cart_button{font:inherit!important;font-weight:700!important;font-size:.95rem!important;height:52px;padding:0 2rem!important;border-radius:999px!important;background:var(--wp--preset--color--ink)!important;color:#fff!important;border:1px solid var(--wp--preset--color--ink)!important;cursor:pointer;transition:background .3s var(--hc-ease)}
.hc-buy .single_add_to_cart_button:hover{background:var(--wp--preset--color--deep-blue)!important;border-color:var(--wp--preset--color--deep-blue)!important}
.hc-reassure{font-size:.95rem;margin-top:.5rem!important}
.hc-product-content h2{font-size:clamp(1.6rem,3vw,2.2rem)!important;margin-top:2.5rem!important}
.hc-product-content h2:first-child{margin-top:0!important}
.hc-facts-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:1rem!important;list-style:none;padding:0!important}
.hc-facts-list li{background:var(--wp--preset--color--paper);border-radius:4px;padding:1.25rem;font-weight:500}
/* Commande, panier, confirmation (blocs WooCommerce) */
.hc-header--checkout{position:relative}
.hc-back{margin:0;font-size:.95rem;font-weight:500}
.hc-back a{display:inline-block;padding:.6rem 0;color:inherit;text-decoration:none}
.hc-back a:hover{text-decoration:underline}
.wc-block-components-product-image img,.wc-block-cart-item__image img{object-fit:contain!important;aspect-ratio:1;background:#fff}
.wc-block-order-confirmation-additional-fields dd,.woocommerce-order .wc-block-components-additional-fields-list dd{margin:.25rem 0 1rem;font-weight:600}
/* Avis Google (liens, sans widget) */
.hc-review-links{display:flex;flex-wrap:wrap;gap:.75rem}
.hc-review-links .wp-element-button{display:inline-block;text-decoration:none}
.hc-review-links .hc-btn-outline{background:transparent;color:inherit;border:1px solid currentColor}
.hc-review-links .hc-btn-outline:hover{background:var(--wp--preset--color--ink);color:#fff;border-color:var(--wp--preset--color--ink)}
/* Assistant « Une question ? » */
.hc-ask-btn{position:fixed;right:20px;bottom:20px;z-index:40;display:inline-flex;align-items:center;gap:.5rem;min-height:48px;padding:0 1.1rem 0 .6rem;border:0;border-radius:999px;background:var(--wp--preset--color--ink);color:#fff;font:inherit;font-weight:700;font-size:.95rem;cursor:pointer;box-shadow:0 0 0 1px rgba(255,255,255,.28),0 6px 24px rgba(17,17,17,.18)}
.hc-ask-btn>span[aria-hidden]{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--wp--preset--color--hype-blue);color:var(--wp--preset--color--ink)}
.hc-ask-btn:focus-visible,.hc-ask-close:focus-visible{outline:3px solid var(--wp--preset--color--hype-blue);outline-offset:3px}
.hc-ask{position:fixed;right:20px;bottom:80px;z-index:41;box-sizing:border-box;width:min(400px,calc(100vw - 24px));max-height:min(70vh,560px);overflow:auto;padding:1.25rem;background:var(--wp--preset--color--paper);border:1px solid var(--wp--preset--color--line);border-radius:8px;box-shadow:0 12px 40px rgba(17,17,17,.16)}
.hc-ask[hidden]{display:none}
.hc-ask-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.hc-ask-title{margin:0;font-weight:700;font-size:1.1rem}
.hc-ask-close{width:44px;height:44px;margin:-.5rem -.5rem 0 0;border:0;background:none;font-size:1.6rem;line-height:1;cursor:pointer;color:inherit}
.hc-ask-field{display:block;margin:.75rem 0 1rem;font-size:.85rem;color:var(--wp--preset--color--grey)}
.hc-ask-field input{box-sizing:border-box;display:block;width:100%;margin-top:.4rem;padding:.75rem .9rem;font:inherit;font-size:1rem;color:var(--wp--preset--color--ink);background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:4px}
.hc-ask-out{font-size:.95rem}
.hc-ask-out .hc-faq summary{font-size:.95rem}
.hc-ask-foot{margin:1rem 0 0;padding-top:1rem;border-top:1px solid var(--wp--preset--color--line);font-size:.9rem}
@media (max-width:1000px){
  .hc-ask-btn{right:12px;bottom:calc(80px + env(safe-area-inset-bottom));padding:0;width:48px;justify-content:center}
  .hc-ask-btn>span[aria-hidden]{width:48px;height:48px;background:var(--wp--preset--color--ink);color:#fff}
  .hc-ask-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .hc-ask{right:12px;bottom:calc(140px + env(safe-area-inset-bottom));max-height:calc(100vh - 220px)}
}
@media print{.hc-ask-btn,.hc-ask{display:none}}
/* Menu mobile plein écran : aligné à gauche, grandes entrées, place pour la barre Appeler / Préinscription */
.hc-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--wp--preset--color--paper);padding:1rem 20px calc(110px + env(safe-area-inset-bottom))}
.hc-header .is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start;padding-top:3rem}
.hc-header .is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:1.1rem;font-size:1.5rem;font-weight:500;letter-spacing:-.01em}
.hc-header .is-menu-open .wp-block-navigation-item{align-items:flex-start}
.hc-header .is-menu-open .wp-block-navigation__submenu-container{padding:.75rem 0 .25rem 1rem!important;gap:.6rem;font-size:1.05rem;color:var(--wp--preset--color--grey);border-left:1px solid var(--wp--preset--color--line)}
.hc-header .is-menu-open .wp-block-navigation-item__content{padding:.15rem 0}
.has-modal-open .hc-ask-btn,.has-modal-open .hc-ask{display:none}
.hc-header .wp-block-navigation__responsive-container.is-menu-open{--navigation-layout-justification-setting:flex-start;--navigation-layout-justify:flex-start;--navigation-layout-align:flex-start;text-align:left}
.hc-header .is-menu-open .wp-block-navigation__container,.hc-header .is-menu-open .wp-block-navigation-item,.hc-header .is-menu-open .wp-block-navigation__submenu-container{align-items:flex-start!important;text-align:left}
/* Réseaux sociaux : logos en masque CSS (couleur héritée du texte) */
.hc-ico{display:inline-block;flex:none;width:1.25rem;height:1.25rem;background:currentColor;-webkit-mask:var(--hc-ico) center/contain no-repeat;mask:var(--hc-ico) center/contain no-repeat}
.hc-ico--instagram{--hc-ico:url(../img/social/instagram.svg)}
.hc-ico--tiktok{--hc-ico:url(../img/social/tiktok.svg)}
.hc-ico--snapchat{--hc-ico:url(../img/social/snapchat.svg)}
.hc-socials{list-style:none;margin:0;padding:0}
.hc-socials a{display:flex;align-items:center;gap:.6rem;color:inherit;text-decoration:none}
.hc-socials--footer li+li{margin-top:.15rem}
.hc-socials--footer .hc-social-handle{display:none}
.hc-socials--band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.hc-socials--band a{flex-direction:column;align-items:flex-start;gap:.35rem;min-height:9.5rem;box-sizing:border-box;padding:1.5rem;border:1px solid rgba(255,255,255,.18);border-radius:4px;transition:border-color .3s var(--hc-ease),background .3s var(--hc-ease)}
.hc-socials--band a:hover,.hc-socials--band a:focus-visible{border-color:var(--wp--preset--color--hype-blue);background:rgba(119,198,255,.06)}
.hc-socials--band .hc-ico{width:2rem;height:2rem;margin-bottom:1.25rem;color:var(--wp--preset--color--hype-blue)}
.hc-socials--band .hc-social-name{font-size:1.15rem;font-weight:700}
.hc-socials--band .hc-social-handle{font-size:.9rem;color:#b5b5b0}
@media (max-width:700px){.hc-socials--band{grid-template-columns:1fr}.hc-socials--band a{flex-direction:row;align-items:center;min-height:0;padding:1.1rem 1.25rem;gap:.9rem}.hc-socials--band .hc-ico{margin:0;width:1.75rem;height:1.75rem}.hc-socials--band .hc-social-handle{margin-left:auto}}
/* Mon compte : bouton « afficher le mot de passe » assez grand pour le doigt (24 px minimum) */
.woocommerce form .show-password-input{min-width:24px;min-height:24px;display:grid;place-items:center}

/* ---------- Animations légères (toutes coupées si le visiteur a demandé moins d'animations) ---------- */
@keyframes hc-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes hc-lift{from{transform:translateY(10px)}to{transform:none}}
@keyframes hc-settle{from{transform:scale(1.04)}to{transform:none}}
@keyframes hc-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
/* En-têtes de page : arrivée en décalé. Titre et chapô glissent sans jamais être invisibles (pas de retard sur l'affichage mesuré par Google). */
.hc-hero-text>*,.hc-page-hero>*{animation:hc-rise .8s var(--hc-ease) both}
.hc-hero-text>h1,.hc-hero-text>.hc-muted,.hc-page-hero>h1,.hc-page-hero>.hc-lead{animation-name:hc-lift}
.hc-hero-text>:nth-child(2),.hc-page-hero>:nth-child(2){animation-delay:.06s}
.hc-hero-text>:nth-child(3),.hc-page-hero>:nth-child(3){animation-delay:.12s}
.hc-hero-text>:nth-child(4),.hc-page-hero>:nth-child(4){animation-delay:.18s}
.hc-page-hero>:nth-child(5){animation-delay:.24s}
.hc-page-hero>:nth-child(n+6){animation-delay:.3s}
.hc-hero .hc-hero-img{overflow:hidden}
.hc-hero .hc-hero-img img{animation:hc-settle 1.6s var(--hc-ease) both}
/* Éléments voisins qui apparaissent au défilement : léger décalage de l'un à l'autre */
.hc-js .hc-reveal+.hc-reveal{transition-delay:.08s}
.hc-js .hc-reveal+.hc-reveal+.hc-reveal{transition-delay:.16s}
.hc-js .hc-reveal+.hc-reveal+.hc-reveal+.hc-reveal{transition-delay:.24s}
/* Boutons : se soulèvent légèrement au survol */
.wp-element-button,.wpcf7-form .wpcf7-submit{transition:background-color .3s var(--hc-ease),border-color .3s var(--hc-ease),color .3s var(--hc-ease),transform .3s var(--hc-ease)}
.wp-element-button:hover,.wpcf7-form .wpcf7-submit:not(:disabled):hover,.hc-ask-btn:hover{transform:translateY(-2px)}
.wp-element-button:active,.wpcf7-form .wpcf7-submit:active{transform:none}
.hc-ask-btn{transition:transform .3s var(--hc-ease)}
/* En-tête : une ombre douce apparaît dès que la page défile */
.hc-header::before{transition:box-shadow .4s var(--hc-ease)}
.hc-scrolled .hc-header:not(.hc-header--checkout)::before{box-shadow:0 6px 24px rgba(0,0,0,.06)}
/* Réponses de la FAQ et panneau de l'assistant : apparition en fondu */
.hc-faq[open]>*:not(summary){animation:hc-rise .45s var(--hc-ease) both}
.hc-ask:not([hidden]){animation:hc-pop .3s var(--hc-ease) both}
/* Tuiles réseaux sociaux : l'icône monte au survol */
.hc-socials--band .hc-ico{transition:transform .4s var(--hc-ease)}
.hc-socials--band a:hover .hc-ico{transform:translateY(-4px)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.wp-element-button:hover,.wpcf7-form .wpcf7-submit:hover,.hc-ask-btn:hover,.hc-socials--band a:hover .hc-ico{transform:none}}

/* Bandeau cookies (extension hype-agence, affiché seulement si Google Ads est configuré). Les deux choix ont la même apparence (CNIL). */
body>.hc-consent{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;box-sizing:border-box;max-width:540px;margin-left:auto;padding:1.25rem;background:var(--wp--preset--color--paper);color:var(--wp--preset--color--ink);border:1px solid var(--wp--preset--color--line);border-radius:8px;box-shadow:0 12px 40px rgba(0,0,0,.18);font-size:.9rem;line-height:1.5;animation:hc-pop .3s var(--hc-ease) both}
body>.hc-consent[hidden]{display:none}
body>.hc-consent p{margin:0 0 .9rem}
body>.hc-consent a{color:inherit;text-decoration:underline;text-underline-offset:3px}
body>.hc-consent .hc-consent-title{font-weight:700;font-size:1rem;margin-bottom:.4rem}
.hc-consent-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.hc-consent-actions button{flex:1 1 140px;min-height:44px;padding:0 1.25rem;border:1px solid var(--wp--preset--color--ink);border-radius:999px;background:transparent;color:var(--wp--preset--color--ink);font:inherit;font-weight:700;cursor:pointer;transition:background-color .3s var(--hc-ease),color .3s var(--hc-ease)}
.hc-consent-actions button:hover{background:var(--wp--preset--color--ink);color:#fff}
.hc-consent-actions button:focus-visible,body>.hc-consent a:focus-visible{outline:3px solid var(--wp--preset--color--deep-blue);outline-offset:3px}
.hc-consent-on .hc-ask-btn,.hc-consent-on .hc-ask{display:none}
.hc-consent-open{background:none;border:0;padding:.3rem 0;font:inherit;color:inherit;cursor:pointer}
.hc-consent-open:hover{text-decoration:underline}
.hc-consent-open[hidden]{display:none}
