/*
Theme Name: IDZORA
Theme URI: https://idzora.com
Author: IDZORA Team
Author URI: https://idzora.com
Description: Thème WordPress officiel pour IDZORA — Plateforme de protection d'identité numérique propulsée par l'IA. Votre identité. Votre contrôle.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idzora
Tags: identity-protection, ai, cybersecurity, one-column, custom-menu, featured-images
*/

/* ══════════════════════════════════════
   IDZORA DESIGN SYSTEM
   ══════════════════════════════════════ */

:root {
  /* ── Couleurs de marque ── */
  --iz-blue: #0866FF;
  --iz-blue-hover: #0755D9;
  --iz-blue-light: rgba(8,102,255,0.08);
  --iz-night: #101C36;
  --iz-glacier: #F5F8FF;
  --iz-turquoise: #16B8A6;
  --iz-turquoise-light: rgba(22,184,166,0.1);
  --iz-amber: #D99016;
  --iz-amber-light: rgba(217,144,22,0.1);
  --iz-red: #D94052;
  --iz-red-light: rgba(217,64,82,0.1);

  /* ── Surfaces & texte ── */
  --bg: #FFFFFF;
  --bg-alt: var(--iz-glacier);
  --fg: var(--iz-night);
  --fg-muted: #5A6578;
  --border: #D8DFE9;
  --card-bg: #FFFFFF;
  --card-shadow: 0 1px 3px rgba(16,28,54,0.06), 0 6px 24px rgba(16,28,54,0.04);
  --nav-bg: rgba(255,255,255,0.92);
  --code-bg: #F0F3F8;
  --hero-gradient: linear-gradient(165deg, var(--iz-night) 0%, #1a2d52 55%, #0d3a6e 100%);

  /* ── Typographie ── */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', var(--font-body);

  /* ── Espacement ── */
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --gutter: 16px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --radius-xs: 8px;
}

/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--fg);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a {
  color: var(--iz-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--iz-blue-hover); }

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

ul, ol { padding-left: 1.5em; }

/* ══════════════════════════════════════
   LAYOUT
   ══════════════════════════════════════ */

.iz-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.iz-section {
  padding-block: var(--section-padding);
}

.iz-section--alt {
  background-color: var(--bg-alt);
}

.iz-section-header {
  max-width: 600px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.iz-section-header .iz-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--iz-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.iz-section-header p {
  color: var(--fg-muted);
  font-size: 1.02rem;
  margin-top: 12px;
}

.iz-text-center { text-align: center; }
.iz-text-muted { color: var(--fg-muted); }

/* ══════════════════════════════════════
   COMPOSANTS : BOUTONS
   ══════════════════════════════════════ */

.iz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.iz-btn--primary {
  background: var(--iz-blue);
  color: #fff;
}
.iz-btn--primary:hover {
  background: var(--iz-blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8,102,255,0.3);
}

.iz-btn--outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.iz-btn--outline:hover {
  border-color: var(--iz-blue);
  color: var(--iz-blue);
}

.iz-btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}
.iz-btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.iz-btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-xs);
}

.iz-btn--block {
  width: 100%;
}

/* ══════════════════════════════════════
   COMPOSANTS : BADGES
   ══════════════════════════════════════ */

.iz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.iz-badge--blue { background: var(--iz-blue-light); color: var(--iz-blue); }
.iz-badge--turquoise { background: var(--iz-turquoise-light); color: var(--iz-turquoise); }
.iz-badge--amber { background: var(--iz-amber-light); color: var(--iz-amber); }
.iz-badge--red { background: var(--iz-red-light); color: var(--iz-red); }

/* ══════════════════════════════════════
   COMPOSANTS : CARTES
   ══════════════════════════════════════ */

.iz-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.iz-card:hover {
  border-color: var(--iz-blue);
  box-shadow: var(--card-shadow);
  transform: translateY(-2px);
}

.iz-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.iz-card h3 { margin-bottom: 8px; }

.iz-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════
   COMPOSANTS : PANEL (Dashboard)
   ══════════════════════════════════════ */

.iz-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.iz-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.iz-panel__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
}

/* ══════════════════════════════════════
   GRILLES
   ══════════════════════════════════════ */

.iz-grid {
  display: grid;
  gap: 20px;
}

.iz-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.iz-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.iz-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .iz-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .iz-grid--4 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */

.iz-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.iz-nav.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.iz-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.iz-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
}

.iz-nav__logo img {
  height: 36px;
  width: auto;
}

.iz-nav__links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.iz-nav__links a {
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.iz-nav__links a:hover,
.iz-nav__links .current-menu-item a,
.iz-nav__links .current_page_item a {
  color: var(--iz-blue);
  background: var(--iz-blue-light);
}

.iz-nav__cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Mobile menu */
.iz-nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  padding: 8px;
  cursor: pointer;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .iz-nav__links,
  .iz-nav__cta {
    display: none;
  }

  .iz-nav__toggle {
    display: block;
  }

  .iz-nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    z-index: 999;
  }

  .iz-nav__cta.open {
    display: flex;
    flex-direction: column;
    padding: 0 16px 16px;
  }
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */

.iz-hero {
  background: var(--hero-gradient);
  color: #fff;
  padding-block: clamp(5rem, 14vw, 10rem) clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}

.iz-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(8,102,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.iz-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22,184,166,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.iz-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.iz-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}

.iz-hero h1 .accent {
  color: var(--iz-blue);
}

.iz-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}

.iz-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.iz-hero__stats {
  display: flex;
  gap: clamp(24px, 5vw, 56px);
  margin-top: clamp(40px, 8vw, 72px);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.iz-hero-stat__number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.iz-hero-stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ══════════════════════════════════════
   FONCTIONNALITÉS (Features)
   ══════════════════════════════════════ */

.iz-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* ══════════════════════════════════════
   ÉTAPES (How it works)
   ══════════════════════════════════════ */

.iz-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.iz-step {
  text-align: center;
  counter-increment: step;
}

.iz-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: var(--radius);
  background: var(--iz-blue-light);
  color: var(--iz-blue);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.iz-step h3 { margin-bottom: 8px; }
.iz-step p { font-size: 0.88rem; color: var(--fg-muted); margin: 0; }

/* ══════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════ */

.iz-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.iz-page-header h1,
.iz-page-header h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin: 0;
}

.iz-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.iz-stat-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.iz-stat-card__value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.iz-stat-card__change {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
}
.iz-stat-card__change--up { color: var(--iz-turquoise); }
.iz-stat-card__change--down { color: var(--iz-red); }

.iz-dash-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .iz-dash-main { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   ALERTES
   ══════════════════════════════════════ */

.iz-alert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.iz-alert-item:last-child {
  border-bottom: none;
}

.iz-alert-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.iz-alert-dot--critical { background: var(--iz-red); }
.iz-alert-dot--warning { background: var(--iz-amber); }
.iz-alert-dot--info { background: var(--iz-turquoise); }

.iz-alert-content { min-width: 0; flex: 1; }
.iz-alert-title { font-weight: 600; font-size: 0.9rem; }
.iz-alert-meta { font-size: 0.78rem; color: var(--fg-muted); margin-top: 2px; }
.iz-alert-desc { font-size: 0.85rem; color: var(--fg-muted); margin-top: 8px; }

.iz-alert-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   SCORE RING
   ══════════════════════════════════════ */

.iz-score-ring {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 16px;
}

.iz-score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.iz-score-ring .track { fill: none; stroke: var(--border); stroke-width: 10; }
.iz-score-ring .fill { fill: none; stroke-width: 10; stroke-linecap: round; }

.iz-score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.iz-score-value .number {
  font-size: 2.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.iz-score-value .label {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ══════════════════════════════════════
   SCANNER
   ══════════════════════════════════════ */

.iz-scanner-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: clamp(32px, 8vw, 64px);
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.iz-scanner-area:hover,
.iz-scanner-area.dragover {
  border-color: var(--iz-blue);
  background: rgba(8,102,255,0.03);
}

.iz-scanner-area .icon { font-size: 2.5rem; margin-bottom: 12px; }
.iz-scanner-area h3 { margin-bottom: 6px; }
.iz-scanner-area p { font-size: 0.88rem; color: var(--fg-muted); margin: 0; }

.iz-scan-result {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  display: none;
}

.iz-scan-result.visible { display: block; }

.iz-result-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.iz-result-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.iz-result-bars { display: flex; flex-direction: column; gap: 14px; }

.iz-bar-item label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.iz-bar-track {
  height: 8px;
  border-radius: 4px;
  background: var(--code-bg);
  overflow: hidden;
}

.iz-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* ══════════════════════════════════════
   TAB BAR
   ══════════════════════════════════════ */

.iz-tab-bar {
  display: inline-flex;
  gap: 2px;
  background: var(--code-bg);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.iz-tab-bar button {
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.iz-tab-bar button.active {
  background: var(--card-bg);
  color: var(--fg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* ══════════════════════════════════════
   PRICING
   ══════════════════════════════════════ */

.iz-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.iz-price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.iz-price-card--featured {
  border-color: var(--iz-blue);
  box-shadow: 0 0 0 1px var(--iz-blue), 0 8px 32px rgba(8,102,255,0.12);
}

.iz-price-card--featured::before {
  content: 'Populaire';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--iz-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.iz-price-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }

.iz-price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin: 12px 0 4px;
}

.iz-price-amount .period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.iz-price-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iz-price-features li {
  font-size: 0.88rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.iz-price-features li::before {
  content: '✓';
  color: var(--iz-turquoise);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   BADGE VERIFICATION
   ══════════════════════════════════════ */

.iz-badge-verify {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
}

.iz-badge-verify .iz-verified-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.iz-verify-input-group {
  display: flex;
  gap: 8px;
  margin: 24px 0 16px;
}

.iz-verify-input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--fg);
  letter-spacing: 0.08em;
}

.iz-verify-input-group input:focus {
  outline: none;
  border-color: var(--iz-blue);
  box-shadow: 0 0 0 3px rgba(8,102,255,0.1);
}

.iz-badge-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(22,184,166,0.06);
  border: 1px solid rgba(22,184,166,0.2);
  text-align: left;
  display: none;
}

.iz-badge-result.visible { display: block; }

/* ══════════════════════════════════════
   PLATFORM ITEMS
   ══════════════════════════════════════ */

.iz-platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--card-bg);
}

.iz-platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.iz-platform-dot--active { background: var(--iz-turquoise); }
.iz-platform-dot--pending { background: var(--iz-amber); }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.iz-footer {
  background: var(--iz-night);
  color: rgba(255,255,255,0.7);
  padding-block: 48px 32px;
}

.iz-footer a {
  color: rgba(255,255,255,0.55);
  transition: color 0.15s ease;
}

.iz-footer a:hover { color: #fff; }

.iz-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .iz-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .iz-footer-grid { grid-template-columns: 1fr; }
}

.iz-footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.iz-footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

.iz-footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.iz-footer-col a {
  display: block;
  font-size: 0.88rem;
  padding: 4px 0;
}

.iz-footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

/* ══════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════ */

.iz-cta-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   FORMULAIRES
   ══════════════════════════════════════ */

.iz-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.iz-input:focus {
  outline: none;
  border-color: var(--iz-blue);
  box-shadow: 0 0 0 3px rgba(8,102,255,0.1);
}

textarea.iz-input {
  min-height: 120px;
  resize: vertical;
}

/* ══════════════════════════════════════
   WORDPRESS OVERRIDES
   ══════════════════════════════════════ */

/* Remove default WP margins */
.entry-content > *:first-child { margin-top: 0; }

/* Alignments */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); max-width: 100vw; }

/* WordPress admin bar adjustment */
body.admin-bar .iz-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .iz-nav { top: 46px; }
}

/* Hide default WP elements on custom page templates */
.page-template-page-accueil .entry-title,
.page-template-page-dashboard .entry-title,
.page-template-page-scanner .entry-title,
.page-template-page-alertes .entry-title,
.page-template-page-tarifs .entry-title,
.page-template-page-badge .entry-title {
  display: none;
}
