/*
Theme Name: ICONIK Architecture
Theme URI: https://iconik-architecture.tn
Author: Hamza Khelil – ICONIK Architecture
Author URI: https://iconik-architecture.tn
Description: Thème professionnel haut de gamme pour ICONIK Architecture – Cabinet d'architecte à Monastir, Tunisie. Design moderne, minimaliste et élégant avec palette noir/or/beige. Compatible Gutenberg, optimisé SEO.
Version: 1.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: 700px;
  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: 0 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; }
.services-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 6rem; flex-wrap: wrap; gap: 2rem;
}
.services-heading {
  font-family: var(--font-display); font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9; letter-spacing: 0.01em; color: var(--ink);
}
.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: 280px; align-self: flex-end; font-size: 0.82rem; line-height: 1.75; color: var(--mist); }

.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); padding-top: 72px; }
.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; }
  .services-top { flex-direction: column; }
  .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); }
