/* Hyxo — compléments WordPress (le design d'origine est dans main.css) */

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

/* Accessibilité */
.skip-link:focus{position:fixed;top:10px;left:10px;z-index:9999;width:auto;height:auto;clip:auto;background:#fff;color:var(--navy);padding:10px 16px;border-radius:8px;box-shadow:var(--shadow)}

/* Navigation : libellés en capitales comme dans la maquette */
.main-nav>a{text-transform:uppercase}
.brand-text{font-family:'Manrope',Arial,sans-serif;font-weight:800;font-size:1.4rem;color:var(--navy)}
.footer .brand-text{color:#fff}

/* Carrousel : titres des diapositives 2+ (h2 stylé comme h1) */
.hero .h1{max-width:730px;color:#fff;margin-bottom:22px;font-size:clamp(2.5rem,4.5vw,4.55rem);line-height:1.12}
@media(max-width:680px){.hero .h1{font-size:2.45rem}}
@media(max-width:380px){.hero .h1{font-size:2.14rem}}

/* Espacements autrefois en style en ligne */
.hyxo-more{margin-top:34px}
.hyxo-info{margin-top:36px}
.hyxo-note{margin-top:24px}
.hyxo-btn-row{margin-top:26px}
.detail-row p:last-of-type{margin-bottom:8px}

/* Réseaux sociaux (pied de page) */
.footer-social{display:flex;gap:10px;margin-top:18px}
.footer-social a{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#ffffff12;color:#d9e8f3;transition:background .2s,color .2s}
.footer-social a:hover{background:var(--orange);color:var(--navy)}
.footer-social .icon{width:18px;height:18px}

/* ---------- Contact Form 7 ---------- */
.wpcf7 .field .wpcf7-form-control-wrap{display:block;width:100%}
.wpcf7 .field input[type=file]{background:#fff;padding:11px 12px;cursor:pointer}
.wpcf7 .field select{appearance:auto}
.wpcf7-not-valid-tip{font-size:.78rem;color:#c2362b;margin-top:6px;font-weight:600}
.wpcf7 .field .wpcf7-not-valid{border-color:#e08a83;background:#fff7f6}
.wpcf7 input.wpcf7-submit{margin-top:4px}
.wpcf7 .wpcf7-spinner{vertical-align:middle;margin:0 0 0 14px}
.wpcf7 form .wpcf7-response-output{margin:18px 0 0;padding:13px 17px;border-radius:9px;font-size:.88rem;border-width:1px}
.wpcf7 form.sent .wpcf7-response-output{border-color:#46b450;background:#f1fbf2;color:#24632a}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output,.wpcf7 form.payment-required .wpcf7-response-output{border-color:#ffb900;background:#fff9e8;color:#6b5200}
.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.aborted .wpcf7-response-output,.wpcf7 form.spam .wpcf7-response-output{border-color:#dc3232;background:#fff4f4;color:#8a1f1f}
.hyxo-admin-hint{margin:12px 0}
.hyxo-admin-hint a{text-decoration:underline}

/* Candidature (page Emplois) */
.hyxo-apply{display:grid;grid-template-columns:1fr 1.15fr;gap:44px;align-items:start}
.hyxo-apply-copy{padding-top:8px}
.hyxo-apply-mail{display:flex;align-items:center;gap:9px;font-weight:700}
.hyxo-apply-mail a{color:#ffc18a}
.hyxo-apply-mail .icon{color:#ffc18a}
.hyxo-apply .contact-form{background:#fff;color:var(--ink);box-shadow:0 18px 45px #03142a55;border-color:transparent}
.hyxo-apply .contact-form p{color:var(--muted)}
@media(max-width:940px){.hyxo-apply{grid-template-columns:1fr;gap:28px}.careers-banner.hyxo-apply{padding:44px 30px}}
@media(max-width:680px){.careers-banner.hyxo-apply{padding:34px 18px}.hyxo-apply .contact-form{padding:22px 18px}}

/* Carte : iframe Google Maps */
.map-box.has-embed iframe{width:100%;height:100%;border:0;display:block}
.map-box.has-embed{height:360px}

/* Contenu de l'éditeur WordPress */
.entry-content{max-width:880px}
.hyxo-editor-content .entry-content{max-width:var(--container)}
.entry-content>*+*{margin-top:1.1em}
.entry-content h2,.entry-content h3,.entry-content h4{margin:1.6em 0 .6em;color:var(--navy)}
.entry-content h2{font-size:clamp(1.6rem,2.6vw,2.2rem)}
.entry-content p,.entry-content li{color:#4c617a;font-size:1rem}
.entry-content a:not(.btn):not(.wp-block-button__link){color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.entry-content a:not(.btn):hover{color:var(--orange)}
.entry-content ul,.entry-content ol{padding-left:1.3em}
.entry-content img{height:auto;border-radius:12px}
.entry-content blockquote{margin:1.5em 0;padding:18px 24px;border-left:4px solid var(--orange);background:var(--pale);border-radius:0 12px 12px 0}
.entry-content table{width:100%;border-collapse:collapse}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:10px 12px;text-align:left}
.entry-content figure{margin:1.5em 0}
.entry-content figcaption,.wp-caption-text{font-size:.82rem;color:var(--muted);margin-top:8px}
.entry-content .wp-block-button__link{background:var(--orange);color:#10213a;border-radius:8px;font-weight:800;padding:13px 22px;text-decoration:none}
.entry-content .is-style-outline .wp-block-button__link{background:transparent;border:1px solid var(--navy);color:var(--navy)}
.entry-thumb{margin-bottom:24px}
.alignleft{float:left;margin:0 1.5em 1em 0}.alignright{float:right;margin:0 0 1em 1.5em}.aligncenter{margin-left:auto;margin-right:auto;text-align:center}
.alignwide,.alignfull{max-width:none}
.wp-caption{max-width:100%}
.sticky,.bypostauthor,.gallery-caption{}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Blog / archives */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.post-card .case-art{display:block}
.post-card h3 a:hover{color:var(--blue)}
.hyxo-pagination{margin-top:40px}
.hyxo-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.hyxo-pagination .page-numbers{min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;font-weight:800;font-size:.86rem}
.hyxo-pagination .page-numbers.current,.hyxo-pagination .page-numbers:hover{background:var(--navy2);color:#fff;border-color:var(--navy2)}
.post-navigation .nav-links{display:flex;justify-content:space-between;gap:20px;margin-top:40px;font-weight:700}
.search-form{display:flex;gap:10px;margin-top:20px;max-width:520px}
.search-form label{flex:1}
.search-form .search-field{width:100%;border:1px solid #cfdfeb;border-radius:8px;padding:12px 14px;min-height:49px}
.search-form .search-submit{border:0;border-radius:8px;background:var(--orange);font-weight:800;padding:0 20px}
@media(max-width:940px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.post-grid{grid-template-columns:1fr}.alignleft,.alignright{float:none;margin:0 0 1em}}

/* Commentaires */
.comment-list{list-style:none;padding:0}
.comment-body{border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:14px}
.comment-respond input[type=text],.comment-respond input[type=email],.comment-respond input[type=url],.comment-respond textarea{width:100%;border:1px solid #cfdfeb;border-radius:8px;padding:12px 14px}
.comment-respond .submit{border:0;border-radius:8px;background:var(--orange);font-weight:800;padding:13px 22px}

/* SEO : H1 de l'accueil (section Bienvenue) au gabarit d'un H2 */
h1.h2{font-size:clamp(2rem,3.25vw,3rem)}

/* Pages de services */
.service-intro .hero-buttons{margin-top:8px}
.service-content{max-width:900px;margin-inline:auto}
.service-content h2{font-size:clamp(1.4rem,2.2vw,1.85rem)}
.service-content ul{list-style:none;padding:0;display:grid;gap:10px}
.service-content ul li{position:relative;padding-left:28px}
.service-content ul li:before{content:'';position:absolute;left:0;top:.55em;width:14px;height:3px;border-radius:3px;background:var(--orange)}
.detail-row .line-link{margin-top:4px}
.breadcrumb{flex-wrap:wrap}
@media(max-width:680px){.service-intro .hero-buttons .btn{width:100%}}
.case-art .case-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.case-art:before{z-index:1}
.case-art .case-tag{z-index:2}
.hyxo-panel-link{position:relative;z-index:1;margin:22px 0 0}.hyxo-panel-link .line-link{color:#ffc18a}.hyxo-panel-link .line-link:hover{color:#fff}
/* Contact : étapes de la demande (cartes claires) */
.hyxo-how{margin-top:70px}
.hyxo-how-steps .process-step{background:#fff;border-color:var(--line)}
.hyxo-how-steps .process-step h3{color:var(--navy)}
.hyxo-how-steps .process-step p{color:var(--muted)}
.hyxo-how-text{max-width:760px;margin:26px auto 0;text-align:center}
.hyxo-more-text{max-width:900px;margin:34px 0 0}
@media(max-width:680px){.hyxo-how{margin-top:48px}}
