v1

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #111;
    background: #f5f5f5;
    line-height: 1.4;
}

main {
    flex: 1;
}

section {
    padding: 110px 24px;
}

/* ---------------- HEADER ---------------- */

header {
    text-align: center;
    padding: 36px 24px 18px;
}

header a {
    display: inline-block;
}

#logo {
    width: min(380px, 78vw);
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
    background-color: white;
    border: 3px solid rgb(169, 0, 0);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(169,0,0,0.15);
}

#logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.12);
    transition: all 0.25s ease;
}

#nav_bar {
    width: 100%;
    margin: 0 auto;
    padding: 22px 24px 34px;
    display: flex;
    justify-content: center;
    gap: clamp(45px, 6vw, 90px);
    flex-wrap: nowrap;
}

#nav_bar a {
    text-decoration: none;
    color: #111;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.25s ease, transform 0.25s ease;
}

#nav_bar a:hover {
    color: rgb(169, 0, 0);
    transform: translateY(-2px);
}

/* ---------------- TITLES ---------------- */

#titleService,
#titleAbout,
#titleFAQ,
#titleReview {
    margin: 0 0 60px;
    text-align: center;
    font-size: clamp(52px, 8vw, 92px);
    font-weight: normal;
    line-height: 0.95;
    letter-spacing: -1.5px;
    color: black;
}

/* ---------------- IMAGE BREAKS ---------------- */

.image-break-0,
.image-break-1,
.image-break-2,
.image-break-3 {
    width: 100%;
    overflow: hidden;
    min-height: 530px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    image-rendering: auto;
}

.image-break-0 {
    background-image: url("../images/Photo9.PNG");
}

.image-break-1 {
    background-image: url("../images/Photo8.PNG");
}

.image-break-2 {
    background-image: url("../images/Photo7.PNG");
}

.image-break-3 {
    background-image: url("../images/Photo10.jpg");
}

/* ---------------- SERVICES ---------------- */

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

.services-grid {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: clamp(20px, 2.5vw, 40px);
    row-gap: clamp(40px, 5vw, 80px);
    align-items: start;
    gap: 40px;
}

.service-card {
    text-decoration: none;
    color: #111;
    display: block;
    border-radius: 16px;
}

.service-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
    border: 3px solid rgba(169, 0, 0);
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}

.service-card p {
    margin: 18px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.2px;
}

.service-card:hover img {
    transform: translateY(-6px) scale(1.02);
    filter: grayscale(0%);
    opacity: 0.95;
    box-shadow: 0 18px 35px rgba(0,0,0,0.22);
}

.service-card:hover p {
    color: rgb(169, 0, 0);
}

/* ---------------- ABOUT ---------------- */

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

.about-section p:last-of-type {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.7;
    font-weight: 400;
    color: #555;
}

/* ---------------- REVIEWS ---------------- */

.reviews-section {
    padding: 110px 24px;
    background: #f5f5f5;
}

.reviews-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.reviews-subtitle {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

.reviews-grid {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-box {
    background: #fff;
    border-radius: 24px;
    padding: 34px 28px 28px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(159, 47, 63, 0.07);
    display: flex;
    flex-direction: column;
    position: relative;
}

.review-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, #9f2f3f, #d28a96);
}

.stars {
    color: #c8102e;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.review-text {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    flex-grow: 1;
}

.review-name {
    margin-top: auto;
    padding-top: 24px;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #a33b4c;
    font-weight: 700;
}

.review-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
}

.review-cta a {
    color: #c00000;
    text-decoration: none;
    font-weight: bold;
}

.review-cta a:hover {
    text-decoration: underline;
}

.review-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .review-box {
        padding: 28px;
        min-height: auto;
    }

    .review-box::before {
        left: 28px;
        right: 28px;
    }
}

@media (max-width: 576px) {
    .reviews-section {
        padding: 90px 20px;
    }

    .reviews-subtitle,
    .review-text {
        font-size: 16px;
    }
}

/* ---------------- FAQ ---------------- */

.faq-intro {
    text-align: center;
    margin: 20px auto 40px;
    max-width: 600px;
    font-size: 18px;
    color: #666;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:focus {
    outline: none;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 15px;
}
.faq-answer p {
    margin: 10px 0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* assez pour le contenu */
    padding: 10px 15px;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-outro {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    font-style: italic;
    color: #444;
}

.faq-outro a {
    color: #c00000;
    text-decoration: none;
    font-weight: bold;
}

.faq-outro a:hover {
    text-decoration: underline;
}

/* ---------------- FOOTER ---------------- */

footer {
    text-align: center;
    padding: 30px 20px 40px;
}

footer p {
    margin: 6px 0;
    font-size: 20px;
}

footer a {
    text-decoration: none;
    color: #111;
    font-size: 20px;
    transition: color 0.25s ease;
}

footer a:hover {
    color: rgb(169, 0, 0);
}

footer {
    background: var(--bg-soft);
    padding: 18px 24px 26px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

.socials a {
    margin: 0;
}

.socials i {
    font-size: 24px;
}

/* ---------------- TABLET ---------------- */

@media (max-width: 950px) {

    .image-break-0,
    .image-break-1,
    .image-break-2,
    .image-break-3 {
        min-height: 320px;
        background-attachment: fixed;
    }
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 750px) {
    section {
        padding: 80px 18px;
    }

    #nav_bar {
        padding: 16px 10px 20px;
        gap: 18px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    #nav_bar a {
        font-size: clamp(16px, 4vw, 20px);
    }

    .services-grid {
        grid-template-columns: 1fr;
        width: min(560px, 100%);
        row-gap: 34px;
    }

    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        transform: none;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .send-btn {
        float: none;
        width: 100%;
        margin-top: 10px;
    }

    .image-break-0,
    .image-break-1,
    .image-break-2,
    .image-break-3 {
        min-height: 240px;
        background-attachment: fixed;
    }

    footer a,
    footer p {
        font-size: 18px;
    }
}

/* ---------------- SERVICE PAGES ---------------- */
:root {
    --accent: #9f2f3f;
    --accent-dark: #7f2130;
    --accent-soft: #f6e8eb;
    --text-dark: #1a1a1a;
    --text-muted: #6d6d6d;
    --border-soft: #e7dfe2;
    --bg-soft: #f6f3f4;
    --white: #ffffff;
}

.subpage-hero {
    padding: 95px 24px 55px;
    text-align: center;
    background: var(--bg-soft);
}

.subpage-hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    font-weight: 600;
}

.subpage-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0 0 18px;
    color: var(--text-dark);
}

.subpage-intro {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ---------------- COURSE SECTION ---------------- */

.course-page {
    background: var(--bg-soft);
    padding: 10px 24px 100px;
}

.course-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.55fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.course-info-card,
.course-details-card {
    background: var(--white);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(159, 47, 63, 0.07);
    position: relative;
}

.course-info-card::before,
.course-details-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    right: 34px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent), #d28a96);
}

.course-info-card h2,
.course-details-card h2 {
    margin: 12px 0 18px;
    font-size: 1.75rem;
    color: var(--text-dark);
}

.course-info-card p {
    margin: 0 0 22px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* ---------------- LIST ---------------- */

.course-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 14px;
    line-height: 1.65;
    color: var(--text-dark);
}

.course-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-soft);
}

/* ---------------- DETAILS CARD ---------------- */

.detail-item {
    padding: 0 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-soft);
}

.detail-item:last-of-type {
    margin-bottom: 24px;
}

.detail-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.course-details-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-dark);
}

.course-note {
    margin: 10px 0 26px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f6e8eb;
    color: #7f2130;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
}

.course-button {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(135deg, #9f2f3f, #c04a5b);
    color: white;
    margin-top: 25px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(159, 47, 63, 0.25);
}

.course-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(159, 47, 63, 0.3);
    background: linear-gradient(135deg, #7f2130, #a93a4a);
}

/* MOBILE */
@media (max-width: 950px) {
    .course-container {
        grid-template-columns: 1fr;
    }

    .course-info-card,
    .course-details-card {
        padding: 28px;
    }

    .course-info-card::before,
    .course-details-card::before {
        left: 28px;
        right: 28px;
    }

    .subpage-hero {
        padding: 80px 20px 42px;
    }
}

/* ---------------- CONTACT PAGE ---------------- */

.contact-page {
    background: var(--bg-soft);
    padding: 20px 24px 100px;
    text-align: center;
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-form {
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(159, 47, 63, 0.07);
    position: relative;
}

.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 40px;
    right: 40px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--accent), #d28a96);
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.field {
    margin-bottom: 28px;
}

.field label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border-soft);
    background: #fafafa;
    padding: 16px 18px;
    font-size: 16px;
    color: var(--text-dark);
    outline: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border: 1px solid var(--accent);
    background: var(--white);
}

.field input:hover,
.field textarea:hover,
.field select:hover {
    border: 1px solid var(--accent);
    background: var(--white);
}

.field textarea {
    resize: vertical;
    min-height: 180px;
}

.iti {
    width: 100%;
}

.error {
    display: none;
    margin-top: 8px;
    color: #c40000;
    font-size: 14px;
}

.contact-form.submitted input:invalid,
.contact-form.submitted textarea:invalid,
.contact-form.submitted select:invalid {
    border-color: #c40000;
}

.contact-form.submitted input:invalid + .error,
.contact-form.submitted textarea:invalid + .error,
.contact-form.submitted select:invalid + .error {
    display: block;
}

.send-btn {
    display: inline-block;
    float: right;
    background: linear-gradient(135deg, #9f2f3f, #c04a5b);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(159, 47, 63, 0.25);
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(159, 47, 63, 0.3);
    background: linear-gradient(135deg, #7f2130, #a93a4a);
}

.form-note {
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent);
    font-style: italic;
    text-align: right;
    clear: both;
}

/* ---------------- CONTACT MOBILE ---------------- */

@media (max-width: 750px) {
    .contact-page {
        padding: 20px 18px 80px;
    }

    .contact-form {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .contact-form::before {
        left: 18px;
        right: 18px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .field {
        margin-bottom: 24px;
    }

    .field input,
    .field textarea,
    .field select {
        padding: 14px 16px;
        font-size: 16px;
    }

    .send-btn {
        float: none;
        width: 100%;
        margin-top: 10px;
    }

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