:root {
  --bg: #f5f1ea;
  --bg-alt: #ebe5da;
  --ink: #1a1814;
  --ink-soft: #4a463e;
  --ink-muted: #7a7368;
  --accent: #b8451f;
  --accent-soft: #d97548;
  --line: #d8cfc0;
  --paper: #faf7f1;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 20px; }
}

/* === NAV === */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  font-style: italic;
}
.logo::after {
  content: '.';
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 16px 20px; }
}

/* === HERO === */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 48px 0 64px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 540px;
  margin-bottom: 16px;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted);
  margin-bottom: 40px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.tag {
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }

.hero-portrait {
  position: relative;
}
.hero-portrait img {
  border-radius: 4px;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.02);
}
.hero-portrait::before {
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  z-index: -1;
}
.portrait-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(26, 24, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--paper);
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 13px;
}
.portrait-caption strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  display: block;
  margin-bottom: 2px;
}

/* === SECTION GENERIC === */
section { padding: 100px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-header {
  margin-bottom: 64px;
  max-width: 720px;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
h2 em {
  font-style: italic;
  color: var(--accent);
}
.section-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
}

/* === PILLARS === */
.pillars {
  background: var(--bg-alt);
  position: relative;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 24px; }
}
.pillar {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid var(--line);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(26, 24, 20, 0.15);
}
.pillar-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.pillar:hover .pillar-img img { transform: scale(1.05); }
.pillar-body { padding: 32px 28px; }
.pillar-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 20px;
}
.pillar-link {
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s;
  display: inline-block;
}
.pillar-link:hover { color: var(--accent); }

/* === EXPERTISES === */
.expertises-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .expertises-grid { grid-template-columns: 1fr; }
}
.expertise {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.3s;
}
.expertise:hover { background: var(--paper); }
.expertise-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 14px;
  display: block;
}
.expertise h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.expertise p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--ink);
  color: var(--paper);
}
.testimonials .section-header h2 { color: var(--paper); }
.testimonials .section-intro { color: rgba(250, 247, 241, 0.7); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 720px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial {
  padding: 36px;
  border: 1px solid rgba(250, 247, 241, 0.15);
  border-radius: 4px;
  background: rgba(250, 247, 241, 0.03);
  position: relative;
  transition: border-color 0.3s;
}
.testimonial:hover { border-color: var(--accent); }
.testimonial-quote {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
  font-style: italic;
}
.testimonial-context {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.testimonial p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 24px;
  color: var(--paper);
  font-weight: 300;
}
.testimonial-author {
  font-size: 14px;
  color: rgba(250, 247, 241, 0.7);
  border-top: 1px solid rgba(250, 247, 241, 0.15);
  padding-top: 16px;
}

/* === CTA FINAL === */
.final-cta {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .final-cta-grid { grid-template-columns: 1fr; gap: 40px; }
}
.final-cta ul {
  list-style: none;
  margin: 32px 0;
}
.final-cta li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 16px;
}
.final-cta li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--accent);
  border-radius: 50%;
}
.final-cta-img img {
  border-radius: 4px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* === FOOTER === */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
footer .logo {
  color: var(--paper);
  font-size: 36px;
  margin-bottom: 16px;
  display: inline-block;
}
footer p {
  color: rgba(250, 247, 241, 0.65);
  font-size: 15px;
  max-width: 420px;
  margin-bottom: 24px;
}
.newsletter {
  display: flex;
  gap: 8px;
  max-width: 420px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(250, 247, 241, 0.25);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}
.newsletter input:focus {
  outline: none;
  border-color: var(--accent);
}
.newsletter input::placeholder { color: rgba(250, 247, 241, 0.4); }
.newsletter button {
  background: var(--accent);
  color: var(--paper);
  border: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.newsletter button:hover { background: var(--accent-soft); }
.footer-msg {
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent-soft);
  min-height: 20px;
}
.footer-links h5 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 18px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(250, 247, 241, 0.65);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 241, 0.15);
  padding-top: 24px;
  font-size: 13px;
  color: rgba(250, 247, 241, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ARTICLE / CAS PAGES
   ======================================== */

.article-hero {
  padding: 64px 0 32px;
}
.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
  font-weight: 500;
}
.article-meta::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.article-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 900px;
}
.article-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.article-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 800px;
  margin-bottom: 48px;
  line-height: 1.4;
}
.article-cover {
  margin: 0 auto 64px;
  max-width: 1280px;
  padding: 0 32px;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 720px) {
  .article-cover { padding: 0 20px; }
}

.article-body {
  padding: 0 0 100px;
}
.article-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 56px 0 12px;
  color: var(--ink);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  margin: 40px 0 16px;
  color: var(--ink);
}
.article-body h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--accent);
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body ul {
  list-style: none;
  margin: 18px 0 24px;
  padding-left: 0;
}
.article-body li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.article-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.article-body blockquote {
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 28px;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}

.phase {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 44px;
  margin: 32px 0;
  position: relative;
}
.phase-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  font-weight: 400;
}
.phase h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 24px;
}
@media (max-width: 720px) {
  .phase { padding: 28px 24px; }
}

/* === CAS-ETUDES INDEX === */
.cas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 900px) {
  .cas-grid { grid-template-columns: 1fr; }
}
.cas-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: block;
}
.cas-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(26, 24, 20, 0.15);
}
.cas-card-img { aspect-ratio: 16/9; overflow: hidden; }
.cas-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.cas-card:hover .cas-card-img img { transform: scale(1.05); }
.cas-card-body { padding: 36px 32px; }
.cas-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.cas-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.cas-card p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 20px;
}
.cas-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.cas-card-arrow svg { transition: transform 0.3s; }
.cas-card:hover .cas-card-arrow svg { transform: translateX(4px); }
