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

:root {
    --primary-color: #c9a84c;
    --heading-color: #a08030;
    --black: #0a0a0a;
    --black-light: #111111;
    --black-card: #151515;
    --black-border: #1f1f1f;
    --dark: #1a1a1a;
    --dark-soft: #222222;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --white-off: #f5f0e8;
    --white: #ffffff;
    --gold: #c9a84c;
    --gold-light: #d4b65a;
    --gold-bright: #f0d060;
    --gold-dark: #a08030;
    --gold-gradient: linear-gradient(135deg, #c9a84c, #f0d060, #c9a84c);
    --gold-glow: 0 0 30px rgba(201, 168, 76, 0.15);
    --red-deep: #8b2020;
    --blue-steel: #2a4a6b;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
    --radius: 12px;
    --radius-sm: 8px;
}

*, *::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(--black);
    color: var(--white-off);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--gold);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* Boutons */
.he-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-transform: none;
}

.he-btn-primary {
    background: var(--gold-gradient);
    color: var(--black);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.he-btn-primary:hover {
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.5);
    transform: translateY(-2px);
}

.he-btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.he-btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

.he-btn-full {
    width: 100%;
}

/* Navigation */
.he-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition);
    /* Fond degrade sombre permanent : menu lisible des le depart sur le hero */
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.55) 65%, rgba(10, 10, 10, 0) 100%);
}

.he-nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--black-border);
}

.he-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.he-nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.he-logo-jg {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    width: 48px;
    height: 48px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.he-logo-block {
    display: flex;
    flex-direction: column;
}

.he-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.he-logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.he-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.he-nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-light);
    letter-spacing: 0.02em;
    position: relative;
}

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

.he-nav-links a:not(.he-nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

.he-nav-links a:not(.he-nav-cta):hover::after {
    width: 100%;
}

.he-nav-cta {
    background: var(--gold-gradient);
    color: var(--black) !important;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.he-nav-cta:hover {
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
    transform: translateY(-1px);
}

/* Sections */
.he-section {
    padding: 120px 0;
    position: relative;
}

.he-section-header {
    text-align: center;
    margin-bottom: 72px;
}

.he-section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
    padding: 0 20px;
}

.he-section-tag::before,
.he-section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
}

.he-section-tag::before { left: -20px; }
.he-section-tag::after { right: -20px; }

.he-section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.he-section-desc {
    font-size: 1.05rem;
    color: var(--gray-light);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

/* Hero */
.he-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0 70px;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(42, 74, 107, 0.06) 0%, transparent 50%),
                var(--black);
}

.he-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 22%;
    background-repeat: no-repeat;
}

.he-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.1) 0%,
        rgba(10, 10, 10, 0.45) 40%,
        rgba(10, 10, 10, 0.85) 100%
    );
}

.he-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

.he-hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 36px;
    backdrop-filter: blur(10px);
    background: rgba(201, 168, 76, 0.05);
}

.he-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.he-hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--gray-light);
    max-width: 650px;
    margin: 0 auto 16px;
    line-height: 1.8;
    font-weight: 400;
}

.he-hero-accroche {
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 400;
    font-style: italic;
    margin-bottom: 44px;
    opacity: 0.85;
}

.he-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.he-hero-credibility {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Piliers 4 */
.he-piliers {
    background: var(--black-light);
}

.he-piliers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.he-pilier-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.he-pilier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background var(--transition);
}

.he-pilier-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.he-pilier-card:hover::before {
    background: var(--gold-gradient);
}

.he-pilier-icon {
    margin-bottom: 16px;
}

.he-pilier-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.he-pilier-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.12;
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.he-pilier-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.he-pilier-card p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Coaching cards */
.he-coaching-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.he-coaching-card {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius);
    padding: 44px 36px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.he-coaching-card-photo {
    margin: -44px -36px 24px;
    height: 180px;
    overflow: hidden;
}

.he-coaching-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(20%);
    transition: all var(--transition);
}

.he-coaching-card-has-photo:hover .he-coaching-card-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.he-coaching-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background var(--transition);
}

.he-coaching-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.he-coaching-card:hover::before {
    background: var(--gold-gradient);
}

.he-coaching-icon {
    margin-bottom: 20px;
}

.he-coaching-icon svg {
    width: 36px;
    height: 36px;
    color: var(--gold);
}

.he-coaching-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.he-coaching-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}

.he-coaching-card p {
    color: var(--gray-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 300;
}

.he-coaching-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex: 1;
}

.he-coaching-list li {
    font-size: 0.88rem;
    color: var(--gray-light);
    padding-left: 20px;
    position: relative;
}

.he-coaching-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.he-coaching-cta {
    margin-top: auto;
}

/* Formulaire contact */
.he-contact-form {
    background: var(--black-card);
    border: 1px solid var(--black-border);
    border-radius: var(--radius);
    padding: 44px;
}

.he-form-group {
    margin-bottom: 20px;
}

.he-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.he-contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white-off);
    margin-bottom: 8px;
}

.he-contact-form input,
.he-contact-form select,
.he-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark);
    border: 1px solid var(--black-border);
    border-radius: var(--radius-sm);
    color: var(--white-off);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--transition);
    outline: none;
}

.he-contact-form input:focus,
.he-contact-form select:focus,
.he-contact-form textarea:focus {
    border-color: var(--gold);
}

.he-contact-form input::placeholder,
.he-contact-form textarea::placeholder {
    color: var(--gray);
}

.he-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    padding-right: 40px;
}

.he-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.he-form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 1023px) {
    .he-piliers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .he-coaching-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .he-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .he-section {
        padding: 80px 0;
    }

    .he-hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .he-section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }

    .he-piliers-grid {
        grid-template-columns: 1fr;
    }

    .he-coaching-grid {
        grid-template-columns: 1fr;
    }

    .he-contact-form {
        padding: 28px 20px;
    }

    .he-coaching-card {
        padding: 32px 24px;
    }

    .he-form-row {
        grid-template-columns: 1fr;
    }
}

/* === Fix Agent J 2026-06-05 : accents OR dans les titres ===
   styles.css (template) applique .he-section-title span { color:#346 (bleu); font-size:18px }
   ce qui ecrasait l'or des accents. On retablit l'or + la taille heritee du titre. */
.he-section-title span.gold,
h2.he-section-title span.gold,
.he-hero-title span.gold {
  color: var(--gold) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  margin-bottom: 0 !important;
  display: inline !important;
}

/* === Menu burger mobile (Agent J 2026-06-05) === */
.he-nav-burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; padding: 0; z-index: 1100; }
.he-nav-burger span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 0 auto; transition: transform .3s ease, opacity .3s ease; }
.he-nav-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.he-nav-burger.active span:nth-child(2) { opacity: 0; }
.he-nav-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .he-nav-burger { display: flex; }
  .he-nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(82vw, 330px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(10, 10, 10, 0.98); backdrop-filter: blur(14px);
    padding: 104px 30px 40px; margin: 0;
    transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -12px 0 48px rgba(0, 0, 0, 0.55);
  }
  .he-nav-links.open { transform: translateX(0); }
  .he-nav-links li { width: 100%; }
  .he-nav-links a { display: block; width: 100%; padding: 13px 0; font-size: 1.05rem; }
  .he-nav-links .he-nav-cta { margin-top: 14px; text-align: center; }
}

/* === Finitions Agent J 2026-06-05 : icones piliers + titre hero petit ecran === */
.he-pilier-icon {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
}
.he-pilier-card { padding-top: 32px; }

.he-hero-title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 400px) {
  .he-hero-title { font-size: clamp(1.7rem, 9vw, 2.2rem); }
  .he-hero-badge { font-size: 0.7rem; padding: 6px 14px; }
}

/* === Pages legales (Agent J 2026-06-06) === */
.he-legal { max-width: 820px; margin: 0 auto; }
.he-legal h2 { font-family: var(--font-display); color: var(--gold); font-size: 1.55rem; margin: 44px 0 14px; }
.he-legal h3 { color: var(--white); font-size: 1.08rem; margin: 26px 0 8px; font-weight: 600; }
.he-legal p { color: var(--gray-light); font-size: 0.98rem; line-height: 1.85; margin-bottom: 12px; }
.he-legal ul { margin: 8px 0 16px 22px; }
.he-legal li { color: var(--gray-light); font-size: 0.98rem; line-height: 1.7; margin-bottom: 6px; }
.he-legal a { color: var(--gold); }
.he-legal strong { color: var(--white); }
.he-legal .he-legal-meta { color: var(--gray); font-size: 0.85rem; }

.he-temoignages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .he-temoignages-grid {
        grid-template-columns: 1fr;
    }
}

.back-to-top {
    background: var(--gold) !important;
    color: var(--black) !important;
}
.back-to-top:hover {
    background: var(--gold-dark) !important;
    color: var(--white) !important;
}

.sticky {
    background-color: rgba(10, 10, 10, 0.95) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 0 rgba(201, 168, 76, 0.15) !important;
}
