@font-face {
    font-family: "Comic Sans MS";
    src: url("/fonts/comic-sans-ms.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

header {
    width: 100%;
    padding: 20px 0 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #e9e9e9;
}

header img {
    height: 80px;
    margin-bottom: 10px;
}

nav {
    margin-top: 5px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    margin: 0 8px;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #0094B4;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #0094B4;
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.hero-container {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    filter: brightness(75%);
}

.hero-logo {
    position: absolute;
    width: 60%;
    max-width: 700px;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

section {
    width: 90%;
    max-width: 1200px;
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid #000;
}

section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-align: center;
}

section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.grapho-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.grapho-img {
    width: 40%;
    border-radius: 10px;
}

.grapho-content p {
    width: 60%;
    font-size: 18px;
    line-height: 1.5;
}

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

.consult-text ul {
    list-style-position: inside;
    margin-bottom: 15px;
}

.consult-text p {
    font-size: 18px;
    margin-bottom: 10px;
}

.bilan-graphomoteur {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
}

/* ----- AVANT / APRÈS (FIX RESPONSIVE) ----- */
.avant-apres-container {
    width: 100%;
    max-width: 1200px;
}

.avant-apres-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}
