@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

/*
Theme Name: Jusqu'au Boutiste
Author: Benjamin
Description: Thème personnalisé pour Stephan Boschat
Version: 1.0
*/

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  color: #111;
  background-color: #fff;
}

a {
  color: #3598f9;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffa320;
}

strong {
  font-weight: 800;
}

.section {
  padding: 4em 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-blue-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #3598f9;
  color: #fff;
}

.section-white {
  background-color: #ffffff;
  color: #111;
}

h1 {
  text-transform: uppercase;
  color: #3598f9;
  font-size: 3.4em;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2.8em;
  font-weight: 800;
  margin-bottom: 1em;
  text-transform: uppercase;
  color: #3598f9;
  line-height: 1.2;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3em;
}

.intro-text {
  flex: 1 1 400px;
  max-width: 600px;
}

.intro-text p {
  font-size: 1.1em;
  color: #444;
}

.portrait {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.portrait img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.credit {
  font-size: 0.8em;
  color: #999;
  margin-top: 0.5em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2em;
}

.grid-item {
  background: #ffffff10;
  padding: 2em;
  border-radius: 12px;
  text-align: center;
}

.section-white .grid-item {
  background: #f9f9f9;
}

.disc-placeholder {
  width: 64px;
  height: 64px;
  margin: 0 auto 1em;
  border-radius: 50%;
}

.section-blue-wrapper .disc-placeholder {
  background-color: #accfff;
}

.section-white .disc-placeholder {
  background-color: #cde3ff;
}
