
:root {
  --navy: #0b1f3a;
  --navy-light: #13305c;
  --gold: #c9a227;
  --gold-light: #e0c35c;
  --white: #ffffff;
  --off-white: #f6f5f1;
  --text: #1a1a1a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}

header {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-area img {
  height: 56px;
  width: auto;
}

.logo-area .site-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  display: block;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover, nav a.active {
  background: var(--gold);
  color: var(--navy);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 20px 90px;
  margin-bottom: -40px;
}

.hero img.hero-photo {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 30px;
  border: 3px solid var(--gold);
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  color: var(--white);
}

.hero p.subtitle {
  font-size: 1.25rem;
  color: var(--gold-light);
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.05rem;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.intro-block {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(11,31,58,0.1);
  padding: 40px;
  margin: 0 auto 50px;
  max-width: 900px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.intro-block p {
  font-size: 1.1rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px 0;
}

.highlight-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 22px;
  text-align: center;
  border-top: 4px solid var(--gold);
  box-shadow: 0 2px 10px rgba(11,31,58,0.08);
}

.highlight-card h3 {
  color: var(--navy);
  margin-top: 0;
}

section {
  margin: 50px 0;
}

h1, h2, h3 {
  color: var(--navy);
}

.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  color: var(--white);
  margin: 0;
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(11,31,58,0.08);
  margin-bottom: 30px;
}

ul.key-points li {
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px;
  text-align: left;
}

table td {
  padding: 12px;
  border-bottom: 1px solid #e5e5e5;
}

table tr:nth-child(even) {
  background: var(--off-white);
}

.placeholder-table {
  color: #777;
  font-style: italic;
  text-align: center;
  padding: 30px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  background: var(--white);
}

iframe.form-embed {
  width: 100%;
  min-height: 900px;
  border: none;
  border-radius: 8px;
}

.sponsor-contact {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.sponsor-contact a {
  color: var(--gold-light);
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.sponsor-logos .slot {
  width: 160px;
  height: 100px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
  text-align: center;
  background: var(--white);
}

footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  border-top: 3px solid var(--gold);
}

footer a { color: var(--gold-light); }

@media (max-width: 800px) {
  .highlights { grid-template-columns: 1fr; }
  .nav-wrap { flex-direction: column; align-items: flex-start; }
  nav ul { gap: 0; }
}

.kicker {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 10px;
}

.intro-block .phone {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
}

.intro-block .phone a {
  color: var(--navy);
  text-decoration: none;
}

.example-note { margin: 0; color: var(--navy); }
.legend { font-size: 0.85rem; color: #555; margin-top: 10px; }
.card h4 { color: var(--navy); margin: 28px 0 8px; border-left: 4px solid var(--gold); padding-left: 10px; }
.match-table { max-width: 560px; }
.match-table td { width: 40%; }
.match-table td.score { width: 20%; text-align: center; font-weight: 700; color: var(--navy); }
.match-table td.win { color: #8a6d0b; font-weight: 700; }
.standings td, .standings th { text-align: center; }
.standings td:nth-child(2), .standings th:nth-child(2) { text-align: left; }
.standings tr:first-child td { background: #fbf3d3; }
@media (max-width: 800px) { .standings td, .standings th { padding: 8px 4px; font-size: 0.85rem; } }

.hero img.hero-logo { width: 280px; max-width: 70%; height: auto; margin-bottom: 20px; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4)); }
.contact-form label { display: block; font-weight: 600; color: var(--navy); margin: 16px 0 6px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { border: 0; cursor: pointer; margin-top: 22px; }
.contact-form .btn:disabled { opacity: 0.6; cursor: wait; }
#form-status { margin-top: 14px; font-weight: 600; }
#form-status.ok { color: #1b7a3a; }
#form-status.error { color: #b3261e; }

.page-photo { max-width: 1100px; margin: 50px auto 0; padding: 0 20px; text-align: center; }
.page-photo img { display: block; margin: 0 auto; width: 100%; max-width: 480px; border-radius: 10px; border: 3px solid var(--gold); box-shadow: 0 4px 20px rgba(11,31,58,0.2); }

a.logo-area { text-decoration: none; cursor: pointer; transition: opacity 0.2s; }
a.logo-area:hover { opacity: 0.85; }

.hl { font-weight: 700; }
.hero .hl, footer .hl, .sponsor-contact .hl { color: #fff; }

.rules ol { padding-left: 1.4em; }
.rules ol li { margin-bottom: 14px; }
.rules .note { display: block; margin-top: 6px; font-size: 0.9rem; color: #555; }

.rules-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rules-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--off-white); border-left: 4px solid var(--gold); border-radius: 8px; padding: 14px 16px; margin: 0; }
.rules-list .icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; line-height: 1; }
.rules-list strong { color: var(--navy); font-size: 1.05rem; }
.rules-list p { margin: 4px 0 0; font-size: 0.95rem; }
@media (max-width: 800px) { .rules-list { grid-template-columns: 1fr; } }

/* Crédit de réalisation présent sur toutes les pages */
footer .site-credit {
  margin: 22px auto 0;
  padding: 16px 12px 0;
  max-width: 720px;
  border-top: 1px solid rgba(255,255,255,.23);
  font-size: .96rem;
  color: #f2f3f7;
  font-weight: 500;
}
footer .site-credit a {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
footer .site-credit a:hover, footer .site-credit a:focus-visible {
  color: #fff;
}
footer .site-credit .credit-domain { font-weight: 600; }
@media (max-width: 600px) {
  footer .site-credit { font-size: .88rem; line-height: 1.65; }
}
