/*
Theme Name: Sequencer
Theme URI: https://sequencer.ae
Author: Yinati
Author URI: https://yinati.com
Description: Thème vitrine one-page pour Sequencer Technologies — infrastructure de calcul d'entreprise (serveurs & modules mémoire). Conçu pour fonctionner avec Contact Form 7.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sequencer
*/

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      /* Light palette built around Sequencer's brand */
      --bg-primary: #ffffff;
      --bg-soft: #f6f8fc;
      --bg-tint: #eef3fb;
      --bg-elevated: #ffffff;

      --border: #e6ebf3;
      --border-strong: #d7dde8;

      --text-primary: #0a1628;     /* deep navy — matches Sequencer headings */
      --text-secondary: #4a5568;
      --text-muted: #8a93a6;

      --accent: #2196f3;            /* Sequencer brand blue */
      --accent-deep: #1976d2;
      --accent-bright: #42a5f5;
      --accent-tint: rgba(33, 150, 243, 0.08);
      --accent-soft: rgba(33, 150, 243, 0.14);

      /* Layered shadows */
      --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04), 0 1px 3px rgba(10, 22, 40, 0.03);
      --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.04), 0 2px 6px rgba(10, 22, 40, 0.03);
      --shadow-lg: 0 24px 50px -20px rgba(10, 22, 40, 0.12), 0 8px 20px -8px rgba(10, 22, 40, 0.06);

      --font-display: "Sora", system-ui, sans-serif;
      --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
      --font-mono: "JetBrains Mono", ui-monospace, monospace;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
      position: relative;
    }

    .container {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 32px;
      position: relative;
      z-index: 1;
    }

    /* ============ HEADER ============ */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border-bottom: 1px solid var(--border);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 120px;
    }

    .logo img {
      height: 90px;
      width: auto;
      display: block;
    }

    /* ============ BUTTONS ============ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: 0;
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.005em;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: all 0.25s ease;
      position: relative;
      white-space: nowrap;
    }

    .btn-sm { padding: 11px 20px; font-size: 14px; }
    .btn-large { padding: 18px 36px; font-size: 16px; width: 100%; }

    .btn-primary {
      background: var(--accent);
      color: #ffffff;
      box-shadow: 0 6px 20px -6px rgba(33, 150, 243, 0.4);
    }

    .btn-primary:hover {
      background: var(--accent-deep);
      transform: translateY(-1px);
      box-shadow: 0 12px 28px -6px rgba(33, 150, 243, 0.55);
    }

    .btn-secondary {
      background: var(--bg-primary);
      color: var(--text-primary);
      border: 1px solid var(--border-strong);
      box-shadow: var(--shadow-sm);
    }

    .btn-secondary:hover {
      border-color: var(--accent);
      color: var(--accent-deep);
      transform: translateY(-1px);
    }

    /* ============ HERO ============ */
    .hero {
      position: relative;
      padding: 140px 0 100px;
      overflow: hidden;
      background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.82) 0%, rgba(14, 37, 65, 0.92) 100%),
        url('assets/img/hero-datacenter.webp') center / cover no-repeat;
    }

    /* Atmospheric blue glow on top of dark hero */
    .hero::before {
      content: "";
      position: absolute;
      top: -200px;
      left: 50%;
      transform: translateX(-50%);
      width: 1600px;
      height: 1000px;
      background:
        radial-gradient(circle at 30% 40%, rgba(33, 150, 243, 0.32) 0%, transparent 45%),
        radial-gradient(circle at 70% 50%, rgba(125, 193, 255, 0.24) 0%, transparent 45%);
      filter: blur(50px);
      z-index: 0;
      pointer-events: none;
      mix-blend-mode: screen;
    }

    /* Subtle light dot pattern */
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
      background-size: 32px 32px;
      mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 80%);
      -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 80%);
      pointer-events: none;
      z-index: 0;
    }

    .hero-inner {
      text-align: center;
      max-width: 980px;
      margin: 0 auto 96px;
      position: relative;
      z-index: 1;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px;
      background: var(--accent);
      border-radius: 0;
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #ffffff;
      margin-bottom: 32px;
      box-shadow: 0 6px 20px -8px rgba(33, 150, 243, 0.5);
    }

    .eyebrow .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #ffffff;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
      animation: pulse 2.4s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(40px, 6.2vw, 84px);
      line-height: 1.02;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: #ffffff;
      margin-bottom: 28px;
    }

    .hero-title .accent {
      background: linear-gradient(135deg, #42a5f5 0%, #4dd0e1 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }

    .hero-subtitle {
      font-size: 19px;
      color: rgba(255, 255, 255, 0.78);
      max-width: 680px;
      margin: 0 auto 48px;
      line-height: 1.6;
    }

    .hero-cta {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* Dark-hero overrides for secondary button */
    .hero .btn-secondary {
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.22);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: none;
    }

    .hero .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 255, 255, 0.4);
      color: #ffffff;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 48px;
      padding-top: 48px;
      border-top: 1px solid rgba(255, 255, 255, 0.14);
      position: relative;
      z-index: 1;
      text-align: center;
    }

    .hero .stat-value {
      color: #ffffff;
    }

    .hero .stat-label {
      color: rgba(255, 255, 255, 0.55);
    }

    .stat-value {
      font-family: var(--font-display);
      font-size: 42px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1;
      margin-bottom: 10px;
      letter-spacing: -0.02em;
    }

    .stat-label {
      font-size: 12px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      font-family: var(--font-mono);
    }

    /* ============ TRUST STRIP ============ */
    .trust {
      padding: 64px 0;
      background: var(--accent);
    }

    .trust-label {
      text-align: center;
      font-family: var(--font-mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 32px;
    }

    .trust-logos {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 56px;
      flex-wrap: wrap;
    }

    .trust-logos span {
      font-family: var(--font-display);
      font-size: 21px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.85);
      letter-spacing: -0.01em;
      transition: color 0.2s;
      cursor: default;
    }

    .trust-logos span:hover {
      color: #ffffff;
    }

    /* ============ SECTION HEADERS ============ */
    .section-head {
      max-width: 720px;
      margin-bottom: 72px;
    }

    .section-head.center {
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    .section-eyebrow {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--accent-deep);
      margin-bottom: 20px;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(36px, 4.5vw, 54px);
      line-height: 1.1;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text-primary);
      margin-bottom: 20px;
    }

    .section-lead {
      font-size: 18px;
      color: var(--text-secondary);
      line-height: 1.65;
    }

    /* ============ PRODUCTS ============ */
    .products {
      padding: 140px 0;
      background: var(--bg-soft);
    }

    .products-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    .product-card {
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: 0;
      padding: 48px;
      position: relative;
      overflow: hidden;
      transition: all 0.35s ease;
      box-shadow: var(--shadow-sm);
    }

    .product-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--accent);
      opacity: 0;
      transition: opacity 0.35s;
    }

    .product-card:hover {
      border-color: var(--accent-soft);
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }

    .product-card:hover::before { opacity: 1; }

    .product-icon {
      width: 56px;
      height: 56px;
      border-radius: 0;
      background: linear-gradient(135deg, var(--accent-tint) 0%, rgba(33, 150, 243, 0.04) 100%);
      border: 1px solid var(--accent-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 32px;
      color: var(--accent-deep);
    }

    .product-meta {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 14px;
    }

    .product-title {
      font-family: var(--font-display);
      font-size: 30px;
      font-weight: 600;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
      color: var(--text-primary);
    }

    .product-desc {
      color: var(--text-secondary);
      margin-bottom: 32px;
      line-height: 1.65;
    }

    .product-features {
      list-style: none;
      margin-bottom: 36px;
    }

    .product-features li {
      position: relative;
      padding: 14px 0 14px 28px;
      border-top: 1px solid var(--border);
      color: var(--text-secondary);
      font-size: 15px;
    }

    .product-features li:last-child {
      border-bottom: 1px solid var(--border);
    }

    .product-features li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%232196f3"><path d="M6.5 11.5 3 8l1-1 2.5 2.5L12 4l1 1z"/></svg>');
      background-repeat: no-repeat;
      background-size: contain;
    }

    .card-cta {
      color: var(--accent-deep);
      text-decoration: none;
      font-weight: 600;
      font-family: var(--font-display);
      font-size: 15px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: gap 0.25s, color 0.2s;
    }

    .card-cta:hover { gap: 14px; color: var(--accent); }

    /* ============ VALUES ============ */
    .values {
      padding: 120px 0;
      background: var(--bg-primary);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      position: relative;
      overflow: hidden;
    }

    .values::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 800px;
      height: 400px;
      background: radial-gradient(ellipse, var(--accent-tint) 0%, transparent 70%);
      filter: blur(40px);
      z-index: 0;
      pointer-events: none;
    }

    .values .container { position: relative; z-index: 1; }

    .values-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      margin-top: 56px;
    }

    .value {
      position: relative;
      padding-top: 28px;
    }

    .value::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: var(--accent);
      border-radius: 0;
    }

    .value-num {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 0.14em;
      color: var(--accent-deep);
      margin-bottom: 18px;
    }

    .value h3 {
      font-family: var(--font-display);
      font-size: 21px;
      font-weight: 600;
      margin-bottom: 12px;
      letter-spacing: -0.015em;
      color: var(--text-primary);
    }

    .value p {
      color: var(--text-secondary);
      font-size: 15px;
    }

    /* ============ CONTACT ============ */
    .contact {
      padding: 140px 0;
      position: relative;
      overflow: hidden;
      background: #0e2541;
    }

    .contact::before {
      content: "";
      position: absolute;
      top: -300px;
      right: -400px;
      width: 1200px;
      height: 1200px;
      background: radial-gradient(circle, rgba(33, 150, 243, 0.35) 0%, transparent 60%);
      filter: blur(60px);
      z-index: 0;
      pointer-events: none;
    }

    .contact::after {
      content: "";
      position: absolute;
      bottom: -400px;
      left: -300px;
      width: 1100px;
      height: 1100px;
      background: radial-gradient(circle, rgba(125, 193, 255, 0.22) 0%, transparent 60%);
      filter: blur(70px);
      z-index: 0;
      pointer-events: none;
    }

    /* Dark-section text overrides */
    .contact .section-eyebrow { color: #7dc1ff; }
    .contact .section-title { color: #ffffff; }
    .contact .section-lead { color: rgba(255, 255, 255, 0.72); }

    .contact .perk strong { color: #ffffff; }
    .contact .perk p { color: rgba(255, 255, 255, 0.65); }

    .contact .perk-icon {
      background: rgba(33, 150, 243, 0.2);
      border-color: rgba(33, 150, 243, 0.4);
      color: #7dc1ff;
    }

    .contact-inner {
      display: grid;
      grid-template-columns: 1fr 1.05fr;
      gap: 80px;
      align-items: start;
      position: relative;
      z-index: 1;
    }

    .contact-text .section-eyebrow { margin-bottom: 16px; }

    .contact-perks {
      margin-top: 48px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .perk {
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }

    .perk-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--accent-tint);
      border: 1px solid var(--accent-soft);
      color: var(--accent-deep);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      flex-shrink: 0;
      font-size: 14px;
    }

    .perk strong {
      display: block;
      font-family: var(--font-display);
      font-size: 15px;
      margin-bottom: 4px;
      color: var(--text-primary);
    }

    .perk p {
      color: var(--text-secondary);
      font-size: 14px;
      margin: 0;
    }

    /* ============ FORM ============ */
    .contact-form {
      background: #ffffff;
      border: none;
      border-radius: 0;
      padding: 40px;
      position: relative;
      box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.45), 0 16px 40px -16px rgba(0, 0, 0, 0.25);
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .field {
      margin-bottom: 18px;
    }

    .field label {
      display: block;
      font-family: var(--font-mono);
      font-size: 10.5px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      background: var(--bg-primary);
      border: 1px solid var(--border);
      border-radius: 0;
      padding: 13px 16px;
      color: var(--text-primary);
      font-family: var(--font-body);
      font-size: 15px;
      transition: all 0.2s;
    }

    .field input::placeholder,
    .field textarea::placeholder {
      color: var(--text-muted);
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 4px var(--accent-tint);
    }

    .field textarea {
      resize: vertical;
      min-height: 100px;
      font-family: var(--font-body);
    }

    .field select {
      appearance: none;
      -webkit-appearance: none;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="%238a93a6"><path d="M6 8 2 4h8z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 16px center;
      padding-right: 40px;
      cursor: pointer;
    }

    .form-consent {
      margin: 22px 0 4px;
    }

    .form-consent label {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      color: var(--text-secondary);
      cursor: pointer;
      font-family: var(--font-body);
      text-transform: none;
      letter-spacing: normal;
      font-size: 13px;
      line-height: 1.5;
      margin-bottom: 0;
    }

    .form-consent input[type="checkbox"] {
      margin-top: 2px;
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      accent-color: var(--accent);
      cursor: pointer;
    }

    .form-note {
      text-align: center;
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 18px;
      font-family: var(--font-mono);
      letter-spacing: 0.04em;
    }

    /* Success state */
    .form-success {
      display: none;
      text-align: center;
      padding: 40px 20px;
    }

    .form-success .check {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: var(--accent-tint);
      border: 1px solid var(--accent-soft);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      color: var(--accent-deep);
    }

    .form-success h3 {
      font-family: var(--font-display);
      font-size: 24px;
      margin-bottom: 12px;
      color: var(--text-primary);
    }

    .form-success p {
      color: var(--text-secondary);
    }

    .contact-form.submitted .form-content { display: none; }
    .contact-form.submitted .form-success { display: block; }

    /* ============ FOOTER ============ */
    .site-footer {
      border-top: 1px solid var(--border);
      padding: 56px 0 40px;
      background: var(--bg-soft);
    }

    .footer-inner {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 48px;
      align-items: start;
    }

    .footer-contact h4 {
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 14px;
      letter-spacing: -0.005em;
    }

    .footer-contact address {
      font-style: normal;
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.7;
    }

    .footer-contact address strong {
      display: block;
      color: var(--text-primary);
      font-weight: 600;
      margin-bottom: 6px;
    }

    .footer-logo img {
      height: 64px;
      margin-bottom: 14px;
    }

    .footer-inner p {
      color: var(--text-secondary);
      font-size: 14px;
    }

    .footer-meta {
      text-align: right;
    }

    .campaign-note {
      font-size: 12px;
      font-family: var(--font-body);
      margin-top: 10px;
      color: var(--text-muted);
    }

    .campaign-note a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: color 0.2s;
    }

    .campaign-note a:hover {
      color: var(--accent-deep);
    }

    /* ============ ANIMATIONS ============ */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .hero .eyebrow { animation: fadeUp 0.6s ease 0.1s both; }
    .hero-title { animation: fadeUp 0.7s ease 0.2s both; }
    .hero-subtitle { animation: fadeUp 0.7s ease 0.35s both; }
    .hero-cta { animation: fadeUp 0.7s ease 0.5s both; }
    .hero-stats { animation: fadeUp 0.7s ease 0.7s both; }

    /* ============ RESPONSIVE ============ */
    @media (max-width: 960px) {
      .products-grid,
      .values-grid,
      .contact-inner {
        grid-template-columns: 1fr;
      }

      .values-grid { gap: 40px; }
      .contact-inner { gap: 56px; }

      .hero { padding: 80px 0 80px; }
      .hero-inner { margin-bottom: 64px; }
      .products, .values, .contact { padding: 96px 0; }

      .hero-stats { gap: 24px; }
      .stat-value { font-size: 30px; }

      .product-card { padding: 36px 28px; }
      .contact-form { padding: 32px 24px; }

      .trust-logos { gap: 28px; }
      .trust-logos span { font-size: 18px; }

      .footer-inner { grid-template-columns: 1fr; gap: 40px; }
      .footer-meta { text-align: left; }
    }

    @media (max-width: 600px) {
      .container { padding: 0 20px; }
      .hero-cta { flex-direction: column; }
      .hero-cta .btn { width: 100%; }
      .form-row { grid-template-columns: 1fr; gap: 0; }
      .header-inner { height: 80px; }
      .logo img { height: 56px; }
      .hero-stats {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
      }
    }

    /* ============ CONTACT FORM 7 OVERRIDES ============ */
    /* Le shortcode CF7 enveloppe le <form> dans .wpcf7 ; on neutralise ses marges. */
    .contact-form .wpcf7,
    .wpcf7 { margin: 0; }

    /* CF7 enveloppe chaque champ dans un <span class="wpcf7-form-control-wrap">.
       On le force en bloc pleine largeur pour conserver la grille .field. */
    .contact-form .wpcf7-form-control-wrap {
      display: block;
      width: 100%;
    }

    /* Les inputs/select/textarea sont déjà stylés via .field input,… (sélecteurs descendants) */

    /* Case à cocher de consentement (balise [acceptance]) */
    .contact-form .form-consent .wpcf7-list-item {
      display: block;
      margin: 0;
    }

    .contact-form .form-consent .wpcf7-list-item label {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      margin: 0;
    }

    .contact-form .form-consent .wpcf7-list-item-label {
      font-size: 13px;
      line-height: 1.5;
      color: var(--text-secondary);
    }

    /* Messages de validation sous chaque champ */
    .contact-form .wpcf7-not-valid-tip {
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 0.04em;
      color: #ef4444;
      margin-top: 6px;
    }

    .contact-form .wpcf7-form-control.wpcf7-not-valid {
      border-color: #ef4444 !important;
    }

    /* Bandeau de réponse global (succès / erreur) */
    .contact-form .wpcf7-response-output {
      margin: 22px 0 0;
      padding: 14px 16px;
      border-radius: 0;
      font-family: var(--font-body);
      font-size: 14px;
      line-height: 1.5;
    }

    .contact-form form.sent .wpcf7-response-output {
      border: 1px solid var(--accent-soft);
      background: var(--accent-tint);
      color: var(--accent-deep);
    }

    .contact-form form.invalid .wpcf7-response-output,
    .contact-form form.failed .wpcf7-response-output,
    .contact-form form.spam .wpcf7-response-output {
      border: 1px solid rgba(239, 68, 68, 0.3);
      background: rgba(239, 68, 68, 0.06);
      color: #b91c1c;
    }

    /* Spinner de chargement CF7 */
    .contact-form .wpcf7-spinner {
      margin: 0 0 0 12px;
    }



.page-section {
  padding: 72px 0 96px;
  background: var(--bg-primary);
}

.page-head {
  max-width: 760px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.page-updated {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Contenu riche (texte saisi dans l'éditeur WordPress) */
.entry-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.entry-content > * + * { margin-top: 1.1em; }

.entry-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  color: var(--text-primary);
  margin-top: 1.9em;
}

.entry-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 1.6em;
}

.entry-content h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-top: 1.4em;
}

.entry-content a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content a:hover { color: var(--accent); }

.entry-content strong { color: var(--text-primary); }

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content li + li { margin-top: 0.45em; }

.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  color: var(--text-muted);
  font-style: italic;
}

.entry-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-tint);
  padding: 2px 6px;
  border-radius: 4px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: var(--bg-soft);
  color: var(--text-primary);
  font-weight: 600;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.page-back {
  display: inline-block;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--accent-deep);
  text-decoration: none;
}

.page-back:hover { text-decoration: underline; }
