/* ═══════════════════════════════════════════
   AUXÉO AGENCY — UI COMPONENTS
   Modifier ici = change les composants sur toutes les pages
   ▸ Boutons, cards, badges, inputs, dividers
═══════════════════════════════════════════ */

/* ── BOUTONS — spec DS Components.jsx AuxBtn ──
   primary  : indigo-vif (com) / terracotta (fin), texte blanc, hover change couleur
   secondary: outline accent, hover opacity 0.8
   Ni box-shadow, ni opacity-hover sur primary (DS canonique).
─ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cta);
  color: var(--btn-color);
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--btn-font-size);
  letter-spacing: 0.04em;
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  border: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--cta-hover);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600; font-size: var(--btn-font-size);
  letter-spacing: 0.04em;
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  border: 1.5px solid var(--accent);
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-secondary:hover {
  opacity: 0.8;
}

/* ── CARDS — spec DS ServiceCard
   radius 10px · padding 28x24 · hover translateY(-3px) + glow accent
─ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.card.placeholder {
  opacity: 0.4;
  border-style: dashed;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 8rem 0; text-align: center;
  background: linear-gradient(135deg, rgba(61,31,191,0.18), rgba(0,212,232,0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,232,0.06) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto; padding: 0 2rem;
}
.cta-inner .section-title { font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl)); }
.cta-inner .section-body { margin: 0 auto 2.75rem; text-align: center; max-width: 500px; }

/* ── DIFF ITEMS ── */
.diff-section { padding: 7rem 0; border-top: 1px solid var(--border); }
.diff-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.diff-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; margin-top: 4rem; }
.diff-item { position: relative; padding-top: 1rem; }
.diff-num {
  font-family: var(--font-title); font-size: 5rem; font-weight: 700;
  color: rgba(0,212,232,0.06); letter-spacing: -0.05em;
  position: absolute; top: -1.5rem; left: -0.5rem; line-height: 1; user-select: none;
}
.diff-bar { width: 28px; height: 2px; background: var(--accent); margin-bottom: 0.85rem; }
.diff-title {
  font-family: var(--font-title); font-size: 1.1rem; font-weight: 600;
  color: var(--blanc); margin-bottom: 0.85rem; position: relative;
}
.diff-text { font-size: 0.925rem; color: var(--slate); font-weight: 300; line-height: 1.75; }

/* ── PROCESS STEPS ── */
.process-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, transparent 100%);
  border-top: 1px solid var(--border);
}
.process-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; margin-top: 4rem; position: relative;
}
.process-line {
  position: absolute; top: 25px;
  left: calc(12.5% + 25px); right: calc(12.5% + 25px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--indigo-vif), transparent);
  opacity: 0.25; pointer-events: none;
}
.process-step { text-align: center; }
.step-circle {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(0,212,232,0.3);
  background: rgba(0,212,232,0.05);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-title); font-size: 0.82rem; font-weight: 600; color: var(--accent);
}
.step-title { font-family: var(--font-title); font-size: 1rem; font-weight: 600; color: var(--blanc); margin-bottom: 0.65rem; }
.step-desc { font-size: 0.85rem; color: var(--slate); font-weight: 300; line-height: 1.65; }

/* ── TÉMOIGNAGES ── */
.testimonials-section { padding: 7rem 0; }
.testimonials-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3.5rem; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.testi-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.testi-quote { font-family: Georgia, serif; font-size: 2.5rem; color: var(--cyan); opacity: 0.35; line-height: 1; margin-bottom: 1rem; }
.testi-text { font-size: 0.925rem; color: var(--slate); font-weight: 300; line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.testi-author { font-family: var(--font-title); font-size: 0.9rem; font-weight: 600; color: var(--blanc); }
.testi-role { font-size: 0.8rem; color: var(--slate); font-weight: 300; margin-top: 0.2rem; }

/* ── ABOUT VISUAL ── */
.about-section { padding: 7rem 0; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.about-visual { position: relative; height: 380px; }
.visual-main {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(61,31,191,0.35), rgba(26,15,79,0.7));
  border: 1px solid var(--border); border-radius: 14px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem; overflow: hidden;
}
.visual-main-bg {
  position: absolute; top: -1rem; right: -1rem;
  font-family: var(--font-title); font-size: 9rem; font-weight: 700;
  color: rgba(0,212,232,0.06); letter-spacing: -0.05em; line-height: 1;
  user-select: none; pointer-events: none;
}
.visual-float {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--indigo-vif); border: 1px solid rgba(0,212,232,0.3);
  border-radius: 10px; padding: 1.5rem; min-width: 170px;
}
.float-label { font-size: 0.72rem; color: var(--cyan); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.float-value { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; color: #F4F7FF; }

/* ── SERVICES GRID ── */
.services-section { padding: 7rem 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; gap: 2rem; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px 24px;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.svc-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.svc-icon {
  width: 44px; height: 44px; margin-bottom: 14px;
  color: var(--accent); transition: transform 0.2s;
}
.svc-card:hover .svc-icon { transform: scale(1.08); }

/* Accent line — spec DS ServiceCard (28x2.5, accent, radius 2, marginBottom 14) */
.svc-card .svc-title::before {
  content: ''; display: block;
  width: 28px; height: 2.5px; border-radius: 2px;
  background: var(--accent); margin-bottom: 14px;
}
.svc-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--fg-primary); line-height: 1.3; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.svc-desc {
  font-family: var(--font-body); font-size: 13px;
  color: var(--fg-secondary); font-weight: 400; line-height: 1.6; flex: 1;
}
.svc-arrow {
  margin-top: 1.5rem; color: var(--accent); font-size: 1.1rem;
  display: block; transition: transform 0.25s; width: fit-content;
}
.svc-card:hover .svc-arrow { transform: translateX(8px); }

/* ── FORMULAIRE CONTACT ── */
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(0,0,0,0.2);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.85rem 1rem; font-family: var(--font-body);
  font-size: 0.9rem; color: var(--blanc); font-weight: 300;
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(0,212,232,0.4); background: rgba(0,212,232,0.03);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--slate); opacity: 0.6; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--charbon); color: var(--blanc); }
@media (prefers-color-scheme: light) {
  .form-input, .form-select, .form-textarea { background: rgba(26,15,79,0.04); }
  .form-select option { background: #F4F7FF; color: #12111F; }
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-submit {
  width: 100%; background: var(--btn-bg); color: var(--btn-color);
  font-family: var(--font-title); font-weight: 600;
  font-size: var(--btn-font-size);
  padding: var(--btn-padding); border-radius: var(--btn-radius);
  border: none; cursor: pointer;
  transition: background 0.15s; letter-spacing: 0.04em;
  margin-top: 2rem;
}
.form-submit:hover { background: var(--cta-hover); }

/* ── RESPONSIVE UI ── */
@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-line { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .services-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-step { text-align: left; display: flex; align-items: flex-start; gap: 1.25rem; }
  .step-circle { flex-shrink: 0; margin: 0; }
  .cta-section { padding: 5rem 0; }
}

/* ══════════════════════════════════════════════════
   TRUST SIGNALS — KPI · GARANTIES · CLIENTS · CERTIFICATIONS
══════════════════════════════════════════════════ */

/* ── KPI Counters Band ── */
.kpi-section {
  padding: 5rem 0;
  background: #1A0F4F;
  border-top: 1px solid rgba(0,212,232,0.15);
  border-bottom: 1px solid rgba(0,212,232,0.15);
}
.kpi-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.kpi-item {
  padding: 2.75rem 2rem; text-align: center;
  border-right: 1px solid rgba(0,212,232,0.12);
}
.kpi-item:last-child { border-right: none; }
.kpi-val {
  display: block; font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-4xl));
  font-weight: 700; color: var(--accent);
  line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.kpi-label {
  font-size: 0.85rem; color: rgba(244,247,255,0.65);
  font-weight: 400; line-height: 1.45;
}
@media (prefers-color-scheme: light) {
  .kpi-section { background: #F4F7FF; border-top-color: rgba(26,15,79,0.12); border-bottom-color: rgba(26,15,79,0.12); }
  .kpi-item { border-right-color: rgba(26,15,79,0.1); }
  .kpi-val { color: #3D1FBF; }
  .kpi-label { color: #4A5275; }
}
@media (max-width: 700px) {
  .kpi-inner { grid-template-columns: repeat(2,1fr); }
  .kpi-item { padding: 2rem 1.25rem; border-right: none; border-bottom: 1px solid rgba(0,212,232,0.12); }
  .kpi-item:nth-child(odd) { border-right: 1px solid rgba(0,212,232,0.12); }
  .kpi-item:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 380px) {
  .kpi-inner { grid-template-columns: 1fr; }
  .kpi-item { border-right: none !important; }
  .kpi-item:last-child { border-bottom: none; }
}

/* ── Guarantees ── */
.guarantees-section { padding: 7rem 0; border-top: 1px solid var(--border); }
.guarantees-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.guarantees-inner .section-title { margin-top: 0.5rem; margin-bottom: 3.5rem; }
.guarantees-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.guar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.guar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.guar-icon { width: 48px; height: 48px; margin-bottom: 1.25rem; color: #00D4E8; }
.guar-icon svg { width: 100%; height: 100%; }
.guar-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600;
  color: var(--blanc); margin-bottom: 0.75rem; line-height: 1.3;
}
.guar-text { font-size: 0.9rem; color: var(--slate); font-weight: 300; line-height: 1.7; }
@media (prefers-color-scheme: light) {
  .guar-card { border-top-color: #3D1FBF; }
  .guar-icon { color: #3D1FBF; }
}
@media (max-width: 768px) { .guarantees-grid { grid-template-columns: 1fr; gap: 1rem; } }
@media (max-width: 560px) { .guarantees-section { padding: 5rem 0; } }

/* ── Clients Trust Band ── */
.clients-section { padding: 4rem 0 5rem; border-top: 1px solid var(--border); }
.clients-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.clients-tag { display: block !important; text-align: center; margin-bottom: 3rem; }
.clients-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 2rem 4rem; min-height: 48px;
}
.client-logo img {
  height: 36px; width: auto;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.3s;
}
.client-logo:hover img { filter: grayscale(0%) opacity(1); }

/* ── Certifications / Outils ── */
.certif-section { padding: 6rem 0; border-top: 1px solid var(--border); }
.certif-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.certif-inner .section-title { margin-top: 0.5rem; }
.certif-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.certif-badge {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 28px 20px; text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.certif-badge:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.certif-badge--soon { opacity: 0.55; border-style: dashed; }
.certif-icon { width: 40px; height: 40px; margin: 0 auto 1rem; color: var(--accent); }
.certif-icon svg { width: 100%; height: 100%; }
.certif-name { font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem; font-weight: 600; color: var(--blanc); margin-bottom: 0.3rem; }
.certif-type { font-size: 0.73rem; color: var(--slate); font-weight: 300; }
@media (max-width: 560px) { .certif-grid { grid-template-columns: repeat(2,1fr); } }

/* ── Nav Brand (logo + tagline locale) ── */
.nav-brand { display: flex; flex-direction: column; gap: 0.15rem; }
.nav-tagline {
  font-size: 0.62rem; color: var(--slate); font-weight: 400;
  letter-spacing: 0.05em; line-height: 1; white-space: nowrap; display: none;
}
@media (min-width: 900px) { .nav-tagline { display: block; } }

/* ── Footer Trust Badges ── */
.footer-trust { margin-top: 1.5rem; }
.footer-trust-label {
  font-size: 0.65rem; color: var(--slate); text-transform: uppercase;
  letter-spacing: 0.1em; display: block; margin-bottom: 0.55rem;
}
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.footer-trust-badge {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 500;
  color: var(--slate); border: 1px solid var(--border); border-radius: 4px;
  padding: 0.22rem 0.55rem; transition: border-color 0.2s, color 0.2s;
}
.footer-trust-badge:hover { border-color: rgba(0,212,232,0.3); color: var(--blanc); }
@media (prefers-color-scheme: light) {
  .footer-trust-badge:hover { border-color: rgba(61,31,191,0.35); }
}

/* ══════════════════════════════════════════════════
   HOME — MICROCOPY · CLIENTS MENTION · FAQ COURTE
══════════════════════════════════════════════════ */

/* ── Hero microcopy (sous CTA) ── */
.hero-microcopy {
  font-size: 0.78rem; color: var(--slate); font-weight: 400;
  margin-top: 1.25rem; line-height: 1.55; opacity: 0.85;
  letter-spacing: 0.01em;
}

/* ── Clients mention (autorité texte avant logos) ── */
.clients-mention {
  font-size: 1rem; color: var(--slate); font-weight: 300;
  line-height: 1.7; max-width: 640px; margin: 0 auto; text-align: center;
}
.clients-mention-soft {
  display: inline-block; margin-top: 0.4rem;
  font-size: 0.82rem; color: var(--slate); opacity: 0.7;
  font-style: italic;
}

/* ── Process step delay ── */
.step-delay {
  display: inline-block; margin-left: 0.45rem;
  font-size: 0.7rem; color: var(--accent); font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  font-family: var(--font-body); padding: 0.15rem 0.5rem;
  background: rgba(0,212,232,0.08); border-radius: 100px;
  vertical-align: middle;
}
@media (prefers-color-scheme: light) {
  .step-delay { background: rgba(61,31,191,0.08); }
}

/* ── FAQ COURTE ── */
.faq-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.faq-inner {
  max-width: 820px; margin: 0 auto; padding: 0 2rem; text-align: center;
}
.faq-inner .section-title { margin-bottom: 3rem; }
.faq-grid {
  display: flex; flex-direction: column; gap: 0.85rem;
  text-align: left; margin-bottom: 2.5rem;
}
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.25rem 1.5rem;
  transition: border-color 0.25s, background 0.25s;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item[open] { border-color: rgba(0,212,232,0.25); background: rgba(0,212,232,0.03); }
@media (prefers-color-scheme: light) {
  .faq-item[open] { border-color: rgba(61,31,191,0.3); background: rgba(61,31,191,0.03); }
}
.faq-q {
  font-family: var(--font-title); font-size: 1.02rem; font-weight: 600;
  color: var(--blanc); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; line-height: 1.4; padding: 0.25rem 0;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400;
  transition: transform 0.25s; flex-shrink: 0; line-height: 1;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 0.93rem; color: var(--slate); font-weight: 300;
  line-height: 1.75; margin-top: 0.85rem; padding-right: 2rem;
}
.faq-cta-link {
  display: inline-block; font-family: var(--font-title);
  font-size: 0.92rem; font-weight: 500; color: var(--accent);
  border-bottom: 1px solid transparent; padding-bottom: 0.15rem;
  transition: border-color 0.2s;
}
.faq-cta-link:hover { border-bottom-color: var(--accent); }
@media (max-width: 560px) {
  .faq-section { padding: 5rem 0; }
  .faq-item { padding: 1rem 1.25rem; }
  .faq-q { font-size: 0.95rem; }
}

/* ── CTA microcopy ── */
.cta-microcopy {
  margin-top: 1.5rem; font-size: 0.82rem; color: var(--slate);
  font-weight: 300; opacity: 0.85;
}
.cta-microcopy a {
  color: var(--accent); border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.cta-microcopy a:hover { border-bottom-color: var(--accent); }
