/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === TYPOGRAPHIE === */
h1, h2, h3 { font-weight: 900; letter-spacing: -0.5px; }
.highlight-gold { color: #fbbf24; }
.section-heading { font-size: 2.5rem; text-align: center; margin: 3rem 0 2rem; color: #fbbf24; }
@media (max-width: 768px) { .section-heading { font-size: 1.8rem; } }

/* === ALERT LÉGALE === */
.legal-alert {
  background: #dc2626;
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}
.legal-alert__msg { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(135deg, rgb(30, 41, 59, 0.5) 0%, #0f172a 100%), url(../img/hero-bg.webp) center / cover no-repeat;
  padding: 4rem 1rem;
  text-align: center;
  border-bottom: 3px solid #fbbf24;
}
.hero-title {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
@media (max-width: 768px) { .hero-title { font-size: 2.2rem; } }
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0.9;
}

/* === CARTES AVANTAGES === */
.key-benefits {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.benefit-card {
  background: #1e293b;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #334155;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  background: #334155;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}
.benefit-icon { font-size: 1.5rem; }

/* === BOUTON CTA === */
.cta-primary, .btn-bet-now {
  display: inline-block;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  color: #0f172a;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
  transition: all 0.3s ease;
  text-decoration: auto;
}
.cta-primary:hover, .btn-bet-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
}

/* === CLASSEMENT === */
.ranking-section {
  padding: 3rem 1rem;
  background: #1e293b;
}
.ranking-section__container { max-width: 1200px; margin: 0 auto; }

.bookmaker-card {
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr ;
  gap: 1rem;
  align-items: center;
  transition: all 0.3s ease;
}
.bookmaker-card--featured {
  border-color: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}
.bookmaker-card--featured:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.rank-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: #dc2626;
  color: white;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bookmaker-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.bookmaker-logo {
  height: auto;
}
.rating-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rating-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fbbf24;
}
.stars-img {
  width: 80px;
  height: auto;
}

.bookmaker-details {
  font-size: 0.95rem;
}
.bookmaker-tagline {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fbbf24;
}
.features-list {
  list-style: none;
  font-size: 0.9rem;
}
.features-list li {
  margin: 0.4rem 0;
}

.bookmaker-action {
  text-align: center;
}
.payment-methods {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}
.payment-methods img {
 height: fit-content;
 width: 60px;
}

/* === FAQ === */
.faq-section {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #1e293b;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #334155;
}
.faq-question {
  background: #334155;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-answer {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  background: #0f172a;
  padding: 3rem 1rem 2rem;
  border-top: 3px solid #334155;
  margin-top: auto;
}
.footer-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-links a {
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-links a:hover { color: #fbbf24; }

.footer-disclaimer {
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.footer-disclaimer a { color: #fbbf24; }

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-badges img {
  height: 60px;
  filter: brightness(1.1);
}

.copyright {
  font-size: 0.8rem;
  color: #64748b;
}

/* === COOKIE BANNER === */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  padding: 1rem;
  border-top: 2px solid #fbbf24;
  font-size: 0.9rem;
  text-align: center;
  z-index: 1000;
}
.cookie-actions {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.cookie-actions button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-actions button:first-child {
  background: #fbbf24;
  color: #0f172a;
}
.cookie-actions button:last-child {
  background: #334155;
  color: #e2e8f0;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .bookmaker-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .rank-badge { left: 50%; transform: translateX(-50%); }
  .bookmaker-action { margin-top: 1rem; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .key-benefits { flex-direction: column; align-items: center; }
  .benefit-card { width: 100%; max-width: 300px; }
}


.terms-page {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.page-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #fbbf24;
  font-weight: 900;
}
@media (max-width: 768px) {
  .page-title { font-size: 2rem; }
}
.page-intro {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #cbd5e1;
  font-weight: 300;
}

.terms-block {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #334155;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.terms-block:hover {
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.terms-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 1rem;
}
.terms-text {
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
  line-height: 1.7;
}
.terms-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}
.terms-list li {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}
.terms-list li::marker {
  color: #fbbf24;
}

.highlight-responsible {
  background: linear-gradient(135deg, #1e3a8a, #1e293b);
  border: 2px solid #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}
.hotline-link {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: underline;
}
.hotline-link:hover {
  color: #fcd34d;
}


/* === PRIVACY PAGE === */
.privacy-page, .responsible-page { padding: 3rem 1rem; max-width: 900px; margin: 0 auto; }
.privacy-heading, .responsible-heading { font-size: 1.4rem; color: #fbbf24; margin: 1.5rem 0 1rem; font-weight: 700; }
.privacy-text, .responsible-text { margin-bottom: 0.75rem; line-height: 1.7; }
.privacy-list, .responsible-list { padding-left: 1.5rem; margin: 1rem 0; list-style: disc; }
.privacy-list li, .responsible-list li { margin-bottom: 0.5rem; color: #cbd5e1; }
.privacy-list li::marker, .responsible-list li::marker { color: #fbbf24; }

.highlight-gdpr, .highlight-help, .warning {
  background: linear-gradient(135deg, #1e3a8a, #1e293b);
  border: 2px solid #fbbf24;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}
.warning { border-color: #dc2626; }
.contact-link, .hotline a { color: #fbbf24; font-weight: 700; text-decoration: underline; }
.hotline { font-size: 2rem; font-weight: 900; text-align: center; margin: 1rem 0; }
.hotline a { color: #dc2626; }

/* === RESPONSIBLE TOOLS GRID === */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tool-card {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #334155;
  transition: all 0.3s ease;
}
.tool-card:hover {
  border-color: #fbbf24;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}
.tool-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}
.tool-card h3 {
  font-size: 1.1rem;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

/* === MENTIONS LÉGALES === */
.legal-page {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.legal-heading {
  font-size: 1.4rem;
  color: #fbbf24;
  margin: 1.5rem 0 1rem;
  font-weight: 700;
}
.legal-text {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-size: 0.98rem;
}
.legal-text a {
  color: #fbbf24;
  text-decoration: underline;
}
.legal-text a:hover {
  color: #fcd34d;
}

.highlight-contact {
  background: linear-gradient(135deg, #1e3a8a, #1e293b);
  border: 2px solid #fbbf24;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}
.contact-link, .hotline-link {
  color: #fbbf24;
  font-weight: 700;
}
.hotline-link {
  font-size: 1.3rem;
  color: #dc2626;
}