/* =====================================================
   TEMPLATE: CLASSIC
   En-tête pleine largeur sombre, deux colonnes
   ===================================================== */

.cv-classic {
  font-family: 'Lato', sans-serif;
  color: #2d2d2d;
  min-height: 297mm;
  display: flex;
  flex-direction: column;
}

/* ── Top Header ── */
.cv-classic .cv-header {
  background: #1e1e2e;
  color: white;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.cv-classic .cv-photo {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.cv-classic .cv-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  flex-shrink: 0;
}

.cv-classic .cv-header-text { flex: 1; }

.cv-classic .cv-fullname {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.cv-classic .cv-jobtitle {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c4b5fd;
  margin-top: 5px;
}

.cv-classic .cv-header-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.cv-classic .cv-header-contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
}

.cv-classic .cv-header-contact-item svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Accent bar */
.cv-classic .cv-accent-bar {
  height: 4px;
  background: linear-gradient(to right, #7c3aed, #2563eb, #0891b2);
}

/* ── Body: Two Columns ── */
.cv-classic .cv-body {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 0;
  flex: 1;
}

.cv-classic .cv-col-main {
  padding: 28px 28px 28px 36px;
  border-right: 1px solid #e8e8f0;
}

.cv-classic .cv-col-side {
  padding: 28px 24px;
  background: #fafafa;
}

.cv-classic .cv-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e1e2e;
  border-bottom: 2px solid #7c3aed;
  padding-bottom: 5px;
  margin-bottom: 14px;
}

.cv-classic .cv-summary {
  font-size: 0.7rem;
  color: #4b5563;
  line-height: 1.75;
}

/* Experience */
.cv-classic .cv-exp-item {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f5;
  position: relative;
  padding-left: 12px;
}
.cv-classic .cv-exp-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 3px;
  height: calc(100% - 14px);
  background: linear-gradient(to bottom, #7c3aed, transparent);
  border-radius: 2px;
}
.cv-classic .cv-exp-item:last-child { border-bottom: none; }

.cv-classic .cv-exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cv-classic .cv-exp-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e1e2e;
}

.cv-classic .cv-exp-dates {
  font-size: 0.62rem;
  color: #9ca3af;
  white-space: nowrap;
}

.cv-classic .cv-exp-company {
  font-size: 0.68rem;
  color: #7c3aed;
  font-weight: 600;
  margin: 2px 0 5px;
}

.cv-classic .cv-exp-desc {
  font-size: 0.66rem;
  color: #4b5563;
  line-height: 1.65;
}

/* Education */
.cv-classic .cv-edu-item {
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 2px solid #e5e7eb;
}

.cv-classic .cv-edu-degree {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e1e2e;
}
.cv-classic .cv-edu-school {
  font-size: 0.66rem;
  color: #7c3aed;
  font-weight: 500;
}
.cv-classic .cv-edu-dates {
  font-size: 0.62rem;
  color: #9ca3af;
}

/* Side column */
.cv-classic .cv-side-section-title {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 10px;
  margin-top: 20px;
}
.cv-classic .cv-side-section-title:first-child { margin-top: 0; }

.cv-classic .cv-skill-row {
  margin-bottom: 8px;
}
.cv-classic .cv-skill-name {
  font-size: 0.65rem;
  color: #2d2d2d;
  margin-bottom: 3px;
  font-weight: 500;
}
.cv-classic .cv-skill-bar-track {
  height: 3px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}
.cv-classic .cv-skill-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #7c3aed, #2563eb);
  border-radius: 2px;
}

.cv-classic .cv-lang-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  margin-bottom: 6px;
}
.cv-classic .cv-lang-name { font-weight: 600; color: #2d2d2d; }
.cv-classic .cv-lang-level { color: #9ca3af; }

.cv-classic .cv-interests-text {
  font-size: 0.65rem;
  color: #4b5563;
  line-height: 1.7;
}
