/* ══════════════════════════════════════════════════════════
   ELYAWEB v3 — main.css
   Portage fidèle de la maquette elyaweb-maquette-v3.html
   Organisé dans l'ordre des sections de la page.
   Aucune valeur codée en dur — tout passe par les variables :root.
   ══════════════════════════════════════════════════════════ */


/* ══ 1. RESET ══════════════════════════════════════════════ */

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

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

body {
  font-family: var(--font-b);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}


/* ══ 2. VARIABLES ══════════════════════════════════════════ */

:root {
  --gold:         #D4A853;
  --gold-dim:     rgba(212, 168, 83, 0.15);
  --gold-faint:   rgba(212, 168, 83, 0.06);
  --bg:           #0B1026;
  --bg-alt:       rgba(212, 168, 83, 0.03);
  --text:         #F5F0E8;
  --text-dim:     rgba(245, 240, 232, 0.55);
  --text-muted:   rgba(245, 240, 232, 0.38);
  --border:       rgba(212, 168, 83, 0.12);
  --border-hover: rgba(212, 168, 83, 0.30);
  --green:        #28CA41;
  --radius:       8px;
  --max:          1100px;
  --section-pad:  5rem;
  --font-d:       'Bricolage Grotesque', sans-serif;
  --font-b:       'Outfit', sans-serif;
}


/* ══ 3. TYPOGRAPHIE GLOBALE ════════════════════════════════ */

.hero-h1 {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-title {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-title {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-title {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Partie dorée/italique commune à tous les titres */
.hero-h1 em,
.section-title em,
.page-title em,
.cta-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-h1 em {
  display: block;
}


/* ══ 4. LAYOUT UTILITAIRES ══════════════════════════════════ */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

.tc {
  text-align: center;
}

.section {
  padding: var(--section-pad) 0;
}

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

.section-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.section-head {
  margin-bottom: 3rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* En-tête pages intérieures */
.page-hero {
  padding: 7rem 0 3.5rem;
  border-bottom: 0.5px solid var(--border);
}

.page-title {
  margin-bottom: 1rem;
}

.page-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.8;
}

.article-meta {
  margin-top: 0.75rem;
}

.entry-content {
  max-width: 720px;
}

.entry-content p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-dim);
}

.entry-content h2 {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.entry-content h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 400;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.no-results,
.search-no-results {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.search-no-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
}


/* ══ 5. BOUTONS ══════════════════════════════════════════════ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.78rem 1.8rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: filter 0.25s, transform 0.25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-primary.lg {
  padding: 1rem 2.5rem;
  font-size: 0.88rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-hover);
  color: var(--gold);
  padding: 0.78rem 1.8rem;
  border-radius: 4px;
  font-size: 0.82rem;
  transition: background 0.25s, border-color 0.25s;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-ghost:hover {
  background: var(--gold-faint);
  border-color: var(--gold);
}


/* ══ 6. GRAIN OVERLAY ════════════════════════════════════════ */

/* Texture de grain CSS — purement décoratif, aria-hidden géré par pointer-events:none */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ══ 7. ANIMATIONS GLOBALES ══════════════════════════════════ */

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-12px, 8px) scale(1.02); }
}

@keyframes pulse {
  0%   { transform: translateY(-50%) scale(1);    opacity: 0.7; }
  100% { transform: translateY(-50%) scale(1.05); opacity: 1; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes morph-fill {
  0%   { width: 5%; }
  100% { width: 100%; }
}

/* Reveal au scroll — état initial */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ══ 8. HEADER / NAV ══════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
}

/* Liste générée par wp_nav_menu() + Elya_Nav_Walker */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--bg);
  padding: 0.52rem 1.3rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: filter 0.25s;
}

.nav-cta:hover {
  filter: brightness(1.1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.25s;
}

/* ══ 9. HERO ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 40%, rgba(212, 168, 83, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(40, 60, 160, 0.14) 0%, transparent 55%);
}

/* Grille de points animée — recentrée */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212, 168, 83, 0.25) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 65% 70% at 50% 45%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 50% 45%, black 0%, transparent 70%);
  animation: drift 20s ease-in-out infinite alternate;
}

/* Halo doré — recentré */
.hero-halo {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
  border: 1px solid rgba(212, 168, 83, 0.07);
  animation: pulse 6s ease-in-out infinite alternate;
}

/* Anneau extérieur — recentré */
.hero-ring {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(212, 168, 83, 0.05);
  animation: pulse 6s ease-in-out infinite alternate-reverse;
}

.hero-ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 0;
}

.hero-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Contenu centré */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.hero-tag {
  font-size: 0.67rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Trait de part et d'autre du tag */
.hero-tag::before,
.hero-tag::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.hero-h1 {
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.stat-val {
  display: block;
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
}

.stat-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 0.15rem;
  display: block;
}

/* hero-morph supprimé — plus pertinent sans colonne droite */


/* ══ 10. OFFRES ═══════════════════════════════════════════════ */

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.offer-card {
  background: var(--bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background 0.25s;
  position: relative;
}

.offer-card:hover {
  background: rgba(212, 168, 83, 0.04);
}

.offer-card.featured {
  background: rgba(212, 168, 83, 0.05);
}

.offer-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.58rem;
  font-weight: 500;
  padding: 3px 14px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.offer-name {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  padding-top: 0.5rem;
}

.offer-price {
  font-family: var(--font-d);
  font-size: 2.1rem;
  font-weight: 300;
  line-height: 1;
  margin: 0.25rem 0;
}

.offer-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.offer-divider {
  height: 0.5px;
  background: var(--border);
  margin: 0.25rem 0;
}

.offer-detail {
  font-size: 0.76rem;
  color: var(--text-dim);
  line-height: 1.9;
}

.offer-cta {
  margin-top: auto;
  padding-top: 0.75rem;
}


/* ══ 11. PORTFOLIO ════════════════════════════════════════════ */

.pf-featured-wrap {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}

.pf-featured-wrap:hover {
  border-color: var(--border-hover);
}

.pf-featured-visual {
  height: 340px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pf-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 38, 0.95) 0%, rgba(11, 16, 38, 0.2) 60%, transparent 100%);
}

.pf-live-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--green);
  color: var(--bg);
  font-size: 0.55rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.pf-live-badge span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(11, 16, 38, 0.5);
  display: block;
  animation: blink 2s infinite;
}

.pf-featured-info {
  padding: 1.5rem 2rem;
  background: var(--bg-alt);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.pf-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.pf-name {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.pf-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 480px;
}

.pf-techs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.pf-tech {
  background: var(--gold-dim);
  color: var(--gold);
  padding: 2px 9px;
  border-radius: 10px;
  font-size: 0.6rem;
  font-weight: 400;
}

.pf-cta-col {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Grille vignettes */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.pf-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  display: block;
}

.pf-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.pf-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.pf-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-card-info {
  padding: 0.9rem 1rem;
  background: var(--bg-alt);
}

.pf-card-name {
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.pf-card-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Page individuelle portfolio */
.project-hero-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.project-content .entry-content {
  margin: 0 auto;
}


/* ══ 12. PROCESS ══════════════════════════════════════════════ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 0;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
  pointer-events: none;
}

.process-step {
  padding: 0 1.25rem;
  position: relative;
  text-align: center;
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 0.78rem;
  color: var(--gold);
  font-family: var(--font-d);
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.process-step:hover .step-dot {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.step-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.step-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 155px;
  margin: 0 auto;
}


/* ══ 13. BLOG ═════════════════════════════════════════════════ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.blog-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  transition: border-color 0.25s, transform 0.25s;
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.blog-thumb {
  height: 160px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.blog-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-thumb-img {
  transform: scale(1.04);
}

.blog-body {
  padding: 1.25rem;
}

.blog-cat {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.blog-excerpt {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-date {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.blog-read {
  font-size: 0.7rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.25s;
}

.blog-card:hover .blog-read {
  gap: 0.55rem;
}

/* Navigation article */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-previous a,
.nav-next a {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-previous a:hover,
.nav-next a:hover {
  color: var(--gold);
}

.nav-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.nav-title {
  font-family: var(--font-d);
  font-size: 0.95rem;
}

/* Pagination archives */
.archive-pagination {
  margin-top: 3rem;
  text-align: center;
}

.page-numbers {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  list-style: none;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.2s;
}

.page-numbers a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.page-numbers .current {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}


/* ══ 14. TÉMOIGNAGE ══════════════════════════════════════════ */

.testi-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testi-quote {
  font-family: var(--font-d);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  font-style: italic;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.3;
  letter-spacing: -0.05em;
}

.testi-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* Gutenberg ajoute un <p> dans the_content() */
.testi-text p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-style: inherit;
}

.testi-author {
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
  color: var(--text);
}

.testi-role {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-top: 0.2rem;
  display: block;
}


/* ══ 15. CTA ══════════════════════════════════════════════════ */

.cta-section {
  border-top: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(212, 168, 83, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.cta-email {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

.cta-email a {
  color: var(--gold);
  transition: opacity 0.2s;
}

.cta-email a:hover {
  opacity: 0.7;
}


/* ══ 16. FOOTER ═══════════════════════════════════════════════ */

.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 0.5px solid var(--border);
}

.footer-logo {
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-address a {
  font-size: 0.76rem;
  color: var(--text-dim);
  display: block;
  line-height: 2;
  transition: color 0.2s;
}

.footer-address a:hover {
  color: var(--gold);
}

.footer-col-title {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
  line-height: 1;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-copy {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Texte SEO géographique — visible crawlers, discret visuellement */
.footer-geo {
  font-size: 0.65rem;
  color: var(--text-muted);
  opacity: 0.4;
  text-align: center;
  margin-top: 1.5rem;
}


/* ══ 17. PAGES INTÉRIEURES ════════════════════════════════════ */

.article-thumbnail {
  margin: 0;
  overflow: hidden;
  max-height: 420px;
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 720px;
}

.article-navigation {
  border-top: 0.5px solid var(--border);
}

.article-page-links {
  margin-top: 2rem;
}

/* Recherche */
.search-form {
  margin-top: 1rem;
}

.search-form input[type="search"] {
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-family: var(--font-b);
  font-size: 0.85rem;
  width: 100%;
  max-width: 360px;
}

.search-form input[type="search"]::placeholder {
  color: var(--text-muted);
}

.search-form button {
  background: var(--gold);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-left: 0.5rem;
  transition: filter 0.2s;
}

.search-form button:hover {
  filter: brightness(1.1);
}


/* ══ 18. RESPONSIVE ═══════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Navigation */
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 16, 38, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 0.5px solid var(--border);
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  /* Hero */
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-morph {
    display: none;
  }

  /* Grilles → 1 colonne */
  .offers-grid,
  .blog-grid,
  .pf-grid {
    grid-template-columns: 1fr;
  }

  /* Process → 2 colonnes */
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .process-grid::before {
    display: none;
  }

  /* Portfolio featured */
  .pf-featured-info {
    flex-direction: column;
  }

  /* Footer → 2 colonnes */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Page hero */
  .page-hero {
    padding: 4rem 0 2rem;
  }

  /* Boutons CTA 404 */
  .wrap [style*="display:flex"] {
    flex-direction: column;
    align-items: center;
  }
}


/* ══ 19. ACCESSIBILITÉ ════════════════════════════════════════ */

/* Skip link — visible uniquement au focus clavier */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius);
  z-index: 99999;
  overflow: visible;
  text-decoration: none;
}

/* Texte masqué visuellement mais accessible aux lecteurs d'écran */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  word-wrap: normal;
}

/* Focus visible — accessible au clavier */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.nav-link:focus-visible,
.nav-cta:focus-visible,
.footer-logo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}
