/*
Theme Name: Tekton Strategy
Theme URI: https://tektonstrategy.com
Author: Tekton Strategy
Author URI: https://tektonstrategy.com
Description: Thème premium Tekton Strategy — Bâtisseurs de Croissance
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tekton
*/

:root {
  --navy: #1f2a33;
  --gold: #d39c2f;
  --gold-light: #e8b84b;
  --pink: #d32f66;
  --white: #ffffff;
  --gray-soft: #f0ede8;
  --gray-mid: #8a8f94;
  --text-body: #c8cdd2;
  --navy-deep: #141c23;
  --grad-bg: linear-gradient(160deg, #000000 0%, #1f2a33 35%, #455a6b 65%, #1f2a33 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--navy-deep);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 64px;
  background: rgba(20, 28, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(211, 156, 47, 0.15);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.55rem 1.5rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-deep); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 4rem 4rem;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; background: var(--grad-bg); z-index: 0; }
.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.06;
  background-image: linear-gradient(var(--gold) 1px, transparent 1px), linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent {
  position: absolute; width: 600px; height: 600px;
  border: 1px solid rgba(211, 156, 47, 0.12); border-radius: 50%;
  top: -200px; right: -150px; z-index: 1;
  animation: rotateSlow 30s linear infinite;
}
.hero-accent::before {
  content: ''; position: absolute; inset: 40px;
  border: 1px solid rgba(211, 156, 47, 0.08); border-radius: 50%;
}
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.4em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 700;
  letter-spacing: 0.04em; line-height: 1.05; text-transform: uppercase;
  margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-rotating-wrapper {
  display: block; position: relative; width: 100%; height: 1.15em;
  overflow: hidden; margin-top: 0.1em;
}
.hero-rotating-word {
  position: absolute; top: 0; left: 0; right: 0; text-align: center;
  color: var(--gold); opacity: 0; transform: translateY(100%);
  transition: opacity 0.5s, transform 0.5s;
  font-style: italic; font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.1; white-space: nowrap;
}
.hero-rotating-word.active { opacity: 1; transform: translateY(0); }
.hero-rotating-word.exit { opacity: 0; transform: translateY(-100%); }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300;
  color: var(--text-body); line-height: 1.7; max-width: 680px;
  margin: 0 auto 3rem; opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-ctas {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards;
}
.btn-primary {
  background: var(--gold); color: var(--navy-deep); border: none;
  padding: 1rem 2.5rem; font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; cursor: pointer; transition: all 0.25s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3); padding: 1rem 2.5rem;
  font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
  transition: all 0.25s; text-decoration: none; display: inline-block;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

/* ─── STATS ─── */
#stats {
  background: rgba(211, 156, 47, 0.08);
  border-top: 1px solid rgba(211, 156, 47, 0.2);
  border-bottom: 1px solid rgba(211, 156, 47, 0.2);
  padding: 3rem 4rem;
}
.stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-number { font-size: 2.8rem; font-weight: 700; color: var(--gold); letter-spacing: 0.02em; }
.stat-label { font-size: 0.65rem; letter-spacing: 0.25em; color: var(--text-body); text-transform: uppercase; }

/* ─── SECTORS BADGES ─── */
.sectors-band {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1.5rem; justify-content: center;
}
.sector-badge {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(211, 156, 47, 0.35);
  padding: 0.5rem 1.2rem; background: rgba(211, 156, 47, 0.05);
  transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.sector-badge:hover { background: rgba(211, 156, 47, 0.12); border-color: rgba(211, 156, 47, 0.6); }

/* ─── SECTIONS COMMON ─── */
section { padding: 7rem 4rem; }
.section-eyebrow { font-size: 0.6rem; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.1; margin-bottom: 1.5rem; }
.section-lead { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 300; color: var(--text-body); line-height: 1.75; max-width: 680px; }
.gold-line { width: 50px; height: 2px; background: var(--gold); margin-bottom: 2rem; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── PROBLEM ─── */
#problem { background: var(--navy-deep); padding-bottom: 3rem; }
.problem-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.problem-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.problem-card { border-left: 2px solid var(--gold); padding: 1.2rem 1.5rem; background: rgba(255,255,255,0.03); transition: background 0.25s; }
.problem-card:hover { background: rgba(211, 156, 47, 0.06); }
.problem-card-title { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; color: var(--white); }
.problem-card-text { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-body); line-height: 1.6; font-weight: 300; }

/* ─── SOLUTION ─── */
#solution { background: linear-gradient(180deg, #141c23 0%, #1f2a33 100%); padding-top: 3rem; }
.solution-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.solution-inner .section-lead { margin: 0 auto 4rem; }
.phases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.phases-grid::before {
  content: ''; position: absolute; top: 2.35rem; left: 10%; right: 10%;
  height: 1px; background: var(--gold); opacity: 0.35; z-index: 0;
}
.phase-card { padding: 2rem 1.5rem; text-align: center; position: relative; }
.phase-number {
  width: 3rem; height: 3rem; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 0.1em;
  margin: 0 auto 1.5rem; background: var(--navy-deep); position: relative; z-index: 1;
}
.phase-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 0.75rem; }
.phase-desc { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--text-body); line-height: 1.6; font-weight: 300; }

/* ─── TEAM ─── */
#team { background: var(--navy-deep); }
.team-inner { max-width: 1100px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 2rem; margin-top: 4rem; }
.team-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(211, 156, 47, 0.15); padding: 2.5rem; position: relative; overflow: hidden; transition: border-color 0.3s; }
.team-card:hover { border-color: rgba(211, 156, 47, 0.4); }
.team-card::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 60px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); opacity: 0.15; pointer-events: none; }
.team-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; object-position: top center; margin-bottom: 1.5rem; border: 2px solid rgba(211, 156, 47, 0.4); transition: border-color 0.3s; background: transparent; mix-blend-mode: lighten; }
.team-card:hover .team-photo { border-color: var(--gold); }
.team-name { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem; }
.team-role { font-size: 0.6rem; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.5rem; }
.team-bio { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-body); line-height: 1.75; font-weight: 300; }
.team-tags { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.3rem 0.8rem; border: 1px solid rgba(211, 156, 47, 0.3); color: var(--gold); }

/* ─── FAQ ─── */
#faq { background: linear-gradient(180deg, #1f2a33 0%, #141c23 100%); }
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 4rem; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-question { width: 100%; background: none; border: none; color: var(--white); font-family: 'Josefin Sans', sans-serif; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; padding: 1.5rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.2s; }
.faq-question:hover { color: var(--gold); }
.faq-icon { width: 20px; height: 20px; border: 1px solid rgba(211, 156, 47, 0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; color: var(--gold); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--text-body); line-height: 1.75; font-weight: 300; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; padding-bottom: 0; }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.5rem; }

/* ─── CONTACT ─── */
#contact { background: var(--grad-bg); text-align: center; position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--gold) 1px, transparent 1px), linear-gradient(90deg, var(--gold) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.04; }
.contact-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.contact-inner .section-title { font-size: clamp(2rem, 4vw, 3.5rem); }
.contact-inner .section-lead { margin: 0 auto 3rem; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 500px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-input { background: rgba(255,255,255,0.06); border: 1px solid rgba(211, 156, 47, 0.25); color: var(--white); padding: 0.9rem 1.2rem; font-family: 'Josefin Sans', sans-serif; font-size: 0.75rem; letter-spacing: 0.1em; width: 100%; transition: border-color 0.2s; outline: none; }
.form-input::placeholder { color: var(--gray-mid); letter-spacing: 0.1em; }
.form-input:focus { border-color: var(--gold); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-submit { background: var(--gold); color: var(--navy-deep); border: none; padding: 0.85rem 2rem; font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: all 0.25s; width: 100%; }
.form-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.contact-alt { margin-top: 2rem; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gray-mid); text-transform: uppercase; }
.contact-alt a { color: var(--gold); text-decoration: none; }

/* ─── FOOTER ─── */
.site-footer { background: #0a1017; padding: 3rem 4rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(211, 156, 47, 0.1); flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.6rem; letter-spacing: 0.15em; color: var(--gray-mid); text-transform: uppercase; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.6rem; letter-spacing: 0.15em; color: var(--gray-mid); text-decoration: none; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ─── BLOG ─── */
.blog-header { padding: 10rem 4rem 4rem; text-align: center; background: var(--grad-bg); }
.posts-grid { max-width: 1100px; margin: 0 auto; padding: 5rem 4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.post-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(211,156,47,0.15); padding: 2rem; transition: border-color 0.3s; }
.post-card:hover { border-color: rgba(211,156,47,0.4); }
.post-card-meta { font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; }
.post-card-title { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; line-height: 1.3; }
.post-card-title a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.post-card-title a:hover { color: var(--gold); }
.post-card-excerpt { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-body); line-height: 1.6; font-weight: 300; margin-bottom: 1.5rem; }
.post-card-link { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(211,156,47,0.3); transition: border-color 0.2s; }
.post-card-link:hover { border-color: var(--gold); }

/* ─── SINGLE POST ─── */
.single-header { padding: 10rem 4rem 4rem; max-width: 860px; margin: 0 auto; }
.single-content { max-width: 860px; margin: 0 auto; padding: 3rem 4rem 6rem; }
.single-content h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); margin: 3rem 0 1rem; }
.single-content p { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--text-body); line-height: 1.8; font-weight: 300; margin-bottom: 1.5rem; }
.single-content a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(211,156,47,0.3); }
.single-content ul, .single-content ol { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--text-body); line-height: 1.8; font-weight: 300; padding-left: 1.5rem; margin-bottom: 1.5rem; }
.single-content blockquote { border-left: 2px solid var(--gold); padding: 1rem 1.5rem; background: rgba(211,156,47,0.05); margin: 2rem 0; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--text-body); }

/* ─── PAGE LÉGALE ─── */
.legal-header { padding: 8rem 4rem 3rem; max-width: 860px; margin: 0 auto; border-bottom: 1px solid rgba(211,156,47,0.1); }
.legal-content { max-width: 860px; margin: 0 auto; padding: 4rem; }
.legal-content h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin: 3rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(211,156,47,0.2); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 300; color: var(--text-body); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-content a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(211,156,47,0.3); }
.highlight-box { border-left: 2px solid var(--gold); padding: 1.2rem 1.5rem; background: rgba(211,156,47,0.05); margin: 1rem 0 1.5rem; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; height: 56px; }
  .nav-links { display: none; }
  section { padding: 5rem 1.5rem; }
  #hero { padding: 8rem 1.5rem 4rem; }
  .problem-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-rotating-word { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .hero-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .team-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  #stats { padding: 2.5rem 1.5rem; }
  .posts-grid { padding: 3rem 1.5rem; grid-template-columns: 1fr; }
  .single-header, .single-content, .legal-header, .legal-content { padding-left: 1.5rem; padding-right: 1.5rem; }
  .blog-header { padding: 8rem 1.5rem 3rem; }
}

.legal-date {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-top: 1rem;
}