/* ===== FRICASERVICES PAGE STYLES ===== */
:root {
  --brand: #592eb1;
  --brand-light: #7c3aed;
  --brand-dark: #1e1b4b;
  --brand-pale: #f5f3ff;
  --violet: #8b5cf6;
  --violet-light: #a78bfa;
  --pink: #f472b6;
  --pink-light: #fbcfe8;
  /* Écrase le vert de main.css */
  --accent: #592eb1;
}

/* Écrase toutes les occurrences vertes de main.css → violet */
.btn-submit { background: var(--brand); box-shadow: none; }
.btn-submit:hover { background: var(--brand-light); box-shadow: 0 8px 24px rgba(89,46,177,0.35); }
.contact-item .ci-icon { background: rgba(89,46,177,0.1); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(89,46,177,0.12); }
.section-tag { color: var(--brand); background: rgba(89,46,177,0.08); border-color: rgba(89,46,177,0.25); }
.hero-badge { background: rgba(89,46,177,0.18); border-color: rgba(89,46,177,0.35); color: #a78bfa; }
.value-item:hover { background: rgba(89,46,177,0.08); border-color: rgba(89,46,177,0.25); }

/* ===== HERO ===== */
.fh-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #6d28d9 100%);
  display: flex;
  align-items: center;
  padding: 140px 5% 80px;
  position: relative;
  overflow: hidden;
}

.fh-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 78% 35%, rgba(167,139,250,0.2) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 12% 78%, rgba(244,114,182,0.12) 0%, transparent 65%);
}

.fh-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(196,181,253,0.15) 1px, transparent 1px);
  background-size: 36px 36px;
}

.fh-hero-content { position: relative; max-width: 680px; }

.fh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,181,253,0.15);
  border: 1px solid rgba(196,181,253,0.3);
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fh-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.fh-hero h1 span {
  background: linear-gradient(135deg, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fh-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Staff preview cards (right side) */
.fh-hero-cards {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 300px;
}

.fh-staff-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(196,181,253,0.2);
  border-radius: 14px;
  padding: 18px 16px;
  backdrop-filter: blur(10px);
  text-align: center;
  transition: transform 0.3s ease;
}

.fh-staff-card:hover { transform: translateY(-4px); }

.fh-staff-card .staff-icon { font-size: 30px; margin-bottom: 8px; }
.fh-staff-card h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.fh-staff-card p { font-size: 11px; color: rgba(255,255,255,0.5); line-height: 1.3; }

.fh-staff-card.featured {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: rgba(124,58,237,0.25);
  border-color: rgba(196,181,253,0.4);
}

.fh-staff-card.featured .staff-icon { font-size: 36px; margin-bottom: 0; flex-shrink: 0; }

/* ===== POURQUOI FRICASERVICES ===== */
.fh-intro { background: #fff; }

.fh-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.fh-intro-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.fh-intro-content p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.fh-promises {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.fh-promise {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--brand-pale);
  border-radius: 10px;
  border-left: 3px solid var(--violet);
}

.fh-promise .icon { font-size: 22px; flex-shrink: 0; }

.fh-promise h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 3px;
}

.fh-promise p { font-size: 13px; color: #6b7280; }

.fh-intro-visual {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  border-radius: 20px;
  padding: 40px 36px;
  color: #fff;
}

.fh-intro-visual h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}

.fh-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.fh-number {
  text-align: center;
  padding: 20px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.fh-number .num {
  font-size: 2rem;
  font-weight: 900;
  color: #c4b5fd;
  line-height: 1;
  margin-bottom: 6px;
}

.fh-number .lbl { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* ===== SERVICES ===== */
.fh-services { background: var(--brand-pale); }

.fh-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fh-service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #ede9fe;
  transition: all 0.3s ease;
}

.fh-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(109,40,217,0.14);
  border-color: var(--violet);
}

.fh-service-top {
  padding: 28px 24px 20px;
  position: relative;
}

.fh-service-card:nth-child(1) .fh-service-top { background: linear-gradient(135deg, #1e1b4b, #4338ca); }
.fh-service-card:nth-child(2) .fh-service-top { background: linear-gradient(135deg, #2d1657, #7c3aed); }
.fh-service-card:nth-child(3) .fh-service-top { background: linear-gradient(135deg, #831843, #db2777); }
.fh-service-card:nth-child(4) .fh-service-top { background: linear-gradient(135deg, #14532d, #16a34a); }
.fh-service-card:nth-child(5) .fh-service-top { background: linear-gradient(135deg, #78350f, #d97706); }
.fh-service-card:nth-child(6) .fh-service-top { background: linear-gradient(135deg, #0c4a6e, #0284c7); }

.fh-service-icon {
  font-size: 38px;
  margin-bottom: 12px;
  display: block;
}

.fh-service-top h3 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.fh-service-top p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.fh-service-body { padding: 20px 24px; }

.fh-service-tasks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.fh-task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
}

.fh-task::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  flex-shrink: 0;
}

.fh-tarif {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-pale);
  padding: 8px 14px;
  border-radius: 8px;
}

/* ===== PROCESSUS ===== */
.fh-process { background: #fff; }

.fh-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.fh-process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), #f472b6);
  z-index: 0;
}

.fh-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.fh-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #9333ea 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(109,40,217,0.35);
}

.fh-step h4 { font-size: 16px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.fh-step p { font-size: 13px; color: #6b7280; line-height: 1.5; }

/* ===== ENGAGEMENT / GARANTIES ===== */
.fh-garanties { background: var(--brand-pale); }

.fh-garanties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fh-garantie-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid #ede9fe;
  transition: all 0.3s ease;
}

.fh-garantie-card:hover {
  border-color: var(--violet);
  box-shadow: 0 8px 24px rgba(109,40,217,0.1);
  transform: translateY(-4px);
}

.fh-garantie-icon { font-size: 36px; margin-bottom: 14px; }
.fh-garantie-card h4 { font-size: 16px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.fh-garantie-card p { font-size: 13px; color: #6b7280; line-height: 1.5; }

/* ===== TÉMOIGNAGES ===== */
.fh-temoignages { background: #fff; }

.fh-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fh-testi-card {
  background: var(--brand-pale);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1.5px solid #ede9fe;
  position: relative;
}

.fh-testi-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 60px;
  color: var(--violet-light);
  line-height: 1;
  opacity: 0.4;
  font-family: Georgia, serif;
}

.fh-testi-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
  padding-top: 20px;
  font-style: italic;
}

.fh-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fh-testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.fh-testi-author h5 { font-size: 14px; font-weight: 700; color: var(--brand-dark); }
.fh-testi-author span { font-size: 12px; color: #9ca3af; }

.fh-stars { color: #f59e0b; font-size: 13px; margin-top: 3px; }

/* ===== CTA ===== */
.fh-cta {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-light));
  color: #fff;
  text-align: center;
  padding: 96px 5%;
}

.fh-cta h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 16px; }
.fh-cta p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; }

.btn-violet {
  background: #c4b5fd;
  color: var(--brand-dark);
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-violet:hover {
  background: #ddd6fe;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ===== NAVBAR ===== */
.navbar-home { background: rgba(30, 27, 75, 0.97); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .fh-hero-cards { display: none; }
  .fh-services-grid { grid-template-columns: repeat(2, 1fr); }
  .fh-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .fh-garanties-grid { grid-template-columns: repeat(2, 1fr); }
  .fh-process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .fh-process-grid::before { display: none; }
}

@media (max-width: 768px) {
  .fh-hero { padding: 100px 5% 56px; }
  .fh-hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .fh-hero p { font-size: 16px; margin-bottom: 28px; }
  .fh-services-grid,
  .fh-testi-grid { grid-template-columns: 1fr; }
  .fh-garanties-grid { grid-template-columns: 1fr 1fr; }
  .fh-numbers { grid-template-columns: 1fr 1fr; }
  .fh-process-grid { grid-template-columns: 1fr; gap: 24px; }
  .fh-intro-grid { gap: 32px; }
}

@media (max-width: 480px) {
  .fh-garanties-grid { grid-template-columns: 1fr; }
  .fh-numbers { grid-template-columns: 1fr 1fr; }
}
