/**
 * HOMEPAGE STYLES - Simplified
 */

/* HERO SECTION */
.hero-wrapper {
  padding: 60px 50px;
}

.hero-section {
  background: linear-gradient(
    135deg,
    #2a3b58 0%,
    #5a3d55 25%,
    #9b3d5c 70%,
    #b8547a 100%
  );
  color: white;
  padding: 60px;
  min-height: 300px;
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 8px;
}

.hero-container {
  width: 100%;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 30px;
  align-items: center;
}

.hero-right {
  padding-left: 40px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-family:
    var(--font-heading),
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: white !important;
  text-transform: none;
  font-variant: normal;
  margin-bottom: 0;
}

.hero-title .dot-teal {
  color: var(--teal-light) !important;
  font-size: inherit;
}

.hero-cta {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.hero-priority {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-body);
  font-style: normal;
  color: white;
  margin-bottom: 25px;
}

.hero-text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

/* FEATURED PRODUCTS */
.featured-products-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 100px 50px;
}

.products-header {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.products-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  opacity: 0.7;
}

.products-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight-burgundy {
  color: var(--burgundy);
  font-family: inherit;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto 60px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26, 43, 74, 0.08);
  transition:
    transform 0.45s ease-out,
    box-shadow 0.45s ease-out;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(26, 43, 74, 0.15);
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 400px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s ease-out;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 20px;
}

.product-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--navy);
  color: white;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--navy);
}

.product-btn:hover {
  background: white;
  color: var(--navy);
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--burgundy);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(155, 61, 92, 0.25);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 61, 92, 0.35);
}

/* MISSION SECTION */
.mission-section {
  background: white;
  padding: 0;
}

.mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
}

.mission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-content {
  background: var(--navy);
  color: white;
  padding: 60px 50px;
}

.mission-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.mission-description {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  line-height: 1.8;
  opacity: 0.95;
}

/* SERVICES SECTION */
.services-section {
  background: var(--gray);
  padding: 80px 20px;
}

.services-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.services-title {
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 700;
  color: var(--navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26, 43, 74, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(26, 43, 74, 0.12);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 15px;
}

.service-description {
  color: var(--text-light);
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding: 30px 20px;
  }

  .hero-section {
    padding: 60px 20px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-products-section {
    padding: 60px 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-image {
    height: 350px;
  }

  .mission-container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SERVICES CATEGORIES SECTION
   ======================================== */

.services-categories-section {
  background: var(--gray);
  padding: 80px 50px;
}

.categories-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

.categories-header {
  text-align: left;
  max-width: 800px;
  margin: 0 0 35px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.categories-subtitle {
  font-family: var(--font-body) !important;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 1px;
  color: var(--teal);
  margin: 0 0 12px 0;
}

.categories-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 40px 0;
  line-height: 1.2;
}

.categories-title .highlight-burgundy {
  font-family: var(--font-heading) !important;
  font-size: inherit !important;
}

.category-row {
  display: grid;
  grid-template-columns: 30% 68%;
  gap: 2%;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.category-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.category-content {
  padding-right: 20px;
}

.category-name {
  font-family: var(--font-body) !important;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.category-description {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0 0 24px 0;
}

.category-link-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.category-link-btn:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.category-products {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.mini-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mini-product {
  display: block;
  aspect-ratio: 2/3;
  overflow: hidden;
  border: 1px solid var(--border);
  background: transparent;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.mini-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mini-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mini-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray);
  font-size: 3rem;
}

.category-shop-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--burgundy);
  background: transparent;
  padding: 8px 32px;
  border-radius: 0px;
  border: 1px solid var(--burgundy);
  text-decoration: none;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.category-shop-btn:hover {
  background: var(--burgundy);
  color: white;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .category-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .category-content {
    padding-right: 0;
  }

  .mini-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 600px) {
  .mini-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   SERVICE A LA CARTE SECTION
   ======================================== */

.service-carte-section {
  padding: 80px 50px 0 50px;
  background: white;
}

.carte-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 42%;
  gap: 3%;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0px;
  padding: 60px;
}

.carte-content {
  padding-right: 40px;
}

.carte-subtitle {
  font-family: var(--font-body) !important;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: normal;
  color: var(--teal);
  margin: 0 0 16px 0;
}

.carte-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--burgundy);
  margin: 0 0 40px 0;
  line-height: 1.1;
}

.carte-description {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 32px 0;
}

.carte-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.carte-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 32px;
  border-radius: 0px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-call {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}

.btn-call:hover {
  background: var(--burgundy);
  color: white;
}

.btn-call .btn-icon {
  font-size: 1.2rem;
}

.btn-demand {
  background: var(--burgundy);
  color: white;
  border: 1px solid var(--burgundy);
}

.btn-demand:hover {
  background: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.carte-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.carte-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

  .carte-content {
    padding-right: 0;
  }

  .carte-buttons {
    justify-content: center;
  }
}
/* ========================================
   PUBLICATIONS SECTION
   ======================================== */

.publications-section {
  padding: 80px 50px;
  background: white;
  max-width: 1400px;
  margin: 0 auto;
}

.publications-section h2 {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  margin: 0 0 40px 0;
}

/* Top 5 Articles Grid Layout */
.publications-grid-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.publications-left,
.publications-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Small Article Cards (Left & Right) */
.publication-card-small {
  overflow: hidden;
  transition: box-shadow 0.45s ease-out;
}

.publication-card-small:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.publication-card-small .card-image {
  display: block;
  overflow: hidden;
}

.publication-card-small .card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.55s ease-out;
}

.publication-card-small:hover .card-image img {
  transform: scale(1.04);
}

.publication-card-small .card-content {
  padding: 20px;
}

.publication-card-small h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.publication-card-small h3 a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.publication-card-small h3 a:hover {
  color: var(--burgundy);
}

.publication-card-small .card-author {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Featured Article (Center) */
.publications-featured {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 30px;
}

.publication-card-featured {
  height: 100%;
}

.publication-card-featured .featured-image-link {
  display: block;
  overflow: hidden;
  margin-bottom: 25px;
}

.publication-card-featured img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.55s ease-out;
}

.publication-card-featured:hover img {
  transform: scale(1.04);
}

.publication-card-featured .featured-content {
  padding: 0;
}

.publication-card-featured h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 15px 0;
}

.publication-card-featured h3 a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.publication-card-featured h3 a:hover {
  color: var(--burgundy);
}

.publication-card-featured .featured-excerpt {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 15px 0;
  color: var(--text);
}

.publication-card-featured .featured-author {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--text);
}

/* Bottom 3 Text-Only Articles */
.publications-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--border);
}

.publication-card-text {
  padding: 30px;
  border-right: 1px solid var(--border);
}

.publication-card-text:last-child {
  border-right: none;
}

.publication-card-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.publication-card-text h3 a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.publication-card-text h3 a:hover {
  color: var(--burgundy);
}

.publication-card-text .card-author {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 15px 0;
}

.publication-card-text .card-excerpt {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .publications-grid-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .publications-featured {
    order: -1;
  }

  .publications-left,
  .publications-right {
    flex-direction: row;
    gap: 30px;
  }

  .publication-card-small {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .publications-grid-bottom {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .publication-card-text {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .publication-card-text:last-child {
    border-bottom: none;
  }

  .publications-left,
  .publications-right {
    flex-direction: column;
  }
}

/* ==========================================
   MOBILE FONT & LAYOUT FIXES
   ========================================== */

@media (max-width: 768px) {
  /* Large section headings scale down on mobile */
  .categories-title,
  .carte-title,
  .publications-section h2 {
    font-size: 1.85rem;
  }

  .categories-subtitle,
  .carte-subtitle {
    font-size: 1rem;
  }

  /* Section padding: replace 50px side padding with 20px on mobile */
  .services-categories-section {
    padding: 60px 20px;
  }

  .service-carte-section {
    padding: 60px 20px;
  }

  .carte-container {
    padding: 30px 20px;
  }

  .publications-section {
    padding: 60px 20px;
  }

  /* Category rows */
  .category-content {
    padding-right: 0;
  }

  /* Service icon stays readable but not overwhelming */
  .service-icon {
    font-size: 2rem;
  }

  /* Mini product placeholders */
  .mini-product-placeholder {
    font-size: 1.5rem;
  }
}
