*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #0A0A0A;
  --test:      #C8A96E;
  --card:      #141414;
  --border:    #222222;
  --gold:      #C8A96E;
  --gold-dk:   #A8893E;
  --red-brand: #DC1225;
  --white:     #FFFFFF;
  --muted:     #888888;
  --text:      #D4D4D4;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -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: 1.25rem 4rem;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red-brand);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-logo span { color: var(--white); }

.nav-logo img {
  width: 207px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--red-brand);
  color: var(--red-brand);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--red-brand);
  color: var(--white);
}

/* ── HAMBURGER MOBILE ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('Resources/Background1.png');
  background-size: cover;
  background-position: center top;
  filter: brightness(0.25);
}

.hero-grid {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid { animation: none; }
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-brand);
  margin-bottom: 1.5rem;
}

.hero-content {
  max-width: 720px;
  flex: 2;   /* was: flex: 1 */
}

.hero-image {
  flex: 1;   /* stays the same */
  max-width: 480px;
  display: flex;
  justify-content: flex-end;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  font-family: 'Roboto', serif;
  font-size: 3.4rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--white);
  text-align: left;
  margin-bottom: 1.25rem;
}
.hero h1 .text-red { color: var(--red-brand); }

.hero p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  text-align: left;
  margin: 0 0 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--red-brand);
  color: var(--black);
  padding: 0.85rem 2.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: var(--red-brand);
  color: var(--white);
}

.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  padding: 0.9rem 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Compact inline pillars, left-aligned as a group */
.pillars-row {
  display: flex;
  gap: 2.5rem;
}

.pillar-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  margin: 0;
  background-color: var(--red-brand);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}
.pillar-icon--target { -webkit-mask-image: url("Resources/Target.svg"); mask-image: url("Resources/Target.svg"); }
.pillar-icon--chess  { -webkit-mask-image: url("Resources/chess.svg");  mask-image: url("Resources/chess.svg"); }
.pillar-icon--result { -webkit-mask-image: url("Resources/result.svg"); mask-image: url("Resources/result.svg"); }

.pillar-icon img { display: none; }

.pillar-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
  text-align: left;
}

.pillar-sub {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: left;
}

/* ── SECTIONS COMMONS ── */
section { padding: 6rem 4rem; }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ── À QUI ── */
.audience {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: #222222;
}

.audience .section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.audience-text {
  position: relative;
  z-index: 1;
}

/* ── MISSION ── */
.mission .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.mission-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  border-left: 2px solid var(--red-brand);
  padding-left: 1.5rem;
}

.mission-body p { font-size: 0.95rem; line-height: 1.85; }

/* ── COMMENT ── */
.howto {
  position: relative;
  background-image: url('Resources/1to5.png');
  background-size: cover;
  background-position: center top;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── SERVICES ── */
.services {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-header p {
  max-width: 520px;
  margin: 0.75rem auto 0;
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}

.service-card:hover { background: #1c1c1c; }

.service-icon {
  width: 36px;
  height: 2px;
  background: var(--red-brand);
  margin-bottom: 1.5rem;
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 0.5rem;
}

.service-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.service-link:hover { border-color: var(--red-brand); }

/* ── TESTIMONIALS ── */
.testimonials .section-inner { text-align: center; }

.testimonials h2 { margin-bottom: 3rem; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  text-align: left;
}

.testi-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.testi-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-brand);
}

/* ── CTA ── */
.cta-section {
  background: var(--card);
  border-top: 1px solid var(--border);
  text-align: center;
}

.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p { margin-bottom: 2rem; }

/* ── FOOTER ── */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 3rem 4rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .nav-logo { display: block; margin-bottom: 1rem; font-size: 1.1rem; }

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--red-brand); }

.footer-bottom {
  max-width: 1080px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }

  .hero { padding: 8rem 1.5rem 4rem; min-height: auto; }

  .hero-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .hero-content { max-width: 100%; }

  .hero-image {
    max-width: 100%;
    justify-content: center;
    order: -1; /* image above text on mobile; drop this line if you prefer text first */
  }
  .hero-image img { max-width: 320px; }

  .hero-buttons { flex-wrap: wrap; }

  .pillars-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .audience .section-inner,
  .mission .section-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .audience img { aspect-ratio: 16/9; }

  .services-grid { grid-template-columns: 1fr; }

  .testi-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  footer { padding: 2.5rem 1.5rem; }
}
