/* ==========================================================================
   La Meute — feuille de style unique du site (sans framework ni JavaScript)
   ========================================================================== */

/* --- Couleurs ------------------------------------------------------------ */
:root {
  --rose: #e32879;
  --noir: #191919;
  --gris-fonce: #222222;
  --gris-bouton: #303030;
  --gris-texte: #b3b3b3;
  --titre: #111111;
  --lien: #007bff;
  --blanc: #ffffff;
}

/* --- Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: "Libre Franklin", sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}

body {
  height: 100%;
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

h2,
h4,
h5 {
  margin: 0;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--titre);
}

h2 { font-size: 36px; }
h4 { font-size: 24px; }
h5 { font-size: 18px; }

p {
  margin: 0 0 15px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--gris-texte);
}

b { font-weight: bolder; }

a {
  color: var(--lien);
  text-decoration: none;
  background-color: transparent;
}

a:hover,
a:focus {
  color: var(--blanc);
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

table { border-collapse: collapse; }
th { text-align: inherit; }

/* Formulaires (formulaire Brevo de la page inscription) */
label {
  display: inline-block;
  margin-bottom: .5rem;
}

button,
input,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input { overflow: visible; }

button {
  text-transform: none;
  border-radius: 0;
  -webkit-appearance: button;
  appearance: button;
}

button:not(:disabled) { cursor: pointer; }

textarea {
  overflow: auto;
  resize: vertical;
}

input:focus,
button:focus,
textarea:focus { outline: none; }

/* --- Mise en page ---------------------------------------------------------- */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }

/* Colonne de contenu centrée (10/12 de la largeur à partir de 992px). */
.narrow {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 992px) {
  .narrow { max-width: calc(83.333333% - 5px); }
}

/* Image de fond plein cadre */
.hero,
.page-hero,
.cta {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

/* --- En-tête --------------------------------------------------------------- */
.site-header { background: var(--noir); }

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.site-header__logo,
.site-header__aside,
.site-header__tournoi {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.site-header__tournoi { margin-left: auto; }

@media (min-width: 768px) {
  .site-header__logo,
  .site-header__tournoi {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .site-header__aside {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
}

.logo { padding: 24px 0 30px; }
.logo a { display: inline-block; }

.logo-tournoi {
  display: flex;
  justify-content: flex-end;
  padding: 15px 0 20px;
}

/* --- Bouton ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 12px 30px 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blanc);
  background: var(--rose);
}

.btn--blanc,
.btn--blanc:hover,
.btn--blanc:focus {
  color: var(--rose);
  background: var(--blanc);
}

/* --- Accueil : grand bandeau ----------------------------------------------- */
.hero {
  display: flex;
  align-items: center;
  height: 800px;
  background-image: url(../img/hero-bg.jpg);
}

.hero__row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.hero__text,
.hero__logo {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.hero__logo { display: none; }

@media (min-width: 992px) {
  .hero__text {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .hero__logo {
    display: block;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    margin-left: 16.666667%;
  }
}

.hero__text span {
  font-size: 16px;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
}

.hero__text h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 60px;
  font-weight: 700;
  color: var(--blanc);
}

.hero__text p {
  margin-bottom: 45px;
  color: var(--blanc);
}

/* --- Pages intérieures : bandeau titre ------------------------------------- */
.page-hero {
  padding-top: 130px;
  padding-bottom: 120px;
  background-image: url(../img/hero-bg-original.jpg);
}

.page-hero__text {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

@media (min-width: 992px) {
  .page-hero__text { max-width: calc(75% - 7.5px); }
}

.page-hero__text span {
  padding: 5px 26px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blanc);
  text-transform: uppercase;
  background: var(--rose);
}

.page-hero__text h2 {
  margin-top: 34px;
  margin-bottom: 16px;
  font-size: 60px;
  font-weight: 700;
  line-height: 72px;
  color: var(--blanc);
}

@media (max-width: 767px) {
  .page-hero__text h2 {
    font-size: 40px;
    line-height: normal;
  }
}

@media (max-width: 479px) {
  .page-hero__text h2 { font-size: 36px; }
}

/* --- Contenu --------------------------------------------------------------- */
.content {
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--gris-fonce);
}

.intro { margin-bottom: 65px; }

.intro p {
  font-size: 17px;
  line-height: 30px;
}

.article { margin-bottom: 62px; }
.article__block { margin-bottom: 32px; }

.article__block h4 {
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--blanc);
}

.article__block p {
  font-size: 17px;
  line-height: 30px;
}

.article__title { color: var(--blanc); }

/* Tableaux de compositions */
.roles {
  width: 100%;
}

.roles th,
.roles td {
  color: var(--blanc);
  border: 1px solid var(--blanc);
}

.roles th:first-child,
.roles td:first-child,
.roles th:last-child,
.roles td:last-child {
  text-align: center;
}

.roles th:nth-child(1) { width: 20%; }
.roles th:nth-child(2) { width: 75%; }
.roles th:nth-child(3) { width: 5%; }

/* --- Appel à l'action (fond rose) ------------------------------------------ */
.cta {
  padding: 80px 0;
  background-image: url(../img/ctc-bg.jpg);
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 45px;
  font-weight: 700;
  color: var(--blanc);
}

.cta p {
  margin-bottom: 45px;
  color: var(--blanc);
}

.cta__action { margin-bottom: 30px; }

/* --- Pied de page ---------------------------------------------------------- */
.site-footer {
  padding-top: 80px;
  padding-bottom: 50px;
  background: var(--noir);
}

.social {
  margin-bottom: 30px;
  text-align: center;
}

@media (min-width: 992px) {
  .social { padding-left: 35px; }
}

.social h5 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--blanc);
}

.social__links { margin-bottom: 30px; }

.social__links a {
  display: inline-block;
  width: 41px;
  height: 41px;
  margin-right: 3px;
  font-size: 16px;
  line-height: 41px;
  color: var(--blanc);
  text-align: center;
  background: var(--gris-bouton);
  border-radius: 50%;
  transition: all .3s;
}

.social__links a:hover { background: var(--rose); }

.copyright {
  padding-top: 25px;
  font-size: 14px;
  color: var(--gris-texte);
  text-align: center;
}

/* --- Icônes (SVG en ligne, tracés Font Awesome 4.7 — licence SIL OFL 1.1) */
.icon {
  display: inline-block;
  height: 1em;
  overflow: visible;
  vertical-align: -.142857em;
  fill: currentColor;
}
