* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif; line-height: 1.6;
    font-size: 16px;
}

.container {
    text-align: center;
    max-width: 1040px; margin: 0 auto;
    padding: 30px;
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
}

.header h1 {
    text-transform: uppercase;
    font-size: 1rem; font-weight: 700;
}
h2.h1	{
    text-transform: uppercase;
    font-size: 2rem; font-weight: 700;
	padding: 20px 0 40px 0;
}

.logo img {
    width: 400px; max-width: 100%;
    height: auto; object-fit: contain;
    margin-bottom: 40px;
}

.download-links p {
    text-transform: uppercase;
    margin-bottom: 30px; font-weight: 700;
}

.icons img {
    max-height: 35px; object-fit: contain;
    height: 100%; width: auto; transition: all 0.3s ease;
}

.icons a:hover img {
    transform: scale(1.1);
}

.contact-info p {
    text-transform: uppercase;
    margin-bottom: 20px; font-weight: 700;
}

address {
    font-style: normal; font-size: 14px; line-height: 1.3;
    margin-bottom: 10px;
}

.social-media img {
    width: 30px; height: auto; display: block; margin: 0 auto; transition: all 0.3s ease;
}

.social-media img:hover {
    transform: scale(1.1);
}

hr {
    margin: 40px 0;
}

hr.small {
    margin: 60px auto;
}

.icons {
    display: flex; align-items: center; justify-content: center; column-gap: 60px; flex-wrap: wrap; row-gap: 30px;
}

.block {
    display: block;
}

.text-center {
    text-align: center;
}

footer {
    font-size: 14px;
    max-width: 450px; margin: 0 auto; line-height: 1.3;
}

footer a, .book__box .icons a {
    color: #000; font-weight: 700;
    text-decoration: underline; text-decoration-color: transparent; transition: all 0.3s ease;
}

footer a:hover, .book__box .icons a:hover {
    color: #000; text-decoration-color: #3c347d;
}

.audio__letter {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 0 20px 0;
}

.audio__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.letter_img__wrapper {
  position: relative;
  display: block;
}

.audio__letter .letter_img__wrapper img {
  width: 300px;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.8);
  clip-path: polygon(30% 20%, 30% 80%, 80% 50%);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.letter_img__wrapper:hover .play-button {
  background: rgba(255, 255, 255, 1);
}

.audio__item p {
  margin-top: 10px;
  text-align: center;
}


.letter_img__wrapper:hover .play-button {
  background: rgba(255, 255, 255, 1);
}

.book__wrapper {
    max-width: 650px; width: 100%; margin: 0 auto 40px;
    display: grid; grid-template-columns: 1fr minmax(250px, 43%); column-gap: 30px;
}

.book__box {
    background-color: #F3F3F3; padding: 30px; width: fit-content;
    margin: 0 auto 40px;
}

.book__box .icons a {
    display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center;
    background: #fff;
    padding: 15px 20px;
    line-height: 1;
    border-radius: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.15);
}

.book__wrapper img {
    max-width: 100%;
}

.full__book img {
    display: block;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

.iframe__wrapper {
    display: block; position: relative; width: 100%; height: 100%; overflow: hidden;
}

.iframe__wrapper::after, .audio__book .img__wrapper::after {
    content: ''; width: 0; height: 0; border-top: 20px solid transparent; border-bottom: 20px solid transparent;
    position: absolute; top: 0; right: 0; left: 10px; bottom: 0; margin: auto; z-index: 666; border-left: 30px solid #fff;
    transition: all 0.3s ease;
}

.iframe__wrapper:hover::after, .audio__book .img__wrapper:hover::after {
    transform: scale(1.1);
}

.ratio-video {
	width: 100%; height: 0; padding-bottom: 56.25%; margin: auto;
    position: relative; overflow: hidden;
}

.book__info {
    display: flex; flex-direction: column; gap: 12px; justify-content: space-between;
}

.ratio-video img{
    min-height: 100%; height: auto;
    width: 100%;
    position: absolute; top: 0; left: 0;
}

.book__box p {
    text-transform: uppercase; text-align: left;
    margin-top: 5px; font-weight: 700; font-size: 14px;
}

.book__box .icons p {
    margin-top: 0;
}

.book__box p.icons__title {
    text-align: center; margin-bottom: 20px; font-size: 1rem;
}

.audio__book .img__wrapper {
    position: relative;
    width: 100%;
    max-width: 100%; /* Ajustez selon vos besoins */
    padding-bottom: 100%; /* 100% de la largeur pour créer un carré */
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.audio__book .img {
    min-width: 115px; width: 100%; height: 100%;
}

.audio__book img {
    width: 100%; height: 100%; position: absolute; top: 0; left: 0;
}

.audio__book p {
    margin: 0;
}

.audio__book {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}

@media (max-width: 1024px) {
    .logo img{
        width: 300px;
    }

    .icons img {
        max-height: 30px;
    }

    hr {
        margin: 30px 0;
    }

    hr.small {
        margin: 50px auto;
    }

    footer {
        font-size: 12px;
    }

    address {
        font-size: 12px;
    }

    body {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .book__wrapper {
        grid-template-columns: 1fr; max-width: 100%; align-items: center; gap: 20px;
        max-width: 300px;
    }

    .book__box {
        padding: 40px;
    }

    .audio__book {
        flex-direction: column; gap: 5px;
    }

    .book__wrapper p {
        text-align: center;
    }

    .book__info {
        align-items: center; gap: 20px;
    }

    .video__wrapper {
        width: 100%;
    }
}