/* ====== Variables et Styles de Base ====== */
:root {
    --primary-dark-blue: #003865; /* Bleu marine du nom */
    --secondary-light-blue: #88C5E3; /* Bleu clair de "DIÉTÉTICIENNE" */
    --accent-orange: #F9A826; /* Orange du contour du fruit */
    --accent-yellow: #FCE68A; /* Jaune clair du fruit */
    --background-cream: #FCFBF5; /* Fond crème du logo */
    --text-light: #FFFFFF;
    --text-dark: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-cream);
}

header *, main *, footer * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: revert;
}

#container, footer {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info ul, .contact-info li {
    list-style: disc;
}

#main-content h1, #main-content h2, #main-content h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 20px;
}

#main-content h2 {
    text-align: center;
    font-size: 2.5rem;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-light-blue);
    display: inline-block;
}

#main-content section {
    padding: 80px 0;
    text-align: center;
}
#main-content section ul {
    list-style: disc;
    margin: 20px 0 20px 20px;
    text-align: left;
}
#main-content section ul li {
    margin-bottom: 10px;
    list-style: disc;
}

/* ====== En-tête & Navigation ====== */
header {
    background-color: var(--background-cream);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 51;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-dark-blue);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark-blue);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ====== Section Héros ====== */
#hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.357-.13.72-.264 1.088-.402l1.768-.661C33.64 15.347 39.647 14 50 14c10.271 0 15.362 1.222 24.629 4.928.955.383 1.869.74 2.75 1.072h6.225c-2.51-.708-5.02-1.417-7.528-2.125C67.048 14.738 58.592 14 50 14c-8.592 0-17.048.738-25.992 3.875C16.367 20.625 8.183 20 0 20h21.184z' fill='%23003865' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(to bottom, var(--background-cream), #FDF6E3); /* Dégradé subtil */
}

#hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* ====== Boutons d'Action (CTA) ====== */
.cta-container {
    margin-top: 30px;
}
.cta-button {
    background-color: var(--accent-orange);
    color: var(--text-light) !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 168, 38, 0.3);
    display: inline-block;
}

.cta-button:hover {
    background-color: #e89a20;
    transform: translateY(-3px);
}

/* ====== Section "Qui suis-je ?" ====== */
.bio-wrapper {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 50px auto 0;
    text-align: left;
}
#main-content div > .profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0 auto;
}

/* ====== Section "Comment je travaille ?" ====== */
#methode {
    background-color: #fff;
}

.steps {
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 30px;
    margin-top: 50px;
}

.step {
    background: var(--background-cream);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
}

#main-content .step h3 {
    color: var(--accent-orange);
    margin-bottom: 15px;
    font-size: revert;
}

/* ====== NOUVEAU : Section Tarifs ====== */
#tarifs { background-color: #fff; }
.tarifs-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
    text-align: left;
}
.tarif-card {
    background-color: var(--background-cream);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex-basis: 400px;
    border-top: 5px solid var(--accent-orange);
}
.tarif-prix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
}
.tarif-duree {
    font-weight: 600;
    margin-bottom: 15px;
}
.conditions {
    max-width: 800px;
    margin: 50px auto 0;
    font-style: italic;
    color: #666;
}

/* ====== Section Contact ====== */
.contact-container {
    display: flex;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
}

.contact-info, .map {
    flex: 1;
}

.contact-info ul {
    list-style: none;
    margin: 20px 0;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--accent-orange);
    text-decoration: none;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 10px;
}
.contact-info .cta-container {
    margin: 20px 0;
    text-align: center;
}

/* ====== NOUVEAU : Formulaire de Contact ====== */
.form-container {
    margin-top: 60px;
}
#form_contact_form .email, #form_contact_form .tel, #form_contact_form .text {
    display: block;
}
#form_contact_form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    text-align: left;
}
#form_contact_form p { margin-bottom: 20px; }
#form_contact_form label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark-blue);
    font-weight: 600;
    font-size: revert;
    width: auto;
}
#form_contact_form input[type="text"],
#form_contact_form input[type="email"],
#form_contact_form input[type="tel"],
#form_contact_form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: none;
}
#form_contact_form .buttons { display: flex; gap: 15px; }
#form_contact_form input[type="submit"] {
    background: var(--accent-orange);
    color: var(--text-light);
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    text-shadow: none;
}
#form_contact_form input[type="submit"]:hover {
    background-color: #e89a20;
    transform: translateY(-2px);
}
#form_contact_form input[type="reset"] {
    background: #eee;
    color: #555;
    padding: 12px 25px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-shadow: none;
}
#form_contact_form input[type="reset"]:hover { background-color: #ddd; }

/* ====== Pied de page ====== */
footer {
    background-color: var(--primary-dark-blue);
    color: var(--background-cream);
    text-align: center;
    padding: 20px 0;
}

/* ====== RESPONSIVE (pour tablettes et mobiles) ====== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -60%;
        height: 92vh;
        top: 80px;
        background-color: var(--background-cream);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transition: transform 0.5s ease-in;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }
    
    .hamburger {
        display: block;
    }

    .nav-active {
        right: 0;
    }

    h1 {
        font-size: 2.5rem !important;
    }
    h2 {
        font-size: 2rem;
    }

    .bio-wrapper, .steps, .tarifs-container, .contact-container {
        flex-direction: column;
    }
    .bio-wrapper { text-align: center; }
    .bio-text { text-align: left; }
    .profile-photo { width: 180px; height: 180px; margin-bottom: 20px; }
}

/* Animation pour les liens du menu mobile */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Animation pour l'icône hamburger (croix) */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

#header-image { display: none;}