/*
Theme Name:  eBusiness360
Theme URI:   https://ebusiness360.fr
Author:      Maxime Lesguillier
Author URI:  https://ebusiness360.fr
Description: Thème officiel eBusiness360 — Agence Magento 2 depuis 2010
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ebusiness360
Tags:        custom-menu, custom-logo, full-width-template, threaded-comments, translation-ready
*/

/* ─── Brand Tokens ─────────────────────────────────────────── */
:root {
  --navy:    #0F1E4D;
  --navy-d:  #091336;
  --blue:    #1E3FA8;
  --orange:  #F26322;
  --orange-h:#FF7A38;
  --ink:     #0B1426;
  --paper:   #FAF8F4;
  --paper-d: #EFEDE7;
  --muted:   #6B7280;
  --line:    #E5E2DC;
  --radius:  12px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-h); }

p { max-width: 65ch; }

/* ─── Screen reader only ───────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Skip link ────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--orange); color: #fff;
  padding: .5rem 1rem; border-radius: 0 0 8px 8px;
  font-weight: 700; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ─── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: .9375rem;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: #fff;
}
.btn-primary:hover {
  background: var(--orange-h); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,99,34,.35);
}
.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.7); color: #fff;
  background: rgba(255,255,255,.08);
}
.btn-outline {
  background: transparent; color: var(--orange);
  border: 1.5px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange); color: #fff;
}

/* ─── Section labels ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 1rem;
}

/* ─── Section title ────────────────────────────────────────── */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

/* ─── Navbar ───────────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
/* Pages intérieures (blog, contact, services…) : fond navy immédiat */
body:not(.home) #site-header {
  background: rgba(9,19,54,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
/* Page d'accueil : fond au scroll uniquement */
#site-header.scrolled {
  background: rgba(9,19,54,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-inner {
  display: flex; align-items: center;
  height: 72px; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .625rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-text {
  font-size: 1.125rem; font-weight: 800; color: #fff;
  letter-spacing: -.02em;
}
.nav-logo-text span { color: var(--orange); }

.nav-menu-wrap { flex: 1; display: flex; justify-content: flex-end; }
.nav-menu-wrap > nav { display: flex; flex: 1; justify-content: flex-end; }

/* Le <ul> lui-même a id="primary-navigation" via wp_nav_menu */
#primary-navigation {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin: 0; padding: 0;
  justify-content: flex-end;
}
/* Sous-menus éventuels */
#primary-navigation ul {
  display: none;
  list-style: none; margin: 0; padding: 0;
}
#primary-navigation a {
  font-size: .9375rem; font-weight: 600; color: rgba(255,255,255,.75);
  padding: .5rem .875rem; border-radius: 8px;
  text-decoration: none;
  transition: color .2s, background .2s;
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item > a {
  color: #fff; background: rgba(255,255,255,.08);
}
.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  border-radius: 8px !important;
}
.nav-cta:hover {
  background: var(--orange-h) !important;
}
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: .5rem; color: #fff;
}
.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--navy-d);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.5rem; font-weight: 700; color: #fff;
  text-decoration: none;
}
.nav-mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu-wrap { display: none; }
  .nav-hamburger { display: flex; }
}

/* ─── Hero ─────────────────────────────────────────────────── */
#hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 72px;
}
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: .5;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding-top: 2rem;
  padding-bottom: 6rem;
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(242,99,34,.15); border: 1px solid rgba(242,99,34,.3);
  border-radius: 99px; padding: .4rem 1rem;
  color: var(--orange); font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.05; color: #fff;
  margin-bottom: 1.5rem;
}
.hero-title-accent {
  background: linear-gradient(90deg, var(--orange), #FF9A5E);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,.65); font-size: 1.125rem;
  line-height: 1.6; margin-bottom: 2rem; max-width: 44ch;
}
/* Hauteur réservée = empêche le saut de mise en page entre deux phrases */
.hero-typed-wrap {
  min-height: 2rem;        /* garde la place même quand le span est vide */
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
#hero-typed {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
  white-space: nowrap;     /* empêche le retour à la ligne qui changerait la hauteur */
}
/* Très petit écran : autoriser le wrap mais réserver 2 lignes */
@media (max-width: 380px) {
  #hero-typed { white-space: normal; }
  .hero-typed-wrap { min-height: 3.5rem; }
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.55); font-size: .8125rem; font-weight: 600;
}
.hero-trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  background: rgba(255,255,255,.08); border-radius: var(--radius);
  overflow: hidden;
}
.stat-card {
  background: rgba(255,255,255,.04);
  padding: 2rem; text-align: center;
  transition: background .2s;
}
.stat-card:hover { background: rgba(255,255,255,.07); }
.stat-value {
  font-size: 2.5rem; font-weight: 800;
  color: var(--orange); line-height: 1;
  margin-bottom: .25rem;
}
.stat-label { color: rgba(255,255,255,.55); font-size: .875rem; }

/* ─── Services ─────────────────────────────────────────────── */
#services {
  background: var(--paper);
  padding-block: 7rem;
  position: relative;
  overflow: hidden;
}

/* Logo Magento — centré en fond, effet surface plane inclinée */
.services-bg-logo-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.services-bg-logo {
  width: 72%;            /* aussi large que la grille de services */
  max-width: 820px;
  opacity: .10;
  /* Surface plane inclinée : recule vers le haut-droit */
  transform: perspective(700px) rotateX(40deg) rotateY(-18deg) rotateZ(3deg);
}
@media (max-width: 900px) {
  .services-bg-logo { width: 88%; }
}
@media (max-width: 580px) {
  .services-bg-logo-wrap { display: none; }
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 4rem;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
  cursor: default;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,30,77,.1);
}
.service-card.featured {
  border-color: var(--orange); position: relative;
}
.featured-badge {
  position: absolute; top: -12px; right: 1.25rem;
  background: var(--orange); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: .25rem .875rem; border-radius: 99px;
}
.service-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(242,99,34,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { color: var(--orange); }
.service-card h3 { font-size: 1.25rem; margin-bottom: .625rem; }
.service-card p { color: var(--muted); font-size: .9375rem; margin-bottom: 1.25rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.service-list li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: #374151;
}
.service-list li::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--orange); flex-shrink: 0;
}

/* ─── Trust / Why Us ───────────────────────────────────────── */
#trust {
  position: relative; overflow: hidden;
  /* Photo salle serveurs + parallax — identique à index.html */
  background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  padding-block: 7rem;
  color: #fff;
}
/* Gradient overlay sombre — identique à .server-overlay de index.html */
.trust-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(11,20,38,.93) 0%,
    rgba(15,30,77,.83) 50%,
    rgba(11,20,38,.90) 100%);
}
.trust-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-title { color: #fff; }
/* WCAG AA ✓ — texte corps : ratio ≥ 7:1 sur fond sombre */
.trust-desc { color: rgba(255,255,255,.85); margin-bottom: 2rem; }
.trust-points { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.trust-point { display: flex; gap: 1rem; }
.trust-point-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(242,99,34,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-point-icon svg { color: var(--orange); }
.trust-point-title { font-weight: 700; color: #fff; margin-bottom: .25rem; }
/* WCAG AA ✓ — texte secondaire 15px : ratio ≥ 5.5:1 */
.trust-point-text { color: rgba(255,255,255,.80); font-size: .9375rem; }
.trust-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-bottom: 2rem;
}
.trust-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.trust-stat-value {
  font-size: 2.25rem; font-weight: 800;
  color: var(--orange); line-height: 1;
}
/* WCAG AA ✓ — label 13px : ratio ≥ 4.6:1 sur fond sombre */
.trust-stat-label { color: rgba(255,255,255,.65); font-size: .8125rem; margin-top: .375rem; }

/* Testimonial — carte blanche (identique à index.html) */
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
/* Étoiles jaunes SVG — voir front-page.php */
.testimonial-stars {
  display: flex; gap: 2px; margin-bottom: .875rem;
}
.testimonial-stars svg { color: #FBBF24; width: 16px; height: 16px; }
/* WCAG AA ✓ — texte foncé sur blanc : ratio > 7:1 */
.testimonial-text {
  color: #374151;
  font-size: 1rem; font-style: italic; line-height: 1.6; margin-bottom: 0;
}
.testimonial-footer {
  display: flex; align-items: center; gap: .5rem; margin-top: 1rem;
}
.testimonial-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* WCAG AA ✓ — auteur muted sur blanc : ratio ≥ 4.6:1 */
.testimonial-author { color: #6B7280; font-size: .8125rem; font-weight: 600; font-style: normal; }

/* ─── Process ──────────────────────────────────────────────── */
#process {
  background: var(--paper-d);
  padding-block: 7rem;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
@media (max-width: 860px) { .process-steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* Carte étape */
.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Zone photo */
.process-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.process-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}
.process-step:hover .process-photo img {
  transform: scale(1.04);
}

/* Placeholder tant que l'image n'est pas uploadée */
.process-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .75rem;
  color: rgba(255,255,255,.35);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .04em;
}

/* Badge numéro — superposé sur la photo */
.process-num {
  position: absolute;
  bottom: 1rem; left: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.0625rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

/* Contenu texte */
.process-body {
  padding: 1.5rem;
  flex: 1;
}
.process-body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--ink);
}
.process-body p {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.6;
}

/* ─── FAQ ──────────────────────────────────────────────────── */
#faq {
  background: #fff;
  padding-block: 7rem;
}
.faq-list {
  max-width: 740px; margin: 3rem auto 0;
  display: flex; flex-direction: column; gap: .75rem;
}
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.375rem 1.5rem; background: none; border: none;
  text-align: left; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--ink);
  transition: background .2s;
}
.faq-question:hover { background: var(--paper); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(242,99,34,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted); font-size: .9375rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ─── CTA ──────────────────────────────────────────────────── */
#cta {
  background: var(--navy);
  padding-block: 7rem;
  text-align: center;
  position: relative; overflow: hidden;
}
#cta-canvas {
  position: absolute; inset: 0;
  pointer-events: none; opacity: .25;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800; color: #fff;
  margin-bottom: 1.25rem;
}
.cta-sub { color: rgba(255,255,255,.65); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 52ch; margin-inline: auto; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Photo Maxime — section CTA */
.cta-photo {
  max-width: 760px;
  margin: 2.5rem auto 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08);
}
.cta-photo img {
  width: 100%; height: auto;
  display: block;
}

/* Photo Maxime — colonne contact */
.contact-photo {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
  border: 1px solid var(--line);
}
.contact-photo img {
  width: 100%; height: auto;
  display: block;
}

/* ─── Blog carousel ────────────────────────────────────────── */
#blog-home {
  background: var(--paper);
  padding-block: 7rem;
  overflow: hidden;
}

/* En-tête : titre à gauche, flèches à droite */
.blog-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.blog-carousel-count {
  color: var(--muted);
  font-weight: 400;
  margin-left: .375rem;
}
.blog-carousel-arrows {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}
.blog-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: all .2s ease;
  flex-shrink: 0;
}
.blog-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 4px 12px rgba(242,99,34,.2);
}
.blog-arrow:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
  border-color: var(--line);
  color: var(--muted);
}

/* Track — scrollable horizontal */
.blog-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;   /* espace pour ombre des cartes */
  /* masque la scrollbar */
  scrollbar-width: none;
}
.blog-carousel-track::-webkit-scrollbar { display: none; }

/* Carte article */
.blog-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-4px);
}
@media (max-width: 600px) {
  .blog-card { flex: 0 0 280px; }
}

/* Image */
.blog-card-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.25);
}

/* Corps */
.blog-card-body {
  padding: 1.25rem 1.375rem 1.375rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Tags catégories */
.blog-card-tags {
  display: flex; flex-wrap: wrap; gap: .375rem;
  margin-bottom: .75rem;
}
.blog-card-tag {
  font-size: .6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--orange);
  background: rgba(242,99,34,.09);
  border-radius: 999px;
  padding: .2rem .625rem;
}

/* Titre */
.blog-card-title {
  font-size: 1rem; font-weight: 700;
  line-height: 1.4;
  margin-bottom: .625rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-title a {
  color: var(--ink); text-decoration: none;
}
.blog-card-title a:hover { color: var(--orange); }

/* Extrait */
.blog-card-excerpt {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Footer carte */
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.125rem;
  padding-top: .875rem;
  border-top: 1px solid var(--line);
}
.blog-card-date {
  font-size: .8125rem;
  color: var(--muted);
}
.blog-card-read {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .8125rem; font-weight: 700;
  color: var(--orange); text-decoration: none;
  transition: gap .2s;
}
.blog-card-read:hover { gap: .625rem; }

/* ─── Footer ───────────────────────────────────────────────── */
#colophon {
  background: var(--ink);
  padding-block: 4rem 2rem;
  color: rgba(255,255,255,.55);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { }
.footer-logo-text {
  font-size: 1.25rem; font-weight: 800;
  color: #fff; letter-spacing: -.02em; display: block;
  margin-bottom: .75rem;
}
.footer-logo-text span { color: var(--orange); }
.footer-desc { font-size: .9375rem; line-height: 1.65; max-width: 36ch; margin-bottom: 1.25rem; }
.footer-contact-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; margin-bottom: .5rem;
}
.footer-contact-item svg { color: var(--orange); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-col-title {
  color: #fff; font-size: .875rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a {
  color: rgba(255,255,255,.55); font-size: .9375rem;
  text-decoration: none; transition: color .2s;
}
.footer-nav a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .8125rem;
}
.footer-badges { display: flex; gap: .75rem; flex-wrap: wrap; }
.footer-badge {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 99px; padding: .3rem .875rem;
  font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.55);
}

/* ─── Blog archive ─────────────────────────────────────────── */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.post-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,30,77,.1);
}
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.5rem; }
.post-meta { font-size: .8125rem; color: var(--muted); margin-bottom: .75rem; }
.post-card h2 { font-size: 1.125rem; margin-bottom: .625rem; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover { color: var(--orange); }
.post-card p { color: var(--muted); font-size: .9375rem; }

/* ─── Single post ──────────────────────────────────────────── */
.single-content {
  max-width: 740px; margin-inline: auto;
  padding-block: 5rem;
}
.single-content h1 { font-size: clamp(2rem, 4vw, 2.875rem); margin-bottom: 1rem; }
.single-content .entry-meta { color: var(--muted); font-size: .875rem; margin-bottom: 2rem; }
.single-content .entry-content {
  line-height: 1.75; color: #374151;
}
.single-content .entry-content h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.single-content .entry-content h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.single-content .entry-content p { margin-bottom: 1.25rem; }
.single-content .entry-content ul,
.single-content .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-content .entry-content li { margin-bottom: .375rem; }
.single-content .entry-content a { color: var(--orange); text-decoration: underline; }
.single-content .entry-content blockquote {
  border-left: 4px solid var(--orange);
  padding: .75rem 1.5rem; background: var(--paper);
  border-radius: 0 8px 8px 0; margin: 1.5rem 0;
  font-style: italic; color: var(--muted);
}
.single-content .entry-content img {
  width: 100%; border-radius: var(--radius); margin: 1.5rem 0;
}
.single-content .entry-content code {
  background: var(--paper-d); padding: .125rem .375rem;
  border-radius: 4px; font-size: .875em;
}
.single-content .entry-content pre {
  background: var(--ink); color: #f8f8f2;
  padding: 1.25rem; border-radius: var(--radius);
  overflow-x: auto; margin: 1.5rem 0;
}
.single-content .entry-content pre code {
  background: none; padding: 0;
}

/* ─── Contact form ─────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4rem; align-items: start;
  padding-block: 5rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item {
  display: flex; gap: 1rem; margin-bottom: 1.75rem;
}
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(242,99,34,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { color: var(--orange); }
.contact-info-label { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.contact-info-value { font-size: 1rem; color: var(--ink); font-weight: 600; }

/* Styles partagés formulaire custom + Contact Form 7 */
.contact-form label,
.contact-form-wrap .wpcf7 label {
  display: block; font-size: .875rem; font-weight: 700;
  color: var(--ink); margin-bottom: .375rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select,
.contact-form-wrap .wpcf7 input:not([type="submit"]),
.contact-form-wrap .wpcf7 textarea,
.contact-form-wrap .wpcf7 select {
  width: 100%; padding: .875rem 1rem;
  border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .9375rem; color: var(--ink);
  background: var(--paper); margin-bottom: 1.25rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.contact-form-wrap .wpcf7 input:focus,
.contact-form-wrap .wpcf7 textarea:focus,
.contact-form-wrap .wpcf7 select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,99,34,.15);
}
.contact-form textarea,
.contact-form-wrap .wpcf7 textarea { resize: vertical; min-height: 140px; }

/* Grille 2 colonnes — champs côte à côte */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Bouton submit CF7 */
.contact-form-wrap .wpcf7 input[type="submit"],
.contact-form-wrap .wpcf7 .btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: .875rem 1.75rem;
  background: var(--orange); color: #fff;
  border: none; border-radius: 999px;
  font-family: inherit; font-size: .9375rem; font-weight: 700;
  cursor: pointer; transition: all .2s ease;
}
.contact-form-wrap .wpcf7 input[type="submit"]:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,99,34,.35);
}

/* Messages de validation CF7 */
.contact-form-wrap .wpcf7-not-valid-tip {
  color: #dc2626; font-size: .8125rem; margin-top: -.75rem; margin-bottom: .75rem;
  display: block;
}
.contact-form-wrap .wpcf7-response-output {
  border-radius: 8px; padding: 1rem 1.25rem;
  margin-top: 1rem; font-size: .9375rem;
}
.contact-form-wrap .wpcf7-mail-sent-ok {
  background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46;
}
.contact-form-wrap .wpcf7-validation-errors,
.contact-form-wrap .wpcf7-mail-sent-ng {
  background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b;
}

/* Mention légale sous le formulaire */
.contact-legal {
  text-align: center; color: var(--muted);
  font-size: .8125rem; margin-top: 1rem;
}

/* ─── Services detail page ─────────────────────────────────── */
.services-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  padding-block: 5rem;
}
@media (max-width: 900px) { .services-detail-grid { grid-template-columns: 1fr; } }
.services-detail-grid:nth-child(even) {
  direction: rtl;
}
.services-detail-grid:nth-child(even) > * {
  direction: ltr;
}
.service-detail-visual {
  aspect-ratio: 1;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
}
.service-detail-visual svg { width: 50%; height: 50%; opacity: .25; }
.service-detail-features { list-style: none; display: flex; flex-direction: column; gap: .875rem; margin-top: 1.5rem; }
.service-detail-features li { display: flex; align-items: center; gap: .875rem; }
.feature-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(242,99,34,.12); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.feature-check svg { color: var(--orange); }

/* ─── About page ───────────────────────────────────────────── */
.about-hero {
  background: var(--navy); padding-block: 7rem;
  text-align: center; color: #fff;
}
.about-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; }
.about-hero p { color: rgba(255,255,255,.65); font-size: 1.125rem; max-width: 58ch; margin-inline: auto; }
.about-content { padding-block: 5rem; }
.about-person {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 2.5rem;
  display: flex; gap: 2.5rem; align-items: start;
  margin-top: 3rem;
}
@media (max-width: 768px) { .about-person { flex-direction: column; } }
.about-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: #fff;
}
/* Photo Maxime — carte À propos */
.about-avatar-photo {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 3px solid var(--orange);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}
@media (max-width: 768px) {
  .about-avatar-photo { width: 100%; height: 200px; }
}
.about-person-name { font-size: 1.375rem; font-weight: 800; margin-bottom: .25rem; }
.about-person-title { color: var(--orange); font-size: .9375rem; font-weight: 600; margin-bottom: 1rem; }
.about-person-bio { color: var(--muted); line-height: 1.7; }

/* ─── Glass card ───────────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ─── Badge pill (hero) ────────────────────────────────────── */
.badge-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(242,99,34,.12);
  border: 1px solid rgba(242,99,34,.25);
  border-radius: 999px;
  padding: .375rem 1rem;
  margin-bottom: 1.5rem;
}

/* ─── Live dot ─────────────────────────────────────────────── */
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  display: inline-block; flex-shrink: 0;
  animation: live-p 2s ease-in-out infinite;
}
@keyframes live-p {
  0%, 100% { opacity:1; transform:scale(1); }
  50%       { opacity:.4; transform:scale(.7); }
}

/* ─── Gradient text ────────────────────────────────────────── */
.grad-text {
  background: linear-gradient(90deg, var(--orange) 0%, #FF9A5E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Floating cards (hero right col) ─────────────────────── */
.hero-float-col {
  position: relative;
  height: 520px;
}
@media (max-width: 900px) { .hero-float-col { display: none; } }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ─── Stats bar (bas du hero) ──────────────────────────────── */
.hero-stats-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  padding-block: 2rem;
  position: relative; z-index: 1;
}
.hero-stats-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  text-align: center;
}
@media (max-width: 700px) {
  .hero-stats-inner { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
}
.hero-stat-val {
  font-size: 2.5rem; font-weight: 800; color: #fff;
  line-height: 1;
}
.hero-stat-val.orange { color: var(--orange); }
.hero-stat-lbl {
  color: rgba(255,255,255,.4); font-size: .875rem; margin-top: .375rem;
}

/* ─── Animations ───────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: fade-up .6s ease both; }
.reveal-delay-1 { animation-delay: .1s; }
.reveal-delay-2 { animation-delay: .2s; }
.reveal-delay-3 { animation-delay: .3s; }

/* ─── Utility ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.section-header { max-width: 640px; }
.section-header.center { margin-inline: auto; text-align: center; }
