/**
 * CSS pour les pages SEO - L'Italien
 * Design full black premium avec DA cohérente
 */

/* Reset et base */
body.seo-page {
  background: #07090b;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Libre Franklin', sans-serif;
  line-height: 1.6;
}

/* Container principal */
.seo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar ajustements pour pages SEO */
.seo-page .navbar-no-shadow-container {
  background: #000;
  border-bottom: 1px solid #1a1a1a;
}

.seo-page .nav-link {
  color: #e0e0e0 !important;
}

.seo-page .nav-link:hover {
  color: #cfa66f !important;
}

/* Hero sections - Premium design */
.seo-hero {
  background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(207,166,111,0.1) 100%);
  padding: 140px 20px 100px;
  text-align: center;
  color: #fff;
  border-bottom: 3px solid #cfa66f;
  position: relative;
  overflow: hidden;
}

.seo-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(207,166,111,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.seo-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.8);
  letter-spacing: -1px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.seo-hero .seo-intro,
.seo-hero p {
  font-size: 1.3rem;
  color: #d0d0d0;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Content sections */
.seo-content {
  background: #07090b;
  color: #d0d0d0;
  padding: 80px 0;
}

.seo-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.seo-section h2 {
  color: #cfa66f;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  border-bottom: 3px solid #cfa66f;
  padding-bottom: 15px;
  letter-spacing: -0.5px;
}

.seo-section h3 {
  color: #e0e0e0;
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 20px;
}

.seo-section p {
  color: #b0b0b0;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.seo-section strong {
  color: #e0e0e0;
  font-weight: 600;
}

.seo-section a {
  color: #cfa66f;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.seo-section a:hover {
  color: #d4b278;
  text-decoration: underline;
}

/* Lists */
.seo-list,
.seo-section ul,
.seo-section ol {
  color: #b0b0b0;
  line-height: 2;
  font-size: 1.05rem;
  margin: 25px 0;
  padding-left: 25px;
}

.seo-list li,
.seo-section li {
  margin-bottom: 12px;
  padding-left: 10px;
}

.seo-section ul li::marker {
  color: #cfa66f;
  font-size: 1.2rem;
}

.seo-section ol li::marker {
  color: #cfa66f;
  font-weight: 700;
}

/* Card Grid System */
.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.seo-card {
  background: #0e0e0e;
  border: 2px solid #1a1a1a;
  border-radius: 12px;
  padding: 35px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.seo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #cfa66f 0%, #b89358 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.seo-card:hover::before {
  transform: scaleX(1);
}

.seo-card:hover {
  border-color: #cfa66f;
  box-shadow: 0 10px 40px rgba(207,166,111,0.3);
  transform: translateY(-5px);
  background: #121212;
}

.seo-card h3 {
  color: #cfa66f;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.seo-card p {
  color: #b0b0b0;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

/* Link Cards */
.seo-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.seo-link-card {
  background: #0e0e0e;
  border: 2px solid #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.seo-link-card:hover {
  border-color: #cfa66f;
  box-shadow: 0 8px 25px rgba(207,166,111,0.25);
  transform: translateY(-3px);
}

.seo-link-card h3 {
  color: #cfa66f;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.seo-link-card p {
  color: #999;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* FAQ Section */
.seo-faq {
  background: #0e0e0e;
  border: 1px solid #1a1a1a;
  border-left: 4px solid #cfa66f;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.seo-faq:hover {
  border-left-width: 6px;
  box-shadow: 0 5px 20px rgba(207,166,111,0.15);
}

.seo-faq h3 {
  color: #cfa66f;
  font-size: 1.3rem;
  margin: 0 0 15px 0;
  font-weight: 600;
}

.seo-faq p {
  color: #b0b0b0;
  line-height: 1.8;
  margin: 0;
  font-size: 1.05rem;
}

/* Highlight boxes */
.seo-highlight {
  background: linear-gradient(135deg, #1a1a1a 0%, #0e0e0e 100%);
  border-left: 5px solid #cfa66f;
  padding: 35px;
  border-radius: 10px;
  margin: 50px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.seo-highlight h3 {
  color: #cfa66f;
  margin-top: 0;
  font-size: 1.6rem;
}

.seo-highlight p {
  color: #c0c0c0;
  line-height: 1.9;
}

/* CTA boxes - Full black premium design */
.seo-cta {
  background: linear-gradient(135deg, rgba(207,166,111,0.12) 0%, rgba(207,166,111,0.05) 50%, transparent 100%);
  color: #e0e0e0;
  padding: 60px 40px;
  border-radius: 20px;
  border: 2px solid rgba(207,166,111,0.4);
  text-align: center;
  margin: 60px 0;
  box-shadow: 0 15px 50px rgba(207,166,111,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.seo-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(207,166,111,0.08) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.seo-cta h2 {
  color: #d4af7a !important;
  margin-bottom: 25px;
  font-size: 2.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.seo-cta p {
  color: #e0e0e0 !important;
  font-size: 1.2rem;
  margin-bottom: 35px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.seo-cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #cfa66f 0%, #b89358 100%);
  color: #1a1a1a;
  padding: 18px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(207,166,111,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seo-cta-button:hover {
  background: linear-gradient(135deg, #d4b278 0%, #c9a764 100%);
  color: #000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(207,166,111,0.6), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Breadcrumb ajustements */
.seo-page .breadcrumb {
  background: transparent;
  padding: 20px 0;
}

.seo-page .breadcrumb-item a {
  color: #cfa66f;
  text-decoration: none;
  transition: color 0.3s;
}

.seo-page .breadcrumb-item a:hover {
  color: #d4b278;
}

.seo-page .breadcrumb-item.active {
  color: #999;
}

/* Footer unifié */
.seo-footer {
  background: #000;
  color: #999;
  padding: 80px 20px 40px;
  border-top: 3px solid #1a1a1a;
  margin-top: 80px;
}

.seo-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

.seo-footer-col h4 {
  color: #cfa66f;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.seo-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-footer-col ul li {
  margin-bottom: 14px;
}

.seo-footer-col a {
  color: #999;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
}

.seo-footer-col a:hover {
  color: #cfa66f;
  transform: translateX(5px);
}

.seo-footer-col p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 10px 0;
}

.seo-footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.seo-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #1a1a1a;
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translateX(0) !important;
}

.seo-footer-social a:hover {
  background: #cfa66f;
  transform: translateY(-5px) !important;
  box-shadow: 0 5px 20px rgba(207,166,111,0.3);
}

.seo-footer-social img {
  width: 22px;
  height: 22px;
  filter: brightness(0.8);
}

.seo-footer-social a:hover img {
  filter: brightness(1);
}

.seo-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 35px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.seo-footer-bottom p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

.seo-footer-bottom a {
  color: #999;
  margin: 0 12px;
  text-decoration: none;
  transition: color 0.3s;
}

.seo-footer-bottom a:hover {
  color: #cfa66f;
}

/* Responsive Design */
@media (max-width: 968px) {
  .seo-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .seo-hero h1 {
    font-size: 2.5rem;
  }

  .seo-hero {
    padding: 100px 20px 70px;
  }

  .seo-section h2 {
    font-size: 1.9rem;
  }

  .seo-card-grid {
    grid-template-columns: 1fr;
  }

  .seo-content {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .seo-footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .seo-hero {
    padding: 80px 15px 60px;
  }

  .seo-hero h1 {
    font-size: 2rem;
  }

  .seo-hero p {
    font-size: 1.1rem;
  }

  .seo-section {
    padding: 0 15px;
  }

  .seo-section h2 {
    font-size: 1.6rem;
  }

  .seo-card {
    padding: 25px;
  }

  .seo-cta {
    padding: 40px 25px;
  }

  .seo-cta h2 {
    font-size: 1.8rem;
  }

  .seo-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .seo-links-grid,
  .seo-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Amélioration lisibilité et UX */
.seo-page ::selection {
  background: #cfa66f;
  color: #000;
}

.seo-page ::-moz-selection {
  background: #cfa66f;
  color: #000;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus states pour accessibilité */
.seo-page a:focus,
.seo-page button:focus {
  outline: 2px solid #cfa66f;
  outline-offset: 3px;
}

/* Animation au scroll */
@media (prefers-reduced-motion: no-preference) {
  .seo-card,
  .seo-link-card,
  .seo-faq {
    animation: fadeInUp 0.6s ease-out;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
