@import url(/assets/fonts/fonts.css);

:root {
  --black: #000;
  --white: #fff;
  --red: #e30529;
  --crimson: #8d0536;
  --footer-bg: #333;
  --footer-text: #c9c9c9;
  --muted: #919191;
  --font-title: 'PT Sans Narrow', Helvetica, Arial, sans-serif;
  --font-text: 'PT Serif', Georgia, 'Times New Roman', serif;
  --container: 1080px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { color: var(--red); }

.container {
  width: 80%;
  max-width: var(--container);
  margin: 0 auto;
}

.prose a:not(.button) {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding: 0 4px;
}

.prose a:not(.button):hover {
  background: var(--red);
  border-bottom-color: var(--white);
}

.button {
  display: inline-block;
  padding: .45em 1em;
  border: 2px solid var(--crimson);
  background: var(--crimson);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
  transition: all 300ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--red);
}

.button--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--white);
  color: var(--black);
  padding: .5em 1em;
}

.hero {
  background: var(--white) url(/wp-content/uploads/2024/04/Plaidoyer-30-ans-minisite.jpg) center / cover no-repeat;
  padding: 1px 0;
}

.hero__logo {
  display: block;
  max-width: 650px;
  margin: 0 auto;
  padding: 30px 60px;
  background: rgba(255, 255, 255, .9);
}

.hero__logo img { display: block; width: 100%; }

.breadcrumb {
  background: var(--black);
  border-bottom: 1px solid #222;
  color: var(--muted);
  font-size: 14px;
  padding: 10px 0 0;
}

.breadcrumb p { margin: 0 0 6px; }

.section { padding: 54px 0; }

.section--tight { padding: 18px 0; }

.section--crimson { background: var(--crimson); }

.section--white { background: var(--white); color: #333; }

.page-title {
  font-weight: 600;
  font-size: 80px;
  text-align: center;
  margin: 0 0 .4em;
}

.lead {
  max-width: 750px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 5.5%;
}

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

.grid h3 { font-size: 23px; }

.statement {
  max-width: 750px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.photo-band {
  height: 300px;
  background: url(/wp-content/uploads/2024/04/Plaidoyer-30-ans-minisite.jpg) center 30% / cover no-repeat;
}

.closing-title {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-weight: 600;
  font-size: 64px;
  text-align: center;
  margin: 1em 0 0;
}

.home-intro {
  font-weight: 600;
  font-size: 64px;
  text-align: center;
  margin: 0;
}

.cta {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  padding: 51px 40px;
  background: var(--crimson);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 250ms ease, box-shadow 250ms ease, background-color 250ms ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/wp-content/uploads/2024/04/Banner-Expo-30-ans.png) center bottom no-repeat;
  transform-origin: center bottom;
  transition: transform 400ms ease, opacity 250ms ease;
}

.cta h2 { font-size: 40px; }

.cta p { font-size: 18px; }

.cta__button {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
  font-size: 17px;
  padding: .55em 1.3em;
  box-shadow: 0 2px 27px 8px rgba(0, 0, 0, .3);
}

.cta__arrow {
  display: inline-block;
  margin-left: .3em;
  transition: transform 250ms ease;
}

.cta:hover,
.cta:focus-visible {
  background-color: #a3063f;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

.cta:hover::before,
.cta:focus-visible::before {
  transform: scale(1.06);
  opacity: .85;
}

.cta:hover .cta__button,
.cta:focus-visible .cta__button {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.cta:hover .cta__arrow,
.cta:focus-visible .cta__arrow { transform: translateX(6px); }

.cta:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .cta, .cta::before, .cta__arrow { transition: none; }
  .cta:hover, .cta:focus-visible { transform: none; }
  .cta:hover::before, .cta:focus-visible::before { transform: none; }
  .cta:hover .cta__arrow, .cta:focus-visible .cta__arrow { transform: none; }
}

.cta-wrap {
  max-width: 600px;
  margin: 0 auto;
}

.home-text { font-size: 16px; line-height: 1.6; max-width: 800px; }

.home-text h2 { font-size: 28px; }

.home-row { margin-top: 40px; }

.chronology { max-width: 800px; }

.chronology article {
  margin-bottom: 3.5em;
  font-size: 14px;
  scroll-margin-top: 1em;
}

.chronology h2 {
  font-size: 26px;
  text-transform: uppercase;
}

.chronology h2 span {
  display: block;
  font-size: 13px;
  margin-bottom: .4em;
}

.legal { max-width: 800px; font-size: 14px; }

.legal h2 {
  font-size: 26px;
  text-transform: uppercase;
  margin-top: 1.5em;
}

.timeline-section { padding: 0; background: var(--white); }

#timeline { width: 100%; height: 700px; }

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  font-size: 14px;
  padding: 54px 0 27px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 18px;
  text-transform: uppercase;
}

.site-footer ul { margin: 0 0 1.5em; padding-left: 1.2em; }

.site-footer .button { border-width: 0; }

.site-footer__logo { max-width: 280px; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 67px;
}

.sponsors { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.sponsors img { height: 42px; width: auto; }

.site-footer__legal { margin: 0; }

.site-footer__legal a {
  color: var(--footer-text);
  text-decoration: none;
  border-bottom: 1px solid var(--footer-text);
}

.site-footer__legal a:hover { color: var(--white); border-color: var(--white); }

@media (max-width: 980px) {
  .hero__logo { padding: 30px; }
  .page-title { font-size: 46px; }
  .home-intro, .closing-title { font-size: 40px; }
  .lead { font-size: 18px; }
  .grid--2-3, .grid--3-2, .grid--3, .grid--2 { grid-template-columns: 1fr; gap: 30px; }
  .site-footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 767px) {
  .hero__logo { padding: 32px 20px; }
  .page-title { font-size: 41px; }
  .home-intro, .closing-title { font-size: 34px; }
  .lead { font-size: 16px; }
  .cta { padding: 40px 20px 90px; }
  .cta h2 { font-size: 32px; }
  #timeline { height: 600px; }
}
