/* ============================================================
   EMPOWERMENT-LABS.COM — style.css
   Charte graphique ACMÉ · Version 1.0 · Juillet 2026
   ============================================================ */

/* ── 1. IMPORTS & VARIABLES ─────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* Couleurs principales */
  --or:            #B8972A;
  --or-pale:       #E8D49A;
  --or-deep:       #8B6914;
  --theme:         #0F6E56;
  --theme-mid:     #1D9E75;
  --theme-dark:    #085041;
  --theme-pale:    #E1F5EE;
  --theme-border:  #9FE1CB;

  /* Neutres */
  --ink:           #1A1A1A;
  --ink-mid:       #3A3A3A;
  --muted:         #6B7280;
  --border:        #E5E7EB;
  --surface-1:     #FAFAFA;
  --surface-2:     #FFFFFF;

  /* Typographie */
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Jost', system-ui, sans-serif;

  /* Espacements */
  --nav-h:         64px;
  --radius:        8px;
  --radius-lg:     14px;
  --max-w:         1200px;
  --max-w-text:    720px;
}

/* ── 2. RESET & BASE ────────────────────────────────────── */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
strong { font-weight: 600; }

/* ── 3. NAVIGATION ─────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-logo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--or);
  margin-bottom: 1px;
}

.nav-logo-labs { color: var(--theme); }

/* Liens */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--theme);
  background: var(--theme-pale);
}

/* CTA nav */
.nav-cta {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 16px;
  border: 1px solid var(--theme);
  border-radius: var(--radius);
  color: var(--theme);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--theme);
  color: #fff;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-right: auto;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s;
}

/* Mobile menu */
@media (max-width: 1024px) {
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 10px 14px;
    font-size: 14px;
  }

  .nav-cta { display: none; }
}

/* ── 4. HERO ────────────────────────────────────────────── */

.hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme);
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--or-deep);
  line-height: 1.2;
  margin-bottom: 0;
}

.hero-or-bar {
  width: 40px;
  height: 2px;
  background: var(--or);
  border-radius: 1px;
  margin: 1.25rem 0;
}

.hero-intro {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── 5. TYPOGRAPHIE COMMUNE ─────────────────────────────── */

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--or-deep);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.section-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.body-text {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* TLEi — toujours en italique, jamais ® ni ™ */
em.tlei {
  font-style: italic;
  font-family: var(--font-serif);
}

/* ── 6. SECTIONS ────────────────────────────────────────── */

.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-inner--text {
  max-width: var(--max-w-text);
  margin: 0 auto;
}

.section--alt {
  background: var(--surface-1);
}

.section--theme-pale {
  background: var(--theme-pale);
}

.section--indented {
  border-left: 3px solid var(--or);
  padding-left: 2.5rem;
}

/* ── 7. BOUTONS ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn--primary {
  background: var(--theme);
  color: #fff;
}

.btn--primary:hover {
  background: var(--theme-dark);
}

.btn--outline {
  background: transparent;
  color: var(--theme);
  border: 1px solid var(--theme);
}

.btn--outline:hover {
  background: var(--theme-pale);
}

.btn--or {
  background: var(--or);
  color: #fff;
}

.btn--or:hover {
  background: var(--or-deep);
}

/* ── 8. CARDS ───────────────────────────────────────────── */

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.card--theme {
  border-left: 3px solid var(--theme);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.card--or {
  border-top: 2px solid var(--or);
}

.card-icon {
  font-size: 1.25rem;
  color: var(--theme);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.card-text {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── 9. GRILLES ─────────────────────────────────────────── */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 { grid-template-columns: 1fr; }
}

/* ── 10. HERO CAMP-DE-BASE ISCAR ────────────────────────── */

.campbase-banner {
  background: var(--theme-pale);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
  padding: 1.5rem 2rem;
  text-align: center;
}

.campbase-banner p {
  font-size: 13.5px;
  color: var(--theme-dark);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

.campbase-banner strong {
  color: var(--theme);
}

/* ── 11. DISARM GRILLE ──────────────────────────────────── */

.disarm-letter {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--or-deep);
  margin-bottom: 0.4rem;
}

/* ── 12. DÉROULÉ (numéroté) ─────────────────────────────── */

.deroule-list {
  display: flex;
  flex-direction: column;
}

.deroule-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.deroule-item:last-child { border-bottom: none; }

.deroule-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--or-deep);
  line-height: 1;
}

.deroule-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.deroule-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.deroule-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--theme-pale);
  color: var(--theme-dark);
  margin-left: 8px;
  vertical-align: middle;
}

/* ── 13. CITATION / BLOCKQUOTE ──────────────────────────── */

blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink);
  border-left: 3px solid var(--or);
  padding: 1.25rem 1.5rem;
  margin: 0;
  background: var(--surface-1);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ── 14. INFOBOX ────────────────────────────────────────── */

.infobox {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
}

.infobox-icon {
  font-size: 1.1rem;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 1px;
}

.infobox p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── 15. FORMULAIRE CONTACT ─────────────────────────────── */

.form-field {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 5px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--theme);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-anti {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.form-anti input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.form-anti label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--theme);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--theme-dark); }

/* ── 16. BREADCRUMB ─────────────────────────────────────── */

.breadcrumb {
  padding: 0.75rem 2rem;
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--theme); }
.breadcrumb .current { color: var(--theme); }
.breadcrumb .sep { margin: 0 6px; }

/* ── 17. FOOTER ─────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-1);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.footer-brand-text {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-legal {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.65;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme);
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--theme); }

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

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── 18. CTA STRIP ──────────────────────────────────────── */

.cta-strip {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--theme-pale);
  border-top: 1px solid var(--theme-border);
}

.cta-strip-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--or-deep);
  margin-bottom: 0.75rem;
}

.cta-strip-text {
  font-size: 14px;
  color: var(--theme-dark);
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── 19. STICKY CTA MOBILE ──────────────────────────────── */

.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 90;
}

.sticky-cta-mobile .btn { width: 100%; justify-content: center; }

@media (max-width: 768px) {
  .sticky-cta-mobile { display: block; }
}

/* ── 20. ANIMATIONS ─────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  [data-reveal].revealed {
    opacity: 1;
    transform: none;
  }
}

/* ── 21. UTILITAIRES ────────────────────────────────────── */

.or-text   { color: var(--or-deep); }
.theme-text { color: var(--theme); }
.muted-text { color: var(--muted); }
.serif     { font-family: var(--font-serif); font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
.text-sm   { font-size: 12.5px; }
.text-xs   { font-size: 11px; }
.mt-1      { margin-top: 0.5rem; }
.mt-2      { margin-top: 1rem; }
.mt-3      { margin-top: 1.5rem; }
.mb-1      { margin-bottom: 0.5rem; }
.mb-2      { margin-bottom: 1rem; }
.mb-3      { margin-bottom: 1.5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 22. NAV DROPDOWN ───────────────────────────────────── */

.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.09);
  list-style: none;
  flex-direction: column;
  gap: 2px;
  z-index: 110;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a { display: block; width: 100%; }

@media (max-width: 1024px) {
  .nav-dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: 0;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
}
