/* === COMPOSANTS — boutons, cards, formulaire === */

/* --- BOUTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast),
              box-shadow var(--tr-fast), transform var(--tr-fast);
  white-space: nowrap;
  line-height: 1;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Bouton primaire (kaki) */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: oklch(40% 0.09 127);
  border-color: oklch(40% 0.09 127);
  box-shadow: 0 4px 16px oklch(44% 0.088 127 / 0.28);
  color: #fff;
}

/* Bouton WhatsApp */
.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border-color: var(--wa-green);
}
.btn-wa:hover {
  background: #1EB955;
  border-color: #1EB955;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
  color: #fff;
}

/* Bouton outline */
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
}

/* Bouton phone (header desktop) */
.btn-call {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  padding: 10px 18px;
  font-size: 0.85rem;
}
.btn-call:hover {
  background: color-mix(in srgb, var(--text) 5%, transparent);
  color: var(--text);
}

/* CTA hero — pleine largeur + empilés sur mobile */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-cta .btn { width: 100%; justify-content: center; }

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-cta .btn { width: auto; }
}

/* --- CARDS SERVICES — LAY-1 grid-3, card line --- */
.c-line {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  background: transparent;
  transition: box-shadow var(--tr-base), border-color var(--tr-base), transform var(--tr-base);
}

.c-line:hover {
  box-shadow: 0 8px 32px oklch(20% 0.05 127 / 0.08);
  border-color: var(--accent-2);
  transform: translateY(-3px);
}

.svc-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--accent) 13%, var(--bg));
  color: var(--accent);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.svc-icon svg { width: 24px; height: 24px; }

.svc-num {
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}

.svc-title {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}

.svc-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* --- CARDS AVIS (cols-2) --- */
.avis-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.avis-stars {
  display: flex;
  gap: 3px;
  color: #D4A843;
}

.avis-stars svg { width: 16px; height: 16px; }

.avis-quote {
  font-family: var(--ff-display);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}

.avis-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-mute);
}

.badge-google {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-mute);
}

/* --- FORMULAIRE CONTACT --- */
.form-contact { display: flex; flex-direction: column; gap: 16px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0; /* cf PIÈGE #10 — select overflow */
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-width: 0; /* anti-scroll horizontal select */
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  transition: border-color var(--tr-fast);
  appearance: none;
  -webkit-appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Chips / badges */
.chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  color: var(--accent);
}

/* Section sub-heading */
.section-sub {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 54ch;
}

.section-eyebrow {
  font-family: var(--ff-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  display: block;
}
