/* ══════════════════════════════════════
   components.css
   Styles des composants réutilisables :
   features, témoignages, pricing,
   particuliers, techniciens, contact, FAQ
══════════════════════════════════════ */

/* ══ FEATURES GRID ══ */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 3rem; }
.feat {
  background: #fff; border: 1.5px solid var(--gray-m);
  border-radius: var(--r2); padding: 1.8rem;
  transition: all .25s; position: relative; overflow: hidden;
}
.feat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #60aeff);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.feat:hover::before  { transform: scaleX(1); }
.feat:hover {
  border-color: rgba(9,117,244,.25);
  box-shadow: 0 8px 32px rgba(9,117,244,.08);
  transform: translateY(-3px);
}
.feat-ico   { width: 50px; height: 50px; background: var(--blue-bg); border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem; }
.feat-title { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.feat-desc  { color: var(--gray); font-size: .86rem; line-height: 1.65; }
.feat-tag   { display: inline-block; margin-top: .8rem; font-size: .72rem; font-weight: 700; color: var(--blue); background: var(--blue-bg); padding: .2rem .65rem; border-radius: 999px; }

/* Grande carte feature */
.feat.big           { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.feat-big-right     { display: flex; flex-direction: column; gap: .9rem; }
.feat-mini          { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem; background: var(--gray-l); border-radius: 10px; }
.feat-mini-ico      { width: 36px; height: 36px; background: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; border: 1px solid var(--gray-m); }
.feat-mini-title    { font-weight: 600; font-size: .85rem; }
.feat-mini-desc     { font-size: .78rem; color: var(--gray); margin-top: .15rem; }

/* ══ PARTICULIERS ══ */
.parti-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-top: 3rem; }
.parti-list   { display: flex; flex-direction: column; gap: 1.2rem; }
.parti-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem; background: #fff;
  border: 1.5px solid var(--gray-m); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.parti-item:hover { border-color: var(--blue); box-shadow: 0 4px 18px rgba(9,117,244,.08); }
.parti-ico        { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.parti-title      { font-weight: 700; font-size: .92rem; }
.parti-desc       { font-size: .82rem; color: var(--gray); margin-top: .2rem; line-height: 1.5; }

/* Carte visuelle particuliers */
.parti-visual    { position: relative; }
.parti-card-main {
  background: #fff; border: 1.5px solid var(--gray-m);
  border-radius: var(--r2); padding: 1.8rem; box-shadow: var(--shadow);
}
.parti-card-main h3 { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.15rem; margin-bottom: 1.2rem; }

.tech-mini        { display: flex; align-items: center; gap: .9rem; padding: .9rem; background: var(--gray-l); border-radius: 11px; margin-bottom: .7rem; }
.tech-mini-av     { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.tech-mini-name   { font-weight: 700; font-size: .88rem; }
.tech-mini-role   { font-size: .75rem; color: var(--gray); }
.tech-mini-stars  { font-size: .72rem; color: #f59e0b; }
.tech-mini-btn {
  margin-left: auto; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; padding: .45rem .9rem;
  font-size: .73rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .2s;
}
.tech-mini-btn:hover { background: var(--blue-d); }

.badge-verified { display: inline-flex; align-items: center; gap: .35rem; background: var(--green-bg); color: var(--green); font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; margin-top: .4rem; }

/* Cartes flottantes */
.floating-card { position: absolute; background: #fff; border: 1.5px solid var(--gray-m); border-radius: 14px; padding: .8rem 1rem; box-shadow: 0 8px 28px rgba(0,0,0,.1); font-size: .78rem; font-weight: 600; }
.fc1 { right: -30px; top: -20px; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.fc2 { left: -30px; bottom: 30px; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }

/* ══ TESTIMONIALS ══ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 3rem; }
.testi {
  background: #fff; border: 1.5px solid var(--gray-m);
  border-radius: var(--r2); padding: 1.6rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.testi:hover { border-color: rgba(9,117,244,.25); box-shadow: var(--shadow); transform: translateY(-3px); }
.testi-stars  { color: #f59e0b; font-size: 1rem; margin-bottom: .9rem; }
.testi-text   { font-size: .88rem; color: var(--gray); line-height: 1.7; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--gray-m); }
.testi-av     { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-bg); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.testi-name   { font-weight: 700; font-size: .85rem; }
.testi-role   { font-size: .75rem; color: var(--gray); }
.testi-verified { font-size: .68rem; color: var(--green); font-weight: 600; display: flex; align-items: center; gap: .25rem; }

/* ══ PRICING ══ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.plan {
  border: 1.5px solid var(--gray-m); border-radius: var(--r2);
  padding: 2rem 1.8rem; position: relative; transition: all .25s;
}
.plan:hover          { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan.popular        { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .28rem .9rem;
  border-radius: 999px; white-space: nowrap;
}
.plan-name   { font-weight: 700; font-size: .85rem; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; }
.plan-price  { font-family: 'Poppins',sans-serif; font-size: 2.6rem; font-weight: 800; margin: .6rem 0 .2rem; display: flex; align-items: flex-end; gap: .3rem; line-height: 1; }
.plan-price small { font-size: 1rem; font-weight: 500; color: var(--gray); margin-bottom: .4rem; }
.plan-price sup   { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.plan-desc   { font-size: .83rem; color: var(--gray); margin-bottom: 1.4rem; line-height: 1.55; }
.plan-feats  { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.8rem; }
.plan-feat   { display: flex; align-items: center; gap: .65rem; font-size: .85rem; }
.plan-feat-ico { width: 20px; height: 20px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: .65rem; flex-shrink: 0; font-weight: 700; }
.plan-feat-ico.x { background: #fee2e2; color: #dc2626; }
.plan-btn {
  width: 100%; padding: .8rem; border-radius: 10px;
  font-weight: 700; font-size: .92rem; font-family: inherit;
  cursor: pointer; transition: all .2s;
  border: 2px solid var(--blue); color: var(--blue); background: transparent;
}
.plan-btn:hover, .plan.popular .plan-btn { background: var(--blue); color: #fff; }
.plan.popular .plan-btn:hover            { background: var(--blue-d); }

/* ══ CRÉDIBILITÉ ══ */
.trust-section { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; margin-top: 3rem; }
.trust-card {
  background: #fff; border: 1.5px solid var(--gray-m);
  border-radius: var(--r2); padding: 1.5rem;
  text-align: center; transition: all .25s;
}
.trust-card:hover { border-color: rgba(9,117,244,.25); box-shadow: var(--shadow); transform: translateY(-3px); }
.trust-ico   { font-size: 2rem; margin-bottom: .7rem; }
.trust-title { font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.trust-desc  { font-size: .82rem; color: var(--gray); line-height: 1.55; }

.press-band {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 2.5rem; margin-top: 3.5rem;
  padding: 2rem; background: var(--gray-l); border-radius: var(--r2);
}
.press-item { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--gray-m); letter-spacing: -.5px; }

/* ══ PAGE TECHNICIEN ══ */
.techpage-hero { padding: 8rem 5% 5rem; background: var(--gray-l); position: relative; overflow: hidden; }
.techpage-hero::before {
  content: ''; position: absolute; right: -200px; top: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: var(--blue-bg); z-index: 0;
}
.techpage-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }

.earning-card { background: #fff; border: 1.5px solid var(--gray-m); border-radius: var(--r2); padding: 2rem; box-shadow: var(--shadow); }
.earning-card h3      { font-family: 'Poppins',sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 1.2rem; }
.earning-card h3 span { color: var(--blue); }
.earning-bar   { margin-bottom: 1rem; }
.earning-label { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: .35rem; }
.earning-label span:last-child { font-weight: 700; color: var(--blue); }
.earning-track { background: var(--gray-l); border-radius: 999px; height: 8px; overflow: hidden; }
.earning-fill  { height: 100%; background: linear-gradient(90deg, var(--blue), #60aeff); border-radius: 999px; }
.earning-total { background: var(--blue); color: #fff; border-radius: 12px; padding: 1rem 1.2rem; text-align: center; margin-top: 1.2rem; }
.earning-total-num   { font-family: 'Poppins',sans-serif; font-size: 2rem; font-weight: 800; }
.earning-total-label { font-size: .78rem; opacity: .8; margin-top: .2rem; }

/* ══ FORMULAIRES ══ */
.form-card { background: #fff; border: 1.5px solid var(--gray-m); border-radius: var(--r2); padding: 2.2rem; box-shadow: var(--shadow); }
.form-card h3       { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.2rem; margin-bottom: 1.5rem; }
.form-card h3 span  { color: var(--blue); }
.fg { margin-bottom: 1rem; }
.fg label { font-size: .78rem; color: var(--gray); display: block; margin-bottom: .35rem; font-weight: 600; }
.fg input, .fg select, .fg textarea {
  width: 100%; background: var(--gray-l);
  border: 1.5px solid var(--gray-m); border-radius: 9px;
  padding: .68rem .95rem; color: var(--text);
  font-family: inherit; font-size: .88rem;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: #bbb; }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(9,117,244,.08);
}
.fg textarea { resize: vertical; min-height: 90px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%; background: var(--blue); color: #fff;
  font-weight: 700; padding: .88rem; border-radius: 11px;
  border: none; cursor: pointer; font-family: inherit;
  font-size: .97rem; margin-top: .5rem;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-submit:hover {
  background: var(--blue-d); transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(9,117,244,.3);
}

/* ══ CONTACT PAGE ══ */
.contact-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.cinfo {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; background: #fff;
  border: 1.5px solid var(--gray-m); border-radius: var(--r);
  transition: border-color .2s;
}
.cinfo:hover    { border-color: var(--blue); }
.cinfo-ico      { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-bg); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cinfo-label    { font-size: .73rem; color: var(--gray); }
.cinfo-val      { font-weight: 700; font-size: .9rem; }
.map-placeholder {
  background: var(--gray-l); border: 1.5px dashed var(--gray-m);
  border-radius: var(--r2); height: 200px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .5rem;
  color: var(--gray); font-size: .85rem; margin-top: 1.5rem;
}
.social-links { display: flex; gap: .8rem; margin-top: 1.5rem; flex-wrap: wrap; }
.social-btn {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border: 1.5px solid var(--gray-m);
  border-radius: 9px; text-decoration: none;
  color: var(--gray); font-size: .82rem; font-weight: 600; transition: all .2s;
}
.social-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-bg); }

/* ══ FAQ ══ */
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: #fff; border: 1.5px solid var(--gray-m);
  border-radius: 13px; overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: var(--blue); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.3rem; cursor: pointer;
  font-weight: 600; font-size: .9rem;
  user-select: none; transition: color .2s; gap: 1rem;
}
.faq-q:hover { color: var(--blue); }
.faq-arr {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-bg); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; flex-shrink: 0;
  transition: transform .25s, background .2s;
}
.faq-item.open .faq-arr  { transform: rotate(180deg); background: var(--blue); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  font-size: .86rem; color: var(--gray); line-height: 1.7;
  padding: 0 1.3rem;
}
.faq-item.open .faq-a { max-height: 250px; padding-bottom: 1.1rem; }
