/*
Theme Name: ICONIK Architecture
Theme URI: https://iconik-architecture.tn

Author: Mohamed Amine Khelil (MAK)
Author Contact: khelil.med.amine@gmail.com

Description: Thème professionnel haut de gamme pour ICONIK Architecture – Cabinet d'architecte dirigé par Hamza Khelil à Monastir, Tunisie. Design moderne, minimaliste et élégant avec palette noir/or/beige. Développé sur mesure pour une expérience utilisateur fluide et optimisée SEO.

Developer: Mohamed Amine Khelil 
Developer Contact: khelil.med.amine@gmail.com

Client: Hamza Khelil – ICONIK Architecture
Client URI: https://iconik-architecture.tn

Version: 7.0.0
Requires at least: 6.0
Tested up to: 6.7
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: iconik-architecture

Tags: architecture, portfolio, dark, minimal, one-page, custom-colors, custom-logo, featured-images, threaded-comments, translation-ready

*/

/* === VARIABLES GLOBALES === */
:root {
  --ink: #0c0b09;
  --chalk: #f5f2ec;
  --warm: #f0ebe2;
  --gold: #c8a96b;
  --gold-pale: #e8d9be;
  --gold-dim: rgba(200,169,107,0.15);
  --mist: #8a857c;
  --bone: #d9d2c5;
  --font-display: 'Bebas Neue', sans-serif;
  --font-italic: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.4s var(--ease);
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--chalk);
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.light-page {
  background: var(--chalk);
  color: var(--ink);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* === CUSTOM CURSOR === */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px;
  border: 1px solid rgba(200,169,107,0.5); border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease), height 0.5s var(--ease);
}
body.cursor-hover .cursor { width: 16px; height: 16px; }
body.cursor-hover .cursor-ring { width: 60px; height: 60px; }

/* === NAVIGATION === */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 72px;
  transition: background 0.4s, backdrop-filter 0.4s;
}
#site-header.scrolled {
  background: rgba(12,11,9,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-branding a {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.12em;
  color: var(--chalk); display: flex; align-items: baseline; gap: 2px;
}
.site-branding .dot { color: var(--gold); font-size: 2rem; line-height: 0; }

.nav-right { display: flex; align-items: center; gap: 2.5rem; }

#primary-menu {
  display: flex; gap: 2rem;
}
#primary-menu li a {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(245,242,236,0.5); transition: color 0.3s;
}
#primary-menu li a:hover,
#primary-menu li.current-menu-item a { color: var(--gold); }

.nav-cta-btn {
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); border: none; padding: 10px 22px;
  display: inline-block;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.3s;
}
.nav-cta-btn:hover { background: var(--chalk); color: var(--ink); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--chalk); transition: 0.3s; }

/* Mobile Nav */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 900;
  background: var(--ink); flex-direction: column; justify-content: center;
  padding: 5vw; opacity: 0; transition: opacity 0.3s;
}
.mobile-nav-overlay.active { display: flex; opacity: 1; }
.mobile-nav-overlay .close-btn {
  position: absolute; top: 1.5rem; right: 5vw;
  font-family: var(--font-display); font-size: 2rem; color: var(--chalk);
  background: none; border: none;
}
.mobile-nav-overlay a {
  font-family: var(--font-display); font-size: 3.2rem; letter-spacing: 0.06em;
  color: var(--chalk); padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245,242,236,0.05); display: block; transition: color 0.3s;
}
.mobile-nav-overlay a:hover { color: var(--gold); }

/* === BOUTONS GLOBAUX === */
.btn-gold {
  display: inline-block; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); border: none; padding: 14px 30px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.3s;
}
.btn-gold:hover { background: var(--chalk); color: var(--ink); }

.btn-ghost-dark {
  display: inline-block; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--chalk); border: 1px solid rgba(245,242,236,0.2); padding: 14px 30px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost-light {
  display: inline-block; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); border: 1px solid rgba(12,11,9,0.2); padding: 14px 30px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }

/* === SECTION LABELS === */
.section-label {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.section-label::before { content: ''; width: 40px; height: 1px; background: var(--gold); display: block; }

.section-heading-display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9; letter-spacing: 0.01em;
}

/* === HERO === */
.hero-section {
  height: 100vh; min-height: 820px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(200,169,107,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,107,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(200,169,107,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200,169,107,0.04) 0%, transparent 60%);
}
.hero-ghost-num {
  position: absolute; right: 5vw; bottom: 5vh;
  font-family: var(--font-display); font-size: 18vw;
  color: rgba(200,169,107,0.04); line-height: 1;
  pointer-events: none; user-select: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 5vw 10vh; flex: 1;
}
.hero-eyebrow {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 1.2rem;
  opacity: 0; animation: fadeSlide 1s var(--ease) 0.2s forwards;
}
.hero-eyebrow .line { width: 48px; height: 1px; background: var(--gold); display: block; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 13rem);
  line-height: 0.88; letter-spacing: 0.01em; color: var(--chalk);
}
.hero-headline .row { display: block; overflow: hidden; }
.hero-headline .row span {
  display: block; transform: translateY(110%);
  animation: slideUp 1s var(--ease) forwards;
}
.hero-headline .row:nth-child(1) span { animation-delay: 0.3s; }
.hero-headline .row:nth-child(2) span { animation-delay: 0.45s; }
.hero-headline .row:nth-child(3) span { animation-delay: 0.6s; }
.hero-headline .italic-word {
  font-family: var(--font-italic); font-size: 0.82em;
  color: var(--gold); font-style: italic; display: inline;
}
.hero-bottom {
  margin-top: 4rem; display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0; animation: fadeSlide 1s var(--ease) 0.9s forwards;
  flex-wrap: wrap; gap: 2rem;
}
.hero-desc {
  font-size: 0.85rem; font-weight: 300; line-height: 1.75;
  color: rgba(245,242,236,0.5); max-width: 340px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll-indicator {
  position: absolute; right: 5vw; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1rem; z-index: 2;
  opacity: 0; animation: fadeSlide 1s var(--ease) 1.2s forwards;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollPulse 2s ease infinite; }
.scroll-text { writing-mode: vertical-rl; font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(245,242,236,0.3); }

/* === MARQUEE === */
.marquee-band { background: var(--gold); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 20s linear infinite; }
.marquee-item {
  font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.15em;
  color: var(--ink); padding: 0 2.5rem; display: flex; align-items: center; gap: 2.5rem;
}
.marquee-sep { width: 4px; height: 4px; background: var(--ink); border-radius: 50%; opacity: 0.4; }

/* === ABOUT === */
.about-section { display: grid; grid-template-columns: 5fr 7fr; min-height: 90vh; }
.about-left {
  background: var(--warm); padding: 8vw 5vw;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.about-left-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(200,169,107,0.1) 0%, transparent 60%);
}
.about-ghost-initials {
  position: absolute; top: 5%; left: -2vw;
  font-family: var(--font-display); font-size: 22vw;
  color: rgba(12,11,9,0.04); line-height: 1; user-select: none;
}
.about-portrait {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 3/4; overflow: hidden;
  margin-bottom: 2rem;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #2c2820 0%, #1a1710 50%, #0c0b09 100%);
  display: flex; align-items: center; justify-content: center;
}
.portrait-arch-svg { opacity: 0.2; }
.about-architect-name {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.06em;
  color: var(--ink); line-height: 1;
}
.about-architect-role {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--mist); margin-top: 0.4rem;
}
.about-right {
  background: var(--ink); padding: 8vw 6vw;
  display: flex; flex-direction: column; justify-content: center;
}
.about-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95; letter-spacing: 0.02em; color: var(--chalk); margin-bottom: 2.5rem;
}
.about-title .gold { color: var(--gold); }
.about-body {
  font-size: 0.88rem; line-height: 1.85; color: rgba(245,242,236,0.55); max-width: 480px; margin-bottom: 1.5rem;
}
.about-divider { width: 60px; height: 1px; background: var(--gold); margin: 2rem 0; }
.about-quote {
  font-family: var(--font-italic); font-size: 1.3rem; font-style: italic;
  color: rgba(245,242,236,0.75); line-height: 1.5; max-width: 400px;
}
.skills-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.skill-chip {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 7px 14px; background: rgba(200,169,107,0.08); border: 1px solid rgba(200,169,107,0.2);
  color: rgba(200,169,107,0.8);
}

/* === STATS === */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--gold); }
.stat-item { padding: 4rem 3rem; border-right: 1px solid rgba(12,11,9,0.15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: var(--font-display); font-size: 4rem; color: var(--ink); line-height: 1; }
.stat-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(12,11,9,0.5); margin-top: 0.4rem; }

/* === SERVICES === */
.services-section { background: var(--chalk); padding: 10vw 5vw; }

/* Titre + intro : grille 2 colonnes (titre ~60%, intro ~40%) avec max-width central
   → évite l'effet "titre énorme à gauche, intro perdue loin à droite" sur grands écrans */
.services-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 3rem 5rem;
  margin-bottom: 5rem;
  max-width: 1400px;
}
.services-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}
.services-heading .outline { -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.services-heading .gold-outline { -webkit-text-stroke: 1.5px var(--gold); color: transparent; }
.services-intro {
  max-width: 380px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--mist);
  margin: 0;
  padding-bottom: 0.5rem;
}

/* Responsive : sur mobile/tablet, le titre passe au-dessus de l'intro */
@media (max-width: 900px) {
  .services-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }
  .services-heading { font-size: clamp(2.4rem, 8vw, 4rem); }
  .services-intro { max-width: 100%; }
}

.services-accordion {}
.service-item {
  display: grid; grid-template-columns: 80px 1fr 80px;
  align-items: center; padding: 2.2rem 0;
  border-top: 1px solid var(--bone);
  position: relative; overflow: hidden; gap: 2rem;
}
.service-item:last-child { border-bottom: 1px solid var(--bone); }
.service-item::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: var(--ink); transform: translateX(-101%); transition: transform 0.4s var(--ease); z-index: 0;
}
.service-item:hover::before { transform: translateX(0); }
.service-item:hover .svc-num { color: rgba(200,169,107,0.3); }
.service-item:hover .svc-name { color: var(--chalk); }
.service-item:hover .svc-desc { color: rgba(245,242,236,0.45); }
.service-item:hover .svc-arrow { color: var(--gold); opacity: 1; transform: translateX(0); }
.svc-num {
  font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.1em;
  color: var(--bone); position: relative; z-index: 1; transition: color 0.3s;
}
.svc-content { position: relative; z-index: 1; }
.svc-name {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 0.03em; color: var(--ink); line-height: 1; transition: color 0.3s; margin-bottom: 0.4rem;
}
.svc-desc { font-size: 0.78rem; line-height: 1.6; color: var(--mist); max-width: 500px; transition: color 0.3s; }
.svc-arrow {
  font-size: 1.4rem; color: var(--ink); position: relative; z-index: 1;
  opacity: 0.2; transform: translateX(-8px); transition: 0.3s var(--ease); justify-self: end;
}

/* === PROJETS === */
.projects-section { background: var(--ink); padding: 10vw 0; }
.projects-header {
  padding: 0 5vw; margin-bottom: 4rem;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem;
}
.projects-heading { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 7rem); line-height: 0.9; color: var(--chalk); }
.projects-heading em { font-family: var(--font-italic); font-size: 0.7em; color: var(--gold); display: block; }
.filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
  font-size: 0.6rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid rgba(245,242,236,0.1); background: none;
  color: rgba(245,242,236,0.35); transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; padding: 0 3px; }
.bento-cell { background: #111; overflow: hidden; position: relative; }
.bento-cell:nth-child(1) { grid-column: span 7; }
.bento-cell:nth-child(2) { grid-column: span 5; }
.bento-cell:nth-child(3) { grid-column: span 4; }
.bento-cell:nth-child(4) { grid-column: span 5; }
.bento-cell:nth-child(5) { grid-column: span 3; }
.bento-cell:nth-child(n+6) { grid-column: span 4; }

.bento-img-wrap { width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative; }
.bento-cell:nth-child(1) .bento-img-wrap { aspect-ratio: 16/8; }
.bento-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.bento-cell:hover .bento-img-wrap img { transform: scale(1.07); }

.bento-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.7s var(--ease);
}
.bento-cell:hover .bento-img-placeholder { transform: scale(1.04); }

.bento-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  padding: 2rem 1.5rem 1.2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transform: translateY(4px); transition: 0.4s var(--ease);
}
.bento-cell:hover .bento-overlay { opacity: 1; transform: translateY(0); }
.bento-cat { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.bento-title { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.04em; color: var(--chalk); line-height: 1.1; }

.bento-footer { padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.bento-footer .f-cat { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,242,236,0.3); }
.bento-footer .f-name { font-family: var(--font-display); font-size: 1rem; color: var(--chalk); letter-spacing: 0.04em; }
.bento-footer .f-arrow { color: var(--gold); opacity: 0; transform: translateX(-6px); transition: 0.3s; }
.bento-cell:hover .f-arrow { opacity: 1; transform: translateX(0); }

.projects-cta { padding: 4rem 5vw 0; text-align: center; }

/* Single Project */
.project-single { background: var(--ink); padding-top: 72px; }
.project-hero { min-height: 70vh; display: flex; align-items: flex-end; padding: 5vw; background: #111; position: relative; overflow: hidden; }
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.project-hero-content { position: relative; z-index: 1; }
.project-meta { font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.project-single-title { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 8rem); line-height: 0.9; color: var(--chalk); }
.project-body { padding: 8vw 5vw; max-width: 800px; }
.project-body p { font-size: 1rem; line-height: 1.85; color: rgba(245,242,236,0.65); margin-bottom: 1.5rem; }
.project-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4px; padding: 0 3px 8vw; }
.project-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* === BLOG === */
.blog-section { background: var(--chalk); padding: 10vw 5vw; }
.blog-top { margin-bottom: 5rem; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }
.blog-heading { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 7rem); line-height: 0.9; color: var(--ink); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.post-card { background: var(--warm); overflow: hidden; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb { height: 240px; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.post-body { padding: 1.8rem; }
.post-date { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.post-title { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.03em; color: var(--ink); line-height: 1.1; margin-bottom: 0.8rem; }
.post-excerpt { font-size: 0.78rem; line-height: 1.7; color: var(--mist); }
.post-more {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem;
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); transition: color 0.3s;
}
.post-more .arr { transition: transform 0.3s; }
.post-more:hover { color: var(--gold); }
.post-more:hover .arr { transform: translateX(4px); }

/* Single Post */
.single-post-wrap {
  background: var(--chalk); /* pour éviter un flash de page blanche */
}

/* Hero inner : largeur max + centrage + padding propres */
.post-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 5vw 4rem;
}

.post-hero { min-height: 50vh; display: flex; align-items: flex-end; padding: 5vw; background: var(--ink); position: relative; overflow: hidden; }
.post-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.post-hero-content { position: relative; z-index: 1; }
.post-content-wrap { max-width: 800px; margin: 0 auto; padding: 6rem 5vw; }
.post-content-wrap .entry-content p { font-size: 1rem; line-height: 1.9; color: var(--mist); margin-bottom: 1.5rem; }
.post-content-wrap .entry-content h2 { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin: 2.5rem 0 1rem; }
.post-content-wrap .entry-content h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin: 2rem 0 0.8rem; }
.post-content-wrap .entry-content img { width: 100%; margin: 2rem 0; }
.post-content-wrap .entry-content blockquote { border-left: 2px solid var(--gold); padding-left: 2rem; font-family: var(--font-italic); font-style: italic; font-size: 1.3rem; color: var(--ink); margin: 2rem 0; }

/* === CONTACT === */
.contact-section { background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-info {
  background: var(--gold); padding: 10vw 6vw;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.contact-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(12,11,9,0.08); }
.contact-circle-1 { width: 70%; aspect-ratio: 1; bottom: -20%; right: -20%; }
.contact-circle-2 { width: 90%; aspect-ratio: 1; bottom: -30%; right: -30%; }
.contact-big-text { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 6.5rem); line-height: 0.9; color: var(--ink); position: relative; z-index: 1; }
.contact-sub { font-size: 0.82rem; line-height: 1.75; color: rgba(12,11,9,0.6); max-width: 300px; margin-top: 1.5rem; position: relative; z-index: 1; }
.contact-details { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.2rem; }
.c-item { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon { width: 34px; height: 34px; background: rgba(12,11,9,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-icon svg { width: 13px; height: 13px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.c-label { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(12,11,9,0.4); margin-bottom: 0.2rem; }
.c-value { font-size: 0.82rem; color: rgba(12,11,9,0.75); line-height: 1.5; }

.contact-form-wrap { padding: 10vw 6vw; }
.contact-form-title { font-family: var(--font-display); font-size: 2.2rem; letter-spacing: 0.04em; color: var(--chalk); margin-bottom: 2.5rem; line-height: 1; }
.contact-form-title span { color: var(--gold); }

/* Contact Form 7 overrides */
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.wpcf7-form .form-group { margin-bottom: 1.5rem; }
.wpcf7-form label { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(245,242,236,0.3); display: block; margin-bottom: 0.5rem; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 12px 0; background: none;
  border: none; border-bottom: 1px solid rgba(245,242,236,0.1);
  color: var(--chalk); font-family: var(--font-body); font-size: 0.9rem; outline: none;
  transition: border-color 0.3s; -webkit-appearance: none;
}
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: rgba(245,242,236,0.2); }
.wpcf7-form select option { background: var(--ink); }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-bottom-color: var(--gold); }
.wpcf7-form textarea { resize: none; height: 80px; }
.wpcf7-submit {
  margin-top: 2rem; width: 100%; padding: 18px; background: var(--gold); border: none;
  color: var(--ink); font-family: var(--font-body); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.3s;
}
.wpcf7-submit:hover { background: var(--chalk); }
.wpcf7-response-output { margin-top: 1rem; font-size: 0.78rem; padding: 0.8rem; border: 1px solid var(--gold); color: var(--gold); }

/* === MAP === */
.map-section {
  height: 350px; position: relative; overflow: hidden;
  background: #111008;
  display: flex; align-items: stretch;
}
.map-section iframe { width: 100%; height: 100%; border: none; filter: grayscale(60%) brightness(0.7); }
.map-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem;
}
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,169,107,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(200,169,107,0.05) 1px, transparent 1px); background-size: 60px 60px; }
.map-dot { width: 18px; height: 18px; background: var(--gold); border-radius: 50%; margin: 0 auto 1rem; animation: ping 2s ease infinite; }
.map-location { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.12em; color: var(--chalk); }
.map-sublocation { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(200,169,107,0.5); margin-top: 0.4rem; }

/* === FOOTER === */
#site-footer { background: #070706; padding: 6rem 5vw 3rem; }
.footer-grid { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; gap: 5rem; padding-bottom: 5rem; border-bottom: 1px solid rgba(245,242,236,0.05); margin-bottom: 2.5rem; }
.footer-brand-name { font-family: var(--font-display); font-size: 3rem; letter-spacing: 0.08em; color: var(--chalk); line-height: 1; margin-bottom: 1rem; }
.footer-brand-name span { color: var(--gold); }
.footer-tagline { font-size: 0.78rem; line-height: 1.7; color: rgba(245,242,236,0.25); max-width: 240px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(245,242,236,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 500; color: rgba(245,242,236,0.3); transition: 0.3s;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.78rem; color: rgba(245,242,236,0.3); transition: color 0.3s; }
.footer-col ul a:hover { color: rgba(245,242,236,0.7); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.7rem; color: rgba(245,242,236,0.18); }

/* === PAGES INTERNES === */
.page-hero {
  min-height: 50vh; background: #111; display: flex; align-items: flex-end;
  padding: 5vw; position: relative; overflow: hidden; padding-top: 72px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .page-eyebrow { font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.page-hero .page-title { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 8rem); line-height: 0.9; color: var(--chalk); }
.page-content { padding: 8vw 5vw; max-width: 900px; }
.page-content p { font-size: 1rem; line-height: 1.9; color: rgba(245,242,236,0.55); margin-bottom: 1.5rem; }
.page-content h2 { font-family: var(--font-display); font-size: 2.5rem; color: var(--chalk); margin: 2.5rem 0 1rem; }

/* === ANIMATIONS === */
@keyframes fadeSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(200,169,107,0.5); } 70% { box-shadow: 0 0 0 20px rgba(200,169,107,0); } 100% { box-shadow: 0 0 0 0 rgba(200,169,107,0); } }

/* Scroll reveal */
.sr { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.sr.visible { opacity: 1; transform: none; }
.sr.d1 { transition-delay: 0.1s; }
.sr.d2 { transition-delay: 0.2s; }
.sr.d3 { transition-delay: 0.3s; }
.sr.d4 { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(12,11,9,0.1); }
}
@media (max-width: 900px) {
  .about-section { grid-template-columns: 1fr; }
  .about-left { min-height: 50vh; }
  .contact-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .bento-grid { display: flex; flex-direction: column; }
}
@media (max-width: 768px) {
  #primary-menu, .nav-cta-btn { display: none; }
  .menu-toggle { display: flex; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-scroll-indicator { display: none; }
  .service-item { grid-template-columns: 60px 1fr 40px; }
  .projects-header { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  #site-footer { padding: 4rem 5vw 2rem; }
  .contact-circle { display: none; }
  .wpcf7-form .form-row { grid-template-columns: 1fr; }
  .blog-top { flex-direction: column; align-items: flex-start; }
}

/* === WORDPRESS CORE === */
.screen-reader-text { position: absolute; left: -9999px; }
.aligncenter { text-align: center; display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.wp-block-image { margin: 2rem 0; }

/* Gutenberg blocks adaptés */
.entry-content .wp-block-quote {
  border-left: 2px solid var(--gold); padding-left: 2rem;
  font-family: var(--font-italic); font-style: italic; font-size: 1.3rem; margin: 2rem 0;
}
.entry-content .wp-block-separator { border: none; border-top: 1px solid var(--bone); margin: 3rem 0; }
.entry-content .wp-block-cover { margin: 2rem 0; }
.entry-content a { color: var(--gold); }
.entry-content a:hover { text-decoration: underline; }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; padding: 4rem 0; }
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; border: 1px solid rgba(245,242,236,0.1); color: rgba(245,242,236,0.4); transition: 0.3s;
}
.pagination .current, .pagination a:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════
   WPFORMS ICONIK – Styles de confirmation & transitions
   (Complète wpforms-iconik.css pour les états dynamiques)
═══════════════════════════════════════════════════ */

/* Animation d'entrée du formulaire WPForms */
.iconik-form-wrapper {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Focus visible sur les champs WPForms — animation ligne or */
.iconik-form-wrapper .wpforms-field input:focus,
.iconik-form-wrapper .wpforms-field select:focus,
.iconik-form-wrapper .wpforms-field textarea:focus {
    border-bottom-color: var(--gold) !important;
}

/* Confirmation message ICONIK */
.iconik-form-wrapper .wpforms-confirmation-container-full,
.wpforms-confirmation-container-full.iconik-form-wrapper {
    background: rgba(200,169,107,0.07) !important;
    border: 1px solid rgba(200,169,107,0.3) !important;
    padding: 2.5rem !important;
}

.iconik-form-wrapper .wpforms-confirmation-container-full p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--gold) !important;
    line-height: 1.7;
}

/* Loader pendant l'envoi AJAX */
.wpforms-container .wpforms-submit-container .wpforms-submit[disabled] {
    opacity: 0.7;
    position: relative;
}

/* Suppression du recaptcha badge intrusif */
.grecaptcha-badge { visibility: hidden !important; }


/* ═══════════════════════════════════════════════════════════════
   HERO V3 — Layout 2 colonnes (texte + scène 3D) + animations
   ═══════════════════════════════════════════════════════════════ */
.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    "text scene"
    "bottom bottom";
  column-gap: 3rem;
  row-gap: 2rem;
  align-items: center;
}
.hero-text-col { grid-area: text; }
.hero-3d-col {
  grid-area: scene;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-bottom { grid-area: bottom; }

.hero-headline { font-size: clamp(3.5rem, 9vw, 11rem); }

/* Scène 3D isométrique */
.iconik-3d-scene {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(200, 169, 107, 0.18));
  animation: floatScene 6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes floatScene {
  0%, 100% { transform: translateY(0) rotateZ(0); }
  50%      { transform: translateY(-6px) rotateZ(0.3deg); }
}

/* Soleil qui pulse */
.iso-sun-disc {
  animation: sunPulse 4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes sunPulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

/* Palmes qui oscillent */
.iso-palm-leaf {
  transform-origin: 80px 110px;
  transform-box: fill-box;
  animation: palmSway 5s ease-in-out infinite;
}
.iso-palm-leaf-2 { animation-delay: -1.2s; animation-duration: 4.5s; }
.iso-palm-leaf-3 { animation-delay: -2.4s; animation-duration: 5.5s; }
.iso-palm-leaf-4 { animation-delay: -0.6s; animation-duration: 4.8s; }
.iso-palm-leaf-5 { animation-delay: -1.8s; animation-duration: 5.2s; }
.iso-palm-leaf-6 { animation-delay: -0.4s; animation-duration: 4.7s; }
@keyframes palmSway {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(2.5deg); }
}

/* Lumière aux fenêtres */
.iso-window-glow { animation: windowFlicker 8s ease-in-out infinite; }
.iso-window-glow:nth-of-type(2) { animation-delay: -2s; }
.iso-window-glow:nth-of-type(3) { animation-delay: -4s; }
.iso-window-glow:nth-of-type(4) { animation-delay: -6s; }
@keyframes windowFlicker {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.85; }
}

/* Ombre qui respire */
.iso-shadow-pool {
  animation: shadowBreathe 6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes shadowBreathe {
  0%, 100% { opacity: 0.35; transform: scaleX(1); }
  50%      { opacity: 0.5;  transform: scaleX(1.08); }
}

/* Pointillés qui défilent */
.iso-dashed-plan {
  stroke-dasharray: 3 3;
  animation: dashFlow 20s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -120; } }

/* Rose des vents */
.iso-compass-needle {
  transform-origin: 340px 75px;
  animation: compassSpin 30s linear infinite;
}
@keyframes compassSpin { to { transform: rotate(360deg); } }

/* Cinq oiseaux à différentes hauteurs et vitesses */
.iso-bird-1, .iso-bird-2, .iso-bird-3, .iso-bird-4, .iso-bird-5 {
  opacity: 0;
}
.iso-bird-1 { animation: birdCross1 22s linear infinite; }
.iso-bird-2 { animation: birdCross2 26s linear infinite; animation-delay: -7s; }
.iso-bird-3 { animation: birdCross3 19s linear infinite; animation-delay: -14s; }
.iso-bird-4 { animation: birdCross4 30s linear infinite; animation-delay: -4s; }
.iso-bird-5 { animation: birdCross5 24s linear infinite; animation-delay: -11s; }
@keyframes birdCross1 {
  0%   { transform: translateX(-50px) translateY(0);     opacity: 0; }
  8%   { opacity: 0.75; }
  50%  { transform: translateX(240px) translateY(-20px); opacity: 0.75; }
  92%  { opacity: 0.4; }
  100% { transform: translateX(500px) translateY(-35px); opacity: 0; }
}
@keyframes birdCross2 {
  0%   { transform: translateX(-50px) translateY(15px);  opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { transform: translateX(240px) translateY(-5px);  opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateX(500px) translateY(-20px); opacity: 0; }
}
@keyframes birdCross3 {
  0%   { transform: translateX(-50px) translateY(30px);  opacity: 0; }
  12%  { opacity: 0.5; }
  50%  { transform: translateX(240px) translateY(10px);  opacity: 0.5; }
  88%  { opacity: 0.25; }
  100% { transform: translateX(500px) translateY(-5px);  opacity: 0; }
}
@keyframes birdCross4 {
  0%   { transform: translateX(-50px) translateY(-10px); opacity: 0; }
  15%  { opacity: 0.5; }
  50%  { transform: translateX(240px) translateY(-30px); opacity: 0.5; }
  85%  { opacity: 0.25; }
  100% { transform: translateX(500px) translateY(-50px); opacity: 0; }
}
@keyframes birdCross5 {
  0%   { transform: translateX(-50px) translateY(45px);  opacity: 0; }
  12%  { opacity: 0.55; }
  50%  { transform: translateX(240px) translateY(25px);  opacity: 0.55; }
  88%  { opacity: 0.3; }
  100% { transform: translateX(500px) translateY(8px);   opacity: 0; }
}

/* Halo lumineux projeté par l'enseigne ICONIK */
.iso-sign-glow {
  animation: signGlow 5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes signGlow {
  0%, 100% { opacity: 0.22; transform: scale(1); }
  50%      { opacity: 0.4;  transform: scale(1.04); }
}

/* ═══════════════════════════════════════════════════════════════
   ENSEIGNE LED BLANCHE SUR LE TOIT — halo, flicker, défilement
   ═══════════════════════════════════════════════════════════════ */

/* Halo blanc qui pulse autour du panneau */
.iso-led-halo {
  animation: ledHalo 3s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes ledHalo {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.6;  }
}

/* Scintillement subtil du texte LED */
.iso-led-flicker { animation: ledFlicker 0.1s steps(2) infinite; }
@keyframes ledFlicker {
  0%   { opacity: 1;    }
  100% { opacity: 0.95; }
}

/* Texte défilant en continu (boucle seamless) */
.iso-led-scroll { animation: ledScroll 18s linear infinite; }
@keyframes ledScroll {
  0%   { transform: translateX(0);       }
  100% { transform: translateX(-480px);  }
}

/* Matrice LED éteinte (fond d'afficheur dot-matrix) */
.iso-led-dot-off { fill: #1a1a1a; opacity: 0.6; }

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  .iconik-3d-scene,
  .iso-sun-disc,
  .iso-palm-leaf,
  .iso-window-glow,
  .iso-shadow-pool,
  .iso-dashed-plan,
  .iso-compass-needle,
  .iso-bird-1, .iso-bird-2, .iso-bird-3, .iso-bird-4, .iso-bird-5,
  .iso-sign-glow,
  .iso-led-halo,
  .iso-led-flicker,
  .iso-led-scroll {
    animation: none !important;
  }
}

/* Responsive hero : stack vertical en mobile */
@media (max-width: 900px) {
  .hero-section { min-height: 750px; }
  .hero-content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "scene"
      "bottom";
    column-gap: 0;
    padding-top: 100px;
  }
  .hero-headline { font-size: clamp(3rem, 14vw, 6rem); }
  .iconik-3d-scene { max-width: 320px; }
}
@media (max-width: 600px) {
  .hero-section { min-height: 700px; }
  .hero-content { padding-top: 90px; }
  .iconik-3d-scene { max-width: 260px; }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES V3 — Grille 2×3 éditoriale (Option A)
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bone);
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: background 0.4s var(--ease);
  cursor: pointer;
}

.service-card-num {
  position: absolute;
  top: -20px;
  right: -8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(6rem, 9vw, 9rem);
  color: rgba(200, 169, 107, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card-inner {
  position: relative;
  z-index: 1;
}

.service-card-trait {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.25rem;
  transition: width 0.4s var(--ease);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

.service-card-desc {
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--mist);
  margin: 0;
  transition: color 0.3s var(--ease);
}

.service-card-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  transform: translateX(0);
  transition: transform 0.4s var(--ease);
  align-self: flex-start;
}

/* Hover : bascule en sombre */
.service-card:hover {
  background: var(--ink);
}
.service-card:hover .service-card-title { color: var(--chalk); }
.service-card:hover .service-card-desc  { color: rgba(245, 242, 236, 0.55); }
.service-card:hover .service-card-num   { color: rgba(200, 169, 107, 0.18); transform: scale(1.04); }
.service-card:hover .service-card-trait { width: 48px; }
.service-card:hover .service-card-arrow { transform: translateX(8px); }

/* Carte sombre permanente (2ᵉ) */
.service-card.service-card-dark {
  background: var(--ink);
}
.service-card.service-card-dark .service-card-num   { color: rgba(200, 169, 107, 0.18); }
.service-card.service-card-dark .service-card-title { color: var(--chalk); }
.service-card.service-card-dark .service-card-desc  { color: rgba(245, 242, 236, 0.55); }
.service-card.service-card-dark:hover {
  background: var(--gold);
}
.service-card.service-card-dark:hover .service-card-num   { color: rgba(12, 11, 9, 0.2); }
.service-card.service-card-dark:hover .service-card-title { color: var(--ink); }
.service-card.service-card-dark:hover .service-card-desc  { color: rgba(12, 11, 9, 0.7); }
.service-card.service-card-dark:hover .service-card-arrow { color: var(--ink); }

/* 6ᵉ case : CTA */
.service-card-cta {
  background: var(--ink);
  padding: 2.5rem 2rem;
  min-height: 220px;
  display: flex;
  align-items: center;
}
.service-card-cta-inner { width: 100%; }
.service-card-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  line-height: 1.2;
  color: var(--chalk);
  margin: 0 0 0.75rem;
  font-weight: 400;
}
.service-card-cta-title em {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold);
}
.service-card-cta-desc {
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(245, 242, 236, 0.55);
  margin: 0 0 1.25rem;
}
.service-card-cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.service-card-cta:hover {
  background: #1a1612;
}
.service-card-cta:hover .service-card-cta-btn {
  background: var(--chalk);
  transform: translateX(6px);
}

/* Responsive services */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card-cta { min-height: 180px; padding: 2rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   SEO — Classe accessibilité/SEO caché visuellement
   (pour H1 invisible, labels de formulaire, liens skip...)
   ═══════════════════════════════════════════════════════════════ */
.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;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION FAQ — éditoriale, claire, schema FAQPage friendly
   ═══════════════════════════════════════════════════════════════ */
.faq-section {
  background: var(--chalk);
  padding: 10vw 5vw 8vw;
  position: relative;
}

.faq-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-top {
  margin-bottom: 4rem;
}

.faq-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.faq-eyebrow .line {
  width: 48px; height: 1px;
  background: var(--gold);
  display: block;
}

.faq-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0;
}
.faq-heading .outline {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--bone);
  overflow: hidden;
  transition: background 0.3s var(--ease);
}
.faq-item:last-child { border-bottom: 1px solid var(--bone); }

.faq-item summary {
  padding: 1.8rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item:hover summary { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--bone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.faq-answer {
  padding: 0 0 2rem;
  animation: faqSlideDown 0.4s var(--ease);
}

.faq-answer > div {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--mist);
  max-width: 900px;
  padding-right: 4rem;
}

@keyframes faqSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .faq-item summary {
    font-size: 1rem;
    gap: 1rem;
    padding: 1.4rem 0;
  }
  .faq-icon { width: 28px; height: 28px; font-size: 1rem; }
  .faq-answer > div { padding-right: 0; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer { animation: none; }
  .faq-icon { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   SKIP LINK — Accessibilité (WCAG AA) + signal SEO positif
   Invisible par défaut, apparaît au focus clavier (Tab)
   ═══════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Variante sr-only-focusable — caché sauf au focus (utile pour skip-links) */
.sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMBS — fil d'Ariane (utilisable dans n'importe quel template)
   ═══════════════════════════════════════════════════════════════ */
.iconik-breadcrumbs {
  /* padding-top 80px : les breadcrumbs sont toujours le 1er élément visible
     après le header fixe (72px) → 8px de respiration */
  padding: 80px 5vw 1rem;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.bc-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.bc-item {
  display: inline-flex;
  align-items: center;
}
.bc-item a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.bc-item a:hover {
  color: var(--gold);
}
.bc-item.bc-current {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.bc-sep {
  color: var(--bone);
  font-weight: 300;
  margin: 0 0.3rem;
}

/* Breadcrumbs sur fond sombre (pages project, article single) */
.single-projet .bc-item a,
.single-post .bc-item a {
  color: rgba(245,242,236,0.5);
}
.single-projet .bc-item a:hover,
.single-post .bc-item a:hover {
  color: var(--gold);
}
.single-projet .bc-item.bc-current,
.single-post .bc-item.bc-current {
  color: rgba(245,242,236,0.85);
}
.single-projet .bc-sep,
.single-post .bc-sep {
  color: rgba(245,242,236,0.25);
}

/* ═══════════════════════════════════════════════════════════════
   BLOG SEARCH FORM — barre de recherche (sur fond sombre)
   ═══════════════════════════════════════════════════════════════ */
.blog-search-form {
  flex-shrink: 0;
}
.blog-search-inner {
  display: flex;
  align-items: center;
  background: rgba(245,242,236,0.04);
  border: 1px solid rgba(245,242,236,0.1);
  padding: 6px 6px 6px 14px;
  gap: 0.6rem;
  transition: border-color 0.3s, background 0.3s;
  min-width: 280px;
}
.blog-search-inner:focus-within {
  border-color: var(--gold);
  background: rgba(245,242,236,0.06);
}
.blog-search-icon {
  width: 16px; height: 16px;
  color: rgba(245,242,236,0.4);
  flex-shrink: 0;
}
.blog-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 6px 0;
  min-width: 0; /* important pour flex */
}
.blog-search-input::placeholder {
  color: rgba(245,242,236,0.35);
}
.blog-search-submit {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.blog-search-submit:hover {
  opacity: 0.85;
}

/* Responsive : barre recherche pleine largeur sous les filtres sur mobile */
@media (max-width: 900px) {
  .blog-search-form {
    width: 100%;
  }
  .blog-search-inner {
    min-width: 0;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   POST CARD — lien enveloppant toute la carte
   ═══════════════════════════════════════════════════════════════ */
.post-card {
  background: var(--warm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(12,11,9,0.18);
}
.post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.post-card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.post-card-link .post-title {
  transition: color 0.3s var(--ease);
}
.post-card-link:hover .post-title {
  color: var(--gold);
}
.post-card-link .post-more .arr {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.post-card-link:hover .post-more .arr {
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   BENTO CELL — toute la cellule projet cliquable
   ═══════════════════════════════════════════════════════════════ */
.bento-cell-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.4s var(--ease);
}
.bento-cell-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.bento-cell:has(.bento-cell-link:hover) .bento-img-wrap img {
  transform: scale(1.07);
}
.bento-cell:has(.bento-cell-link:hover) .bento-overlay {
  opacity: 1;
  transform: translateY(0);
}
.bento-cell:has(.bento-cell-link:hover) .f-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold);
}
/* Fallback pour navigateurs sans :has() */
.bento-cell-link:hover ~ * .bento-img-wrap img,
.bento-cell-link:hover .bento-img-wrap img {
  transform: scale(1.07);
}
.bento-cell-link:hover .bento-overlay {
  opacity: 1;
  transform: translateY(0);
}
.bento-cell-link:hover .f-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--gold);
}
/* La flèche n'est plus un <a> mais un <span>, garder le style */
.bento-footer .f-arrow {
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.3s;
  display: inline-block;
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH — cards projets et lignes pages
   ═══════════════════════════════════════════════════════════════ */
.search-project-card {
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.search-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(12,11,9,0.2);
}
.search-project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.search-project-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.search-project-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.search-project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.search-project-link:hover .search-project-img img {
  transform: scale(1.06);
}
.search-project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12,11,9,0.4);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-project-link:hover .search-project-overlay {
  opacity: 1;
}
.search-project-arrow {
  color: var(--gold);
  font-size: 2.5rem;
  transform: scale(0.7);
  transition: transform 0.3s var(--ease);
}
.search-project-link:hover .search-project-arrow {
  transform: scale(1);
}

.search-page-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 1.8rem;
  background: var(--warm);
  border: 1px solid var(--bone);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, background 0.3s;
}
.search-page-item:hover {
  border-color: var(--gold);
  background: rgba(200,169,107,0.05);
}
.search-page-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER SEARCH TOGGLE — bouton loupe + panneau plein écran
   ═══════════════════════════════════════════════════════════════ */
.header-search-toggle {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--chalk);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.2s ease;
  margin-left: 1rem;
}
.header-search-toggle svg {
  width: 18px; height: 18px;
}
.header-search-toggle:hover {
  color: var(--gold);
  transform: scale(1.08);
}
.header-search-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Panneau de recherche plein écran */
.header-search-panel {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(12,11,9,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.header-search-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.header-search-close {
  position: absolute;
  top: 1.8rem;
  right: 2rem;
  background: transparent;
  border: 1px solid rgba(245,242,236,0.15);
  color: var(--chalk);
  width: 44px; height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search-close:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.header-search-form {
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: rgba(245,242,236,0.04);
  border: 1px solid rgba(245,242,236,0.12);
  transition: border-color 0.3s, background 0.3s;
}
.header-search-form:focus-within {
  border-color: var(--gold);
  background: rgba(245,242,236,0.07);
}
.header-search-big-icon {
  width: 26px; height: 26px;
  color: var(--gold);
  flex-shrink: 0;
}
.header-search-big-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--chalk);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.02em;
  min-width: 0;
  padding: 4px 0;
}
.header-search-big-input::placeholder {
  color: rgba(245,242,236,0.3);
}
.header-search-big-submit {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.header-search-big-submit:hover {
  opacity: 0.85;
}

.header-search-suggestions {
  margin-top: 2.5rem;
  width: 100%;
  max-width: 680px;
}
.hss-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.4);
  margin-bottom: 1rem;
  text-align: center;
}
.hss-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hss-tags a {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border: 1px solid rgba(245,242,236,0.1);
  color: rgba(245,242,236,0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}
.hss-tags a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,107,0.05);
}

@media (max-width: 600px) {
  .header-search-form {
    padding: 0.8rem 1rem;
    gap: 0.6rem;
  }
  .header-search-big-input {
    font-size: 1.1rem;
  }
  .header-search-big-submit {
    padding: 8px 14px;
    font-size: 0.6rem;
  }
  .header-search-big-icon {
    width: 18px; height: 18px;
  }
}

@media (max-width: 480px) {
  .header-search-big-submit {
    display: none; /* le user peut submit avec Entrée */
  }
}
