/* ============================================
   SOINS PAGE STYLES
   Cards organisées par catégories
   ============================================ */

/* ============================================
   PAGE HEADER
   ============================================ */

.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  background-color: var(--color-bg-light);
}

.page-title {
  font-size: 4rem;
  margin-bottom: 24px;
  font-weight: 400;
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   CATEGORY SECTIONS
   ============================================ */

.category-section {
  padding: 80px 0;
}

.category-section:nth-child(even) {
  background-color: var(--color-bg-light);
}

.category-header {
  margin-bottom: 64px;
}

.category-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.category-title {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.category-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
}

/* ============================================
   TREATMENT CARDS GRID
   ============================================ */

.treatments-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.treatment-card-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.treatment-card-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(26, 26, 26, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.treatment-card-item:hover::after {
  opacity: 1;
}

.treatment-card-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

.treatment-card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.treatment-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(20%) brightness(1);
}

.treatment-card-item:hover .treatment-card-image img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1.05);
}

.treatment-card-number {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: var(--color-white);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  z-index: 2;
}

.treatment-card-content {
  padding: 32px 24px;
}

.treatment-card-name {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.treatment-card-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.treatment-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.treatment-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.treatment-detail svg {
  width: 16px;
  height: 16px;
}

.treatment-card-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.treatment-card-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.treatment-card-link:hover {
  gap: 14px;
  opacity: 0.7;
}

.treatment-card-link:hover::after {
  width: calc(100% - 20px);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: 120px 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 24px;
  font-weight: 400;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 18px 48px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color-white);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.cta-button:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}
/* ============================================
   RESPONSIVE - SOINS PAGE (ULTRA-COMPLET)
   7 Breakpoints pour une adaptation parfaite
   ============================================ */

/* ============================================
   1400px - Large Desktop
   ============================================ */
@media (max-width: 1400px) {
  .container {
    padding: 0 60px;
  }
  
  .treatments-cards-grid {
    gap: 28px;
  }
}

/* ============================================
   1200px - Desktop to Tablet Transition
   ============================================ */
@media (max-width: 1200px) {
  .container {
    padding: 0 50px;
  }
  
  /* PAGE HERO */
  .page-hero {
    padding: 130px 0 70px;
  }
  
  .page-title {
    font-size: 3.5rem;
  }
  
  .page-subtitle {
    font-size: 1.0625rem;
  }
  
  /* CATEGORY SECTIONS */
  .category-section {
    padding: 70px 0;
  }
  
  .category-header {
    margin-bottom: 56px;
  }
  
  .category-label {
    font-size: 0.625rem;
    margin-bottom: 14px;
  }
  
  .category-title {
    font-size: 2.75rem;
    margin-bottom: 14px;
  }
  
  .category-description {
    font-size: 1.0625rem;
    max-width: 550px;
  }
  
  /* TREATMENT CARDS */
  .treatments-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
  }
  
  .treatment-card-image {
    height: 220px;
  }
  
  .treatment-card-number {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 0.6875rem;
  }
  
  .treatment-card-content {
    padding: 28px 20px;
  }
  
  .treatment-card-name {
    font-size: 1.375rem;
    margin-bottom: 10px;
  }
  
  .treatment-card-desc {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }
  
  .treatment-card-details {
    gap: 6px;
    margin-bottom: 20px;
  }
  
  .treatment-detail {
    font-size: 0.8125rem;
  }
  
  .treatment-detail svg {
    width: 15px;
    height: 15px;
  }
  
  .treatment-card-link {
    font-size: 0.6875rem;
    gap: 6px;
  }
  
  /* CTA SECTION */
  .cta-section {
    padding: 110px 0;
  }
  
  .cta-title {
    font-size: 2.25rem;
    margin-bottom: 20px;
  }
  
  .cta-text {
    font-size: 1.0625rem;
    margin-bottom: 44px;
  }
  
  .cta-button {
    padding: 17px 44px;
  }
}

/* ============================================
   1024px - Tablet Landscape
   ============================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }
  
  /* PAGE HERO */
  .page-hero {
    padding: 120px 0 60px;
  }
  
  .page-title {
    font-size: 3rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
    max-width: 600px;
  }
  
  /* CATEGORY SECTIONS */
  .category-section {
    padding: 60px 0;
  }
  
  .category-header {
    margin-bottom: 48px;
  }
  
  .category-label {
    font-size: 0.625rem;
    margin-bottom: 12px;
  }
  
  .category-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }
  
  .category-description {
    font-size: 1rem;
    max-width: 550px;
  }
  
  /* TREATMENT CARDS */
  .treatments-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }
  
  .treatment-card-image {
    height: 200px;
  }
  
  .treatment-card-number {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 0.6875rem;
  }
  
  .treatment-card-content {
    padding: 26px 18px;
  }
  
  .treatment-card-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  
  .treatment-card-desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }
  
  .treatment-card-details {
    gap: 6px;
    margin-bottom: 18px;
  }
  
  .treatment-detail {
    font-size: 0.8125rem;
  }
  
  .treatment-detail svg {
    width: 14px;
    height: 14px;
  }
  
  .treatment-card-link {
    font-size: 0.6875rem;
    gap: 6px;
  }
  
  /* CTA SECTION */
  .cta-section {
    padding: 100px 0;
  }
  
  .cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .cta-text {
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 550px;
  }
  
  .cta-button {
    padding: 16px 40px;
  }
}

/* ============================================
   768px - Tablet Portrait / Mobile Landscape
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  
  /* PAGE HERO */
  .page-hero {
    padding: 110px 0 50px;
  }
  
  .page-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .page-subtitle {
    font-size: 0.9375rem;
    max-width: 100%;
  }
  
  /* CATEGORY SECTIONS */
  .category-section {
    padding: 50px 0;
  }
  
  .category-header {
    margin-bottom: 40px;
  }
  
  .category-label {
    font-size: 0.625rem;
    margin-bottom: 12px;
  }
  
  .category-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .category-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 100%;
  }
  
  /* TREATMENT CARDS */
  .treatments-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .treatment-card-image {
    height: 180px;
  }
  
  .treatment-card-number {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 0.625rem;
  }
  
  .treatment-card-content {
    padding: 24px 18px;
  }
  
  .treatment-card-name {
    font-size: 1.125rem;
    margin-bottom: 10px;
  }
  
  .treatment-card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  
  .treatment-card-details {
    gap: 6px;
    margin-bottom: 16px;
  }
  
  .treatment-detail {
    font-size: 0.8125rem;
  }
  
  .treatment-detail svg {
    width: 14px;
    height: 14px;
  }
  
  .treatment-card-link {
    font-size: 0.6875rem;
    gap: 6px;
  }
  
  /* CTA SECTION */
  .cta-section {
    padding: 90px 0;
  }
  
  .cta-title {
    font-size: 1.875rem;
    margin-bottom: 18px;
  }
  
  .cta-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 100%;
  }
  
  .cta-button {
    padding: 15px 36px;
    font-size: 0.6875rem;
  }
}

/* ============================================
   640px - Large Mobile
   ============================================ */
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  
  /* PAGE HERO */
  .page-hero {
    padding: 100px 0 45px;
  }
  
  .page-title {
    font-size: 2.25rem;
    margin-bottom: 18px;
  }
  
  .page-subtitle {
    font-size: 0.875rem;
    line-height: 1.65;
  }
  
  /* CATEGORY SECTIONS */
  .category-section {
    padding: 45px 0;
  }
  
  .category-header {
    margin-bottom: 36px;
  }
  
  .category-title {
    font-size: 1.875rem;
    margin-bottom: 10px;
  }
  
  .category-description {
    font-size: 0.875rem;
  }
  
  /* TREATMENT CARDS */
  .treatments-cards-grid {
    gap: 18px;
  }
  
  .treatment-card-image {
    height: 170px;
  }
  
  .treatment-card-number {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 0.625rem;
  }
  
  .treatment-card-content {
    padding: 22px 16px;
  }
  
  .treatment-card-name {
    font-size: 1.0625rem;
    margin-bottom: 8px;
  }
  
  .treatment-card-desc {
    font-size: 0.875rem;
    margin-bottom: 14px;
  }
  
  .treatment-card-details {
    gap: 5px;
    margin-bottom: 14px;
  }
  
  .treatment-detail {
    font-size: 0.8125rem;
  }
  
  /* CTA SECTION */
  .cta-section {
    padding: 80px 0;
  }
  
  .cta-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
  
  .cta-text {
    font-size: 0.875rem;
    margin-bottom: 32px;
  }
  
  .cta-button {
    padding: 14px 32px;
  }
}

/* ============================================
   480px - Standard Mobile
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  /* PAGE HERO */
  .page-hero {
    padding: 90px 0 40px;
  }
  
  .page-title {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.15;
  }
  
  .page-subtitle {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  /* CATEGORY SECTIONS */
  .category-section {
    padding: 40px 0;
  }
  
  .category-header {
    margin-bottom: 32px;
  }
  
  .category-label {
    font-size: 0.625rem;
    margin-bottom: 10px;
  }
  
  .category-title {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }
  
  .category-description {
    font-size: 0.875rem;
    line-height: 1.65;
  }
  
  /* TREATMENT CARDS */
  .treatments-cards-grid {
    gap: 16px;
  }
  
  .treatment-card-image {
    height: 160px;
  }
  
  .treatment-card-number {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 0.625rem;
  }
  
  .treatment-card-content {
    padding: 20px 14px;
  }
  
  .treatment-card-name {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .treatment-card-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  
  .treatment-card-details {
    gap: 5px;
    margin-bottom: 14px;
  }
  
  .treatment-detail {
    font-size: 0.75rem;
  }
  
  .treatment-detail svg {
    width: 13px;
    height: 13px;
  }
  
  .treatment-card-link {
    font-size: 0.625rem;
    gap: 6px;
  }
  
  /* CTA SECTION */
  .cta-section {
    padding: 70px 0;
  }
  
  .cta-title {
    font-size: 1.625rem;
    margin-bottom: 16px;
  }
  
  .cta-text {
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 28px;
  }
  
  .cta-button {
    padding: 13px 28px;
    font-size: 0.625rem;
  }
}

/* ============================================
   375px - Small Mobile (iPhone SE, etc.)
   ============================================ */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }
  
  /* PAGE HERO */
  .page-hero {
    padding: 80px 0 35px;
  }
  
  .page-title {
    font-size: 1.75rem;
    margin-bottom: 14px;
  }
  
  .page-subtitle {
    font-size: 0.8125rem;
  }
  
  /* CATEGORY SECTIONS */
  .category-section {
    padding: 35px 0;
  }
  
  .category-header {
    margin-bottom: 28px;
  }
  
  .category-title {
    font-size: 1.625rem;
    margin-bottom: 10px;
  }
  
  .category-description {
    font-size: 0.8125rem;
  }
  
  /* TREATMENT CARDS */
  .treatment-card-image {
    height: 150px;
  }
  
  .treatment-card-number {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 0.625rem;
  }
  
  .treatment-card-content {
    padding: 18px 14px;
  }
  
  .treatment-card-name {
    font-size: 0.9375rem;
  }
  
  .treatment-card-desc {
    font-size: 0.8125rem;
    margin-bottom: 12px;
  }
  
  .treatment-card-details {
    margin-bottom: 12px;
  }
  
  .treatment-detail {
    font-size: 0.75rem;
  }
  
  /* CTA SECTION */
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-text {
    font-size: 0.8125rem;
    margin-bottom: 24px;
  }
  
  .cta-button {
    padding: 12px 24px;
  }
}