/**
 * ASdeco Composants — Cartes, formulaires, interactions
 * Charte : doré #a68346, sombre #232323
 */

/* ===== CARTES PORTFOLIO ===== */

.themetechmount-box-portfolio {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #fff;
}

.themetechmount-box-portfolio:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.themetechmount-box-portfolio .themetechmount-item-thumbnail img {
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.themetechmount-box-portfolio:hover .themetechmount-item-thumbnail img {
  transform: scale(1.05);
}

.themetechmount-box-portfolio .themetechmount-box-content {
  padding: 20px 24px !important;
}

.themetechmount-box-portfolio .themetechmount-box-title h3,
.themetechmount-box-portfolio .themetechmount-box-title h4 {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

/* Overlay portfolio doré au survol */
.themetechmount-box-overlay {
  transition: all 0.4s ease !important;
  background: rgba(35, 35, 35, 0.6) !important;
}

.themetechmount-box-portfolio:hover .themetechmount-box-overlay {
  background: rgba(166, 131, 70, 0.75) !important;
}

/* ===== CARTES SERVICE ===== */

.themetechmount-box-service {
  transition: all 0.3s ease;
  border-radius: 4px;
}

.themetechmount-box-service:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== TÉMOIGNAGES ===== */

.themetechmount-box-testimonial {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 30px !important;
  transition: box-shadow 0.3s ease;
}

.themetechmount-box-testimonial:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.themetechmount-ratting-star { color: #a68346 !important; }

/* ===== ICONBOX — prestations ===== */

.themetechmount-iconbox {
  transition: all 0.3s ease;
  padding: 20px !important;
  border-radius: 4px;
}

.themetechmount-iconbox:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.themetechmount-iconbox i { transition: transform 0.3s ease; }
.themetechmount-iconbox:hover i { transform: scale(1.1); }

/* ===== FORMULAIRE CONTACT ===== */

.wpcf7 input[type="text"], .wpcf7 input[type="email"],
.wpcf7 input[type="tel"], .wpcf7 textarea {
  border: 1px solid #ddd !important;
  border-radius: 3px !important;
  padding: 12px 16px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  font-size: 15px !important;
  background: #fafafa !important;
}

.wpcf7 input:focus, .wpcf7 textarea:focus {
  border-color: #a68346 !important;
  box-shadow: 0 0 0 3px rgba(166, 131, 70, 0.1) !important;
  outline: none !important;
  background: #fff !important;
}

.wpcf7 input[type="submit"] {
  background: #a68346 !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 36px !important;
  font-size: 14px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  border-radius: 3px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
}

.wpcf7 input[type="submit"]:hover {
  background: #8a6c3a !important;
  box-shadow: 0 4px 12px rgba(166, 131, 70, 0.3) !important;
  transform: translateY(-1px);
}

/* ===== PAGES PROJET — détail réalisation ===== */

.tm-featured-wrapper img {
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.tm-portfolio-description {
  padding: 30px 0 !important;
}

.tm-portfolio-title {
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  margin-bottom: 16px !important;
  padding-bottom: 16px;
  border-bottom: 2px solid #a68346;
}

/* Galerie images projet */
.elementor-widget-image-gallery .gallery-item {
  overflow: hidden;
  border-radius: 4px;
}

.elementor-widget-image-gallery .gallery-item img {
  transition: transform 0.5s ease;
  border-radius: 4px;
}

.elementor-widget-image-gallery .gallery-item:hover img {
  transform: scale(1.03);
}

/* ===== ANIMATIONS WIDGETS ===== */

.elementor-widget { transition: opacity 0.4s ease, transform 0.4s ease; }

/* ===== SÉPARATEUR DORÉ ===== */

.elementor-divider-separator {
  border-color: #a68346 !important;
}
