/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --navy: #1a2744;
  --navy-deep: #111c35;
  --navy-mid: #243058;
  --gold: #c9a84c;
  --gold-light: #e0c06e;
  --gold-pale: #f5edda;
  --white: #ffffff;
  --off-white: #f8f6f1;
  --gray-light: #e8e4dc;
  --gray: #9a9288;
  --text: #2c2c2c;
  --text-light: #6b6560;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(26, 39, 68, 0.10);
  --shadow-lg: 0 20px 60px rgba(26, 39, 68, 0.18);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.hide-mobile { display: inline; }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal:nth-child(4) { transition-delay: 0.26s; }

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 0;
}
.header.scrolled {
  background: rgba(17, 28, 53, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-logo-icon {
  color: var(--gold);
  line-height: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  border: 1.5px solid var(--gold) !important;
  padding: 8px 20px !important;
  border-radius: 2px;
  color: var(--gold) !important;
  letter-spacing: 0.05em !important;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy) !important;
}
.nav-cta::after { display: none !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(36, 48, 88, 0.5) 0%, transparent 50%),
    linear-gradient(135deg, #0d1628 0%, #1a2744 50%, #243058 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201, 168, 76, 0.5);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 7px 16px;
  margin-bottom: 32px;
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-title-accent {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 48px;
  line-height: 1.6;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-emblem {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.3);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 110px 0;
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-contact {
  background: var(--navy-deep);
  color: var(--white);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label.light { color: var(--gold); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 24px;
}
.section-title.light { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}
.section-desc.light { color: rgba(255,255,255,0.6); }

/* =============================================
   À PROPOS
   ============================================= */
.apropos-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: center;
}

.apropos-image {
  position: relative;
}
.photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  overflow: hidden;
  position: relative;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,0.1) 100%);
}
.photo-placeholder svg { width: 80px; height: 80px; }

.photo-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.photo-badge-line { width: 24px; height: 2px; background: var(--gold); }

.apropos-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 20px;
}
.apropos-body {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.apropos-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-light);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-num span { font-size: 1rem; }
.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-light);
}

/* =============================================
   EXPERTISES
   ============================================= */
.expertises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.expertise-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
  overflow: hidden;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.expertise-card:hover {
  background: rgba(255,255,255,0.07);
}
.expertise-card:hover::before { opacity: 1; }

.expertise-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 24px;
}
.expertise-icon svg { width: 100%; height: 100%; }

.expertise-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}
.expertise-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}
.card-line {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-top: 24px;
  opacity: 0.5;
}

/* =============================================
   POURQUOI
   ============================================= */
.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.pourquoi-card {
  padding: 40px 32px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pourquoi-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.pourquoi-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.pourquoi-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 20px;
}
.pourquoi-icon svg { width: 100%; height: 100%; }
.pourquoi-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.pourquoi-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
}

.citation {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 40px;
  background: var(--navy);
  border-radius: var(--radius);
  position: relative;
}
.citation-bar {
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 32px;
}
.citation blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 24px;
}
.citation cite {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 48px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold);
  padding: 8px;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
}
.contact-item-icon svg { width: 100%; height: 100%; }
.contact-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-item-value {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.5;
}
a.contact-item-value:hover { color: var(--gold); }

.contact-form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 48px 40px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-group select option { background: var(--navy); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}
.form-group textarea { resize: vertical; }
.form-note {
  margin-top: 16px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 500;
}
.footer-logo svg { color: var(--gold); opacity: 0.7; }
.footer-center {
  text-align: center;
  flex: 1;
}
.footer-center p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-disclaimer {
  margin-top: 6px;
  font-size: 0.7rem !important;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--gold); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .apropos-grid { grid-template-columns: 1fr; gap: 48px; }
  .apropos-image { max-width: 360px; }
  .expertises-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-emblem { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hide-mobile { display: none; }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(17, 28, 53, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 32px;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
  }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 8px 32px; }
  .nav-burger { display: flex; }

  .hero-content { padding-top: 80px; }
  .hero-title { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .expertises-grid { grid-template-columns: 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrapper { padding: 32px 24px; }
  .contact-form .form-row { grid-template-columns: 1fr; }

  .apropos-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }

  .citation { padding: 40px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .photo-badge { right: 0; font-size: 0.72rem; padding: 14px 16px; }
}
