/* En-tête vert de la page L'atelier */

.atelier-tete {
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background: var(--vert-800);
    color: var(--creme-logo);
}

.atelier-tete__grille {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
}

.atelier-tete h1 {
    max-width: 17ch;
    font-size: var(--t-4xl);
    line-height: 1.1;
    color: #FFFFFF;
}

.atelier-tete__logo {
    flex-shrink: 0;
    width: clamp(12rem, 26vw, 20rem);
    height: auto;
}

/* Les 3 raisons */

.raisons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    counter-reset: raison;
}

.raison {
    position: relative;
    padding-top: var(--e-2);
}

.raison__numero {
    display: block;
    margin-bottom: var(--e-2);
    font-family: var(--police-main);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--vert-400);
}

.raison h3 {
    margin-bottom: var(--e-3);
}

.raison p {
    color: var(--encre-doux);
}

/* Ma technique de travail */

.technique {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.technique h2 {
    margin-bottom: var(--e-5);
}

.technique .prose {
    max-width: 60ch;
    font-size: var(--t-md);
    color: var(--encre-doux);
}

.technique__cote {
    display: grid;
    gap: var(--e-6);
    justify-items: center;
}

.technique__photo {
    width: min(100%, 22rem);
    transform: rotate(-2deg);
}

.technique__photo img {
    aspect-ratio: 4 / 3;
}

.technique__photo[hidden] {
    display: none;
}

/* Petite note manuscrite, comme un papier posé sur l'établi */
.note-papier {
    justify-self: center;
    max-width: 21rem;
    padding: 1.6rem 1.7rem 1.4rem;
    background: #FFFDF6;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(29, 52, 35, 0.08), 0 16px 30px -18px rgba(29, 52, 35, 0.5);
    transform: rotate(2.2deg);
    font-family: var(--police-main);
    font-size: 1.45rem;
    line-height: 1.35;
    color: #3E4A41; /* le papier reste clair dans les deux thèmes : encre foncée fixe */
}

.note-papier strong {
    font-weight: 400;
    color: #2E573B;
}

/* Produits utilisés */

.produits {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.produits h2 {
    margin-bottom: var(--e-5);
}

.produits p {
    max-width: 56ch;
    font-size: var(--t-md);
    color: var(--encre-doux);
}

.produits p.produits__note {
    margin-top: var(--e-4);
    font-size: var(--t-sm);
    color: var(--gris);
}

.pastilles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.75rem);
}

/* Pastilles rondes, dans l'esprit du logo */
.pastille {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 9.5rem;
    height: 9.5rem;
    border-radius: 50%;
    background: var(--remplissage);
    color: var(--creme-logo);
    box-shadow: inset 0 0 0 5px var(--remplissage), inset 0 0 0 6.5px rgba(251, 235, 211, 0.45);
    text-align: center;
}

.pastille span {
    font-family: var(--police-titre);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vert-300);
}

.pastille strong {
    font-family: var(--police-titre);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
}

/* Questions fréquentes */

.questions {
    border-top: 1px solid var(--trait-fort);
}

.question {
    border-bottom: 1px solid var(--trait-fort);
}

.question summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--e-4);
    padding: 1.15rem 0;
    font-family: var(--police-titre);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--texte-fort);
    cursor: pointer;
    list-style: none;
}

.question summary::-webkit-details-marker {
    display: none;
}

.question summary::after {
    content: "+";
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1.5px solid var(--trait-fort);
    border-radius: 50%;
    font-family: var(--police-texte);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--texte-vert);
    transition: transform var(--duree-2) var(--sortie), background var(--duree-2);
}

.question[open] summary::after {
    transform: rotate(45deg);
    border-color: var(--remplissage);
    background: var(--remplissage);
    color: var(--creme-logo);
}

.question summary:hover {
    color: var(--texte-vert);
}

.question__reponse {
    padding-bottom: 1.4rem;
    max-width: 62ch;
    color: var(--encre-doux);
}

.forfaits {
    width: 100%;
    max-width: 30rem;
    margin-top: var(--e-4);
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--trait);
}

.forfaits caption {
    padding-bottom: 0.5rem;
    font-weight: 700;
    text-align: left;
    color: var(--encre);
}

.forfaits th,
.forfaits td {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--trait);
    text-align: left;
}

.forfaits thead th {
    background: var(--teinte-beige-2);
    font-size: var(--t-xs);
    color: var(--gris);
}

.forfaits tbody tr:last-child th,
.forfaits tbody tr:last-child td {
    border-bottom: 0;
}

.forfaits tbody th {
    font-weight: 400;
}

.forfaits td {
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
    color: var(--texte-fort);
}

.forfaits thead th:last-child {
    text-align: right;
}

@media (max-width: 900px) {
    .raisons,
    .technique,
    .produits {
        grid-template-columns: 1fr;
    }

    .atelier-tete__logo {
        width: 11rem;
    }
}

@media (max-width: 560px) {
    .atelier-tete__grille {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .pastille {
        width: 8rem;
        height: 8rem;
    }
}
