/*
 * Custom Styles for TailleZone
 * Contains all inline styles and page-specific styles
 */

/* ========================================
   Accessibility
   ======================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   Common Elements
   ======================================== */
.cs_preloader-hidden {
  display: none;
}

.cs_clickable-email {
  cursor: pointer;
  transition: color 0.2s;
}

.cs_footer-separator {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid #e1ece3;
  text-align: center;
  color: #7f8f80;
}

/* ========================================
   Header Styles
   ======================================== */
.cs_site_branding-custom {
  width: 10%;
}

.cs_search-label-hidden {
  position: absolute;
  left: -10000px;
}

/* ========================================
   Services Page
   ======================================== */
.cs_card_thumb-fixed {
  height: 400px;
  overflow: hidden;
  display: block;
}

.cs_card_thumb-fixed img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ========================================
   Legal Pages (Mentions Légales & Politique)
   ======================================== */
.legal-section {
  padding: 80px 0;
  background: #f9fbf3;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.legal-content h1 {
  font-size: 42px;
  margin-bottom: 15px;
  color: #374836;
  font-weight: bold;
}

.legal-content .subtitle {
  color: #7f8f80;
  font-size: 16px;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 26px;
  margin-top: 50px;
  margin-bottom: 20px;
  color: #374836;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 3px solid #7abf9f;
}

.legal-content h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #374836;
  font-weight: 600;
}

.legal-content p,
.legal-content ul {
  font-size: 16px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 20px;
}

.legal-content ul {
  padding-left: 30px;
}

.legal-content ul li {
  margin-bottom: 12px;
}

.legal-content strong {
  color: #374836;
  font-weight: 600;
}

.legal-content a {
  color: #5ca080;
  text-decoration: none;
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
  color: #4a8a6a;
}

.info-box {
  background: linear-gradient(135deg, rgba(122, 191, 159, 0.08) 0%, rgba(74, 138, 106, 0.08) 100%);
  border-left: 4px solid #5ca080;
  padding: 25px;
  margin: 35px 0;
  border-radius: 8px;
}

.info-box p {
  margin-bottom: 0;
}

.placeholder-warning {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
}

.placeholder-warning strong {
  color: #856404;
}

.warning-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
}

.warning-box strong {
  color: #856404;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.data-table th,
.data-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e1ece3;
}

.data-table th {
  background: #7abf9f;
  color: #fff;
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 40px;
  color: #5ca080;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.back-link:hover {
  color: #4a8a6a;
}

.back-link i {
  margin-right: 8px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .legal-content {
    padding: 30px 20px;
  }

  .legal-content h1 {
    font-size: 32px;
  }

  .legal-content h2 {
    font-size: 22px;
  }

  .data-table {
    font-size: 14px;
  }

  .data-table th,
  .data-table td {
    padding: 10px;
  }
}
