/*
Theme Name: NexixIQ Indigo
Template: twentytwentyfive
Version: 0.2.2
Description: Site produit NexixIQ par EBINFO.
*/

:root {
  --nx-indigo: #303f80;
  --nx-deep: #202b5c;
  --nx-tint: #edf0fa;
  --nx-ink: #22283d;
  --nx-border: #dce2f1;
}

body { color: var(--nx-ink); }
.nx-header { border-bottom: 1px solid var(--nx-border); }
.nx-header, .nx-footer { padding: 18px clamp(18px, 4vw, 55px); }
.nx-header .wp-block-navigation { font-size: 0.97rem; }
.nx-header .wp-block-site-logo { flex: 0 0 auto; }
.nx-header .wp-block-site-logo img { max-height: 48px; width: auto; }
.nx-header .wp-block-navigation .nx-demo-link > .wp-block-navigation-item__content { color: #fff; background: var(--nx-indigo); padding: 0.65rem 0.85rem; border-radius: 8px; }
.nx-header .wp-block-navigation .nx-demo-link > .wp-block-navigation-item__content:hover,
.nx-header .wp-block-navigation .nx-demo-link > .wp-block-navigation-item__content:focus-visible { color: #fff; background: var(--nx-deep); }
.nx-footer { padding-block: 40px; }
.nx-footer a { color: inherit; }
.nx-main { padding-inline: clamp(18px, 4vw, 55px); }
.nx-main .wp-block-post-title { margin-block: 0 1.1rem; letter-spacing: -.035em; }
.nx-main .wp-block-post-content { padding-bottom: clamp(40px, 7vw, 90px); }
.nx-intro { font-size: clamp(1.15rem, 1.7vw, 1.4rem); max-width: 58ch; }
.nx-main .nx-hero { padding: clamp(24px, 5vw, 70px); border-radius: 18px; }
.nx-hero h1 { max-width: 17ch; letter-spacing: -.045em; line-height: 1.06; }
.nx-card { padding: 24px; border: 1px solid var(--nx-border); border-radius: 14px; }
.nx-card h3 { margin-top: 0; }
.nx-card a { text-underline-offset: .2em; }
.nx-main .wp-block-button__link { font-weight: 650; }
.nx-capture { margin-block: 1.6rem 2.2rem; }
.nx-capture img { display: block; width: 100%; height: auto; border: 1px solid var(--nx-border); border-radius: 12px; }
.nx-capture figcaption { color: var(--nx-deep); font-size: .93rem; }
.nx-demo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1.5rem; }
.nx-form-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.nx-form-field label { font-weight: 650; }
.nx-form-field input, .nx-form-field textarea { box-sizing: border-box; width: 100%; font: inherit; padding: .6rem .75rem; border: 1px solid #7783a9; border-radius: 7px; color: var(--nx-ink); background: white; }
.nx-form-field input { min-height: 44px; }
.nx-form-field textarea { resize: vertical; }
.nx-form-wide, .nx-demo-form > [role="alert"] { grid-column: 1 / -1; }
.nx-demo-form button { min-height: 44px; border: 0; background: var(--nx-indigo); color: white; font: inherit; cursor: pointer; }
.nx-form-field :focus-visible { outline: 3px solid #6475be; outline-offset: 2px; }
.nx-form-error { color: #861f27; }
.nx-form-success { background: var(--nx-tint); padding: 1rem; border-radius: 8px; }
a:focus-visible, button:focus-visible { outline: 3px solid #6475be; outline-offset: 4px; }
@media (max-width: 700px) {
  .nx-header .wp-block-navigation__responsive-container-open, .nx-header .wp-block-navigation__responsive-container-close { min-height: 44px; min-width: 44px; justify-content: center; }
  .nx-main .wp-block-columns { gap: 14px; }
  .nx-demo-form { grid-template-columns: minmax(0, 1fr); }
  .nx-demo-form button { width: 100%; }
}
