/*
Theme Name: Su Thai — Success Ergonaute
Theme URI: https://iamsuthai.com
Author: Su Thai
Author URI: https://iamsuthai.com
Description: Thème personnel Su Thai — Champion de Bachata, Trader ORB SP500, Coach Systémique. L'Ergonomie du Succès.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: suthai
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --cream: #F7F3ED;
  --cream2: #EEE8DE;
  --white: #FFFFFF;
  --black: #111111;
  --gold: #A87C28;
  --gold-l: #C99A3C;
  --gold-p: #F5EDD5;
  --gold-d: rgba(168,124,40,0.10);
  --gold-b: rgba(168,124,40,0.22);
  --grey: #AAA;
  --grey-d: #555;
  --border: rgba(0,0,0,0.07);
  --pink: #B01850;
  --green: #1A6B38;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--black); font-family: 'DM Sans', sans-serif; overflow-x: hidden; line-height: 1.6; }

/* ── WORDPRESS DEFAULTS ── */
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
ul { list-style: none; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px; padding: 0 56px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(247,243,237,.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-branding a {
  font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700;
  color: var(--black); display: flex; align-items: center; gap: 10px;
}
.site-branding a span { color: var(--gold); }
.main-navigation ul { display: flex; gap: 28px; }
.main-navigation a {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--grey-d); transition: color .3s;
}
.main-navigation a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding-top: 68px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 20%;
  filter: brightness(.52) saturate(.9);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(247,243,237,.95) 0%, rgba(247,243,237,.78) 38%, rgba(247,243,237,.22) 65%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 660px;
  padding: 80px 56px;
}
.eyebrow {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-d); border: 1px solid var(--gold-b);
  padding: 6px 14px; display: inline-block; margin-bottom: 28px;
  align-self: flex-start;
}
.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 8.5vw, 110px);
  font-weight: 900; line-height: .9; letter-spacing: -2px;
  color: var(--black); margin-bottom: 18px;
}
.hero-name span { color: var(--gold); }
.hero-roles {
  font-family: 'DM Mono', monospace; font-size: 11px;
  color: var(--grey-d); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px; line-height: 1.8;
}
.hero-roles strong { color: var(--black); }
.hero-divider { width: 44px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 600;
  color: var(--black); line-height: 1.3; margin-bottom: 10px;
}
.hero-sub { font-size: 15px; color: var(--grey-d); line-height: 1.8; max-width: 400px; margin-bottom: 28px; }
.hero-sub strong { color: var(--black); }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tag {
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 1.5px;
  color: var(--grey-d); background: var(--cream2); border: 1px solid var(--border);
  padding: 4px 12px; text-transform: uppercase;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-dark {
  background: var(--black); color: var(--white);
  padding: 14px 32px; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; display: inline-block; transition: all .3s;
  font-family: 'DM Sans', sans-serif;
}
.btn-dark:hover { background: var(--gold); transform: translateY(-2px); }
.btn-line {
  background: transparent; color: var(--black);
  padding: 14px 32px; font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; display: inline-block;
  border: 1.5px solid rgba(0,0,0,.18); transition: all .3s;
  font-family: 'DM Sans', sans-serif;
}
.btn-line:hover { border-color: var(--gold); color: var(--gold); }

/* ── SECTIONS COMMUNES ── */
.sec-label {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px;
}
.sec-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 48px); font-weight: 700;
  line-height: 1.1; color: var(--black); margin-bottom: 48px;
}
.sec-h2 span { color: var(--gold); }
.sec-h2 em { font-style: italic; }

/* ── COMPÉTENCES ── */
.section-competences { padding: 100px 56px; background: var(--white); }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.comp-card {
  position: relative; overflow: hidden;
  text-decoration: none; display: block;
  height: 540px; transition: all .4s;
}
.comp-card:hover { transform: scale(1.01); }
.comp-card:hover .comp-overlay { opacity: .88; }
.comp-card:hover .comp-arrow { transform: translateX(6px); }
.comp-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  transition: transform .6s;
}
.comp-card:hover .comp-img { transform: scale(1.04); }
.comp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(10,10,10,.88) 100%);
  transition: opacity .4s; opacity: .72;
}
.comp-tag {
  position: absolute; top: 20px; left: 20px; z-index: 3;
  font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; padding: 5px 12px; color: #fff;
}
.tag-bachata { background: rgba(176,24,80,.85); }
.tag-trading { background: rgba(26,107,56,.85); }
.tag-devperso { background: rgba(168,124,40,.85); }
.comp-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 28px 24px; }
.comp-num { font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: 2px; margin-bottom: 8px; }
.comp-body h3 { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.1; }
.comp-handle { font-family: 'DM Mono', monospace; font-size: 11px; margin-bottom: 10px; }
.handle-bachata { color: rgba(240,120,160,.9); }
.handle-trading { color: rgba(120,200,140,.9); }
.handle-coach { color: rgba(220,180,90,.9); }
.comp-body p { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: 16px; }
.comp-arrow { font-size: 16px; color: rgba(255,255,255,.7); display: inline-block; transition: transform .3s; }

/* ── STORY ── */
.section-story { padding: 100px 56px; background: var(--cream); }
.story-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: start;
}
.story-photo { position: sticky; top: 92px; }
.story-photo img { width: 100%; height: 520px; object-fit: cover; object-position: center center; }
.story-caption {
  font-family: 'DM Mono', monospace; font-size: 10px; color: var(--grey);
  letter-spacing: 1px; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 12px;
}
.timeline { padding-left: 28px; position: relative; margin-top: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(168,124,40,.05) 100%);
}
.tl-item { position: relative; margin-bottom: 34px; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold); transition: background .3s;
}
.tl-item:hover::before { background: var(--gold); }
.tl-yr { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--gold); letter-spacing: 2px; margin-bottom: 4px; }
.tl-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 5px; line-height: 1.2; }
.tl-text { font-size: 14px; color: var(--grey-d); line-height: 1.75; }

/* ── MISSION ── */
.section-mission { padding: 100px 56px; background: var(--black); position: relative; overflow: hidden; }
.section-mission::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 55% at 80% 50%, rgba(168,124,40,.07) 0%, transparent 70%);
}
.mission-grid {
  max-width: 1100px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.mission-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; line-height: 1.15;
  color: #fff; margin-bottom: 18px;
}
.mission-title span { color: var(--gold); }
.mission-rope {
  background: rgba(168,124,40,.1); border-left: 3px solid var(--gold);
  padding: 18px 22px; margin-bottom: 20px;
}
.mission-rope p {
  font-family: 'Playfair Display', serif; font-size: 16px; font-style: italic;
  color: var(--gold-p); line-height: 1.6;
}
.mission-sub { font-size: 15px; color: rgba(240,234,224,.65); line-height: 1.8; margin-bottom: 28px; }
.btn-gold {
  background: var(--gold); color: var(--black);
  padding: 14px 32px; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; display: inline-block; transition: all .3s;
  font-family: 'DM Sans', sans-serif;
}
.btn-gold:hover { background: var(--gold-l); transform: translateY(-2px); }
.concepts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.concept { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); padding: 17px 15px; transition: all .3s; }
.concept:hover { background: rgba(168,124,40,.07); border-color: var(--gold-b); }
.c-gr { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--gold); margin-bottom: 2px; }
.c-nm { font-family: 'DM Mono', monospace; font-size: 10px; color: rgba(255,255,255,.3); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.c-ds { font-size: 12px; color: rgba(240,234,224,.55); line-height: 1.6; }

/* ── ROADMAP ── */
.section-roadmap { padding: 100px 56px; background: var(--white); }
.roadmap-list { max-width: 840px; margin: 48px auto 0; }
.rm-item { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.rm-item:first-child { border-top: 1px solid var(--border); }
.rm-dot {
  width: 40px; height: 40px; min-width: 40px; border-radius: 50%; border: 2px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-family: 'DM Mono', monospace; margin-top: 2px;
}
.rm-done { border-color: var(--gold); background: var(--gold-d); color: var(--gold); }
.rm-now { border-color: var(--black); background: var(--black); color: var(--white); font-weight: 700; }
.rm-next { border-color: var(--border); background: transparent; color: var(--grey); }
.rm-period { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--gold); letter-spacing: 2px; margin-bottom: 3px; }
.rm-title { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--black); margin-bottom: 3px; line-height: 1.2; }
.rm-detail { font-size: 13px; color: var(--grey-d); line-height: 1.6; }

/* ── SOCIAL ── */
.section-social { padding: 80px 56px; background: var(--cream2); text-align: center; }
.soc-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.soc-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 22px; background: var(--white); border: 1px solid var(--border);
  text-decoration: none; color: var(--grey-d); font-size: 13px; font-weight: 500;
  transition: all .3s; font-family: 'DM Sans', sans-serif;
}
.soc-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── FOOTER ── */
.site-footer {
  background: var(--black); padding: 26px 56px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--gold); text-decoration: none; }
.footer-note { font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,.28); letter-spacing: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .site-header { padding: 0 24px; }
  .main-navigation { display: none; }
  .hero-content { padding: 80px 24px; }
  .section-competences, .section-story, .section-mission, .section-roadmap, .section-social { padding: 72px 24px; }
  .comp-grid { grid-template-columns: 1fr; }
  .comp-card { height: 400px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-photo { position: static; }
  .story-photo img { height: 320px; }
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .concepts-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
}

/* ── WORDPRESS ADMIN BAR ── */
.admin-bar .site-header { top: 32px; }
