/* ============================================================
   Cabinet SETI - Premium Black & Gold
   ============================================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C96A;
  --gold-pale: #F5EDD6;
  --black: #0A0A0A;
  --dark: #1A1A1A;
  --gray: #6B6B6B;
  --light: #F8F6F1;
  --white: #FFFFFF;
  --border: #E8E0CC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* Performance - éviter layout shift sur les images */
img {
  max-width: 100%;
  height: auto;
}

.navbar img {
  width: auto;
  height: 48px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s ease;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

/* ---------- Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: 96px 0;
}

.label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-size: 38px;
  color: var(--black);
  margin-bottom: 24px;
  max-width: 760px;
}

.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.25s ease;
  text-align: center;
}

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

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.pill {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 168px 0 96px;
}

.hero h1 {
  font-size: 58px;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 720px;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 40px;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 44px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Services ---------- */
.services {
  background: var(--light);
}

.services-head {
  margin-bottom: 56px;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  transition: 0.25s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.card p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 20px;
}

.card-list {
  list-style: none;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 12px;
}

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

.card-link {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}

.card-link:hover {
  color: var(--gold-light);
}

/* ---------- Expertise & Books ---------- */
.expertise {
  background: var(--white);
}

.expertise-head {
  margin-bottom: 48px;
}

.expertise-intro {
  font-size: 16px;
  color: var(--gray);
  max-width: 780px;
}

.books {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin: 24px 0 72px;
}

.book {
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  transition: 0.25s ease;
}

.book:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.12);
}

.book-link {
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.2);
}

.book img {
  max-width: 160px;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.15);
}

.book-info h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.book-info p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  border-radius: 999px;
  padding: 6px 14px;
}

.book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.book-info {
  text-align: center;
}

.book-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.book-subtitle {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}

.btn-amazon {
  display: inline-block;
  margin-top: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-amazon:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.figure-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.figure-label {
  font-size: 14px;
  color: var(--gray);
}

/* ---------- Why us ---------- */
.why {
  background: var(--black);
  color: var(--white);
}

.why-head {
  margin-bottom: 56px;
}

.why-head .section-title {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.why-item {
  display: flex;
  gap: 24px;
}

.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--light);
}

.contact-head {
  margin-bottom: 56px;
}

.contact-head h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.contact-head p {
  font-size: 16px;
  color: var(--gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info .info-block {
  margin-bottom: 32px;
}

.info-block h4 {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
}

.info-block p {
  font-size: 15px;
  color: var(--dark);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}

.form-row {
  margin-bottom: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  transition: 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

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

.contact-form .btn {
  width: 100%;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  border-top: 2px solid var(--gold);
  padding: 72px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a,
.footer-col span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 64px 0;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
  }

  .hero {
    padding: 132px 0 64px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-stats {
    gap: 32px;
  }

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

  .books {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .book {
    flex-direction: column;
    text-align: center;
  }

  .figures {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .section-title,
  .contact-head h2 {
    font-size: 30px;
  }
}
