/* ===================================================
   CRISTAL SUCRÉ - STYLES DE L'UNIVERS ÉLÉGANCE
   TonCodeur.com - Design Signature Confiserie Fine
   =================================================== */

.cs-main {
  background: linear-gradient(180deg, #FBF8F5 0%, #FFFFFF 100%);
  color: #2D231E;
}

/* Hero Section */
.cs-hero {
  padding: 80px 24px 70px;
  background: radial-gradient(circle at 80% 20%, #F5ECE3 0%, #FBF8F5 70%);
  border-bottom: 1px solid #EFE6DC;
}

.cs-hero-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.cs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F2E3D2;
  color: #7D4C1E;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cs-title {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  color: #24140E;
  margin-bottom: 20px;
}

.cs-highlight {
  color: #B87A44;
  font-style: italic;
}

.cs-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #63534B;
  margin-bottom: 32px;
  max-width: 580px;
}

.cs-hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-cs-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #24140E;
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(36, 20, 14, 0.15);
  border: none;
  cursor: pointer;
}

.btn-cs-primary:hover {
  background: #B87A44;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(184, 122, 68, 0.25);
}

.btn-cs-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #24140E;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #D9C9B8;
  transition: all 0.25s ease;
}

.btn-cs-secondary:hover {
  background: #F7F0E8;
  border-color: #B87A44;
}

.cs-hero-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cs-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4A3A32;
}

.cs-feat-icon {
  font-size: 1.1rem;
}

/* Image Visual */
.cs-visual-card {
  background: #FFFFFF;
  padding: 14px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(36, 20, 14, 0.1);
  border: 1px solid #EBE2D5;
  transition: transform 0.3s ease;
}

.cs-visual-card:hover {
  transform: translateY(-4px);
}

.cs-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
}

.cs-visual-caption {
  padding: 14px 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-caption-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #24140E;
}

.cs-caption-desc {
  font-size: 0.82rem;
  color: #8A756A;
}

/* Quote Section */
.cs-quote-section {
  padding: 50px 24px;
  background: #FFFFFF;
  text-align: center;
  border-bottom: 1px solid #EFE6DC;
}

.cs-quote-container {
  max-width: 860px;
  margin: 0 auto;
}

.cs-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5;
  color: #3A2A22;
  margin-bottom: 16px;
}

.cs-quote-author {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #B87A44;
}

/* Collections Grid */
.cs-collections {
  padding: 80px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.cs-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.cs-pretitle {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #B87A44;
  display: block;
  margin-bottom: 10px;
}

.cs-section-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: #24140E;
  margin-bottom: 14px;
}

.cs-section-desc {
  font-size: 1rem;
  color: #6B5B52;
  line-height: 1.6;
}

.cs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cs-card {
  background: #FFFFFF;
  padding: 34px 28px;
  border-radius: 20px;
  border: 1px solid #EBE2D5;
  box-shadow: 0 10px 30px rgba(36, 20, 14, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.cs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(184, 122, 68, 0.12);
  border-color: #D9C2AD;
}

.cs-card-media {
  height: 200px;
  margin: -34px -28px 24px -28px;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: #F7EFE8;
}

.cs-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cs-card:hover .cs-card-media img {
  transform: scale(1.06);
}

.cs-card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cs-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #24140E;
  margin-bottom: 14px;
}

.cs-card-text {
  font-size: 0.92rem;
  color: #63534B;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cs-card-list {
  list-style: none;
  border-top: 1px dashed #E5D7C9;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: #7A6559;
}

.cs-card-list li::before {
  content: "• ";
  color: #B87A44;
  font-weight: bold;
}

/* Corporate Section */
.cs-corporate-section {
  padding: 80px 24px;
  background: #FAF4ED;
  border-top: 1px solid #ECE0D2;
  border-bottom: 1px solid #ECE0D2;
}

.cs-corpo-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cs-badge-light {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7D4C1E;
  margin-bottom: 12px;
}

.cs-corpo-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1.25;
  color: #24140E;
  margin-bottom: 18px;
}

.cs-corpo-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #5E4E46;
  margin-bottom: 30px;
}

.cs-corpo-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cs-point-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #24140E;
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cs-point strong {
  display: block;
  font-size: 0.98rem;
  color: #24140E;
  margin-bottom: 4px;
}

.cs-point p {
  font-size: 0.88rem;
  color: #6B5B52;
  line-height: 1.5;
}

/* Form Card */
.cs-corpo-form-card {
  background: #FFFFFF;
  padding: 38px 32px;
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(36, 20, 14, 0.08);
  border: 1px solid #E6D8CA;
}

.cs-form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #24140E;
  margin-bottom: 6px;
}

.cs-form-desc {
  font-size: 0.88rem;
  color: #8C786F;
  margin-bottom: 24px;
}

.cs-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cs-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #4A3A32;
}

.cs-form-group input,
.cs-form-group select,
.cs-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #D9C9B8;
  background: #FDFBF7;
  color: #24140E;
  font-size: 0.92rem;
  transition: border-color 0.2s;
}

.cs-form-group input:focus,
.cs-form-group select:focus,
.cs-form-group textarea:focus {
  outline: none;
  border-color: #B87A44;
  background: #FFFFFF;
}

/* Bridge Section to ChocoFun */
.cs-bridge-section {
  padding: 80px 24px;
  max-width: 960px;
  margin: 0 auto;
}

.cs-bridge-card {
  background: linear-gradient(135deg, #24140E 0%, #3D1E15 100%);
  color: #FFFFFF;
  padding: 48px 40px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(36, 20, 14, 0.25);
  border: 1px solid rgba(212, 163, 89, 0.3);
}

.cs-bridge-badge {
  display: inline-block;
  background: rgba(196, 61, 87, 0.25);
  color: #F88A9F;
  border: 1px solid rgba(196, 61, 87, 0.4);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.cs-bridge-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.cs-bridge-desc {
  font-size: 1.05rem;
  color: #E2D3CC;
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Galerie Réalisations & Événements */
.cs-gallery-section {
  padding: 80px 24px;
  background: #FAF6F0;
  border-top: 1px solid #ECE3D7;
  border-bottom: 1px solid #ECE3D7;
}

.cs-gallery-container {
  max-width: 1240px;
  margin: 0 auto;
}

.cs-gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 36px;
}

.cs-filter-btn {
  background: #FFFFFF;
  border: 1px solid #DFD3C4;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4A3B32;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cs-filter-btn:hover,
.cs-filter-btn.active {
  background: #B87A44;
  color: #FFFFFF;
  border-color: #B87A44;
  box-shadow: 0 4px 12px rgba(184, 122, 68, 0.25);
}

.cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.cs-gallery-item {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(36, 20, 14, 0.05);
  border: 1px solid #EAE0D3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cs-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(184, 122, 68, 0.15);
}

.cs-gallery-thumb {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #F4EAE0;
}

.cs-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cs-gallery-item:hover .cs-gallery-thumb img {
  transform: scale(1.06);
}

.cs-gallery-info {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cs-gallery-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #B87A44;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.cs-gallery-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #24140E;
  margin: 0 0 6px;
}

.cs-gallery-desc {
  font-size: 0.82rem;
  color: #6E5E56;
  margin: 0;
  line-height: 1.4;
}

/* Section Guides & Ingrédients */
.cs-guides-section {
  padding: 80px 24px;
  background: #FFFFFF;
  border-bottom: 1px solid #EFE6DC;
}

.cs-guides-container {
  max-width: 1240px;
  margin: 0 auto;
}

.cs-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.cs-guide-card {
  background: #FAF7F2;
  border: 1px solid #EADDCF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(36, 20, 14, 0.04);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cs-guide-card:hover {
  transform: translateY(-4px);
  border-color: #D4AF37;
}

.cs-guide-img-box {
  height: 240px;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #EAE0D3;
}

.cs-guide-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.3s ease;
}

.cs-guide-card:hover .cs-guide-img-box img {
  transform: scale(1.03);
}

.cs-guide-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cs-guide-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #24140E;
  margin-bottom: 8px;
}

.cs-guide-body p {
  font-size: 0.9rem;
  color: #5C4B43;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.cs-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #B87A44;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cs-guide-btn:hover {
  color: #7D4C1E;
}

/* Responsive */
@media (max-width: 900px) {
  .cs-hero-container,
  .cs-corpo-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cs-title {
    font-size: 2.5rem;
  }

  .cs-cards-grid {
    grid-template-columns: 1fr;
  }

  .cs-form-row {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   ALIGNEMENT STRUCTUREL CRISTAL SUCRÉ
   =================================================== */
.cs-hero-text {
  display: flex;
  flex-direction: column;
}

.cs-hero-visual {
  display: flex;
  justify-content: center;
}

.cs-corpo-content {
  display: flex;
  flex-direction: column;
}

.cs-point-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #B87A44;
  margin-top: 6px;
  flex-shrink: 0;
  display: inline-block;
}
